[2026-09-06 00:00:20] local.INFO: TCP Data received {"connection_id":173406,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-06 00:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-06 00:00:20] local.INFO: Processing buffer {"connection_id":173406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-06 00:00:20] local.INFO: Packet analysis {"connection_id":173406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-06 00:00:20] local.INFO: Extracted packet for processing {"connection_id":173406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-06 00:00:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889897984001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788632714000,"timestamp_ms":1788632714000,"timestamp_seconds":1788632714,"priority":1,"record_length":96,"hex_timestamp":"000001a072d14b10"} 
[2026-09-06 00:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:00:20] 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-09-06 00:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 00:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:00:20] 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-09-06 00:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889897984001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"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-09-06 00:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889897984001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:00:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:00:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889897984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":173406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:00:20] local.INFO: GPS data processed {"connection_id":173406,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:00:20] local.INFO: Acknowledgment sent {"connection_id":173406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:00:25] local.INFO: TCP Data received {"connection_id":172049,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d48b18012d5fdf40062dc108000801502d..."} 
[2026-09-06 00:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d48b18012d5fdf40062dc108000801502d..."} 
[2026-09-06 00:00:25] local.INFO: Processing buffer {"connection_id":172049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d48b18012d5fdf40062dc108000801502d..."} 
[2026-09-06 00:00:25] local.INFO: Packet analysis {"connection_id":172049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d4"} 
[2026-09-06 00:00:25] local.INFO: Extracted packet for processing {"connection_id":172049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d4"} 
[2026-09-06 00:00:25] local.INFO: GPS Element Parsed {"raw_longitude":761257792,"raw_latitude":103661832,"longitude_deg":76.1257792,"latitude_deg":10.3661832,"altitude":8,"angle":336,"satellites":45,"speed":53,"hex_longitude":"2d5fdf40","hex_latitude":"062dc108","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890027520001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400153659062616064,"note":"Value kept but may cause issues"} 
[2026-09-06 00:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6912673610828015616,"note":"Value kept but may cause issues"} 
[2026-09-06 00:00:25] 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-09-06 00:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788632927000,"timestamp_ms":1788632927000,"timestamp_seconds":1788632927,"priority":1,"record_length":96,"hex_timestamp":"000001a072d48b18"} 
[2026-09-06 00:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:00: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-09-06 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-06 00:00: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-09-06 00: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-09-06 00:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:00: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-09-06 00:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890027520001,"66":27343,"211":206,"79":20992,"24":53,"16":400153659062616064,"45":6912673610828015616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-09-06 00:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890027520001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:00:25] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-06 00:00:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-06 00:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400153659062616064,"km_value":400153659062616.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6912673610828015616,"description":"Unknown IO ID 45"} 
[2026-09-06 00:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890027520001,"power":27343,"unknown_211":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":6912673610828015616}} 
[2026-09-06 00:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":172049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:00:25] local.INFO: GPS data processed {"connection_id":172049,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:00:25] local.INFO: Acknowledgment sent {"connection_id":172049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:00:38] local.INFO: TCP Data received {"connection_id":172050,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:00:38] local.INFO: Processing buffer {"connection_id":172050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:00:38] local.INFO: IMEI packet received {"connection_id":172050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 00:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":172050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:00:43] local.INFO: TCP Data received {"connection_id":173407,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:00:43] local.INFO: Processing buffer {"connection_id":173407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:00:43] local.INFO: IMEI packet received {"connection_id":173407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 00:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":173407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:00:49] local.INFO: TCP Data received {"connection_id":173407,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:00:49] local.INFO: Processing buffer {"connection_id":173407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:00:49] local.INFO: IMEI packet received {"connection_id":173407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 00:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":173407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:00:49] local.INFO: TCP Data received {"connection_id":172287,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:00:49] local.INFO: Processing buffer {"connection_id":172287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:00:49] local.INFO: IMEI packet received {"connection_id":172287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":172287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:00:49] local.INFO: TCP Data received {"connection_id":173407,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-06 00:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-06 00:00:49] local.INFO: Processing buffer {"connection_id":173407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d14b10012d196500071ff128004401452a..."} 
[2026-09-06 00:00:49] local.INFO: Packet analysis {"connection_id":173407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-06 00:00:49] local.INFO: Extracted packet for processing {"connection_id":173407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d1"} 
[2026-09-06 00:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889897984001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788632714000,"timestamp_ms":1788632714000,"timestamp_seconds":1788632714,"priority":1,"record_length":96,"hex_timestamp":"000001a072d14b10"} 
[2026-09-06 00:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:00:49] 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-09-06 00:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 00:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889897984001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 00:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889897984001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:00:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889897984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":173407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:00:49] local.INFO: GPS data processed {"connection_id":173407,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:00:49] local.INFO: Acknowledgment sent {"connection_id":173407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:00:50] local.INFO: TCP Data received {"connection_id":172287,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:00:50] local.INFO: Processing buffer {"connection_id":172287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:00:50] local.INFO: IMEI packet received {"connection_id":172287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":172287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:00:54] local.INFO: TCP Data received {"connection_id":172287,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:00:54] local.INFO: Processing buffer {"connection_id":172287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:00:54] local.INFO: IMEI packet received {"connection_id":172287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":172287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:00:55] local.INFO: TCP Data received {"connection_id":172287,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d4a670012d5fd080062de2c0000901502c..."} 
[2026-09-06 00:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d4a670012d5fd080062de2c0000901502c..."} 
[2026-09-06 00:00:55] local.INFO: Processing buffer {"connection_id":172287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d4a670012d5fd080062de2c0000901502c..."} 
[2026-09-06 00:00:55] local.INFO: Packet analysis {"connection_id":172287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d4"} 
[2026-09-06 00:00:55] local.INFO: Extracted packet for processing {"connection_id":172287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d4"} 
[2026-09-06 00:00:55] local.INFO: GPS Element Parsed {"raw_longitude":761254016,"raw_latitude":103670464,"longitude_deg":76.1254016,"latitude_deg":10.3670464,"altitude":9,"angle":336,"satellites":44,"speed":53,"hex_longitude":"2d5fd080","hex_latitude":"062de2c0","is_valid_coordinates":true} 
[2026-09-06 00:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890029312001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400154114329149440,"note":"Value kept but may cause issues"} 
[2026-09-06 00:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6908310748691236864,"note":"Value kept but may cause issues"} 
[2026-09-06 00:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788632934000,"timestamp_ms":1788632934000,"timestamp_seconds":1788632934,"priority":1,"record_length":96,"hex_timestamp":"000001a072d4a670"} 
[2026-09-06 00:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:00: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-09-06 00:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-06 00:00: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-09-06 00:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890029312001,"66":27267,"211":206,"79":20992,"24":53,"16":400154114329149440,"45":6908310748691236864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-09-06 00:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890029312001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:00:55] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-06 00:00:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-06 00:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400154114329149440,"km_value":400154114329149.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6908310748691236864,"description":"Unknown IO ID 45"} 
[2026-09-06 00:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890029312001,"power":27267,"unknown_211":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":6908310748691236864}} 
[2026-09-06 00:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":172287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:00:55] local.INFO: GPS data processed {"connection_id":172287,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:00:55] local.INFO: Acknowledgment sent {"connection_id":172287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:01:12] local.INFO: TCP Data received {"connection_id":174732,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:01:12] local.INFO: Processing buffer {"connection_id":174732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:01:12] local.INFO: IMEI packet received {"connection_id":174732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 00:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":174732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:01:20] local.INFO: TCP Data received {"connection_id":173407,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:01:20] local.INFO: Processing buffer {"connection_id":173407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:01:20] local.INFO: Packet analysis {"connection_id":173407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:01:20] local.INFO: Extracted packet for processing {"connection_id":173407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:01:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889974784001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788633015000,"timestamp_ms":1788633015000,"timestamp_seconds":1788633015,"priority":1,"record_length":96,"hex_timestamp":"000001a072d5e2d8"} 
[2026-09-06 00:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 00:01:20] 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-09-06 00:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889974784001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 00:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889974784001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:01:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:01:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889974784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":173407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:01:20] local.INFO: GPS data processed {"connection_id":173407,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:01:20] local.INFO: Acknowledgment sent {"connection_id":173407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:01:26] local.INFO: TCP Data received {"connection_id":172287,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d4c1c8012d5fc200062e04b8000a01512d..."} 
[2026-09-06 00:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d4c1c8012d5fc200062e04b8000a01512d..."} 
[2026-09-06 00:01:26] local.INFO: Processing buffer {"connection_id":172287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d4c1c8012d5fc200062e04b8000a01512d..."} 
[2026-09-06 00:01:26] local.INFO: Packet analysis {"connection_id":172287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d4"} 
[2026-09-06 00:01:26] local.INFO: Extracted packet for processing {"connection_id":172287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d4"} 
[2026-09-06 00:01:26] local.INFO: GPS Element Parsed {"raw_longitude":761250304,"raw_latitude":103679160,"longitude_deg":76.1250304,"latitude_deg":10.367916,"altitude":10,"angle":337,"satellites":45,"speed":53,"hex_longitude":"2d5fc200","hex_latitude":"062e04b8","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890031104001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400154573890650112,"note":"Value kept but may cause issues"} 
[2026-09-06 00:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6904158992786964480,"note":"Value kept but may cause issues"} 
[2026-09-06 00:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788632941000,"timestamp_ms":1788632941000,"timestamp_seconds":1788632941,"priority":1,"record_length":96,"hex_timestamp":"000001a072d4c1c8"} 
[2026-09-06 00:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:01: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-09-06 00:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-06 00:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:01: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-09-06 00:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890031104001,"66":27321,"211":206,"79":20992,"24":53,"16":400154573890650112,"45":6904158992786964480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-09-06 00:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890031104001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:01:26] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-06 00:01:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-06 00:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400154573890650112,"km_value":400154573890650.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6904158992786964480,"description":"Unknown IO ID 45"} 
[2026-09-06 00:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890031104001,"power":27321,"unknown_211":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":6904158992786964480}} 
[2026-09-06 00:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":172287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:01:26] local.INFO: GPS data processed {"connection_id":172287,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:01:26] local.INFO: Acknowledgment sent {"connection_id":172287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:01:44] local.INFO: TCP Data received {"connection_id":173408,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:01:44] local.INFO: Processing buffer {"connection_id":173408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:01:44] local.INFO: IMEI packet received {"connection_id":173408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 00:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":173408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:01:49] local.INFO: TCP Data received {"connection_id":173408,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:01:49] local.INFO: Processing buffer {"connection_id":173408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:01:49] local.INFO: IMEI packet received {"connection_id":173408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 00:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":173408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:01:49] local.INFO: TCP Data received {"connection_id":173408,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:01:49] local.INFO: Processing buffer {"connection_id":173408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:01:49] local.INFO: Packet analysis {"connection_id":173408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:01:49] local.INFO: Extracted packet for processing {"connection_id":173408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:01:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889974784001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788633015000,"timestamp_ms":1788633015000,"timestamp_seconds":1788633015,"priority":1,"record_length":96,"hex_timestamp":"000001a072d5e2d8"} 
[2026-09-06 00:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 00:01:49] 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-09-06 00:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:01: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-09-06 00:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889974784001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"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-09-06 00:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889974784001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:01:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:01:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889974784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":173408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:01:49] local.INFO: GPS data processed {"connection_id":173408,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:01:49] local.INFO: Acknowledgment sent {"connection_id":173408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:02:00] local.INFO: TCP Data received {"connection_id":172051,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:00] local.INFO: Processing buffer {"connection_id":172051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:00] local.INFO: IMEI packet received {"connection_id":172051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":172051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:02:00] local.INFO: TCP Data received {"connection_id":172051,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:00] local.INFO: Processing buffer {"connection_id":172051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:00] local.INFO: IMEI packet received {"connection_id":172051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":172051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:02:04] local.INFO: TCP Data received {"connection_id":172051,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:04] local.INFO: Processing buffer {"connection_id":172051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:04] local.INFO: IMEI packet received {"connection_id":172051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":172051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:02:06] local.INFO: TCP Data received {"connection_id":172051,"ip":"42.106.6.15","data_length":1348,"data_hex":"000000000000030f8e0a000001a072d65038012d5f5b80062f8648000501512e..."} 
[2026-09-06 00:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172051,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a072d65038012d5f5b80062f8648000501512e..."} 
[2026-09-06 00:02:06] local.INFO: Processing buffer {"connection_id":172051,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a072d65038012d5f5b80062f8648000501512e..."} 
[2026-09-06 00:02:06] local.INFO: Packet analysis {"connection_id":172051,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a072d6"} 
[2026-09-06 00:02:06] local.INFO: Extracted packet for processing {"connection_id":172051,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a072d6"} 
[2026-09-06 00:02:06] local.INFO: GPS Element Parsed {"raw_longitude":761224064,"raw_latitude":103777864,"longitude_deg":76.1224064,"latitude_deg":10.3777864,"altitude":5,"angle":337,"satellites":46,"speed":48,"hex_longitude":"2d5f5b80","hex_latitude":"062f8648","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890056960001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400159551757746176,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6875026332722728960,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:06] 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-09-06 00:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788633043000,"timestamp_ms":1788633043000,"timestamp_seconds":1788633043,"priority":1,"record_length":96,"hex_timestamp":"000001a072d65038"} 
[2026-09-06 00:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:02: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-09-06 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-06 00:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890056960001,"66":27343,"204":206,"79":20992,"24":48,"16":400159551757746176,"45":6875026332722728960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-09-06 00:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890056960001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:02:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-06 00:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400159551757746176,"km_value":400159551757746.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6875026332722728960,"description":"Unknown IO ID 45"} 
[2026-09-06 00:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890056960001,"power":27343,"lac":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":6875026332722728960}} 
[2026-09-06 00:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":172051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:02:06] local.INFO: GPS data processed {"connection_id":172051,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:02:06] local.INFO: Acknowledgment sent {"connection_id":172051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:02:06] local.INFO: Packet analysis {"connection_id":172051,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a072d6"} 
[2026-09-06 00:02:06] local.INFO: Incomplete packet, waiting for more data {"connection_id":172051,"needed":795,"available":553} 
[2026-09-06 00:02:06] local.INFO: TCP Data received {"connection_id":172051,"ip":"42.106.6.15","data_length":242,"data_hex":"000000000001a072d54a80012d5fa200062ebe280006015b2a00360000000a00..."} 
[2026-09-06 00:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172051,"packet_length":242,"packet_hex":"000000000001a072d54a80012d5fa200062ebe280006015b2a00360000000a00..."} 
[2026-09-06 00:02:06] local.INFO: Processing buffer {"connection_id":172051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d66b90012d5f4e00062fa708000501532d..."} 
[2026-09-06 00:02:06] local.INFO: Packet analysis {"connection_id":172051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d6"} 
[2026-09-06 00:02:06] local.INFO: Extracted packet for processing {"connection_id":172051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d6"} 
[2026-09-06 00:02:06] local.INFO: GPS Element Parsed {"raw_longitude":761220608,"raw_latitude":103786248,"longitude_deg":76.1220608,"latitude_deg":10.3786248,"altitude":5,"angle":339,"satellites":45,"speed":54,"hex_longitude":"2d5f4e00","hex_latitude":"062fa708","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890059008001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400159989844410368,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6871226420539312128,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:06] 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-09-06 00:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788633050000,"timestamp_ms":1788633050000,"timestamp_seconds":1788633050,"priority":1,"record_length":96,"hex_timestamp":"000001a072d66b90"} 
[2026-09-06 00:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-06 00:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890059008001,"66":27365,"204":206,"79":20992,"24":54,"16":400159989844410368,"45":6871226420539312128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-09-06 00:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890059008001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:02:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-06 00:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400159989844410368,"km_value":400159989844410.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6871226420539312128,"description":"Unknown IO ID 45"} 
[2026-09-06 00:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890059008001,"power":27365,"lac":206,"unknown_79":20992,"ignition":54,"odometer":null,"unknown_45":6871226420539312128}} 
[2026-09-06 00:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":172051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:02:06] local.INFO: GPS data processed {"connection_id":172051,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:02:06] local.INFO: Acknowledgment sent {"connection_id":172051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:02:10] local.INFO: TCP Data received {"connection_id":172051,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d686e8012d5f41c0062fcc10000501562d..."} 
[2026-09-06 00:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d686e8012d5f41c0062fcc10000501562d..."} 
[2026-09-06 00:02:10] local.INFO: Processing buffer {"connection_id":172051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d686e8012d5f41c0062fcc10000501562d..."} 
[2026-09-06 00:02:10] local.INFO: Packet analysis {"connection_id":172051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d6"} 
[2026-09-06 00:02:10] local.INFO: Extracted packet for processing {"connection_id":172051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d6"} 
[2026-09-06 00:02:10] local.INFO: GPS Element Parsed {"raw_longitude":761217472,"raw_latitude":103795728,"longitude_deg":76.1217472,"latitude_deg":10.3795728,"altitude":5,"angle":342,"satellites":45,"speed":58,"hex_longitude":"2d5f41c0","hex_latitude":"062fcc10","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890060800001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400160470880747520,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6867426508355864576,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:10] 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-09-06 00:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788633057000,"timestamp_ms":1788633057000,"timestamp_seconds":1788633057,"priority":1,"record_length":96,"hex_timestamp":"000001a072d686e8"} 
[2026-09-06 00:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:02: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-09-06 00:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-06 00:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890060800001,"66":27234,"204":206,"79":20992,"24":58,"16":400160470880747520,"45":6867426508355864576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-09-06 00:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890060800001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:02:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-09-06 00:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400160470880747520,"km_value":400160470880747.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6867426508355864576,"description":"Unknown IO ID 45"} 
[2026-09-06 00:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890060800001,"power":27234,"lac":206,"unknown_79":20992,"ignition":58,"odometer":null,"unknown_45":6867426508355864576}} 
[2026-09-06 00:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":172051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:02:10] local.INFO: GPS data processed {"connection_id":172051,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:02:10] local.INFO: Acknowledgment sent {"connection_id":172051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:02:20] local.INFO: TCP Data received {"connection_id":173408,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:02:20] local.INFO: Processing buffer {"connection_id":173408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:02:20] local.INFO: Packet analysis {"connection_id":173408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:02:20] local.INFO: Extracted packet for processing {"connection_id":173408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:02:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889974784001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788633015000,"timestamp_ms":1788633015000,"timestamp_seconds":1788633015,"priority":1,"record_length":96,"hex_timestamp":"000001a072d5e2d8"} 
[2026-09-06 00:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 00:02:20] 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-09-06 00:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:02:20] 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-09-06 00:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889974784001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"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-09-06 00:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889974784001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:02:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:02:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889974784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":173408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:02:20] local.INFO: GPS data processed {"connection_id":173408,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:02:20] local.INFO: Acknowledgment sent {"connection_id":173408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:02:43] local.INFO: TCP Data received {"connection_id":172288,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:02:43] local.INFO: Processing buffer {"connection_id":172288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:02:43] local.INFO: IMEI packet received {"connection_id":172288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 00:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":172288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:02:49] local.INFO: TCP Data received {"connection_id":172288,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:02:49] local.INFO: Processing buffer {"connection_id":172288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:02:49] local.INFO: IMEI packet received {"connection_id":172288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 00:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":172288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:02:49] local.INFO: TCP Data received {"connection_id":172052,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:49] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:49] local.INFO: IMEI packet received {"connection_id":172052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":172052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:02:49] local.INFO: TCP Data received {"connection_id":172288,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:02:49] local.INFO: Processing buffer {"connection_id":172288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:02:49] local.INFO: Packet analysis {"connection_id":172288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:02:49] local.INFO: Extracted packet for processing {"connection_id":172288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:02:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889974784001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788633015000,"timestamp_ms":1788633015000,"timestamp_seconds":1788633015,"priority":1,"record_length":96,"hex_timestamp":"000001a072d5e2d8"} 
[2026-09-06 00:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 00:02:49] 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-09-06 00:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:02:49] 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-09-06 00:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889974784001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"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-09-06 00:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889974784001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:02:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889974784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":172288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:02:49] local.INFO: GPS data processed {"connection_id":172288,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:02:49] local.INFO: Acknowledgment sent {"connection_id":172288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:02:51] local.INFO: TCP Data received {"connection_id":172052,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:51] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:51] local.INFO: IMEI packet received {"connection_id":172052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":172052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:02:52] local.INFO: TCP Data received {"connection_id":172052,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:52] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:52] local.INFO: IMEI packet received {"connection_id":172052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":172052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:02:54] local.INFO: TCP Data received {"connection_id":172052,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:54] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:02:54] local.INFO: IMEI packet received {"connection_id":172052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":172052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:02:55] local.INFO: TCP Data received {"connection_id":172052,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d79470012d5ed40006314790000b01592d..."} 
[2026-09-06 00:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d79470012d5ed40006314790000b01592d..."} 
[2026-09-06 00:02:55] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d79470012d5ed40006314790000b01592d..."} 
[2026-09-06 00:02:55] local.INFO: Packet analysis {"connection_id":172052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d7"} 
[2026-09-06 00:02:55] local.INFO: Extracted packet for processing {"connection_id":172052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d7"} 
[2026-09-06 00:02:55] local.INFO: GPS Element Parsed {"raw_longitude":761189376,"raw_latitude":103892880,"longitude_deg":76.1189376,"latitude_deg":10.389288,"altitude":11,"angle":345,"satellites":45,"speed":55,"hex_longitude":"2d5ed400","hex_latitude":"06314790","is_valid_coordinates":true} 
[2026-09-06 00:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890078464001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400165375733399552,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6836253154710091776,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:55] 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-09-06 00:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788633126000,"timestamp_ms":1788633126000,"timestamp_seconds":1788633126,"priority":1,"record_length":96,"hex_timestamp":"000001a072d79470"} 
[2026-09-06 00:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:02: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-09-06 00:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-06 00:02: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-09-06 00:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890078464001,"66":27397,"144":206,"78":38656,"24":55,"16":400165375733399552,"45":6836253154710091776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-09-06 00:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890078464001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:02:55] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-06 00:02:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400165375733399552,"km_value":400165375733399.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6836253154710091776,"description":"Unknown IO ID 45"} 
[2026-09-06 00:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890078464001,"power":27397,"unknown_144":206,"unknown_78":38656,"ignition":55,"odometer":null,"unknown_45":6836253154710091776}} 
[2026-09-06 00:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":172052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:02:55] local.INFO: GPS data processed {"connection_id":172052,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:02:55] local.INFO: Acknowledgment sent {"connection_id":172052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:02:59] local.INFO: TCP Data received {"connection_id":172052,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d7afc8012d5ece0006316d88000d01652e..."} 
[2026-09-06 00:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d7afc8012d5ece0006316d88000d01652e..."} 
[2026-09-06 00:02:59] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d7afc8012d5ece0006316d88000d01652e..."} 
[2026-09-06 00:02:59] local.INFO: Packet analysis {"connection_id":172052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d7"} 
[2026-09-06 00:02:59] local.INFO: Extracted packet for processing {"connection_id":172052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d7"} 
[2026-09-06 00:02:59] local.INFO: GPS Element Parsed {"raw_longitude":761187840,"raw_latitude":103902600,"longitude_deg":76.118784,"latitude_deg":10.39026,"altitude":13,"angle":357,"satellites":46,"speed":56,"hex_longitude":"2d5ece00","hex_latitude":"06316d88","is_valid_coordinates":true} 
[2026-09-06 00:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890080256001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400165852474769408,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6833086561224462336,"note":"Value kept but may cause issues"} 
[2026-09-06 00:02:59] 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-09-06 00:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788633133000,"timestamp_ms":1788633133000,"timestamp_seconds":1788633133,"priority":1,"record_length":96,"hex_timestamp":"000001a072d7afc8"} 
[2026-09-06 00:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:02: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-09-06 00:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-06 00:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890080256001,"66":27332,"143":206,"78":38656,"24":56,"16":400165852474769408,"45":6833086561224462336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-09-06 00:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890080256001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:02:59] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-06 00:02:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400165852474769408,"km_value":400165852474769.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6833086561224462336,"description":"Unknown IO ID 45"} 
[2026-09-06 00:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890080256001,"power":27332,"unknown_143":206,"unknown_78":38656,"ignition":56,"odometer":null,"unknown_45":6833086561224462336}} 
[2026-09-06 00:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":172052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:02:59] local.INFO: GPS data processed {"connection_id":172052,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:02:59] local.INFO: Acknowledgment sent {"connection_id":172052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:03:20] local.INFO: TCP Data received {"connection_id":172288,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:03:20] local.INFO: Processing buffer {"connection_id":172288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:03:20] local.INFO: Packet analysis {"connection_id":172288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:03:20] local.INFO: Extracted packet for processing {"connection_id":172288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:03:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889974784001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788633015000,"timestamp_ms":1788633015000,"timestamp_seconds":1788633015,"priority":1,"record_length":96,"hex_timestamp":"000001a072d5e2d8"} 
[2026-09-06 00:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 00:03:20] 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-09-06 00:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:03:20] 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-09-06 00:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889974784001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"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-09-06 00:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889974784001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:03:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:03:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889974784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":172288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:03:20] local.INFO: GPS data processed {"connection_id":172288,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:03:20] local.INFO: Acknowledgment sent {"connection_id":172288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:03:30] local.INFO: TCP Data received {"connection_id":172052,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d7afc8012d5ece0006316d88000d01652e..."} 
[2026-09-06 00:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d7afc8012d5ece0006316d88000d01652e..."} 
[2026-09-06 00:03:30] local.INFO: Processing buffer {"connection_id":172052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d7afc8012d5ece0006316d88000d01652e..."} 
[2026-09-06 00:03:30] local.INFO: Packet analysis {"connection_id":172052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d7"} 
[2026-09-06 00:03:30] local.INFO: Extracted packet for processing {"connection_id":172052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d7"} 
[2026-09-06 00:03:30] local.INFO: GPS Element Parsed {"raw_longitude":761187840,"raw_latitude":103902600,"longitude_deg":76.118784,"latitude_deg":10.39026,"altitude":13,"angle":357,"satellites":46,"speed":56,"hex_longitude":"2d5ece00","hex_latitude":"06316d88","is_valid_coordinates":true} 
[2026-09-06 00:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890082048001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400165852474769408,"note":"Value kept but may cause issues"} 
[2026-09-06 00:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6831397711366686720,"note":"Value kept but may cause issues"} 
[2026-09-06 00:03: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-09-06 00:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788633133000,"timestamp_ms":1788633133000,"timestamp_seconds":1788633133,"priority":1,"record_length":96,"hex_timestamp":"000001a072d7afc8"} 
[2026-09-06 00:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:03: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-09-06 00:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-06 00:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890082048001,"66":27332,"143":206,"78":38656,"24":56,"16":400165852474769408,"45":6831397711366686720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-09-06 00:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890082048001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:03:30] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-06 00:03:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400165852474769408,"km_value":400165852474769.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6831397711366686720,"description":"Unknown IO ID 45"} 
[2026-09-06 00:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890082048001,"power":27332,"unknown_143":206,"unknown_78":38656,"ignition":56,"odometer":null,"unknown_45":6831397711366686720}} 
[2026-09-06 00:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":172052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:03:31] local.INFO: GPS data processed {"connection_id":172052,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:03:31] local.INFO: Acknowledgment sent {"connection_id":172052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:03:44] local.INFO: TCP Data received {"connection_id":173409,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:03:44] local.INFO: Processing buffer {"connection_id":173409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:03:44] local.INFO: IMEI packet received {"connection_id":173409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 00:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":173409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:03:48] local.INFO: TCP Data received {"connection_id":173409,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:03:48] local.INFO: Processing buffer {"connection_id":173409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:03:48] local.INFO: IMEI packet received {"connection_id":173409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 00:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":173409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:03:49] local.INFO: TCP Data received {"connection_id":174735,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:03:49] local.INFO: Processing buffer {"connection_id":174735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:03:49] local.INFO: IMEI packet received {"connection_id":174735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":174735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:03:49] local.INFO: TCP Data received {"connection_id":173409,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:03:49] local.INFO: Processing buffer {"connection_id":173409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:03:49] local.INFO: Packet analysis {"connection_id":173409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:03:49] local.INFO: Extracted packet for processing {"connection_id":173409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889974784001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788633015000,"timestamp_ms":1788633015000,"timestamp_seconds":1788633015,"priority":1,"record_length":96,"hex_timestamp":"000001a072d5e2d8"} 
[2026-09-06 00:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 00:03:49] 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-09-06 00:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:03: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-09-06 00:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889974784001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"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-09-06 00:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889974784001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:03:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889974784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":173409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":771999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:03:49] local.INFO: GPS data processed {"connection_id":173409,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:03:49] local.INFO: Acknowledgment sent {"connection_id":173409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:04:04] local.INFO: TCP Data received {"connection_id":174735,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:04:04] local.INFO: Processing buffer {"connection_id":174735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:04:04] local.INFO: IMEI packet received {"connection_id":174735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":174735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:04:05] local.INFO: TCP Data received {"connection_id":174735,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d7cb20012d5ed040063195c0000d00042e..."} 
[2026-09-06 00:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d7cb20012d5ed040063195c0000d00042e..."} 
[2026-09-06 00:04:05] local.INFO: Processing buffer {"connection_id":174735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d7cb20012d5ed040063195c0000d00042e..."} 
[2026-09-06 00:04:05] local.INFO: Packet analysis {"connection_id":174735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d7"} 
[2026-09-06 00:04:05] local.INFO: Extracted packet for processing {"connection_id":174735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d7"} 
[2026-09-06 00:04:05] local.INFO: GPS Element Parsed {"raw_longitude":761188416,"raw_latitude":103912896,"longitude_deg":76.1188416,"latitude_deg":10.3912896,"altitude":13,"angle":4,"satellites":46,"speed":60,"hex_longitude":"2d5ed040","hex_latitude":"063195c0","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890082048001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400166350690975744,"note":"Value kept but may cause issues"} 
[2026-09-06 00:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6831397711366686720,"note":"Value kept but may cause issues"} 
[2026-09-06 00:04:05] 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-09-06 00:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788633140000,"timestamp_ms":1788633140000,"timestamp_seconds":1788633140,"priority":1,"record_length":96,"hex_timestamp":"000001a072d7cb20"} 
[2026-09-06 00:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-06 00:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890082048001,"66":27343,"143":206,"78":38656,"24":60,"16":400166350690975744,"45":6831397711366686720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-09-06 00:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890082048001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:04:05] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-06 00:04:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400166350690975744,"km_value":400166350690975.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6831397711366686720,"description":"Unknown IO ID 45"} 
[2026-09-06 00:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890082048001,"power":27343,"unknown_143":206,"unknown_78":38656,"ignition":60,"odometer":null,"unknown_45":6831397711366686720}} 
[2026-09-06 00:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":174735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:04:05] local.INFO: GPS data processed {"connection_id":174735,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:04:05] local.INFO: Acknowledgment sent {"connection_id":174735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:04:20] local.INFO: TCP Data received {"connection_id":173409,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:04:20] local.INFO: Processing buffer {"connection_id":173409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:04:20] local.INFO: Packet analysis {"connection_id":173409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:04:20] local.INFO: Extracted packet for processing {"connection_id":173409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:04:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889974784001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788633015000,"timestamp_ms":1788633015000,"timestamp_seconds":1788633015,"priority":1,"record_length":96,"hex_timestamp":"000001a072d5e2d8"} 
[2026-09-06 00:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 00:04:20] 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-09-06 00:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:04:20] 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-09-06 00:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889974784001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"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-09-06 00:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889974784001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:04:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:04:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889974784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":173409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:04:20] local.INFO: GPS data processed {"connection_id":173409,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:04:20] local.INFO: Acknowledgment sent {"connection_id":173409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:04:43] local.INFO: TCP Data received {"connection_id":172289,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:04:43] local.INFO: Processing buffer {"connection_id":172289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:04:43] local.INFO: IMEI packet received {"connection_id":172289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 00:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":172289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:04:49] local.INFO: TCP Data received {"connection_id":172289,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:04:49] local.INFO: Processing buffer {"connection_id":172289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:04:49] local.INFO: IMEI packet received {"connection_id":172289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 00:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":172289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:04:49] local.INFO: TCP Data received {"connection_id":172289,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:04:49] local.INFO: Processing buffer {"connection_id":172289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:04:49] local.INFO: Packet analysis {"connection_id":172289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:04:49] local.INFO: Extracted packet for processing {"connection_id":172289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889974784001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788633015000,"timestamp_ms":1788633015000,"timestamp_seconds":1788633015,"priority":1,"record_length":96,"hex_timestamp":"000001a072d5e2d8"} 
[2026-09-06 00:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00: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":96,"data_length":795,"current_offset":136} 
[2026-09-06 00:04:49] 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-09-06 00: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-09-06 00:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:04:49] 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-09-06 00:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889974784001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"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-09-06 00:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889974784001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:04:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889974784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":172289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:04:49] local.INFO: GPS data processed {"connection_id":172289,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:04:49] local.INFO: Acknowledgment sent {"connection_id":172289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:04:56] local.INFO: TCP Data received {"connection_id":172054,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:04:56] local.INFO: Processing buffer {"connection_id":172054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:04:56] local.INFO: IMEI packet received {"connection_id":172054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":172054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:04:57] local.INFO: TCP Data received {"connection_id":172054,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:04:57] local.INFO: Processing buffer {"connection_id":172054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:04:57] local.INFO: IMEI packet received {"connection_id":172054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":172054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:05:00] local.INFO: TCP Data received {"connection_id":172054,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:05:00] local.INFO: Processing buffer {"connection_id":172054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:05:00] local.INFO: IMEI packet received {"connection_id":172054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":172054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:05:08] local.INFO: TCP Data received {"connection_id":172054,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:05:08] local.INFO: Processing buffer {"connection_id":172054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:05:08] local.INFO: IMEI packet received {"connection_id":172054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":172054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:05:10] local.INFO: TCP Data received {"connection_id":172054,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d90788012d5e3ac0063345400008014c2e..."} 
[2026-09-06 00:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d90788012d5e3ac0063345400008014c2e..."} 
[2026-09-06 00:05:10] local.INFO: Processing buffer {"connection_id":172054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d90788012d5e3ac0063345400008014c2e..."} 
[2026-09-06 00:05:10] local.INFO: Packet analysis {"connection_id":172054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d9"} 
[2026-09-06 00:05:10] local.INFO: Extracted packet for processing {"connection_id":172054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d9"} 
[2026-09-06 00:05:10] local.INFO: GPS Element Parsed {"raw_longitude":761150144,"raw_latitude":104023360,"longitude_deg":76.1150144,"latitude_deg":10.402336,"altitude":8,"angle":332,"satellites":46,"speed":58,"hex_longitude":"2d5e3ac0","hex_latitude":"06334540","is_valid_coordinates":true} 
[2026-09-06 00:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890103040001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400172140306890752,"note":"Value kept but may cause issues"} 
[2026-09-06 00:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6794313383213932544,"note":"Value kept but may cause issues"} 
[2026-09-06 00:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788633221000,"timestamp_ms":1788633221000,"timestamp_seconds":1788633221,"priority":1,"record_length":96,"hex_timestamp":"000001a072d90788"} 
[2026-09-06 00:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-06 00:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890103040001,"66":27321,"162":206,"78":38656,"24":58,"16":400172140306890752,"45":6794313383213932544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,78,24,16,45]} 
[2026-09-06 00:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890103040001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:05:10] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-06 00:05:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400172140306890752,"km_value":400172140306890.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6794313383213932544,"description":"Unknown IO ID 45"} 
[2026-09-06 00:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890103040001,"power":27321,"unknown_162":206,"unknown_78":38656,"ignition":58,"odometer":null,"unknown_45":6794313383213932544}} 
[2026-09-06 00:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":172054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:05:10] local.INFO: GPS data processed {"connection_id":172054,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:05:10] local.INFO: Acknowledgment sent {"connection_id":172054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:05:11] local.INFO: TCP Data received {"connection_id":172054,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072d922e0012d5e28c0063368f00006014f2b..."} 
[2026-09-06 00:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d922e0012d5e28c0063368f00006014f2b..."} 
[2026-09-06 00:05:11] local.INFO: Processing buffer {"connection_id":172054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d922e0012d5e28c0063368f00006014f2b..."} 
[2026-09-06 00:05:11] local.INFO: Packet analysis {"connection_id":172054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d9"} 
[2026-09-06 00:05:11] local.INFO: Extracted packet for processing {"connection_id":172054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d9"} 
[2026-09-06 00:05:11] local.INFO: GPS Element Parsed {"raw_longitude":761145536,"raw_latitude":104032496,"longitude_deg":76.1145536,"latitude_deg":10.4032496,"altitude":6,"angle":335,"satellites":43,"speed":57,"hex_longitude":"2d5e28c0","hex_latitude":"063368f0","is_valid_coordinates":true} 
[2026-09-06 00:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890104576001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400172634228129792,"note":"Value kept but may cause issues"} 
[2026-09-06 00:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6789950521076957184,"note":"Value kept but may cause issues"} 
[2026-09-06 00:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788633228000,"timestamp_ms":1788633228000,"timestamp_seconds":1788633228,"priority":1,"record_length":96,"hex_timestamp":"000001a072d922e0"} 
[2026-09-06 00:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 00:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-06 00:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890104576001,"66":27267,"162":206,"78":38656,"24":57,"16":400172634228129792,"45":6789950521076957184},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,78,24,16,45]} 
[2026-09-06 00:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890104576001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:05:11] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-06 00:05:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400172634228129792,"km_value":400172634228129.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6789950521076957184,"description":"Unknown IO ID 45"} 
[2026-09-06 00:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890104576001,"power":27267,"unknown_162":206,"unknown_78":38656,"ignition":57,"odometer":null,"unknown_45":6789950521076957184}} 
[2026-09-06 00:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":172054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:05:11] local.INFO: GPS data processed {"connection_id":172054,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:05:11] local.INFO: Acknowledgment sent {"connection_id":172054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:05:21] local.INFO: TCP Data received {"connection_id":172289,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:05:21] local.INFO: Processing buffer {"connection_id":172289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:05:21] local.INFO: Packet analysis {"connection_id":172289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:05:21] local.INFO: Extracted packet for processing {"connection_id":172289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889974784001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788633015000,"timestamp_ms":1788633015000,"timestamp_seconds":1788633015,"priority":1,"record_length":96,"hex_timestamp":"000001a072d5e2d8"} 
[2026-09-06 00:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 00:05:21] 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-09-06 00:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:05:21] 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-09-06 00:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889974784001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"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-09-06 00:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889974784001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:05:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889974784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":172289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:05:21] local.INFO: GPS data processed {"connection_id":172289,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:05:21] local.INFO: Acknowledgment sent {"connection_id":172289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:05:43] local.INFO: TCP Data received {"connection_id":173410,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:05:43] local.INFO: Processing buffer {"connection_id":173410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:05:43] local.INFO: IMEI packet received {"connection_id":173410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 00:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":173410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:05:48] local.INFO: TCP Data received {"connection_id":173410,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:05:48] local.INFO: Processing buffer {"connection_id":173410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:05:48] local.INFO: IMEI packet received {"connection_id":173410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 00:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":173410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:05:49] local.INFO: TCP Data received {"connection_id":173410,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:05:49] local.INFO: Processing buffer {"connection_id":173410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072d5e2d8012d196500071ff1280044014529..."} 
[2026-09-06 00:05:49] local.INFO: Packet analysis {"connection_id":173410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:05:49] local.INFO: Extracted packet for processing {"connection_id":173410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072d5"} 
[2026-09-06 00:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457889974784001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788633015000,"timestamp_ms":1788633015000,"timestamp_seconds":1788633015,"priority":1,"record_length":96,"hex_timestamp":"000001a072d5e2d8"} 
[2026-09-06 00:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 00:05:49] 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-09-06 00:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:05:49] 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-09-06 00:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457889974784001,"66":2155,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"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-09-06 00:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457889974784001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:05:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457889974784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":173410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:05:49] local.INFO: GPS data processed {"connection_id":173410,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:05:49] local.INFO: Acknowledgment sent {"connection_id":173410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:05:49] local.INFO: TCP Data received {"connection_id":174736,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:05:49] local.INFO: Processing buffer {"connection_id":174736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:05:49] local.INFO: IMEI packet received {"connection_id":174736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":174736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:05:54] local.INFO: TCP Data received {"connection_id":174736,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:05:54] local.INFO: Processing buffer {"connection_id":174736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:05:54] local.INFO: IMEI packet received {"connection_id":174736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":174736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:05:54] local.INFO: TCP Data received {"connection_id":174736,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072da4008012d5d74800634d518000b014e2c..."} 
[2026-09-06 00:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072da4008012d5d74800634d518000b014e2c..."} 
[2026-09-06 00:05:54] local.INFO: Processing buffer {"connection_id":174736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072da4008012d5d74800634d518000b014e2c..."} 
[2026-09-06 00:05:54] local.INFO: Packet analysis {"connection_id":174736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:05:54] local.INFO: Extracted packet for processing {"connection_id":174736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:05:54] local.INFO: GPS Element Parsed {"raw_longitude":761099392,"raw_latitude":104125720,"longitude_deg":76.1099392,"latitude_deg":10.412572,"altitude":11,"angle":334,"satellites":44,"speed":51,"hex_longitude":"2d5d7480","hex_latitude":"0634d518","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890123264001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400177680814702592,"note":"Value kept but may cause issues"} 
[2026-09-06 00:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6738651706595530752,"note":"Value kept but may cause issues"} 
[2026-09-06 00:05:54] 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-09-06 00:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788633301000,"timestamp_ms":1788633301000,"timestamp_seconds":1788633301,"priority":1,"record_length":96,"hex_timestamp":"000001a072da4008"} 
[2026-09-06 00:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00: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-09-06 00: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":196,"data_length":795,"current_offset":136} 
[2026-09-06 00:05: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-09-06 00: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-09-06 00:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890123264001,"66":27332,"174":206,"78":38656,"24":51,"16":400177680814702592,"45":6738651706595530752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-09-06 00:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890123264001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:05:54] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-06 00:05:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400177680814702592,"km_value":400177680814702.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6738651706595530752,"description":"Unknown IO ID 45"} 
[2026-09-06 00:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890123264001,"power":27332,"unknown_174":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6738651706595530752}} 
[2026-09-06 00:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":174736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:05:54] local.INFO: GPS data processed {"connection_id":174736,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:05:54] local.INFO: Acknowledgment sent {"connection_id":174736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:06:20] local.INFO: TCP Data received {"connection_id":173410,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:06:20] local.INFO: Processing buffer {"connection_id":173410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:06:20] local.INFO: Packet analysis {"connection_id":173410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:06:20] local.INFO: Extracted packet for processing {"connection_id":173410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890051840001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788633316000,"timestamp_ms":1788633316000,"timestamp_seconds":1788633316,"priority":1,"record_length":96,"hex_timestamp":"000001a072da7aa0"} 
[2026-09-06 00:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 00:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:06:20] 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-09-06 00:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890051840001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"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-09-06 00:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890051840001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:06:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890051840001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":173410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:06:20] local.INFO: GPS data processed {"connection_id":173410,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:06:20] local.INFO: Acknowledgment sent {"connection_id":173410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:06:28] local.INFO: TCP Data received {"connection_id":174736,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072da5b60012d5d64c00634f578000b014d2c..."} 
[2026-09-06 00:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072da5b60012d5d64c00634f578000b014d2c..."} 
[2026-09-06 00:06:28] local.INFO: Processing buffer {"connection_id":174736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072da5b60012d5d64c00634f578000b014d2c..."} 
[2026-09-06 00:06:28] local.INFO: Packet analysis {"connection_id":174736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:06:28] local.INFO: Extracted packet for processing {"connection_id":174736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:06:28] local.INFO: GPS Element Parsed {"raw_longitude":761095360,"raw_latitude":104134008,"longitude_deg":76.109536,"latitude_deg":10.4134008,"altitude":11,"angle":333,"satellites":44,"speed":52,"hex_longitude":"2d5d64c0","hex_latitude":"0634f578","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890125056001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400178123196334080,"note":"Value kept but may cause issues"} 
[2026-09-06 00:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6734148106970273792,"note":"Value kept but may cause issues"} 
[2026-09-06 00:06:28] 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-09-06 00:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788633308000,"timestamp_ms":1788633308000,"timestamp_seconds":1788633308,"priority":1,"record_length":96,"hex_timestamp":"000001a072da5b60"} 
[2026-09-06 00:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:06: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-09-06 00:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-06 00:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890125056001,"66":27321,"174":206,"78":38656,"24":52,"16":400178123196334080,"45":6734148106970273792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-09-06 00:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890125056001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:06:28] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-06 00:06:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400178123196334080,"km_value":400178123196334.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6734148106970273792,"description":"Unknown IO ID 45"} 
[2026-09-06 00:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890125056001,"power":27321,"unknown_174":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6734148106970273792}} 
[2026-09-06 00:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":174736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:06:28] local.INFO: GPS data processed {"connection_id":174736,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:06:28] local.INFO: Acknowledgment sent {"connection_id":174736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:06:38] local.INFO: TCP Data received {"connection_id":172055,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172055,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:06:38] local.INFO: Processing buffer {"connection_id":172055,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:06:38] local.INFO: IMEI packet received {"connection_id":172055,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 00:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":172055,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:06:43] local.INFO: TCP Data received {"connection_id":172291,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:06:43] local.INFO: Processing buffer {"connection_id":172291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:06:43] local.INFO: IMEI packet received {"connection_id":172291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 00:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":172291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:06:48] local.INFO: TCP Data received {"connection_id":172292,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:06:48] local.INFO: Processing buffer {"connection_id":172292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:06:48] local.INFO: IMEI packet received {"connection_id":172292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":172292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:06:49] local.INFO: TCP Data received {"connection_id":172291,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:06:49] local.INFO: Processing buffer {"connection_id":172291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:06:49] local.INFO: IMEI packet received {"connection_id":172291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 00:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":172291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:06:49] local.INFO: TCP Data received {"connection_id":172292,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:06:49] local.INFO: Processing buffer {"connection_id":172292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:06:49] local.INFO: IMEI packet received {"connection_id":172292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":172292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:06:49] local.INFO: TCP Data received {"connection_id":172291,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:06:49] local.INFO: Processing buffer {"connection_id":172291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:06:49] local.INFO: Packet analysis {"connection_id":172291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:06:49] local.INFO: Extracted packet for processing {"connection_id":172291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:06:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890051840001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788633316000,"timestamp_ms":1788633316000,"timestamp_seconds":1788633316,"priority":1,"record_length":96,"hex_timestamp":"000001a072da7aa0"} 
[2026-09-06 00:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 00:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:06:49] 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-09-06 00:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890051840001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"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-09-06 00:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890051840001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:06:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:06:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890051840001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":172291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:06:49] local.INFO: GPS data processed {"connection_id":172291,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:06:49] local.INFO: Acknowledgment sent {"connection_id":172291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:06:54] local.INFO: TCP Data received {"connection_id":172291,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:06:54] local.INFO: Processing buffer {"connection_id":172291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:06:54] local.INFO: Packet analysis {"connection_id":172291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:06:54] local.INFO: Extracted packet for processing {"connection_id":172291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:06:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890051840001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788633316000,"timestamp_ms":1788633316000,"timestamp_seconds":1788633316,"priority":1,"record_length":96,"hex_timestamp":"000001a072da7aa0"} 
[2026-09-06 00:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 00:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:06:54] 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-09-06 00:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890051840001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"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-09-06 00:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890051840001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:06:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:06:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890051840001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":172291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:06:54] local.INFO: GPS data processed {"connection_id":172291,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:06:54] local.INFO: Acknowledgment sent {"connection_id":172291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:06:55] local.INFO: TCP Data received {"connection_id":172292,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:06:55] local.INFO: Processing buffer {"connection_id":172292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:06:55] local.INFO: IMEI packet received {"connection_id":172292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":172292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:06:55] local.INFO: TCP Data received {"connection_id":172292,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072da76b8012d5d544006351648000b014d2b..."} 
[2026-09-06 00:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072da76b8012d5d544006351648000b014d2b..."} 
[2026-09-06 00:06:55] local.INFO: Processing buffer {"connection_id":172292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072da76b8012d5d544006351648000b014d2b..."} 
[2026-09-06 00:06:55] local.INFO: Packet analysis {"connection_id":172292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:06:55] local.INFO: Extracted packet for processing {"connection_id":172292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:06:55] local.INFO: GPS Element Parsed {"raw_longitude":761091136,"raw_latitude":104142408,"longitude_deg":76.1091136,"latitude_deg":10.4142408,"altitude":11,"angle":333,"satellites":43,"speed":53,"hex_longitude":"2d5d5440","hex_latitude":"06351648","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890126848001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400178578462867456,"note":"Value kept but may cause issues"} 
[2026-09-06 00:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6729714876089202688,"note":"Value kept but may cause issues"} 
[2026-09-06 00:06: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-09-06 00:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788633315000,"timestamp_ms":1788633315000,"timestamp_seconds":1788633315,"priority":1,"record_length":96,"hex_timestamp":"000001a072da76b8"} 
[2026-09-06 00:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:06: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-09-06 00: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":185,"data_length":795,"current_offset":136} 
[2026-09-06 00:06: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-09-06 00: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-09-06 00:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890126848001,"66":27300,"174":206,"78":38656,"24":53,"16":400178578462867456,"45":6729714876089202688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-09-06 00:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890126848001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:06:55] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-06 00:06:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400178578462867456,"km_value":400178578462867.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6729714876089202688,"description":"Unknown IO ID 45"} 
[2026-09-06 00:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890126848001,"power":27300,"unknown_174":206,"unknown_78":38656,"ignition":53,"odometer":null,"unknown_45":6729714876089202688}} 
[2026-09-06 00:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":172292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:06:55] local.INFO: GPS data processed {"connection_id":172292,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:06:55] local.INFO: Acknowledgment sent {"connection_id":172292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:07:25] local.INFO: TCP Data received {"connection_id":172291,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:07:25] local.INFO: Processing buffer {"connection_id":172291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:07:25] local.INFO: Packet analysis {"connection_id":172291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:07:25] local.INFO: Extracted packet for processing {"connection_id":172291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:07:25] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890051840001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788633316000,"timestamp_ms":1788633316000,"timestamp_seconds":1788633316,"priority":1,"record_length":96,"hex_timestamp":"000001a072da7aa0"} 
[2026-09-06 00:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 00:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:07:25] 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-09-06 00:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890051840001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"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-09-06 00:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890051840001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:07:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:07:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890051840001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":172291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:07:25] local.INFO: GPS data processed {"connection_id":172291,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:07:25] local.INFO: Acknowledgment sent {"connection_id":172291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:07:26] local.INFO: TCP Data received {"connection_id":172292,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072db97c8012d5c7740063673880004014e2b..."} 
[2026-09-06 00:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072db97c8012d5c7740063673880004014e2b..."} 
[2026-09-06 00:07:26] local.INFO: Processing buffer {"connection_id":172292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072db97c8012d5c7740063673880004014e2b..."} 
[2026-09-06 00:07:26] local.INFO: Packet analysis {"connection_id":172292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072db"} 
[2026-09-06 00:07:26] local.INFO: Extracted packet for processing {"connection_id":172292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072db"} 
[2026-09-06 00:07:26] local.INFO: GPS Element Parsed {"raw_longitude":761034560,"raw_latitude":104231816,"longitude_deg":76.103456,"latitude_deg":10.4231816,"altitude":4,"angle":334,"satellites":43,"speed":57,"hex_longitude":"2d5c7740","hex_latitude":"06367388","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890145792001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400183698063884288,"note":"Value kept but may cause issues"} 
[2026-09-06 00:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6667931118723893248,"note":"Value kept but may cause issues"} 
[2026-09-06 00:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788633389000,"timestamp_ms":1788633389000,"timestamp_seconds":1788633389,"priority":1,"record_length":96,"hex_timestamp":"000001a072db97c8"} 
[2026-09-06 00:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:07: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-09-06 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-06 00:07: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-09-06 00: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-09-06 00:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:07: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-09-06 00:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890145792001,"66":27234,"175":206,"78":38656,"24":57,"16":400183698063884288,"45":6667931118723893248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-09-06 00:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890145792001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:07:26] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-06 00:07:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400183698063884288,"km_value":400183698063884.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6667931118723893248,"description":"Unknown IO ID 45"} 
[2026-09-06 00:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890145792001,"power":27234,"unknown_175":206,"unknown_78":38656,"ignition":57,"odometer":null,"unknown_45":6667931118723893248}} 
[2026-09-06 00:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":172292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:07:26] local.INFO: GPS data processed {"connection_id":172292,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:07:26] local.INFO: Acknowledgment sent {"connection_id":172292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:07:44] local.INFO: TCP Data received {"connection_id":173411,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:07:44] local.INFO: Processing buffer {"connection_id":173411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:07:44] local.INFO: IMEI packet received {"connection_id":173411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 00:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":173411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:07:48] local.INFO: TCP Data received {"connection_id":173411,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:07:48] local.INFO: Processing buffer {"connection_id":173411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:07:48] local.INFO: IMEI packet received {"connection_id":173411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 00:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":173411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:07:49] local.INFO: TCP Data received {"connection_id":174737,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:07:49] local.INFO: Processing buffer {"connection_id":174737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:07:49] local.INFO: IMEI packet received {"connection_id":174737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":174737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:07:49] local.INFO: TCP Data received {"connection_id":173411,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:07:49] local.INFO: Processing buffer {"connection_id":173411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:07:49] local.INFO: Packet analysis {"connection_id":173411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:07:49] local.INFO: Extracted packet for processing {"connection_id":173411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890051840001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788633316000,"timestamp_ms":1788633316000,"timestamp_seconds":1788633316,"priority":1,"record_length":96,"hex_timestamp":"000001a072da7aa0"} 
[2026-09-06 00:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 00:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:07:49] 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-09-06 00:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890051840001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"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-09-06 00:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890051840001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:07:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:07:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890051840001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":173411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:07:49] local.INFO: GPS data processed {"connection_id":173411,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:07:49] local.INFO: Acknowledgment sent {"connection_id":173411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:07:53] local.INFO: TCP Data received {"connection_id":174737,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:07:53] local.INFO: Processing buffer {"connection_id":174737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:07:53] local.INFO: IMEI packet received {"connection_id":174737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":174737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:07:54] local.INFO: TCP Data received {"connection_id":174737,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:07:54] local.INFO: Processing buffer {"connection_id":174737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:07:54] local.INFO: IMEI packet received {"connection_id":174737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":174737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:07:56] local.INFO: TCP Data received {"connection_id":174737,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072dbb320012d5c6640063696e00005014d2c..."} 
[2026-09-06 00:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072dbb320012d5c6640063696e00005014d2c..."} 
[2026-09-06 00:07:56] local.INFO: Processing buffer {"connection_id":174737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072dbb320012d5c6640063696e00005014d2c..."} 
[2026-09-06 00:07:56] local.INFO: Packet analysis {"connection_id":174737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072db"} 
[2026-09-06 00:07:56] local.INFO: Extracted packet for processing {"connection_id":174737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072db"} 
[2026-09-06 00:07:56] local.INFO: GPS Element Parsed {"raw_longitude":761030208,"raw_latitude":104240864,"longitude_deg":76.1030208,"latitude_deg":10.4240864,"altitude":5,"angle":333,"satellites":44,"speed":56,"hex_longitude":"2d5c6640","hex_latitude":"063696e0","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890147584001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400184183395188736,"note":"Value kept but may cause issues"} 
[2026-09-06 00:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6662864569145460736,"note":"Value kept but may cause issues"} 
[2026-09-06 00:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788633396000,"timestamp_ms":1788633396000,"timestamp_seconds":1788633396,"priority":1,"record_length":96,"hex_timestamp":"000001a072dbb320"} 
[2026-09-06 00:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:07: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-09-06 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-06 00:07: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-09-06 00: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-09-06 00:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:07: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-09-06 00:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890147584001,"66":27234,"175":206,"78":38656,"24":56,"16":400184183395188736,"45":6662864569145460736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-09-06 00:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890147584001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:07:56] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-06 00:07:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400184183395188736,"km_value":400184183395188.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6662864569145460736,"description":"Unknown IO ID 45"} 
[2026-09-06 00:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890147584001,"power":27234,"unknown_175":206,"unknown_78":38656,"ignition":56,"odometer":null,"unknown_45":6662864569145460736}} 
[2026-09-06 00:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":174737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:07:56] local.INFO: GPS data processed {"connection_id":174737,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:07:56] local.INFO: Acknowledgment sent {"connection_id":174737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:08:20] local.INFO: TCP Data received {"connection_id":173411,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:08:20] local.INFO: Processing buffer {"connection_id":173411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072da7aa0012d196500071ff1280044014526..."} 
[2026-09-06 00:08:20] local.INFO: Packet analysis {"connection_id":173411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:08:20] local.INFO: Extracted packet for processing {"connection_id":173411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072da"} 
[2026-09-06 00:08:20] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":68,"angle":325,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-09-06 00:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890051840001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-09-06 00:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788633316000,"timestamp_ms":1788633316000,"timestamp_seconds":1788633316,"priority":1,"record_length":96,"hex_timestamp":"000001a072da7aa0"} 
[2026-09-06 00:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 00:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 00:08:20] 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-09-06 00:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 00:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 00:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890051840001,"66":2144,"102":206,"83":41984,"24":0,"16":18117400415174656,"45":1829868854196643840},"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-09-06 00:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 00:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 00:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890051840001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:08:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 00:08:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 00:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18117400415174656,"km_value":18117400415174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-09-06 00:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890051840001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-09-06 00:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":173411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:08:21] local.INFO: GPS data processed {"connection_id":173411,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:08:21] local.INFO: Acknowledgment sent {"connection_id":173411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:08:27] local.INFO: TCP Data received {"connection_id":174737,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072dbce78012d5c55400636b9b80005014d2c..."} 
[2026-09-06 00:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072dbce78012d5c55400636b9b80005014d2c..."} 
[2026-09-06 00:08:27] local.INFO: Processing buffer {"connection_id":174737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072dbce78012d5c55400636b9b80005014d2c..."} 
[2026-09-06 00:08:27] local.INFO: Packet analysis {"connection_id":174737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072db"} 
[2026-09-06 00:08:27] local.INFO: Extracted packet for processing {"connection_id":174737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072db"} 
[2026-09-06 00:08:27] local.INFO: GPS Element Parsed {"raw_longitude":761025856,"raw_latitude":104249784,"longitude_deg":76.1025856,"latitude_deg":10.4249784,"altitude":5,"angle":333,"satellites":44,"speed":54,"hex_longitude":"2d5c5540","hex_latitude":"0636b9b8","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890149376001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400184664431525888,"note":"Value kept but may cause issues"} 
[2026-09-06 00:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6658079494543695872,"note":"Value kept but may cause issues"} 
[2026-09-06 00:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788633403000,"timestamp_ms":1788633403000,"timestamp_seconds":1788633403,"priority":1,"record_length":96,"hex_timestamp":"000001a072dbce78"} 
[2026-09-06 00:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00: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-09-06 00: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-09-06 00: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-09-06 00: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-09-06 00:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890149376001,"66":27397,"175":206,"78":38656,"24":54,"16":400184664431525888,"45":6658079494543695872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-09-06 00:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890149376001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:08:27] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-06 00:08:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400184664431525888,"km_value":400184664431525.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6658079494543695872,"description":"Unknown IO ID 45"} 
[2026-09-06 00:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890149376001,"power":27397,"unknown_175":206,"unknown_78":38656,"ignition":54,"odometer":null,"unknown_45":6658079494543695872}} 
[2026-09-06 00:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":174737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:08:27] local.INFO: GPS data processed {"connection_id":174737,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:08:27] local.INFO: Acknowledgment sent {"connection_id":174737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:08:43] local.INFO: TCP Data received {"connection_id":172294,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:08:43] local.INFO: Processing buffer {"connection_id":172294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 00:08:43] local.INFO: IMEI packet received {"connection_id":172294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 00:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":172294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:08:54] local.INFO: TCP Data received {"connection_id":172057,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:08:54] local.INFO: Processing buffer {"connection_id":172057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:08:54] local.INFO: IMEI packet received {"connection_id":172057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":172057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:08:55] local.INFO: TCP Data received {"connection_id":172057,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:08:55] local.INFO: Processing buffer {"connection_id":172057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:08:55] local.INFO: IMEI packet received {"connection_id":172057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":172057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:08:56] local.INFO: TCP Data received {"connection_id":172057,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072dbe9d0012d5c44c00636da780005014e2c..."} 
[2026-09-06 00:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072dbe9d0012d5c44c00636da780005014e2c..."} 
[2026-09-06 00:08:56] local.INFO: Processing buffer {"connection_id":172057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072dbe9d0012d5c44c00636da780005014e2c..."} 
[2026-09-06 00:08:56] local.INFO: Packet analysis {"connection_id":172057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072db"} 
[2026-09-06 00:08:56] local.INFO: Extracted packet for processing {"connection_id":172057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072db"} 
[2026-09-06 00:08:56] local.INFO: GPS Element Parsed {"raw_longitude":761021632,"raw_latitude":104258168,"longitude_deg":76.1021632,"latitude_deg":10.4258168,"altitude":5,"angle":334,"satellites":44,"speed":52,"hex_longitude":"2d5c44c0","hex_latitude":"0636da78","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890151168001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400185115403091968,"note":"Value kept but may cause issues"} 
[2026-09-06 00:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6653294419941898240,"note":"Value kept but may cause issues"} 
[2026-09-06 00:08:56] 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-09-06 00:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788633410000,"timestamp_ms":1788633410000,"timestamp_seconds":1788633410,"priority":1,"record_length":96,"hex_timestamp":"000001a072dbe9d0"} 
[2026-09-06 00:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:08: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-09-06 00:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-06 00:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00: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-09-06 00:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890151168001,"66":27343,"220":206,"78":38656,"24":52,"16":400185115403091968,"45":6653294419941898240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,78,24,16,45]} 
[2026-09-06 00:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890151168001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:08:56] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-06 00:08:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400185115403091968,"km_value":400185115403091.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6653294419941898240,"description":"Unknown IO ID 45"} 
[2026-09-06 00:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890151168001,"power":27343,"unknown_220":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6653294419941898240}} 
[2026-09-06 00:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":172057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:08:56] local.INFO: GPS data processed {"connection_id":172057,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:08:56] local.INFO: Acknowledgment sent {"connection_id":172057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:09:00] local.INFO: TCP Data received {"connection_id":172057,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072dc0910012d5c33800636fc880005014a2d..."} 
[2026-09-06 00:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072dc0910012d5c33800636fc880005014a2d..."} 
[2026-09-06 00:09:00] local.INFO: Processing buffer {"connection_id":172057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072dc0910012d5c33800636fc880005014a2d..."} 
[2026-09-06 00:09:00] local.INFO: Packet analysis {"connection_id":172057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072dc"} 
[2026-09-06 00:09:00] local.INFO: Extracted packet for processing {"connection_id":172057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072dc"} 
[2026-09-06 00:09:00] local.INFO: GPS Element Parsed {"raw_longitude":761017216,"raw_latitude":104266888,"longitude_deg":76.1017216,"latitude_deg":10.4266888,"altitude":5,"angle":330,"satellites":45,"speed":40,"hex_longitude":"2d5c3380","hex_latitude":"0636fc88","is_valid_coordinates":true} 
[2026-09-06 00:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890152960001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400185592144461824,"note":"Value kept but may cause issues"} 
[2026-09-06 00:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6648650082828318720,"note":"Value kept but may cause issues"} 
[2026-09-06 00:09:00] 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-09-06 00:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788633418000,"timestamp_ms":1788633418000,"timestamp_seconds":1788633418,"priority":1,"record_length":96,"hex_timestamp":"000001a072dc0910"} 
[2026-09-06 00:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:09: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-09-06 00:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-06 00:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:09: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-09-06 00:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890152960001,"66":27213,"220":206,"78":38656,"24":40,"16":400185592144461824,"45":6648650082828318720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,78,24,16,45]} 
[2026-09-06 00:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890152960001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:09:00] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-06 00:09:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400185592144461824,"km_value":400185592144461.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6648650082828318720,"description":"Unknown IO ID 45"} 
[2026-09-06 00:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890152960001,"power":27213,"unknown_220":206,"unknown_78":38656,"ignition":40,"odometer":null,"unknown_45":6648650082828318720}} 
[2026-09-06 00:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":172057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:09:00] local.INFO: GPS data processed {"connection_id":172057,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:09:00] local.INFO: Acknowledgment sent {"connection_id":172057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:09:32] local.INFO: TCP Data received {"connection_id":172057,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072dd8fb0012d5b72400638a070000601452c..."} 
[2026-09-06 00:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072dd8fb0012d5b72400638a070000601452c..."} 
[2026-09-06 00:09:32] local.INFO: Processing buffer {"connection_id":172057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072dd8fb0012d5b72400638a070000601452c..."} 
[2026-09-06 00:09:32] local.INFO: Packet analysis {"connection_id":172057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072dd"} 
[2026-09-06 00:09:32] local.INFO: Extracted packet for processing {"connection_id":172057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072dd"} 
[2026-09-06 00:09:32] local.INFO: GPS Element Parsed {"raw_longitude":760967744,"raw_latitude":104374384,"longitude_deg":76.0967744,"latitude_deg":10.4374384,"altitude":6,"angle":325,"satellites":44,"speed":57,"hex_longitude":"2d5b7240","hex_latitude":"0638a070","is_valid_coordinates":true} 
[2026-09-06 00:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890180608001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400191325925801984,"note":"Value kept but may cause issues"} 
[2026-09-06 00:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6589399600260476928,"note":"Value kept but may cause issues"} 
[2026-09-06 00:09:32] 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-09-06 00:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788633518000,"timestamp_ms":1788633518000,"timestamp_seconds":1788633518,"priority":1,"record_length":96,"hex_timestamp":"000001a072dd8fb0"} 
[2026-09-06 00:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 00:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-06 00:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890180608001,"66":27267,"84":206,"78":38656,"24":57,"16":400191325925801984,"45":6589399600260476928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-09-06 00:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890180608001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:09:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-06 00:09:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400191325925801984,"km_value":400191325925802.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6589399600260476928,"description":"Unknown IO ID 45"} 
[2026-09-06 00:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890180608001,"power":27267,"unknown_84":206,"unknown_78":38656,"ignition":57,"odometer":null,"unknown_45":6589399600260476928}} 
[2026-09-06 00:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":172057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:09:32] local.INFO: GPS data processed {"connection_id":172057,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:09:32] local.INFO: Acknowledgment sent {"connection_id":172057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:09:49] local.INFO: TCP Data received {"connection_id":172296,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:09:49] local.INFO: Processing buffer {"connection_id":172296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:09:49] local.INFO: IMEI packet received {"connection_id":172296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":172296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:09:51] local.INFO: TCP Data received {"connection_id":172296,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:09:51] local.INFO: Processing buffer {"connection_id":172296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:09:51] local.INFO: IMEI packet received {"connection_id":172296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":172296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:09:52] local.INFO: TCP Data received {"connection_id":172296,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072ddab08012d5b5b400638bfe8000801442c..."} 
[2026-09-06 00:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ddab08012d5b5b400638bfe8000801442c..."} 
[2026-09-06 00:09:52] local.INFO: Processing buffer {"connection_id":172296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ddab08012d5b5b400638bfe8000801442c..."} 
[2026-09-06 00:09:52] local.INFO: Packet analysis {"connection_id":172296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072dd"} 
[2026-09-06 00:09:52] local.INFO: Extracted packet for processing {"connection_id":172296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072dd"} 
[2026-09-06 00:09:52] local.INFO: GPS Element Parsed {"raw_longitude":760961856,"raw_latitude":104382440,"longitude_deg":76.0961856,"latitude_deg":10.438244,"altitude":8,"angle":324,"satellites":44,"speed":54,"hex_longitude":"2d5b5b40","hex_latitude":"0638bfe8","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890180608001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400191806962139136,"note":"Value kept but may cause issues"} 
[2026-09-06 00:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6589399600260476928,"note":"Value kept but may cause issues"} 
[2026-09-06 00:09:52] 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-09-06 00:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788633525000,"timestamp_ms":1788633525000,"timestamp_seconds":1788633525,"priority":1,"record_length":96,"hex_timestamp":"000001a072ddab08"} 
[2026-09-06 00:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-06 00:09: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-09-06 00: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-09-06 00:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:09: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-09-06 00:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890180608001,"66":27267,"84":206,"78":38656,"24":54,"16":400191806962139136,"45":6589399600260476928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-09-06 00:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890180608001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:09:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-06 00:09:52] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400191806962139136,"km_value":400191806962139.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6589399600260476928,"description":"Unknown IO ID 45"} 
[2026-09-06 00:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890180608001,"power":27267,"unknown_84":206,"unknown_78":38656,"ignition":54,"odometer":null,"unknown_45":6589399600260476928}} 
[2026-09-06 00:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":172296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:09:52] local.INFO: GPS data processed {"connection_id":172296,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:09:52] local.INFO: Acknowledgment sent {"connection_id":172296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:10:26] local.INFO: TCP Data received {"connection_id":172296,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072ddc660012d5b45c00638dd70000901432b..."} 
[2026-09-06 00:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ddc660012d5b45c00638dd70000901432b..."} 
[2026-09-06 00:10:26] local.INFO: Processing buffer {"connection_id":172296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ddc660012d5b45c00638dd70000901432b..."} 
[2026-09-06 00:10:26] local.INFO: Packet analysis {"connection_id":172296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072dd"} 
[2026-09-06 00:10:26] local.INFO: Extracted packet for processing {"connection_id":172296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072dd"} 
[2026-09-06 00:10:26] local.INFO: GPS Element Parsed {"raw_longitude":760956352,"raw_latitude":104390000,"longitude_deg":76.0956352,"latitude_deg":10.439,"altitude":9,"angle":323,"satellites":43,"speed":51,"hex_longitude":"2d5b45c0","hex_latitude":"0638dd70","is_valid_coordinates":true} 
[2026-09-06 00:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890182400001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400192257933705216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6582925675798194176,"note":"Value kept but may cause issues"} 
[2026-09-06 00:10: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-09-06 00:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788633532000,"timestamp_ms":1788633532000,"timestamp_seconds":1788633532,"priority":1,"record_length":96,"hex_timestamp":"000001a072ddc660"} 
[2026-09-06 00:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:10: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-09-06 00:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-06 00:10: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-09-06 00:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:10: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-09-06 00:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890182400001,"66":27213,"84":206,"78":38656,"24":51,"16":400192257933705216,"45":6582925675798194176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-09-06 00:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890182400001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:10:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-06 00:10:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400192257933705216,"km_value":400192257933705.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6582925675798194176,"description":"Unknown IO ID 45"} 
[2026-09-06 00:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890182400001,"power":27213,"unknown_84":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6582925675798194176}} 
[2026-09-06 00:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":172296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:10:26] local.INFO: GPS data processed {"connection_id":172296,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:10:26] local.INFO: Acknowledgment sent {"connection_id":172296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:10:50] local.INFO: TCP Data received {"connection_id":172297,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:10:50] local.INFO: Processing buffer {"connection_id":172297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:10:50] local.INFO: IMEI packet received {"connection_id":172297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":172297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:10:50] local.INFO: TCP Data received {"connection_id":172297,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:10:50] local.INFO: Processing buffer {"connection_id":172297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:10:50] local.INFO: IMEI packet received {"connection_id":172297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":172297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:10:54] local.INFO: TCP Data received {"connection_id":172297,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:10:54] local.INFO: Processing buffer {"connection_id":172297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:10:54] local.INFO: IMEI packet received {"connection_id":172297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":172297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:10:55] local.INFO: TCP Data received {"connection_id":172297,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072dde1b8012d5b30800638fa20000a01432b..."} 
[2026-09-06 00:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072dde1b8012d5b30800638fa20000a01432b..."} 
[2026-09-06 00:10:55] local.INFO: Processing buffer {"connection_id":172297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072dde1b8012d5b30800638fa20000a01432b..."} 
[2026-09-06 00:10:55] local.INFO: Packet analysis {"connection_id":172297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072dd"} 
[2026-09-06 00:10:55] local.INFO: Extracted packet for processing {"connection_id":172297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072dd"} 
[2026-09-06 00:10:55] local.INFO: GPS Element Parsed {"raw_longitude":760950912,"raw_latitude":104397344,"longitude_deg":76.0950912,"latitude_deg":10.4397344,"altitude":10,"angle":323,"satellites":43,"speed":51,"hex_longitude":"2d5b3080","hex_latitude":"0638fa20","is_valid_coordinates":true} 
[2026-09-06 00:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890184192001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400192696020369408,"note":"Value kept but may cause issues"} 
[2026-09-06 00:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6576873963800850432,"note":"Value kept but may cause issues"} 
[2026-09-06 00:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788633539000,"timestamp_ms":1788633539000,"timestamp_seconds":1788633539,"priority":1,"record_length":96,"hex_timestamp":"000001a072dde1b8"} 
[2026-09-06 00:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:10: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-09-06 00:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-06 00:10: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-09-06 00:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890184192001,"66":27267,"85":206,"78":38656,"24":51,"16":400192696020369408,"45":6576873963800850432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,78,24,16,45]} 
[2026-09-06 00:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890184192001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:10:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-06 00:10:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400192696020369408,"km_value":400192696020369.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6576873963800850432,"description":"Unknown IO ID 45"} 
[2026-09-06 00:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890184192001,"power":27267,"unknown_85":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6576873963800850432}} 
[2026-09-06 00:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":172297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:10:55] local.INFO: GPS data processed {"connection_id":172297,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:10:55] local.INFO: Acknowledgment sent {"connection_id":172297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:11:27] local.INFO: TCP Data received {"connection_id":172297,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072df4918012d5ab940063ab478000800162e..."} 
[2026-09-06 00:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072df4918012d5ab940063ab478000800162e..."} 
[2026-09-06 00:11:27] local.INFO: Processing buffer {"connection_id":172297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072df4918012d5ab940063ab478000800162e..."} 
[2026-09-06 00:11:27] local.INFO: Packet analysis {"connection_id":172297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072df"} 
[2026-09-06 00:11:27] local.INFO: Extracted packet for processing {"connection_id":172297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072df"} 
[2026-09-06 00:11:27] local.INFO: GPS Element Parsed {"raw_longitude":760920384,"raw_latitude":104510584,"longitude_deg":76.0920384,"latitude_deg":10.4510584,"altitude":8,"angle":22,"satellites":46,"speed":61,"hex_longitude":"2d5ab940","hex_latitude":"063ab478","is_valid_coordinates":true} 
[2026-09-06 00:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890208000001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400198674614845440,"note":"Value kept but may cause issues"} 
[2026-09-06 00:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6533386079927777280,"note":"Value kept but may cause issues"} 
[2026-09-06 00:11:27] 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-09-06 00:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788633631000,"timestamp_ms":1788633631000,"timestamp_seconds":1788633631,"priority":1,"record_length":96,"hex_timestamp":"000001a072df4918"} 
[2026-09-06 00:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:11: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-09-06 00:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-06 00:11: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-09-06 00:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890208000001,"66":27332,"253":206,"78":38656,"24":61,"16":400198674614845440,"45":6533386079927777280},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,78,24,16,45]} 
[2026-09-06 00:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890208000001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:11:27] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-06 00:11:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400198674614845440,"km_value":400198674614845.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6533386079927777280,"description":"Unknown IO ID 45"} 
[2026-09-06 00:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890208000001,"power":27332,"unknown_253":206,"unknown_78":38656,"ignition":61,"odometer":null,"unknown_45":6533386079927777280}} 
[2026-09-06 00:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":172297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:11:27] local.INFO: GPS data processed {"connection_id":172297,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:11:27] local.INFO: Acknowledgment sent {"connection_id":172297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:11:50] local.INFO: TCP Data received {"connection_id":172299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:11:50] local.INFO: Processing buffer {"connection_id":172299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:11:50] local.INFO: IMEI packet received {"connection_id":172299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":172299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:11:50] local.INFO: TCP Data received {"connection_id":172299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:11:50] local.INFO: Processing buffer {"connection_id":172299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:11:50] local.INFO: IMEI packet received {"connection_id":172299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":172299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:11:54] local.INFO: TCP Data received {"connection_id":172299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:11:54] local.INFO: Processing buffer {"connection_id":172299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:11:54] local.INFO: IMEI packet received {"connection_id":172299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":172299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:11:55] local.INFO: TCP Data received {"connection_id":172299,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072df6088012d5ac7c0063ad540000500172f..."} 
[2026-09-06 00:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072df6088012d5ac7c0063ad540000500172f..."} 
[2026-09-06 00:11:55] local.INFO: Processing buffer {"connection_id":172299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072df6088012d5ac7c0063ad540000500172f..."} 
[2026-09-06 00:11:55] local.INFO: Packet analysis {"connection_id":172299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072df"} 
[2026-09-06 00:11:55] local.INFO: Extracted packet for processing {"connection_id":172299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072df"} 
[2026-09-06 00:11:55] local.INFO: GPS Element Parsed {"raw_longitude":760924096,"raw_latitude":104518976,"longitude_deg":76.0924096,"latitude_deg":10.4518976,"altitude":5,"angle":23,"satellites":47,"speed":60,"hex_longitude":"2d5ac7c0","hex_latitude":"063ad540","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890209536001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400199116996476928,"note":"Value kept but may cause issues"} 
[2026-09-06 00:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6537326729603872768,"note":"Value kept but may cause issues"} 
[2026-09-06 00:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788633637000,"timestamp_ms":1788633637000,"timestamp_seconds":1788633637,"priority":1,"record_length":96,"hex_timestamp":"000001a072df6088"} 
[2026-09-06 00:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:11: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-09-06 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-06 00:11: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-09-06 00: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-09-06 00:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890209536001,"66":27300,"23":206,"78":38656,"24":60,"16":400199116996476928,"45":6537326729603872768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-09-06 00:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890209536001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:11:55] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 00:11:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400199116996476928,"km_value":400199116996476.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6537326729603872768,"description":"Unknown IO ID 45"} 
[2026-09-06 00:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890209536001,"power":27300,"unknown_23":206,"unknown_78":38656,"ignition":60,"odometer":null,"unknown_45":6537326729603872768}} 
[2026-09-06 00:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":172299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:11:55] local.INFO: GPS data processed {"connection_id":172299,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:11:55] local.INFO: Acknowledgment sent {"connection_id":172299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:12:12] local.INFO: TCP Data received {"connection_id":172059,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:12:12] local.INFO: Processing buffer {"connection_id":172059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:12:12] local.INFO: IMEI packet received {"connection_id":172059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 00:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":172059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:12:28] local.INFO: TCP Data received {"connection_id":172299,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072df7be0012d5ad480063af780000400102e..."} 
[2026-09-06 00:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072df7be0012d5ad480063af780000400102e..."} 
[2026-09-06 00:12:28] local.INFO: Processing buffer {"connection_id":172299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072df7be0012d5ad480063af780000400102e..."} 
[2026-09-06 00:12:28] local.INFO: Packet analysis {"connection_id":172299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072df"} 
[2026-09-06 00:12:28] local.INFO: Extracted packet for processing {"connection_id":172299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072df"} 
[2026-09-06 00:12:28] local.INFO: GPS Element Parsed {"raw_longitude":760927360,"raw_latitude":104527744,"longitude_deg":76.092736,"latitude_deg":10.4527744,"altitude":4,"angle":16,"satellites":46,"speed":46,"hex_longitude":"2d5ad480","hex_latitude":"063af780","is_valid_coordinates":true} 
[2026-09-06 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-09-06 00:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890211072001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400199572263010304,"note":"Value kept but may cause issues"} 
[2026-09-06 00:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6541408116768325632,"note":"Value kept but may cause issues"} 
[2026-09-06 00:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788633644000,"timestamp_ms":1788633644000,"timestamp_seconds":1788633644,"priority":1,"record_length":96,"hex_timestamp":"000001a072df7be0"} 
[2026-09-06 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-09-06 00:12: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-09-06 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-06 00:12:28] 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-09-06 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-09-06 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-09-06 00:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:12: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-09-06 00:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890211072001,"66":27321,"23":206,"78":38656,"24":46,"16":400199572263010304,"45":6541408116768325632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-09-06 00:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890211072001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:12:28] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 00:12:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400199572263010304,"km_value":400199572263010.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6541408116768325632,"description":"Unknown IO ID 45"} 
[2026-09-06 00:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890211072001,"power":27321,"unknown_23":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6541408116768325632}} 
[2026-09-06 00:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":172299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:12:28] local.INFO: GPS data processed {"connection_id":172299,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:12:28] local.INFO: Acknowledgment sent {"connection_id":172299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:12:49] local.INFO: TCP Data received {"connection_id":172300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:12:49] local.INFO: Processing buffer {"connection_id":172300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:12:49] local.INFO: IMEI packet received {"connection_id":172300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":172300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:12:50] local.INFO: TCP Data received {"connection_id":172300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:12:50] local.INFO: Processing buffer {"connection_id":172300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:12:50] local.INFO: IMEI packet received {"connection_id":172300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":172300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:12:54] local.INFO: TCP Data received {"connection_id":172300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:12:54] local.INFO: Processing buffer {"connection_id":172300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:12:54] local.INFO: IMEI packet received {"connection_id":172300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":172300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:12:55] local.INFO: TCP Data received {"connection_id":172300,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e075e0012d5a8080063c5148000401562c..."} 
[2026-09-06 00:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e075e0012d5a8080063c5148000401562c..."} 
[2026-09-06 00:12:55] local.INFO: Processing buffer {"connection_id":172300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e075e0012d5a8080063c5148000401562c..."} 
[2026-09-06 00:12:55] local.INFO: Packet analysis {"connection_id":172300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e0"} 
[2026-09-06 00:12:55] local.INFO: Extracted packet for processing {"connection_id":172300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e0"} 
[2026-09-06 00:12:55] local.INFO: GPS Element Parsed {"raw_longitude":760905856,"raw_latitude":104616264,"longitude_deg":76.0905856,"latitude_deg":10.4616264,"altitude":4,"angle":342,"satellites":44,"speed":57,"hex_longitude":"2d5a8080","hex_latitude":"063c5148","is_valid_coordinates":true} 
[2026-09-06 00:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890227456001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400204051913900032,"note":"Value kept but may cause issues"} 
[2026-09-06 00:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6524801093164892160,"note":"Value kept but may cause issues"} 
[2026-09-06 00:12:55] 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-09-06 00:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788633708000,"timestamp_ms":1788633708000,"timestamp_seconds":1788633708,"priority":1,"record_length":96,"hex_timestamp":"000001a072e075e0"} 
[2026-09-06 00:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:12: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-09-06 00:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-06 00:12: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-09-06 00:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890227456001,"66":27267,"13":206,"78":38656,"24":57,"16":400204051913900032,"45":6524801093164892160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-09-06 00:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890227456001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:12:55] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-06 00:12:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400204051913900032,"km_value":400204051913900.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6524801093164892160,"description":"Unknown IO ID 45"} 
[2026-09-06 00:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890227456001,"power":27267,"unknown_13":206,"unknown_78":38656,"ignition":57,"odometer":null,"unknown_45":6524801093164892160}} 
[2026-09-06 00:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":172300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:12:55] local.INFO: GPS data processed {"connection_id":172300,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:12:55] local.INFO: Acknowledgment sent {"connection_id":172300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:13:27] local.INFO: TCP Data received {"connection_id":172300,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e08d50012d5a7680063c72b8000401572c..."} 
[2026-09-06 00:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e08d50012d5a7680063c72b8000401572c..."} 
[2026-09-06 00:13:27] local.INFO: Processing buffer {"connection_id":172300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e08d50012d5a7680063c72b8000401572c..."} 
[2026-09-06 00:13:27] local.INFO: Packet analysis {"connection_id":172300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e0"} 
[2026-09-06 00:13:27] local.INFO: Extracted packet for processing {"connection_id":172300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e0"} 
[2026-09-06 00:13:27] local.INFO: GPS Element Parsed {"raw_longitude":760903296,"raw_latitude":104624824,"longitude_deg":76.0903296,"latitude_deg":10.4624824,"altitude":4,"angle":343,"satellites":44,"speed":61,"hex_longitude":"2d5a7680","hex_latitude":"063c72b8","is_valid_coordinates":true} 
[2026-09-06 00:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890229248001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400204481410629632,"note":"Value kept but may cause issues"} 
[2026-09-06 00:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6521353024702597120,"note":"Value kept but may cause issues"} 
[2026-09-06 00:13:27] 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-09-06 00:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788633714000,"timestamp_ms":1788633714000,"timestamp_seconds":1788633714,"priority":1,"record_length":96,"hex_timestamp":"000001a072e08d50"} 
[2026-09-06 00:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:13: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-09-06 00:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-06 00:13: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-09-06 00:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890229248001,"66":27300,"13":206,"78":38656,"24":61,"16":400204481410629632,"45":6521353024702597120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-09-06 00:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890229248001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:13:27] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-06 00:13:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400204481410629632,"km_value":400204481410629.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6521353024702597120,"description":"Unknown IO ID 45"} 
[2026-09-06 00:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890229248001,"power":27300,"unknown_13":206,"unknown_78":38656,"ignition":61,"odometer":null,"unknown_45":6521353024702597120}} 
[2026-09-06 00:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":172300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:13:27] local.INFO: GPS data processed {"connection_id":172300,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:13:27] local.INFO: Acknowledgment sent {"connection_id":172300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:13:51] local.INFO: TCP Data received {"connection_id":172060,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:13:51] local.INFO: Processing buffer {"connection_id":172060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:13:51] local.INFO: IMEI packet received {"connection_id":172060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":172060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:13:55] local.INFO: TCP Data received {"connection_id":172060,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:13:55] local.INFO: Processing buffer {"connection_id":172060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:13:55] local.INFO: IMEI packet received {"connection_id":172060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":172060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:14:00] local.INFO: TCP Data received {"connection_id":172060,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:14:00] local.INFO: Processing buffer {"connection_id":172060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:14:00] local.INFO: IMEI packet received {"connection_id":172060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":172060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:14:01] local.INFO: TCP Data received {"connection_id":172060,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e0a4c0012d5a6cc0063c9418000701582d..."} 
[2026-09-06 00:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e0a4c0012d5a6cc0063c9418000701582d..."} 
[2026-09-06 00:14:01] local.INFO: Processing buffer {"connection_id":172060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e0a4c0012d5a6cc0063c9418000701582d..."} 
[2026-09-06 00:14:01] local.INFO: Packet analysis {"connection_id":172060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e0"} 
[2026-09-06 00:14:01] local.INFO: Extracted packet for processing {"connection_id":172060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e0"} 
[2026-09-06 00:14:01] local.INFO: GPS Element Parsed {"raw_longitude":760900800,"raw_latitude":104633368,"longitude_deg":76.09008,"latitude_deg":10.4633368,"altitude":7,"angle":344,"satellites":45,"speed":58,"hex_longitude":"2d5a6cc0","hex_latitude":"063c9418","is_valid_coordinates":true} 
[2026-09-06 00:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890230784001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400204915202326528,"note":"Value kept but may cause issues"} 
[2026-09-06 00:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6518538274937681920,"note":"Value kept but may cause issues"} 
[2026-09-06 00:14:01] 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-09-06 00:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788633720000,"timestamp_ms":1788633720000,"timestamp_seconds":1788633720,"priority":1,"record_length":96,"hex_timestamp":"000001a072e0a4c0"} 
[2026-09-06 00:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 00:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-06 00:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:14: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-09-06 00:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890230784001,"66":27213,"13":206,"78":38656,"24":58,"16":400204915202326528,"45":6518538274937681920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-09-06 00:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890230784001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:14:01] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-06 00:14:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400204915202326528,"km_value":400204915202326.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6518538274937681920,"description":"Unknown IO ID 45"} 
[2026-09-06 00:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890230784001,"power":27213,"unknown_13":206,"unknown_78":38656,"ignition":58,"odometer":null,"unknown_45":6518538274937681920}} 
[2026-09-06 00:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":172060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:14:01] local.INFO: GPS data processed {"connection_id":172060,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:14:01] local.INFO: Acknowledgment sent {"connection_id":172060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:14:05] local.INFO: TCP Data received {"connection_id":172060,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e0bc30012d5a6240063cb5f0000601552c..."} 
[2026-09-06 00:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e0bc30012d5a6240063cb5f0000601552c..."} 
[2026-09-06 00:14:05] local.INFO: Processing buffer {"connection_id":172060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e0bc30012d5a6240063cb5f0000601552c..."} 
[2026-09-06 00:14:05] local.INFO: Packet analysis {"connection_id":172060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e0"} 
[2026-09-06 00:14:05] local.INFO: Extracted packet for processing {"connection_id":172060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e0"} 
[2026-09-06 00:14:05] local.INFO: GPS Element Parsed {"raw_longitude":760898112,"raw_latitude":104642032,"longitude_deg":76.0898112,"latitude_deg":10.4642032,"altitude":6,"angle":341,"satellites":44,"speed":62,"hex_longitude":"2d5a6240","hex_latitude":"063cb5f0","is_valid_coordinates":true} 
[2026-09-06 00:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890232320001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400205353288990720,"note":"Value kept but may cause issues"} 
[2026-09-06 00:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6515793893916940288,"note":"Value kept but may cause issues"} 
[2026-09-06 00:14:05] 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-09-06 00:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788633726000,"timestamp_ms":1788633726000,"timestamp_seconds":1788633726,"priority":1,"record_length":96,"hex_timestamp":"000001a072e0bc30"} 
[2026-09-06 00:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 00:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-06 00:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890232320001,"66":27213,"13":206,"78":38656,"24":62,"16":400205353288990720,"45":6515793893916940288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-09-06 00:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890232320001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:14:05] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-06 00:14:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400205353288990720,"km_value":400205353288990.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6515793893916940288,"description":"Unknown IO ID 45"} 
[2026-09-06 00:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890232320001,"power":27213,"unknown_13":206,"unknown_78":38656,"ignition":62,"odometer":null,"unknown_45":6515793893916940288}} 
[2026-09-06 00:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":172060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:14:05] local.INFO: GPS data processed {"connection_id":172060,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:14:05] local.INFO: Acknowledgment sent {"connection_id":172060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:14:54] local.INFO: TCP Data received {"connection_id":172062,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:14:54] local.INFO: Processing buffer {"connection_id":172062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:14:54] local.INFO: IMEI packet received {"connection_id":172062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":172062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:14:58] local.INFO: TCP Data received {"connection_id":172062,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:14:58] local.INFO: Processing buffer {"connection_id":172062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:14:58] local.INFO: IMEI packet received {"connection_id":172062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":172062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:14:59] local.INFO: TCP Data received {"connection_id":172062,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:14:59] local.INFO: Processing buffer {"connection_id":172062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:14:59] local.INFO: IMEI packet received {"connection_id":172062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":172062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:15:07] local.INFO: TCP Data received {"connection_id":172062,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:15:07] local.INFO: Processing buffer {"connection_id":172062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:15:07] local.INFO: IMEI packet received {"connection_id":172062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":172062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:15:09] local.INFO: TCP Data received {"connection_id":172062,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e269e0012d59c4c0063e1ca00004014c2a..."} 
[2026-09-06 00:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e269e0012d59c4c0063e1ca00004014c2a..."} 
[2026-09-06 00:15:09] local.INFO: Processing buffer {"connection_id":172062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e269e0012d59c4c0063e1ca00004014c2a..."} 
[2026-09-06 00:15:09] local.INFO: Packet analysis {"connection_id":172062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e2"} 
[2026-09-06 00:15:09] local.INFO: Extracted packet for processing {"connection_id":172062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e2"} 
[2026-09-06 00:15:09] local.INFO: GPS Element Parsed {"raw_longitude":760857792,"raw_latitude":104733856,"longitude_deg":76.0857792,"latitude_deg":10.4733856,"altitude":4,"angle":332,"satellites":42,"speed":42,"hex_longitude":"2d59c4c0","hex_latitude":"063e1ca0","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890259712001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400210219486937088,"note":"Value kept but may cause issues"} 
[2026-09-06 00:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6473291172457293824,"note":"Value kept but may cause issues"} 
[2026-09-06 00:15:09] 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-09-06 00:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788633836000,"timestamp_ms":1788633836000,"timestamp_seconds":1788633836,"priority":1,"record_length":96,"hex_timestamp":"000001a072e269e0"} 
[2026-09-06 00:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-06 00:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890259712001,"66":27321,"13":206,"78":38656,"24":42,"16":400210219486937088,"45":6473291172457293824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-09-06 00:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890259712001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:15:09] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-06 00:15:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400210219486937088,"km_value":400210219486937.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6473291172457293824,"description":"Unknown IO ID 45"} 
[2026-09-06 00:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890259712001,"power":27321,"unknown_13":206,"unknown_78":38656,"ignition":42,"odometer":null,"unknown_45":6473291172457293824}} 
[2026-09-06 00:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":172062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:15:09] local.INFO: GPS data processed {"connection_id":172062,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:15:09] local.INFO: Acknowledgment sent {"connection_id":172062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:15:49] local.INFO: TCP Data received {"connection_id":172063,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:15:49] local.INFO: Processing buffer {"connection_id":172063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:15:49] local.INFO: IMEI packet received {"connection_id":172063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":172063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:15:54] local.INFO: TCP Data received {"connection_id":172063,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:15:54] local.INFO: Processing buffer {"connection_id":172063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:15:54] local.INFO: IMEI packet received {"connection_id":172063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":172063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:16:05] local.INFO: TCP Data received {"connection_id":172063,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e28920012d59b200063e3ab0000401472b..."} 
[2026-09-06 00:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e28920012d59b200063e3ab0000401472b..."} 
[2026-09-06 00:16:05] local.INFO: Processing buffer {"connection_id":172063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e28920012d59b200063e3ab0000401472b..."} 
[2026-09-06 00:16:05] local.INFO: Packet analysis {"connection_id":172063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e2"} 
[2026-09-06 00:16:05] local.INFO: Extracted packet for processing {"connection_id":172063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e2"} 
[2026-09-06 00:16:05] local.INFO: GPS Element Parsed {"raw_longitude":760852992,"raw_latitude":104741552,"longitude_deg":76.0852992,"latitude_deg":10.4741552,"altitude":4,"angle":327,"satellites":43,"speed":47,"hex_longitude":"2d59b200","hex_latitude":"063e3ab0","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890262016001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400210657573601280,"note":"Value kept but may cause issues"} 
[2026-09-06 00:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6468506097855275008,"note":"Value kept but may cause issues"} 
[2026-09-06 00:16:05] 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-09-06 00:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788633844000,"timestamp_ms":1788633844000,"timestamp_seconds":1788633844,"priority":1,"record_length":96,"hex_timestamp":"000001a072e28920"} 
[2026-09-06 00:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:16: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-09-06 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-06 00:16:05] 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-09-06 00: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-09-06 00:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890262016001,"66":27300,"13":206,"78":38656,"24":47,"16":400210657573601280,"45":6468506097855275008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-09-06 00:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890262016001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:16:05] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-06 00:16:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400210657573601280,"km_value":400210657573601.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6468506097855275008,"description":"Unknown IO ID 45"} 
[2026-09-06 00:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890262016001,"power":27300,"unknown_13":206,"unknown_78":38656,"ignition":47,"odometer":null,"unknown_45":6468506097855275008}} 
[2026-09-06 00:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":172063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:16:05] local.INFO: GPS data processed {"connection_id":172063,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:16:05] local.INFO: Acknowledgment sent {"connection_id":172063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:17:01] local.INFO: TCP Data received {"connection_id":174740,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:01] local.INFO: Processing buffer {"connection_id":174740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:01] local.INFO: IMEI packet received {"connection_id":174740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":174740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:17:05] local.INFO: TCP Data received {"connection_id":174740,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:05] local.INFO: Processing buffer {"connection_id":174740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:05] local.INFO: IMEI packet received {"connection_id":174740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":174740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:17:19] local.INFO: TCP Data received {"connection_id":174740,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:19] local.INFO: Processing buffer {"connection_id":174740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:19] local.INFO: IMEI packet received {"connection_id":174740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":174740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:17:21] local.INFO: TCP Data received {"connection_id":174740,"ip":"42.106.6.15","data_length":1348,"data_hex":"000000000000030f8e0a000001a072e3f850012d58a480063ff948000801492e..."} 
[2026-09-06 00:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174740,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a072e3f850012d58a480063ff948000801492e..."} 
[2026-09-06 00:17:21] local.INFO: Processing buffer {"connection_id":174740,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a072e3f850012d58a480063ff948000801492e..."} 
[2026-09-06 00:17:21] local.INFO: Packet analysis {"connection_id":174740,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a072e3"} 
[2026-09-06 00:17:21] local.INFO: Extracted packet for processing {"connection_id":174740,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a072e3"} 
[2026-09-06 00:17:21] local.INFO: GPS Element Parsed {"raw_longitude":760784000,"raw_latitude":104855880,"longitude_deg":76.0784,"latitude_deg":10.485588,"altitude":8,"angle":329,"satellites":46,"speed":52,"hex_longitude":"2d58a480","hex_latitude":"063ff948","is_valid_coordinates":true} 
[2026-09-06 00:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890286336001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400217100024545280,"note":"Value kept but may cause issues"} 
[2026-09-06 00:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6392578222916839424,"note":"Value kept but may cause issues"} 
[2026-09-06 00:17:21] 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-09-06 00:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788633938000,"timestamp_ms":1788633938000,"timestamp_seconds":1788633938,"priority":1,"record_length":96,"hex_timestamp":"000001a072e3f850"} 
[2026-09-06 00:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 00:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-06 00:17:21] 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-09-06 00:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890286336001,"66":26408,"11":206,"78":38656,"24":52,"16":400217100024545280,"45":6392578222916839424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-06 00:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890286336001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:17:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-06 00:17:21] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400217100024545280,"km_value":400217100024545.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6392578222916839424,"description":"Unknown IO ID 45"} 
[2026-09-06 00:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890286336001,"power":26408,"unknown_11":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6392578222916839424}} 
[2026-09-06 00:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":174740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:17:21] local.INFO: GPS data processed {"connection_id":174740,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:17:21] local.INFO: Acknowledgment sent {"connection_id":174740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:17:21] local.INFO: Packet analysis {"connection_id":174740,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a072e4"} 
[2026-09-06 00:17:21] local.INFO: Incomplete packet, waiting for more data {"connection_id":174740,"needed":795,"available":553} 
[2026-09-06 00:17:23] local.INFO: TCP Data received {"connection_id":174740,"ip":"42.106.6.15","data_length":1037,"data_hex":"000000000001a072e35c10012d591400063f3e88000501482b003c0000000a00..."} 
[2026-09-06 00:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174740,"packet_length":1037,"packet_hex":"000000000001a072e35c10012d591400063f3e88000501482b003c0000000a00..."} 
[2026-09-06 00:17:23] local.INFO: Processing buffer {"connection_id":174740,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a072e413a8012d58910006401968000701492d..."} 
[2026-09-06 00:17:23] local.INFO: Packet analysis {"connection_id":174740,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a072e4"} 
[2026-09-06 00:17:23] local.INFO: Extracted packet for processing {"connection_id":174740,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e4"} 
[2026-09-06 00:17:23] local.INFO: GPS Element Parsed {"raw_longitude":760779008,"raw_latitude":104864104,"longitude_deg":76.0779008,"latitude_deg":10.4864104,"altitude":7,"angle":329,"satellites":45,"speed":56,"hex_longitude":"2d589100","hex_latitude":"06401968","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890288128001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400217563881013248,"note":"Value kept but may cause issues"} 
[2026-09-06 00:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6387370935849666560,"note":"Value kept but may cause issues"} 
[2026-09-06 00:17:23] 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-09-06 00:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788633945000,"timestamp_ms":1788633945000,"timestamp_seconds":1788633945,"priority":1,"record_length":96,"hex_timestamp":"000001a072e413a8"} 
[2026-09-06 00:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:17: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-09-06 00: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-06 00:17:23] 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-09-06 00: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-09-06 00:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:17: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-09-06 00:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890288128001,"66":27310,"11":206,"78":38656,"24":56,"16":400217563881013248,"45":6387370935849666560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-06 00:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890288128001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:17:23] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-06 00:17:23] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400217563881013248,"km_value":400217563881013.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6387370935849666560,"description":"Unknown IO ID 45"} 
[2026-09-06 00:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890288128001,"power":27310,"unknown_11":206,"unknown_78":38656,"ignition":56,"odometer":null,"unknown_45":6387370935849666560}} 
[2026-09-06 00:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":174740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:17:23] local.INFO: GPS data processed {"connection_id":174740,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:17:23] local.INFO: Acknowledgment sent {"connection_id":174740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:17:23] local.INFO: Packet analysis {"connection_id":174740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e4"} 
[2026-09-06 00:17:23] local.INFO: Extracted packet for processing {"connection_id":174740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e4"} 
[2026-09-06 00:17:23] local.INFO: GPS Element Parsed {"raw_longitude":760773440,"raw_latitude":104872696,"longitude_deg":76.077344,"latitude_deg":10.4872696,"altitude":7,"angle":323,"satellites":47,"speed":58,"hex_longitude":"2d587b40","hex_latitude":"06403af8","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890289920001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400218057802252288,"note":"Value kept but may cause issues"} 
[2026-09-06 00:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6381882173805914112,"note":"Value kept but may cause issues"} 
[2026-09-06 00:17:23] 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-09-06 00:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788633952000,"timestamp_ms":1788633952000,"timestamp_seconds":1788633952,"priority":1,"record_length":96,"hex_timestamp":"000001a072e42f00"} 
[2026-09-06 00:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:17: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-09-06 00: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-06 00:17:23] 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-09-06 00: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-09-06 00:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:17: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-09-06 00:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890289920001,"66":27234,"11":206,"78":38656,"24":58,"16":400218057802252288,"45":6381882173805914112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-06 00:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890289920001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:17:23] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-06 00:17:23] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400218057802252288,"km_value":400218057802252.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6381882173805914112,"description":"Unknown IO ID 45"} 
[2026-09-06 00:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890289920001,"power":27234,"unknown_11":206,"unknown_78":38656,"ignition":58,"odometer":null,"unknown_45":6381882173805914112}} 
[2026-09-06 00:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":174740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:17:23] local.INFO: GPS data processed {"connection_id":174740,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:17:23] local.INFO: Acknowledgment sent {"connection_id":174740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:17:33] local.INFO: TCP Data received {"connection_id":172302,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:17:33] local.INFO: Processing buffer {"connection_id":172302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:17:33] local.INFO: IMEI packet received {"connection_id":172302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 00:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":172302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:17:54] local.INFO: TCP Data received {"connection_id":174741,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:54] local.INFO: Processing buffer {"connection_id":174741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:54] local.INFO: IMEI packet received {"connection_id":174741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":174741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:17:54] local.INFO: TCP Data received {"connection_id":174741,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:54] local.INFO: Processing buffer {"connection_id":174741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:54] local.INFO: IMEI packet received {"connection_id":174741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":174741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:17:59] local.INFO: TCP Data received {"connection_id":174741,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:59] local.INFO: Processing buffer {"connection_id":174741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:17:59] local.INFO: IMEI packet received {"connection_id":174741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":174741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:18:01] local.INFO: TCP Data received {"connection_id":174741,"ip":"42.106.6.15","data_length":1348,"data_hex":"000000000000030f8e0a000001a072e44670012d586380064054f80007013a2f..."} 
[2026-09-06 00:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174741,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a072e44670012d586380064054f80007013a2f..."} 
[2026-09-06 00:18:01] local.INFO: Processing buffer {"connection_id":174741,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a072e44670012d586380064054f80007013a2f..."} 
[2026-09-06 00:18:01] local.INFO: Packet analysis {"connection_id":174741,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a072e4"} 
[2026-09-06 00:18:01] local.INFO: Extracted packet for processing {"connection_id":174741,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a072e4"} 
[2026-09-06 00:18:01] local.INFO: GPS Element Parsed {"raw_longitude":760767360,"raw_latitude":104879352,"longitude_deg":76.076736,"latitude_deg":10.4879352,"altitude":7,"angle":314,"satellites":47,"speed":60,"hex_longitude":"2d586380","hex_latitude":"064054f8","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890291712001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400218495888916480,"note":"Value kept but may cause issues"} 
[2026-09-06 00:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6375760093064656896,"note":"Value kept but may cause issues"} 
[2026-09-06 00:18:01] 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-09-06 00:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788633958000,"timestamp_ms":1788633958000,"timestamp_seconds":1788633958,"priority":1,"record_length":96,"hex_timestamp":"000001a072e44670"} 
[2026-09-06 00:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-06 00:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:18: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-09-06 00:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890291712001,"66":27321,"11":206,"78":38656,"24":60,"16":400218495888916480,"45":6375760093064656896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-06 00:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890291712001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:18:01] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-06 00:18:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400218495888916480,"km_value":400218495888916.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6375760093064656896,"description":"Unknown IO ID 45"} 
[2026-09-06 00:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890291712001,"power":27321,"unknown_11":206,"unknown_78":38656,"ignition":60,"odometer":null,"unknown_45":6375760093064656896}} 
[2026-09-06 00:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":174741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:18:01] local.INFO: GPS data processed {"connection_id":174741,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:18:01] local.INFO: Acknowledgment sent {"connection_id":174741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:18:01] local.INFO: Packet analysis {"connection_id":174741,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a072e4"} 
[2026-09-06 00:18:01] local.INFO: Incomplete packet, waiting for more data {"connection_id":174741,"needed":795,"available":553} 
[2026-09-06 00:18:02] local.INFO: TCP Data received {"connection_id":174741,"ip":"42.106.6.15","data_length":242,"data_hex":"000000000001a072e3a648012d58dc40063f9c38000701492d00370000000a00..."} 
[2026-09-06 00:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174741,"packet_length":242,"packet_hex":"000000000001a072e3a648012d58dc40063f9c38000701492d00370000000a00..."} 
[2026-09-06 00:18:02] local.INFO: Processing buffer {"connection_id":174741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e45de0012d58474006406ac80006012f2f..."} 
[2026-09-06 00:18:02] local.INFO: Packet analysis {"connection_id":174741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e4"} 
[2026-09-06 00:18:02] local.INFO: Extracted packet for processing {"connection_id":174741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e4"} 
[2026-09-06 00:18:02] local.INFO: GPS Element Parsed {"raw_longitude":760760128,"raw_latitude":104884936,"longitude_deg":76.0760128,"latitude_deg":10.4884936,"altitude":6,"angle":303,"satellites":47,"speed":59,"hex_longitude":"2d584740","hex_latitude":"06406ac8","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890293248001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400218933975580672,"note":"Value kept but may cause issues"} 
[2026-09-06 00:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6369075062369482752,"note":"Value kept but may cause issues"} 
[2026-09-06 00:18:02] 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-09-06 00:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788633964000,"timestamp_ms":1788633964000,"timestamp_seconds":1788633964,"priority":1,"record_length":96,"hex_timestamp":"000001a072e45de0"} 
[2026-09-06 00:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:18: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-09-06 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-06 00:18: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-09-06 00: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-09-06 00:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:18: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-09-06 00:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890293248001,"66":27245,"11":206,"78":38656,"24":59,"16":400218933975580672,"45":6369075062369482752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-09-06 00:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890293248001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:18:02] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-06 00:18:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400218933975580672,"km_value":400218933975580.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6369075062369482752,"description":"Unknown IO ID 45"} 
[2026-09-06 00:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890293248001,"power":27245,"unknown_11":206,"unknown_78":38656,"ignition":59,"odometer":null,"unknown_45":6369075062369482752}} 
[2026-09-06 00:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":174741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:18:02] local.INFO: GPS data processed {"connection_id":174741,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:18:02] local.INFO: Acknowledgment sent {"connection_id":174741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:18:08] local.INFO: TCP Data received {"connection_id":174741,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e47550012d58284006407ba0000601262f..."} 
[2026-09-06 00:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e47550012d58284006407ba0000601262f..."} 
[2026-09-06 00:18:08] local.INFO: Processing buffer {"connection_id":174741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e47550012d58284006407ba0000601262f..."} 
[2026-09-06 00:18:08] local.INFO: Packet analysis {"connection_id":174741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e4"} 
[2026-09-06 00:18:08] local.INFO: Extracted packet for processing {"connection_id":174741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e4"} 
[2026-09-06 00:18:08] local.INFO: GPS Element Parsed {"raw_longitude":760752192,"raw_latitude":104889248,"longitude_deg":76.0752192,"latitude_deg":10.4889248,"altitude":6,"angle":294,"satellites":47,"speed":59,"hex_longitude":"2d582840","hex_latitude":"06407ba0","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890294784001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400219367767277568,"note":"Value kept but may cause issues"} 
[2026-09-06 00:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6361123394278836224,"note":"Value kept but may cause issues"} 
[2026-09-06 00:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788633970000,"timestamp_ms":1788633970000,"timestamp_seconds":1788633970,"priority":1,"record_length":96,"hex_timestamp":"000001a072e47550"} 
[2026-09-06 00:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:18: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-09-06 00:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-06 00:18:08] 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-09-06 00: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-09-06 00:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890294784001,"66":27376,"31":206,"78":38656,"24":59,"16":400219367767277568,"45":6361123394278836224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,78,24,16,45]} 
[2026-09-06 00:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890294784001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:18:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-06 00:18:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-09-06 00:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400219367767277568,"km_value":400219367767277.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6361123394278836224,"description":"Unknown IO ID 45"} 
[2026-09-06 00:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890294784001,"power":27376,"unknown_31":206,"unknown_78":38656,"ignition":59,"odometer":null,"unknown_45":6361123394278836224}} 
[2026-09-06 00:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":174741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:18:08] local.INFO: GPS data processed {"connection_id":174741,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:18:08] local.INFO: Acknowledgment sent {"connection_id":174741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:18:50] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:18:50] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:18:50] local.INFO: IMEI packet received {"connection_id":173412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":173412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:18:51] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:18:51] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:18:51] local.INFO: IMEI packet received {"connection_id":173412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":173412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:18:54] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:18:54] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:18:54] local.INFO: IMEI packet received {"connection_id":173412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":173412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:18:56] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:18:56] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:18:56] local.INFO: IMEI packet received {"connection_id":173412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":173412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:18:58] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e5c540012d56b6c006416580000d014b2d..."} 
[2026-09-06 00:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e5c540012d56b6c006416580000d014b2d..."} 
[2026-09-06 00:18:58] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e5c540012d56b6c006416580000d014b2d..."} 
[2026-09-06 00:18:58] local.INFO: Packet analysis {"connection_id":173412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e5"} 
[2026-09-06 00:18:58] local.INFO: Extracted packet for processing {"connection_id":173412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e5"} 
[2026-09-06 00:18:58] local.INFO: GPS Element Parsed {"raw_longitude":760657600,"raw_latitude":104949120,"longitude_deg":76.06576,"latitude_deg":10.494912,"altitude":13,"angle":331,"satellites":45,"speed":54,"hex_longitude":"2d56b6c0","hex_latitude":"06416580","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890316544001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400224856735481856,"note":"Value kept but may cause issues"} 
[2026-09-06 00:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6254022165654800384,"note":"Value kept but may cause issues"} 
[2026-09-06 00:18: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-09-06 00:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788634056000,"timestamp_ms":1788634056000,"timestamp_seconds":1788634056,"priority":1,"record_length":96,"hex_timestamp":"000001a072e5c540"} 
[2026-09-06 00:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:18: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-09-06 00:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-06 00:18: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-09-06 00: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-09-06 00:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:18: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-09-06 00:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890316544001,"66":27300,"216":206,"78":38912,"24":54,"16":400224856735481856,"45":6254022165654800384},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-09-06 00:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890316544001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:18:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-06 00:18:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400224856735481856,"km_value":400224856735481.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6254022165654800384,"description":"Unknown IO ID 45"} 
[2026-09-06 00:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890316544001,"power":27300,"unknown_216":206,"unknown_78":38912,"ignition":54,"odometer":null,"unknown_45":6254022165654800384}} 
[2026-09-06 00:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":173412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:18:58] local.INFO: GPS data processed {"connection_id":173412,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:18:58] local.INFO: Acknowledgment sent {"connection_id":173412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:19:31] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e5e098012d56a4c0064186d8000b014e2c..."} 
[2026-09-06 00:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e5e098012d56a4c0064186d8000b014e2c..."} 
[2026-09-06 00:19:31] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e5e098012d56a4c0064186d8000b014e2c..."} 
[2026-09-06 00:19:31] local.INFO: Packet analysis {"connection_id":173412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e5"} 
[2026-09-06 00:19:31] local.INFO: Extracted packet for processing {"connection_id":173412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e5"} 
[2026-09-06 00:19:31] local.INFO: GPS Element Parsed {"raw_longitude":760652992,"raw_latitude":104957656,"longitude_deg":76.0652992,"latitude_deg":10.4957656,"altitude":11,"angle":334,"satellites":44,"speed":54,"hex_longitude":"2d56a4c0","hex_latitude":"064186d8","is_valid_coordinates":true} 
[2026-09-06 00:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890318336001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400225324886917120,"note":"Value kept but may cause issues"} 
[2026-09-06 00:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6248392666122649600,"note":"Value kept but may cause issues"} 
[2026-09-06 00:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788634063000,"timestamp_ms":1788634063000,"timestamp_seconds":1788634063,"priority":1,"record_length":96,"hex_timestamp":"000001a072e5e098"} 
[2026-09-06 00:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 00:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-06 00:19: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-09-06 00:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890318336001,"66":27332,"216":206,"78":38912,"24":54,"16":400225324886917120,"45":6248392666122649600},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-09-06 00:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890318336001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:19:31] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-06 00:19:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400225324886917120,"km_value":400225324886917.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6248392666122649600,"description":"Unknown IO ID 45"} 
[2026-09-06 00:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890318336001,"power":27332,"unknown_216":206,"unknown_78":38912,"ignition":54,"odometer":null,"unknown_45":6248392666122649600}} 
[2026-09-06 00:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":173412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:19:31] local.INFO: GPS data processed {"connection_id":173412,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:19:31] local.INFO: Acknowledgment sent {"connection_id":173412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:19:49] local.INFO: TCP Data received {"connection_id":172304,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:19:49] local.INFO: Processing buffer {"connection_id":172304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:19:49] local.INFO: IMEI packet received {"connection_id":172304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":172304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:19:55] local.INFO: TCP Data received {"connection_id":172304,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:19:55] local.INFO: Processing buffer {"connection_id":172304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:19:55] local.INFO: IMEI packet received {"connection_id":172304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":172304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:19:55] local.INFO: TCP Data received {"connection_id":172304,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e70d60012d55e9400642e2800009014f2c..."} 
[2026-09-06 00:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e70d60012d55e9400642e2800009014f2c..."} 
[2026-09-06 00:19:55] local.INFO: Processing buffer {"connection_id":172304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e70d60012d55e9400642e2800009014f2c..."} 
[2026-09-06 00:19:55] local.INFO: Packet analysis {"connection_id":172304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e7"} 
[2026-09-06 00:19:55] local.INFO: Extracted packet for processing {"connection_id":172304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e7"} 
[2026-09-06 00:19:55] local.INFO: GPS Element Parsed {"raw_longitude":760604992,"raw_latitude":105046656,"longitude_deg":76.0604992,"latitude_deg":10.5046656,"altitude":9,"angle":335,"satellites":44,"speed":50,"hex_longitude":"2d55e940","hex_latitude":"0642e280","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890338048001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400230212559699968,"note":"Value kept but may cause issues"} 
[2026-09-06 00:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6194771683082145792,"note":"Value kept but may cause issues"} 
[2026-09-06 00:19:55] 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-09-06 00:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788634140000,"timestamp_ms":1788634140000,"timestamp_seconds":1788634140,"priority":1,"record_length":96,"hex_timestamp":"000001a072e70d60"} 
[2026-09-06 00:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00: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-09-06 00: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":185,"data_length":795,"current_offset":136} 
[2026-09-06 00:19: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-09-06 00: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-09-06 00:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890338048001,"66":27310,"216":206,"78":38912,"24":50,"16":400230212559699968,"45":6194771683082145792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-09-06 00:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890338048001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:19:55] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-06 00:19:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400230212559699968,"km_value":400230212559699.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6194771683082145792,"description":"Unknown IO ID 45"} 
[2026-09-06 00:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890338048001,"power":27310,"unknown_216":206,"unknown_78":38912,"ignition":50,"odometer":null,"unknown_45":6194771683082145792}} 
[2026-09-06 00:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":172304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:19:55] local.INFO: GPS data processed {"connection_id":172304,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:19:55] local.INFO: Acknowledgment sent {"connection_id":172304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:20:29] local.INFO: TCP Data received {"connection_id":172304,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e72ca0012d55d8c006430550000a014d2c..."} 
[2026-09-06 00:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e72ca0012d55d8c006430550000a014d2c..."} 
[2026-09-06 00:20:29] local.INFO: Processing buffer {"connection_id":172304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e72ca0012d55d8c006430550000a014d2c..."} 
[2026-09-06 00:20:29] local.INFO: Packet analysis {"connection_id":172304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e7"} 
[2026-09-06 00:20:29] local.INFO: Extracted packet for processing {"connection_id":172304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e7"} 
[2026-09-06 00:20:29] local.INFO: GPS Element Parsed {"raw_longitude":760600768,"raw_latitude":105055568,"longitude_deg":76.0600768,"latitude_deg":10.5055568,"altitude":10,"angle":333,"satellites":44,"speed":47,"hex_longitude":"2d55d8c0","hex_latitude":"06430550","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890339840001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400230693596037120,"note":"Value kept but may cause issues"} 
[2026-09-06 00:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6190549558433579008,"note":"Value kept but may cause issues"} 
[2026-09-06 00:20: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-09-06 00:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788634148000,"timestamp_ms":1788634148000,"timestamp_seconds":1788634148,"priority":1,"record_length":96,"hex_timestamp":"000001a072e72ca0"} 
[2026-09-06 00:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:20: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-09-06 00: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":174,"data_length":795,"current_offset":136} 
[2026-09-06 00:20: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-09-06 00: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-09-06 00:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890339840001,"66":27213,"216":206,"78":38912,"24":47,"16":400230693596037120,"45":6190549558433579008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-09-06 00:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890339840001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:20:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-06 00:20:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400230693596037120,"km_value":400230693596037.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6190549558433579008,"description":"Unknown IO ID 45"} 
[2026-09-06 00:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890339840001,"power":27213,"unknown_216":206,"unknown_78":38912,"ignition":47,"odometer":null,"unknown_45":6190549558433579008}} 
[2026-09-06 00:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":172304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:20:29] local.INFO: GPS data processed {"connection_id":172304,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:20:29] local.INFO: Acknowledgment sent {"connection_id":172304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:20:49] local.INFO: TCP Data received {"connection_id":172065,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:20:49] local.INFO: Processing buffer {"connection_id":172065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:20:49] local.INFO: IMEI packet received {"connection_id":172065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":172065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:20:51] local.INFO: TCP Data received {"connection_id":172065,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:20:51] local.INFO: Processing buffer {"connection_id":172065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:20:51] local.INFO: IMEI packet received {"connection_id":172065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":172065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:20:54] local.INFO: TCP Data received {"connection_id":172065,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:20:54] local.INFO: Processing buffer {"connection_id":172065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:20:54] local.INFO: IMEI packet received {"connection_id":172065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":172065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:20:56] local.INFO: TCP Data received {"connection_id":172065,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e74be0012d55c94006432508000c01502c..."} 
[2026-09-06 00:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e74be0012d55c94006432508000c01502c..."} 
[2026-09-06 00:20:56] local.INFO: Processing buffer {"connection_id":172065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e74be0012d55c94006432508000c01502c..."} 
[2026-09-06 00:20:56] local.INFO: Packet analysis {"connection_id":172065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e7"} 
[2026-09-06 00:20:56] local.INFO: Extracted packet for processing {"connection_id":172065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e7"} 
[2026-09-06 00:20:56] local.INFO: GPS Element Parsed {"raw_longitude":760596800,"raw_latitude":105063688,"longitude_deg":76.05968,"latitude_deg":10.5063688,"altitude":12,"angle":336,"satellites":44,"speed":42,"hex_longitude":"2d55c940","hex_latitude":"06432508","is_valid_coordinates":true} 
[2026-09-06 00:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890341888001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400231127387734016,"note":"Value kept but may cause issues"} 
[2026-09-06 00:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6185905221320134656,"note":"Value kept but may cause issues"} 
[2026-09-06 00:20:56] 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-09-06 00:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788634156000,"timestamp_ms":1788634156000,"timestamp_seconds":1788634156,"priority":1,"record_length":96,"hex_timestamp":"000001a072e74be0"} 
[2026-09-06 00:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:20: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-09-06 00:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-06 00:20: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-09-06 00:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:20: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-09-06 00:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890341888001,"66":27343,"216":206,"78":38912,"24":42,"16":400231127387734016,"45":6185905221320134656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-09-06 00:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890341888001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:20:56] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-06 00:20:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400231127387734016,"km_value":400231127387734.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6185905221320134656,"description":"Unknown IO ID 45"} 
[2026-09-06 00:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890341888001,"power":27343,"unknown_216":206,"unknown_78":38912,"ignition":42,"odometer":null,"unknown_45":6185905221320134656}} 
[2026-09-06 00:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":172065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:20:56] local.INFO: GPS data processed {"connection_id":172065,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:20:56] local.INFO: Acknowledgment sent {"connection_id":172065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:21:28] local.INFO: TCP Data received {"connection_id":172065,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e76f08012d55b900064346f8000d014d2c..."} 
[2026-09-06 00:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e76f08012d55b900064346f8000d014d2c..."} 
[2026-09-06 00:21:28] local.INFO: Processing buffer {"connection_id":172065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e76f08012d55b900064346f8000d014d2c..."} 
[2026-09-06 00:21:28] local.INFO: Packet analysis {"connection_id":172065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e7"} 
[2026-09-06 00:21:28] local.INFO: Extracted packet for processing {"connection_id":172065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e7"} 
[2026-09-06 00:21:28] local.INFO: GPS Element Parsed {"raw_longitude":760592640,"raw_latitude":105072376,"longitude_deg":76.059264,"latitude_deg":10.5072376,"altitude":13,"angle":333,"satellites":44,"speed":42,"hex_longitude":"2d55b900","hex_latitude":"064346f8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 00:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890343936001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400231591244201984,"note":"Value kept but may cause issues"} 
[2026-09-06 00:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6181542359183198208,"note":"Value kept but may cause issues"} 
[2026-09-06 00:21:28] 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-09-06 00:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788634165000,"timestamp_ms":1788634165000,"timestamp_seconds":1788634165,"priority":1,"record_length":96,"hex_timestamp":"000001a072e76f08"} 
[2026-09-06 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-09-06 00:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-06 00:21: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-09-06 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-09-06 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-09-06 00:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:21: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-09-06 00:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890343936001,"66":27321,"216":206,"78":38912,"24":42,"16":400231591244201984,"45":6181542359183198208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-09-06 00:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890343936001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:21:28] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-06 00:21:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400231591244201984,"km_value":400231591244202.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6181542359183198208,"description":"Unknown IO ID 45"} 
[2026-09-06 00:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890343936001,"power":27321,"unknown_216":206,"unknown_78":38912,"ignition":42,"odometer":null,"unknown_45":6181542359183198208}} 
[2026-09-06 00:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":172065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:21:28] local.INFO: GPS data processed {"connection_id":172065,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:21:28] local.INFO: Acknowledgment sent {"connection_id":172065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:21:49] local.INFO: TCP Data received {"connection_id":174743,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:21:49] local.INFO: Processing buffer {"connection_id":174743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:21:49] local.INFO: IMEI packet received {"connection_id":174743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":174743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:21:54] local.INFO: TCP Data received {"connection_id":174743,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:21:54] local.INFO: Processing buffer {"connection_id":174743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:21:54] local.INFO: IMEI packet received {"connection_id":174743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":174743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:21:55] local.INFO: TCP Data received {"connection_id":174743,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e8cab0012d54f8c00644afb0001201492d..."} 
[2026-09-06 00:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e8cab0012d54f8c00644afb0001201492d..."} 
[2026-09-06 00:21:55] local.INFO: Processing buffer {"connection_id":174743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e8cab0012d54f8c00644afb0001201492d..."} 
[2026-09-06 00:21:55] local.INFO: Packet analysis {"connection_id":174743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e8"} 
[2026-09-06 00:21:55] local.INFO: Extracted packet for processing {"connection_id":174743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e8"} 
[2026-09-06 00:21:55] local.INFO: GPS Element Parsed {"raw_longitude":760543424,"raw_latitude":105164720,"longitude_deg":76.0543424,"latitude_deg":10.516472,"altitude":18,"angle":329,"satellites":45,"speed":46,"hex_longitude":"2d54f8c0","hex_latitude":"0644afb0","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890366976001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400236650715676672,"note":"Value kept but may cause issues"} 
[2026-09-06 00:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6127639901166913536,"note":"Value kept but may cause issues"} 
[2026-09-06 00:21:55] 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-09-06 00:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788634254000,"timestamp_ms":1788634254000,"timestamp_seconds":1788634254,"priority":1,"record_length":96,"hex_timestamp":"000001a072e8cab0"} 
[2026-09-06 00:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:21: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-09-06 00:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-06 00:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890366976001,"66":27376,"232":206,"78":38912,"24":46,"16":400236650715676672,"45":6127639901166913536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-09-06 00:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890366976001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:21:55] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-06 00:21:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400236650715676672,"km_value":400236650715676.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6127639901166913536,"description":"Unknown IO ID 45"} 
[2026-09-06 00:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890366976001,"power":27376,"unknown_232":206,"unknown_78":38912,"ignition":46,"odometer":null,"unknown_45":6127639901166913536}} 
[2026-09-06 00:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":174743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:21:55] local.INFO: GPS data processed {"connection_id":174743,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:21:55] local.INFO: Acknowledgment sent {"connection_id":174743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:21:56] local.INFO: TCP Data received {"connection_id":174743,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e8e9f0012d54e5c00644ceb8001201462d..."} 
[2026-09-06 00:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e8e9f0012d54e5c00644ceb8001201462d..."} 
[2026-09-06 00:21:56] local.INFO: Processing buffer {"connection_id":174743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e8e9f0012d54e5c00644ceb8001201462d..."} 
[2026-09-06 00:21:56] local.INFO: Packet analysis {"connection_id":174743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e8"} 
[2026-09-06 00:21:56] local.INFO: Extracted packet for processing {"connection_id":174743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e8"} 
[2026-09-06 00:21:56] local.INFO: GPS Element Parsed {"raw_longitude":760538560,"raw_latitude":105172664,"longitude_deg":76.053856,"latitude_deg":10.5172664,"altitude":18,"angle":326,"satellites":45,"speed":46,"hex_longitude":"2d54e5c0","hex_latitude":"0644ceb8","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890369024001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400237101687242752,"note":"Value kept but may cause issues"} 
[2026-09-06 00:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6122854826564890624,"note":"Value kept but may cause issues"} 
[2026-09-06 00:21:56] 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-09-06 00:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788634262000,"timestamp_ms":1788634262000,"timestamp_seconds":1788634262,"priority":1,"record_length":96,"hex_timestamp":"000001a072e8e9f0"} 
[2026-09-06 00:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:21: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-09-06 00: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-06 00:21: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-09-06 00: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-09-06 00:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:21: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-09-06 00:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890369024001,"66":27321,"232":206,"78":38912,"24":46,"16":400237101687242752,"45":6122854826564890624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-09-06 00:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890369024001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:21:56] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-06 00:21:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400237101687242752,"km_value":400237101687242.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6122854826564890624,"description":"Unknown IO ID 45"} 
[2026-09-06 00:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890369024001,"power":27321,"unknown_232":206,"unknown_78":38912,"ignition":46,"odometer":null,"unknown_45":6122854826564890624}} 
[2026-09-06 00:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":174743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:21:56] local.INFO: GPS data processed {"connection_id":174743,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:21:56] local.INFO: Acknowledgment sent {"connection_id":174743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:22:27] local.INFO: TCP Data received {"connection_id":174743,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e90930012d54d1000644eeb0001101482d..."} 
[2026-09-06 00:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e90930012d54d1000644eeb0001101482d..."} 
[2026-09-06 00:22:27] local.INFO: Processing buffer {"connection_id":174743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e90930012d54d1000644eeb0001101482d..."} 
[2026-09-06 00:22:27] local.INFO: Packet analysis {"connection_id":174743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e9"} 
[2026-09-06 00:22:27] local.INFO: Extracted packet for processing {"connection_id":174743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e9"} 
[2026-09-06 00:22:27] local.INFO: GPS Element Parsed {"raw_longitude":760533248,"raw_latitude":105180848,"longitude_deg":76.0533248,"latitude_deg":10.5180848,"altitude":17,"angle":328,"satellites":45,"speed":49,"hex_longitude":"2d54d100","hex_latitude":"0644eeb0","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890371072001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400237574133645312,"note":"Value kept but may cause issues"} 
[2026-09-06 00:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6117506802009421824,"note":"Value kept but may cause issues"} 
[2026-09-06 00:22:27] 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-09-06 00:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788634270000,"timestamp_ms":1788634270000,"timestamp_seconds":1788634270,"priority":1,"record_length":96,"hex_timestamp":"000001a072e90930"} 
[2026-09-06 00:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:22: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-09-06 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-06 00:22: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-09-06 00: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-09-06 00:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890371072001,"66":27245,"232":206,"78":38912,"24":49,"16":400237574133645312,"45":6117506802009421824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-09-06 00:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890371072001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:22:27] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-06 00:22:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400237574133645312,"km_value":400237574133645.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6117506802009421824,"description":"Unknown IO ID 45"} 
[2026-09-06 00:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890371072001,"power":27245,"unknown_232":206,"unknown_78":38912,"ignition":49,"odometer":null,"unknown_45":6117506802009421824}} 
[2026-09-06 00:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":174743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:22:27] local.INFO: GPS data processed {"connection_id":174743,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:22:27] local.INFO: Acknowledgment sent {"connection_id":174743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:22:54] local.INFO: TCP Data received {"connection_id":172305,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:22:54] local.INFO: Processing buffer {"connection_id":172305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:22:54] local.INFO: IMEI packet received {"connection_id":172305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":172305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:22:55] local.INFO: TCP Data received {"connection_id":172305,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:22:55] local.INFO: Processing buffer {"connection_id":172305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:22:55] local.INFO: IMEI packet received {"connection_id":172305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":172305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:22:56] local.INFO: TCP Data received {"connection_id":172305,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e92488012d54bd8006450c60000f01482d..."} 
[2026-09-06 00:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e92488012d54bd8006450c60000f01482d..."} 
[2026-09-06 00:22:56] local.INFO: Processing buffer {"connection_id":172305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e92488012d54bd8006450c60000f01482d..."} 
[2026-09-06 00:22:56] local.INFO: Packet analysis {"connection_id":172305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e9"} 
[2026-09-06 00:22:56] local.INFO: Extracted packet for processing {"connection_id":172305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e9"} 
[2026-09-06 00:22:56] local.INFO: GPS Element Parsed {"raw_longitude":760528256,"raw_latitude":105188448,"longitude_deg":76.0528256,"latitude_deg":10.5188448,"altitude":15,"angle":328,"satellites":45,"speed":52,"hex_longitude":"2d54bd80","hex_latitude":"06450c60","is_valid_coordinates":true} 
[2026-09-06 00:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890373120001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400238012220309504,"note":"Value kept but may cause issues"} 
[2026-09-06 00:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6111666196244770816,"note":"Value kept but may cause issues"} 
[2026-09-06 00:22:56] 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-09-06 00:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788634277000,"timestamp_ms":1788634277000,"timestamp_seconds":1788634277,"priority":1,"record_length":96,"hex_timestamp":"000001a072e92488"} 
[2026-09-06 00:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:22: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-09-06 00:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-06 00:22:56] 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-09-06 00:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890373120001,"66":27267,"232":206,"78":38912,"24":52,"16":400238012220309504,"45":6111666196244770816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-09-06 00:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890373120001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:22:56] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-06 00:22:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400238012220309504,"km_value":400238012220309.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6111666196244770816,"description":"Unknown IO ID 45"} 
[2026-09-06 00:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890373120001,"power":27267,"unknown_232":206,"unknown_78":38912,"ignition":52,"odometer":null,"unknown_45":6111666196244770816}} 
[2026-09-06 00:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":172305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:22:56] local.INFO: GPS data processed {"connection_id":172305,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:22:56] local.INFO: Acknowledgment sent {"connection_id":172305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:22:59] local.INFO: TCP Data received {"connection_id":172305,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e93fe0012d54aa8006452c38000d014a2d..."} 
[2026-09-06 00:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e93fe0012d54aa8006452c38000d014a2d..."} 
[2026-09-06 00:22:59] local.INFO: Processing buffer {"connection_id":172305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e93fe0012d54aa8006452c38000d014a2d..."} 
[2026-09-06 00:22:59] local.INFO: Packet analysis {"connection_id":172305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e9"} 
[2026-09-06 00:22:59] local.INFO: Extracted packet for processing {"connection_id":172305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e9"} 
[2026-09-06 00:22:59] local.INFO: GPS Element Parsed {"raw_longitude":760523392,"raw_latitude":105196600,"longitude_deg":76.0523392,"latitude_deg":10.51966,"altitude":13,"angle":330,"satellites":45,"speed":54,"hex_longitude":"2d54aa80","hex_latitude":"06452c38","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890374912001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400238467486842880,"note":"Value kept but may cause issues"} 
[2026-09-06 00:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6106177434200858624,"note":"Value kept but may cause issues"} 
[2026-09-06 00:22:59] 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-09-06 00:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788634284000,"timestamp_ms":1788634284000,"timestamp_seconds":1788634284,"priority":1,"record_length":96,"hex_timestamp":"000001a072e93fe0"} 
[2026-09-06 00:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-06 00:22: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-09-06 00: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-09-06 00:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890374912001,"66":27332,"232":206,"78":38912,"24":54,"16":400238467486842880,"45":6106177434200858624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-09-06 00:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890374912001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:22:59] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-06 00:22:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400238467486842880,"km_value":400238467486842.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6106177434200858624,"description":"Unknown IO ID 45"} 
[2026-09-06 00:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890374912001,"power":27332,"unknown_232":206,"unknown_78":38912,"ignition":54,"odometer":null,"unknown_45":6106177434200858624}} 
[2026-09-06 00:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":172305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:22:59] local.INFO: GPS data processed {"connection_id":172305,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:22:59] local.INFO: Acknowledgment sent {"connection_id":172305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:23:18] local.INFO: TCP Data received {"connection_id":172066,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:23:18] local.INFO: Processing buffer {"connection_id":172066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:23:18] local.INFO: IMEI packet received {"connection_id":172066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 00:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":172066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:23:30] local.INFO: TCP Data received {"connection_id":172305,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e95b38012d54988006454dc8000b014b2e..."} 
[2026-09-06 00:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e95b38012d54988006454dc8000b014b2e..."} 
[2026-09-06 00:23:30] local.INFO: Processing buffer {"connection_id":172305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e95b38012d54988006454dc8000b014b2e..."} 
[2026-09-06 00:23:30] local.INFO: Packet analysis {"connection_id":172305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e9"} 
[2026-09-06 00:23:30] local.INFO: Extracted packet for processing {"connection_id":172305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e9"} 
[2026-09-06 00:23:30] local.INFO: GPS Element Parsed {"raw_longitude":760518784,"raw_latitude":105205192,"longitude_deg":76.0518784,"latitude_deg":10.5205192,"altitude":11,"angle":331,"satellites":46,"speed":54,"hex_longitude":"2d549880","hex_latitude":"06454dc8","is_valid_coordinates":true} 
[2026-09-06 00:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890376704001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400238939933245440,"note":"Value kept but may cause issues"} 
[2026-09-06 00:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6100829409645443072,"note":"Value kept but may cause issues"} 
[2026-09-06 00:23:30] 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-09-06 00:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788634291000,"timestamp_ms":1788634291000,"timestamp_seconds":1788634291,"priority":1,"record_length":96,"hex_timestamp":"000001a072e95b38"} 
[2026-09-06 00:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 00:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-06 00:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890376704001,"66":27234,"232":206,"78":38912,"24":54,"16":400238939933245440,"45":6100829409645443072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-09-06 00:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890376704001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:23:30] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-06 00:23:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400238939933245440,"km_value":400238939933245.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6100829409645443072,"description":"Unknown IO ID 45"} 
[2026-09-06 00:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890376704001,"power":27234,"unknown_232":206,"unknown_78":38912,"ignition":54,"odometer":null,"unknown_45":6100829409645443072}} 
[2026-09-06 00:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":172305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:23:30] local.INFO: GPS data processed {"connection_id":172305,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:23:30] local.INFO: Acknowledgment sent {"connection_id":172305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:23:50] local.INFO: TCP Data received {"connection_id":174744,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:23:50] local.INFO: Processing buffer {"connection_id":174744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:23:50] local.INFO: IMEI packet received {"connection_id":174744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":174744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:23:53] local.INFO: TCP Data received {"connection_id":174744,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:23:53] local.INFO: Processing buffer {"connection_id":174744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:23:53] local.INFO: IMEI packet received {"connection_id":174744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":174744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:23:54] local.INFO: TCP Data received {"connection_id":174744,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e97690012d54870006456eb0000a014c2e..."} 
[2026-09-06 00:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e97690012d54870006456eb0000a014c2e..."} 
[2026-09-06 00:23:54] local.INFO: Processing buffer {"connection_id":174744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e97690012d54870006456eb0000a014c2e..."} 
[2026-09-06 00:23:54] local.INFO: Packet analysis {"connection_id":174744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e9"} 
[2026-09-06 00:23:54] local.INFO: Extracted packet for processing {"connection_id":174744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e9"} 
[2026-09-06 00:23:54] local.INFO: GPS Element Parsed {"raw_longitude":760514304,"raw_latitude":105213616,"longitude_deg":76.0514304,"latitude_deg":10.5213616,"altitude":10,"angle":332,"satellites":46,"speed":53,"hex_longitude":"2d548700","hex_latitude":"06456eb0","is_valid_coordinates":true} 
[2026-09-06 00:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890378496001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400239399494746112,"note":"Value kept but may cause issues"} 
[2026-09-06 00:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6095762860066850816,"note":"Value kept but may cause issues"} 
[2026-09-06 00:23: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-09-06 00:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788634298000,"timestamp_ms":1788634298000,"timestamp_seconds":1788634298,"priority":1,"record_length":96,"hex_timestamp":"000001a072e97690"} 
[2026-09-06 00:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 00:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-06 00:23: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-09-06 00:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890378496001,"66":27332,"232":206,"78":38912,"24":53,"16":400239399494746112,"45":6095762860066850816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-09-06 00:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890378496001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:23:54] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-06 00:23:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400239399494746112,"km_value":400239399494746.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6095762860066850816,"description":"Unknown IO ID 45"} 
[2026-09-06 00:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890378496001,"power":27332,"unknown_232":206,"unknown_78":38912,"ignition":53,"odometer":null,"unknown_45":6095762860066850816}} 
[2026-09-06 00:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":174744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:23:54] local.INFO: GPS data processed {"connection_id":174744,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:23:54] local.INFO: Acknowledgment sent {"connection_id":174744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:23:54] local.INFO: TCP Data received {"connection_id":174744,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072e991e8012d54764006458e20000a014b2c..."} 
[2026-09-06 00:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072e991e8012d54764006458e20000a014b2c..."} 
[2026-09-06 00:23:54] local.INFO: Processing buffer {"connection_id":174744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072e991e8012d54764006458e20000a014b2c..."} 
[2026-09-06 00:23:54] local.INFO: Packet analysis {"connection_id":174744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072e9"} 
[2026-09-06 00:23:54] local.INFO: Extracted packet for processing {"connection_id":174744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072e9"} 
[2026-09-06 00:23:54] local.INFO: GPS Element Parsed {"raw_longitude":760510016,"raw_latitude":105221664,"longitude_deg":76.0510016,"latitude_deg":10.5221664,"altitude":10,"angle":331,"satellites":44,"speed":50,"hex_longitude":"2d547640","hex_latitude":"06458e20","is_valid_coordinates":true} 
[2026-09-06 00:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890380288001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400239841876377600,"note":"Value kept but may cause issues"} 
[2026-09-06 00:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6090837047976570880,"note":"Value kept but may cause issues"} 
[2026-09-06 00:23: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-09-06 00:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788634305000,"timestamp_ms":1788634305000,"timestamp_seconds":1788634305,"priority":1,"record_length":96,"hex_timestamp":"000001a072e991e8"} 
[2026-09-06 00:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 00:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-06 00:23: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-09-06 00:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890380288001,"66":27267,"232":206,"78":38912,"24":50,"16":400239841876377600,"45":6090837047976570880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-09-06 00:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890380288001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:23:54] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-06 00:23:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400239841876377600,"km_value":400239841876377.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6090837047976570880,"description":"Unknown IO ID 45"} 
[2026-09-06 00:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890380288001,"power":27267,"unknown_232":206,"unknown_78":38912,"ignition":50,"odometer":null,"unknown_45":6090837047976570880}} 
[2026-09-06 00:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":174744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:23:54] local.INFO: GPS data processed {"connection_id":174744,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:23:54] local.INFO: Acknowledgment sent {"connection_id":174744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:24:29] local.INFO: TCP Data received {"connection_id":174744,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072eb14a0012d53dc000646f100000900012e..."} 
[2026-09-06 00:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072eb14a0012d53dc000646f100000900012e..."} 
[2026-09-06 00:24:29] local.INFO: Processing buffer {"connection_id":174744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072eb14a0012d53dc000646f100000900012e..."} 
[2026-09-06 00:24:29] local.INFO: Packet analysis {"connection_id":174744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072eb"} 
[2026-09-06 00:24:29] local.INFO: Extracted packet for processing {"connection_id":174744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072eb"} 
[2026-09-06 00:24:29] local.INFO: GPS Element Parsed {"raw_longitude":760470528,"raw_latitude":105312512,"longitude_deg":76.0470528,"latitude_deg":10.5312512,"altitude":9,"angle":1,"satellites":46,"speed":32,"hex_longitude":"2d53dc00","hex_latitude":"0646f100","is_valid_coordinates":true} 
[2026-09-06 00:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890404864001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400244690894454784,"note":"Value kept but may cause issues"} 
[2026-09-06 00:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042915933214433280,"note":"Value kept but may cause issues"} 
[2026-09-06 00:24:29] 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-09-06 00:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788634404000,"timestamp_ms":1788634404000,"timestamp_seconds":1788634404,"priority":1,"record_length":96,"hex_timestamp":"000001a072eb14a0"} 
[2026-09-06 00:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:24: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-09-06 00:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-06 00:24: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-09-06 00:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:24: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-09-06 00:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890404864001,"66":27223,"194":206,"78":38912,"24":32,"16":400244690894454784,"45":6042915933214433280},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-09-06 00:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890404864001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:24:29] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-06 00:24:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400244690894454784,"km_value":400244690894454.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042915933214433280,"description":"Unknown IO ID 45"} 
[2026-09-06 00:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890404864001,"power":27223,"unknown_194":206,"unknown_78":38912,"ignition":32,"odometer":null,"unknown_45":6042915933214433280}} 
[2026-09-06 00:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":174744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:24:29] local.INFO: GPS data processed {"connection_id":174744,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:24:29] local.INFO: Acknowledgment sent {"connection_id":174744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:24:49] local.INFO: TCP Data received {"connection_id":173415,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:24:49] local.INFO: Processing buffer {"connection_id":173415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:24:49] local.INFO: IMEI packet received {"connection_id":173415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":173415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:24:54] local.INFO: TCP Data received {"connection_id":173415,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:24:54] local.INFO: Processing buffer {"connection_id":173415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:24:54] local.INFO: IMEI packet received {"connection_id":173415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":173415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:24:54] local.INFO: TCP Data received {"connection_id":173415,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072eb4768012d53dc00064714d0000a00002d..."} 
[2026-09-06 00:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072eb4768012d53dc00064714d0000a00002d..."} 
[2026-09-06 00:24:54] local.INFO: Processing buffer {"connection_id":173415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072eb4768012d53dc00064714d0000a00002d..."} 
[2026-09-06 00:24:54] local.INFO: Packet analysis {"connection_id":173415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072eb"} 
[2026-09-06 00:24:54] local.INFO: Extracted packet for processing {"connection_id":173415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072eb"} 
[2026-09-06 00:24:54] local.INFO: GPS Element Parsed {"raw_longitude":760470528,"raw_latitude":105321680,"longitude_deg":76.0470528,"latitude_deg":10.532168,"altitude":10,"angle":0,"satellites":45,"speed":31,"hex_longitude":"2d53dc00","hex_latitude":"064714d0","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890407424001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400245137571053568,"note":"Value kept but may cause issues"} 
[2026-09-06 00:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042704826984366080,"note":"Value kept but may cause issues"} 
[2026-09-06 00:24: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-09-06 00:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788634417000,"timestamp_ms":1788634417000,"timestamp_seconds":1788634417,"priority":1,"record_length":96,"hex_timestamp":"000001a072eb4768"} 
[2026-09-06 00:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00: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-09-06 00: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-06 00:24:54] 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-09-06 00: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-09-06 00:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890407424001,"66":27397,"194":206,"78":38912,"24":31,"16":400245137571053568,"45":6042704826984366080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-09-06 00:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890407424001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:24:54] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-06 00:24:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400245137571053568,"km_value":400245137571053.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042704826984366080,"description":"Unknown IO ID 45"} 
[2026-09-06 00:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890407424001,"power":27397,"unknown_194":206,"unknown_78":38912,"ignition":31,"odometer":null,"unknown_45":6042704826984366080}} 
[2026-09-06 00:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":173415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:24:54] local.INFO: GPS data processed {"connection_id":173415,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:24:54] local.INFO: Acknowledgment sent {"connection_id":173415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:25:27] local.INFO: TCP Data received {"connection_id":173415,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072eb7260012d53db8006473818000a01662d..."} 
[2026-09-06 00:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072eb7260012d53db8006473818000a01662d..."} 
[2026-09-06 00:25:27] local.INFO: Processing buffer {"connection_id":173415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072eb7260012d53db8006473818000a01662d..."} 
[2026-09-06 00:25:27] local.INFO: Packet analysis {"connection_id":173415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072eb"} 
[2026-09-06 00:25:27] local.INFO: Extracted packet for processing {"connection_id":173415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072eb"} 
[2026-09-06 00:25:27] local.INFO: GPS Element Parsed {"raw_longitude":760470400,"raw_latitude":105330712,"longitude_deg":76.04704,"latitude_deg":10.5330712,"altitude":10,"angle":358,"satellites":45,"speed":34,"hex_longitude":"2d53db80","hex_latitude":"06473818","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890410752001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400245575657717760,"note":"Value kept but may cause issues"} 
[2026-09-06 00:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042704826986713088,"note":"Value kept but may cause issues"} 
[2026-09-06 00:25:27] 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-09-06 00:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788634428000,"timestamp_ms":1788634428000,"timestamp_seconds":1788634428,"priority":1,"record_length":96,"hex_timestamp":"000001a072eb7260"} 
[2026-09-06 00:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:25: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-09-06 00:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-06 00:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890410752001,"66":27376,"194":206,"78":38912,"24":34,"16":400245575657717760,"45":6042704826986713088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-09-06 00:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890410752001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:25:27] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-06 00:25:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400245575657717760,"km_value":400245575657717.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042704826986713088,"description":"Unknown IO ID 45"} 
[2026-09-06 00:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890410752001,"power":27376,"unknown_194":206,"unknown_78":38912,"ignition":34,"odometer":null,"unknown_45":6042704826986713088}} 
[2026-09-06 00:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":173415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:25:27] local.INFO: GPS data processed {"connection_id":173415,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:25:27] local.INFO: Acknowledgment sent {"connection_id":173415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:25:47] local.INFO: TCP Data received {"connection_id":172307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:25:47] local.INFO: Processing buffer {"connection_id":172307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:25:47] local.INFO: IMEI packet received {"connection_id":172307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":172307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:25:50] local.INFO: TCP Data received {"connection_id":172307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:25:50] local.INFO: Processing buffer {"connection_id":172307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:25:50] local.INFO: IMEI packet received {"connection_id":172307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":172307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:25:54] local.INFO: TCP Data received {"connection_id":172307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:25:54] local.INFO: Processing buffer {"connection_id":172307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:25:54] local.INFO: IMEI packet received {"connection_id":172307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":172307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:25:56] local.INFO: TCP Data received {"connection_id":172307,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072eb9d58012d53db4006475b98000900012e..."} 
[2026-09-06 00:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072eb9d58012d53db4006475b98000900012e..."} 
[2026-09-06 00:25:56] local.INFO: Processing buffer {"connection_id":172307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072eb9d58012d53db4006475b98000900012e..."} 
[2026-09-06 00:25:56] local.INFO: Packet analysis {"connection_id":172307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072eb"} 
[2026-09-06 00:25:56] local.INFO: Extracted packet for processing {"connection_id":172307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072eb"} 
[2026-09-06 00:25:56] local.INFO: GPS Element Parsed {"raw_longitude":760470336,"raw_latitude":105339800,"longitude_deg":76.0470336,"latitude_deg":10.53398,"altitude":9,"angle":1,"satellites":46,"speed":24,"hex_longitude":"2d53db40","hex_latitude":"06475b98","is_valid_coordinates":true} 
[2026-09-06 00:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890413568001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400246018039349248,"note":"Value kept but may cause issues"} 
[2026-09-06 00:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042564089500669952,"note":"Value kept but may cause issues"} 
[2026-09-06 00:25:56] 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-09-06 00:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788634439000,"timestamp_ms":1788634439000,"timestamp_seconds":1788634439,"priority":1,"record_length":96,"hex_timestamp":"000001a072eb9d58"} 
[2026-09-06 00:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:25: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-09-06 00:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-06 00:25: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-09-06 00:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:25: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-09-06 00:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890413568001,"66":27332,"194":206,"78":38912,"24":24,"16":400246018039349248,"45":6042564089500669952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-09-06 00:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890413568001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:25:56] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-06 00:25:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400246018039349248,"km_value":400246018039349.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042564089500669952,"description":"Unknown IO ID 45"} 
[2026-09-06 00:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890413568001,"power":27332,"unknown_194":206,"unknown_78":38912,"ignition":24,"odometer":null,"unknown_45":6042564089500669952}} 
[2026-09-06 00:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":172307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:25:56] local.INFO: GPS data processed {"connection_id":172307,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:25:56] local.INFO: Acknowledgment sent {"connection_id":172307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:26:27] local.INFO: TCP Data received {"connection_id":172307,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072ebd7f0012d53db00064780a0000701652e..."} 
[2026-09-06 00:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ebd7f0012d53db00064780a0000701652e..."} 
[2026-09-06 00:26:27] local.INFO: Processing buffer {"connection_id":172307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ebd7f0012d53db00064780a0000701652e..."} 
[2026-09-06 00:26:27] local.INFO: Packet analysis {"connection_id":172307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072eb"} 
[2026-09-06 00:26:27] local.INFO: Extracted packet for processing {"connection_id":172307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072eb"} 
[2026-09-06 00:26:27] local.INFO: GPS Element Parsed {"raw_longitude":760470272,"raw_latitude":105349280,"longitude_deg":76.0470272,"latitude_deg":10.534928,"altitude":7,"angle":357,"satellites":46,"speed":32,"hex_longitude":"2d53db00","hex_latitude":"064780a0","is_valid_coordinates":true} 
[2026-09-06 00:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890416384001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400246477600849920,"note":"Value kept but may cause issues"} 
[2026-09-06 00:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042493720758818816,"note":"Value kept but may cause issues"} 
[2026-09-06 00:26:27] 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-09-06 00:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788634454000,"timestamp_ms":1788634454000,"timestamp_seconds":1788634454,"priority":1,"record_length":96,"hex_timestamp":"000001a072ebd7f0"} 
[2026-09-06 00:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:26: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-09-06 00:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-06 00:26: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-09-06 00:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890416384001,"66":27343,"194":206,"78":38912,"24":32,"16":400246477600849920,"45":6042493720758818816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-09-06 00:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890416384001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:26:27] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-06 00:26:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400246477600849920,"km_value":400246477600849.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042493720758818816,"description":"Unknown IO ID 45"} 
[2026-09-06 00:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890416384001,"power":27343,"unknown_194":206,"unknown_78":38912,"ignition":32,"odometer":null,"unknown_45":6042493720758818816}} 
[2026-09-06 00:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":172307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:26:27] local.INFO: GPS data processed {"connection_id":172307,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:26:27] local.INFO: Acknowledgment sent {"connection_id":172307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:26:49] local.INFO: TCP Data received {"connection_id":173416,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:26:49] local.INFO: Processing buffer {"connection_id":173416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:26:49] local.INFO: IMEI packet received {"connection_id":173416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":173416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:26:54] local.INFO: TCP Data received {"connection_id":173416,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:26:54] local.INFO: Processing buffer {"connection_id":173416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:26:54] local.INFO: IMEI packet received {"connection_id":173416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":173416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:26:55] local.INFO: TCP Data received {"connection_id":173416,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072ed56c0012d5378c00648fca8000a014c2e..."} 
[2026-09-06 00:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ed56c0012d5378c00648fca8000a014c2e..."} 
[2026-09-06 00:26:55] local.INFO: Processing buffer {"connection_id":173416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ed56c0012d5378c00648fca8000a014c2e..."} 
[2026-09-06 00:26:55] local.INFO: Packet analysis {"connection_id":173416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:26:55] local.INFO: Extracted packet for processing {"connection_id":173416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:26:55] local.INFO: GPS Element Parsed {"raw_longitude":760445120,"raw_latitude":105446568,"longitude_deg":76.044512,"latitude_deg":10.5446568,"altitude":10,"angle":332,"satellites":46,"speed":59,"hex_longitude":"2d5378c0","hex_latitude":"0648fca8","is_valid_coordinates":true} 
[2026-09-06 00:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890443776001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400251446878011392,"note":"Value kept but may cause issues"} 
[2026-09-06 00:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6019201666461274112,"note":"Value kept but may cause issues"} 
[2026-09-06 00:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788634552000,"timestamp_ms":1788634552000,"timestamp_seconds":1788634552,"priority":1,"record_length":96,"hex_timestamp":"000001a072ed56c0"} 
[2026-09-06 00:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:26: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-09-06 00:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 00:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890443776001,"66":27832,"93":206,"78":38912,"24":59,"16":400251446878011392,"45":6019201666461274112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890443776001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:26:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:26:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400251446878011392,"km_value":400251446878011.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6019201666461274112,"description":"Unknown IO ID 45"} 
[2026-09-06 00:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890443776001,"power":27832,"unknown_93":206,"unknown_78":38912,"ignition":59,"odometer":null,"unknown_45":6019201666461274112}} 
[2026-09-06 00:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":173416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:26:55] local.INFO: GPS data processed {"connection_id":173416,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:26:55] local.INFO: Acknowledgment sent {"connection_id":173416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:27:27] local.INFO: TCP Data received {"connection_id":173416,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a072ed6e30012d53678006491b48000801482d..."} 
[2026-09-06 00:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ed6e30012d53678006491b48000801482d..."} 
[2026-09-06 00:27:27] local.INFO: Processing buffer {"connection_id":173416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ed6e30012d53678006491b48000801482d..."} 
[2026-09-06 00:27:27] local.INFO: Packet analysis {"connection_id":173416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:27:27] local.INFO: Extracted packet for processing {"connection_id":173416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:27:27] local.INFO: GPS Element Parsed {"raw_longitude":760440704,"raw_latitude":105454408,"longitude_deg":76.0440704,"latitude_deg":10.5454408,"altitude":8,"angle":328,"satellites":45,"speed":59,"hex_longitude":"2d536780","hex_latitude":"06491b48","is_valid_coordinates":true} 
[2026-09-06 00:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890445312001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400251880669708288,"note":"Value kept but may cause issues"} 
[2026-09-06 00:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6014768435580151808,"note":"Value kept but may cause issues"} 
[2026-09-06 00:27:27] 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-09-06 00:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788634558000,"timestamp_ms":1788634558000,"timestamp_seconds":1788634558,"priority":1,"record_length":96,"hex_timestamp":"000001a072ed6e30"} 
[2026-09-06 00:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:27: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-09-06 00:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-06 00:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890445312001,"66":27658,"93":206,"78":38912,"24":59,"16":400251880669708288,"45":6014768435580151808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890445312001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:27:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:27:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400251880669708288,"km_value":400251880669708.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6014768435580151808,"description":"Unknown IO ID 45"} 
[2026-09-06 00:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890445312001,"power":27658,"unknown_93":206,"unknown_78":38912,"ignition":59,"odometer":null,"unknown_45":6014768435580151808}} 
[2026-09-06 00:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":173416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:27:27] local.INFO: GPS data processed {"connection_id":173416,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:27:27] local.INFO: Acknowledgment sent {"connection_id":173416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:27:49] local.INFO: TCP Data received {"connection_id":172309,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:27:49] local.INFO: Processing buffer {"connection_id":172309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:27:49] local.INFO: IMEI packet received {"connection_id":172309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":172309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:27:54] local.INFO: TCP Data received {"connection_id":172309,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:27:54] local.INFO: Processing buffer {"connection_id":172309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:27:54] local.INFO: IMEI packet received {"connection_id":172309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":172309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:27:56] local.INFO: TCP Data received {"connection_id":172309,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:27:56] local.INFO: Processing buffer {"connection_id":172309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:27:56] local.INFO: Packet analysis {"connection_id":172309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:27:56] local.INFO: Extracted packet for processing {"connection_id":172309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:27:56] local.INFO: GPS Element Parsed {"raw_longitude":760436608,"raw_latitude":105460736,"longitude_deg":76.0436608,"latitude_deg":10.5460736,"altitude":7,"angle":329,"satellites":46,"speed":58,"hex_longitude":"2d535780","hex_latitude":"06493400","is_valid_coordinates":true} 
[2026-09-06 00:27: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-09-06 00:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890446848001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6009912992233900032,"note":"Value kept but may cause issues"} 
[2026-09-06 00:27:56] 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-09-06 00:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788634563000,"timestamp_ms":1788634563000,"timestamp_seconds":1788634563,"priority":1,"record_length":96,"hex_timestamp":"000001a072ed81b8"} 
[2026-09-06 00:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:27: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-09-06 00: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890446848001,"66":27658,"93":206,"78":38912,"24":58,"16":400252245741928448,"45":6009912992233900032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890446848001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:27:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:27:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6009912992233900032,"description":"Unknown IO ID 45"} 
[2026-09-06 00:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890446848001,"power":27658,"unknown_93":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":6009912992233900032}} 
[2026-09-06 00:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":172309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:27:56] local.INFO: GPS data processed {"connection_id":172309,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:27:56] local.INFO: Acknowledgment sent {"connection_id":172309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:28:28] local.INFO: TCP Data received {"connection_id":172309,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:28:28] local.INFO: Processing buffer {"connection_id":172309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:28:28] local.INFO: Packet analysis {"connection_id":172309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:28:28] local.INFO: Extracted packet for processing {"connection_id":172309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:28:28] local.INFO: GPS Element Parsed {"raw_longitude":760436608,"raw_latitude":105460736,"longitude_deg":76.0436608,"latitude_deg":10.5460736,"altitude":7,"angle":329,"satellites":46,"speed":58,"hex_longitude":"2d535780","hex_latitude":"06493400","is_valid_coordinates":true} 
[2026-09-06 00:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890446848001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6009912992233900032,"note":"Value kept but may cause issues"} 
[2026-09-06 00:28:28] 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-09-06 00:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788634563000,"timestamp_ms":1788634563000,"timestamp_seconds":1788634563,"priority":1,"record_length":96,"hex_timestamp":"000001a072ed81b8"} 
[2026-09-06 00:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:28: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-09-06 00:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890446848001,"66":27658,"93":206,"78":38912,"24":58,"16":400252245741928448,"45":6009912992233900032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890446848001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:28:28] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:28:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6009912992233900032,"description":"Unknown IO ID 45"} 
[2026-09-06 00:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890446848001,"power":27658,"unknown_93":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":6009912992233900032}} 
[2026-09-06 00:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":172309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:28:28] local.INFO: GPS data processed {"connection_id":172309,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:28:28] local.INFO: Acknowledgment sent {"connection_id":172309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:28:53] local.INFO: TCP Data received {"connection_id":174745,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:28:53] local.INFO: Processing buffer {"connection_id":174745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:28:53] local.INFO: IMEI packet received {"connection_id":174745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 00:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":174745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:28:55] local.INFO: TCP Data received {"connection_id":174746,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:28:55] local.INFO: Processing buffer {"connection_id":174746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:28:55] local.INFO: IMEI packet received {"connection_id":174746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":174746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:28:59] local.INFO: TCP Data received {"connection_id":174746,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:28:59] local.INFO: Processing buffer {"connection_id":174746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:28:59] local.INFO: IMEI packet received {"connection_id":174746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":174746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:29:01] local.INFO: TCP Data received {"connection_id":174746,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:29:01] local.INFO: Processing buffer {"connection_id":174746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:29:01] local.INFO: Packet analysis {"connection_id":174746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:29:01] local.INFO: Extracted packet for processing {"connection_id":174746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:29:01] local.INFO: GPS Element Parsed {"raw_longitude":760436608,"raw_latitude":105460736,"longitude_deg":76.0436608,"latitude_deg":10.5460736,"altitude":7,"angle":329,"satellites":46,"speed":58,"hex_longitude":"2d535780","hex_latitude":"06493400","is_valid_coordinates":true} 
[2026-09-06 00:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890446848001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6009912992233900032,"note":"Value kept but may cause issues"} 
[2026-09-06 00:29:01] 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-09-06 00:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788634563000,"timestamp_ms":1788634563000,"timestamp_seconds":1788634563,"priority":1,"record_length":96,"hex_timestamp":"000001a072ed81b8"} 
[2026-09-06 00:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:29: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-09-06 00:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890446848001,"66":27658,"93":206,"78":38912,"24":58,"16":400252245741928448,"45":6009912992233900032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890446848001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:29:01] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:29:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6009912992233900032,"description":"Unknown IO ID 45"} 
[2026-09-06 00:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890446848001,"power":27658,"unknown_93":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":6009912992233900032}} 
[2026-09-06 00:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":174746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:29:01] local.INFO: GPS data processed {"connection_id":174746,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:29:01] local.INFO: Acknowledgment sent {"connection_id":174746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:29:14] local.INFO: TCP Data received {"connection_id":172310,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:29:14] local.INFO: Processing buffer {"connection_id":172310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:29:14] local.INFO: IMEI packet received {"connection_id":172310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 00:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":172310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:29:33] local.INFO: TCP Data received {"connection_id":174746,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:29:33] local.INFO: Processing buffer {"connection_id":174746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:29:33] local.INFO: Packet analysis {"connection_id":174746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:29:33] local.INFO: Extracted packet for processing {"connection_id":174746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:29:33] local.INFO: GPS Element Parsed {"raw_longitude":760436608,"raw_latitude":105460736,"longitude_deg":76.0436608,"latitude_deg":10.5460736,"altitude":7,"angle":329,"satellites":46,"speed":58,"hex_longitude":"2d535780","hex_latitude":"06493400","is_valid_coordinates":true} 
[2026-09-06 00:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890446848001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6009912992233900032,"note":"Value kept but may cause issues"} 
[2026-09-06 00:29:33] 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-09-06 00:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788634563000,"timestamp_ms":1788634563000,"timestamp_seconds":1788634563,"priority":1,"record_length":96,"hex_timestamp":"000001a072ed81b8"} 
[2026-09-06 00:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:29: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-09-06 00:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:29:33] 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-09-06 00:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890446848001,"66":27658,"93":206,"78":38912,"24":58,"16":400252245741928448,"45":6009912992233900032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890446848001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:29:33] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:29:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6009912992233900032,"description":"Unknown IO ID 45"} 
[2026-09-06 00:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890446848001,"power":27658,"unknown_93":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":6009912992233900032}} 
[2026-09-06 00:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":174746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:29:33] local.INFO: GPS data processed {"connection_id":174746,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:29:33] local.INFO: Acknowledgment sent {"connection_id":174746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:29:49] local.INFO: TCP Data received {"connection_id":174747,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:29:49] local.INFO: Processing buffer {"connection_id":174747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:29:49] local.INFO: IMEI packet received {"connection_id":174747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":174747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:29:54] local.INFO: TCP Data received {"connection_id":174747,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:29:54] local.INFO: Processing buffer {"connection_id":174747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:29:54] local.INFO: IMEI packet received {"connection_id":174747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":174747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:29:56] local.INFO: TCP Data received {"connection_id":174747,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:29:56] local.INFO: Processing buffer {"connection_id":174747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:29:56] local.INFO: Packet analysis {"connection_id":174747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:29:56] local.INFO: Extracted packet for processing {"connection_id":174747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:29:56] local.INFO: GPS Element Parsed {"raw_longitude":760436608,"raw_latitude":105460736,"longitude_deg":76.0436608,"latitude_deg":10.5460736,"altitude":7,"angle":329,"satellites":46,"speed":58,"hex_longitude":"2d535780","hex_latitude":"06493400","is_valid_coordinates":true} 
[2026-09-06 00:29: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-09-06 00:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890446848001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6009912992233900032,"note":"Value kept but may cause issues"} 
[2026-09-06 00:29:56] 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-09-06 00:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788634563000,"timestamp_ms":1788634563000,"timestamp_seconds":1788634563,"priority":1,"record_length":96,"hex_timestamp":"000001a072ed81b8"} 
[2026-09-06 00:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:29: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-09-06 00: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:29: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-09-06 00:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890446848001,"66":27658,"93":206,"78":38912,"24":58,"16":400252245741928448,"45":6009912992233900032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890446848001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:29:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:29:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6009912992233900032,"description":"Unknown IO ID 45"} 
[2026-09-06 00:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890446848001,"power":27658,"unknown_93":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":6009912992233900032}} 
[2026-09-06 00:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":174747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:29:56] local.INFO: GPS data processed {"connection_id":174747,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:29:56] local.INFO: Acknowledgment sent {"connection_id":174747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:30:28] local.INFO: TCP Data received {"connection_id":174747,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:30:28] local.INFO: Processing buffer {"connection_id":174747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:30:28] local.INFO: Packet analysis {"connection_id":174747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:30:28] local.INFO: Extracted packet for processing {"connection_id":174747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:30:28] local.INFO: GPS Element Parsed {"raw_longitude":760436608,"raw_latitude":105460736,"longitude_deg":76.0436608,"latitude_deg":10.5460736,"altitude":7,"angle":329,"satellites":46,"speed":58,"hex_longitude":"2d535780","hex_latitude":"06493400","is_valid_coordinates":true} 
[2026-09-06 00:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890446848001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6009912992233900032,"note":"Value kept but may cause issues"} 
[2026-09-06 00:30:28] 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-09-06 00:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788634563000,"timestamp_ms":1788634563000,"timestamp_seconds":1788634563,"priority":1,"record_length":96,"hex_timestamp":"000001a072ed81b8"} 
[2026-09-06 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-09-06 00:30: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-09-06 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 00:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890446848001,"66":27658,"93":206,"78":38912,"24":58,"16":400252245741928448,"45":6009912992233900032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890446848001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:30:28] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:30:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6009912992233900032,"description":"Unknown IO ID 45"} 
[2026-09-06 00:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890446848001,"power":27658,"unknown_93":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":6009912992233900032}} 
[2026-09-06 00:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":174747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:30:28] local.INFO: GPS data processed {"connection_id":174747,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:30:28] local.INFO: Acknowledgment sent {"connection_id":174747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:30:49] local.INFO: TCP Data received {"connection_id":173418,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:30:49] local.INFO: Processing buffer {"connection_id":173418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:30:49] local.INFO: IMEI packet received {"connection_id":173418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":173418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:30:54] local.INFO: TCP Data received {"connection_id":173418,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:30:54] local.INFO: Processing buffer {"connection_id":173418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:30:54] local.INFO: IMEI packet received {"connection_id":173418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":173418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:30:56] local.INFO: TCP Data received {"connection_id":173418,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:30:56] local.INFO: Processing buffer {"connection_id":173418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:30:56] local.INFO: Packet analysis {"connection_id":173418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:30:56] local.INFO: Extracted packet for processing {"connection_id":173418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:30:56] local.INFO: GPS Element Parsed {"raw_longitude":760436608,"raw_latitude":105460736,"longitude_deg":76.0436608,"latitude_deg":10.5460736,"altitude":7,"angle":329,"satellites":46,"speed":58,"hex_longitude":"2d535780","hex_latitude":"06493400","is_valid_coordinates":true} 
[2026-09-06 00:30: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-09-06 00:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890446848001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6009912992233900032,"note":"Value kept but may cause issues"} 
[2026-09-06 00:30:56] 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-09-06 00:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788634563000,"timestamp_ms":1788634563000,"timestamp_seconds":1788634563,"priority":1,"record_length":96,"hex_timestamp":"000001a072ed81b8"} 
[2026-09-06 00:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:30: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-09-06 00: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:30: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-09-06 00:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890446848001,"66":27658,"93":206,"78":38912,"24":58,"16":400252245741928448,"45":6009912992233900032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890446848001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:30:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:30:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6009912992233900032,"description":"Unknown IO ID 45"} 
[2026-09-06 00:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890446848001,"power":27658,"unknown_93":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":6009912992233900032}} 
[2026-09-06 00:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":173418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:30:56] local.INFO: GPS data processed {"connection_id":173418,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:30:56] local.INFO: Acknowledgment sent {"connection_id":173418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:31:28] local.INFO: TCP Data received {"connection_id":173418,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:31:28] local.INFO: Processing buffer {"connection_id":173418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ed81b8012d53578006493400000701492e..."} 
[2026-09-06 00:31:28] local.INFO: Packet analysis {"connection_id":173418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:31:28] local.INFO: Extracted packet for processing {"connection_id":173418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ed"} 
[2026-09-06 00:31:28] local.INFO: GPS Element Parsed {"raw_longitude":760436608,"raw_latitude":105460736,"longitude_deg":76.0436608,"latitude_deg":10.5460736,"altitude":7,"angle":329,"satellites":46,"speed":58,"hex_longitude":"2d535780","hex_latitude":"06493400","is_valid_coordinates":true} 
[2026-09-06 00:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890446848001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6009912992233900032,"note":"Value kept but may cause issues"} 
[2026-09-06 00:31:28] 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-09-06 00:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788634563000,"timestamp_ms":1788634563000,"timestamp_seconds":1788634563,"priority":1,"record_length":96,"hex_timestamp":"000001a072ed81b8"} 
[2026-09-06 00:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:31: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-09-06 00:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890446848001,"66":27658,"93":206,"78":38912,"24":58,"16":400252245741928448,"45":6009912992233900032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890446848001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:31:28] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:31:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6009912992233900032,"description":"Unknown IO ID 45"} 
[2026-09-06 00:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890446848001,"power":27658,"unknown_93":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":6009912992233900032}} 
[2026-09-06 00:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":173418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:31:28] local.INFO: GPS data processed {"connection_id":173418,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:31:28] local.INFO: Acknowledgment sent {"connection_id":173418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:31:56] local.INFO: TCP Data received {"connection_id":172311,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:31:56] local.INFO: Processing buffer {"connection_id":172311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:31:56] local.INFO: IMEI packet received {"connection_id":172311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":172311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:32:02] local.INFO: TCP Data received {"connection_id":172311,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:32:02] local.INFO: Processing buffer {"connection_id":172311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:32:02] local.INFO: IMEI packet received {"connection_id":172311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":172311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:32:04] local.INFO: TCP Data received {"connection_id":172311,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:32:04] local.INFO: Processing buffer {"connection_id":172311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:32:04] local.INFO: IMEI packet received {"connection_id":172311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":172311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:32:05] local.INFO: TCP Data received {"connection_id":172311,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:32:05] local.INFO: Processing buffer {"connection_id":172311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:32:05] local.INFO: Packet analysis {"connection_id":172311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:32:05] local.INFO: Extracted packet for processing {"connection_id":172311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:32:05] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890448128001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6005409392608149504,"note":"Value kept but may cause issues"} 
[2026-09-06 00:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788634867000,"timestamp_ms":1788634867000,"timestamp_seconds":1788634867,"priority":1,"record_length":96,"hex_timestamp":"000001a072f22538"} 
[2026-09-06 00:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:32:05] 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-09-06 00:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890448128001,"66":25615,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":6005409392608149504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890448128001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:32:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:32:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6005409392608149504,"description":"Unknown IO ID 45"} 
[2026-09-06 00:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890448128001,"power":25615,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":6005409392608149504}} 
[2026-09-06 00:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":172311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:32:05] local.INFO: GPS data processed {"connection_id":172311,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:32:05] local.INFO: Acknowledgment sent {"connection_id":172311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:32:10] local.INFO: TCP Data received {"connection_id":172311,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:32:10] local.INFO: Processing buffer {"connection_id":172311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:32:10] local.INFO: Packet analysis {"connection_id":172311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:32:10] local.INFO: Extracted packet for processing {"connection_id":172311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:32:10] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890448128001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6005409392608149504,"note":"Value kept but may cause issues"} 
[2026-09-06 00:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788634867000,"timestamp_ms":1788634867000,"timestamp_seconds":1788634867,"priority":1,"record_length":96,"hex_timestamp":"000001a072f22538"} 
[2026-09-06 00:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:32:10] 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-09-06 00:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890448128001,"66":25615,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":6005409392608149504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890448128001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:32:10] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:32:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6005409392608149504,"description":"Unknown IO ID 45"} 
[2026-09-06 00:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890448128001,"power":25615,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":6005409392608149504}} 
[2026-09-06 00:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":172311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:32:10] local.INFO: GPS data processed {"connection_id":172311,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:32:10] local.INFO: Acknowledgment sent {"connection_id":172311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:32:49] local.INFO: TCP Data received {"connection_id":173419,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:32:49] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:32:49] local.INFO: IMEI packet received {"connection_id":173419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":173419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:32:54] local.INFO: TCP Data received {"connection_id":173419,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:32:54] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:32:54] local.INFO: IMEI packet received {"connection_id":173419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":173419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:32:56] local.INFO: TCP Data received {"connection_id":173419,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:32:56] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:32:56] local.INFO: Packet analysis {"connection_id":173419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:32:56] local.INFO: Extracted packet for processing {"connection_id":173419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:32:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890448128001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6005409392608149504,"note":"Value kept but may cause issues"} 
[2026-09-06 00:32:56] 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-09-06 00:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788634867000,"timestamp_ms":1788634867000,"timestamp_seconds":1788634867,"priority":1,"record_length":96,"hex_timestamp":"000001a072f22538"} 
[2026-09-06 00:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:32: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-09-06 00: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:32: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-09-06 00:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890448128001,"66":25615,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":6005409392608149504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890448128001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:32:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:32:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6005409392608149504,"description":"Unknown IO ID 45"} 
[2026-09-06 00:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890448128001,"power":25615,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":6005409392608149504}} 
[2026-09-06 00:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":173419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:32:56] local.INFO: GPS data processed {"connection_id":173419,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:32:56] local.INFO: Acknowledgment sent {"connection_id":173419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:33:28] local.INFO: TCP Data received {"connection_id":173419,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:33:28] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:33:28] local.INFO: Packet analysis {"connection_id":173419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:33:28] local.INFO: Extracted packet for processing {"connection_id":173419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:33:28] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890448128001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6005409392608149504,"note":"Value kept but may cause issues"} 
[2026-09-06 00:33:28] 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-09-06 00:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788634867000,"timestamp_ms":1788634867000,"timestamp_seconds":1788634867,"priority":1,"record_length":96,"hex_timestamp":"000001a072f22538"} 
[2026-09-06 00:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:33: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-09-06 00: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890448128001,"66":25615,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":6005409392608149504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890448128001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:33:28] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:33:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6005409392608149504,"description":"Unknown IO ID 45"} 
[2026-09-06 00:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890448128001,"power":25615,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":6005409392608149504}} 
[2026-09-06 00:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":173419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:33:28] local.INFO: GPS data processed {"connection_id":173419,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:33:28] local.INFO: Acknowledgment sent {"connection_id":173419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:33:54] local.INFO: TCP Data received {"connection_id":172312,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:33:54] local.INFO: Processing buffer {"connection_id":172312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:33:54] local.INFO: IMEI packet received {"connection_id":172312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":172312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:33:59] local.INFO: TCP Data received {"connection_id":172312,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:33:59] local.INFO: Processing buffer {"connection_id":172312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:33:59] local.INFO: IMEI packet received {"connection_id":172312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":172312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:34:00] local.INFO: TCP Data received {"connection_id":172312,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:34:00] local.INFO: Processing buffer {"connection_id":172312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:34:00] local.INFO: Packet analysis {"connection_id":172312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:34:00] local.INFO: Extracted packet for processing {"connection_id":172312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:34:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890448128001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6005409392608149504,"note":"Value kept but may cause issues"} 
[2026-09-06 00:34:00] 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-09-06 00:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788634867000,"timestamp_ms":1788634867000,"timestamp_seconds":1788634867,"priority":1,"record_length":96,"hex_timestamp":"000001a072f22538"} 
[2026-09-06 00:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890448128001,"66":25615,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":6005409392608149504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890448128001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:34:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:34:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6005409392608149504,"description":"Unknown IO ID 45"} 
[2026-09-06 00:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890448128001,"power":25615,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":6005409392608149504}} 
[2026-09-06 00:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":172312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:34:00] local.INFO: GPS data processed {"connection_id":172312,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:34:00] local.INFO: Acknowledgment sent {"connection_id":172312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:34:05] local.INFO: TCP Data received {"connection_id":172312,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:34:05] local.INFO: Processing buffer {"connection_id":172312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:34:05] local.INFO: Packet analysis {"connection_id":172312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:34:05] local.INFO: Extracted packet for processing {"connection_id":172312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:34:05] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890448128001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6005409392608149504,"note":"Value kept but may cause issues"} 
[2026-09-06 00:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788634867000,"timestamp_ms":1788634867000,"timestamp_seconds":1788634867,"priority":1,"record_length":96,"hex_timestamp":"000001a072f22538"} 
[2026-09-06 00:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:34:05] 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-09-06 00:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890448128001,"66":25615,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":6005409392608149504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890448128001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:34:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:34:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6005409392608149504,"description":"Unknown IO ID 45"} 
[2026-09-06 00:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890448128001,"power":25615,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":6005409392608149504}} 
[2026-09-06 00:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":172312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:34:05] local.INFO: GPS data processed {"connection_id":172312,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:34:05] local.INFO: Acknowledgment sent {"connection_id":172312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:34:49] local.INFO: TCP Data received {"connection_id":172071,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:34:49] local.INFO: Processing buffer {"connection_id":172071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:34:49] local.INFO: IMEI packet received {"connection_id":172071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":172071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:34:53] local.INFO: TCP Data received {"connection_id":172070,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:34:53] local.INFO: Processing buffer {"connection_id":172070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:34:53] local.INFO: IMEI packet received {"connection_id":172070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 00:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":172070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:34:54] local.INFO: TCP Data received {"connection_id":172071,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:34:54] local.INFO: Processing buffer {"connection_id":172071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:34:54] local.INFO: IMEI packet received {"connection_id":172071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":172071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:34:57] local.INFO: TCP Data received {"connection_id":172071,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:34:57] local.INFO: Processing buffer {"connection_id":172071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:34:57] local.INFO: Packet analysis {"connection_id":172071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:34:57] local.INFO: Extracted packet for processing {"connection_id":172071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:34:57] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 00:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890448128001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6005409392608149504,"note":"Value kept but may cause issues"} 
[2026-09-06 00:34:57] 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-09-06 00:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788634867000,"timestamp_ms":1788634867000,"timestamp_seconds":1788634867,"priority":1,"record_length":96,"hex_timestamp":"000001a072f22538"} 
[2026-09-06 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-09-06 00:34: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-09-06 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 00:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890448128001,"66":25615,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":6005409392608149504},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890448128001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:34:57] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:34:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6005409392608149504,"description":"Unknown IO ID 45"} 
[2026-09-06 00:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890448128001,"power":25615,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":6005409392608149504}} 
[2026-09-06 00:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":172071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:34:57] local.INFO: GPS data processed {"connection_id":172071,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:34:57] local.INFO: Acknowledgment sent {"connection_id":172071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:35:12] local.INFO: TCP Data received {"connection_id":172313,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:35:12] local.INFO: Processing buffer {"connection_id":172313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:35:12] local.INFO: IMEI packet received {"connection_id":172313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 00:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":172313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:35:29] local.INFO: TCP Data received {"connection_id":172071,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:35:29] local.INFO: Processing buffer {"connection_id":172071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:35:29] local.INFO: Packet analysis {"connection_id":172071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:35:29] local.INFO: Extracted packet for processing {"connection_id":172071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:35:29] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890448128001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6005409392608149504,"note":"Value kept but may cause issues"} 
[2026-09-06 00:35:29] 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-09-06 00:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788634867000,"timestamp_ms":1788634867000,"timestamp_seconds":1788634867,"priority":1,"record_length":96,"hex_timestamp":"000001a072f22538"} 
[2026-09-06 00:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:35: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-09-06 00:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890448128001,"66":25615,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":6005409392608149504},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890448128001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:35:29] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:35:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6005409392608149504,"description":"Unknown IO ID 45"} 
[2026-09-06 00:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890448128001,"power":25615,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":6005409392608149504}} 
[2026-09-06 00:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":172071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:35:29] local.INFO: GPS data processed {"connection_id":172071,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:35:29] local.INFO: Acknowledgment sent {"connection_id":172071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:35:54] local.INFO: TCP Data received {"connection_id":172314,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:35:54] local.INFO: Processing buffer {"connection_id":172314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:35:54] local.INFO: IMEI packet received {"connection_id":172314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":172314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:35:59] local.INFO: TCP Data received {"connection_id":172314,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:35:59] local.INFO: Processing buffer {"connection_id":172314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:35:59] local.INFO: IMEI packet received {"connection_id":172314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":172314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:36:00] local.INFO: TCP Data received {"connection_id":172314,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:36:00] local.INFO: Processing buffer {"connection_id":172314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:36:00] local.INFO: Packet analysis {"connection_id":172314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:36:00] local.INFO: Extracted packet for processing {"connection_id":172314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:36:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890448128001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6005409392608149504,"note":"Value kept but may cause issues"} 
[2026-09-06 00:36:00] 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-09-06 00:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788634867000,"timestamp_ms":1788634867000,"timestamp_seconds":1788634867,"priority":1,"record_length":96,"hex_timestamp":"000001a072f22538"} 
[2026-09-06 00:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890448128001,"66":25615,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":6005409392608149504},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890448128001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:36:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:36:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6005409392608149504,"description":"Unknown IO ID 45"} 
[2026-09-06 00:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890448128001,"power":25615,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":6005409392608149504}} 
[2026-09-06 00:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":172314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:36:00] local.INFO: GPS data processed {"connection_id":172314,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:36:00] local.INFO: Acknowledgment sent {"connection_id":172314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:36:05] local.INFO: TCP Data received {"connection_id":172314,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:36:05] local.INFO: Processing buffer {"connection_id":172314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f22538012d532d0006497048000601472e..."} 
[2026-09-06 00:36:05] local.INFO: Packet analysis {"connection_id":172314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:36:05] local.INFO: Extracted packet for processing {"connection_id":172314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f2"} 
[2026-09-06 00:36:05] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890448128001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6005409392608149504,"note":"Value kept but may cause issues"} 
[2026-09-06 00:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788634867000,"timestamp_ms":1788634867000,"timestamp_seconds":1788634867,"priority":1,"record_length":96,"hex_timestamp":"000001a072f22538"} 
[2026-09-06 00:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 00:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890448128001,"66":25615,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":6005409392608149504},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890448128001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:36:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:36:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6005409392608149504,"description":"Unknown IO ID 45"} 
[2026-09-06 00:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890448128001,"power":25615,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":6005409392608149504}} 
[2026-09-06 00:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":172314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:36:05] local.INFO: GPS data processed {"connection_id":172314,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:36:05] local.INFO: Acknowledgment sent {"connection_id":172314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:36:46] local.INFO: TCP Data received {"connection_id":173420,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:36:46] local.INFO: Processing buffer {"connection_id":173420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:36:46] local.INFO: IMEI packet received {"connection_id":173420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":173420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:36:49] local.INFO: TCP Data received {"connection_id":173420,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:36:49] local.INFO: Processing buffer {"connection_id":173420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:36:49] local.INFO: IMEI packet received {"connection_id":173420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":173420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:36:56] local.INFO: TCP Data received {"connection_id":173420,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:36:56] local.INFO: Processing buffer {"connection_id":173420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:36:56] local.INFO: IMEI packet received {"connection_id":173420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":173420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:36:57] local.INFO: TCP Data received {"connection_id":173420,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:36:57] local.INFO: Processing buffer {"connection_id":173420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:36:57] local.INFO: Packet analysis {"connection_id":173420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:36:57] local.INFO: Extracted packet for processing {"connection_id":173420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:36:57] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 00:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890525952001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:36:57] 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-09-06 00:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788635168000,"timestamp_ms":1788635168000,"timestamp_seconds":1788635168,"priority":1,"record_length":96,"hex_timestamp":"000001a072f6bd00"} 
[2026-09-06 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-09-06 00:36: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-09-06 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 00:36: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-09-06 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-09-06 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-09-06 00:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890525952001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890525952001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:36:57] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:36:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890525952001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":173420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:36:57] local.INFO: GPS data processed {"connection_id":173420,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:36:57] local.INFO: Acknowledgment sent {"connection_id":173420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:37:28] local.INFO: TCP Data received {"connection_id":173420,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:37:28] local.INFO: Processing buffer {"connection_id":173420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:37:28] local.INFO: Packet analysis {"connection_id":173420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:37:28] local.INFO: Extracted packet for processing {"connection_id":173420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:37:28] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 00:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890525952001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:37:28] 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-09-06 00:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788635168000,"timestamp_ms":1788635168000,"timestamp_seconds":1788635168,"priority":1,"record_length":96,"hex_timestamp":"000001a072f6bd00"} 
[2026-09-06 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-09-06 00:37: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-09-06 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 00:37: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-09-06 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-09-06 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-09-06 00:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890525952001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890525952001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:37:28] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:37:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890525952001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":173420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:37:28] local.INFO: GPS data processed {"connection_id":173420,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:37:28] local.INFO: Acknowledgment sent {"connection_id":173420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:37:49] local.INFO: TCP Data received {"connection_id":173421,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:37:49] local.INFO: Processing buffer {"connection_id":173421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:37:49] local.INFO: IMEI packet received {"connection_id":173421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":173421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:37:54] local.INFO: TCP Data received {"connection_id":173421,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:37:54] local.INFO: Processing buffer {"connection_id":173421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:37:54] local.INFO: IMEI packet received {"connection_id":173421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":173421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:37:55] local.INFO: TCP Data received {"connection_id":173421,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:37:55] local.INFO: Processing buffer {"connection_id":173421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:37:55] local.INFO: Packet analysis {"connection_id":173421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:37:55] local.INFO: Extracted packet for processing {"connection_id":173421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:37:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890525952001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788635168000,"timestamp_ms":1788635168000,"timestamp_seconds":1788635168,"priority":1,"record_length":96,"hex_timestamp":"000001a072f6bd00"} 
[2026-09-06 00:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:37: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-09-06 00: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 00:37:55] 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-09-06 00: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-09-06 00:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890525952001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890525952001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:37:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:37:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890525952001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":173421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:37:55] local.INFO: GPS data processed {"connection_id":173421,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:37:55] local.INFO: Acknowledgment sent {"connection_id":173421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:38:26] local.INFO: TCP Data received {"connection_id":173421,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:38:26] local.INFO: Processing buffer {"connection_id":173421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:38:26] local.INFO: Packet analysis {"connection_id":173421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:38:26] local.INFO: Extracted packet for processing {"connection_id":173421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:38:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890525952001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:38: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-09-06 00:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788635168000,"timestamp_ms":1788635168000,"timestamp_seconds":1788635168,"priority":1,"record_length":96,"hex_timestamp":"000001a072f6bd00"} 
[2026-09-06 00:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:38: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-09-06 00:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 00:38: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-09-06 00:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890525952001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890525952001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:38:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:38:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890525952001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":173421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:38:26] local.INFO: GPS data processed {"connection_id":173421,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:38:26] local.INFO: Acknowledgment sent {"connection_id":173421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:38:49] local.INFO: TCP Data received {"connection_id":172315,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:38:49] local.INFO: Processing buffer {"connection_id":172315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:38:49] local.INFO: IMEI packet received {"connection_id":172315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":172315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:38:54] local.INFO: TCP Data received {"connection_id":172315,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:38:54] local.INFO: Processing buffer {"connection_id":172315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:38:54] local.INFO: IMEI packet received {"connection_id":172315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":172315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:38:55] local.INFO: TCP Data received {"connection_id":172315,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:38:55] local.INFO: Processing buffer {"connection_id":172315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:38:55] local.INFO: Packet analysis {"connection_id":172315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:38:55] local.INFO: Extracted packet for processing {"connection_id":172315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:38:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890525952001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788635168000,"timestamp_ms":1788635168000,"timestamp_seconds":1788635168,"priority":1,"record_length":96,"hex_timestamp":"000001a072f6bd00"} 
[2026-09-06 00:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:38: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-09-06 00:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 00:38:55] 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-09-06 00:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890525952001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890525952001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:38:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:38:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890525952001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":172315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:38:55] local.INFO: GPS data processed {"connection_id":172315,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:38:55] local.INFO: Acknowledgment sent {"connection_id":172315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:39:26] local.INFO: TCP Data received {"connection_id":172315,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:39:26] local.INFO: Processing buffer {"connection_id":172315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:39:26] local.INFO: Packet analysis {"connection_id":172315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:39:26] local.INFO: Extracted packet for processing {"connection_id":172315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:39:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890525952001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:39: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-09-06 00:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788635168000,"timestamp_ms":1788635168000,"timestamp_seconds":1788635168,"priority":1,"record_length":96,"hex_timestamp":"000001a072f6bd00"} 
[2026-09-06 00:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:39: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-09-06 00: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 00:39: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-09-06 00: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-09-06 00:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890525952001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890525952001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:39:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:39:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890525952001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":172315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:39:26] local.INFO: GPS data processed {"connection_id":172315,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:39:26] local.INFO: Acknowledgment sent {"connection_id":172315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:39:54] local.INFO: TCP Data received {"connection_id":174755,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:39:54] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:39:54] local.INFO: IMEI packet received {"connection_id":174755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":174755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:39:59] local.INFO: TCP Data received {"connection_id":174755,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:39:59] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:39:59] local.INFO: IMEI packet received {"connection_id":174755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":174755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:40:00] local.INFO: TCP Data received {"connection_id":174755,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:40:00] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:40:00] local.INFO: Packet analysis {"connection_id":174755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:40:00] local.INFO: Extracted packet for processing {"connection_id":174755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:40:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890525952001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:40:00] 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-09-06 00:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788635168000,"timestamp_ms":1788635168000,"timestamp_seconds":1788635168,"priority":1,"record_length":96,"hex_timestamp":"000001a072f6bd00"} 
[2026-09-06 00:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 00:40: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-09-06 00:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890525952001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890525952001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:40:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:40:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890525952001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":174755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:40:00] local.INFO: GPS data processed {"connection_id":174755,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:40:00] local.INFO: Acknowledgment sent {"connection_id":174755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:40:05] local.INFO: TCP Data received {"connection_id":174755,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:40:05] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:40:05] local.INFO: Packet analysis {"connection_id":174755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:40:05] local.INFO: Extracted packet for processing {"connection_id":174755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:40:05] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890525952001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788635168000,"timestamp_ms":1788635168000,"timestamp_seconds":1788635168,"priority":1,"record_length":96,"hex_timestamp":"000001a072f6bd00"} 
[2026-09-06 00:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 00:40:05] 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-09-06 00: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-09-06 00:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:40:05] 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-09-06 00:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890525952001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890525952001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:40:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:40:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890525952001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":174755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:40:05] local.INFO: GPS data processed {"connection_id":174755,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:40:05] local.INFO: Acknowledgment sent {"connection_id":174755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:40:38] local.INFO: TCP Data received {"connection_id":172316,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:40:38] local.INFO: Processing buffer {"connection_id":172316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:40:38] local.INFO: IMEI packet received {"connection_id":172316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 00:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":172316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:40:49] local.INFO: TCP Data received {"connection_id":174756,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:40:49] local.INFO: Processing buffer {"connection_id":174756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:40:49] local.INFO: IMEI packet received {"connection_id":174756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":174756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:40:54] local.INFO: TCP Data received {"connection_id":174756,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:40:54] local.INFO: Processing buffer {"connection_id":174756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:40:54] local.INFO: IMEI packet received {"connection_id":174756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":174756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:40:55] local.INFO: TCP Data received {"connection_id":174756,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:40:55] local.INFO: Processing buffer {"connection_id":174756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:40:55] local.INFO: Packet analysis {"connection_id":174756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:40:55] local.INFO: Extracted packet for processing {"connection_id":174756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:40:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890525952001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788635168000,"timestamp_ms":1788635168000,"timestamp_seconds":1788635168,"priority":1,"record_length":96,"hex_timestamp":"000001a072f6bd00"} 
[2026-09-06 00:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:40: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-09-06 00: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 00:40:55] 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-09-06 00: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-09-06 00:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:40:55] 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-09-06 00:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890525952001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890525952001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:40:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:40:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890525952001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":174756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:40:55] local.INFO: GPS data processed {"connection_id":174756,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:40:55] local.INFO: Acknowledgment sent {"connection_id":174756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:41:17] local.INFO: TCP Data received {"connection_id":173422,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:41:17] local.INFO: Processing buffer {"connection_id":173422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:41:17] local.INFO: IMEI packet received {"connection_id":173422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 00:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":173422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:41:26] local.INFO: TCP Data received {"connection_id":174756,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:41:26] local.INFO: Processing buffer {"connection_id":174756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072f6bd00012d532d0006497048000601472e..."} 
[2026-09-06 00:41:26] local.INFO: Packet analysis {"connection_id":174756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:41:26] local.INFO: Extracted packet for processing {"connection_id":174756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072f6"} 
[2026-09-06 00:41:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890525952001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:41: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-09-06 00:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788635168000,"timestamp_ms":1788635168000,"timestamp_seconds":1788635168,"priority":1,"record_length":96,"hex_timestamp":"000001a072f6bd00"} 
[2026-09-06 00:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:41: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-09-06 00: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 00:41: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-09-06 00: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-09-06 00:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:41:26] 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-09-06 00:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890525952001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890525952001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:41:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:41:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890525952001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":174756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:41:26] local.INFO: GPS data processed {"connection_id":174756,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:41:26] local.INFO: Acknowledgment sent {"connection_id":174756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:41:47] local.INFO: TCP Data received {"connection_id":173423,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:41:47] local.INFO: Processing buffer {"connection_id":173423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:41:47] local.INFO: IMEI packet received {"connection_id":173423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":173423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:41:49] local.INFO: TCP Data received {"connection_id":173423,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:41:49] local.INFO: Processing buffer {"connection_id":173423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:41:49] local.INFO: IMEI packet received {"connection_id":173423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":173423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:41:54] local.INFO: TCP Data received {"connection_id":173423,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:41:54] local.INFO: Processing buffer {"connection_id":173423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:41:54] local.INFO: IMEI packet received {"connection_id":173423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":173423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:41:55] local.INFO: TCP Data received {"connection_id":173423,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:41:55] local.INFO: Processing buffer {"connection_id":173423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:41:55] local.INFO: Packet analysis {"connection_id":173423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:41:55] local.INFO: Extracted packet for processing {"connection_id":173423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:41:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890603008001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788635469000,"timestamp_ms":1788635469000,"timestamp_seconds":1788635469,"priority":1,"record_length":96,"hex_timestamp":"000001a072fb54c8"} 
[2026-09-06 00:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:41: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-09-06 00: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 00:41:55] 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-09-06 00:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:41:55] 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-09-06 00:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890603008001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890603008001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:41:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:41:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890603008001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":173423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:41:55] local.INFO: GPS data processed {"connection_id":173423,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:41:55] local.INFO: Acknowledgment sent {"connection_id":173423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:42:26] local.INFO: TCP Data received {"connection_id":173423,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:42:26] local.INFO: Processing buffer {"connection_id":173423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:42:26] local.INFO: Packet analysis {"connection_id":173423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:42:26] local.INFO: Extracted packet for processing {"connection_id":173423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:42:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890603008001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:42: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-09-06 00:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788635469000,"timestamp_ms":1788635469000,"timestamp_seconds":1788635469,"priority":1,"record_length":96,"hex_timestamp":"000001a072fb54c8"} 
[2026-09-06 00:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00: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-09-06 00: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 00:42: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-09-06 00: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-09-06 00:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:42:26] 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-09-06 00:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890603008001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890603008001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:42:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:42:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890603008001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":173423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:42:26] local.INFO: GPS data processed {"connection_id":173423,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:42:26] local.INFO: Acknowledgment sent {"connection_id":173423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:42:49] local.INFO: TCP Data received {"connection_id":174757,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:42:49] local.INFO: Processing buffer {"connection_id":174757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:42:49] local.INFO: IMEI packet received {"connection_id":174757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":174757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:42:54] local.INFO: TCP Data received {"connection_id":174757,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:42:54] local.INFO: Processing buffer {"connection_id":174757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:42:54] local.INFO: IMEI packet received {"connection_id":174757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":174757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:42:55] local.INFO: TCP Data received {"connection_id":174757,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:42:55] local.INFO: Processing buffer {"connection_id":174757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:42:55] local.INFO: Packet analysis {"connection_id":174757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:42:55] local.INFO: Extracted packet for processing {"connection_id":174757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:42:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890603008001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788635469000,"timestamp_ms":1788635469000,"timestamp_seconds":1788635469,"priority":1,"record_length":96,"hex_timestamp":"000001a072fb54c8"} 
[2026-09-06 00:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:42: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-09-06 00:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 00:42:55] 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-09-06 00:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:42:55] 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-09-06 00:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890603008001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890603008001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:42:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:42:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890603008001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":174757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:42:55] local.INFO: GPS data processed {"connection_id":174757,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:42:55] local.INFO: Acknowledgment sent {"connection_id":174757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:43:26] local.INFO: TCP Data received {"connection_id":174757,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:43:26] local.INFO: Processing buffer {"connection_id":174757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:43:26] local.INFO: Packet analysis {"connection_id":174757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:43:26] local.INFO: Extracted packet for processing {"connection_id":174757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:43:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890603008001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:43: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-09-06 00:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788635469000,"timestamp_ms":1788635469000,"timestamp_seconds":1788635469,"priority":1,"record_length":96,"hex_timestamp":"000001a072fb54c8"} 
[2026-09-06 00:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:43: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-09-06 00: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 00:43: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-09-06 00: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-09-06 00:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:43:26] 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-09-06 00:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890603008001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890603008001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:43:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:43:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890603008001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":174757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:43:26] local.INFO: GPS data processed {"connection_id":174757,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:43:26] local.INFO: Acknowledgment sent {"connection_id":174757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:43:54] local.INFO: TCP Data received {"connection_id":173425,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:43:54] local.INFO: Processing buffer {"connection_id":173425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:43:54] local.INFO: IMEI packet received {"connection_id":173425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":173425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:43:59] local.INFO: TCP Data received {"connection_id":173425,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:43:59] local.INFO: Processing buffer {"connection_id":173425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:43:59] local.INFO: IMEI packet received {"connection_id":173425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":173425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:44:00] local.INFO: TCP Data received {"connection_id":173425,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:44:00] local.INFO: Processing buffer {"connection_id":173425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:44:00] local.INFO: Packet analysis {"connection_id":173425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:44:00] local.INFO: Extracted packet for processing {"connection_id":173425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:44:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890603008001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:44:00] 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-09-06 00:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788635469000,"timestamp_ms":1788635469000,"timestamp_seconds":1788635469,"priority":1,"record_length":96,"hex_timestamp":"000001a072fb54c8"} 
[2026-09-06 00:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 00:44:00] 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-09-06 00:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890603008001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890603008001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:44:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:44:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890603008001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":173425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:44:00] local.INFO: GPS data processed {"connection_id":173425,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:44:00] local.INFO: Acknowledgment sent {"connection_id":173425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:44:05] local.INFO: TCP Data received {"connection_id":173425,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:44:05] local.INFO: Processing buffer {"connection_id":173425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:44:05] local.INFO: Packet analysis {"connection_id":173425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:44:05] local.INFO: Extracted packet for processing {"connection_id":173425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:44:05] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890603008001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788635469000,"timestamp_ms":1788635469000,"timestamp_seconds":1788635469,"priority":1,"record_length":96,"hex_timestamp":"000001a072fb54c8"} 
[2026-09-06 00:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 00:44: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-09-06 00: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-09-06 00:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890603008001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890603008001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:44:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:44:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890603008001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":173425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:44:05] local.INFO: GPS data processed {"connection_id":173425,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:44:05] local.INFO: Acknowledgment sent {"connection_id":173425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:44:49] local.INFO: TCP Data received {"connection_id":172073,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:44:49] local.INFO: Processing buffer {"connection_id":172073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:44:49] local.INFO: IMEI packet received {"connection_id":172073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":172073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:44:54] local.INFO: TCP Data received {"connection_id":172073,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:44:54] local.INFO: Processing buffer {"connection_id":172073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:44:54] local.INFO: IMEI packet received {"connection_id":172073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":172073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:44:55] local.INFO: TCP Data received {"connection_id":172073,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:44:55] local.INFO: Processing buffer {"connection_id":172073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:44:55] local.INFO: Packet analysis {"connection_id":172073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:44:55] local.INFO: Extracted packet for processing {"connection_id":172073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:44:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890603008001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788635469000,"timestamp_ms":1788635469000,"timestamp_seconds":1788635469,"priority":1,"record_length":96,"hex_timestamp":"000001a072fb54c8"} 
[2026-09-06 00:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:44: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-09-06 00:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 00:44:55] 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-09-06 00:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:44:55] 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-09-06 00:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890603008001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890603008001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:44:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:44:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890603008001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":172073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:44:55] local.INFO: GPS data processed {"connection_id":172073,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:44:55] local.INFO: Acknowledgment sent {"connection_id":172073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:45:26] local.INFO: TCP Data received {"connection_id":172073,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:45:26] local.INFO: Processing buffer {"connection_id":172073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:45:26] local.INFO: Packet analysis {"connection_id":172073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:45:26] local.INFO: Extracted packet for processing {"connection_id":172073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:45:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890603008001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:45: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-09-06 00:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788635469000,"timestamp_ms":1788635469000,"timestamp_seconds":1788635469,"priority":1,"record_length":96,"hex_timestamp":"000001a072fb54c8"} 
[2026-09-06 00:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:45: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-09-06 00:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 00:45: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-09-06 00:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:45:26] 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-09-06 00:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890603008001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890603008001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:45:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:45:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890603008001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":172073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:45:26] local.INFO: GPS data processed {"connection_id":172073,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:45:26] local.INFO: Acknowledgment sent {"connection_id":172073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:45:49] local.INFO: TCP Data received {"connection_id":173426,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:45:49] local.INFO: Processing buffer {"connection_id":173426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:45:49] local.INFO: IMEI packet received {"connection_id":173426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":173426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:45:54] local.INFO: TCP Data received {"connection_id":173426,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:45:54] local.INFO: Processing buffer {"connection_id":173426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:45:54] local.INFO: IMEI packet received {"connection_id":173426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":173426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:45:55] local.INFO: TCP Data received {"connection_id":173426,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:45:55] local.INFO: Processing buffer {"connection_id":173426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:45:55] local.INFO: Packet analysis {"connection_id":173426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:45:55] local.INFO: Extracted packet for processing {"connection_id":173426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:45:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 00:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890603008001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788635469000,"timestamp_ms":1788635469000,"timestamp_seconds":1788635469,"priority":1,"record_length":96,"hex_timestamp":"000001a072fb54c8"} 
[2026-09-06 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-09-06 00:45: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-09-06 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 00:45:55] 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-09-06 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-09-06 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-09-06 00:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:45:55] 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-09-06 00:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890603008001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890603008001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:45:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:45:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890603008001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":173426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:45:55] local.INFO: GPS data processed {"connection_id":173426,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:45:55] local.INFO: Acknowledgment sent {"connection_id":173426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:46:26] local.INFO: TCP Data received {"connection_id":173426,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:46:26] local.INFO: Processing buffer {"connection_id":173426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072fb54c8012d532d0006497048000601472f..."} 
[2026-09-06 00:46:26] local.INFO: Packet analysis {"connection_id":173426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:46:26] local.INFO: Extracted packet for processing {"connection_id":173426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072fb"} 
[2026-09-06 00:46:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890603008001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:46: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-09-06 00:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788635469000,"timestamp_ms":1788635469000,"timestamp_seconds":1788635469,"priority":1,"record_length":96,"hex_timestamp":"000001a072fb54c8"} 
[2026-09-06 00:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:46: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-09-06 00:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 00:46: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-09-06 00: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-09-06 00:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:46:26] 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-09-06 00:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890603008001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890603008001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:46:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:46:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890603008001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":173426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:46:26] local.INFO: GPS data processed {"connection_id":173426,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:46:26] local.INFO: Acknowledgment sent {"connection_id":173426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:46:33] local.INFO: TCP Data received {"connection_id":173427,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:46:33] local.INFO: Processing buffer {"connection_id":173427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:46:33] local.INFO: IMEI packet received {"connection_id":173427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 00:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":173427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:46:48] local.INFO: TCP Data received {"connection_id":173428,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:46:48] local.INFO: Processing buffer {"connection_id":173428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:46:48] local.INFO: IMEI packet received {"connection_id":173428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":173428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:46:49] local.INFO: TCP Data received {"connection_id":173428,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:46:49] local.INFO: Processing buffer {"connection_id":173428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:46:49] local.INFO: IMEI packet received {"connection_id":173428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":173428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:46:54] local.INFO: TCP Data received {"connection_id":173428,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:46:54] local.INFO: Processing buffer {"connection_id":173428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:46:54] local.INFO: IMEI packet received {"connection_id":173428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":173428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:46:55] local.INFO: TCP Data received {"connection_id":173428,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:46:55] local.INFO: Processing buffer {"connection_id":173428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:46:55] local.INFO: Packet analysis {"connection_id":173428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:46:55] local.INFO: Extracted packet for processing {"connection_id":173428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:46:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890680064001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788635770000,"timestamp_ms":1788635770000,"timestamp_seconds":1788635770,"priority":1,"record_length":96,"hex_timestamp":"000001a072ffec90"} 
[2026-09-06 00:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 00:46: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-09-06 00: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-09-06 00:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:46:55] 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-09-06 00:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890680064001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890680064001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:46:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:46:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890680064001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":173428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:46:55] local.INFO: GPS data processed {"connection_id":173428,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:46:55] local.INFO: Acknowledgment sent {"connection_id":173428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:47:26] local.INFO: TCP Data received {"connection_id":173428,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:47:26] local.INFO: Processing buffer {"connection_id":173428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:47:26] local.INFO: Packet analysis {"connection_id":173428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:47:26] local.INFO: Extracted packet for processing {"connection_id":173428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:47:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890680064001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:47: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-09-06 00:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788635770000,"timestamp_ms":1788635770000,"timestamp_seconds":1788635770,"priority":1,"record_length":96,"hex_timestamp":"000001a072ffec90"} 
[2026-09-06 00:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 00:47: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-09-06 00: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-09-06 00:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:47:26] 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-09-06 00:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890680064001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890680064001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:47:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:47:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890680064001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":173428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:47:26] local.INFO: GPS data processed {"connection_id":173428,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:47:26] local.INFO: Acknowledgment sent {"connection_id":173428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:47:49] local.INFO: TCP Data received {"connection_id":173430,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:47:49] local.INFO: Processing buffer {"connection_id":173430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:47:49] local.INFO: IMEI packet received {"connection_id":173430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":173430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:47:54] local.INFO: TCP Data received {"connection_id":173430,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:47:54] local.INFO: Processing buffer {"connection_id":173430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:47:54] local.INFO: IMEI packet received {"connection_id":173430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":173430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:47:55] local.INFO: TCP Data received {"connection_id":173430,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:47:55] local.INFO: Processing buffer {"connection_id":173430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:47:55] local.INFO: Packet analysis {"connection_id":173430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:47:55] local.INFO: Extracted packet for processing {"connection_id":173430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:47:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 00:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890680064001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788635770000,"timestamp_ms":1788635770000,"timestamp_seconds":1788635770,"priority":1,"record_length":96,"hex_timestamp":"000001a072ffec90"} 
[2026-09-06 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-09-06 00:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 00:47: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-09-06 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-09-06 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-09-06 00:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:47:55] 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-09-06 00:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890680064001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890680064001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:47:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:47:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890680064001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":173430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:47:55] local.INFO: GPS data processed {"connection_id":173430,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:47:55] local.INFO: Acknowledgment sent {"connection_id":173430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:48:26] local.INFO: TCP Data received {"connection_id":173430,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:48:26] local.INFO: Processing buffer {"connection_id":173430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:48:26] local.INFO: Packet analysis {"connection_id":173430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:48:26] local.INFO: Extracted packet for processing {"connection_id":173430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:48:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890680064001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:48: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-09-06 00:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788635770000,"timestamp_ms":1788635770000,"timestamp_seconds":1788635770,"priority":1,"record_length":96,"hex_timestamp":"000001a072ffec90"} 
[2026-09-06 00:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 00:48: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-09-06 00: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-09-06 00:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:48:26] 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-09-06 00:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890680064001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890680064001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:48:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:48:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890680064001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":173430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:48:26] local.INFO: GPS data processed {"connection_id":173430,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:48:26] local.INFO: Acknowledgment sent {"connection_id":173430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:48:54] local.INFO: TCP Data received {"connection_id":172319,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:48:54] local.INFO: Processing buffer {"connection_id":172319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:48:54] local.INFO: IMEI packet received {"connection_id":172319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":172319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:48:59] local.INFO: TCP Data received {"connection_id":172319,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:48:59] local.INFO: Processing buffer {"connection_id":172319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:48:59] local.INFO: IMEI packet received {"connection_id":172319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":172319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:49:00] local.INFO: TCP Data received {"connection_id":172319,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:49:00] local.INFO: Processing buffer {"connection_id":172319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:49:00] local.INFO: Packet analysis {"connection_id":172319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:49:00] local.INFO: Extracted packet for processing {"connection_id":172319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:49:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890680064001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:49:00] 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-09-06 00:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788635770000,"timestamp_ms":1788635770000,"timestamp_seconds":1788635770,"priority":1,"record_length":96,"hex_timestamp":"000001a072ffec90"} 
[2026-09-06 00:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 00:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:49: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-09-06 00:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890680064001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890680064001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:49:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:49:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890680064001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":172319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:49:00] local.INFO: GPS data processed {"connection_id":172319,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:49:00] local.INFO: Acknowledgment sent {"connection_id":172319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:49:05] local.INFO: TCP Data received {"connection_id":172319,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:49:05] local.INFO: Processing buffer {"connection_id":172319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:49:05] local.INFO: Packet analysis {"connection_id":172319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:49:05] local.INFO: Extracted packet for processing {"connection_id":172319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:49:05] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890680064001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788635770000,"timestamp_ms":1788635770000,"timestamp_seconds":1788635770,"priority":1,"record_length":96,"hex_timestamp":"000001a072ffec90"} 
[2026-09-06 00:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 00:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:49:05] 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-09-06 00:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890680064001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890680064001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:49:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:49:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890680064001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":172319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:49:05] local.INFO: GPS data processed {"connection_id":172319,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:49:05] local.INFO: Acknowledgment sent {"connection_id":172319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:49:49] local.INFO: TCP Data received {"connection_id":174759,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:49:49] local.INFO: Processing buffer {"connection_id":174759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:49:49] local.INFO: IMEI packet received {"connection_id":174759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":174759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:49:54] local.INFO: TCP Data received {"connection_id":174759,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:49:54] local.INFO: Processing buffer {"connection_id":174759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:49:54] local.INFO: IMEI packet received {"connection_id":174759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":174759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:49:55] local.INFO: TCP Data received {"connection_id":174759,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:49:55] local.INFO: Processing buffer {"connection_id":174759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:49:55] local.INFO: Packet analysis {"connection_id":174759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:49:55] local.INFO: Extracted packet for processing {"connection_id":174759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:49:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890680064001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788635770000,"timestamp_ms":1788635770000,"timestamp_seconds":1788635770,"priority":1,"record_length":96,"hex_timestamp":"000001a072ffec90"} 
[2026-09-06 00:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 00:49: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-09-06 00:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:49:55] 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-09-06 00:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890680064001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890680064001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:49:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:49:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890680064001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":174759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:49:55] local.INFO: GPS data processed {"connection_id":174759,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:49:55] local.INFO: Acknowledgment sent {"connection_id":174759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:50:26] local.INFO: TCP Data received {"connection_id":174759,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:50:26] local.INFO: Processing buffer {"connection_id":174759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:50:26] local.INFO: Packet analysis {"connection_id":174759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:50:26] local.INFO: Extracted packet for processing {"connection_id":174759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:50:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890680064001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:50: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-09-06 00:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788635770000,"timestamp_ms":1788635770000,"timestamp_seconds":1788635770,"priority":1,"record_length":96,"hex_timestamp":"000001a072ffec90"} 
[2026-09-06 00:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 00:50: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-09-06 00:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:50:26] 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-09-06 00:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890680064001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890680064001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:50:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:50:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890680064001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":174759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:50:26] local.INFO: GPS data processed {"connection_id":174759,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:50:26] local.INFO: Acknowledgment sent {"connection_id":174759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:50:49] local.INFO: TCP Data received {"connection_id":173432,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:50:49] local.INFO: Processing buffer {"connection_id":173432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:50:49] local.INFO: IMEI packet received {"connection_id":173432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":173432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:50:54] local.INFO: TCP Data received {"connection_id":173432,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:50:54] local.INFO: Processing buffer {"connection_id":173432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:50:54] local.INFO: IMEI packet received {"connection_id":173432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":173432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:50:55] local.INFO: TCP Data received {"connection_id":173432,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:50:55] local.INFO: Processing buffer {"connection_id":173432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:50:55] local.INFO: Packet analysis {"connection_id":173432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:50:55] local.INFO: Extracted packet for processing {"connection_id":173432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:50:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890680064001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788635770000,"timestamp_ms":1788635770000,"timestamp_seconds":1788635770,"priority":1,"record_length":96,"hex_timestamp":"000001a072ffec90"} 
[2026-09-06 00:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00: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-09-06 00: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-09-06 00:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:50:55] 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-09-06 00:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890680064001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890680064001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:50:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:50:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890680064001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":173432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:50:55] local.INFO: GPS data processed {"connection_id":173432,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:50:55] local.INFO: Acknowledgment sent {"connection_id":173432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:51:27] local.INFO: TCP Data received {"connection_id":173432,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:51:27] local.INFO: Processing buffer {"connection_id":173432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a072ffec90012d532d0006497048000601472d..."} 
[2026-09-06 00:51:27] local.INFO: Packet analysis {"connection_id":173432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:51:27] local.INFO: Extracted packet for processing {"connection_id":173432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a072ff"} 
[2026-09-06 00:51:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890680064001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:51:27] 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-09-06 00:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788635770000,"timestamp_ms":1788635770000,"timestamp_seconds":1788635770,"priority":1,"record_length":96,"hex_timestamp":"000001a072ffec90"} 
[2026-09-06 00:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 00:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 00:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 00: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-09-06 00:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890680064001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890680064001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:51:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:51:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890680064001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":173432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:51:27] local.INFO: GPS data processed {"connection_id":173432,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:51:27] local.INFO: Acknowledgment sent {"connection_id":173432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:51:49] local.INFO: TCP Data received {"connection_id":172076,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:51:49] local.INFO: Processing buffer {"connection_id":172076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:51:49] local.INFO: IMEI packet received {"connection_id":172076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":172076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:51:50] local.INFO: TCP Data received {"connection_id":172076,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:51:50] local.INFO: Processing buffer {"connection_id":172076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:51:50] local.INFO: IMEI packet received {"connection_id":172076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":172076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:51:55] local.INFO: TCP Data received {"connection_id":172076,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:51:55] local.INFO: Processing buffer {"connection_id":172076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:51:55] local.INFO: IMEI packet received {"connection_id":172076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":172076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:51:55] local.INFO: TCP Data received {"connection_id":172076,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:51:55] local.INFO: Processing buffer {"connection_id":172076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:51:55] local.INFO: Packet analysis {"connection_id":172076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:51:55] local.INFO: Extracted packet for processing {"connection_id":172076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:51:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890757120001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788636071000,"timestamp_ms":1788636071000,"timestamp_seconds":1788636071,"priority":1,"record_length":96,"hex_timestamp":"000001a073048458"} 
[2026-09-06 00:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:51: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-09-06 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 00:51: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-09-06 00: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-09-06 00:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:51:55] 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-09-06 00:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890757120001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890757120001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:51:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:51:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890757120001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":172076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:51:55] local.INFO: GPS data processed {"connection_id":172076,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:51:55] local.INFO: Acknowledgment sent {"connection_id":172076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:52:18] local.INFO: TCP Data received {"connection_id":174760,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:52:18] local.INFO: Processing buffer {"connection_id":174760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:52:18] local.INFO: IMEI packet received {"connection_id":174760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 00:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":174760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:52:26] local.INFO: TCP Data received {"connection_id":172076,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:52:26] local.INFO: Processing buffer {"connection_id":172076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:52:26] local.INFO: Packet analysis {"connection_id":172076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:52:26] local.INFO: Extracted packet for processing {"connection_id":172076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:52:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890757120001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:52: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-09-06 00:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788636071000,"timestamp_ms":1788636071000,"timestamp_seconds":1788636071,"priority":1,"record_length":96,"hex_timestamp":"000001a073048458"} 
[2026-09-06 00:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:52: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-09-06 00: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":233,"data_length":795,"current_offset":136} 
[2026-09-06 00:52: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-09-06 00: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-09-06 00:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:52:26] 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-09-06 00:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890757120001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890757120001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:52:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:52:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890757120001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":172076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:52:26] local.INFO: GPS data processed {"connection_id":172076,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:52:26] local.INFO: Acknowledgment sent {"connection_id":172076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:52:49] local.INFO: TCP Data received {"connection_id":174761,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:52:49] local.INFO: Processing buffer {"connection_id":174761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:52:49] local.INFO: IMEI packet received {"connection_id":174761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":174761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:52:54] local.INFO: TCP Data received {"connection_id":174761,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:52:54] local.INFO: Processing buffer {"connection_id":174761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:52:54] local.INFO: IMEI packet received {"connection_id":174761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":174761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:52:55] local.INFO: TCP Data received {"connection_id":174761,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:52:55] local.INFO: Processing buffer {"connection_id":174761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:52:55] local.INFO: Packet analysis {"connection_id":174761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:52:55] local.INFO: Extracted packet for processing {"connection_id":174761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:52:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890757120001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788636071000,"timestamp_ms":1788636071000,"timestamp_seconds":1788636071,"priority":1,"record_length":96,"hex_timestamp":"000001a073048458"} 
[2026-09-06 00:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:52: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-09-06 00:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 00:52: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-09-06 00:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:52:55] 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-09-06 00:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890757120001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890757120001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:52:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:52:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890757120001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":174761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:52:55] local.INFO: GPS data processed {"connection_id":174761,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:52:55] local.INFO: Acknowledgment sent {"connection_id":174761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:53:26] local.INFO: TCP Data received {"connection_id":174761,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:53:26] local.INFO: Processing buffer {"connection_id":174761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:53:26] local.INFO: Packet analysis {"connection_id":174761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:53:26] local.INFO: Extracted packet for processing {"connection_id":174761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:53:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890757120001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:53: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-09-06 00:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788636071000,"timestamp_ms":1788636071000,"timestamp_seconds":1788636071,"priority":1,"record_length":96,"hex_timestamp":"000001a073048458"} 
[2026-09-06 00:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:53: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-09-06 00:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 00:53: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-09-06 00:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:53:26] 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-09-06 00:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890757120001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890757120001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:53:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:53:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890757120001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":174761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:53:26] local.INFO: GPS data processed {"connection_id":174761,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:53:26] local.INFO: Acknowledgment sent {"connection_id":174761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:53:49] local.INFO: TCP Data received {"connection_id":172321,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:53:49] local.INFO: Processing buffer {"connection_id":172321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:53:49] local.INFO: IMEI packet received {"connection_id":172321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":172321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:53:54] local.INFO: TCP Data received {"connection_id":172321,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:53:54] local.INFO: Processing buffer {"connection_id":172321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:53:54] local.INFO: IMEI packet received {"connection_id":172321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":172321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:53:55] local.INFO: TCP Data received {"connection_id":172321,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:53:55] local.INFO: Processing buffer {"connection_id":172321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:53:55] local.INFO: Packet analysis {"connection_id":172321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:53:55] local.INFO: Extracted packet for processing {"connection_id":172321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:53:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890757120001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788636071000,"timestamp_ms":1788636071000,"timestamp_seconds":1788636071,"priority":1,"record_length":96,"hex_timestamp":"000001a073048458"} 
[2026-09-06 00:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:53: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-09-06 00:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 00:53: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-09-06 00:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:53:55] 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-09-06 00:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890757120001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890757120001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:53:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:53:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890757120001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":172321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:53:55] local.INFO: GPS data processed {"connection_id":172321,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:53:55] local.INFO: Acknowledgment sent {"connection_id":172321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:54:26] local.INFO: TCP Data received {"connection_id":172321,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:54:26] local.INFO: Processing buffer {"connection_id":172321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:54:26] local.INFO: Packet analysis {"connection_id":172321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:54:26] local.INFO: Extracted packet for processing {"connection_id":172321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:54:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890757120001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:54: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-09-06 00:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788636071000,"timestamp_ms":1788636071000,"timestamp_seconds":1788636071,"priority":1,"record_length":96,"hex_timestamp":"000001a073048458"} 
[2026-09-06 00:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:54: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-09-06 00:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 00:54: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-09-06 00:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:54:26] 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-09-06 00:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890757120001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890757120001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:54:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:54:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890757120001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":172321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:54:26] local.INFO: GPS data processed {"connection_id":172321,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:54:26] local.INFO: Acknowledgment sent {"connection_id":172321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:54:49] local.INFO: TCP Data received {"connection_id":172077,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:54:49] local.INFO: Processing buffer {"connection_id":172077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:54:49] local.INFO: IMEI packet received {"connection_id":172077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":172077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:54:54] local.INFO: TCP Data received {"connection_id":172077,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:54:54] local.INFO: Processing buffer {"connection_id":172077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:54:54] local.INFO: IMEI packet received {"connection_id":172077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":172077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:54:55] local.INFO: TCP Data received {"connection_id":172077,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:54:55] local.INFO: Processing buffer {"connection_id":172077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:54:55] local.INFO: Packet analysis {"connection_id":172077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:54:55] local.INFO: Extracted packet for processing {"connection_id":172077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:54:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890757120001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788636071000,"timestamp_ms":1788636071000,"timestamp_seconds":1788636071,"priority":1,"record_length":96,"hex_timestamp":"000001a073048458"} 
[2026-09-06 00:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:54: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-09-06 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 00:54: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-09-06 00: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-09-06 00:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:54:55] 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-09-06 00:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890757120001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890757120001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:54:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:54:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890757120001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":172077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:54:55] local.INFO: GPS data processed {"connection_id":172077,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:54:55] local.INFO: Acknowledgment sent {"connection_id":172077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:55:26] local.INFO: TCP Data received {"connection_id":172077,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:55:26] local.INFO: Processing buffer {"connection_id":172077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:55:26] local.INFO: Packet analysis {"connection_id":172077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:55:26] local.INFO: Extracted packet for processing {"connection_id":172077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:55:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890757120001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:55: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-09-06 00:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788636071000,"timestamp_ms":1788636071000,"timestamp_seconds":1788636071,"priority":1,"record_length":96,"hex_timestamp":"000001a073048458"} 
[2026-09-06 00:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:55: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-09-06 00:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 00:55: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-09-06 00:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:55:26] 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-09-06 00:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890757120001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890757120001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:55:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:55:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890757120001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":172077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:55:26] local.INFO: GPS data processed {"connection_id":172077,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:55:26] local.INFO: Acknowledgment sent {"connection_id":172077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:55:49] local.INFO: TCP Data received {"connection_id":174762,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:55:49] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:55:49] local.INFO: IMEI packet received {"connection_id":174762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":174762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:55:54] local.INFO: TCP Data received {"connection_id":174762,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:55:54] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:55:54] local.INFO: IMEI packet received {"connection_id":174762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":174762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:55:55] local.INFO: TCP Data received {"connection_id":174762,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:55:55] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:55:55] local.INFO: Packet analysis {"connection_id":174762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:55:55] local.INFO: Extracted packet for processing {"connection_id":174762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:55:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890757120001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788636071000,"timestamp_ms":1788636071000,"timestamp_seconds":1788636071,"priority":1,"record_length":96,"hex_timestamp":"000001a073048458"} 
[2026-09-06 00:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:55: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-09-06 00:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 00:55: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-09-06 00:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:55:55] 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-09-06 00:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890757120001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890757120001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:55:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:55:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890757120001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":174762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:55:55] local.INFO: GPS data processed {"connection_id":174762,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:55:55] local.INFO: Acknowledgment sent {"connection_id":174762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:56:26] local.INFO: TCP Data received {"connection_id":174762,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:56:26] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073048458012d532d0006497048000601472d..."} 
[2026-09-06 00:56:26] local.INFO: Packet analysis {"connection_id":174762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:56:26] local.INFO: Extracted packet for processing {"connection_id":174762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07304"} 
[2026-09-06 00:56:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890757120001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:56: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-09-06 00:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788636071000,"timestamp_ms":1788636071000,"timestamp_seconds":1788636071,"priority":1,"record_length":96,"hex_timestamp":"000001a073048458"} 
[2026-09-06 00:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:56: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-09-06 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 00:56: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-09-06 00: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-09-06 00:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:56:26] 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-09-06 00:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890757120001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890757120001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:56:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:56:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890757120001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":174762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:56:26] local.INFO: GPS data processed {"connection_id":174762,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:56:26] local.INFO: Acknowledgment sent {"connection_id":174762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:56:49] local.INFO: TCP Data received {"connection_id":173435,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:56:49] local.INFO: Processing buffer {"connection_id":173435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:56:49] local.INFO: IMEI packet received {"connection_id":173435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":173435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:56:50] local.INFO: TCP Data received {"connection_id":173435,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:56:50] local.INFO: Processing buffer {"connection_id":173435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:56:50] local.INFO: IMEI packet received {"connection_id":173435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":173435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:56:54] local.INFO: TCP Data received {"connection_id":173435,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:56:54] local.INFO: Processing buffer {"connection_id":173435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:56:54] local.INFO: IMEI packet received {"connection_id":173435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":173435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:56:55] local.INFO: TCP Data received {"connection_id":173435,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:56:55] local.INFO: Processing buffer {"connection_id":173435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:56:55] local.INFO: Packet analysis {"connection_id":173435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 00:56:55] local.INFO: Extracted packet for processing {"connection_id":173435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 00:56:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890834176001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788636372000,"timestamp_ms":1788636372000,"timestamp_seconds":1788636372,"priority":1,"record_length":96,"hex_timestamp":"000001a073091c20"} 
[2026-09-06 00:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:56: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-09-06 00:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 00:56: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-09-06 00:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:56:55] 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-09-06 00:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890834176001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890834176001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:56:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:56:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890834176001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":173435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:56:55] local.INFO: GPS data processed {"connection_id":173435,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:56:55] local.INFO: Acknowledgment sent {"connection_id":173435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:57:26] local.INFO: TCP Data received {"connection_id":173435,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:57:26] local.INFO: Processing buffer {"connection_id":173435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:57:26] local.INFO: Packet analysis {"connection_id":173435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 00:57:26] local.INFO: Extracted packet for processing {"connection_id":173435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 00:57:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890834176001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:57: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-09-06 00:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788636372000,"timestamp_ms":1788636372000,"timestamp_seconds":1788636372,"priority":1,"record_length":96,"hex_timestamp":"000001a073091c20"} 
[2026-09-06 00:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:57: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-09-06 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 00:57: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-09-06 00: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-09-06 00:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:57:26] 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-09-06 00:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890834176001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890834176001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:57:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:57:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890834176001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":173435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:57:26] local.INFO: GPS data processed {"connection_id":173435,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:57:26] local.INFO: Acknowledgment sent {"connection_id":173435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:57:48] local.INFO: TCP Data received {"connection_id":173436,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:57:48] local.INFO: Processing buffer {"connection_id":173436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:57:48] local.INFO: IMEI packet received {"connection_id":173436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 00:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":173436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:57:49] local.INFO: TCP Data received {"connection_id":174763,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:57:49] local.INFO: Processing buffer {"connection_id":174763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:57:49] local.INFO: IMEI packet received {"connection_id":174763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":174763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:57:54] local.INFO: TCP Data received {"connection_id":174763,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:57:54] local.INFO: Processing buffer {"connection_id":174763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:57:54] local.INFO: IMEI packet received {"connection_id":174763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":174763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:57:55] local.INFO: TCP Data received {"connection_id":174763,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:57:55] local.INFO: Processing buffer {"connection_id":174763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:57:55] local.INFO: Packet analysis {"connection_id":174763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 00:57:55] local.INFO: Extracted packet for processing {"connection_id":174763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 00:57:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890834176001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788636372000,"timestamp_ms":1788636372000,"timestamp_seconds":1788636372,"priority":1,"record_length":96,"hex_timestamp":"000001a073091c20"} 
[2026-09-06 00:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:57: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-09-06 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 00:57: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-09-06 00: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-09-06 00:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:57:55] 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-09-06 00:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890834176001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890834176001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:57:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:57:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890834176001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":174763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:57:55] local.INFO: GPS data processed {"connection_id":174763,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:57:55] local.INFO: Acknowledgment sent {"connection_id":174763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:58:13] local.INFO: TCP Data received {"connection_id":172323,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:58:13] local.INFO: Processing buffer {"connection_id":172323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 00:58:13] local.INFO: IMEI packet received {"connection_id":172323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 00:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":172323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:58:26] local.INFO: TCP Data received {"connection_id":174763,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:58:26] local.INFO: Processing buffer {"connection_id":174763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:58:26] local.INFO: Packet analysis {"connection_id":174763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 00:58:26] local.INFO: Extracted packet for processing {"connection_id":174763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 00:58:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890834176001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:58: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-09-06 00:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788636372000,"timestamp_ms":1788636372000,"timestamp_seconds":1788636372,"priority":1,"record_length":96,"hex_timestamp":"000001a073091c20"} 
[2026-09-06 00:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:58: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-09-06 00:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 00:58: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-09-06 00:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:58:26] 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-09-06 00:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890834176001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890834176001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:58:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:58:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890834176001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":174763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:58:26] local.INFO: GPS data processed {"connection_id":174763,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:58:26] local.INFO: Acknowledgment sent {"connection_id":174763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:58:49] local.INFO: TCP Data received {"connection_id":172325,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:58:49] local.INFO: Processing buffer {"connection_id":172325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:58:49] local.INFO: IMEI packet received {"connection_id":172325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":172325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:58:54] local.INFO: TCP Data received {"connection_id":172325,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:58:54] local.INFO: Processing buffer {"connection_id":172325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:58:54] local.INFO: IMEI packet received {"connection_id":172325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":172325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:58:55] local.INFO: TCP Data received {"connection_id":172325,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:58:55] local.INFO: Processing buffer {"connection_id":172325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:58:55] local.INFO: Packet analysis {"connection_id":172325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 00:58:55] local.INFO: Extracted packet for processing {"connection_id":172325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 00:58:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 00:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890834176001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788636372000,"timestamp_ms":1788636372000,"timestamp_seconds":1788636372,"priority":1,"record_length":96,"hex_timestamp":"000001a073091c20"} 
[2026-09-06 00:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:58: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-09-06 00:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 00:58: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-09-06 00:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 00:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:58: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-09-06 00:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890834176001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890834176001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:58:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:58:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890834176001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":172325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:58:55] local.INFO: GPS data processed {"connection_id":172325,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:58:55] local.INFO: Acknowledgment sent {"connection_id":172325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:59:26] local.INFO: TCP Data received {"connection_id":172325,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:59:26] local.INFO: Processing buffer {"connection_id":172325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:59:26] local.INFO: Packet analysis {"connection_id":172325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 00:59:26] local.INFO: Extracted packet for processing {"connection_id":172325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 00:59:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890834176001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:59: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-09-06 00:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788636372000,"timestamp_ms":1788636372000,"timestamp_seconds":1788636372,"priority":1,"record_length":96,"hex_timestamp":"000001a073091c20"} 
[2026-09-06 00:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:59: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-09-06 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 00:59: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-09-06 00: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-09-06 00:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890834176001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890834176001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:59:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:59:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890834176001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":172325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:59:26] local.INFO: GPS data processed {"connection_id":172325,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:59:26] local.INFO: Acknowledgment sent {"connection_id":172325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 00:59:50] local.INFO: TCP Data received {"connection_id":172078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:59:50] local.INFO: Processing buffer {"connection_id":172078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:59:50] local.INFO: IMEI packet received {"connection_id":172078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 00:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":172078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 00:59:54] local.INFO: TCP Data received {"connection_id":172078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:59:54] local.INFO: Processing buffer {"connection_id":172078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 00:59:54] local.INFO: IMEI packet received {"connection_id":172078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 00:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":172078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 00:59:55] local.INFO: TCP Data received {"connection_id":172078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:59:55] local.INFO: Processing buffer {"connection_id":172078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 00:59:55] local.INFO: Packet analysis {"connection_id":172078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 00:59:55] local.INFO: Extracted packet for processing {"connection_id":172078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 00:59:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 00: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-09-06 00:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890834176001,"note":"Value kept but may cause issues"} 
[2026-09-06 00:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 00:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 00:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 00:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788636372000,"timestamp_ms":1788636372000,"timestamp_seconds":1788636372,"priority":1,"record_length":96,"hex_timestamp":"000001a073091c20"} 
[2026-09-06 00:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 00:59: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-09-06 00: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":255,"data_length":795,"current_offset":136} 
[2026-09-06 00:59: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-09-06 00: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-09-06 00:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 00:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 00:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 00:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 00:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 00:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 00:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 00:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890834176001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 00:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 00:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 00:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890834176001,"description":"Unknown IO ID 0"} 
[2026-09-06 00:59:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 00:59:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 00:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 00:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 00:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890834176001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 00:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":172078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 00:59:55] local.INFO: GPS data processed {"connection_id":172078,"processed":1,"errors":0,"total":1} 
[2026-09-06 00:59:55] local.INFO: Acknowledgment sent {"connection_id":172078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:00:26] local.INFO: TCP Data received {"connection_id":172078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 01:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 01:00:26] local.INFO: Processing buffer {"connection_id":172078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 01:00:26] local.INFO: Packet analysis {"connection_id":172078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 01:00:26] local.INFO: Extracted packet for processing {"connection_id":172078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 01:00:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890834176001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:00: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-09-06 01:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788636372000,"timestamp_ms":1788636372000,"timestamp_seconds":1788636372,"priority":1,"record_length":96,"hex_timestamp":"000001a073091c20"} 
[2026-09-06 01:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:00: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-09-06 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:00: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-09-06 01: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-09-06 01:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:00: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-09-06 01:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890834176001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890834176001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:00:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:00:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890834176001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":172078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:00:26] local.INFO: GPS data processed {"connection_id":172078,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:00:26] local.INFO: Acknowledgment sent {"connection_id":172078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:00:49] local.INFO: TCP Data received {"connection_id":172327,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:00:49] local.INFO: Processing buffer {"connection_id":172327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:00:49] local.INFO: IMEI packet received {"connection_id":172327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":172327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:00:54] local.INFO: TCP Data received {"connection_id":172327,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:00:54] local.INFO: Processing buffer {"connection_id":172327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:00:54] local.INFO: IMEI packet received {"connection_id":172327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":172327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:00:55] local.INFO: TCP Data received {"connection_id":172327,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 01:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 01:00:55] local.INFO: Processing buffer {"connection_id":172327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 01:00:55] local.INFO: Packet analysis {"connection_id":172327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 01:00:55] local.INFO: Extracted packet for processing {"connection_id":172327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 01:00:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890834176001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788636372000,"timestamp_ms":1788636372000,"timestamp_seconds":1788636372,"priority":1,"record_length":96,"hex_timestamp":"000001a073091c20"} 
[2026-09-06 01:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:00: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-09-06 01:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:00: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-09-06 01:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:00:55] 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-09-06 01:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890834176001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890834176001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:00:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:00:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890834176001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":172327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:00:55] local.INFO: GPS data processed {"connection_id":172327,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:00:55] local.INFO: Acknowledgment sent {"connection_id":172327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:01:26] local.INFO: TCP Data received {"connection_id":172327,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 01:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 01:01:26] local.INFO: Processing buffer {"connection_id":172327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073091c20012d532d0006497048000601472e..."} 
[2026-09-06 01:01:26] local.INFO: Packet analysis {"connection_id":172327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 01:01:26] local.INFO: Extracted packet for processing {"connection_id":172327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07309"} 
[2026-09-06 01:01:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890834176001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:01: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-09-06 01:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788636372000,"timestamp_ms":1788636372000,"timestamp_seconds":1788636372,"priority":1,"record_length":96,"hex_timestamp":"000001a073091c20"} 
[2026-09-06 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-09-06 01:01: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-09-06 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:01: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-09-06 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-09-06 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-09-06 01:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:01: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-09-06 01:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890834176001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890834176001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:01:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:01:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890834176001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":172327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:01:26] local.INFO: GPS data processed {"connection_id":172327,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:01:26] local.INFO: Acknowledgment sent {"connection_id":172327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:01:51] local.INFO: TCP Data received {"connection_id":174766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:01:51] local.INFO: Processing buffer {"connection_id":174766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:01:51] local.INFO: IMEI packet received {"connection_id":174766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":174766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:01:54] local.INFO: TCP Data received {"connection_id":174766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:01:54] local.INFO: Processing buffer {"connection_id":174766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:01:54] local.INFO: IMEI packet received {"connection_id":174766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":174766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:01:59] local.INFO: TCP Data received {"connection_id":174766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:01:59] local.INFO: Processing buffer {"connection_id":174766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:01:59] local.INFO: IMEI packet received {"connection_id":174766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":174766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:02:00] local.INFO: TCP Data received {"connection_id":174766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:02:00] local.INFO: Processing buffer {"connection_id":174766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:02:00] local.INFO: Packet analysis {"connection_id":174766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:02:00] local.INFO: Extracted packet for processing {"connection_id":174766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:02:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890911232001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:02:00] 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-09-06 01:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788636673000,"timestamp_ms":1788636673000,"timestamp_seconds":1788636673,"priority":1,"record_length":96,"hex_timestamp":"000001a0730db3e8"} 
[2026-09-06 01:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:02: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-09-06 01:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890911232001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890911232001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:02:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:02:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890911232001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":174766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:02:00] local.INFO: GPS data processed {"connection_id":174766,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:02:00] local.INFO: Acknowledgment sent {"connection_id":174766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:02:05] local.INFO: TCP Data received {"connection_id":174766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:02:05] local.INFO: Processing buffer {"connection_id":174766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:02:05] local.INFO: Packet analysis {"connection_id":174766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:02:05] local.INFO: Extracted packet for processing {"connection_id":174766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:02:05] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890911232001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788636673000,"timestamp_ms":1788636673000,"timestamp_seconds":1788636673,"priority":1,"record_length":96,"hex_timestamp":"000001a0730db3e8"} 
[2026-09-06 01:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01: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-09-06 01:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890911232001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890911232001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:02:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:02:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890911232001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":174766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:02:05] local.INFO: GPS data processed {"connection_id":174766,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:02:05] local.INFO: Acknowledgment sent {"connection_id":174766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:02:49] local.INFO: TCP Data received {"connection_id":172328,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:02:49] local.INFO: Processing buffer {"connection_id":172328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:02:49] local.INFO: IMEI packet received {"connection_id":172328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":172328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:02:54] local.INFO: TCP Data received {"connection_id":172328,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:02:54] local.INFO: Processing buffer {"connection_id":172328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:02:54] local.INFO: IMEI packet received {"connection_id":172328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":172328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:02:55] local.INFO: TCP Data received {"connection_id":172328,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:02:55] local.INFO: Processing buffer {"connection_id":172328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:02:55] local.INFO: Packet analysis {"connection_id":172328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:02:55] local.INFO: Extracted packet for processing {"connection_id":172328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:02:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890911232001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788636673000,"timestamp_ms":1788636673000,"timestamp_seconds":1788636673,"priority":1,"record_length":96,"hex_timestamp":"000001a0730db3e8"} 
[2026-09-06 01:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:02: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-09-06 01:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:02: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-09-06 01:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:02:55] 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-09-06 01:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890911232001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890911232001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:02:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:02:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890911232001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":172328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:02:55] local.INFO: GPS data processed {"connection_id":172328,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:02:55] local.INFO: Acknowledgment sent {"connection_id":172328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:03:26] local.INFO: TCP Data received {"connection_id":172328,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:03:26] local.INFO: Processing buffer {"connection_id":172328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:03:26] local.INFO: Packet analysis {"connection_id":172328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:03:26] local.INFO: Extracted packet for processing {"connection_id":172328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:03:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890911232001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:03: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-09-06 01:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788636673000,"timestamp_ms":1788636673000,"timestamp_seconds":1788636673,"priority":1,"record_length":96,"hex_timestamp":"000001a0730db3e8"} 
[2026-09-06 01:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01: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-09-06 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:03: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-09-06 01: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-09-06 01:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:03: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-09-06 01:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890911232001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890911232001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:03:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:03:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890911232001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":172328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:03:26] local.INFO: GPS data processed {"connection_id":172328,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:03:26] local.INFO: Acknowledgment sent {"connection_id":172328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:03:33] local.INFO: TCP Data received {"connection_id":172080,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:03:33] local.INFO: Processing buffer {"connection_id":172080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:03:33] local.INFO: IMEI packet received {"connection_id":172080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 01:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":172080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:03:49] local.INFO: TCP Data received {"connection_id":174767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:03:49] local.INFO: Processing buffer {"connection_id":174767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:03:49] local.INFO: IMEI packet received {"connection_id":174767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":174767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:03:54] local.INFO: TCP Data received {"connection_id":174767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:03:54] local.INFO: Processing buffer {"connection_id":174767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:03:54] local.INFO: IMEI packet received {"connection_id":174767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":174767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:03:56] local.INFO: TCP Data received {"connection_id":174767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:03:56] local.INFO: Processing buffer {"connection_id":174767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:03:56] local.INFO: Packet analysis {"connection_id":174767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:03:56] local.INFO: Extracted packet for processing {"connection_id":174767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:03:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890911232001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:03:56] 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-09-06 01:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788636673000,"timestamp_ms":1788636673000,"timestamp_seconds":1788636673,"priority":1,"record_length":96,"hex_timestamp":"000001a0730db3e8"} 
[2026-09-06 01:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:03: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-09-06 01:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01: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-09-06 01:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890911232001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890911232001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:03:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:03:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890911232001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":174767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:03:56] local.INFO: GPS data processed {"connection_id":174767,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:03:56] local.INFO: Acknowledgment sent {"connection_id":174767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:04:13] local.INFO: TCP Data received {"connection_id":172081,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:04:13] local.INFO: Processing buffer {"connection_id":172081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:04:13] local.INFO: IMEI packet received {"connection_id":172081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 01:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":172081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:04:29] local.INFO: TCP Data received {"connection_id":174767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:04:29] local.INFO: Processing buffer {"connection_id":174767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:04:29] local.INFO: Packet analysis {"connection_id":174767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:04:29] local.INFO: Extracted packet for processing {"connection_id":174767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:04:29] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890911232001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:04:29] 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-09-06 01:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788636673000,"timestamp_ms":1788636673000,"timestamp_seconds":1788636673,"priority":1,"record_length":96,"hex_timestamp":"000001a0730db3e8"} 
[2026-09-06 01:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:04: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-09-06 01:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:04: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-09-06 01:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890911232001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890911232001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:04:29] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:04:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890911232001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":174767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:04:29] local.INFO: GPS data processed {"connection_id":174767,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:04:29] local.INFO: Acknowledgment sent {"connection_id":174767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:04:49] local.INFO: TCP Data received {"connection_id":172082,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:04:49] local.INFO: Processing buffer {"connection_id":172082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:04:49] local.INFO: IMEI packet received {"connection_id":172082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":172082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:04:54] local.INFO: TCP Data received {"connection_id":172082,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:04:54] local.INFO: Processing buffer {"connection_id":172082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:04:54] local.INFO: IMEI packet received {"connection_id":172082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":172082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:04:55] local.INFO: TCP Data received {"connection_id":172082,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:04:55] local.INFO: Processing buffer {"connection_id":172082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:04:55] local.INFO: Packet analysis {"connection_id":172082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:04:55] local.INFO: Extracted packet for processing {"connection_id":172082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:04:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890911232001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788636673000,"timestamp_ms":1788636673000,"timestamp_seconds":1788636673,"priority":1,"record_length":96,"hex_timestamp":"000001a0730db3e8"} 
[2026-09-06 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-09-06 01:04: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-09-06 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01: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-09-06 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-09-06 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-09-06 01:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:04:55] 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-09-06 01:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890911232001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890911232001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:04:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:04:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890911232001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":172082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:04:55] local.INFO: GPS data processed {"connection_id":172082,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:04:55] local.INFO: Acknowledgment sent {"connection_id":172082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:05:26] local.INFO: TCP Data received {"connection_id":172082,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:05:26] local.INFO: Processing buffer {"connection_id":172082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:05:26] local.INFO: Packet analysis {"connection_id":172082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:05:26] local.INFO: Extracted packet for processing {"connection_id":172082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:05:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890911232001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:05: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-09-06 01:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788636673000,"timestamp_ms":1788636673000,"timestamp_seconds":1788636673,"priority":1,"record_length":96,"hex_timestamp":"000001a0730db3e8"} 
[2026-09-06 01:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:05: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-09-06 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:05: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-09-06 01: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-09-06 01:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:05:26] 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-09-06 01:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890911232001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890911232001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:05:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:05:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890911232001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":172082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:05:26] local.INFO: GPS data processed {"connection_id":172082,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:05:26] local.INFO: Acknowledgment sent {"connection_id":172082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:05:54] local.INFO: TCP Data received {"connection_id":173437,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:05:54] local.INFO: Processing buffer {"connection_id":173437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:05:54] local.INFO: IMEI packet received {"connection_id":173437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":173437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:05:59] local.INFO: TCP Data received {"connection_id":173437,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:05:59] local.INFO: Processing buffer {"connection_id":173437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:05:59] local.INFO: IMEI packet received {"connection_id":173437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":173437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:06:00] local.INFO: TCP Data received {"connection_id":173437,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:06:00] local.INFO: Processing buffer {"connection_id":173437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:06:00] local.INFO: Packet analysis {"connection_id":173437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:06:00] local.INFO: Extracted packet for processing {"connection_id":173437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:06:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890911232001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:06:00] 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-09-06 01:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788636673000,"timestamp_ms":1788636673000,"timestamp_seconds":1788636673,"priority":1,"record_length":96,"hex_timestamp":"000001a0730db3e8"} 
[2026-09-06 01:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:06: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-09-06 01: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-09-06 01:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890911232001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890911232001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:06:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:06:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890911232001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":173437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:06:00] local.INFO: GPS data processed {"connection_id":173437,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:06:00] local.INFO: Acknowledgment sent {"connection_id":173437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:06:05] local.INFO: TCP Data received {"connection_id":173437,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:06:05] local.INFO: Processing buffer {"connection_id":173437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0730db3e8012d532d0006497048000601472b..."} 
[2026-09-06 01:06:05] local.INFO: Packet analysis {"connection_id":173437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:06:05] local.INFO: Extracted packet for processing {"connection_id":173437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0730d"} 
[2026-09-06 01:06:05] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890911232001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788636673000,"timestamp_ms":1788636673000,"timestamp_seconds":1788636673,"priority":1,"record_length":96,"hex_timestamp":"000001a0730db3e8"} 
[2026-09-06 01:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01: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-09-06 01:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890911232001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890911232001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:06:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:06:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890911232001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":173437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:06:05] local.INFO: GPS data processed {"connection_id":173437,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:06:05] local.INFO: Acknowledgment sent {"connection_id":173437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:06:49] local.INFO: TCP Data received {"connection_id":172084,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:06:49] local.INFO: Processing buffer {"connection_id":172084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:06:49] local.INFO: IMEI packet received {"connection_id":172084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":172084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:06:52] local.INFO: TCP Data received {"connection_id":172084,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:06:52] local.INFO: Processing buffer {"connection_id":172084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:06:52] local.INFO: IMEI packet received {"connection_id":172084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":172084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:06:53] local.INFO: TCP Data received {"connection_id":172084,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:06:53] local.INFO: Processing buffer {"connection_id":172084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:06:53] local.INFO: Packet analysis {"connection_id":172084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:06:53] local.INFO: Extracted packet for processing {"connection_id":172084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:06:53] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890988288001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:06: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-09-06 01:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788636974000,"timestamp_ms":1788636974000,"timestamp_seconds":1788636974,"priority":1,"record_length":96,"hex_timestamp":"000001a073124bb0"} 
[2026-09-06 01:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:06: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-09-06 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:06: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-09-06 01: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-09-06 01:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:06: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-09-06 01:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890988288001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890988288001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:06:53] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:06:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890988288001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":172084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:06:53] local.INFO: GPS data processed {"connection_id":172084,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:06:53] local.INFO: Acknowledgment sent {"connection_id":172084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:07:02] local.INFO: TCP Data received {"connection_id":174768,"ip":"47.88.6.39","data_length":243,"data_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-09-06 01:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174768,"packet_length":243,"packet_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-09-06 01:07:02] local.INFO: Processing buffer {"connection_id":174768,"buffer_length":243,"buffer_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-09-06 01:07:02] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":174768,"buffer_length":243,"first_bytes_hex":"16030100ee010000ea03034906b2f9bc"} 
[2026-09-06 01:07:15] local.INFO: TCP Data received {"connection_id":173440,"ip":"47.88.6.39","data_length":81,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-06 01:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173440,"packet_length":81,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-06 01:07:15] local.INFO: Processing buffer {"connection_id":173440,"buffer_length":81,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-06 01:07:15] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":173440,"buffer_length":81,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-09-06 01:07:24] local.INFO: TCP Data received {"connection_id":172084,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:07:24] local.INFO: Processing buffer {"connection_id":172084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:07:24] local.INFO: Packet analysis {"connection_id":172084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:07:24] local.INFO: Extracted packet for processing {"connection_id":172084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:07:24] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890988288001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:07:24] 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-09-06 01:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788636974000,"timestamp_ms":1788636974000,"timestamp_seconds":1788636974,"priority":1,"record_length":96,"hex_timestamp":"000001a073124bb0"} 
[2026-09-06 01:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:07: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-09-06 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:07: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-09-06 01: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-09-06 01:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:07: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-09-06 01:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890988288001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890988288001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:07:24] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:07:24] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890988288001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":172084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:07:24] local.INFO: GPS data processed {"connection_id":172084,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:07:24] local.INFO: Acknowledgment sent {"connection_id":172084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:07:28] local.INFO: TCP Data received {"connection_id":173441,"ip":"47.88.6.39","data_length":19,"data_hex":"030000130ee000000000000100080003000000..."} 
[2026-09-06 01:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173441,"packet_length":19,"packet_hex":"030000130ee000000000000100080003000000..."} 
[2026-09-06 01:07:28] local.INFO: Processing buffer {"connection_id":173441,"buffer_length":19,"buffer_hex":"030000130ee000000000000100080003000000..."} 
[2026-09-06 01:07:28] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":173441,"buffer_length":19,"first_bytes_hex":"030000130ee000000000000100080003"} 
[2026-09-06 01:07:49] local.INFO: TCP Data received {"connection_id":172085,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:07:49] local.INFO: Processing buffer {"connection_id":172085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:07:49] local.INFO: IMEI packet received {"connection_id":172085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":172085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:07:54] local.INFO: TCP Data received {"connection_id":172085,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:07:54] local.INFO: Processing buffer {"connection_id":172085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:07:54] local.INFO: IMEI packet received {"connection_id":172085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":172085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:07:55] local.INFO: TCP Data received {"connection_id":172085,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:07:55] local.INFO: Processing buffer {"connection_id":172085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:07:55] local.INFO: Packet analysis {"connection_id":172085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:07:55] local.INFO: Extracted packet for processing {"connection_id":172085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:07:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890988288001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788636974000,"timestamp_ms":1788636974000,"timestamp_seconds":1788636974,"priority":1,"record_length":96,"hex_timestamp":"000001a073124bb0"} 
[2026-09-06 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-09-06 01:07: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-09-06 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:07: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-09-06 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-09-06 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-09-06 01:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:07:55] 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-09-06 01:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890988288001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890988288001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:07:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:07:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890988288001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":172085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:07:55] local.INFO: GPS data processed {"connection_id":172085,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:07:55] local.INFO: Acknowledgment sent {"connection_id":172085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:08:26] local.INFO: TCP Data received {"connection_id":172085,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:08:26] local.INFO: Processing buffer {"connection_id":172085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:08:26] local.INFO: Packet analysis {"connection_id":172085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:08:26] local.INFO: Extracted packet for processing {"connection_id":172085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:08:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890988288001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:08: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-09-06 01:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788636974000,"timestamp_ms":1788636974000,"timestamp_seconds":1788636974,"priority":1,"record_length":96,"hex_timestamp":"000001a073124bb0"} 
[2026-09-06 01:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:08: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-09-06 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:08: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-09-06 01: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-09-06 01:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:08:26] 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-09-06 01:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890988288001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890988288001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:08:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:08:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890988288001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":172085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:08:26] local.INFO: GPS data processed {"connection_id":172085,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:08:26] local.INFO: Acknowledgment sent {"connection_id":172085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:08:54] local.INFO: TCP Data received {"connection_id":172329,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:08:54] local.INFO: Processing buffer {"connection_id":172329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:08:54] local.INFO: IMEI packet received {"connection_id":172329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":172329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:08:59] local.INFO: TCP Data received {"connection_id":172329,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:08:59] local.INFO: Processing buffer {"connection_id":172329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:08:59] local.INFO: IMEI packet received {"connection_id":172329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":172329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:09:00] local.INFO: TCP Data received {"connection_id":172329,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:09:00] local.INFO: Processing buffer {"connection_id":172329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:09:00] local.INFO: Packet analysis {"connection_id":172329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:09:00] local.INFO: Extracted packet for processing {"connection_id":172329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:09:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890988288001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:09:00] 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-09-06 01:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788636974000,"timestamp_ms":1788636974000,"timestamp_seconds":1788636974,"priority":1,"record_length":96,"hex_timestamp":"000001a073124bb0"} 
[2026-09-06 01:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890988288001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890988288001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:09:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:09:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890988288001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":172329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:09:00] local.INFO: GPS data processed {"connection_id":172329,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:09:00] local.INFO: Acknowledgment sent {"connection_id":172329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:09:05] local.INFO: TCP Data received {"connection_id":172329,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:09:05] local.INFO: Processing buffer {"connection_id":172329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:09:05] local.INFO: Packet analysis {"connection_id":172329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:09:05] local.INFO: Extracted packet for processing {"connection_id":172329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:09:05] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890988288001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788636974000,"timestamp_ms":1788636974000,"timestamp_seconds":1788636974,"priority":1,"record_length":96,"hex_timestamp":"000001a073124bb0"} 
[2026-09-06 01:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890988288001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890988288001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:09:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:09:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890988288001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":172329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:09:05] local.INFO: GPS data processed {"connection_id":172329,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:09:05] local.INFO: Acknowledgment sent {"connection_id":172329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:09:43] local.INFO: TCP Data received {"connection_id":172086,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:09:43] local.INFO: Processing buffer {"connection_id":172086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:09:43] local.INFO: IMEI packet received {"connection_id":172086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 01:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":172086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:09:49] local.INFO: TCP Data received {"connection_id":172330,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:09:49] local.INFO: Processing buffer {"connection_id":172330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:09:49] local.INFO: IMEI packet received {"connection_id":172330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":172330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:09:54] local.INFO: TCP Data received {"connection_id":172330,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:09:54] local.INFO: Processing buffer {"connection_id":172330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:09:54] local.INFO: IMEI packet received {"connection_id":172330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":172330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:09:55] local.INFO: TCP Data received {"connection_id":172330,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:09:55] local.INFO: Processing buffer {"connection_id":172330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:09:55] local.INFO: Packet analysis {"connection_id":172330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:09:55] local.INFO: Extracted packet for processing {"connection_id":172330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:09:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890988288001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788636974000,"timestamp_ms":1788636974000,"timestamp_seconds":1788636974,"priority":1,"record_length":96,"hex_timestamp":"000001a073124bb0"} 
[2026-09-06 01:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:09: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-09-06 01:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:09: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-09-06 01:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:09:55] 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-09-06 01:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890988288001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890988288001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:09:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:09:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890988288001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":172330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:09:55] local.INFO: GPS data processed {"connection_id":172330,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:09:55] local.INFO: Acknowledgment sent {"connection_id":172330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:10:00] local.INFO: TCP Data received {"connection_id":172330,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:10:00] local.INFO: Processing buffer {"connection_id":172330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:10:00] local.INFO: Packet analysis {"connection_id":172330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:10:00] local.INFO: Extracted packet for processing {"connection_id":172330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:10:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890988288001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:10:00] 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-09-06 01:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788636974000,"timestamp_ms":1788636974000,"timestamp_seconds":1788636974,"priority":1,"record_length":96,"hex_timestamp":"000001a073124bb0"} 
[2026-09-06 01:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01: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-09-06 01:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890988288001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890988288001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:10:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:10:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890988288001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":172330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:10:00] local.INFO: GPS data processed {"connection_id":172330,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:10:00] local.INFO: Acknowledgment sent {"connection_id":172330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:10:13] local.INFO: TCP Data received {"connection_id":173444,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:10:13] local.INFO: Processing buffer {"connection_id":173444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:10:13] local.INFO: IMEI packet received {"connection_id":173444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 01:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":173444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:10:31] local.INFO: TCP Data received {"connection_id":172330,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:10:31] local.INFO: Processing buffer {"connection_id":172330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:10:31] local.INFO: Packet analysis {"connection_id":172330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:10:31] local.INFO: Extracted packet for processing {"connection_id":172330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:10:31] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890988288001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:10:31] 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-09-06 01:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788636974000,"timestamp_ms":1788636974000,"timestamp_seconds":1788636974,"priority":1,"record_length":96,"hex_timestamp":"000001a073124bb0"} 
[2026-09-06 01:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:10: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-09-06 01:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:10:31] 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-09-06 01:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890988288001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890988288001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:10:31] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:10:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890988288001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":172330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:10:31] local.INFO: GPS data processed {"connection_id":172330,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:10:31] local.INFO: Acknowledgment sent {"connection_id":172330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:10:49] local.INFO: TCP Data received {"connection_id":173445,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:10:49] local.INFO: Processing buffer {"connection_id":173445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:10:49] local.INFO: IMEI packet received {"connection_id":173445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":173445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:10:54] local.INFO: TCP Data received {"connection_id":173445,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:10:54] local.INFO: Processing buffer {"connection_id":173445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:10:54] local.INFO: IMEI packet received {"connection_id":173445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":173445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:10:55] local.INFO: TCP Data received {"connection_id":173445,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:10:55] local.INFO: Processing buffer {"connection_id":173445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:10:55] local.INFO: Packet analysis {"connection_id":173445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:10:55] local.INFO: Extracted packet for processing {"connection_id":173445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:10:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890988288001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788636974000,"timestamp_ms":1788636974000,"timestamp_seconds":1788636974,"priority":1,"record_length":96,"hex_timestamp":"000001a073124bb0"} 
[2026-09-06 01:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:10: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-09-06 01:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:10: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-09-06 01:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:10:55] 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-09-06 01:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890988288001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890988288001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:10:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:10:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890988288001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":173445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:10:55] local.INFO: GPS data processed {"connection_id":173445,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:10:55] local.INFO: Acknowledgment sent {"connection_id":173445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:11:26] local.INFO: TCP Data received {"connection_id":173445,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:11:26] local.INFO: Processing buffer {"connection_id":173445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073124bb0012d532d0006497048000601472f..."} 
[2026-09-06 01:11:26] local.INFO: Packet analysis {"connection_id":173445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:11:26] local.INFO: Extracted packet for processing {"connection_id":173445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07312"} 
[2026-09-06 01:11:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457890988288001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:11: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-09-06 01:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788636974000,"timestamp_ms":1788636974000,"timestamp_seconds":1788636974,"priority":1,"record_length":96,"hex_timestamp":"000001a073124bb0"} 
[2026-09-06 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-09-06 01:11: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-09-06 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:11: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-09-06 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-09-06 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-09-06 01:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:11:26] 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-09-06 01:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457890988288001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457890988288001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:11:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:11:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457890988288001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":173445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:11:26] local.INFO: GPS data processed {"connection_id":173445,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:11:26] local.INFO: Acknowledgment sent {"connection_id":173445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:11:50] local.INFO: TCP Data received {"connection_id":172087,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:11:50] local.INFO: Processing buffer {"connection_id":172087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:11:50] local.INFO: IMEI packet received {"connection_id":172087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":172087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:11:53] local.INFO: TCP Data received {"connection_id":172087,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:11:53] local.INFO: Processing buffer {"connection_id":172087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:11:53] local.INFO: IMEI packet received {"connection_id":172087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":172087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:11:54] local.INFO: TCP Data received {"connection_id":172087,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:11:54] local.INFO: Processing buffer {"connection_id":172087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:11:54] local.INFO: Packet analysis {"connection_id":172087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:11:54] local.INFO: Extracted packet for processing {"connection_id":172087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:11:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891065344001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:11:54] 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-09-06 01:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788637275000,"timestamp_ms":1788637275000,"timestamp_seconds":1788637275,"priority":1,"record_length":96,"hex_timestamp":"000001a07316e378"} 
[2026-09-06 01:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:11: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-09-06 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01: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-09-06 01:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:11:54] 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-09-06 01:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891065344001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891065344001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:11:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:11:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891065344001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":172087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:11:54] local.INFO: GPS data processed {"connection_id":172087,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:11:54] local.INFO: Acknowledgment sent {"connection_id":172087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:12:25] local.INFO: TCP Data received {"connection_id":172087,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:12:25] local.INFO: Processing buffer {"connection_id":172087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:12:25] local.INFO: Packet analysis {"connection_id":172087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:12:25] local.INFO: Extracted packet for processing {"connection_id":172087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:12:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891065344001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:12:25] 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-09-06 01:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788637275000,"timestamp_ms":1788637275000,"timestamp_seconds":1788637275,"priority":1,"record_length":96,"hex_timestamp":"000001a07316e378"} 
[2026-09-06 01:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:12: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-09-06 01:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:12: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-09-06 01: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-09-06 01:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:12: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-09-06 01:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891065344001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891065344001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:12:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:12:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891065344001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":172087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:12:25] local.INFO: GPS data processed {"connection_id":172087,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:12:25] local.INFO: Acknowledgment sent {"connection_id":172087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:12:49] local.INFO: TCP Data received {"connection_id":172332,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:12:49] local.INFO: Processing buffer {"connection_id":172332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:12:49] local.INFO: IMEI packet received {"connection_id":172332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":172332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:12:55] local.INFO: TCP Data received {"connection_id":172332,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:12:55] local.INFO: Processing buffer {"connection_id":172332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:12:55] local.INFO: IMEI packet received {"connection_id":172332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":172332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:12:56] local.INFO: TCP Data received {"connection_id":172332,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:12:56] local.INFO: Processing buffer {"connection_id":172332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:12:56] local.INFO: Packet analysis {"connection_id":172332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:12:56] local.INFO: Extracted packet for processing {"connection_id":172332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:12:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891065344001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:12:56] 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-09-06 01:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788637275000,"timestamp_ms":1788637275000,"timestamp_seconds":1788637275,"priority":1,"record_length":96,"hex_timestamp":"000001a07316e378"} 
[2026-09-06 01:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:12: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-09-06 01: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-09-06 01:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:12: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-09-06 01:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891065344001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891065344001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:12:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:12:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891065344001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":172332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:12:56] local.INFO: GPS data processed {"connection_id":172332,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:12:56] local.INFO: Acknowledgment sent {"connection_id":172332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:13:27] local.INFO: TCP Data received {"connection_id":172332,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:13:27] local.INFO: Processing buffer {"connection_id":172332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:13:27] local.INFO: Packet analysis {"connection_id":172332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:13:27] local.INFO: Extracted packet for processing {"connection_id":172332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:13:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891065344001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:13:27] 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-09-06 01:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788637275000,"timestamp_ms":1788637275000,"timestamp_seconds":1788637275,"priority":1,"record_length":96,"hex_timestamp":"000001a07316e378"} 
[2026-09-06 01:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:13: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-09-06 01:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891065344001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891065344001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:13:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:13:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891065344001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":172332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:13:27] local.INFO: GPS data processed {"connection_id":172332,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:13:27] local.INFO: Acknowledgment sent {"connection_id":172332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:13:50] local.INFO: TCP Data received {"connection_id":173447,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:13:50] local.INFO: Processing buffer {"connection_id":173447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:13:50] local.INFO: IMEI packet received {"connection_id":173447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":173447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:13:54] local.INFO: TCP Data received {"connection_id":173447,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:13:54] local.INFO: Processing buffer {"connection_id":173447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:13:54] local.INFO: IMEI packet received {"connection_id":173447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":173447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:13:55] local.INFO: TCP Data received {"connection_id":173447,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:13:55] local.INFO: Processing buffer {"connection_id":173447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:13:55] local.INFO: Packet analysis {"connection_id":173447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:13:55] local.INFO: Extracted packet for processing {"connection_id":173447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:13:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891065344001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788637275000,"timestamp_ms":1788637275000,"timestamp_seconds":1788637275,"priority":1,"record_length":96,"hex_timestamp":"000001a07316e378"} 
[2026-09-06 01:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:13: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-09-06 01:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891065344001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891065344001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:13:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:13:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891065344001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":173447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:13:55] local.INFO: GPS data processed {"connection_id":173447,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:13:55] local.INFO: Acknowledgment sent {"connection_id":173447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:14:26] local.INFO: TCP Data received {"connection_id":173447,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:14:26] local.INFO: Processing buffer {"connection_id":173447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:14:26] local.INFO: Packet analysis {"connection_id":173447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:14:26] local.INFO: Extracted packet for processing {"connection_id":173447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:14:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891065344001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:14: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-09-06 01:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788637275000,"timestamp_ms":1788637275000,"timestamp_seconds":1788637275,"priority":1,"record_length":96,"hex_timestamp":"000001a07316e378"} 
[2026-09-06 01:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:14: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-09-06 01:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:14:26] 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-09-06 01:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891065344001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891065344001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:14:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:14:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891065344001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":173447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:14:26] local.INFO: GPS data processed {"connection_id":173447,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:14:26] local.INFO: Acknowledgment sent {"connection_id":173447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:14:49] local.INFO: TCP Data received {"connection_id":173448,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:14:49] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:14:49] local.INFO: IMEI packet received {"connection_id":173448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":173448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:14:54] local.INFO: TCP Data received {"connection_id":173448,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:14:54] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:14:54] local.INFO: IMEI packet received {"connection_id":173448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":173448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:14:55] local.INFO: TCP Data received {"connection_id":173448,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:14:55] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:14:55] local.INFO: Packet analysis {"connection_id":173448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:14:55] local.INFO: Extracted packet for processing {"connection_id":173448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:14:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891065344001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788637275000,"timestamp_ms":1788637275000,"timestamp_seconds":1788637275,"priority":1,"record_length":96,"hex_timestamp":"000001a07316e378"} 
[2026-09-06 01:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:14: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-09-06 01:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:14:55] 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-09-06 01:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891065344001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891065344001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:14:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:14:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891065344001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":173448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:14:55] local.INFO: GPS data processed {"connection_id":173448,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:14:55] local.INFO: Acknowledgment sent {"connection_id":173448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:15:18] local.INFO: TCP Data received {"connection_id":172333,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:15:18] local.INFO: Processing buffer {"connection_id":172333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:15:18] local.INFO: IMEI packet received {"connection_id":172333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 01:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":172333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:15:26] local.INFO: TCP Data received {"connection_id":173448,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:15:26] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:15:26] local.INFO: Packet analysis {"connection_id":173448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:15:26] local.INFO: Extracted packet for processing {"connection_id":173448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:15:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891065344001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:15: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-09-06 01:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788637275000,"timestamp_ms":1788637275000,"timestamp_seconds":1788637275,"priority":1,"record_length":96,"hex_timestamp":"000001a07316e378"} 
[2026-09-06 01:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:15: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-09-06 01: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-09-06 01:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:15:26] 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-09-06 01:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891065344001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891065344001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:15:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:15:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891065344001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":173448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:15:26] local.INFO: GPS data processed {"connection_id":173448,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:15:26] local.INFO: Acknowledgment sent {"connection_id":173448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:15:54] local.INFO: TCP Data received {"connection_id":174770,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:15:54] local.INFO: Processing buffer {"connection_id":174770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:15:54] local.INFO: IMEI packet received {"connection_id":174770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":174770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:15:59] local.INFO: TCP Data received {"connection_id":174770,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:15:59] local.INFO: Processing buffer {"connection_id":174770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:15:59] local.INFO: IMEI packet received {"connection_id":174770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":174770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:16:00] local.INFO: TCP Data received {"connection_id":174770,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:16:00] local.INFO: Processing buffer {"connection_id":174770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:16:00] local.INFO: Packet analysis {"connection_id":174770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:16:00] local.INFO: Extracted packet for processing {"connection_id":174770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:16:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891065344001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:16:00] 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-09-06 01:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788637275000,"timestamp_ms":1788637275000,"timestamp_seconds":1788637275,"priority":1,"record_length":96,"hex_timestamp":"000001a07316e378"} 
[2026-09-06 01:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01: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-09-06 01:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891065344001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891065344001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:16:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:16:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891065344001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":174770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:16:00] local.INFO: GPS data processed {"connection_id":174770,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:16:00] local.INFO: Acknowledgment sent {"connection_id":174770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:16:05] local.INFO: TCP Data received {"connection_id":174770,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:16:05] local.INFO: Processing buffer {"connection_id":174770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07316e378012d532d0006497048000601472e..."} 
[2026-09-06 01:16:05] local.INFO: Packet analysis {"connection_id":174770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:16:05] local.INFO: Extracted packet for processing {"connection_id":174770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07316"} 
[2026-09-06 01:16:05] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891065344001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788637275000,"timestamp_ms":1788637275000,"timestamp_seconds":1788637275,"priority":1,"record_length":96,"hex_timestamp":"000001a07316e378"} 
[2026-09-06 01:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01: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-09-06 01:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:16: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-09-06 01:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891065344001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891065344001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:16:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:16:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891065344001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":174770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:16:05] local.INFO: GPS data processed {"connection_id":174770,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:16:05] local.INFO: Acknowledgment sent {"connection_id":174770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:16:49] local.INFO: TCP Data received {"connection_id":172334,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:16:49] local.INFO: Processing buffer {"connection_id":172334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:16:49] local.INFO: IMEI packet received {"connection_id":172334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":172334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:16:54] local.INFO: TCP Data received {"connection_id":172334,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:16:54] local.INFO: Processing buffer {"connection_id":172334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:16:54] local.INFO: IMEI packet received {"connection_id":172334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":172334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:16:55] local.INFO: TCP Data received {"connection_id":172334,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:16:55] local.INFO: Processing buffer {"connection_id":172334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:16:55] local.INFO: Packet analysis {"connection_id":172334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:16:55] local.INFO: Extracted packet for processing {"connection_id":172334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:16:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788637576000,"timestamp_ms":1788637576000,"timestamp_seconds":1788637576,"priority":1,"record_length":96,"hex_timestamp":"000001a0731b7b40"} 
[2026-09-06 01:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:16: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-09-06 01:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:16:55] 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-09-06 01:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891142400001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:16:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:16:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891142400001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":172334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:16:55] local.INFO: GPS data processed {"connection_id":172334,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:16:55] local.INFO: Acknowledgment sent {"connection_id":172334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:17:26] local.INFO: TCP Data received {"connection_id":172334,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:17:26] local.INFO: Processing buffer {"connection_id":172334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:17:26] local.INFO: Packet analysis {"connection_id":172334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:17:26] local.INFO: Extracted packet for processing {"connection_id":172334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:17:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:17: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-09-06 01:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788637576000,"timestamp_ms":1788637576000,"timestamp_seconds":1788637576,"priority":1,"record_length":96,"hex_timestamp":"000001a0731b7b40"} 
[2026-09-06 01:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:17: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-09-06 01: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-09-06 01:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:17: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-09-06 01:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891142400001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:17:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:17:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891142400001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":172334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:17:26] local.INFO: GPS data processed {"connection_id":172334,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:17:26] local.INFO: Acknowledgment sent {"connection_id":172334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:17:49] local.INFO: TCP Data received {"connection_id":173450,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:17:49] local.INFO: Processing buffer {"connection_id":173450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:17:49] local.INFO: IMEI packet received {"connection_id":173450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":173450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:17:54] local.INFO: TCP Data received {"connection_id":173450,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:17:54] local.INFO: Processing buffer {"connection_id":173450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:17:54] local.INFO: IMEI packet received {"connection_id":173450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":173450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:17:55] local.INFO: TCP Data received {"connection_id":173450,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:17:55] local.INFO: Processing buffer {"connection_id":173450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:17:55] local.INFO: Packet analysis {"connection_id":173450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:17:55] local.INFO: Extracted packet for processing {"connection_id":173450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:17:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788637576000,"timestamp_ms":1788637576000,"timestamp_seconds":1788637576,"priority":1,"record_length":96,"hex_timestamp":"000001a0731b7b40"} 
[2026-09-06 01:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:17: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-09-06 01:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:17:55] 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-09-06 01:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891142400001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:17:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:17:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891142400001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":173450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:17:55] local.INFO: GPS data processed {"connection_id":173450,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:17:55] local.INFO: Acknowledgment sent {"connection_id":173450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:18:26] local.INFO: TCP Data received {"connection_id":173450,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:18:26] local.INFO: Processing buffer {"connection_id":173450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:18:26] local.INFO: Packet analysis {"connection_id":173450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:18:26] local.INFO: Extracted packet for processing {"connection_id":173450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:18:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:18: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-09-06 01:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788637576000,"timestamp_ms":1788637576000,"timestamp_seconds":1788637576,"priority":1,"record_length":96,"hex_timestamp":"000001a0731b7b40"} 
[2026-09-06 01:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:18: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-09-06 01:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:18: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-09-06 01:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891142400001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:18:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:18:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891142400001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":173450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:18:26] local.INFO: GPS data processed {"connection_id":173450,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:18:26] local.INFO: Acknowledgment sent {"connection_id":173450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:18:49] local.INFO: TCP Data received {"connection_id":172335,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:18:49] local.INFO: Processing buffer {"connection_id":172335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:18:49] local.INFO: IMEI packet received {"connection_id":172335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":172335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:18:54] local.INFO: TCP Data received {"connection_id":172335,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:18:54] local.INFO: Processing buffer {"connection_id":172335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:18:54] local.INFO: IMEI packet received {"connection_id":172335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":172335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:18:55] local.INFO: TCP Data received {"connection_id":172335,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:18:55] local.INFO: Processing buffer {"connection_id":172335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:18:55] local.INFO: Packet analysis {"connection_id":172335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:18:55] local.INFO: Extracted packet for processing {"connection_id":172335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:18:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788637576000,"timestamp_ms":1788637576000,"timestamp_seconds":1788637576,"priority":1,"record_length":96,"hex_timestamp":"000001a0731b7b40"} 
[2026-09-06 01:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:18: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-09-06 01:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:18: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-09-06 01:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891142400001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:18:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:18:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891142400001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":172335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:18:55] local.INFO: GPS data processed {"connection_id":172335,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:18:55] local.INFO: Acknowledgment sent {"connection_id":172335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:19:26] local.INFO: TCP Data received {"connection_id":172335,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:19:26] local.INFO: Processing buffer {"connection_id":172335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:19:26] local.INFO: Packet analysis {"connection_id":172335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:19:26] local.INFO: Extracted packet for processing {"connection_id":172335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:19:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:19: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-09-06 01:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788637576000,"timestamp_ms":1788637576000,"timestamp_seconds":1788637576,"priority":1,"record_length":96,"hex_timestamp":"000001a0731b7b40"} 
[2026-09-06 01:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:19: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-09-06 01: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-09-06 01:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891142400001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:19:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:19:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891142400001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":172335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:19:26] local.INFO: GPS data processed {"connection_id":172335,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:19:26] local.INFO: Acknowledgment sent {"connection_id":172335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:19:54] local.INFO: TCP Data received {"connection_id":172092,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:19:54] local.INFO: Processing buffer {"connection_id":172092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:19:54] local.INFO: IMEI packet received {"connection_id":172092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":172092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:19:59] local.INFO: TCP Data received {"connection_id":172092,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:19:59] local.INFO: Processing buffer {"connection_id":172092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:19:59] local.INFO: IMEI packet received {"connection_id":172092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":172092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:20:00] local.INFO: TCP Data received {"connection_id":172092,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:20:00] local.INFO: Processing buffer {"connection_id":172092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:20:00] local.INFO: Packet analysis {"connection_id":172092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:20:00] local.INFO: Extracted packet for processing {"connection_id":172092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:20:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:20:00] 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-09-06 01:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788637576000,"timestamp_ms":1788637576000,"timestamp_seconds":1788637576,"priority":1,"record_length":96,"hex_timestamp":"000001a0731b7b40"} 
[2026-09-06 01:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:20: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-09-06 01:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891142400001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:20:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:20:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891142400001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":172092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:20:00] local.INFO: GPS data processed {"connection_id":172092,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:20:00] local.INFO: Acknowledgment sent {"connection_id":172092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:20:05] local.INFO: TCP Data received {"connection_id":172092,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:20:05] local.INFO: Processing buffer {"connection_id":172092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:20:05] local.INFO: Packet analysis {"connection_id":172092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:20:05] local.INFO: Extracted packet for processing {"connection_id":172092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:20:05] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788637576000,"timestamp_ms":1788637576000,"timestamp_seconds":1788637576,"priority":1,"record_length":96,"hex_timestamp":"000001a0731b7b40"} 
[2026-09-06 01:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01: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-09-06 01:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891142400001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:20:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:20:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891142400001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":172092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:20:05] local.INFO: GPS data processed {"connection_id":172092,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:20:05] local.INFO: Acknowledgment sent {"connection_id":172092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:20:49] local.INFO: TCP Data received {"connection_id":173451,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:20:49] local.INFO: Processing buffer {"connection_id":173451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:20:49] local.INFO: IMEI packet received {"connection_id":173451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":173451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:20:53] local.INFO: TCP Data received {"connection_id":174771,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:20:53] local.INFO: Processing buffer {"connection_id":174771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:20:53] local.INFO: IMEI packet received {"connection_id":174771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 01:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":174771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:20:54] local.INFO: TCP Data received {"connection_id":173451,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:20:54] local.INFO: Processing buffer {"connection_id":173451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:20:54] local.INFO: IMEI packet received {"connection_id":173451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":173451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:20:55] local.INFO: TCP Data received {"connection_id":173451,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:20:55] local.INFO: Processing buffer {"connection_id":173451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:20:55] local.INFO: Packet analysis {"connection_id":173451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:20:55] local.INFO: Extracted packet for processing {"connection_id":173451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:20:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788637576000,"timestamp_ms":1788637576000,"timestamp_seconds":1788637576,"priority":1,"record_length":96,"hex_timestamp":"000001a0731b7b40"} 
[2026-09-06 01:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:20: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-09-06 01:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891142400001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:20:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:20:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891142400001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":173451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:20:55] local.INFO: GPS data processed {"connection_id":173451,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:20:55] local.INFO: Acknowledgment sent {"connection_id":173451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:21:13] local.INFO: TCP Data received {"connection_id":172336,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:21:13] local.INFO: Processing buffer {"connection_id":172336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:21:13] local.INFO: IMEI packet received {"connection_id":172336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 01:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":172336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:21:26] local.INFO: TCP Data received {"connection_id":173451,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:21:26] local.INFO: Processing buffer {"connection_id":173451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0731b7b40012d532d00064970480006014730..."} 
[2026-09-06 01:21:26] local.INFO: Packet analysis {"connection_id":173451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:21:26] local.INFO: Extracted packet for processing {"connection_id":173451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0731b"} 
[2026-09-06 01:21:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:21: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-09-06 01:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788637576000,"timestamp_ms":1788637576000,"timestamp_seconds":1788637576,"priority":1,"record_length":96,"hex_timestamp":"000001a0731b7b40"} 
[2026-09-06 01:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:21: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-09-06 01: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-09-06 01:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891142400001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:21:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:21:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891142400001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":173451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:21:26] local.INFO: GPS data processed {"connection_id":173451,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:21:26] local.INFO: Acknowledgment sent {"connection_id":173451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:21:49] local.INFO: TCP Data received {"connection_id":174772,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:21:49] local.INFO: Processing buffer {"connection_id":174772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:21:49] local.INFO: IMEI packet received {"connection_id":174772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":174772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:21:54] local.INFO: TCP Data received {"connection_id":174772,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:21:54] local.INFO: Processing buffer {"connection_id":174772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:21:54] local.INFO: IMEI packet received {"connection_id":174772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":174772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:21:56] local.INFO: TCP Data received {"connection_id":174772,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:21:56] local.INFO: Processing buffer {"connection_id":174772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:21:56] local.INFO: Packet analysis {"connection_id":174772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:21:56] local.INFO: Extracted packet for processing {"connection_id":174772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:21:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891219456001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:21:56] 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-09-06 01:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788637877000,"timestamp_ms":1788637877000,"timestamp_seconds":1788637877,"priority":1,"record_length":96,"hex_timestamp":"000001a073201308"} 
[2026-09-06 01:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:21: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-09-06 01: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":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:21: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-09-06 01: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-09-06 01:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891219456001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891219456001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:21:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:21:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891219456001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":174772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:21:56] local.INFO: GPS data processed {"connection_id":174772,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:21:56] local.INFO: Acknowledgment sent {"connection_id":174772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:22:28] local.INFO: TCP Data received {"connection_id":174772,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:22:28] local.INFO: Processing buffer {"connection_id":174772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:22:28] local.INFO: Packet analysis {"connection_id":174772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:22:28] local.INFO: Extracted packet for processing {"connection_id":174772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:22:28] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891219456001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:22:28] 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-09-06 01:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788637877000,"timestamp_ms":1788637877000,"timestamp_seconds":1788637877,"priority":1,"record_length":96,"hex_timestamp":"000001a073201308"} 
[2026-09-06 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-09-06 01:22: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-09-06 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 01:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:22: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-09-06 01:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891219456001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891219456001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:22:28] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:22:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891219456001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":174772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:22:28] local.INFO: GPS data processed {"connection_id":174772,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:22:28] local.INFO: Acknowledgment sent {"connection_id":174772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:22:49] local.INFO: TCP Data received {"connection_id":172337,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:22:49] local.INFO: Processing buffer {"connection_id":172337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:22:49] local.INFO: IMEI packet received {"connection_id":172337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":172337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:22:54] local.INFO: TCP Data received {"connection_id":172337,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:22:54] local.INFO: Processing buffer {"connection_id":172337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:22:54] local.INFO: IMEI packet received {"connection_id":172337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":172337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:22:55] local.INFO: TCP Data received {"connection_id":172337,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:22:55] local.INFO: Processing buffer {"connection_id":172337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:22:55] local.INFO: Packet analysis {"connection_id":172337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:22:55] local.INFO: Extracted packet for processing {"connection_id":172337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:22:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891219456001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788637877000,"timestamp_ms":1788637877000,"timestamp_seconds":1788637877,"priority":1,"record_length":96,"hex_timestamp":"000001a073201308"} 
[2026-09-06 01:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:22: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-09-06 01:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:22: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-09-06 01:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891219456001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891219456001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:22:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:22:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891219456001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":172337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:22:55] local.INFO: GPS data processed {"connection_id":172337,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:22:55] local.INFO: Acknowledgment sent {"connection_id":172337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:23:26] local.INFO: TCP Data received {"connection_id":172337,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:23:26] local.INFO: Processing buffer {"connection_id":172337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:23:26] local.INFO: Packet analysis {"connection_id":172337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:23:26] local.INFO: Extracted packet for processing {"connection_id":172337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:23:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891219456001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:23: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-09-06 01:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788637877000,"timestamp_ms":1788637877000,"timestamp_seconds":1788637877,"priority":1,"record_length":96,"hex_timestamp":"000001a073201308"} 
[2026-09-06 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-09-06 01:23: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-09-06 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:23: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-09-06 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-09-06 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-09-06 01:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:23:26] 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-09-06 01:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891219456001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891219456001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:23:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:23:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891219456001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":172337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:23:26] local.INFO: GPS data processed {"connection_id":172337,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:23:26] local.INFO: Acknowledgment sent {"connection_id":172337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:23:54] local.INFO: TCP Data received {"connection_id":172094,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:23:54] local.INFO: Processing buffer {"connection_id":172094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:23:54] local.INFO: IMEI packet received {"connection_id":172094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":172094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:23:59] local.INFO: TCP Data received {"connection_id":172094,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:23:59] local.INFO: Processing buffer {"connection_id":172094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:23:59] local.INFO: IMEI packet received {"connection_id":172094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":172094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:24:00] local.INFO: TCP Data received {"connection_id":172094,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:24:00] local.INFO: Processing buffer {"connection_id":172094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:24:00] local.INFO: Packet analysis {"connection_id":172094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:24:00] local.INFO: Extracted packet for processing {"connection_id":172094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:24:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891219456001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:24:00] 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-09-06 01:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788637877000,"timestamp_ms":1788637877000,"timestamp_seconds":1788637877,"priority":1,"record_length":96,"hex_timestamp":"000001a073201308"} 
[2026-09-06 01:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:24: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-09-06 01:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891219456001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891219456001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:24:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:24:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891219456001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":172094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:24:00] local.INFO: GPS data processed {"connection_id":172094,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:24:00] local.INFO: Acknowledgment sent {"connection_id":172094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:24:05] local.INFO: TCP Data received {"connection_id":172094,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:24:05] local.INFO: Processing buffer {"connection_id":172094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:24:05] local.INFO: Packet analysis {"connection_id":172094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:24:05] local.INFO: Extracted packet for processing {"connection_id":172094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:24:05] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891219456001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788637877000,"timestamp_ms":1788637877000,"timestamp_seconds":1788637877,"priority":1,"record_length":96,"hex_timestamp":"000001a073201308"} 
[2026-09-06 01:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01: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-09-06 01:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891219456001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891219456001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:24:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:24:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891219456001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":172094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:24:05] local.INFO: GPS data processed {"connection_id":172094,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:24:05] local.INFO: Acknowledgment sent {"connection_id":172094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:24:49] local.INFO: TCP Data received {"connection_id":174773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:24:49] local.INFO: Processing buffer {"connection_id":174773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:24:49] local.INFO: IMEI packet received {"connection_id":174773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":174773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:24:54] local.INFO: TCP Data received {"connection_id":174773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:24:54] local.INFO: Processing buffer {"connection_id":174773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:24:54] local.INFO: IMEI packet received {"connection_id":174773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":174773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:24:55] local.INFO: TCP Data received {"connection_id":174773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:24:55] local.INFO: Processing buffer {"connection_id":174773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:24:55] local.INFO: Packet analysis {"connection_id":174773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:24:55] local.INFO: Extracted packet for processing {"connection_id":174773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:24:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891219456001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788637877000,"timestamp_ms":1788637877000,"timestamp_seconds":1788637877,"priority":1,"record_length":96,"hex_timestamp":"000001a073201308"} 
[2026-09-06 01:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:24: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-09-06 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:24: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-09-06 01: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-09-06 01:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891219456001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891219456001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:24:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:24:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891219456001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":174773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:24:55] local.INFO: GPS data processed {"connection_id":174773,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:24:55] local.INFO: Acknowledgment sent {"connection_id":174773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:25:26] local.INFO: TCP Data received {"connection_id":174773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:25:26] local.INFO: Processing buffer {"connection_id":174773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:25:26] local.INFO: Packet analysis {"connection_id":174773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:25:26] local.INFO: Extracted packet for processing {"connection_id":174773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:25:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891219456001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:25: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-09-06 01:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788637877000,"timestamp_ms":1788637877000,"timestamp_seconds":1788637877,"priority":1,"record_length":96,"hex_timestamp":"000001a073201308"} 
[2026-09-06 01:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:25: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-09-06 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:25: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-09-06 01: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-09-06 01:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:25: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-09-06 01:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891219456001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891219456001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:25:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:25:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891219456001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":174773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:25:26] local.INFO: GPS data processed {"connection_id":174773,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:25:26] local.INFO: Acknowledgment sent {"connection_id":174773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:25:49] local.INFO: TCP Data received {"connection_id":173454,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:25:49] local.INFO: Processing buffer {"connection_id":173454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:25:49] local.INFO: IMEI packet received {"connection_id":173454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":173454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:25:54] local.INFO: TCP Data received {"connection_id":173454,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:25:54] local.INFO: Processing buffer {"connection_id":173454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:25:54] local.INFO: IMEI packet received {"connection_id":173454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":173454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:25:55] local.INFO: TCP Data received {"connection_id":173454,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:25:55] local.INFO: Processing buffer {"connection_id":173454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:25:55] local.INFO: Packet analysis {"connection_id":173454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:25:55] local.INFO: Extracted packet for processing {"connection_id":173454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:25:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891219456001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788637877000,"timestamp_ms":1788637877000,"timestamp_seconds":1788637877,"priority":1,"record_length":96,"hex_timestamp":"000001a073201308"} 
[2026-09-06 01:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:25: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-09-06 01:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:25: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-09-06 01:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891219456001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891219456001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:25:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:25:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891219456001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":173454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:25:55] local.INFO: GPS data processed {"connection_id":173454,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:25:55] local.INFO: Acknowledgment sent {"connection_id":173454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:26:26] local.INFO: TCP Data received {"connection_id":173454,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:26:26] local.INFO: Processing buffer {"connection_id":173454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:26:26] local.INFO: Packet analysis {"connection_id":173454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:26:26] local.INFO: Extracted packet for processing {"connection_id":173454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:26:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891219456001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:26: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-09-06 01:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788637877000,"timestamp_ms":1788637877000,"timestamp_seconds":1788637877,"priority":1,"record_length":96,"hex_timestamp":"000001a073201308"} 
[2026-09-06 01:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:26: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-09-06 01:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:26: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-09-06 01:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:26: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-09-06 01:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891219456001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891219456001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:26:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:26:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891219456001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":173454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:26:26] local.INFO: GPS data processed {"connection_id":173454,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:26:26] local.INFO: Acknowledgment sent {"connection_id":173454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:26:33] local.INFO: TCP Data received {"connection_id":172339,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:26:33] local.INFO: Processing buffer {"connection_id":172339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:26:33] local.INFO: IMEI packet received {"connection_id":172339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 01:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":172339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:26:49] local.INFO: TCP Data received {"connection_id":172095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:26:49] local.INFO: Processing buffer {"connection_id":172095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:26:49] local.INFO: IMEI packet received {"connection_id":172095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":172095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:26:54] local.INFO: TCP Data received {"connection_id":172095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:26:54] local.INFO: Processing buffer {"connection_id":172095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:26:54] local.INFO: IMEI packet received {"connection_id":172095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":172095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:26:55] local.INFO: TCP Data received {"connection_id":172095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:26:55] local.INFO: Processing buffer {"connection_id":172095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073201308012d532d00064970480006014730..."} 
[2026-09-06 01:26:55] local.INFO: Packet analysis {"connection_id":172095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:26:55] local.INFO: Extracted packet for processing {"connection_id":172095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07320"} 
[2026-09-06 01:26:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891219456001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788637877000,"timestamp_ms":1788637877000,"timestamp_seconds":1788637877,"priority":1,"record_length":96,"hex_timestamp":"000001a073201308"} 
[2026-09-06 01:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:26: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-09-06 01:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:26: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-09-06 01:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891219456001,"66":25375,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891219456001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:26:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:26:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891219456001,"power":25375,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":172095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:26:55] local.INFO: GPS data processed {"connection_id":172095,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:26:55] local.INFO: Acknowledgment sent {"connection_id":172095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:27:26] local.INFO: TCP Data received {"connection_id":172095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:27:26] local.INFO: Processing buffer {"connection_id":172095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:27:26] local.INFO: Packet analysis {"connection_id":172095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:27:26] local.INFO: Extracted packet for processing {"connection_id":172095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:27:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891296512001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:27: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-09-06 01:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788638178000,"timestamp_ms":1788638178000,"timestamp_seconds":1788638178,"priority":1,"record_length":96,"hex_timestamp":"000001a07324aad0"} 
[2026-09-06 01:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01: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-09-06 01: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-09-06 01:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:27: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-09-06 01:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891296512001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891296512001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:27:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:27:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891296512001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":172095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:27:26] local.INFO: GPS data processed {"connection_id":172095,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:27:26] local.INFO: Acknowledgment sent {"connection_id":172095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:27:49] local.INFO: TCP Data received {"connection_id":173455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:27:49] local.INFO: Processing buffer {"connection_id":173455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:27:49] local.INFO: IMEI packet received {"connection_id":173455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":173455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:27:54] local.INFO: TCP Data received {"connection_id":173455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:27:54] local.INFO: Processing buffer {"connection_id":173455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:27:54] local.INFO: IMEI packet received {"connection_id":173455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":173455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:27:55] local.INFO: TCP Data received {"connection_id":173455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:27:55] local.INFO: Processing buffer {"connection_id":173455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:27:55] local.INFO: Packet analysis {"connection_id":173455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:27:55] local.INFO: Extracted packet for processing {"connection_id":173455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:27:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891296512001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788638178000,"timestamp_ms":1788638178000,"timestamp_seconds":1788638178,"priority":1,"record_length":96,"hex_timestamp":"000001a07324aad0"} 
[2026-09-06 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-09-06 01:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:27: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-09-06 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-09-06 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-09-06 01:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891296512001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891296512001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:27:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:27:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891296512001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":173455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:27:55] local.INFO: GPS data processed {"connection_id":173455,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:27:55] local.INFO: Acknowledgment sent {"connection_id":173455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:28:26] local.INFO: TCP Data received {"connection_id":173455,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:28:26] local.INFO: Processing buffer {"connection_id":173455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:28:26] local.INFO: Packet analysis {"connection_id":173455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:28:26] local.INFO: Extracted packet for processing {"connection_id":173455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:28:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891296512001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:28: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-09-06 01:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788638178000,"timestamp_ms":1788638178000,"timestamp_seconds":1788638178,"priority":1,"record_length":96,"hex_timestamp":"000001a07324aad0"} 
[2026-09-06 01:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:28: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-09-06 01: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-09-06 01:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:28: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-09-06 01:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891296512001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891296512001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:28:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:28:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891296512001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":173455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:28:26] local.INFO: GPS data processed {"connection_id":173455,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:28:26] local.INFO: Acknowledgment sent {"connection_id":173455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:28:49] local.INFO: TCP Data received {"connection_id":172340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:28:49] local.INFO: Processing buffer {"connection_id":172340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:28:49] local.INFO: IMEI packet received {"connection_id":172340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":172340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:28:54] local.INFO: TCP Data received {"connection_id":172340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:28:54] local.INFO: Processing buffer {"connection_id":172340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:28:54] local.INFO: IMEI packet received {"connection_id":172340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":172340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:28:55] local.INFO: TCP Data received {"connection_id":172340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:28:55] local.INFO: Processing buffer {"connection_id":172340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:28:55] local.INFO: Packet analysis {"connection_id":172340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:28:55] local.INFO: Extracted packet for processing {"connection_id":172340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:28:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891296512001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788638178000,"timestamp_ms":1788638178000,"timestamp_seconds":1788638178,"priority":1,"record_length":96,"hex_timestamp":"000001a07324aad0"} 
[2026-09-06 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-09-06 01:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:28: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-09-06 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-09-06 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-09-06 01:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891296512001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891296512001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:28:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:28:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891296512001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":172340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:28:55] local.INFO: GPS data processed {"connection_id":172340,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:28:55] local.INFO: Acknowledgment sent {"connection_id":172340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:29:26] local.INFO: TCP Data received {"connection_id":172340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:29:26] local.INFO: Processing buffer {"connection_id":172340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:29:26] local.INFO: Packet analysis {"connection_id":172340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:29:26] local.INFO: Extracted packet for processing {"connection_id":172340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:29:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891296512001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:29: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-09-06 01:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788638178000,"timestamp_ms":1788638178000,"timestamp_seconds":1788638178,"priority":1,"record_length":96,"hex_timestamp":"000001a07324aad0"} 
[2026-09-06 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-09-06 01:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:29: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-09-06 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-09-06 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-09-06 01:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:29: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-09-06 01:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891296512001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891296512001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:29:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:29:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891296512001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":172340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:29:26] local.INFO: GPS data processed {"connection_id":172340,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:29:26] local.INFO: Acknowledgment sent {"connection_id":172340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:29:54] local.INFO: TCP Data received {"connection_id":174776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:29:54] local.INFO: Processing buffer {"connection_id":174776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:29:54] local.INFO: IMEI packet received {"connection_id":174776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":174776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:29:59] local.INFO: TCP Data received {"connection_id":174776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:29:59] local.INFO: Processing buffer {"connection_id":174776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:29:59] local.INFO: IMEI packet received {"connection_id":174776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":174776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:30:00] local.INFO: TCP Data received {"connection_id":174776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:30:00] local.INFO: Processing buffer {"connection_id":174776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:30:00] local.INFO: Packet analysis {"connection_id":174776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:30:00] local.INFO: Extracted packet for processing {"connection_id":174776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:30:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891296512001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:30:00] 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-09-06 01:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788638178000,"timestamp_ms":1788638178000,"timestamp_seconds":1788638178,"priority":1,"record_length":96,"hex_timestamp":"000001a07324aad0"} 
[2026-09-06 01:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:30: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-09-06 01:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891296512001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891296512001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:30:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:30:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891296512001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":174776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:30:00] local.INFO: GPS data processed {"connection_id":174776,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:30:00] local.INFO: Acknowledgment sent {"connection_id":174776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:30:04] local.INFO: TCP Data received {"connection_id":174776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:30:04] local.INFO: Processing buffer {"connection_id":174776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:30:04] local.INFO: Packet analysis {"connection_id":174776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:30:04] local.INFO: Extracted packet for processing {"connection_id":174776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:30:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891296512001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788638178000,"timestamp_ms":1788638178000,"timestamp_seconds":1788638178,"priority":1,"record_length":96,"hex_timestamp":"000001a07324aad0"} 
[2026-09-06 01:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891296512001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891296512001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:30:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:30:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891296512001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":174776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:30:04] local.INFO: GPS data processed {"connection_id":174776,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:30:04] local.INFO: Acknowledgment sent {"connection_id":174776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:30:49] local.INFO: TCP Data received {"connection_id":173457,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:30:49] local.INFO: Processing buffer {"connection_id":173457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:30:49] local.INFO: IMEI packet received {"connection_id":173457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":173457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:30:54] local.INFO: TCP Data received {"connection_id":173457,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:30:54] local.INFO: Processing buffer {"connection_id":173457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:30:54] local.INFO: IMEI packet received {"connection_id":173457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":173457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:30:55] local.INFO: TCP Data received {"connection_id":173457,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:30:55] local.INFO: Processing buffer {"connection_id":173457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:30:55] local.INFO: Packet analysis {"connection_id":173457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:30:55] local.INFO: Extracted packet for processing {"connection_id":173457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:30:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891296512001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788638178000,"timestamp_ms":1788638178000,"timestamp_seconds":1788638178,"priority":1,"record_length":96,"hex_timestamp":"000001a07324aad0"} 
[2026-09-06 01:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:30: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-09-06 01: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-09-06 01:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891296512001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891296512001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:30:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:30:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891296512001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":173457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:30:55] local.INFO: GPS data processed {"connection_id":173457,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:30:55] local.INFO: Acknowledgment sent {"connection_id":173457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:31:26] local.INFO: TCP Data received {"connection_id":173457,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:31:26] local.INFO: Processing buffer {"connection_id":173457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:31:26] local.INFO: Packet analysis {"connection_id":173457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:31:26] local.INFO: Extracted packet for processing {"connection_id":173457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:31:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891296512001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:31: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-09-06 01:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788638178000,"timestamp_ms":1788638178000,"timestamp_seconds":1788638178,"priority":1,"record_length":96,"hex_timestamp":"000001a07324aad0"} 
[2026-09-06 01:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 01:31: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-09-06 01: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-09-06 01:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891296512001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891296512001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:31:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:31:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891296512001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":173457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:31:26] local.INFO: GPS data processed {"connection_id":173457,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:31:26] local.INFO: Acknowledgment sent {"connection_id":173457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:31:49] local.INFO: TCP Data received {"connection_id":174777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:31:49] local.INFO: Processing buffer {"connection_id":174777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:31:49] local.INFO: IMEI packet received {"connection_id":174777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":174777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:31:54] local.INFO: TCP Data received {"connection_id":174777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:31:54] local.INFO: Processing buffer {"connection_id":174777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:31:54] local.INFO: IMEI packet received {"connection_id":174777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":174777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:31:56] local.INFO: TCP Data received {"connection_id":174777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:31:56] local.INFO: Processing buffer {"connection_id":174777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07324aad0012d532d0006497048000601472f..."} 
[2026-09-06 01:31:56] local.INFO: Packet analysis {"connection_id":174777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:31:56] local.INFO: Extracted packet for processing {"connection_id":174777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07324"} 
[2026-09-06 01:31:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891296512001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:31:56] 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-09-06 01:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788638178000,"timestamp_ms":1788638178000,"timestamp_seconds":1788638178,"priority":1,"record_length":96,"hex_timestamp":"000001a07324aad0"} 
[2026-09-06 01:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01: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-09-06 01: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-09-06 01:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891296512001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891296512001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:31:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:31:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891296512001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":174777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:31:56] local.INFO: GPS data processed {"connection_id":174777,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:31:56] local.INFO: Acknowledgment sent {"connection_id":174777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:31:57] local.INFO: TCP Data received {"connection_id":174777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:31:57] local.INFO: Processing buffer {"connection_id":174777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:31:57] local.INFO: Packet analysis {"connection_id":174777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:31:57] local.INFO: Extracted packet for processing {"connection_id":174777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:31:57] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891373568001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:31:57] 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-09-06 01:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788638479000,"timestamp_ms":1788638479000,"timestamp_seconds":1788638479,"priority":1,"record_length":96,"hex_timestamp":"000001a073294298"} 
[2026-09-06 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-09-06 01:31: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-09-06 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:31: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-09-06 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-09-06 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-09-06 01:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891373568001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891373568001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:31:57] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:31:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891373568001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":174777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:31:57] local.INFO: GPS data processed {"connection_id":174777,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:31:57] local.INFO: Acknowledgment sent {"connection_id":174777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:32:13] local.INFO: TCP Data received {"connection_id":173458,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:32:13] local.INFO: Processing buffer {"connection_id":173458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:32:13] local.INFO: IMEI packet received {"connection_id":173458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 01:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":173458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:32:28] local.INFO: TCP Data received {"connection_id":174777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:32:28] local.INFO: Processing buffer {"connection_id":174777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:32:28] local.INFO: Packet analysis {"connection_id":174777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:32:28] local.INFO: Extracted packet for processing {"connection_id":174777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:32:28] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891373568001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:32:28] 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-09-06 01:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788638479000,"timestamp_ms":1788638479000,"timestamp_seconds":1788638479,"priority":1,"record_length":96,"hex_timestamp":"000001a073294298"} 
[2026-09-06 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-09-06 01:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 01:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891373568001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891373568001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:32:28] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:32:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891373568001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":174777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:32:28] local.INFO: GPS data processed {"connection_id":174777,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:32:28] local.INFO: Acknowledgment sent {"connection_id":174777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:32:49] local.INFO: TCP Data received {"connection_id":174778,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:32:49] local.INFO: Processing buffer {"connection_id":174778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:32:49] local.INFO: IMEI packet received {"connection_id":174778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":174778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:32:54] local.INFO: TCP Data received {"connection_id":174778,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:32:54] local.INFO: Processing buffer {"connection_id":174778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:32:54] local.INFO: IMEI packet received {"connection_id":174778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":174778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:32:55] local.INFO: TCP Data received {"connection_id":174778,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:32:55] local.INFO: Processing buffer {"connection_id":174778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:32:55] local.INFO: Packet analysis {"connection_id":174778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:32:55] local.INFO: Extracted packet for processing {"connection_id":174778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:32:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891373568001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788638479000,"timestamp_ms":1788638479000,"timestamp_seconds":1788638479,"priority":1,"record_length":96,"hex_timestamp":"000001a073294298"} 
[2026-09-06 01:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:32:55] 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-09-06 01:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891373568001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891373568001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:32:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:32:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891373568001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":174778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:32:55] local.INFO: GPS data processed {"connection_id":174778,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:32:55] local.INFO: Acknowledgment sent {"connection_id":174778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:33:26] local.INFO: TCP Data received {"connection_id":174778,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:33:26] local.INFO: Processing buffer {"connection_id":174778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:33:26] local.INFO: Packet analysis {"connection_id":174778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:33:26] local.INFO: Extracted packet for processing {"connection_id":174778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:33:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891373568001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 01:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788638479000,"timestamp_ms":1788638479000,"timestamp_seconds":1788638479,"priority":1,"record_length":96,"hex_timestamp":"000001a073294298"} 
[2026-09-06 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-09-06 01:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:33: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-09-06 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-09-06 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-09-06 01:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:33: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-09-06 01:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891373568001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891373568001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:33:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:33:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891373568001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":174778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:33:26] local.INFO: GPS data processed {"connection_id":174778,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:33:26] local.INFO: Acknowledgment sent {"connection_id":174778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:33:49] local.INFO: TCP Data received {"connection_id":172342,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:33:49] local.INFO: Processing buffer {"connection_id":172342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:33:49] local.INFO: IMEI packet received {"connection_id":172342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":172342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:33:54] local.INFO: TCP Data received {"connection_id":172342,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:33:54] local.INFO: Processing buffer {"connection_id":172342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:33:54] local.INFO: IMEI packet received {"connection_id":172342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":172342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:33:55] local.INFO: TCP Data received {"connection_id":172342,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:33:55] local.INFO: Processing buffer {"connection_id":172342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:33:55] local.INFO: Packet analysis {"connection_id":172342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:33:55] local.INFO: Extracted packet for processing {"connection_id":172342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:33:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891373568001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788638479000,"timestamp_ms":1788638479000,"timestamp_seconds":1788638479,"priority":1,"record_length":96,"hex_timestamp":"000001a073294298"} 
[2026-09-06 01:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:33:55] 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-09-06 01:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891373568001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891373568001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:33:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:33:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891373568001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":172342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:33:55] local.INFO: GPS data processed {"connection_id":172342,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:33:55] local.INFO: Acknowledgment sent {"connection_id":172342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:34:26] local.INFO: TCP Data received {"connection_id":172342,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:34:26] local.INFO: Processing buffer {"connection_id":172342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:34:26] local.INFO: Packet analysis {"connection_id":172342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:34:26] local.INFO: Extracted packet for processing {"connection_id":172342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:34:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891373568001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:34: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-09-06 01:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788638479000,"timestamp_ms":1788638479000,"timestamp_seconds":1788638479,"priority":1,"record_length":96,"hex_timestamp":"000001a073294298"} 
[2026-09-06 01:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:34: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-09-06 01:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:34: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-09-06 01:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891373568001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891373568001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:34:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:34:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891373568001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":172342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:34:26] local.INFO: GPS data processed {"connection_id":172342,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:34:26] local.INFO: Acknowledgment sent {"connection_id":172342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:34:54] local.INFO: TCP Data received {"connection_id":174779,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:34:54] local.INFO: Processing buffer {"connection_id":174779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:34:54] local.INFO: IMEI packet received {"connection_id":174779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":174779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:34:59] local.INFO: TCP Data received {"connection_id":174779,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:34:59] local.INFO: Processing buffer {"connection_id":174779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:34:59] local.INFO: IMEI packet received {"connection_id":174779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":174779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:35:00] local.INFO: TCP Data received {"connection_id":174779,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:35:00] local.INFO: Processing buffer {"connection_id":174779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:35:00] local.INFO: Packet analysis {"connection_id":174779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:35:00] local.INFO: Extracted packet for processing {"connection_id":174779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:35:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891373568001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:35:00] 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-09-06 01:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788638479000,"timestamp_ms":1788638479000,"timestamp_seconds":1788638479,"priority":1,"record_length":96,"hex_timestamp":"000001a073294298"} 
[2026-09-06 01:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:35:00] 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-09-06 01: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-09-06 01:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891373568001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891373568001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:35:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:35:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891373568001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":174779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:35:00] local.INFO: GPS data processed {"connection_id":174779,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:35:00] local.INFO: Acknowledgment sent {"connection_id":174779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:35:04] local.INFO: TCP Data received {"connection_id":174779,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:35:04] local.INFO: Processing buffer {"connection_id":174779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:35:04] local.INFO: Packet analysis {"connection_id":174779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:35:04] local.INFO: Extracted packet for processing {"connection_id":174779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:35:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891373568001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788638479000,"timestamp_ms":1788638479000,"timestamp_seconds":1788638479,"priority":1,"record_length":96,"hex_timestamp":"000001a073294298"} 
[2026-09-06 01:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:35:04] 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-09-06 01:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891373568001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891373568001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:35:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:35:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891373568001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":174779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:35:05] local.INFO: GPS data processed {"connection_id":174779,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:35:05] local.INFO: Acknowledgment sent {"connection_id":174779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:35:49] local.INFO: TCP Data received {"connection_id":172343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:35:49] local.INFO: Processing buffer {"connection_id":172343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:35:49] local.INFO: IMEI packet received {"connection_id":172343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":172343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:35:54] local.INFO: TCP Data received {"connection_id":172343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:35:54] local.INFO: Processing buffer {"connection_id":172343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:35:54] local.INFO: IMEI packet received {"connection_id":172343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":172343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:35:55] local.INFO: TCP Data received {"connection_id":172343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:35:55] local.INFO: Processing buffer {"connection_id":172343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:35:55] local.INFO: Packet analysis {"connection_id":172343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:35:55] local.INFO: Extracted packet for processing {"connection_id":172343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:35:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891373568001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788638479000,"timestamp_ms":1788638479000,"timestamp_seconds":1788638479,"priority":1,"record_length":96,"hex_timestamp":"000001a073294298"} 
[2026-09-06 01:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:35:55] 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-09-06 01:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891373568001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891373568001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:35:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:35:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891373568001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":172343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:35:55] local.INFO: GPS data processed {"connection_id":172343,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:35:55] local.INFO: Acknowledgment sent {"connection_id":172343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:36:26] local.INFO: TCP Data received {"connection_id":172343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:36:26] local.INFO: Processing buffer {"connection_id":172343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:36:26] local.INFO: Packet analysis {"connection_id":172343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:36:26] local.INFO: Extracted packet for processing {"connection_id":172343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:36:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891373568001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:36: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-09-06 01:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788638479000,"timestamp_ms":1788638479000,"timestamp_seconds":1788638479,"priority":1,"record_length":96,"hex_timestamp":"000001a073294298"} 
[2026-09-06 01:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:36: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-09-06 01: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-09-06 01:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:36: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-09-06 01:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891373568001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891373568001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:36:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:36:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891373568001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":172343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:36:26] local.INFO: GPS data processed {"connection_id":172343,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:36:26] local.INFO: Acknowledgment sent {"connection_id":172343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:36:49] local.INFO: TCP Data received {"connection_id":173461,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:36:49] local.INFO: Processing buffer {"connection_id":173461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:36:49] local.INFO: IMEI packet received {"connection_id":173461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":173461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:36:54] local.INFO: TCP Data received {"connection_id":173461,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:36:54] local.INFO: Processing buffer {"connection_id":173461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:36:54] local.INFO: IMEI packet received {"connection_id":173461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":173461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:36:55] local.INFO: TCP Data received {"connection_id":173461,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:36:55] local.INFO: Processing buffer {"connection_id":173461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073294298012d532d0006497048000601472e..."} 
[2026-09-06 01:36:55] local.INFO: Packet analysis {"connection_id":173461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:36:55] local.INFO: Extracted packet for processing {"connection_id":173461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07329"} 
[2026-09-06 01:36:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891373568001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788638479000,"timestamp_ms":1788638479000,"timestamp_seconds":1788638479,"priority":1,"record_length":96,"hex_timestamp":"000001a073294298"} 
[2026-09-06 01:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:36:55] 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-09-06 01:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891373568001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891373568001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:36:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:36:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891373568001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":173461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:36:55] local.INFO: GPS data processed {"connection_id":173461,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:36:55] local.INFO: Acknowledgment sent {"connection_id":173461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:37:26] local.INFO: TCP Data received {"connection_id":173461,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:37:26] local.INFO: Processing buffer {"connection_id":173461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:37:26] local.INFO: Packet analysis {"connection_id":173461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:37:26] local.INFO: Extracted packet for processing {"connection_id":173461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:37:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891450624001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:37: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-09-06 01:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788638780000,"timestamp_ms":1788638780000,"timestamp_seconds":1788638780,"priority":1,"record_length":96,"hex_timestamp":"000001a0732dda60"} 
[2026-09-06 01:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:37: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-09-06 01:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:37: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-09-06 01:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891450624001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891450624001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:37:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:37:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891450624001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":173461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:37:26] local.INFO: GPS data processed {"connection_id":173461,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:37:26] local.INFO: Acknowledgment sent {"connection_id":173461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:37:33] local.INFO: TCP Data received {"connection_id":172344,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:37:33] local.INFO: Processing buffer {"connection_id":172344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:37:33] local.INFO: IMEI packet received {"connection_id":172344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 01:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":172344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:37:49] local.INFO: TCP Data received {"connection_id":173462,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:37:49] local.INFO: Processing buffer {"connection_id":173462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:37:49] local.INFO: IMEI packet received {"connection_id":173462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":173462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:37:54] local.INFO: TCP Data received {"connection_id":173462,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:37:54] local.INFO: Processing buffer {"connection_id":173462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:37:54] local.INFO: IMEI packet received {"connection_id":173462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":173462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:37:55] local.INFO: TCP Data received {"connection_id":173462,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:37:55] local.INFO: Processing buffer {"connection_id":173462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:37:55] local.INFO: Packet analysis {"connection_id":173462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:37:55] local.INFO: Extracted packet for processing {"connection_id":173462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:37:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891450624001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788638780000,"timestamp_ms":1788638780000,"timestamp_seconds":1788638780,"priority":1,"record_length":96,"hex_timestamp":"000001a0732dda60"} 
[2026-09-06 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-09-06 01:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:37:55] 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-09-06 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-09-06 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-09-06 01:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891450624001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891450624001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:37:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:37:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891450624001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":173462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:37:55] local.INFO: GPS data processed {"connection_id":173462,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:37:55] local.INFO: Acknowledgment sent {"connection_id":173462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:38:26] local.INFO: TCP Data received {"connection_id":173462,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:38:26] local.INFO: Processing buffer {"connection_id":173462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:38:26] local.INFO: Packet analysis {"connection_id":173462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:38:26] local.INFO: Extracted packet for processing {"connection_id":173462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:38:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891450624001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:38: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-09-06 01:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788638780000,"timestamp_ms":1788638780000,"timestamp_seconds":1788638780,"priority":1,"record_length":96,"hex_timestamp":"000001a0732dda60"} 
[2026-09-06 01:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:38: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-09-06 01:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:38: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-09-06 01:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891450624001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891450624001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:38:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:38:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891450624001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":173462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:38:26] local.INFO: GPS data processed {"connection_id":173462,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:38:26] local.INFO: Acknowledgment sent {"connection_id":173462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:38:49] local.INFO: TCP Data received {"connection_id":172100,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:38:49] local.INFO: Processing buffer {"connection_id":172100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:38:49] local.INFO: IMEI packet received {"connection_id":172100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":172100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:38:54] local.INFO: TCP Data received {"connection_id":172100,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:38:54] local.INFO: Processing buffer {"connection_id":172100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:38:54] local.INFO: IMEI packet received {"connection_id":172100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":172100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:38:55] local.INFO: TCP Data received {"connection_id":172100,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:38:55] local.INFO: Processing buffer {"connection_id":172100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:38:55] local.INFO: Packet analysis {"connection_id":172100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:38:55] local.INFO: Extracted packet for processing {"connection_id":172100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:38:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891450624001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788638780000,"timestamp_ms":1788638780000,"timestamp_seconds":1788638780,"priority":1,"record_length":96,"hex_timestamp":"000001a0732dda60"} 
[2026-09-06 01:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:38:55] 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-09-06 01:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891450624001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891450624001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:38:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:38:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891450624001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":172100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:38:55] local.INFO: GPS data processed {"connection_id":172100,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:38:55] local.INFO: Acknowledgment sent {"connection_id":172100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:39:26] local.INFO: TCP Data received {"connection_id":172100,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:39:26] local.INFO: Processing buffer {"connection_id":172100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:39:26] local.INFO: Packet analysis {"connection_id":172100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:39:26] local.INFO: Extracted packet for processing {"connection_id":172100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:39:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891450624001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:39: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-09-06 01:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788638780000,"timestamp_ms":1788638780000,"timestamp_seconds":1788638780,"priority":1,"record_length":96,"hex_timestamp":"000001a0732dda60"} 
[2026-09-06 01:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:39: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-09-06 01: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-09-06 01:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:39: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-09-06 01:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891450624001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891450624001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:39:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:39:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891450624001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":172100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:39:26] local.INFO: GPS data processed {"connection_id":172100,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:39:26] local.INFO: Acknowledgment sent {"connection_id":172100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:39:54] local.INFO: TCP Data received {"connection_id":174780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:39:54] local.INFO: Processing buffer {"connection_id":174780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:39:54] local.INFO: IMEI packet received {"connection_id":174780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":174780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:39:59] local.INFO: TCP Data received {"connection_id":174780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:39:59] local.INFO: Processing buffer {"connection_id":174780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:39:59] local.INFO: IMEI packet received {"connection_id":174780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":174780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:40:00] local.INFO: TCP Data received {"connection_id":174780,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:40:00] local.INFO: Processing buffer {"connection_id":174780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:40:00] local.INFO: Packet analysis {"connection_id":174780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:40:00] local.INFO: Extracted packet for processing {"connection_id":174780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:40:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891450624001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:40:00] 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-09-06 01:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788638780000,"timestamp_ms":1788638780000,"timestamp_seconds":1788638780,"priority":1,"record_length":96,"hex_timestamp":"000001a0732dda60"} 
[2026-09-06 01:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:40:00] 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-09-06 01:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891450624001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891450624001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:40:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:40:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891450624001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":174780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:40:00] local.INFO: GPS data processed {"connection_id":174780,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:40:00] local.INFO: Acknowledgment sent {"connection_id":174780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:40:05] local.INFO: TCP Data received {"connection_id":174780,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:40:05] local.INFO: Processing buffer {"connection_id":174780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:40:05] local.INFO: Packet analysis {"connection_id":174780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:40:05] local.INFO: Extracted packet for processing {"connection_id":174780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:40:05] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891450624001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788638780000,"timestamp_ms":1788638780000,"timestamp_seconds":1788638780,"priority":1,"record_length":96,"hex_timestamp":"000001a0732dda60"} 
[2026-09-06 01:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:40: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-09-06 01: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-09-06 01:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:40: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-09-06 01:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891450624001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891450624001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:40:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:40:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891450624001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":174780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:40:05] local.INFO: GPS data processed {"connection_id":174780,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:40:05] local.INFO: Acknowledgment sent {"connection_id":174780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:40:49] local.INFO: TCP Data received {"connection_id":173463,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:40:49] local.INFO: Processing buffer {"connection_id":173463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:40:49] local.INFO: IMEI packet received {"connection_id":173463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":173463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:40:54] local.INFO: TCP Data received {"connection_id":173463,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:40:54] local.INFO: Processing buffer {"connection_id":173463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:40:54] local.INFO: IMEI packet received {"connection_id":173463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":173463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:40:55] local.INFO: TCP Data received {"connection_id":173463,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:40:55] local.INFO: Processing buffer {"connection_id":173463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:40:55] local.INFO: Packet analysis {"connection_id":173463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:40:55] local.INFO: Extracted packet for processing {"connection_id":173463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:40:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891450624001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788638780000,"timestamp_ms":1788638780000,"timestamp_seconds":1788638780,"priority":1,"record_length":96,"hex_timestamp":"000001a0732dda60"} 
[2026-09-06 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-09-06 01:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:40:55] 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-09-06 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-09-06 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-09-06 01:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891450624001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891450624001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:40:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:40:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891450624001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":173463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:40:55] local.INFO: GPS data processed {"connection_id":173463,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:40:55] local.INFO: Acknowledgment sent {"connection_id":173463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:41:26] local.INFO: TCP Data received {"connection_id":173463,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:41:26] local.INFO: Processing buffer {"connection_id":173463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:41:26] local.INFO: Packet analysis {"connection_id":173463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:41:26] local.INFO: Extracted packet for processing {"connection_id":173463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:41:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891450624001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:41: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-09-06 01:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788638780000,"timestamp_ms":1788638780000,"timestamp_seconds":1788638780,"priority":1,"record_length":96,"hex_timestamp":"000001a0732dda60"} 
[2026-09-06 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-09-06 01:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:41: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-09-06 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-09-06 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-09-06 01:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:41: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-09-06 01:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891450624001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891450624001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:41:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:41:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891450624001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":173463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:41:26] local.INFO: GPS data processed {"connection_id":173463,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:41:26] local.INFO: Acknowledgment sent {"connection_id":173463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:41:49] local.INFO: TCP Data received {"connection_id":172346,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:41:49] local.INFO: Processing buffer {"connection_id":172346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:41:49] local.INFO: IMEI packet received {"connection_id":172346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":172346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:41:54] local.INFO: TCP Data received {"connection_id":172346,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:41:54] local.INFO: Processing buffer {"connection_id":172346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:41:54] local.INFO: IMEI packet received {"connection_id":172346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":172346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:41:55] local.INFO: TCP Data received {"connection_id":172346,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:41:55] local.INFO: Processing buffer {"connection_id":172346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0732dda60012d532d0006497048000601472f..."} 
[2026-09-06 01:41:55] local.INFO: Packet analysis {"connection_id":172346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:41:55] local.INFO: Extracted packet for processing {"connection_id":172346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0732d"} 
[2026-09-06 01:41:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891450624001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788638780000,"timestamp_ms":1788638780000,"timestamp_seconds":1788638780,"priority":1,"record_length":96,"hex_timestamp":"000001a0732dda60"} 
[2026-09-06 01:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 01:41:55] 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-09-06 01:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891450624001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891450624001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:41:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:41:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891450624001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":172346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:41:55] local.INFO: GPS data processed {"connection_id":172346,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:41:55] local.INFO: Acknowledgment sent {"connection_id":172346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:42:26] local.INFO: TCP Data received {"connection_id":172346,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:42:26] local.INFO: Processing buffer {"connection_id":172346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:42:26] local.INFO: Packet analysis {"connection_id":172346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:42:26] local.INFO: Extracted packet for processing {"connection_id":172346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:42:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891527680001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:42: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-09-06 01:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788639081000,"timestamp_ms":1788639081000,"timestamp_seconds":1788639081,"priority":1,"record_length":96,"hex_timestamp":"000001a073327228"} 
[2026-09-06 01:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:42: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-09-06 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:42: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-09-06 01: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-09-06 01:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:42: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-09-06 01:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891527680001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891527680001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:42:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:42:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891527680001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":172346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:42:26] local.INFO: GPS data processed {"connection_id":172346,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:42:26] local.INFO: Acknowledgment sent {"connection_id":172346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:42:50] local.INFO: TCP Data received {"connection_id":172104,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:42:50] local.INFO: Processing buffer {"connection_id":172104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:42:50] local.INFO: IMEI packet received {"connection_id":172104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":172104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:42:54] local.INFO: TCP Data received {"connection_id":172104,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:42:54] local.INFO: Processing buffer {"connection_id":172104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:42:54] local.INFO: IMEI packet received {"connection_id":172104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":172104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:42:55] local.INFO: TCP Data received {"connection_id":172104,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:42:55] local.INFO: Processing buffer {"connection_id":172104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:42:55] local.INFO: Packet analysis {"connection_id":172104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:42:55] local.INFO: Extracted packet for processing {"connection_id":172104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:42:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891527680001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788639081000,"timestamp_ms":1788639081000,"timestamp_seconds":1788639081,"priority":1,"record_length":96,"hex_timestamp":"000001a073327228"} 
[2026-09-06 01:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:42: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-09-06 01:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:42: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-09-06 01:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891527680001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891527680001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:42:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:42:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891527680001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":172104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:42:55] local.INFO: GPS data processed {"connection_id":172104,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:42:55] local.INFO: Acknowledgment sent {"connection_id":172104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:43:12] local.INFO: TCP Data received {"connection_id":174781,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:43:12] local.INFO: Processing buffer {"connection_id":174781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:43:12] local.INFO: IMEI packet received {"connection_id":174781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 01:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":174781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:43:25] local.INFO: TCP Data received {"connection_id":172104,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:43:25] local.INFO: Processing buffer {"connection_id":172104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:43:25] local.INFO: Packet analysis {"connection_id":172104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:43:25] local.INFO: Extracted packet for processing {"connection_id":172104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:43:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891527680001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:43:25] 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-09-06 01:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788639081000,"timestamp_ms":1788639081000,"timestamp_seconds":1788639081,"priority":1,"record_length":96,"hex_timestamp":"000001a073327228"} 
[2026-09-06 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-09-06 01: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-09-06 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:43: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-09-06 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-09-06 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-09-06 01:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:43: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-09-06 01:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891527680001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891527680001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:43:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:43:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891527680001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":172104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:43:25] local.INFO: GPS data processed {"connection_id":172104,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:43:25] local.INFO: Acknowledgment sent {"connection_id":172104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:43:49] local.INFO: TCP Data received {"connection_id":174782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:43:49] local.INFO: Processing buffer {"connection_id":174782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:43:49] local.INFO: IMEI packet received {"connection_id":174782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":174782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:43:54] local.INFO: TCP Data received {"connection_id":174782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:43:54] local.INFO: Processing buffer {"connection_id":174782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:43:54] local.INFO: IMEI packet received {"connection_id":174782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":174782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:43:55] local.INFO: TCP Data received {"connection_id":174782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:43:55] local.INFO: Processing buffer {"connection_id":174782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:43:55] local.INFO: Packet analysis {"connection_id":174782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:43:55] local.INFO: Extracted packet for processing {"connection_id":174782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:43:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891527680001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788639081000,"timestamp_ms":1788639081000,"timestamp_seconds":1788639081,"priority":1,"record_length":96,"hex_timestamp":"000001a073327228"} 
[2026-09-06 01:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:43: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-09-06 01:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:43: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-09-06 01:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891527680001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891527680001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:43:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:43:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891527680001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":174782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:43:55] local.INFO: GPS data processed {"connection_id":174782,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:43:55] local.INFO: Acknowledgment sent {"connection_id":174782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:44:26] local.INFO: TCP Data received {"connection_id":174782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:44:26] local.INFO: Processing buffer {"connection_id":174782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:44:26] local.INFO: Packet analysis {"connection_id":174782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:44:26] local.INFO: Extracted packet for processing {"connection_id":174782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:44:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891527680001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:44: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-09-06 01:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788639081000,"timestamp_ms":1788639081000,"timestamp_seconds":1788639081,"priority":1,"record_length":96,"hex_timestamp":"000001a073327228"} 
[2026-09-06 01:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:44: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-09-06 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:44: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-09-06 01: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-09-06 01:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:44: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-09-06 01:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891527680001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891527680001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:44:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:44:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891527680001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":174782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:44:26] local.INFO: GPS data processed {"connection_id":174782,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:44:26] local.INFO: Acknowledgment sent {"connection_id":174782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:44:54] local.INFO: TCP Data received {"connection_id":173464,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:44:54] local.INFO: Processing buffer {"connection_id":173464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:44:54] local.INFO: IMEI packet received {"connection_id":173464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":173464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:44:59] local.INFO: TCP Data received {"connection_id":173464,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:44:59] local.INFO: Processing buffer {"connection_id":173464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:44:59] local.INFO: IMEI packet received {"connection_id":173464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":173464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:45:00] local.INFO: TCP Data received {"connection_id":173464,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:45:00] local.INFO: Processing buffer {"connection_id":173464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:45:00] local.INFO: Packet analysis {"connection_id":173464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:45:00] local.INFO: Extracted packet for processing {"connection_id":173464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:45:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891527680001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:45:00] 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-09-06 01:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788639081000,"timestamp_ms":1788639081000,"timestamp_seconds":1788639081,"priority":1,"record_length":96,"hex_timestamp":"000001a073327228"} 
[2026-09-06 01:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:45: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-09-06 01:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:45: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-09-06 01:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891527680001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891527680001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:45:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:45:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891527680001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":173464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:45:00] local.INFO: GPS data processed {"connection_id":173464,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:45:00] local.INFO: Acknowledgment sent {"connection_id":173464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:45:04] local.INFO: TCP Data received {"connection_id":173464,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:45:04] local.INFO: Processing buffer {"connection_id":173464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:45:04] local.INFO: Packet analysis {"connection_id":173464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:45:04] local.INFO: Extracted packet for processing {"connection_id":173464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:45:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891527680001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788639081000,"timestamp_ms":1788639081000,"timestamp_seconds":1788639081,"priority":1,"record_length":96,"hex_timestamp":"000001a073327228"} 
[2026-09-06 01:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:45: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-09-06 01:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891527680001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891527680001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:45:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:45:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891527680001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":173464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:45:04] local.INFO: GPS data processed {"connection_id":173464,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:45:04] local.INFO: Acknowledgment sent {"connection_id":173464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:45:32] local.INFO: TCP Data received {"connection_id":174785,"ip":"172.235.41.245","data_length":207,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-06 01:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174785,"packet_length":207,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-06 01:45:32] local.INFO: Processing buffer {"connection_id":174785,"buffer_length":207,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-06 01:45:32] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":174785,"buffer_length":207,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-09-06 01:45:33] local.INFO: TCP Data received {"connection_id":174786,"ip":"172.235.41.245","data_length":128,"data_hex":"160301007b010000770303499b361f8dc1392b71f7498b1474df1491bbdbc04c..."} 
[2026-09-06 01:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174786,"packet_length":128,"packet_hex":"160301007b010000770303499b361f8dc1392b71f7498b1474df1491bbdbc04c..."} 
[2026-09-06 01:45:33] local.INFO: Processing buffer {"connection_id":174786,"buffer_length":128,"buffer_hex":"160301007b010000770303499b361f8dc1392b71f7498b1474df1491bbdbc04c..."} 
[2026-09-06 01:45:33] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":174786,"buffer_length":128,"first_bytes_hex":"160301007b010000770303499b361f8d"} 
[2026-09-06 01:45:33] local.INFO: TCP Data received {"connection_id":174786,"ip":"172.235.41.245","data_length":7,"data_hex":"15030100020216..."} 
[2026-09-06 01:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174786,"packet_length":7,"packet_hex":"15030100020216..."} 
[2026-09-06 01:45:33] local.INFO: Processing buffer {"connection_id":174786,"buffer_length":7,"buffer_hex":"15030100020216..."} 
[2026-09-06 01:45:49] local.INFO: TCP Data received {"connection_id":172105,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:45:49] local.INFO: Processing buffer {"connection_id":172105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:45:49] local.INFO: IMEI packet received {"connection_id":172105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":172105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:45:54] local.INFO: TCP Data received {"connection_id":172105,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:45:54] local.INFO: Processing buffer {"connection_id":172105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:45:54] local.INFO: IMEI packet received {"connection_id":172105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":172105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:45:55] local.INFO: TCP Data received {"connection_id":172105,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:45:55] local.INFO: Processing buffer {"connection_id":172105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:45:55] local.INFO: Packet analysis {"connection_id":172105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:45:55] local.INFO: Extracted packet for processing {"connection_id":172105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:45:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891527680001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788639081000,"timestamp_ms":1788639081000,"timestamp_seconds":1788639081,"priority":1,"record_length":96,"hex_timestamp":"000001a073327228"} 
[2026-09-06 01:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:45: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-09-06 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:45: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-09-06 01: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-09-06 01:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891527680001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891527680001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:45:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:45:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891527680001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":172105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:45:55] local.INFO: GPS data processed {"connection_id":172105,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:45:55] local.INFO: Acknowledgment sent {"connection_id":172105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:46:26] local.INFO: TCP Data received {"connection_id":172105,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:46:26] local.INFO: Processing buffer {"connection_id":172105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:46:26] local.INFO: Packet analysis {"connection_id":172105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:46:26] local.INFO: Extracted packet for processing {"connection_id":172105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:46:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891527680001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:46: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-09-06 01:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788639081000,"timestamp_ms":1788639081000,"timestamp_seconds":1788639081,"priority":1,"record_length":96,"hex_timestamp":"000001a073327228"} 
[2026-09-06 01:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:46: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-09-06 01:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01: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-09-06 01:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:46: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-09-06 01:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891527680001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891527680001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:46:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:46:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891527680001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":172105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:46:26] local.INFO: GPS data processed {"connection_id":172105,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:46:26] local.INFO: Acknowledgment sent {"connection_id":172105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:46:50] local.INFO: TCP Data received {"connection_id":172347,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:46:50] local.INFO: Processing buffer {"connection_id":172347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:46:50] local.INFO: IMEI packet received {"connection_id":172347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":172347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:46:54] local.INFO: TCP Data received {"connection_id":172347,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:46:54] local.INFO: Processing buffer {"connection_id":172347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:46:54] local.INFO: IMEI packet received {"connection_id":172347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":172347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:46:55] local.INFO: TCP Data received {"connection_id":172347,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:46:55] local.INFO: Processing buffer {"connection_id":172347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073327228012d532d00064970480006014731..."} 
[2026-09-06 01:46:55] local.INFO: Packet analysis {"connection_id":172347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:46:55] local.INFO: Extracted packet for processing {"connection_id":172347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07332"} 
[2026-09-06 01:46:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891527680001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788639081000,"timestamp_ms":1788639081000,"timestamp_seconds":1788639081,"priority":1,"record_length":96,"hex_timestamp":"000001a073327228"} 
[2026-09-06 01:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:46: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-09-06 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:46: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-09-06 01: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-09-06 01:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891527680001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891527680001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:46:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:46:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891527680001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":172347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:46:55] local.INFO: GPS data processed {"connection_id":172347,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:46:55] local.INFO: Acknowledgment sent {"connection_id":172347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:47:26] local.INFO: TCP Data received {"connection_id":172347,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:47:26] local.INFO: Processing buffer {"connection_id":172347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:47:26] local.INFO: Packet analysis {"connection_id":172347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:47:26] local.INFO: Extracted packet for processing {"connection_id":172347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:47:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891604736001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:47: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-09-06 01:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788639382000,"timestamp_ms":1788639382000,"timestamp_seconds":1788639382,"priority":1,"record_length":96,"hex_timestamp":"000001a0733709f0"} 
[2026-09-06 01:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:47: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-09-06 01: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-09-06 01:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:47: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-09-06 01:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891604736001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891604736001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:47:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:47:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891604736001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":172347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:47:26] local.INFO: GPS data processed {"connection_id":172347,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:47:26] local.INFO: Acknowledgment sent {"connection_id":172347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:47:49] local.INFO: TCP Data received {"connection_id":174787,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:47:49] local.INFO: Processing buffer {"connection_id":174787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:47:49] local.INFO: IMEI packet received {"connection_id":174787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":174787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:47:54] local.INFO: TCP Data received {"connection_id":174787,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:47:54] local.INFO: Processing buffer {"connection_id":174787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:47:54] local.INFO: IMEI packet received {"connection_id":174787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":174787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:47:55] local.INFO: TCP Data received {"connection_id":174787,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:47:55] local.INFO: Processing buffer {"connection_id":174787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:47:55] local.INFO: Packet analysis {"connection_id":174787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:47:55] local.INFO: Extracted packet for processing {"connection_id":174787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:47:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891604736001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788639382000,"timestamp_ms":1788639382000,"timestamp_seconds":1788639382,"priority":1,"record_length":96,"hex_timestamp":"000001a0733709f0"} 
[2026-09-06 01:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:47: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-09-06 01: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-09-06 01:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891604736001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891604736001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:47:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:47:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891604736001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":174787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:47:55] local.INFO: GPS data processed {"connection_id":174787,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:47:55] local.INFO: Acknowledgment sent {"connection_id":174787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:48:26] local.INFO: TCP Data received {"connection_id":174787,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:48:26] local.INFO: Processing buffer {"connection_id":174787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:48:26] local.INFO: Packet analysis {"connection_id":174787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:48:26] local.INFO: Extracted packet for processing {"connection_id":174787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:48:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891604736001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:48: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-09-06 01:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788639382000,"timestamp_ms":1788639382000,"timestamp_seconds":1788639382,"priority":1,"record_length":96,"hex_timestamp":"000001a0733709f0"} 
[2026-09-06 01:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:48: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-09-06 01: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-09-06 01:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:48: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-09-06 01:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891604736001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891604736001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:48:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:48:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891604736001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":174787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:48:26] local.INFO: GPS data processed {"connection_id":174787,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:48:26] local.INFO: Acknowledgment sent {"connection_id":174787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:48:38] local.INFO: TCP Data received {"connection_id":174788,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:48:38] local.INFO: Processing buffer {"connection_id":174788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:48:38] local.INFO: IMEI packet received {"connection_id":174788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 01:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":174788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:48:49] local.INFO: TCP Data received {"connection_id":172108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:48:49] local.INFO: Processing buffer {"connection_id":172108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:48:49] local.INFO: IMEI packet received {"connection_id":172108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":172108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:48:54] local.INFO: TCP Data received {"connection_id":172108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:48:54] local.INFO: Processing buffer {"connection_id":172108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:48:54] local.INFO: IMEI packet received {"connection_id":172108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":172108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:48:55] local.INFO: TCP Data received {"connection_id":172108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:48:55] local.INFO: Processing buffer {"connection_id":172108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:48:55] local.INFO: Packet analysis {"connection_id":172108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:48:55] local.INFO: Extracted packet for processing {"connection_id":172108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:48:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891604736001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788639382000,"timestamp_ms":1788639382000,"timestamp_seconds":1788639382,"priority":1,"record_length":96,"hex_timestamp":"000001a0733709f0"} 
[2026-09-06 01:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:48: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-09-06 01:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891604736001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891604736001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:48:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:48:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891604736001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":172108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:48:55] local.INFO: GPS data processed {"connection_id":172108,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:48:55] local.INFO: Acknowledgment sent {"connection_id":172108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:49:26] local.INFO: TCP Data received {"connection_id":172108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:49:26] local.INFO: Processing buffer {"connection_id":172108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:49:26] local.INFO: Packet analysis {"connection_id":172108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:49:26] local.INFO: Extracted packet for processing {"connection_id":172108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:49:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891604736001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:49: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-09-06 01:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788639382000,"timestamp_ms":1788639382000,"timestamp_seconds":1788639382,"priority":1,"record_length":96,"hex_timestamp":"000001a0733709f0"} 
[2026-09-06 01:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:49: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-09-06 01: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-09-06 01:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:49: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-09-06 01:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891604736001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891604736001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:49:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:49:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891604736001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":172108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:49:26] local.INFO: GPS data processed {"connection_id":172108,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:49:26] local.INFO: Acknowledgment sent {"connection_id":172108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:49:54] local.INFO: TCP Data received {"connection_id":172349,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:49:54] local.INFO: Processing buffer {"connection_id":172349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:49:54] local.INFO: IMEI packet received {"connection_id":172349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":172349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:49:59] local.INFO: TCP Data received {"connection_id":172349,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:49:59] local.INFO: Processing buffer {"connection_id":172349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:49:59] local.INFO: IMEI packet received {"connection_id":172349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":172349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:50:00] local.INFO: TCP Data received {"connection_id":172349,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:50:00] local.INFO: Processing buffer {"connection_id":172349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:50:00] local.INFO: Packet analysis {"connection_id":172349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:50:00] local.INFO: Extracted packet for processing {"connection_id":172349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:50:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891604736001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:50:00] 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-09-06 01:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788639382000,"timestamp_ms":1788639382000,"timestamp_seconds":1788639382,"priority":1,"record_length":96,"hex_timestamp":"000001a0733709f0"} 
[2026-09-06 01:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:50: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-09-06 01:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891604736001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891604736001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:50:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:50:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891604736001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":172349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:50:00] local.INFO: GPS data processed {"connection_id":172349,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:50:00] local.INFO: Acknowledgment sent {"connection_id":172349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:50:05] local.INFO: TCP Data received {"connection_id":172349,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:50:05] local.INFO: Processing buffer {"connection_id":172349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:50:05] local.INFO: Packet analysis {"connection_id":172349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:50:05] local.INFO: Extracted packet for processing {"connection_id":172349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:50:05] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891604736001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788639382000,"timestamp_ms":1788639382000,"timestamp_seconds":1788639382,"priority":1,"record_length":96,"hex_timestamp":"000001a0733709f0"} 
[2026-09-06 01:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01: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-09-06 01:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:50: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-09-06 01:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891604736001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891604736001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:50:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:50:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891604736001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":172349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:50:05] local.INFO: GPS data processed {"connection_id":172349,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:50:05] local.INFO: Acknowledgment sent {"connection_id":172349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:50:49] local.INFO: TCP Data received {"connection_id":173466,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:50:49] local.INFO: Processing buffer {"connection_id":173466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:50:49] local.INFO: IMEI packet received {"connection_id":173466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":173466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:50:54] local.INFO: TCP Data received {"connection_id":173466,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:50:54] local.INFO: Processing buffer {"connection_id":173466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:50:54] local.INFO: IMEI packet received {"connection_id":173466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":173466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:50:55] local.INFO: TCP Data received {"connection_id":173466,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:50:55] local.INFO: Processing buffer {"connection_id":173466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:50:55] local.INFO: Packet analysis {"connection_id":173466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:50:55] local.INFO: Extracted packet for processing {"connection_id":173466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:50:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891604736001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788639382000,"timestamp_ms":1788639382000,"timestamp_seconds":1788639382,"priority":1,"record_length":96,"hex_timestamp":"000001a0733709f0"} 
[2026-09-06 01:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:50: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-09-06 01: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-09-06 01:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891604736001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891604736001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:50:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:50:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891604736001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":173466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:50:55] local.INFO: GPS data processed {"connection_id":173466,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:50:55] local.INFO: Acknowledgment sent {"connection_id":173466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:51:26] local.INFO: TCP Data received {"connection_id":173466,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:51:26] local.INFO: Processing buffer {"connection_id":173466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:51:26] local.INFO: Packet analysis {"connection_id":173466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:51:26] local.INFO: Extracted packet for processing {"connection_id":173466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:51:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891604736001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:51: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-09-06 01:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788639382000,"timestamp_ms":1788639382000,"timestamp_seconds":1788639382,"priority":1,"record_length":96,"hex_timestamp":"000001a0733709f0"} 
[2026-09-06 01:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:51: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-09-06 01: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-09-06 01:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:51: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-09-06 01:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891604736001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891604736001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:51:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:51:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891604736001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":173466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:51:26] local.INFO: GPS data processed {"connection_id":173466,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:51:26] local.INFO: Acknowledgment sent {"connection_id":173466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:51:49] local.INFO: TCP Data received {"connection_id":172350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:51:49] local.INFO: Processing buffer {"connection_id":172350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:51:49] local.INFO: IMEI packet received {"connection_id":172350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":172350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:51:54] local.INFO: TCP Data received {"connection_id":172350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:51:54] local.INFO: Processing buffer {"connection_id":172350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:51:54] local.INFO: IMEI packet received {"connection_id":172350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":172350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:51:55] local.INFO: TCP Data received {"connection_id":172350,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:51:55] local.INFO: Processing buffer {"connection_id":172350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733709f0012d532d0006497048000601472f..."} 
[2026-09-06 01:51:55] local.INFO: Packet analysis {"connection_id":172350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:51:55] local.INFO: Extracted packet for processing {"connection_id":172350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07337"} 
[2026-09-06 01:51:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891604736001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788639382000,"timestamp_ms":1788639382000,"timestamp_seconds":1788639382,"priority":1,"record_length":96,"hex_timestamp":"000001a0733709f0"} 
[2026-09-06 01:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:51: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-09-06 01: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-09-06 01:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891604736001,"66":25343,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891604736001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:51:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:51:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891604736001,"power":25343,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":172350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:51:55] local.INFO: GPS data processed {"connection_id":172350,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:51:55] local.INFO: Acknowledgment sent {"connection_id":172350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:52:25] local.INFO: TCP Data received {"connection_id":172350,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:52:25] local.INFO: Processing buffer {"connection_id":172350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:52:25] local.INFO: Packet analysis {"connection_id":172350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:52:25] local.INFO: Extracted packet for processing {"connection_id":172350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:52:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891681792001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:52:25] 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-09-06 01:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788639683000,"timestamp_ms":1788639683000,"timestamp_seconds":1788639683,"priority":1,"record_length":96,"hex_timestamp":"000001a0733ba1b8"} 
[2026-09-06 01:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:52: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-09-06 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:52: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-09-06 01: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-09-06 01:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:52: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-09-06 01:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891681792001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891681792001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:52:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:52:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891681792001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":172350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:52:25] local.INFO: GPS data processed {"connection_id":172350,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:52:25] local.INFO: Acknowledgment sent {"connection_id":172350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:52:49] local.INFO: TCP Data received {"connection_id":172352,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:52:49] local.INFO: Processing buffer {"connection_id":172352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:52:49] local.INFO: IMEI packet received {"connection_id":172352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":172352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:52:54] local.INFO: TCP Data received {"connection_id":172352,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:52:54] local.INFO: Processing buffer {"connection_id":172352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:52:54] local.INFO: IMEI packet received {"connection_id":172352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":172352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:52:55] local.INFO: TCP Data received {"connection_id":172352,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:52:55] local.INFO: Processing buffer {"connection_id":172352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:52:55] local.INFO: Packet analysis {"connection_id":172352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:52:55] local.INFO: Extracted packet for processing {"connection_id":172352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:52:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891681792001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788639683000,"timestamp_ms":1788639683000,"timestamp_seconds":1788639683,"priority":1,"record_length":96,"hex_timestamp":"000001a0733ba1b8"} 
[2026-09-06 01:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:52: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-09-06 01:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:52: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-09-06 01:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891681792001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891681792001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:52:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:52:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891681792001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":172352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:52:55] local.INFO: GPS data processed {"connection_id":172352,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:52:55] local.INFO: Acknowledgment sent {"connection_id":172352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:53:26] local.INFO: TCP Data received {"connection_id":172352,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:53:26] local.INFO: Processing buffer {"connection_id":172352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:53:26] local.INFO: Packet analysis {"connection_id":172352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:53:26] local.INFO: Extracted packet for processing {"connection_id":172352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:53:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891681792001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:53: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-09-06 01:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788639683000,"timestamp_ms":1788639683000,"timestamp_seconds":1788639683,"priority":1,"record_length":96,"hex_timestamp":"000001a0733ba1b8"} 
[2026-09-06 01:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:53: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-09-06 01:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:53: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-09-06 01:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:53: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-09-06 01:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891681792001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891681792001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:53:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:53:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891681792001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":172352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:53:26] local.INFO: GPS data processed {"connection_id":172352,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:53:26] local.INFO: Acknowledgment sent {"connection_id":172352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:53:49] local.INFO: TCP Data received {"connection_id":172109,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:53:49] local.INFO: Processing buffer {"connection_id":172109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:53:49] local.INFO: IMEI packet received {"connection_id":172109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":172109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:53:54] local.INFO: TCP Data received {"connection_id":172109,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:53:54] local.INFO: Processing buffer {"connection_id":172109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:53:54] local.INFO: IMEI packet received {"connection_id":172109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":172109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:53:55] local.INFO: TCP Data received {"connection_id":172109,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:53:55] local.INFO: Processing buffer {"connection_id":172109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:53:55] local.INFO: Packet analysis {"connection_id":172109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:53:55] local.INFO: Extracted packet for processing {"connection_id":172109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:53:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891681792001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788639683000,"timestamp_ms":1788639683000,"timestamp_seconds":1788639683,"priority":1,"record_length":96,"hex_timestamp":"000001a0733ba1b8"} 
[2026-09-06 01:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:53: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-09-06 01:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:53: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-09-06 01:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891681792001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891681792001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:53:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:53:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891681792001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":172109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:53:55] local.INFO: GPS data processed {"connection_id":172109,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:53:55] local.INFO: Acknowledgment sent {"connection_id":172109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:54:18] local.INFO: TCP Data received {"connection_id":174791,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:54:18] local.INFO: Processing buffer {"connection_id":174791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:54:18] local.INFO: IMEI packet received {"connection_id":174791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 01:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":174791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:54:25] local.INFO: TCP Data received {"connection_id":172109,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:54:25] local.INFO: Processing buffer {"connection_id":172109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:54:25] local.INFO: Packet analysis {"connection_id":172109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:54:25] local.INFO: Extracted packet for processing {"connection_id":172109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:54:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891681792001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:54:25] 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-09-06 01:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788639683000,"timestamp_ms":1788639683000,"timestamp_seconds":1788639683,"priority":1,"record_length":96,"hex_timestamp":"000001a0733ba1b8"} 
[2026-09-06 01:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:54: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-09-06 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:54: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-09-06 01: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-09-06 01:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:54: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-09-06 01:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891681792001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891681792001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:54:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:54:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891681792001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":172109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:54:26] local.INFO: GPS data processed {"connection_id":172109,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:54:26] local.INFO: Acknowledgment sent {"connection_id":172109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:54:54] local.INFO: TCP Data received {"connection_id":174792,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:54:54] local.INFO: Processing buffer {"connection_id":174792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:54:54] local.INFO: IMEI packet received {"connection_id":174792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":174792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:54:59] local.INFO: TCP Data received {"connection_id":174792,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:54:59] local.INFO: Processing buffer {"connection_id":174792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:54:59] local.INFO: IMEI packet received {"connection_id":174792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":174792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:55:00] local.INFO: TCP Data received {"connection_id":174792,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:55:00] local.INFO: Processing buffer {"connection_id":174792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:55:00] local.INFO: Packet analysis {"connection_id":174792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:55:00] local.INFO: Extracted packet for processing {"connection_id":174792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:55:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891681792001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:55:00] 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-09-06 01:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788639683000,"timestamp_ms":1788639683000,"timestamp_seconds":1788639683,"priority":1,"record_length":96,"hex_timestamp":"000001a0733ba1b8"} 
[2026-09-06 01:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01: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-09-06 01:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891681792001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891681792001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:55:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:55:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891681792001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":174792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:55:00] local.INFO: GPS data processed {"connection_id":174792,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:55:00] local.INFO: Acknowledgment sent {"connection_id":174792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:55:04] local.INFO: TCP Data received {"connection_id":174792,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:55:04] local.INFO: Processing buffer {"connection_id":174792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:55:04] local.INFO: Packet analysis {"connection_id":174792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:55:04] local.INFO: Extracted packet for processing {"connection_id":174792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:55:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891681792001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788639683000,"timestamp_ms":1788639683000,"timestamp_seconds":1788639683,"priority":1,"record_length":96,"hex_timestamp":"000001a0733ba1b8"} 
[2026-09-06 01:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 01:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 01:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891681792001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891681792001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:55:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:55:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891681792001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":174792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:55:04] local.INFO: GPS data processed {"connection_id":174792,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:55:04] local.INFO: Acknowledgment sent {"connection_id":174792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:55:49] local.INFO: TCP Data received {"connection_id":172353,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:55:49] local.INFO: Processing buffer {"connection_id":172353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:55:49] local.INFO: IMEI packet received {"connection_id":172353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":172353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:55:54] local.INFO: TCP Data received {"connection_id":172353,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:55:54] local.INFO: Processing buffer {"connection_id":172353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:55:54] local.INFO: IMEI packet received {"connection_id":172353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":172353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:55:55] local.INFO: TCP Data received {"connection_id":172353,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:55:55] local.INFO: Processing buffer {"connection_id":172353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:55:55] local.INFO: Packet analysis {"connection_id":172353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:55:55] local.INFO: Extracted packet for processing {"connection_id":172353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:55:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891681792001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788639683000,"timestamp_ms":1788639683000,"timestamp_seconds":1788639683,"priority":1,"record_length":96,"hex_timestamp":"000001a0733ba1b8"} 
[2026-09-06 01:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:55: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-09-06 01:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:55: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-09-06 01:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891681792001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891681792001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:55:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:55:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891681792001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":172353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:55:55] local.INFO: GPS data processed {"connection_id":172353,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:55:55] local.INFO: Acknowledgment sent {"connection_id":172353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:56:25] local.INFO: TCP Data received {"connection_id":172353,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:56:25] local.INFO: Processing buffer {"connection_id":172353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:56:25] local.INFO: Packet analysis {"connection_id":172353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:56:25] local.INFO: Extracted packet for processing {"connection_id":172353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:56:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891681792001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:56:25] 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-09-06 01:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788639683000,"timestamp_ms":1788639683000,"timestamp_seconds":1788639683,"priority":1,"record_length":96,"hex_timestamp":"000001a0733ba1b8"} 
[2026-09-06 01:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:56: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-09-06 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:56: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-09-06 01: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-09-06 01:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:56: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-09-06 01:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891681792001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891681792001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:56:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:56:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891681792001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":172353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:56:25] local.INFO: GPS data processed {"connection_id":172353,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:56:25] local.INFO: Acknowledgment sent {"connection_id":172353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:56:49] local.INFO: TCP Data received {"connection_id":173468,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:56:49] local.INFO: Processing buffer {"connection_id":173468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:56:49] local.INFO: IMEI packet received {"connection_id":173468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":173468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:56:54] local.INFO: TCP Data received {"connection_id":173468,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:56:54] local.INFO: Processing buffer {"connection_id":173468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:56:54] local.INFO: IMEI packet received {"connection_id":173468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":173468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:56:55] local.INFO: TCP Data received {"connection_id":173468,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:56:55] local.INFO: Processing buffer {"connection_id":173468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0733ba1b8012d532d00064970480006014730..."} 
[2026-09-06 01:56:55] local.INFO: Packet analysis {"connection_id":173468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:56:55] local.INFO: Extracted packet for processing {"connection_id":173468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0733b"} 
[2026-09-06 01:56:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891681792001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788639683000,"timestamp_ms":1788639683000,"timestamp_seconds":1788639683,"priority":1,"record_length":96,"hex_timestamp":"000001a0733ba1b8"} 
[2026-09-06 01:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:56: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-09-06 01:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 01:56: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-09-06 01:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891681792001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891681792001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:56:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:56:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891681792001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":173468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:56:55] local.INFO: GPS data processed {"connection_id":173468,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:56:55] local.INFO: Acknowledgment sent {"connection_id":173468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:57:26] local.INFO: TCP Data received {"connection_id":173468,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 01:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 01:57:26] local.INFO: Processing buffer {"connection_id":173468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 01:57:26] local.INFO: Packet analysis {"connection_id":173468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 01:57:26] local.INFO: Extracted packet for processing {"connection_id":173468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 01:57:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891758848001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:57: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-09-06 01:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788639984000,"timestamp_ms":1788639984000,"timestamp_seconds":1788639984,"priority":1,"record_length":96,"hex_timestamp":"000001a073403980"} 
[2026-09-06 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-09-06 01:57: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-09-06 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:57: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-09-06 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-09-06 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-09-06 01:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:57: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-09-06 01:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891758848001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891758848001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:57:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:57:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891758848001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":173468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:57:26] local.INFO: GPS data processed {"connection_id":173468,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:57:26] local.INFO: Acknowledgment sent {"connection_id":173468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:57:49] local.INFO: TCP Data received {"connection_id":173469,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:57:49] local.INFO: Processing buffer {"connection_id":173469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:57:49] local.INFO: IMEI packet received {"connection_id":173469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":173469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:57:54] local.INFO: TCP Data received {"connection_id":173469,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:57:54] local.INFO: Processing buffer {"connection_id":173469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:57:54] local.INFO: IMEI packet received {"connection_id":173469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":173469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:57:55] local.INFO: TCP Data received {"connection_id":173469,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 01:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 01:57:55] local.INFO: Processing buffer {"connection_id":173469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 01:57:55] local.INFO: Packet analysis {"connection_id":173469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 01:57:55] local.INFO: Extracted packet for processing {"connection_id":173469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 01:57:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 01:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891758848001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788639984000,"timestamp_ms":1788639984000,"timestamp_seconds":1788639984,"priority":1,"record_length":96,"hex_timestamp":"000001a073403980"} 
[2026-09-06 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-09-06 01:57: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-09-06 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:57: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-09-06 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-09-06 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-09-06 01:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891758848001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891758848001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:57:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:57:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891758848001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":173469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:57:55] local.INFO: GPS data processed {"connection_id":173469,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:57:55] local.INFO: Acknowledgment sent {"connection_id":173469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:58:25] local.INFO: TCP Data received {"connection_id":173469,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 01:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 01:58:25] local.INFO: Processing buffer {"connection_id":173469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 01:58:25] local.INFO: Packet analysis {"connection_id":173469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 01:58:25] local.INFO: Extracted packet for processing {"connection_id":173469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 01:58:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891758848001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:58:25] 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-09-06 01:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788639984000,"timestamp_ms":1788639984000,"timestamp_seconds":1788639984,"priority":1,"record_length":96,"hex_timestamp":"000001a073403980"} 
[2026-09-06 01:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:58: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-09-06 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:58: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-09-06 01: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-09-06 01:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:58: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-09-06 01:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891758848001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891758848001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:58:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:58:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891758848001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":173469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:58:25] local.INFO: GPS data processed {"connection_id":173469,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:58:25] local.INFO: Acknowledgment sent {"connection_id":173469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:58:49] local.INFO: TCP Data received {"connection_id":172355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:58:49] local.INFO: Processing buffer {"connection_id":172355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:58:49] local.INFO: IMEI packet received {"connection_id":172355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":172355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:58:54] local.INFO: TCP Data received {"connection_id":172355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:58:54] local.INFO: Processing buffer {"connection_id":172355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:58:54] local.INFO: IMEI packet received {"connection_id":172355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":172355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 01:58:55] local.INFO: TCP Data received {"connection_id":172355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 01:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 01:58:55] local.INFO: Processing buffer {"connection_id":172355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 01:58:55] local.INFO: Packet analysis {"connection_id":172355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 01:58:55] local.INFO: Extracted packet for processing {"connection_id":172355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 01:58:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 01:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891758848001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 01:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788639984000,"timestamp_ms":1788639984000,"timestamp_seconds":1788639984,"priority":1,"record_length":96,"hex_timestamp":"000001a073403980"} 
[2026-09-06 01:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:58: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-09-06 01:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:58: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-09-06 01:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 01:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 01:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891758848001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891758848001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:58:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:58:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891758848001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":172355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:58:55] local.INFO: GPS data processed {"connection_id":172355,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:58:55] local.INFO: Acknowledgment sent {"connection_id":172355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:59:26] local.INFO: TCP Data received {"connection_id":172355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 01:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 01:59:26] local.INFO: Processing buffer {"connection_id":172355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 01:59:26] local.INFO: Packet analysis {"connection_id":172355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 01:59:26] local.INFO: Extracted packet for processing {"connection_id":172355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 01:59:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 01: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-09-06 01:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891758848001,"note":"Value kept but may cause issues"} 
[2026-09-06 01:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 01:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 01:59: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-09-06 01:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788639984000,"timestamp_ms":1788639984000,"timestamp_seconds":1788639984,"priority":1,"record_length":96,"hex_timestamp":"000001a073403980"} 
[2026-09-06 01:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 01:59: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-09-06 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 01:59: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-09-06 01: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-09-06 01:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 01:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 01:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 01:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 01:59: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-09-06 01:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 01:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 01:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891758848001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 01:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 01:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 01:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891758848001,"description":"Unknown IO ID 0"} 
[2026-09-06 01:59:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 01:59:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 01:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 01:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 01:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891758848001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 01:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":172355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 01:59:26] local.INFO: GPS data processed {"connection_id":172355,"processed":1,"errors":0,"total":1} 
[2026-09-06 01:59:26] local.INFO: Acknowledgment sent {"connection_id":172355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 01:59:38] local.INFO: TCP Data received {"connection_id":174794,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:59:38] local.INFO: Processing buffer {"connection_id":174794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 01:59:38] local.INFO: IMEI packet received {"connection_id":174794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 01:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":174794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:59:54] local.INFO: TCP Data received {"connection_id":172111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:59:54] local.INFO: Processing buffer {"connection_id":172111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:59:54] local.INFO: IMEI packet received {"connection_id":172111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 01:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":172111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 01:59:59] local.INFO: TCP Data received {"connection_id":172111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:59:59] local.INFO: Processing buffer {"connection_id":172111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 01:59:59] local.INFO: IMEI packet received {"connection_id":172111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 01:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":172111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:00:00] local.INFO: TCP Data received {"connection_id":172111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 02:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 02:00:00] local.INFO: Processing buffer {"connection_id":172111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 02:00:00] local.INFO: Packet analysis {"connection_id":172111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 02:00:00] local.INFO: Extracted packet for processing {"connection_id":172111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 02:00:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891758848001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:00:00] 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-09-06 02:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788639984000,"timestamp_ms":1788639984000,"timestamp_seconds":1788639984,"priority":1,"record_length":96,"hex_timestamp":"000001a073403980"} 
[2026-09-06 02:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:00: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-09-06 02:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891758848001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891758848001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:00:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:00:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891758848001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":172111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:00:00] local.INFO: GPS data processed {"connection_id":172111,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:00:00] local.INFO: Acknowledgment sent {"connection_id":172111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:00:12] local.INFO: TCP Data received {"connection_id":172112,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:00:12] local.INFO: Processing buffer {"connection_id":172112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:00:12] local.INFO: IMEI packet received {"connection_id":172112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 02:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":172112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:00:30] local.INFO: TCP Data received {"connection_id":172111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 02:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 02:00:30] local.INFO: Processing buffer {"connection_id":172111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 02:00:30] local.INFO: Packet analysis {"connection_id":172111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 02:00:30] local.INFO: Extracted packet for processing {"connection_id":172111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 02:00:30] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891758848001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:00:30] 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-09-06 02:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788639984000,"timestamp_ms":1788639984000,"timestamp_seconds":1788639984,"priority":1,"record_length":96,"hex_timestamp":"000001a073403980"} 
[2026-09-06 02:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:00: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-09-06 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 02: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-09-06 02:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891758848001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891758848001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:00:30] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:00:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891758848001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":172111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:00:30] local.INFO: GPS data processed {"connection_id":172111,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:00:30] local.INFO: Acknowledgment sent {"connection_id":172111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:00:50] local.INFO: TCP Data received {"connection_id":173470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:00:50] local.INFO: Processing buffer {"connection_id":173470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:00:50] local.INFO: IMEI packet received {"connection_id":173470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":173470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:00:54] local.INFO: TCP Data received {"connection_id":173470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:00:54] local.INFO: Processing buffer {"connection_id":173470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:00:54] local.INFO: IMEI packet received {"connection_id":173470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":173470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:00:55] local.INFO: TCP Data received {"connection_id":173470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 02:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 02:00:55] local.INFO: Processing buffer {"connection_id":173470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 02:00:55] local.INFO: Packet analysis {"connection_id":173470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 02:00:55] local.INFO: Extracted packet for processing {"connection_id":173470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 02:00:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891758848001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788639984000,"timestamp_ms":1788639984000,"timestamp_seconds":1788639984,"priority":1,"record_length":96,"hex_timestamp":"000001a073403980"} 
[2026-09-06 02:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:00: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-09-06 02:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:00: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-09-06 02:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891758848001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891758848001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:00:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:00:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891758848001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":173470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:00:55] local.INFO: GPS data processed {"connection_id":173470,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:00:55] local.INFO: Acknowledgment sent {"connection_id":173470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:01:26] local.INFO: TCP Data received {"connection_id":173470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 02:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 02:01:26] local.INFO: Processing buffer {"connection_id":173470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 02:01:26] local.INFO: Packet analysis {"connection_id":173470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 02:01:26] local.INFO: Extracted packet for processing {"connection_id":173470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 02:01:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 02:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891758848001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:01: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-09-06 02:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788639984000,"timestamp_ms":1788639984000,"timestamp_seconds":1788639984,"priority":1,"record_length":96,"hex_timestamp":"000001a073403980"} 
[2026-09-06 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-09-06 02:01: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-09-06 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:01: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-09-06 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-09-06 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-09-06 02:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891758848001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891758848001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:01:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:01:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891758848001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":173470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:01:26] local.INFO: GPS data processed {"connection_id":173470,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:01:26] local.INFO: Acknowledgment sent {"connection_id":173470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:01:49] local.INFO: TCP Data received {"connection_id":174795,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:01:49] local.INFO: Processing buffer {"connection_id":174795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:01:49] local.INFO: IMEI packet received {"connection_id":174795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":174795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:01:54] local.INFO: TCP Data received {"connection_id":174795,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:01:54] local.INFO: Processing buffer {"connection_id":174795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:01:54] local.INFO: IMEI packet received {"connection_id":174795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":174795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:01:55] local.INFO: TCP Data received {"connection_id":174795,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 02:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 02:01:55] local.INFO: Processing buffer {"connection_id":174795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073403980012d532d00064970480006014730..."} 
[2026-09-06 02:01:55] local.INFO: Packet analysis {"connection_id":174795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 02:01:55] local.INFO: Extracted packet for processing {"connection_id":174795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07340"} 
[2026-09-06 02:01:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891758848001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788639984000,"timestamp_ms":1788639984000,"timestamp_seconds":1788639984,"priority":1,"record_length":96,"hex_timestamp":"000001a073403980"} 
[2026-09-06 02:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:01: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-09-06 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:01: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-09-06 02: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-09-06 02:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891758848001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891758848001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:01:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:01:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891758848001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":174795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:01:55] local.INFO: GPS data processed {"connection_id":174795,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:01:55] local.INFO: Acknowledgment sent {"connection_id":174795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:02:26] local.INFO: TCP Data received {"connection_id":174795,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:02:26] local.INFO: Processing buffer {"connection_id":174795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:02:26] local.INFO: Packet analysis {"connection_id":174795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:02:26] local.INFO: Extracted packet for processing {"connection_id":174795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:02:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891835904001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:02: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-09-06 02:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788640285000,"timestamp_ms":1788640285000,"timestamp_seconds":1788640285,"priority":1,"record_length":96,"hex_timestamp":"000001a07344d148"} 
[2026-09-06 02:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02: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-09-06 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:02: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-09-06 02: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-09-06 02:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:02: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-09-06 02:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891835904001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891835904001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:02:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:02:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891835904001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":174795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:02:26] local.INFO: GPS data processed {"connection_id":174795,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:02:26] local.INFO: Acknowledgment sent {"connection_id":174795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:02:54] local.INFO: TCP Data received {"connection_id":172356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:02:54] local.INFO: Processing buffer {"connection_id":172356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:02:54] local.INFO: IMEI packet received {"connection_id":172356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":172356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:02:59] local.INFO: TCP Data received {"connection_id":172356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:02:59] local.INFO: Processing buffer {"connection_id":172356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:02:59] local.INFO: IMEI packet received {"connection_id":172356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":172356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:03:00] local.INFO: TCP Data received {"connection_id":172356,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:03:00] local.INFO: Processing buffer {"connection_id":172356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:03:00] local.INFO: Packet analysis {"connection_id":172356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:03:00] local.INFO: Extracted packet for processing {"connection_id":172356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:03:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891835904001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:03:00] 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-09-06 02:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788640285000,"timestamp_ms":1788640285000,"timestamp_seconds":1788640285,"priority":1,"record_length":96,"hex_timestamp":"000001a07344d148"} 
[2026-09-06 02:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:03: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-09-06 02:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:03: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-09-06 02:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891835904001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891835904001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:03:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:03:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891835904001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":172356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:03:00] local.INFO: GPS data processed {"connection_id":172356,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:03:00] local.INFO: Acknowledgment sent {"connection_id":172356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:03:04] local.INFO: TCP Data received {"connection_id":172356,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:03:04] local.INFO: Processing buffer {"connection_id":172356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:03:04] local.INFO: Packet analysis {"connection_id":172356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:03:04] local.INFO: Extracted packet for processing {"connection_id":172356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:03:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891835904001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788640285000,"timestamp_ms":1788640285000,"timestamp_seconds":1788640285,"priority":1,"record_length":96,"hex_timestamp":"000001a07344d148"} 
[2026-09-06 02:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:03: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-09-06 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 02: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-09-06 02:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891835904001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891835904001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:03:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:03:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891835904001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":172356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:03:05] local.INFO: GPS data processed {"connection_id":172356,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:03:05] local.INFO: Acknowledgment sent {"connection_id":172356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:03:49] local.INFO: TCP Data received {"connection_id":172357,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:03:49] local.INFO: Processing buffer {"connection_id":172357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:03:49] local.INFO: IMEI packet received {"connection_id":172357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":172357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:03:54] local.INFO: TCP Data received {"connection_id":172357,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:03:54] local.INFO: Processing buffer {"connection_id":172357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:03:54] local.INFO: IMEI packet received {"connection_id":172357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":172357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:03:55] local.INFO: TCP Data received {"connection_id":172357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:03:55] local.INFO: Processing buffer {"connection_id":172357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:03:55] local.INFO: Packet analysis {"connection_id":172357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:03:55] local.INFO: Extracted packet for processing {"connection_id":172357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:03:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891835904001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788640285000,"timestamp_ms":1788640285000,"timestamp_seconds":1788640285,"priority":1,"record_length":96,"hex_timestamp":"000001a07344d148"} 
[2026-09-06 02:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:03: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-09-06 02:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:03: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-09-06 02:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891835904001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891835904001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:03:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:03:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891835904001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":172357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:03:55] local.INFO: GPS data processed {"connection_id":172357,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:03:55] local.INFO: Acknowledgment sent {"connection_id":172357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:03:59] local.INFO: TCP Data received {"connection_id":172357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:03:59] local.INFO: Processing buffer {"connection_id":172357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:03:59] local.INFO: Packet analysis {"connection_id":172357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:03:59] local.INFO: Extracted packet for processing {"connection_id":172357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:03:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891835904001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:03:59] 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-09-06 02:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788640285000,"timestamp_ms":1788640285000,"timestamp_seconds":1788640285,"priority":1,"record_length":96,"hex_timestamp":"000001a07344d148"} 
[2026-09-06 02:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:03: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-09-06 02:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 02:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891835904001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891835904001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:03:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:03:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891835904001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":172357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:03:59] local.INFO: GPS data processed {"connection_id":172357,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:03:59] local.INFO: Acknowledgment sent {"connection_id":172357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:04:30] local.INFO: TCP Data received {"connection_id":172357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:04:30] local.INFO: Processing buffer {"connection_id":172357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:04:30] local.INFO: Packet analysis {"connection_id":172357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:04:30] local.INFO: Extracted packet for processing {"connection_id":172357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:04:30] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891835904001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:04:30] 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-09-06 02:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788640285000,"timestamp_ms":1788640285000,"timestamp_seconds":1788640285,"priority":1,"record_length":96,"hex_timestamp":"000001a07344d148"} 
[2026-09-06 02:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:04: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-09-06 02:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 02:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891835904001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891835904001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:04:30] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:04:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891835904001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":172357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:04:30] local.INFO: GPS data processed {"connection_id":172357,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:04:30] local.INFO: Acknowledgment sent {"connection_id":172357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:04:49] local.INFO: TCP Data received {"connection_id":173472,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:04:49] local.INFO: Processing buffer {"connection_id":173472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:04:49] local.INFO: IMEI packet received {"connection_id":173472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":173472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:04:54] local.INFO: TCP Data received {"connection_id":173472,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:04:54] local.INFO: Processing buffer {"connection_id":173472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:04:54] local.INFO: IMEI packet received {"connection_id":173472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":173472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:04:55] local.INFO: TCP Data received {"connection_id":173472,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:04:55] local.INFO: Processing buffer {"connection_id":173472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:04:55] local.INFO: Packet analysis {"connection_id":173472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:04:55] local.INFO: Extracted packet for processing {"connection_id":173472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:04:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891835904001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788640285000,"timestamp_ms":1788640285000,"timestamp_seconds":1788640285,"priority":1,"record_length":96,"hex_timestamp":"000001a07344d148"} 
[2026-09-06 02:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:04: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-09-06 02: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-09-06 02: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-09-06 02: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-09-06 02:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891835904001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891835904001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:04:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:04:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891835904001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":173472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:04:55] local.INFO: GPS data processed {"connection_id":173472,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:04:55] local.INFO: Acknowledgment sent {"connection_id":173472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:05:26] local.INFO: TCP Data received {"connection_id":173472,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:05:26] local.INFO: Processing buffer {"connection_id":173472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:05:26] local.INFO: Packet analysis {"connection_id":173472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:05:26] local.INFO: Extracted packet for processing {"connection_id":173472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:05:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891835904001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:05: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-09-06 02:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788640285000,"timestamp_ms":1788640285000,"timestamp_seconds":1788640285,"priority":1,"record_length":96,"hex_timestamp":"000001a07344d148"} 
[2026-09-06 02:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:05: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-09-06 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:05: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-09-06 02: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-09-06 02:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:05: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-09-06 02:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891835904001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891835904001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:05:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:05:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891835904001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":173472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:05:26] local.INFO: GPS data processed {"connection_id":173472,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:05:26] local.INFO: Acknowledgment sent {"connection_id":173472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:05:33] local.INFO: TCP Data received {"connection_id":172115,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:05:33] local.INFO: Processing buffer {"connection_id":172115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:05:33] local.INFO: IMEI packet received {"connection_id":172115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 02:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":172115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:05:49] local.INFO: TCP Data received {"connection_id":174797,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:05:49] local.INFO: Processing buffer {"connection_id":174797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:05:49] local.INFO: IMEI packet received {"connection_id":174797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":174797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:05:54] local.INFO: TCP Data received {"connection_id":174797,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:05:54] local.INFO: Processing buffer {"connection_id":174797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:05:54] local.INFO: IMEI packet received {"connection_id":174797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":174797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:05:55] local.INFO: TCP Data received {"connection_id":174797,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:05:55] local.INFO: Processing buffer {"connection_id":174797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:05:55] local.INFO: Packet analysis {"connection_id":174797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:05:55] local.INFO: Extracted packet for processing {"connection_id":174797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:05:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891835904001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788640285000,"timestamp_ms":1788640285000,"timestamp_seconds":1788640285,"priority":1,"record_length":96,"hex_timestamp":"000001a07344d148"} 
[2026-09-06 02:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:05: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-09-06 02:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:05: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-09-06 02:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891835904001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891835904001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:05:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:05:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891835904001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":174797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:05:55] local.INFO: GPS data processed {"connection_id":174797,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:05:55] local.INFO: Acknowledgment sent {"connection_id":174797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:06:26] local.INFO: TCP Data received {"connection_id":174797,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:06:26] local.INFO: Processing buffer {"connection_id":174797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:06:26] local.INFO: Packet analysis {"connection_id":174797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:06:26] local.INFO: Extracted packet for processing {"connection_id":174797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:06:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 02:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891835904001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:06: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-09-06 02:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788640285000,"timestamp_ms":1788640285000,"timestamp_seconds":1788640285,"priority":1,"record_length":96,"hex_timestamp":"000001a07344d148"} 
[2026-09-06 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-09-06 02:06: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-09-06 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:06: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-09-06 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-09-06 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-09-06 02:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891835904001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891835904001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:06:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:06:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891835904001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":174797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:06:26] local.INFO: GPS data processed {"connection_id":174797,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:06:26] local.INFO: Acknowledgment sent {"connection_id":174797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:06:49] local.INFO: TCP Data received {"connection_id":172116,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:06:49] local.INFO: Processing buffer {"connection_id":172116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:06:49] local.INFO: IMEI packet received {"connection_id":172116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":172116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:06:54] local.INFO: TCP Data received {"connection_id":172116,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:06:54] local.INFO: Processing buffer {"connection_id":172116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:06:54] local.INFO: IMEI packet received {"connection_id":172116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":172116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:06:55] local.INFO: TCP Data received {"connection_id":172116,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:06:55] local.INFO: Processing buffer {"connection_id":172116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07344d148012d532d00064970480006014730..."} 
[2026-09-06 02:06:55] local.INFO: Packet analysis {"connection_id":172116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:06:55] local.INFO: Extracted packet for processing {"connection_id":172116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07344"} 
[2026-09-06 02:06:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891835904001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788640285000,"timestamp_ms":1788640285000,"timestamp_seconds":1788640285,"priority":1,"record_length":96,"hex_timestamp":"000001a07344d148"} 
[2026-09-06 02:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:06: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-09-06 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:06: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-09-06 02: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-09-06 02:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891835904001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891835904001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:06:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:06:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891835904001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":172116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:06:55] local.INFO: GPS data processed {"connection_id":172116,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:06:55] local.INFO: Acknowledgment sent {"connection_id":172116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:07:26] local.INFO: TCP Data received {"connection_id":172116,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:07:26] local.INFO: Processing buffer {"connection_id":172116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:07:26] local.INFO: Packet analysis {"connection_id":172116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:07:26] local.INFO: Extracted packet for processing {"connection_id":172116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:07:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891912960001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:07: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-09-06 02:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788640586000,"timestamp_ms":1788640586000,"timestamp_seconds":1788640586,"priority":1,"record_length":96,"hex_timestamp":"000001a073496910"} 
[2026-09-06 02:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:07: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-09-06 02: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:07: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-09-06 02: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-09-06 02:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:07: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-09-06 02:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891912960001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891912960001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:07:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:07:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891912960001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":172116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:07:26] local.INFO: GPS data processed {"connection_id":172116,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:07:26] local.INFO: Acknowledgment sent {"connection_id":172116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:07:49] local.INFO: TCP Data received {"connection_id":173474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:07:49] local.INFO: Processing buffer {"connection_id":173474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:07:49] local.INFO: IMEI packet received {"connection_id":173474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":173474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:07:54] local.INFO: TCP Data received {"connection_id":173474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:07:54] local.INFO: Processing buffer {"connection_id":173474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:07:54] local.INFO: IMEI packet received {"connection_id":173474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":173474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:07:55] local.INFO: TCP Data received {"connection_id":173474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:07:55] local.INFO: Processing buffer {"connection_id":173474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:07:55] local.INFO: Packet analysis {"connection_id":173474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:07:55] local.INFO: Extracted packet for processing {"connection_id":173474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:07:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891912960001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788640586000,"timestamp_ms":1788640586000,"timestamp_seconds":1788640586,"priority":1,"record_length":96,"hex_timestamp":"000001a073496910"} 
[2026-09-06 02:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:07: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-09-06 02: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:07:55] 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-09-06 02: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-09-06 02:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891912960001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891912960001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:07:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:07:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891912960001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":173474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:07:55] local.INFO: GPS data processed {"connection_id":173474,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:07:55] local.INFO: Acknowledgment sent {"connection_id":173474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:08:25] local.INFO: TCP Data received {"connection_id":173474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:08:25] local.INFO: Processing buffer {"connection_id":173474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:08:25] local.INFO: Packet analysis {"connection_id":173474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:08:25] local.INFO: Extracted packet for processing {"connection_id":173474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:08:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 02:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891912960001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:08:25] 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-09-06 02:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788640586000,"timestamp_ms":1788640586000,"timestamp_seconds":1788640586,"priority":1,"record_length":96,"hex_timestamp":"000001a073496910"} 
[2026-09-06 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-09-06 02: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-09-06 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:08: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-09-06 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-09-06 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-09-06 02:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:08: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-09-06 02:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891912960001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891912960001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:08:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:08:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891912960001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":173474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:08:25] local.INFO: GPS data processed {"connection_id":173474,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:08:25] local.INFO: Acknowledgment sent {"connection_id":173474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:08:54] local.INFO: TCP Data received {"connection_id":172117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:08:54] local.INFO: Processing buffer {"connection_id":172117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:08:54] local.INFO: IMEI packet received {"connection_id":172117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":172117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:08:59] local.INFO: TCP Data received {"connection_id":172117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:08:59] local.INFO: Processing buffer {"connection_id":172117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:08:59] local.INFO: IMEI packet received {"connection_id":172117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":172117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:09:00] local.INFO: TCP Data received {"connection_id":172117,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:09:00] local.INFO: Processing buffer {"connection_id":172117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:09:00] local.INFO: Packet analysis {"connection_id":172117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:09:00] local.INFO: Extracted packet for processing {"connection_id":172117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:09:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891912960001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:09:00] 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-09-06 02:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788640586000,"timestamp_ms":1788640586000,"timestamp_seconds":1788640586,"priority":1,"record_length":96,"hex_timestamp":"000001a073496910"} 
[2026-09-06 02:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:09: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-09-06 02:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:09: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-09-06 02:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891912960001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891912960001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:09:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:09:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891912960001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":172117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:09:00] local.INFO: GPS data processed {"connection_id":172117,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:09:00] local.INFO: Acknowledgment sent {"connection_id":172117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:09:04] local.INFO: TCP Data received {"connection_id":172117,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:09:04] local.INFO: Processing buffer {"connection_id":172117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:09:04] local.INFO: Packet analysis {"connection_id":172117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:09:04] local.INFO: Extracted packet for processing {"connection_id":172117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:09:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891912960001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788640586000,"timestamp_ms":1788640586000,"timestamp_seconds":1788640586,"priority":1,"record_length":96,"hex_timestamp":"000001a073496910"} 
[2026-09-06 02:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:09: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-09-06 02:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:09:04] 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-09-06 02:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891912960001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891912960001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:09:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:09:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891912960001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":172117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:09:04] local.INFO: GPS data processed {"connection_id":172117,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:09:04] local.INFO: Acknowledgment sent {"connection_id":172117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:09:49] local.INFO: TCP Data received {"connection_id":174799,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:09:49] local.INFO: Processing buffer {"connection_id":174799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:09:49] local.INFO: IMEI packet received {"connection_id":174799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":174799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:09:54] local.INFO: TCP Data received {"connection_id":174799,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:09:54] local.INFO: Processing buffer {"connection_id":174799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:09:54] local.INFO: IMEI packet received {"connection_id":174799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":174799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:09:55] local.INFO: TCP Data received {"connection_id":174799,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:09:55] local.INFO: Processing buffer {"connection_id":174799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:09:55] local.INFO: Packet analysis {"connection_id":174799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:09:55] local.INFO: Extracted packet for processing {"connection_id":174799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:09:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891912960001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788640586000,"timestamp_ms":1788640586000,"timestamp_seconds":1788640586,"priority":1,"record_length":96,"hex_timestamp":"000001a073496910"} 
[2026-09-06 02:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:09: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-09-06 02:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:09:55] 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-09-06 02:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891912960001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891912960001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:09:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:09:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891912960001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":174799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:09:55] local.INFO: GPS data processed {"connection_id":174799,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:09:55] local.INFO: Acknowledgment sent {"connection_id":174799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:10:26] local.INFO: TCP Data received {"connection_id":174799,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:10:26] local.INFO: Processing buffer {"connection_id":174799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:10:26] local.INFO: Packet analysis {"connection_id":174799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:10:26] local.INFO: Extracted packet for processing {"connection_id":174799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:10:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891912960001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:10: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-09-06 02:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788640586000,"timestamp_ms":1788640586000,"timestamp_seconds":1788640586,"priority":1,"record_length":96,"hex_timestamp":"000001a073496910"} 
[2026-09-06 02:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:10: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-09-06 02:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:10: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-09-06 02:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:10: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-09-06 02:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891912960001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891912960001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:10:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:10:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891912960001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":174799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:10:26] local.INFO: GPS data processed {"connection_id":174799,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:10:26] local.INFO: Acknowledgment sent {"connection_id":174799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:10:49] local.INFO: TCP Data received {"connection_id":174800,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:10:49] local.INFO: Processing buffer {"connection_id":174800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:10:49] local.INFO: IMEI packet received {"connection_id":174800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":174800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:10:54] local.INFO: TCP Data received {"connection_id":174800,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:10:54] local.INFO: Processing buffer {"connection_id":174800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:10:54] local.INFO: IMEI packet received {"connection_id":174800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":174800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:10:55] local.INFO: TCP Data received {"connection_id":174800,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:10:55] local.INFO: Processing buffer {"connection_id":174800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:10:55] local.INFO: Packet analysis {"connection_id":174800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:10:55] local.INFO: Extracted packet for processing {"connection_id":174800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:10:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891912960001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788640586000,"timestamp_ms":1788640586000,"timestamp_seconds":1788640586,"priority":1,"record_length":96,"hex_timestamp":"000001a073496910"} 
[2026-09-06 02:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:10: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-09-06 02:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:10:55] 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-09-06 02:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891912960001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891912960001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:10:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:10:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891912960001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":174800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:10:55] local.INFO: GPS data processed {"connection_id":174800,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:10:55] local.INFO: Acknowledgment sent {"connection_id":174800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:11:12] local.INFO: TCP Data received {"connection_id":172360,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:11:12] local.INFO: Processing buffer {"connection_id":172360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:11:12] local.INFO: IMEI packet received {"connection_id":172360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 02:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":172360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:11:26] local.INFO: TCP Data received {"connection_id":174800,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:11:26] local.INFO: Processing buffer {"connection_id":174800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:11:26] local.INFO: Packet analysis {"connection_id":174800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:11:26] local.INFO: Extracted packet for processing {"connection_id":174800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:11:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891912960001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:11: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-09-06 02:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788640586000,"timestamp_ms":1788640586000,"timestamp_seconds":1788640586,"priority":1,"record_length":96,"hex_timestamp":"000001a073496910"} 
[2026-09-06 02:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:11: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-09-06 02: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:11: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-09-06 02: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-09-06 02:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:11: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-09-06 02:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891912960001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891912960001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:11:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:11:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891912960001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":174800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:11:26] local.INFO: GPS data processed {"connection_id":174800,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:11:26] local.INFO: Acknowledgment sent {"connection_id":174800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:11:49] local.INFO: TCP Data received {"connection_id":173476,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:11:49] local.INFO: Processing buffer {"connection_id":173476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:11:49] local.INFO: IMEI packet received {"connection_id":173476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":173476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:11:54] local.INFO: TCP Data received {"connection_id":173476,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:11:54] local.INFO: Processing buffer {"connection_id":173476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:11:54] local.INFO: IMEI packet received {"connection_id":173476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":173476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:11:55] local.INFO: TCP Data received {"connection_id":173476,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:11:55] local.INFO: Processing buffer {"connection_id":173476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073496910012d532d00064970480006014731..."} 
[2026-09-06 02:11:55] local.INFO: Packet analysis {"connection_id":173476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:11:55] local.INFO: Extracted packet for processing {"connection_id":173476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07349"} 
[2026-09-06 02:11:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891912960001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788640586000,"timestamp_ms":1788640586000,"timestamp_seconds":1788640586,"priority":1,"record_length":96,"hex_timestamp":"000001a073496910"} 
[2026-09-06 02:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:11: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-09-06 02: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:11:55] 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-09-06 02: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-09-06 02:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891912960001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891912960001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:11:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:11:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891912960001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":173476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:11:55] local.INFO: GPS data processed {"connection_id":173476,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:11:55] local.INFO: Acknowledgment sent {"connection_id":173476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:12:26] local.INFO: TCP Data received {"connection_id":173476,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:12:26] local.INFO: Processing buffer {"connection_id":173476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:12:26] local.INFO: Packet analysis {"connection_id":173476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:12:26] local.INFO: Extracted packet for processing {"connection_id":173476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:12:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891990016001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:12: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-09-06 02:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788640887000,"timestamp_ms":1788640887000,"timestamp_seconds":1788640887,"priority":1,"record_length":96,"hex_timestamp":"000001a0734e00d8"} 
[2026-09-06 02:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:12: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-09-06 02:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:12: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-09-06 02:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:12: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-09-06 02:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891990016001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891990016001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:12:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:12:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891990016001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":173476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:12:26] local.INFO: GPS data processed {"connection_id":173476,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:12:26] local.INFO: Acknowledgment sent {"connection_id":173476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:12:54] local.INFO: TCP Data received {"connection_id":172361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:12:54] local.INFO: Processing buffer {"connection_id":172361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:12:54] local.INFO: IMEI packet received {"connection_id":172361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":172361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:12:59] local.INFO: TCP Data received {"connection_id":172361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:12:59] local.INFO: Processing buffer {"connection_id":172361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:12:59] local.INFO: IMEI packet received {"connection_id":172361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":172361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:13:00] local.INFO: TCP Data received {"connection_id":172361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:13:00] local.INFO: Processing buffer {"connection_id":172361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:13:00] local.INFO: Packet analysis {"connection_id":172361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:13:00] local.INFO: Extracted packet for processing {"connection_id":172361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:13:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891990016001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:13:00] 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-09-06 02:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788640887000,"timestamp_ms":1788640887000,"timestamp_seconds":1788640887,"priority":1,"record_length":96,"hex_timestamp":"000001a0734e00d8"} 
[2026-09-06 02:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:13: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-09-06 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:13: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-09-06 02: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-09-06 02:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891990016001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891990016001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:13:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:13:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891990016001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":172361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:13:00] local.INFO: GPS data processed {"connection_id":172361,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:13:00] local.INFO: Acknowledgment sent {"connection_id":172361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:13:32] local.INFO: TCP Data received {"connection_id":172361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:13:32] local.INFO: Processing buffer {"connection_id":172361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:13:32] local.INFO: Packet analysis {"connection_id":172361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:13:32] local.INFO: Extracted packet for processing {"connection_id":172361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:13:32] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891990016001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:13:32] 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-09-06 02:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788640887000,"timestamp_ms":1788640887000,"timestamp_seconds":1788640887,"priority":1,"record_length":96,"hex_timestamp":"000001a0734e00d8"} 
[2026-09-06 02:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 02:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891990016001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891990016001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:13:32] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:13:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891990016001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":172361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:13:32] local.INFO: GPS data processed {"connection_id":172361,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:13:32] local.INFO: Acknowledgment sent {"connection_id":172361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:13:54] local.INFO: TCP Data received {"connection_id":174803,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:13:54] local.INFO: Processing buffer {"connection_id":174803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:13:54] local.INFO: IMEI packet received {"connection_id":174803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":174803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:13:59] local.INFO: TCP Data received {"connection_id":174803,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:13:59] local.INFO: Processing buffer {"connection_id":174803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:13:59] local.INFO: IMEI packet received {"connection_id":174803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":174803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:14:00] local.INFO: TCP Data received {"connection_id":174803,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:14:00] local.INFO: Processing buffer {"connection_id":174803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:14:00] local.INFO: Packet analysis {"connection_id":174803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:14:00] local.INFO: Extracted packet for processing {"connection_id":174803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:14:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891990016001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:14:00] 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-09-06 02:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788640887000,"timestamp_ms":1788640887000,"timestamp_seconds":1788640887,"priority":1,"record_length":96,"hex_timestamp":"000001a0734e00d8"} 
[2026-09-06 02:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:14: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-09-06 02:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:14: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-09-06 02:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891990016001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891990016001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:14:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:14:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891990016001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":174803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:14:00] local.INFO: GPS data processed {"connection_id":174803,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:14:00] local.INFO: Acknowledgment sent {"connection_id":174803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:14:31] local.INFO: TCP Data received {"connection_id":174803,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:14:31] local.INFO: Processing buffer {"connection_id":174803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:14:31] local.INFO: Packet analysis {"connection_id":174803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:14:31] local.INFO: Extracted packet for processing {"connection_id":174803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:14:31] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891990016001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:14:31] 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-09-06 02:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788640887000,"timestamp_ms":1788640887000,"timestamp_seconds":1788640887,"priority":1,"record_length":96,"hex_timestamp":"000001a0734e00d8"} 
[2026-09-06 02:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:14: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-09-06 02:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 02:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891990016001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891990016001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:14:31] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:14:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891990016001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":174803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:14:31] local.INFO: GPS data processed {"connection_id":174803,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:14:31] local.INFO: Acknowledgment sent {"connection_id":174803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:14:49] local.INFO: TCP Data received {"connection_id":173477,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:14:49] local.INFO: Processing buffer {"connection_id":173477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:14:49] local.INFO: IMEI packet received {"connection_id":173477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":173477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:14:54] local.INFO: TCP Data received {"connection_id":173477,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:14:54] local.INFO: Processing buffer {"connection_id":173477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:14:54] local.INFO: IMEI packet received {"connection_id":173477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":173477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:14:55] local.INFO: TCP Data received {"connection_id":173477,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:14:55] local.INFO: Processing buffer {"connection_id":173477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:14:55] local.INFO: Packet analysis {"connection_id":173477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:14:55] local.INFO: Extracted packet for processing {"connection_id":173477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:14:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891990016001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788640887000,"timestamp_ms":1788640887000,"timestamp_seconds":1788640887,"priority":1,"record_length":96,"hex_timestamp":"000001a0734e00d8"} 
[2026-09-06 02:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:14: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-09-06 02:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:14: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-09-06 02:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891990016001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891990016001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:14:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:14:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891990016001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":173477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:14:55] local.INFO: GPS data processed {"connection_id":173477,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:14:55] local.INFO: Acknowledgment sent {"connection_id":173477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:15:26] local.INFO: TCP Data received {"connection_id":173477,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:15:26] local.INFO: Processing buffer {"connection_id":173477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:15:26] local.INFO: Packet analysis {"connection_id":173477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:15:26] local.INFO: Extracted packet for processing {"connection_id":173477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:15:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891990016001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:15: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-09-06 02:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788640887000,"timestamp_ms":1788640887000,"timestamp_seconds":1788640887,"priority":1,"record_length":96,"hex_timestamp":"000001a0734e00d8"} 
[2026-09-06 02:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:15: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-09-06 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:15: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-09-06 02: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-09-06 02:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:15: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-09-06 02:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891990016001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891990016001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:15:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:15:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891990016001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":173477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:15:26] local.INFO: GPS data processed {"connection_id":173477,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:15:26] local.INFO: Acknowledgment sent {"connection_id":173477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:15:49] local.INFO: TCP Data received {"connection_id":174804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:15:49] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:15:49] local.INFO: IMEI packet received {"connection_id":174804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":174804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:15:54] local.INFO: TCP Data received {"connection_id":174804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:15:54] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:15:54] local.INFO: IMEI packet received {"connection_id":174804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":174804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:15:55] local.INFO: TCP Data received {"connection_id":174804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:15:55] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:15:55] local.INFO: Packet analysis {"connection_id":174804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:15:55] local.INFO: Extracted packet for processing {"connection_id":174804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:15:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891990016001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788640887000,"timestamp_ms":1788640887000,"timestamp_seconds":1788640887,"priority":1,"record_length":96,"hex_timestamp":"000001a0734e00d8"} 
[2026-09-06 02:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:15: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-09-06 02:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:15: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-09-06 02:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891990016001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891990016001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:15:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:15:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891990016001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":174804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:15:55] local.INFO: GPS data processed {"connection_id":174804,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:15:55] local.INFO: Acknowledgment sent {"connection_id":174804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:16:25] local.INFO: TCP Data received {"connection_id":174804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:16:25] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:16:25] local.INFO: Packet analysis {"connection_id":174804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:16:25] local.INFO: Extracted packet for processing {"connection_id":174804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:16:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891990016001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:16:25] 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-09-06 02:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788640887000,"timestamp_ms":1788640887000,"timestamp_seconds":1788640887,"priority":1,"record_length":96,"hex_timestamp":"000001a0734e00d8"} 
[2026-09-06 02:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:16: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-09-06 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:16: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-09-06 02: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-09-06 02:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02: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-09-06 02:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891990016001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891990016001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:16:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:16:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891990016001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":174804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:16:25] local.INFO: GPS data processed {"connection_id":174804,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:16:25] local.INFO: Acknowledgment sent {"connection_id":174804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:16:38] local.INFO: TCP Data received {"connection_id":172363,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:16:38] local.INFO: Processing buffer {"connection_id":172363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:16:38] local.INFO: IMEI packet received {"connection_id":172363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 02:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":172363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:16:49] local.INFO: TCP Data received {"connection_id":174805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:16:49] local.INFO: Processing buffer {"connection_id":174805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:16:49] local.INFO: IMEI packet received {"connection_id":174805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":174805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:16:54] local.INFO: TCP Data received {"connection_id":174805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:16:54] local.INFO: Processing buffer {"connection_id":174805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:16:54] local.INFO: IMEI packet received {"connection_id":174805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":174805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:16:55] local.INFO: TCP Data received {"connection_id":174805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:16:55] local.INFO: Processing buffer {"connection_id":174805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0734e00d8012d532d00064970480006014732..."} 
[2026-09-06 02:16:55] local.INFO: Packet analysis {"connection_id":174805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:16:55] local.INFO: Extracted packet for processing {"connection_id":174805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0734e"} 
[2026-09-06 02:16:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891990016001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788640887000,"timestamp_ms":1788640887000,"timestamp_seconds":1788640887,"priority":1,"record_length":96,"hex_timestamp":"000001a0734e00d8"} 
[2026-09-06 02:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:16: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-09-06 02:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:16: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-09-06 02:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891990016001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891990016001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:16:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:16:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891990016001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":174805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:16:55] local.INFO: GPS data processed {"connection_id":174805,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:16:55] local.INFO: Acknowledgment sent {"connection_id":174805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:17:12] local.INFO: TCP Data received {"connection_id":174806,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:17:12] local.INFO: Processing buffer {"connection_id":174806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:17:12] local.INFO: IMEI packet received {"connection_id":174806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 02:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":174806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:17:18] local.INFO: TCP Data received {"connection_id":174806,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:17:18] local.INFO: Processing buffer {"connection_id":174806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:17:18] local.INFO: IMEI packet received {"connection_id":174806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 02:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":174806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:17:19] local.INFO: TCP Data received {"connection_id":174806,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07347f9e0012ca3d30009421ab002b000a829..."} 
[2026-09-06 02:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07347f9e0012ca3d30009421ab002b000a829..."} 
[2026-09-06 02:17:19] local.INFO: Processing buffer {"connection_id":174806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07347f9e0012ca3d30009421ab002b000a829..."} 
[2026-09-06 02:17:19] local.INFO: Packet analysis {"connection_id":174806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07347"} 
[2026-09-06 02:17:19] local.INFO: Extracted packet for processing {"connection_id":174806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07347"} 
[2026-09-06 02:17:19] local.INFO: GPS Element Parsed {"raw_longitude":748933888,"raw_latitude":155327152,"longitude_deg":74.8933888,"latitude_deg":15.5327152,"altitude":688,"angle":168,"satellites":41,"speed":0,"hex_longitude":"2ca3d300","hex_latitude":"09421ab0","is_valid_coordinates":true} 
[2026-09-06 02:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457891888896001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2121292937428992,"note":"Value kept but may cause issues"} 
[2026-09-06 02:17:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6641964985677598718,"note":"Value kept but may cause issues"} 
[2026-09-06 02:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,253,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788640492000,"timestamp_ms":1788640492000,"timestamp_seconds":1788640492,"priority":1,"record_length":96,"hex_timestamp":"000001a07347f9e0"} 
[2026-09-06 02:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-09-06 02:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 02:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 02:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 02:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 02:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 02:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457891888896001,"66":25278,"100":206,"253":60160,"24":0,"16":2121292937428992,"44":-6641964985677598718},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,253,24,16,44]} 
[2026-09-06 02:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 02:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 02:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457891888896001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:17:19] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-06 02:17:19] local.INFO: Unknown IO ID detected {"io_id":253,"value":60160,"description":"Unknown IO ID 253"} 
[2026-09-06 02:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2121292937428992,"km_value":2121292937428.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:17:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6641964985677598718,"description":"Unknown IO ID 44"} 
[2026-09-06 02:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457891888896001,"power":25278,"unknown_100":206,"unknown_253":60160,"ignition":0,"odometer":null,"unknown_44":-6641964985677598718}} 
[2026-09-06 02:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":174806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772283,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:17:19] local.INFO: GPS data processed {"connection_id":174806,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:17:19] local.INFO: Acknowledgment sent {"connection_id":174806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:17:26] local.INFO: TCP Data received {"connection_id":174805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:17:26] local.INFO: Processing buffer {"connection_id":174805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:17:26] local.INFO: Packet analysis {"connection_id":174805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:17:26] local.INFO: Extracted packet for processing {"connection_id":174805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:17:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892067072001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:17: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-09-06 02:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788641188000,"timestamp_ms":1788641188000,"timestamp_seconds":1788641188,"priority":1,"record_length":96,"hex_timestamp":"000001a0735298a0"} 
[2026-09-06 02:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02: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-09-06 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:17: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-09-06 02: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-09-06 02:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:17: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-09-06 02:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892067072001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892067072001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:17:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:17:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892067072001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":174805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:17:26] local.INFO: GPS data processed {"connection_id":174805,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:17:26] local.INFO: Acknowledgment sent {"connection_id":174805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:17:49] local.INFO: TCP Data received {"connection_id":174807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:17:49] local.INFO: Processing buffer {"connection_id":174807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:17:49] local.INFO: IMEI packet received {"connection_id":174807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":174807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:17:54] local.INFO: TCP Data received {"connection_id":174807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:17:54] local.INFO: Processing buffer {"connection_id":174807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:17:54] local.INFO: IMEI packet received {"connection_id":174807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":174807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:17:55] local.INFO: TCP Data received {"connection_id":174807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:17:55] local.INFO: Processing buffer {"connection_id":174807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:17:55] local.INFO: Packet analysis {"connection_id":174807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:17:55] local.INFO: Extracted packet for processing {"connection_id":174807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:17:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892067072001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788641188000,"timestamp_ms":1788641188000,"timestamp_seconds":1788641188,"priority":1,"record_length":96,"hex_timestamp":"000001a0735298a0"} 
[2026-09-06 02:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:17: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-09-06 02:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:17:55] 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-09-06 02:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892067072001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892067072001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:17:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:17:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892067072001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":174807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:17:55] local.INFO: GPS data processed {"connection_id":174807,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:17:55] local.INFO: Acknowledgment sent {"connection_id":174807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:18:13] local.INFO: TCP Data received {"connection_id":172364,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172364,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:18:13] local.INFO: Processing buffer {"connection_id":172364,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:18:13] local.INFO: IMEI packet received {"connection_id":172364,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 02:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":172364,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:18:26] local.INFO: TCP Data received {"connection_id":174807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:18:26] local.INFO: Processing buffer {"connection_id":174807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:18:26] local.INFO: Packet analysis {"connection_id":174807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:18:26] local.INFO: Extracted packet for processing {"connection_id":174807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:18:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892067072001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:18: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-09-06 02:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788641188000,"timestamp_ms":1788641188000,"timestamp_seconds":1788641188,"priority":1,"record_length":96,"hex_timestamp":"000001a0735298a0"} 
[2026-09-06 02:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:18: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-09-06 02:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:18: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-09-06 02:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:18: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-09-06 02:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892067072001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892067072001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:18:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:18:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892067072001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":174807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:18:26] local.INFO: GPS data processed {"connection_id":174807,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:18:26] local.INFO: Acknowledgment sent {"connection_id":174807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:18:49] local.INFO: TCP Data received {"connection_id":172365,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:18:49] local.INFO: Processing buffer {"connection_id":172365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:18:49] local.INFO: IMEI packet received {"connection_id":172365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":172365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:18:54] local.INFO: TCP Data received {"connection_id":172365,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:18:54] local.INFO: Processing buffer {"connection_id":172365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:18:54] local.INFO: IMEI packet received {"connection_id":172365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":172365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:18:55] local.INFO: TCP Data received {"connection_id":172365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:18:55] local.INFO: Processing buffer {"connection_id":172365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:18:55] local.INFO: Packet analysis {"connection_id":172365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:18:55] local.INFO: Extracted packet for processing {"connection_id":172365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:18:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892067072001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788641188000,"timestamp_ms":1788641188000,"timestamp_seconds":1788641188,"priority":1,"record_length":96,"hex_timestamp":"000001a0735298a0"} 
[2026-09-06 02:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:18: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-09-06 02:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:18:55] 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-09-06 02:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892067072001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892067072001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:18:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:18:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892067072001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":172365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:18:55] local.INFO: GPS data processed {"connection_id":172365,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:18:55] local.INFO: Acknowledgment sent {"connection_id":172365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:19:26] local.INFO: TCP Data received {"connection_id":172365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:19:26] local.INFO: Processing buffer {"connection_id":172365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:19:26] local.INFO: Packet analysis {"connection_id":172365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:19:26] local.INFO: Extracted packet for processing {"connection_id":172365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:19:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892067072001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:19: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-09-06 02:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788641188000,"timestamp_ms":1788641188000,"timestamp_seconds":1788641188,"priority":1,"record_length":96,"hex_timestamp":"000001a0735298a0"} 
[2026-09-06 02:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:19: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-09-06 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:19: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-09-06 02: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-09-06 02:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:19: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-09-06 02:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892067072001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892067072001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:19:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:19:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892067072001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":172365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:19:26] local.INFO: GPS data processed {"connection_id":172365,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:19:26] local.INFO: Acknowledgment sent {"connection_id":172365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:19:49] local.INFO: TCP Data received {"connection_id":172120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:19:49] local.INFO: Processing buffer {"connection_id":172120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:19:49] local.INFO: IMEI packet received {"connection_id":172120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":172120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:19:54] local.INFO: TCP Data received {"connection_id":172120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:19:54] local.INFO: Processing buffer {"connection_id":172120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:19:54] local.INFO: IMEI packet received {"connection_id":172120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":172120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:19:55] local.INFO: TCP Data received {"connection_id":172120,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:19:55] local.INFO: Processing buffer {"connection_id":172120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:19:55] local.INFO: Packet analysis {"connection_id":172120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:19:55] local.INFO: Extracted packet for processing {"connection_id":172120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:19:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892067072001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788641188000,"timestamp_ms":1788641188000,"timestamp_seconds":1788641188,"priority":1,"record_length":96,"hex_timestamp":"000001a0735298a0"} 
[2026-09-06 02:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:19: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-09-06 02:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:19:55] 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-09-06 02:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892067072001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892067072001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:19:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:19:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892067072001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":172120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:19:55] local.INFO: GPS data processed {"connection_id":172120,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:19:55] local.INFO: Acknowledgment sent {"connection_id":172120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:20:26] local.INFO: TCP Data received {"connection_id":172120,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:20:26] local.INFO: Processing buffer {"connection_id":172120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:20:26] local.INFO: Packet analysis {"connection_id":172120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:20:26] local.INFO: Extracted packet for processing {"connection_id":172120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:20:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892067072001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:20: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-09-06 02:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788641188000,"timestamp_ms":1788641188000,"timestamp_seconds":1788641188,"priority":1,"record_length":96,"hex_timestamp":"000001a0735298a0"} 
[2026-09-06 02:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:20: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-09-06 02:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:20: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-09-06 02:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:20: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-09-06 02:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892067072001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892067072001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:20:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:20:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892067072001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":172120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:20:26] local.INFO: GPS data processed {"connection_id":172120,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:20:26] local.INFO: Acknowledgment sent {"connection_id":172120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:20:49] local.INFO: TCP Data received {"connection_id":172366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:20:49] local.INFO: Processing buffer {"connection_id":172366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:20:49] local.INFO: IMEI packet received {"connection_id":172366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":172366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:20:54] local.INFO: TCP Data received {"connection_id":172366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:20:54] local.INFO: Processing buffer {"connection_id":172366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:20:54] local.INFO: IMEI packet received {"connection_id":172366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":172366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:20:55] local.INFO: TCP Data received {"connection_id":172366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:20:55] local.INFO: Processing buffer {"connection_id":172366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:20:55] local.INFO: Packet analysis {"connection_id":172366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:20:55] local.INFO: Extracted packet for processing {"connection_id":172366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:20:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892067072001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788641188000,"timestamp_ms":1788641188000,"timestamp_seconds":1788641188,"priority":1,"record_length":96,"hex_timestamp":"000001a0735298a0"} 
[2026-09-06 02:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:20: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-09-06 02:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:20:55] 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-09-06 02:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892067072001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892067072001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:20:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:20:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892067072001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":172366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:20:55] local.INFO: GPS data processed {"connection_id":172366,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:20:55] local.INFO: Acknowledgment sent {"connection_id":172366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:21:26] local.INFO: TCP Data received {"connection_id":172366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:21:26] local.INFO: Processing buffer {"connection_id":172366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:21:26] local.INFO: Packet analysis {"connection_id":172366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:21:26] local.INFO: Extracted packet for processing {"connection_id":172366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:21:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892067072001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:21: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-09-06 02:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788641188000,"timestamp_ms":1788641188000,"timestamp_seconds":1788641188,"priority":1,"record_length":96,"hex_timestamp":"000001a0735298a0"} 
[2026-09-06 02:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:21: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-09-06 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:21: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-09-06 02: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-09-06 02:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:21: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-09-06 02:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892067072001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892067072001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:21:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:21:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892067072001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":172366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:21:26] local.INFO: GPS data processed {"connection_id":172366,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:21:26] local.INFO: Acknowledgment sent {"connection_id":172366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:21:54] local.INFO: TCP Data received {"connection_id":173479,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:21:54] local.INFO: Processing buffer {"connection_id":173479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:21:54] local.INFO: IMEI packet received {"connection_id":173479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":173479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:21:59] local.INFO: TCP Data received {"connection_id":173479,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:21:59] local.INFO: Processing buffer {"connection_id":173479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:21:59] local.INFO: IMEI packet received {"connection_id":173479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":173479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:22:00] local.INFO: TCP Data received {"connection_id":173479,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:22:00] local.INFO: Processing buffer {"connection_id":173479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:22:00] local.INFO: Packet analysis {"connection_id":173479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:22:00] local.INFO: Extracted packet for processing {"connection_id":173479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:22:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892067072001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:22:00] 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-09-06 02:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788641188000,"timestamp_ms":1788641188000,"timestamp_seconds":1788641188,"priority":1,"record_length":96,"hex_timestamp":"000001a0735298a0"} 
[2026-09-06 02:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:22: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-09-06 02: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":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:22:00] 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-09-06 02: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-09-06 02:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892067072001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892067072001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:22:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:22:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892067072001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":173479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:22:00] local.INFO: GPS data processed {"connection_id":173479,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:22:00] local.INFO: Acknowledgment sent {"connection_id":173479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:22:04] local.INFO: TCP Data received {"connection_id":173479,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:22:04] local.INFO: Processing buffer {"connection_id":173479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735298a0012d532d00064970480006014732..."} 
[2026-09-06 02:22:04] local.INFO: Packet analysis {"connection_id":173479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:22:04] local.INFO: Extracted packet for processing {"connection_id":173479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07352"} 
[2026-09-06 02:22:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892067072001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788641188000,"timestamp_ms":1788641188000,"timestamp_seconds":1788641188,"priority":1,"record_length":96,"hex_timestamp":"000001a0735298a0"} 
[2026-09-06 02:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:22: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-09-06 02:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:22:04] 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-09-06 02:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892067072001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892067072001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:22:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:22:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892067072001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":173479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:22:04] local.INFO: GPS data processed {"connection_id":173479,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:22:04] local.INFO: Acknowledgment sent {"connection_id":173479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:22:49] local.INFO: TCP Data received {"connection_id":174809,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:22:49] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:22:49] local.INFO: IMEI packet received {"connection_id":174809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":174809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:22:54] local.INFO: TCP Data received {"connection_id":174809,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:22:54] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:22:54] local.INFO: IMEI packet received {"connection_id":174809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":174809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:22:55] local.INFO: TCP Data received {"connection_id":174809,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:22:55] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:22:55] local.INFO: Packet analysis {"connection_id":174809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:22:55] local.INFO: Extracted packet for processing {"connection_id":174809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:22:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892144128001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788641489000,"timestamp_ms":1788641489000,"timestamp_seconds":1788641489,"priority":1,"record_length":96,"hex_timestamp":"000001a073573068"} 
[2026-09-06 02:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:22: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-09-06 02:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:22: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-09-06 02:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892144128001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892144128001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:22:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:22:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892144128001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":174809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:22:55] local.INFO: GPS data processed {"connection_id":174809,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:22:55] local.INFO: Acknowledgment sent {"connection_id":174809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:23:27] local.INFO: TCP Data received {"connection_id":174809,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:23:27] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:23:27] local.INFO: Packet analysis {"connection_id":174809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:23:27] local.INFO: Extracted packet for processing {"connection_id":174809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:23:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892144128001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:23:27] 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-09-06 02:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788641489000,"timestamp_ms":1788641489000,"timestamp_seconds":1788641489,"priority":1,"record_length":96,"hex_timestamp":"000001a073573068"} 
[2026-09-06 02:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:23: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-09-06 02:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 02:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892144128001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892144128001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:23:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:23:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892144128001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":174809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:23:27] local.INFO: GPS data processed {"connection_id":174809,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:23:27] local.INFO: Acknowledgment sent {"connection_id":174809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:23:33] local.INFO: TCP Data received {"connection_id":172121,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:23:33] local.INFO: Processing buffer {"connection_id":172121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:23:33] local.INFO: IMEI packet received {"connection_id":172121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 02:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":172121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:23:49] local.INFO: TCP Data received {"connection_id":172122,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:23:49] local.INFO: Processing buffer {"connection_id":172122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:23:49] local.INFO: IMEI packet received {"connection_id":172122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":172122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:23:54] local.INFO: TCP Data received {"connection_id":172122,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:23:54] local.INFO: Processing buffer {"connection_id":172122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:23:54] local.INFO: IMEI packet received {"connection_id":172122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":172122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:23:55] local.INFO: TCP Data received {"connection_id":172122,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:23:55] local.INFO: Processing buffer {"connection_id":172122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:23:55] local.INFO: Packet analysis {"connection_id":172122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:23:55] local.INFO: Extracted packet for processing {"connection_id":172122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:23:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892144128001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788641489000,"timestamp_ms":1788641489000,"timestamp_seconds":1788641489,"priority":1,"record_length":96,"hex_timestamp":"000001a073573068"} 
[2026-09-06 02:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:23: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-09-06 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:23: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-09-06 02: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-09-06 02:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892144128001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892144128001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:23:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:23:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892144128001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":172122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:23:55] local.INFO: GPS data processed {"connection_id":172122,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:23:55] local.INFO: Acknowledgment sent {"connection_id":172122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:24:12] local.INFO: TCP Data received {"connection_id":173480,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:24:12] local.INFO: Processing buffer {"connection_id":173480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:24:12] local.INFO: IMEI packet received {"connection_id":173480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 02:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":173480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:24:25] local.INFO: TCP Data received {"connection_id":172122,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:24:25] local.INFO: Processing buffer {"connection_id":172122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:24:25] local.INFO: Packet analysis {"connection_id":172122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:24:25] local.INFO: Extracted packet for processing {"connection_id":172122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:24:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892144128001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:24:25] 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-09-06 02:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788641489000,"timestamp_ms":1788641489000,"timestamp_seconds":1788641489,"priority":1,"record_length":96,"hex_timestamp":"000001a073573068"} 
[2026-09-06 02:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02: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-09-06 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:24: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-09-06 02: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-09-06 02:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:24: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-09-06 02:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892144128001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892144128001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:24:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:24:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892144128001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":172122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:24:25] local.INFO: GPS data processed {"connection_id":172122,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:24:25] local.INFO: Acknowledgment sent {"connection_id":172122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:24:49] local.INFO: TCP Data received {"connection_id":173481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:24:49] local.INFO: Processing buffer {"connection_id":173481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:24:49] local.INFO: IMEI packet received {"connection_id":173481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":173481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:24:54] local.INFO: TCP Data received {"connection_id":173481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:24:54] local.INFO: Processing buffer {"connection_id":173481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:24:54] local.INFO: IMEI packet received {"connection_id":173481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":173481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:24:55] local.INFO: TCP Data received {"connection_id":173481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:24:55] local.INFO: Processing buffer {"connection_id":173481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:24:55] local.INFO: Packet analysis {"connection_id":173481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:24:55] local.INFO: Extracted packet for processing {"connection_id":173481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:24:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 02:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892144128001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788641489000,"timestamp_ms":1788641489000,"timestamp_seconds":1788641489,"priority":1,"record_length":96,"hex_timestamp":"000001a073573068"} 
[2026-09-06 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-09-06 02:24: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-09-06 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:24: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-09-06 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-09-06 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-09-06 02:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892144128001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892144128001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:24:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:24:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892144128001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":173481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:24:55] local.INFO: GPS data processed {"connection_id":173481,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:24:55] local.INFO: Acknowledgment sent {"connection_id":173481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:25:26] local.INFO: TCP Data received {"connection_id":173481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:25:26] local.INFO: Processing buffer {"connection_id":173481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:25:26] local.INFO: Packet analysis {"connection_id":173481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:25:26] local.INFO: Extracted packet for processing {"connection_id":173481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:25:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 02:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892144128001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:25: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-09-06 02:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788641489000,"timestamp_ms":1788641489000,"timestamp_seconds":1788641489,"priority":1,"record_length":96,"hex_timestamp":"000001a073573068"} 
[2026-09-06 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-09-06 02:25: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-09-06 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:25: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-09-06 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-09-06 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-09-06 02:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:25: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-09-06 02:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892144128001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892144128001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:25:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:25:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892144128001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":173481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:25:26] local.INFO: GPS data processed {"connection_id":173481,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:25:26] local.INFO: Acknowledgment sent {"connection_id":173481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:25:54] local.INFO: TCP Data received {"connection_id":172369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:25:54] local.INFO: Processing buffer {"connection_id":172369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:25:54] local.INFO: IMEI packet received {"connection_id":172369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":172369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:25:59] local.INFO: TCP Data received {"connection_id":172369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:25:59] local.INFO: Processing buffer {"connection_id":172369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:25:59] local.INFO: IMEI packet received {"connection_id":172369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":172369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:26:00] local.INFO: TCP Data received {"connection_id":172369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:26:00] local.INFO: Processing buffer {"connection_id":172369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:26:00] local.INFO: Packet analysis {"connection_id":172369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:26:00] local.INFO: Extracted packet for processing {"connection_id":172369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:26:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892144128001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:26:00] 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-09-06 02:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788641489000,"timestamp_ms":1788641489000,"timestamp_seconds":1788641489,"priority":1,"record_length":96,"hex_timestamp":"000001a073573068"} 
[2026-09-06 02:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:26: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-09-06 02:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:26: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-09-06 02:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892144128001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892144128001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:26:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:26:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892144128001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":172369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:26:00] local.INFO: GPS data processed {"connection_id":172369,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:26:00] local.INFO: Acknowledgment sent {"connection_id":172369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:26:04] local.INFO: TCP Data received {"connection_id":172369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:26:04] local.INFO: Processing buffer {"connection_id":172369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:26:04] local.INFO: Packet analysis {"connection_id":172369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:26:04] local.INFO: Extracted packet for processing {"connection_id":172369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:26:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892144128001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788641489000,"timestamp_ms":1788641489000,"timestamp_seconds":1788641489,"priority":1,"record_length":96,"hex_timestamp":"000001a073573068"} 
[2026-09-06 02:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:26: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-09-06 02:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 02:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892144128001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892144128001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:26:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:26:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892144128001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":172369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:26:04] local.INFO: GPS data processed {"connection_id":172369,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:26:04] local.INFO: Acknowledgment sent {"connection_id":172369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:26:49] local.INFO: TCP Data received {"connection_id":173482,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:26:49] local.INFO: Processing buffer {"connection_id":173482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:26:49] local.INFO: IMEI packet received {"connection_id":173482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":173482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:26:54] local.INFO: TCP Data received {"connection_id":173482,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:26:54] local.INFO: Processing buffer {"connection_id":173482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:26:54] local.INFO: IMEI packet received {"connection_id":173482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":173482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:26:55] local.INFO: TCP Data received {"connection_id":173482,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:26:55] local.INFO: Processing buffer {"connection_id":173482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073573068012d532d00064970480006014730..."} 
[2026-09-06 02:26:55] local.INFO: Packet analysis {"connection_id":173482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:26:55] local.INFO: Extracted packet for processing {"connection_id":173482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07357"} 
[2026-09-06 02:26:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892144128001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788641489000,"timestamp_ms":1788641489000,"timestamp_seconds":1788641489,"priority":1,"record_length":96,"hex_timestamp":"000001a073573068"} 
[2026-09-06 02:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:26: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-09-06 02:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:26: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-09-06 02:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892144128001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892144128001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:26:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:26:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892144128001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":173482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:26:55] local.INFO: GPS data processed {"connection_id":173482,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:26:55] local.INFO: Acknowledgment sent {"connection_id":173482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:27:26] local.INFO: TCP Data received {"connection_id":173482,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:27:26] local.INFO: Processing buffer {"connection_id":173482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:27:26] local.INFO: Packet analysis {"connection_id":173482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0735b"} 
[2026-09-06 02:27:26] local.INFO: Extracted packet for processing {"connection_id":173482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0735b"} 
[2026-09-06 02:27:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892221184001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:27: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-09-06 02:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788641790000,"timestamp_ms":1788641790000,"timestamp_seconds":1788641790,"priority":1,"record_length":96,"hex_timestamp":"000001a0735bc830"} 
[2026-09-06 02:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:27: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-09-06 02: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:27: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-09-06 02: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-09-06 02:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:27: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-09-06 02:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892221184001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892221184001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:27:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:27:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892221184001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":173482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:27:26] local.INFO: GPS data processed {"connection_id":173482,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:27:26] local.INFO: Acknowledgment sent {"connection_id":173482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:27:49] local.INFO: TCP Data received {"connection_id":172371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:27:49] local.INFO: Processing buffer {"connection_id":172371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:27:49] local.INFO: IMEI packet received {"connection_id":172371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":172371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:27:54] local.INFO: TCP Data received {"connection_id":172371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:27:54] local.INFO: Processing buffer {"connection_id":172371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:27:54] local.INFO: IMEI packet received {"connection_id":172371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":172371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:27:55] local.INFO: TCP Data received {"connection_id":172371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:27:55] local.INFO: Processing buffer {"connection_id":172371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:27:55] local.INFO: Packet analysis {"connection_id":172371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0735b"} 
[2026-09-06 02:27:55] local.INFO: Extracted packet for processing {"connection_id":172371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0735b"} 
[2026-09-06 02:27:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892221184001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788641790000,"timestamp_ms":1788641790000,"timestamp_seconds":1788641790,"priority":1,"record_length":96,"hex_timestamp":"000001a0735bc830"} 
[2026-09-06 02:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:27: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-09-06 02:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:27:55] 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-09-06 02: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-09-06 02:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892221184001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892221184001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:27:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:27:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892221184001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":172371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:27:55] local.INFO: GPS data processed {"connection_id":172371,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:27:55] local.INFO: Acknowledgment sent {"connection_id":172371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:28:25] local.INFO: TCP Data received {"connection_id":172371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:28:25] local.INFO: Processing buffer {"connection_id":172371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:28:25] local.INFO: Packet analysis {"connection_id":172371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0735b"} 
[2026-09-06 02:28:25] local.INFO: Extracted packet for processing {"connection_id":172371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0735b"} 
[2026-09-06 02:28:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892221184001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:28:25] 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-09-06 02:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788641790000,"timestamp_ms":1788641790000,"timestamp_seconds":1788641790,"priority":1,"record_length":96,"hex_timestamp":"000001a0735bc830"} 
[2026-09-06 02:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02: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-09-06 02: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:28: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-09-06 02: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-09-06 02:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:28: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-09-06 02:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892221184001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892221184001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:28:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:28:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892221184001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":172371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:28:25] local.INFO: GPS data processed {"connection_id":172371,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:28:25] local.INFO: Acknowledgment sent {"connection_id":172371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:28:49] local.INFO: TCP Data received {"connection_id":173483,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:28:49] local.INFO: Processing buffer {"connection_id":173483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:28:49] local.INFO: IMEI packet received {"connection_id":173483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":173483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:28:54] local.INFO: TCP Data received {"connection_id":173483,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:28:54] local.INFO: Processing buffer {"connection_id":173483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:28:54] local.INFO: IMEI packet received {"connection_id":173483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":173483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:28:55] local.INFO: TCP Data received {"connection_id":173483,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:28:55] local.INFO: Processing buffer {"connection_id":173483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:28:55] local.INFO: Packet analysis {"connection_id":173483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0735b"} 
[2026-09-06 02:28:55] local.INFO: Extracted packet for processing {"connection_id":173483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0735b"} 
[2026-09-06 02:28:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892221184001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788641790000,"timestamp_ms":1788641790000,"timestamp_seconds":1788641790,"priority":1,"record_length":96,"hex_timestamp":"000001a0735bc830"} 
[2026-09-06 02:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:28: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-09-06 02: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:28:55] 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-09-06 02: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-09-06 02:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892221184001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892221184001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:28:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:28:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892221184001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":173483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:28:55] local.INFO: GPS data processed {"connection_id":173483,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:28:55] local.INFO: Acknowledgment sent {"connection_id":173483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:29:17] local.INFO: TCP Data received {"connection_id":172124,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:29:17] local.INFO: Processing buffer {"connection_id":172124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:29:17] local.INFO: IMEI packet received {"connection_id":172124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 02:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":172124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:29:26] local.INFO: TCP Data received {"connection_id":173483,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:29:26] local.INFO: Processing buffer {"connection_id":173483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:29:26] local.INFO: Packet analysis {"connection_id":173483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0735b"} 
[2026-09-06 02:29:26] local.INFO: Extracted packet for processing {"connection_id":173483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0735b"} 
[2026-09-06 02:29:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892221184001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:29: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-09-06 02:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788641790000,"timestamp_ms":1788641790000,"timestamp_seconds":1788641790,"priority":1,"record_length":96,"hex_timestamp":"000001a0735bc830"} 
[2026-09-06 02:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:29: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-09-06 02: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:29: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-09-06 02: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-09-06 02:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:29: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-09-06 02:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892221184001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892221184001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:29:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:29:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892221184001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":173483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:29:26] local.INFO: GPS data processed {"connection_id":173483,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:29:26] local.INFO: Acknowledgment sent {"connection_id":173483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:29:49] local.INFO: TCP Data received {"connection_id":172372,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:29:49] local.INFO: Processing buffer {"connection_id":172372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:29:49] local.INFO: IMEI packet received {"connection_id":172372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":172372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:29:54] local.INFO: TCP Data received {"connection_id":172372,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:29:54] local.INFO: Processing buffer {"connection_id":172372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:29:54] local.INFO: IMEI packet received {"connection_id":172372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":172372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:29:55] local.INFO: TCP Data received {"connection_id":172372,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:29:55] local.INFO: Processing buffer {"connection_id":172372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:29:55] local.INFO: Packet analysis {"connection_id":172372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0735b"} 
[2026-09-06 02:29:55] local.INFO: Extracted packet for processing {"connection_id":172372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0735b"} 
[2026-09-06 02:29:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892221184001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788641790000,"timestamp_ms":1788641790000,"timestamp_seconds":1788641790,"priority":1,"record_length":96,"hex_timestamp":"000001a0735bc830"} 
[2026-09-06 02:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:29: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-09-06 02:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:29:55] 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-09-06 02: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-09-06 02:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892221184001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892221184001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:29:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:29:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892221184001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":172372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:29:55] local.INFO: GPS data processed {"connection_id":172372,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:29:55] local.INFO: Acknowledgment sent {"connection_id":172372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:31:04] local.INFO: TCP Data received {"connection_id":172126,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:31:04] local.INFO: Processing buffer {"connection_id":172126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:31:04] local.INFO: IMEI packet received {"connection_id":172126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":172126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:31:09] local.INFO: TCP Data received {"connection_id":172126,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:31:09] local.INFO: Processing buffer {"connection_id":172126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:31:09] local.INFO: IMEI packet received {"connection_id":172126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":172126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:31:10] local.INFO: TCP Data received {"connection_id":172126,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:31:10] local.INFO: Processing buffer {"connection_id":172126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:31:10] local.INFO: Packet analysis {"connection_id":172126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0735b"} 
[2026-09-06 02:31:10] local.INFO: Extracted packet for processing {"connection_id":172126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0735b"} 
[2026-09-06 02:31:10] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892221184001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788641790000,"timestamp_ms":1788641790000,"timestamp_seconds":1788641790,"priority":1,"record_length":96,"hex_timestamp":"000001a0735bc830"} 
[2026-09-06 02:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:31:10] 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-09-06 02:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:31:10] 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-09-06 02:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892221184001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892221184001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:31:10] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:31:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892221184001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":172126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:31:10] local.INFO: GPS data processed {"connection_id":172126,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:31:10] local.INFO: Acknowledgment sent {"connection_id":172126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:31:49] local.INFO: TCP Data received {"connection_id":174811,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:31:49] local.INFO: Processing buffer {"connection_id":174811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:31:49] local.INFO: IMEI packet received {"connection_id":174811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":174811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:31:54] local.INFO: TCP Data received {"connection_id":174811,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:31:54] local.INFO: Processing buffer {"connection_id":174811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:31:54] local.INFO: IMEI packet received {"connection_id":174811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":174811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:31:55] local.INFO: TCP Data received {"connection_id":174811,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:31:55] local.INFO: Processing buffer {"connection_id":174811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0735bc830012d532d00064970480006014731..."} 
[2026-09-06 02:31:55] local.INFO: Packet analysis {"connection_id":174811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0735b"} 
[2026-09-06 02:31:55] local.INFO: Extracted packet for processing {"connection_id":174811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0735b"} 
[2026-09-06 02:31:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892221184001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788641790000,"timestamp_ms":1788641790000,"timestamp_seconds":1788641790,"priority":1,"record_length":96,"hex_timestamp":"000001a0735bc830"} 
[2026-09-06 02:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:31: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-09-06 02: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:31:55] 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-09-06 02: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-09-06 02:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:31:55] 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-09-06 02:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892221184001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892221184001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:31:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:31:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892221184001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":174811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:31:55] local.INFO: GPS data processed {"connection_id":174811,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:31:55] local.INFO: Acknowledgment sent {"connection_id":174811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:32:26] local.INFO: TCP Data received {"connection_id":174811,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:32:26] local.INFO: Processing buffer {"connection_id":174811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:32:26] local.INFO: Packet analysis {"connection_id":174811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:32:26] local.INFO: Extracted packet for processing {"connection_id":174811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:32:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892298240001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:32: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-09-06 02:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788642091000,"timestamp_ms":1788642091000,"timestamp_seconds":1788642091,"priority":1,"record_length":96,"hex_timestamp":"000001a073605ff8"} 
[2026-09-06 02:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:32: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-09-06 02: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":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:32:26] 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-09-06 02: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-09-06 02:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892298240001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892298240001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:32:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:32:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892298240001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":174811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:32:26] local.INFO: GPS data processed {"connection_id":174811,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:32:26] local.INFO: Acknowledgment sent {"connection_id":174811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:32:49] local.INFO: TCP Data received {"connection_id":172373,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:32:49] local.INFO: Processing buffer {"connection_id":172373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:32:49] local.INFO: IMEI packet received {"connection_id":172373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":172373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:32:54] local.INFO: TCP Data received {"connection_id":172373,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:32:54] local.INFO: Processing buffer {"connection_id":172373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:32:54] local.INFO: IMEI packet received {"connection_id":172373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":172373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:32:55] local.INFO: TCP Data received {"connection_id":172373,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:32:55] local.INFO: Processing buffer {"connection_id":172373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:32:55] local.INFO: Packet analysis {"connection_id":172373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:32:55] local.INFO: Extracted packet for processing {"connection_id":172373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:32:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892298240001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788642091000,"timestamp_ms":1788642091000,"timestamp_seconds":1788642091,"priority":1,"record_length":96,"hex_timestamp":"000001a073605ff8"} 
[2026-09-06 02:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:32:55] 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-09-06 02:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:32:55] 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-09-06 02:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892298240001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892298240001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:32:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:32:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892298240001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":172373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:32:55] local.INFO: GPS data processed {"connection_id":172373,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:32:55] local.INFO: Acknowledgment sent {"connection_id":172373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:33:26] local.INFO: TCP Data received {"connection_id":172373,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:33:26] local.INFO: Processing buffer {"connection_id":172373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:33:26] local.INFO: Packet analysis {"connection_id":172373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:33:26] local.INFO: Extracted packet for processing {"connection_id":172373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:33:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892298240001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02: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-09-06 02:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788642091000,"timestamp_ms":1788642091000,"timestamp_seconds":1788642091,"priority":1,"record_length":96,"hex_timestamp":"000001a073605ff8"} 
[2026-09-06 02:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:33: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-09-06 02: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:33:26] 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-09-06 02: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-09-06 02:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892298240001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892298240001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:33:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:33:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892298240001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":172373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:33:26] local.INFO: GPS data processed {"connection_id":172373,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:33:26] local.INFO: Acknowledgment sent {"connection_id":172373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:33:54] local.INFO: TCP Data received {"connection_id":173485,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:33:54] local.INFO: Processing buffer {"connection_id":173485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:33:54] local.INFO: IMEI packet received {"connection_id":173485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":173485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:33:59] local.INFO: TCP Data received {"connection_id":173485,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:33:59] local.INFO: Processing buffer {"connection_id":173485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:33:59] local.INFO: IMEI packet received {"connection_id":173485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":173485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:34:00] local.INFO: TCP Data received {"connection_id":173485,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:34:00] local.INFO: Processing buffer {"connection_id":173485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:34:00] local.INFO: Packet analysis {"connection_id":173485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:34:00] local.INFO: Extracted packet for processing {"connection_id":173485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:34:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892298240001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:34:00] 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-09-06 02:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788642091000,"timestamp_ms":1788642091000,"timestamp_seconds":1788642091,"priority":1,"record_length":96,"hex_timestamp":"000001a073605ff8"} 
[2026-09-06 02:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:34:00] 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-09-06 02:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:34: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-09-06 02:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892298240001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892298240001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:34:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:34:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892298240001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":173485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:34:00] local.INFO: GPS data processed {"connection_id":173485,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:34:00] local.INFO: Acknowledgment sent {"connection_id":173485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:34:04] local.INFO: TCP Data received {"connection_id":173485,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:34:04] local.INFO: Processing buffer {"connection_id":173485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:34:04] local.INFO: Packet analysis {"connection_id":173485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:34:04] local.INFO: Extracted packet for processing {"connection_id":173485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:34:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892298240001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788642091000,"timestamp_ms":1788642091000,"timestamp_seconds":1788642091,"priority":1,"record_length":96,"hex_timestamp":"000001a073605ff8"} 
[2026-09-06 02:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:34:04] 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-09-06 02: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-09-06 02:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:34:04] 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-09-06 02:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892298240001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892298240001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:34:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:34:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892298240001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":173485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:34:04] local.INFO: GPS data processed {"connection_id":173485,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:34:04] local.INFO: Acknowledgment sent {"connection_id":173485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:34:49] local.INFO: TCP Data received {"connection_id":173487,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:34:49] local.INFO: Processing buffer {"connection_id":173487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:34:49] local.INFO: IMEI packet received {"connection_id":173487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":173487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:34:53] local.INFO: TCP Data received {"connection_id":173486,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:34:53] local.INFO: Processing buffer {"connection_id":173486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:34:53] local.INFO: IMEI packet received {"connection_id":173486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 02:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":173486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:34:54] local.INFO: TCP Data received {"connection_id":173487,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:34:54] local.INFO: Processing buffer {"connection_id":173487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:34:54] local.INFO: IMEI packet received {"connection_id":173487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":173487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:34:55] local.INFO: TCP Data received {"connection_id":173487,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:34:55] local.INFO: Processing buffer {"connection_id":173487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:34:55] local.INFO: Packet analysis {"connection_id":173487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:34:55] local.INFO: Extracted packet for processing {"connection_id":173487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:34:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892298240001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788642091000,"timestamp_ms":1788642091000,"timestamp_seconds":1788642091,"priority":1,"record_length":96,"hex_timestamp":"000001a073605ff8"} 
[2026-09-06 02:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:34:55] 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-09-06 02:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:34:55] 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-09-06 02:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892298240001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892298240001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:34:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:34:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892298240001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":173487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:34:55] local.INFO: GPS data processed {"connection_id":173487,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:34:55] local.INFO: Acknowledgment sent {"connection_id":173487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:35:13] local.INFO: TCP Data received {"connection_id":172128,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:35:13] local.INFO: Processing buffer {"connection_id":172128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:35:13] local.INFO: IMEI packet received {"connection_id":172128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 02:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":172128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:35:26] local.INFO: TCP Data received {"connection_id":173487,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:35:26] local.INFO: Processing buffer {"connection_id":173487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:35:26] local.INFO: Packet analysis {"connection_id":173487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:35:26] local.INFO: Extracted packet for processing {"connection_id":173487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:35:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892298240001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:35: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-09-06 02:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788642091000,"timestamp_ms":1788642091000,"timestamp_seconds":1788642091,"priority":1,"record_length":96,"hex_timestamp":"000001a073605ff8"} 
[2026-09-06 02:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:35: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-09-06 02:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:35:26] 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-09-06 02: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-09-06 02:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892298240001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892298240001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:35:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:35:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892298240001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":173487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:35:26] local.INFO: GPS data processed {"connection_id":173487,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:35:26] local.INFO: Acknowledgment sent {"connection_id":173487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:35:50] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:35:50] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:35:50] local.INFO: IMEI packet received {"connection_id":173488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":173488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:35:54] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:35:54] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:35:54] local.INFO: IMEI packet received {"connection_id":173488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":173488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:35:55] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:35:55] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:35:55] local.INFO: Packet analysis {"connection_id":173488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:35:55] local.INFO: Extracted packet for processing {"connection_id":173488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:35:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892298240001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788642091000,"timestamp_ms":1788642091000,"timestamp_seconds":1788642091,"priority":1,"record_length":96,"hex_timestamp":"000001a073605ff8"} 
[2026-09-06 02:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:35:55] 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-09-06 02:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:35:55] 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-09-06 02:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892298240001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892298240001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:35:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:35:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892298240001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":173488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:35:55] local.INFO: GPS data processed {"connection_id":173488,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:35:55] local.INFO: Acknowledgment sent {"connection_id":173488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:36:26] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:36:26] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:36:26] local.INFO: Packet analysis {"connection_id":173488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:36:26] local.INFO: Extracted packet for processing {"connection_id":173488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:36:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892298240001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:36: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-09-06 02:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788642091000,"timestamp_ms":1788642091000,"timestamp_seconds":1788642091,"priority":1,"record_length":96,"hex_timestamp":"000001a073605ff8"} 
[2026-09-06 02:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:36: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-09-06 02: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:36:26] 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-09-06 02: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-09-06 02:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892298240001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892298240001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:36:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:36:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892298240001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":173488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:36:26] local.INFO: GPS data processed {"connection_id":173488,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:36:26] local.INFO: Acknowledgment sent {"connection_id":173488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:36:49] local.INFO: TCP Data received {"connection_id":172130,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:36:49] local.INFO: Processing buffer {"connection_id":172130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:36:49] local.INFO: IMEI packet received {"connection_id":172130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":172130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:36:54] local.INFO: TCP Data received {"connection_id":172130,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:36:54] local.INFO: Processing buffer {"connection_id":172130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:36:54] local.INFO: IMEI packet received {"connection_id":172130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":172130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:36:55] local.INFO: TCP Data received {"connection_id":172130,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:36:55] local.INFO: Processing buffer {"connection_id":172130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073605ff8012d532d00064970480006014730..."} 
[2026-09-06 02:36:55] local.INFO: Packet analysis {"connection_id":172130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:36:55] local.INFO: Extracted packet for processing {"connection_id":172130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07360"} 
[2026-09-06 02:36:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892298240001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788642091000,"timestamp_ms":1788642091000,"timestamp_seconds":1788642091,"priority":1,"record_length":96,"hex_timestamp":"000001a073605ff8"} 
[2026-09-06 02:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:36:55] 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-09-06 02:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:36:55] 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-09-06 02:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892298240001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892298240001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:36:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:36:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892298240001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":172130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:36:55] local.INFO: GPS data processed {"connection_id":172130,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:36:55] local.INFO: Acknowledgment sent {"connection_id":172130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:37:26] local.INFO: TCP Data received {"connection_id":172130,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:37:26] local.INFO: Processing buffer {"connection_id":172130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:37:26] local.INFO: Packet analysis {"connection_id":172130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:37:26] local.INFO: Extracted packet for processing {"connection_id":172130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:37:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892375296001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:37: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-09-06 02:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788642392000,"timestamp_ms":1788642392000,"timestamp_seconds":1788642392,"priority":1,"record_length":96,"hex_timestamp":"000001a07364f7c0"} 
[2026-09-06 02:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:37: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-09-06 02:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:37: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-09-06 02:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892375296001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892375296001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:37:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:37:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892375296001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":172130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:37:26] local.INFO: GPS data processed {"connection_id":172130,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:37:26] local.INFO: Acknowledgment sent {"connection_id":172130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:37:49] local.INFO: TCP Data received {"connection_id":173490,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:37:49] local.INFO: Processing buffer {"connection_id":173490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:37:49] local.INFO: IMEI packet received {"connection_id":173490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":173490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:37:54] local.INFO: TCP Data received {"connection_id":173490,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:37:54] local.INFO: Processing buffer {"connection_id":173490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:37:54] local.INFO: IMEI packet received {"connection_id":173490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":173490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:37:56] local.INFO: TCP Data received {"connection_id":173490,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:37:56] local.INFO: Processing buffer {"connection_id":173490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:37:56] local.INFO: Packet analysis {"connection_id":173490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:37:56] local.INFO: Extracted packet for processing {"connection_id":173490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:37:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892375296001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:37:56] 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-09-06 02:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788642392000,"timestamp_ms":1788642392000,"timestamp_seconds":1788642392,"priority":1,"record_length":96,"hex_timestamp":"000001a07364f7c0"} 
[2026-09-06 02:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:37: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-09-06 02:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:37: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-09-06 02:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:37: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-09-06 02:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892375296001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892375296001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:37:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:37:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892375296001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":173490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:37:56] local.INFO: GPS data processed {"connection_id":173490,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:37:56] local.INFO: Acknowledgment sent {"connection_id":173490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:38:28] local.INFO: TCP Data received {"connection_id":173490,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:38:28] local.INFO: Processing buffer {"connection_id":173490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:38:28] local.INFO: Packet analysis {"connection_id":173490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:38:28] local.INFO: Extracted packet for processing {"connection_id":173490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:38:28] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892375296001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:38:28] 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-09-06 02:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788642392000,"timestamp_ms":1788642392000,"timestamp_seconds":1788642392,"priority":1,"record_length":96,"hex_timestamp":"000001a07364f7c0"} 
[2026-09-06 02:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:38: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-09-06 02: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-09-06 02: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-09-06 02: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-09-06 02:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892375296001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892375296001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:38:28] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:38:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892375296001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":173490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:38:28] local.INFO: GPS data processed {"connection_id":173490,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:38:28] local.INFO: Acknowledgment sent {"connection_id":173490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:38:49] local.INFO: TCP Data received {"connection_id":172131,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:38:49] local.INFO: Processing buffer {"connection_id":172131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:38:49] local.INFO: IMEI packet received {"connection_id":172131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":172131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:38:54] local.INFO: TCP Data received {"connection_id":172131,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:38:54] local.INFO: Processing buffer {"connection_id":172131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:38:54] local.INFO: IMEI packet received {"connection_id":172131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":172131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:38:55] local.INFO: TCP Data received {"connection_id":172131,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:38:55] local.INFO: Processing buffer {"connection_id":172131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:38:55] local.INFO: Packet analysis {"connection_id":172131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:38:55] local.INFO: Extracted packet for processing {"connection_id":172131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:38:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892375296001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788642392000,"timestamp_ms":1788642392000,"timestamp_seconds":1788642392,"priority":1,"record_length":96,"hex_timestamp":"000001a07364f7c0"} 
[2026-09-06 02:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:38: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-09-06 02:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:38: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-09-06 02:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892375296001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892375296001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:38:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:38:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892375296001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":172131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:38:55] local.INFO: GPS data processed {"connection_id":172131,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:38:55] local.INFO: Acknowledgment sent {"connection_id":172131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:39:26] local.INFO: TCP Data received {"connection_id":172131,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:39:26] local.INFO: Processing buffer {"connection_id":172131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:39:26] local.INFO: Packet analysis {"connection_id":172131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:39:26] local.INFO: Extracted packet for processing {"connection_id":172131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:39:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892375296001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:39: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-09-06 02:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788642392000,"timestamp_ms":1788642392000,"timestamp_seconds":1788642392,"priority":1,"record_length":96,"hex_timestamp":"000001a07364f7c0"} 
[2026-09-06 02:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:39: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-09-06 02: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":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:39: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-09-06 02: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-09-06 02:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:39: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-09-06 02:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892375296001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892375296001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:39:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:39:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892375296001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":172131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:39:26] local.INFO: GPS data processed {"connection_id":172131,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:39:26] local.INFO: Acknowledgment sent {"connection_id":172131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:39:49] local.INFO: TCP Data received {"connection_id":172375,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:39:49] local.INFO: Processing buffer {"connection_id":172375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:39:49] local.INFO: IMEI packet received {"connection_id":172375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":172375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:39:54] local.INFO: TCP Data received {"connection_id":172375,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:39:54] local.INFO: Processing buffer {"connection_id":172375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:39:54] local.INFO: IMEI packet received {"connection_id":172375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":172375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:39:55] local.INFO: TCP Data received {"connection_id":172375,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:39:55] local.INFO: Processing buffer {"connection_id":172375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:39:55] local.INFO: Packet analysis {"connection_id":172375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:39:55] local.INFO: Extracted packet for processing {"connection_id":172375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:39:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892375296001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788642392000,"timestamp_ms":1788642392000,"timestamp_seconds":1788642392,"priority":1,"record_length":96,"hex_timestamp":"000001a07364f7c0"} 
[2026-09-06 02:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:39: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-09-06 02: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-09-06 02:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:39: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-09-06 02:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892375296001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892375296001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:39:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:39:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892375296001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":172375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:39:55] local.INFO: GPS data processed {"connection_id":172375,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:39:55] local.INFO: Acknowledgment sent {"connection_id":172375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:40:26] local.INFO: TCP Data received {"connection_id":172375,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:40:26] local.INFO: Processing buffer {"connection_id":172375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:40:26] local.INFO: Packet analysis {"connection_id":172375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:40:26] local.INFO: Extracted packet for processing {"connection_id":172375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:40:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892375296001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:40: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-09-06 02:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788642392000,"timestamp_ms":1788642392000,"timestamp_seconds":1788642392,"priority":1,"record_length":96,"hex_timestamp":"000001a07364f7c0"} 
[2026-09-06 02:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:40: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-09-06 02:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:40: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-09-06 02:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:40: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-09-06 02:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892375296001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892375296001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:40:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:40:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892375296001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":172375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:40:26] local.INFO: GPS data processed {"connection_id":172375,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:40:26] local.INFO: Acknowledgment sent {"connection_id":172375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:40:32] local.INFO: TCP Data received {"connection_id":172132,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:40:32] local.INFO: Processing buffer {"connection_id":172132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:40:32] local.INFO: IMEI packet received {"connection_id":172132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 02:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":172132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:40:49] local.INFO: TCP Data received {"connection_id":173491,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:40:49] local.INFO: Processing buffer {"connection_id":173491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:40:49] local.INFO: IMEI packet received {"connection_id":173491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":173491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:40:54] local.INFO: TCP Data received {"connection_id":173491,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:40:54] local.INFO: Processing buffer {"connection_id":173491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:40:54] local.INFO: IMEI packet received {"connection_id":173491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":173491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:40:55] local.INFO: TCP Data received {"connection_id":173491,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:40:55] local.INFO: Processing buffer {"connection_id":173491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:40:55] local.INFO: Packet analysis {"connection_id":173491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:40:55] local.INFO: Extracted packet for processing {"connection_id":173491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:40:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892375296001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788642392000,"timestamp_ms":1788642392000,"timestamp_seconds":1788642392,"priority":1,"record_length":96,"hex_timestamp":"000001a07364f7c0"} 
[2026-09-06 02:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:40: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-09-06 02: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-09-06 02:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892375296001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892375296001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:40:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:40:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892375296001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":173491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:40:55] local.INFO: GPS data processed {"connection_id":173491,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:40:55] local.INFO: Acknowledgment sent {"connection_id":173491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:41:26] local.INFO: TCP Data received {"connection_id":173491,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:41:26] local.INFO: Processing buffer {"connection_id":173491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:41:26] local.INFO: Packet analysis {"connection_id":173491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:41:26] local.INFO: Extracted packet for processing {"connection_id":173491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:41:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 02:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892375296001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:41: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-09-06 02:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788642392000,"timestamp_ms":1788642392000,"timestamp_seconds":1788642392,"priority":1,"record_length":96,"hex_timestamp":"000001a07364f7c0"} 
[2026-09-06 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-09-06 02: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-09-06 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:41: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-09-06 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-09-06 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-09-06 02:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892375296001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892375296001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:41:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:41:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892375296001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":173491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:41:26] local.INFO: GPS data processed {"connection_id":173491,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:41:26] local.INFO: Acknowledgment sent {"connection_id":173491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:41:49] local.INFO: TCP Data received {"connection_id":174816,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:41:49] local.INFO: Processing buffer {"connection_id":174816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:41:49] local.INFO: IMEI packet received {"connection_id":174816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":174816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:41:54] local.INFO: TCP Data received {"connection_id":174816,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:41:54] local.INFO: Processing buffer {"connection_id":174816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:41:54] local.INFO: IMEI packet received {"connection_id":174816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":174816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:41:55] local.INFO: TCP Data received {"connection_id":174816,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:41:55] local.INFO: Processing buffer {"connection_id":174816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07364f7c0012d532d00064970480006014731..."} 
[2026-09-06 02:41:55] local.INFO: Packet analysis {"connection_id":174816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:41:55] local.INFO: Extracted packet for processing {"connection_id":174816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07364"} 
[2026-09-06 02:41:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892375296001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788642392000,"timestamp_ms":1788642392000,"timestamp_seconds":1788642392,"priority":1,"record_length":96,"hex_timestamp":"000001a07364f7c0"} 
[2026-09-06 02:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:41: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-09-06 02:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:41:55] 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-09-06 02:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892375296001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892375296001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:41:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:41:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892375296001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":174816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:41:55] local.INFO: GPS data processed {"connection_id":174816,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:41:55] local.INFO: Acknowledgment sent {"connection_id":174816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:42:26] local.INFO: TCP Data received {"connection_id":174816,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:42:26] local.INFO: Processing buffer {"connection_id":174816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:42:26] local.INFO: Packet analysis {"connection_id":174816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:42:26] local.INFO: Extracted packet for processing {"connection_id":174816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:42:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892452352001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:42: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-09-06 02:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788642693000,"timestamp_ms":1788642693000,"timestamp_seconds":1788642693,"priority":1,"record_length":96,"hex_timestamp":"000001a073698f88"} 
[2026-09-06 02:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:42: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-09-06 02: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:42:26] 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-09-06 02: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-09-06 02:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:42:26] 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-09-06 02:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892452352001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892452352001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:42:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:42:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892452352001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":174816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:42:26] local.INFO: GPS data processed {"connection_id":174816,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:42:26] local.INFO: Acknowledgment sent {"connection_id":174816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:42:49] local.INFO: TCP Data received {"connection_id":172133,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:42:49] local.INFO: Processing buffer {"connection_id":172133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:42:49] local.INFO: IMEI packet received {"connection_id":172133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":172133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:42:54] local.INFO: TCP Data received {"connection_id":172133,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:42:54] local.INFO: Processing buffer {"connection_id":172133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:42:54] local.INFO: IMEI packet received {"connection_id":172133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":172133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:42:55] local.INFO: TCP Data received {"connection_id":172133,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:42:55] local.INFO: Processing buffer {"connection_id":172133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:42:55] local.INFO: Packet analysis {"connection_id":172133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:42:55] local.INFO: Extracted packet for processing {"connection_id":172133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:42:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892452352001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788642693000,"timestamp_ms":1788642693000,"timestamp_seconds":1788642693,"priority":1,"record_length":96,"hex_timestamp":"000001a073698f88"} 
[2026-09-06 02:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:42: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-09-06 02:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:42:55] 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-09-06 02:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:42: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-09-06 02:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892452352001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892452352001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:42:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:42:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892452352001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":172133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:42:55] local.INFO: GPS data processed {"connection_id":172133,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:42:55] local.INFO: Acknowledgment sent {"connection_id":172133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:43:26] local.INFO: TCP Data received {"connection_id":172133,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:43:26] local.INFO: Processing buffer {"connection_id":172133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:43:26] local.INFO: Packet analysis {"connection_id":172133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:43:26] local.INFO: Extracted packet for processing {"connection_id":172133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:43:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892452352001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:43: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-09-06 02:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788642693000,"timestamp_ms":1788642693000,"timestamp_seconds":1788642693,"priority":1,"record_length":96,"hex_timestamp":"000001a073698f88"} 
[2026-09-06 02:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:43: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-09-06 02: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:43:26] 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-09-06 02: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-09-06 02:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:43:26] 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-09-06 02:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892452352001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892452352001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:43:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:43:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892452352001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":172133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:43:26] local.INFO: GPS data processed {"connection_id":172133,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:43:26] local.INFO: Acknowledgment sent {"connection_id":172133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:43:49] local.INFO: TCP Data received {"connection_id":174817,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:43:49] local.INFO: Processing buffer {"connection_id":174817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:43:49] local.INFO: IMEI packet received {"connection_id":174817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":174817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:43:54] local.INFO: TCP Data received {"connection_id":174817,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:43:54] local.INFO: Processing buffer {"connection_id":174817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:43:54] local.INFO: IMEI packet received {"connection_id":174817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":174817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:43:55] local.INFO: TCP Data received {"connection_id":174817,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:43:55] local.INFO: Processing buffer {"connection_id":174817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:43:55] local.INFO: Packet analysis {"connection_id":174817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:43:55] local.INFO: Extracted packet for processing {"connection_id":174817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:43:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892452352001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788642693000,"timestamp_ms":1788642693000,"timestamp_seconds":1788642693,"priority":1,"record_length":96,"hex_timestamp":"000001a073698f88"} 
[2026-09-06 02:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:43: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-09-06 02:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:43:55] 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-09-06 02:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:43: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-09-06 02:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892452352001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892452352001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:43:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:43:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892452352001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":174817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:43:55] local.INFO: GPS data processed {"connection_id":174817,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:43:55] local.INFO: Acknowledgment sent {"connection_id":174817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:44:26] local.INFO: TCP Data received {"connection_id":174817,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:44:26] local.INFO: Processing buffer {"connection_id":174817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:44:26] local.INFO: Packet analysis {"connection_id":174817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:44:26] local.INFO: Extracted packet for processing {"connection_id":174817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:44:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892452352001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:44: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-09-06 02:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788642693000,"timestamp_ms":1788642693000,"timestamp_seconds":1788642693,"priority":1,"record_length":96,"hex_timestamp":"000001a073698f88"} 
[2026-09-06 02:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:44: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-09-06 02: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:44:26] 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-09-06 02: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-09-06 02:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:44:26] 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-09-06 02:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892452352001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892452352001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:44:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:44:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892452352001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":174817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:44:26] local.INFO: GPS data processed {"connection_id":174817,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:44:26] local.INFO: Acknowledgment sent {"connection_id":174817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:44:49] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:44:49] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:44:49] local.INFO: IMEI packet received {"connection_id":174819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":174819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:44:54] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:44:54] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:44:54] local.INFO: IMEI packet received {"connection_id":174819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":174819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:44:55] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:44:55] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:44:55] local.INFO: Packet analysis {"connection_id":174819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:44:55] local.INFO: Extracted packet for processing {"connection_id":174819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:44:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892452352001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788642693000,"timestamp_ms":1788642693000,"timestamp_seconds":1788642693,"priority":1,"record_length":96,"hex_timestamp":"000001a073698f88"} 
[2026-09-06 02:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:44: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-09-06 02:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:44:55] 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-09-06 02:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:44: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-09-06 02:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892452352001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892452352001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:44:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:44:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892452352001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":174819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:44:55] local.INFO: GPS data processed {"connection_id":174819,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:44:55] local.INFO: Acknowledgment sent {"connection_id":174819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:45:26] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:45:26] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:45:26] local.INFO: Packet analysis {"connection_id":174819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:45:26] local.INFO: Extracted packet for processing {"connection_id":174819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:45:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892452352001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:45: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-09-06 02:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788642693000,"timestamp_ms":1788642693000,"timestamp_seconds":1788642693,"priority":1,"record_length":96,"hex_timestamp":"000001a073698f88"} 
[2026-09-06 02:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:45: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-09-06 02:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:45:26] 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-09-06 02:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:45:26] 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-09-06 02:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892452352001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892452352001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:45:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:45:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892452352001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":174819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:45:26] local.INFO: GPS data processed {"connection_id":174819,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:45:26] local.INFO: Acknowledgment sent {"connection_id":174819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:45:49] local.INFO: TCP Data received {"connection_id":172134,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:45:49] local.INFO: Processing buffer {"connection_id":172134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:45:49] local.INFO: IMEI packet received {"connection_id":172134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":172134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:45:54] local.INFO: TCP Data received {"connection_id":172134,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:45:54] local.INFO: Processing buffer {"connection_id":172134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:45:54] local.INFO: IMEI packet received {"connection_id":172134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":172134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:45:55] local.INFO: TCP Data received {"connection_id":172134,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:45:55] local.INFO: Processing buffer {"connection_id":172134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:45:55] local.INFO: Packet analysis {"connection_id":172134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:45:55] local.INFO: Extracted packet for processing {"connection_id":172134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:45:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892452352001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788642693000,"timestamp_ms":1788642693000,"timestamp_seconds":1788642693,"priority":1,"record_length":96,"hex_timestamp":"000001a073698f88"} 
[2026-09-06 02:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:45: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-09-06 02: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:45:55] 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-09-06 02: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-09-06 02:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:45:55] 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-09-06 02:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892452352001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892452352001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:45:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:45:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892452352001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":172134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:45:55] local.INFO: GPS data processed {"connection_id":172134,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:45:55] local.INFO: Acknowledgment sent {"connection_id":172134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:46:12] local.INFO: TCP Data received {"connection_id":174821,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:46:12] local.INFO: Processing buffer {"connection_id":174821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:46:12] local.INFO: IMEI packet received {"connection_id":174821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 02:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":174821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:46:26] local.INFO: TCP Data received {"connection_id":172134,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:46:26] local.INFO: Processing buffer {"connection_id":172134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:46:26] local.INFO: Packet analysis {"connection_id":172134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:46:26] local.INFO: Extracted packet for processing {"connection_id":172134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:46:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892452352001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:46: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-09-06 02:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788642693000,"timestamp_ms":1788642693000,"timestamp_seconds":1788642693,"priority":1,"record_length":96,"hex_timestamp":"000001a073698f88"} 
[2026-09-06 02:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:46: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-09-06 02:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:46:26] 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-09-06 02: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-09-06 02:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892452352001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892452352001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:46:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:46:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892452352001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":172134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:46:26] local.INFO: GPS data processed {"connection_id":172134,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:46:26] local.INFO: Acknowledgment sent {"connection_id":172134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:46:54] local.INFO: TCP Data received {"connection_id":173492,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:46:54] local.INFO: Processing buffer {"connection_id":173492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:46:54] local.INFO: IMEI packet received {"connection_id":173492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":173492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:46:59] local.INFO: TCP Data received {"connection_id":173492,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:46:59] local.INFO: Processing buffer {"connection_id":173492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:46:59] local.INFO: IMEI packet received {"connection_id":173492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":173492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:47:00] local.INFO: TCP Data received {"connection_id":173492,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:47:00] local.INFO: Processing buffer {"connection_id":173492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:47:00] local.INFO: Packet analysis {"connection_id":173492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:47:00] local.INFO: Extracted packet for processing {"connection_id":173492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:47:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892452352001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:47:00] 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-09-06 02:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788642693000,"timestamp_ms":1788642693000,"timestamp_seconds":1788642693,"priority":1,"record_length":96,"hex_timestamp":"000001a073698f88"} 
[2026-09-06 02:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:47: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-09-06 02:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:47:00] 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-09-06 02:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892452352001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892452352001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:47:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:47:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892452352001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":173492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:47:00] local.INFO: GPS data processed {"connection_id":173492,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:47:00] local.INFO: Acknowledgment sent {"connection_id":173492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:47:04] local.INFO: TCP Data received {"connection_id":173492,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:47:04] local.INFO: Processing buffer {"connection_id":173492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073698f88012d532d0006497048000601472e..."} 
[2026-09-06 02:47:04] local.INFO: Packet analysis {"connection_id":173492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:47:04] local.INFO: Extracted packet for processing {"connection_id":173492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07369"} 
[2026-09-06 02:47:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892452352001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788642693000,"timestamp_ms":1788642693000,"timestamp_seconds":1788642693,"priority":1,"record_length":96,"hex_timestamp":"000001a073698f88"} 
[2026-09-06 02:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:47: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-09-06 02:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 02:47:04] 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-09-06 02:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892452352001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892452352001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:47:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:47:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892452352001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":173492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:47:04] local.INFO: GPS data processed {"connection_id":173492,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:47:04] local.INFO: Acknowledgment sent {"connection_id":173492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:47:49] local.INFO: TCP Data received {"connection_id":172135,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:47:49] local.INFO: Processing buffer {"connection_id":172135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:47:49] local.INFO: IMEI packet received {"connection_id":172135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":172135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:47:54] local.INFO: TCP Data received {"connection_id":172135,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:47:54] local.INFO: Processing buffer {"connection_id":172135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:47:54] local.INFO: IMEI packet received {"connection_id":172135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":172135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:47:55] local.INFO: TCP Data received {"connection_id":172135,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:47:55] local.INFO: Processing buffer {"connection_id":172135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:47:55] local.INFO: Packet analysis {"connection_id":172135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:47:55] local.INFO: Extracted packet for processing {"connection_id":172135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:47:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892529408001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788642994000,"timestamp_ms":1788642994000,"timestamp_seconds":1788642994,"priority":1,"record_length":96,"hex_timestamp":"000001a0736e2750"} 
[2026-09-06 02:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:47: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-09-06 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:47: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-09-06 02: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-09-06 02:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892529408001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892529408001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:47:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:47:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892529408001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":172135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:47:55] local.INFO: GPS data processed {"connection_id":172135,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:47:55] local.INFO: Acknowledgment sent {"connection_id":172135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:48:26] local.INFO: TCP Data received {"connection_id":172135,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:48:26] local.INFO: Processing buffer {"connection_id":172135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:48:26] local.INFO: Packet analysis {"connection_id":172135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:48:26] local.INFO: Extracted packet for processing {"connection_id":172135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:48:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892529408001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:48: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-09-06 02:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788642994000,"timestamp_ms":1788642994000,"timestamp_seconds":1788642994,"priority":1,"record_length":96,"hex_timestamp":"000001a0736e2750"} 
[2026-09-06 02:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:48: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-09-06 02:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:48: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-09-06 02: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-09-06 02:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892529408001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892529408001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:48:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:48:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892529408001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":172135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:48:26] local.INFO: GPS data processed {"connection_id":172135,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:48:26] local.INFO: Acknowledgment sent {"connection_id":172135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:48:49] local.INFO: TCP Data received {"connection_id":173494,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:48:49] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:48:49] local.INFO: IMEI packet received {"connection_id":173494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":173494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:48:54] local.INFO: TCP Data received {"connection_id":173494,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:48:54] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:48:54] local.INFO: IMEI packet received {"connection_id":173494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":173494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:48:55] local.INFO: TCP Data received {"connection_id":173494,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:48:55] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:48:55] local.INFO: Packet analysis {"connection_id":173494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:48:55] local.INFO: Extracted packet for processing {"connection_id":173494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:48:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892529408001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788642994000,"timestamp_ms":1788642994000,"timestamp_seconds":1788642994,"priority":1,"record_length":96,"hex_timestamp":"000001a0736e2750"} 
[2026-09-06 02:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:48: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-09-06 02:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:48: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-09-06 02:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892529408001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892529408001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:48:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:48:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892529408001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":173494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:48:55] local.INFO: GPS data processed {"connection_id":173494,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:48:55] local.INFO: Acknowledgment sent {"connection_id":173494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:49:26] local.INFO: TCP Data received {"connection_id":173494,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:49:26] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:49:26] local.INFO: Packet analysis {"connection_id":173494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:49:26] local.INFO: Extracted packet for processing {"connection_id":173494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:49:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892529408001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:49: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-09-06 02:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788642994000,"timestamp_ms":1788642994000,"timestamp_seconds":1788642994,"priority":1,"record_length":96,"hex_timestamp":"000001a0736e2750"} 
[2026-09-06 02:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:49: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-09-06 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:49: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-09-06 02: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-09-06 02:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892529408001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892529408001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:49:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:49:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892529408001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":173494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:49:26] local.INFO: GPS data processed {"connection_id":173494,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:49:26] local.INFO: Acknowledgment sent {"connection_id":173494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:49:49] local.INFO: TCP Data received {"connection_id":172378,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:49:49] local.INFO: Processing buffer {"connection_id":172378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:49:49] local.INFO: IMEI packet received {"connection_id":172378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":172378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:49:54] local.INFO: TCP Data received {"connection_id":172378,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:49:54] local.INFO: Processing buffer {"connection_id":172378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:49:54] local.INFO: IMEI packet received {"connection_id":172378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":172378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:49:55] local.INFO: TCP Data received {"connection_id":172378,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:49:55] local.INFO: Processing buffer {"connection_id":172378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:49:55] local.INFO: Packet analysis {"connection_id":172378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:49:55] local.INFO: Extracted packet for processing {"connection_id":172378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:49:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892529408001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788642994000,"timestamp_ms":1788642994000,"timestamp_seconds":1788642994,"priority":1,"record_length":96,"hex_timestamp":"000001a0736e2750"} 
[2026-09-06 02:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:49: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-09-06 02:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:49: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-09-06 02:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:49:55] 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-09-06 02:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892529408001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892529408001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:49:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:49:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892529408001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":172378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:49:55] local.INFO: GPS data processed {"connection_id":172378,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:49:55] local.INFO: Acknowledgment sent {"connection_id":172378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:50:26] local.INFO: TCP Data received {"connection_id":172378,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:50:26] local.INFO: Processing buffer {"connection_id":172378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:50:26] local.INFO: Packet analysis {"connection_id":172378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:50:26] local.INFO: Extracted packet for processing {"connection_id":172378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:50:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892529408001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:50: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-09-06 02:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788642994000,"timestamp_ms":1788642994000,"timestamp_seconds":1788642994,"priority":1,"record_length":96,"hex_timestamp":"000001a0736e2750"} 
[2026-09-06 02:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:50: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-09-06 02:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:50: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-09-06 02:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:50: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-09-06 02:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892529408001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892529408001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:50:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:50:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892529408001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":172378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:50:26] local.INFO: GPS data processed {"connection_id":172378,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:50:26] local.INFO: Acknowledgment sent {"connection_id":172378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:50:49] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:50:49] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:50:49] local.INFO: IMEI packet received {"connection_id":173495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":173495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:50:54] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:50:54] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:50:54] local.INFO: IMEI packet received {"connection_id":173495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":173495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:50:55] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:50:55] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:50:55] local.INFO: Packet analysis {"connection_id":173495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:50:55] local.INFO: Extracted packet for processing {"connection_id":173495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:50:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892529408001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788642994000,"timestamp_ms":1788642994000,"timestamp_seconds":1788642994,"priority":1,"record_length":96,"hex_timestamp":"000001a0736e2750"} 
[2026-09-06 02:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:50: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-09-06 02: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":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:50: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-09-06 02: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-09-06 02:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892529408001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892529408001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:50:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:50:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892529408001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":173495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:50:55] local.INFO: GPS data processed {"connection_id":173495,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:50:55] local.INFO: Acknowledgment sent {"connection_id":173495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:51:26] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:51:26] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:51:26] local.INFO: Packet analysis {"connection_id":173495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:51:26] local.INFO: Extracted packet for processing {"connection_id":173495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:51:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892529408001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:51: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-09-06 02:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788642994000,"timestamp_ms":1788642994000,"timestamp_seconds":1788642994,"priority":1,"record_length":96,"hex_timestamp":"000001a0736e2750"} 
[2026-09-06 02:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:51: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-09-06 02: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":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:51: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-09-06 02: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-09-06 02:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:51: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-09-06 02:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892529408001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892529408001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:51:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:51:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892529408001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":173495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:51:26] local.INFO: GPS data processed {"connection_id":173495,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:51:26] local.INFO: Acknowledgment sent {"connection_id":173495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:51:37] local.INFO: TCP Data received {"connection_id":172380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:51:37] local.INFO: Processing buffer {"connection_id":172380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:51:37] local.INFO: IMEI packet received {"connection_id":172380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 02:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":172380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:51:54] local.INFO: TCP Data received {"connection_id":174823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:51:54] local.INFO: Processing buffer {"connection_id":174823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:51:54] local.INFO: IMEI packet received {"connection_id":174823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":174823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:51:59] local.INFO: TCP Data received {"connection_id":174823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:51:59] local.INFO: Processing buffer {"connection_id":174823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:51:59] local.INFO: IMEI packet received {"connection_id":174823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":174823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:52:00] local.INFO: TCP Data received {"connection_id":174823,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:52:00] local.INFO: Processing buffer {"connection_id":174823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:52:00] local.INFO: Packet analysis {"connection_id":174823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:52:00] local.INFO: Extracted packet for processing {"connection_id":174823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:52:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892529408001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:52:00] 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-09-06 02:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788642994000,"timestamp_ms":1788642994000,"timestamp_seconds":1788642994,"priority":1,"record_length":96,"hex_timestamp":"000001a0736e2750"} 
[2026-09-06 02:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:52: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-09-06 02:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:52: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-09-06 02:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892529408001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892529408001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:52:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:52:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892529408001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":174823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:52:00] local.INFO: GPS data processed {"connection_id":174823,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:52:00] local.INFO: Acknowledgment sent {"connection_id":174823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:52:04] local.INFO: TCP Data received {"connection_id":174823,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:52:04] local.INFO: Processing buffer {"connection_id":174823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0736e2750012d532d0006497048000601472d..."} 
[2026-09-06 02:52:04] local.INFO: Packet analysis {"connection_id":174823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:52:04] local.INFO: Extracted packet for processing {"connection_id":174823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0736e"} 
[2026-09-06 02:52:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892529408001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788642994000,"timestamp_ms":1788642994000,"timestamp_seconds":1788642994,"priority":1,"record_length":96,"hex_timestamp":"000001a0736e2750"} 
[2026-09-06 02:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:52: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-09-06 02:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 02:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 02:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892529408001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892529408001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:52:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:52:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892529408001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":174823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:52:04] local.INFO: GPS data processed {"connection_id":174823,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:52:04] local.INFO: Acknowledgment sent {"connection_id":174823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:52:49] local.INFO: TCP Data received {"connection_id":173496,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:52:49] local.INFO: Processing buffer {"connection_id":173496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:52:49] local.INFO: IMEI packet received {"connection_id":173496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":173496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:52:54] local.INFO: TCP Data received {"connection_id":173496,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:52:54] local.INFO: Processing buffer {"connection_id":173496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:52:54] local.INFO: IMEI packet received {"connection_id":173496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":173496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:52:55] local.INFO: TCP Data received {"connection_id":173496,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:52:55] local.INFO: Processing buffer {"connection_id":173496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:52:55] local.INFO: Packet analysis {"connection_id":173496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:52:55] local.INFO: Extracted packet for processing {"connection_id":173496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:52:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892606464001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788643295000,"timestamp_ms":1788643295000,"timestamp_seconds":1788643295,"priority":1,"record_length":96,"hex_timestamp":"000001a07372bf18"} 
[2026-09-06 02:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:52:55] 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-09-06 02:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892606464001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892606464001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:52:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:52:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892606464001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":173496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:52:55] local.INFO: GPS data processed {"connection_id":173496,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:52:55] local.INFO: Acknowledgment sent {"connection_id":173496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:53:26] local.INFO: TCP Data received {"connection_id":173496,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:53:26] local.INFO: Processing buffer {"connection_id":173496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:53:26] local.INFO: Packet analysis {"connection_id":173496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:53:26] local.INFO: Extracted packet for processing {"connection_id":173496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:53:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892606464001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:53: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-09-06 02:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788643295000,"timestamp_ms":1788643295000,"timestamp_seconds":1788643295,"priority":1,"record_length":96,"hex_timestamp":"000001a07372bf18"} 
[2026-09-06 02:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:53: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-09-06 02:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:53: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-09-06 02:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:53: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-09-06 02:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892606464001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892606464001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:53:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:53:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892606464001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":173496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:53:26] local.INFO: GPS data processed {"connection_id":173496,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:53:26] local.INFO: Acknowledgment sent {"connection_id":173496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:53:49] local.INFO: TCP Data received {"connection_id":174825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:53:49] local.INFO: Processing buffer {"connection_id":174825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:53:49] local.INFO: IMEI packet received {"connection_id":174825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":174825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:53:54] local.INFO: TCP Data received {"connection_id":174825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:53:54] local.INFO: Processing buffer {"connection_id":174825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:53:54] local.INFO: IMEI packet received {"connection_id":174825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":174825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:53:55] local.INFO: TCP Data received {"connection_id":174825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:53:55] local.INFO: Processing buffer {"connection_id":174825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:53:55] local.INFO: Packet analysis {"connection_id":174825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:53:55] local.INFO: Extracted packet for processing {"connection_id":174825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:53:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892606464001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788643295000,"timestamp_ms":1788643295000,"timestamp_seconds":1788643295,"priority":1,"record_length":96,"hex_timestamp":"000001a07372bf18"} 
[2026-09-06 02:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:53:55] 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-09-06 02:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892606464001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892606464001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:53:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:53:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892606464001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":174825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:53:55] local.INFO: GPS data processed {"connection_id":174825,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:53:55] local.INFO: Acknowledgment sent {"connection_id":174825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:54:27] local.INFO: TCP Data received {"connection_id":174825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:54:27] local.INFO: Processing buffer {"connection_id":174825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:54:27] local.INFO: Packet analysis {"connection_id":174825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:54:27] local.INFO: Extracted packet for processing {"connection_id":174825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:54:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892606464001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:54:27] 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-09-06 02:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788643295000,"timestamp_ms":1788643295000,"timestamp_seconds":1788643295,"priority":1,"record_length":96,"hex_timestamp":"000001a07372bf18"} 
[2026-09-06 02:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:54: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-09-06 02:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 02:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:54: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-09-06 02:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892606464001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892606464001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:54:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:54:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892606464001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":174825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:54:27] local.INFO: GPS data processed {"connection_id":174825,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:54:27] local.INFO: Acknowledgment sent {"connection_id":174825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:54:49] local.INFO: TCP Data received {"connection_id":172381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:54:49] local.INFO: Processing buffer {"connection_id":172381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:54:49] local.INFO: IMEI packet received {"connection_id":172381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":172381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:54:54] local.INFO: TCP Data received {"connection_id":172381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:54:54] local.INFO: Processing buffer {"connection_id":172381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:54:54] local.INFO: IMEI packet received {"connection_id":172381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":172381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:54:55] local.INFO: TCP Data received {"connection_id":172381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:54:55] local.INFO: Processing buffer {"connection_id":172381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:54:55] local.INFO: Packet analysis {"connection_id":172381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:54:55] local.INFO: Extracted packet for processing {"connection_id":172381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:54:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892606464001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788643295000,"timestamp_ms":1788643295000,"timestamp_seconds":1788643295,"priority":1,"record_length":96,"hex_timestamp":"000001a07372bf18"} 
[2026-09-06 02:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:54:55] 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-09-06 02: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-09-06 02:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892606464001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892606464001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:54:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:54:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892606464001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":172381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:54:55] local.INFO: GPS data processed {"connection_id":172381,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:54:55] local.INFO: Acknowledgment sent {"connection_id":172381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:55:26] local.INFO: TCP Data received {"connection_id":172381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:55:26] local.INFO: Processing buffer {"connection_id":172381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:55:26] local.INFO: Packet analysis {"connection_id":172381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:55:26] local.INFO: Extracted packet for processing {"connection_id":172381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:55:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892606464001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:55: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-09-06 02:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788643295000,"timestamp_ms":1788643295000,"timestamp_seconds":1788643295,"priority":1,"record_length":96,"hex_timestamp":"000001a07372bf18"} 
[2026-09-06 02:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:55: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-09-06 02:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:55: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-09-06 02:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:55: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-09-06 02:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892606464001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892606464001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:55:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:55:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892606464001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":172381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:55:26] local.INFO: GPS data processed {"connection_id":172381,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:55:26] local.INFO: Acknowledgment sent {"connection_id":172381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:55:49] local.INFO: TCP Data received {"connection_id":173497,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:55:49] local.INFO: Processing buffer {"connection_id":173497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:55:49] local.INFO: IMEI packet received {"connection_id":173497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":173497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:55:54] local.INFO: TCP Data received {"connection_id":173497,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:55:54] local.INFO: Processing buffer {"connection_id":173497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:55:54] local.INFO: IMEI packet received {"connection_id":173497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":173497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:55:55] local.INFO: TCP Data received {"connection_id":173497,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:55:55] local.INFO: Processing buffer {"connection_id":173497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:55:55] local.INFO: Packet analysis {"connection_id":173497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:55:55] local.INFO: Extracted packet for processing {"connection_id":173497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:55:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892606464001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788643295000,"timestamp_ms":1788643295000,"timestamp_seconds":1788643295,"priority":1,"record_length":96,"hex_timestamp":"000001a07372bf18"} 
[2026-09-06 02:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:55:55] 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-09-06 02:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892606464001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892606464001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:55:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:55:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892606464001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":173497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:55:55] local.INFO: GPS data processed {"connection_id":173497,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:55:55] local.INFO: Acknowledgment sent {"connection_id":173497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:56:25] local.INFO: TCP Data received {"connection_id":173497,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:56:25] local.INFO: Processing buffer {"connection_id":173497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:56:25] local.INFO: Packet analysis {"connection_id":173497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:56:25] local.INFO: Extracted packet for processing {"connection_id":173497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:56:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892606464001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:56:25] 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-09-06 02:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788643295000,"timestamp_ms":1788643295000,"timestamp_seconds":1788643295,"priority":1,"record_length":96,"hex_timestamp":"000001a07372bf18"} 
[2026-09-06 02:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:56: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-09-06 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:56:25] 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-09-06 02: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-09-06 02:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:56: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-09-06 02:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892606464001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892606464001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:56:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:56:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892606464001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":173497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:56:25] local.INFO: GPS data processed {"connection_id":173497,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:56:25] local.INFO: Acknowledgment sent {"connection_id":173497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:56:54] local.INFO: TCP Data received {"connection_id":173498,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:56:54] local.INFO: Processing buffer {"connection_id":173498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:56:54] local.INFO: IMEI packet received {"connection_id":173498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":173498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:56:59] local.INFO: TCP Data received {"connection_id":173498,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:56:59] local.INFO: Processing buffer {"connection_id":173498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:56:59] local.INFO: IMEI packet received {"connection_id":173498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":173498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:57:00] local.INFO: TCP Data received {"connection_id":173498,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:57:00] local.INFO: Processing buffer {"connection_id":173498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:57:00] local.INFO: Packet analysis {"connection_id":173498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:57:00] local.INFO: Extracted packet for processing {"connection_id":173498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:57:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892606464001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:57:00] 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-09-06 02:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788643295000,"timestamp_ms":1788643295000,"timestamp_seconds":1788643295,"priority":1,"record_length":96,"hex_timestamp":"000001a07372bf18"} 
[2026-09-06 02:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:57:00] 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-09-06 02:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892606464001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892606464001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:57:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:57:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892606464001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":173498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:57:00] local.INFO: GPS data processed {"connection_id":173498,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:57:00] local.INFO: Acknowledgment sent {"connection_id":173498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:57:04] local.INFO: TCP Data received {"connection_id":173498,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:57:04] local.INFO: Processing buffer {"connection_id":173498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07372bf18012d532d0006497048000601472e..."} 
[2026-09-06 02:57:04] local.INFO: Packet analysis {"connection_id":173498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:57:04] local.INFO: Extracted packet for processing {"connection_id":173498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07372"} 
[2026-09-06 02:57:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892606464001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788643295000,"timestamp_ms":1788643295000,"timestamp_seconds":1788643295,"priority":1,"record_length":96,"hex_timestamp":"000001a07372bf18"} 
[2026-09-06 02:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 02:57:04] 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-09-06 02:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892606464001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892606464001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:57:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:57:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892606464001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":173498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:57:04] local.INFO: GPS data processed {"connection_id":173498,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:57:04] local.INFO: Acknowledgment sent {"connection_id":173498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:57:12] local.INFO: TCP Data received {"connection_id":172140,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:57:12] local.INFO: Processing buffer {"connection_id":172140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 02:57:12] local.INFO: IMEI packet received {"connection_id":172140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 02:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":172140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:57:49] local.INFO: TCP Data received {"connection_id":172383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:57:49] local.INFO: Processing buffer {"connection_id":172383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:57:49] local.INFO: IMEI packet received {"connection_id":172383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":172383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:57:54] local.INFO: TCP Data received {"connection_id":172383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:57:54] local.INFO: Processing buffer {"connection_id":172383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:57:54] local.INFO: IMEI packet received {"connection_id":172383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":172383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:57:55] local.INFO: TCP Data received {"connection_id":172383,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 02:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 02:57:55] local.INFO: Processing buffer {"connection_id":172383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 02:57:55] local.INFO: Packet analysis {"connection_id":172383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 02:57:55] local.INFO: Extracted packet for processing {"connection_id":172383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 02:57:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892683520001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788643596000,"timestamp_ms":1788643596000,"timestamp_seconds":1788643596,"priority":1,"record_length":96,"hex_timestamp":"000001a0737756e0"} 
[2026-09-06 02:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:57:55] 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-09-06 02: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-09-06 02:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892683520001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892683520001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:57:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:57:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892683520001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":172383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:57:55] local.INFO: GPS data processed {"connection_id":172383,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:57:55] local.INFO: Acknowledgment sent {"connection_id":172383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:58:27] local.INFO: TCP Data received {"connection_id":172383,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 02:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 02:58:27] local.INFO: Processing buffer {"connection_id":172383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 02:58:27] local.INFO: Packet analysis {"connection_id":172383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 02:58:27] local.INFO: Extracted packet for processing {"connection_id":172383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 02:58:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892683520001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:58:27] 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-09-06 02:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788643596000,"timestamp_ms":1788643596000,"timestamp_seconds":1788643596,"priority":1,"record_length":96,"hex_timestamp":"000001a0737756e0"} 
[2026-09-06 02:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:58: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-09-06 02:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 02: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-09-06 02:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:58: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-09-06 02:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892683520001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892683520001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:58:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:58:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892683520001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":172383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:58:27] local.INFO: GPS data processed {"connection_id":172383,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:58:27] local.INFO: Acknowledgment sent {"connection_id":172383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:58:49] local.INFO: TCP Data received {"connection_id":172143,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:58:49] local.INFO: Processing buffer {"connection_id":172143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:58:49] local.INFO: IMEI packet received {"connection_id":172143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":172143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:58:54] local.INFO: TCP Data received {"connection_id":172143,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:58:54] local.INFO: Processing buffer {"connection_id":172143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:58:54] local.INFO: IMEI packet received {"connection_id":172143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":172143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:58:55] local.INFO: TCP Data received {"connection_id":172143,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 02:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 02:58:55] local.INFO: Processing buffer {"connection_id":172143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 02:58:55] local.INFO: Packet analysis {"connection_id":172143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 02:58:55] local.INFO: Extracted packet for processing {"connection_id":172143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 02:58:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892683520001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788643596000,"timestamp_ms":1788643596000,"timestamp_seconds":1788643596,"priority":1,"record_length":96,"hex_timestamp":"000001a0737756e0"} 
[2026-09-06 02:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:58:55] 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-09-06 02:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892683520001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892683520001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:58:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:58:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892683520001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":172143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:58:55] local.INFO: GPS data processed {"connection_id":172143,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:58:55] local.INFO: Acknowledgment sent {"connection_id":172143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:59:26] local.INFO: TCP Data received {"connection_id":172143,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 02:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 02:59:26] local.INFO: Processing buffer {"connection_id":172143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 02:59:26] local.INFO: Packet analysis {"connection_id":172143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 02:59:26] local.INFO: Extracted packet for processing {"connection_id":172143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 02:59:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02: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-09-06 02:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892683520001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:59: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-09-06 02:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788643596000,"timestamp_ms":1788643596000,"timestamp_seconds":1788643596,"priority":1,"record_length":96,"hex_timestamp":"000001a0737756e0"} 
[2026-09-06 02:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:59: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-09-06 02: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:59: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-09-06 02: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-09-06 02:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:59: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-09-06 02:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892683520001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892683520001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:59:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:59:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892683520001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":172143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:59:26] local.INFO: GPS data processed {"connection_id":172143,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:59:26] local.INFO: Acknowledgment sent {"connection_id":172143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 02:59:49] local.INFO: TCP Data received {"connection_id":174826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:59:49] local.INFO: Processing buffer {"connection_id":174826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:59:49] local.INFO: IMEI packet received {"connection_id":174826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 02:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":174826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 02:59:54] local.INFO: TCP Data received {"connection_id":174826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:59:54] local.INFO: Processing buffer {"connection_id":174826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 02:59:54] local.INFO: IMEI packet received {"connection_id":174826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 02:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":174826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 02:59:55] local.INFO: TCP Data received {"connection_id":174826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 02:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 02:59:55] local.INFO: Processing buffer {"connection_id":174826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 02:59:55] local.INFO: Packet analysis {"connection_id":174826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 02:59:55] local.INFO: Extracted packet for processing {"connection_id":174826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 02:59:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 02:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 02:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892683520001,"note":"Value kept but may cause issues"} 
[2026-09-06 02:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 02:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 02:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 02:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788643596000,"timestamp_ms":1788643596000,"timestamp_seconds":1788643596,"priority":1,"record_length":96,"hex_timestamp":"000001a0737756e0"} 
[2026-09-06 02:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 02:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 02:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 02:59:55] 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-09-06 02:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 02:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 02:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 02:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 02:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 02:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 02:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 02:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 02:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892683520001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 02:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 02:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 02:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892683520001,"description":"Unknown IO ID 0"} 
[2026-09-06 02:59:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 02:59:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 02:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 02:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 02:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892683520001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 02:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":174826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 02:59:55] local.INFO: GPS data processed {"connection_id":174826,"processed":1,"errors":0,"total":1} 
[2026-09-06 02:59:55] local.INFO: Acknowledgment sent {"connection_id":174826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:00:25] local.INFO: TCP Data received {"connection_id":174826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 03:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 03:00:25] local.INFO: Processing buffer {"connection_id":174826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 03:00:25] local.INFO: Packet analysis {"connection_id":174826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 03:00:25] local.INFO: Extracted packet for processing {"connection_id":174826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 03:00:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892683520001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:00:25] 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-09-06 03:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788643596000,"timestamp_ms":1788643596000,"timestamp_seconds":1788643596,"priority":1,"record_length":96,"hex_timestamp":"000001a0737756e0"} 
[2026-09-06 03:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03: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-09-06 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 03:00: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-09-06 03: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-09-06 03:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:00: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-09-06 03:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892683520001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892683520001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:00:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:00:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892683520001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":174826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:00:25] local.INFO: GPS data processed {"connection_id":174826,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:00:25] local.INFO: Acknowledgment sent {"connection_id":174826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:00:54] local.INFO: TCP Data received {"connection_id":173500,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:00:54] local.INFO: Processing buffer {"connection_id":173500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:00:54] local.INFO: IMEI packet received {"connection_id":173500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":173500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:01:00] local.INFO: TCP Data received {"connection_id":173500,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:01:00] local.INFO: Processing buffer {"connection_id":173500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:01:00] local.INFO: IMEI packet received {"connection_id":173500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":173500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:01:00] local.INFO: TCP Data received {"connection_id":173500,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 03:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 03:01:00] local.INFO: Processing buffer {"connection_id":173500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 03:01:00] local.INFO: Packet analysis {"connection_id":173500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 03:01:00] local.INFO: Extracted packet for processing {"connection_id":173500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 03:01:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892683520001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:01:00] 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-09-06 03:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788643596000,"timestamp_ms":1788643596000,"timestamp_seconds":1788643596,"priority":1,"record_length":96,"hex_timestamp":"000001a0737756e0"} 
[2026-09-06 03:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 03:01: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-09-06 03: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-09-06 03:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892683520001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892683520001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:01:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:01:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892683520001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":173500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:01:00] local.INFO: GPS data processed {"connection_id":173500,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:01:00] local.INFO: Acknowledgment sent {"connection_id":173500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:01:04] local.INFO: TCP Data received {"connection_id":173500,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 03:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 03:01:04] local.INFO: Processing buffer {"connection_id":173500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 03:01:04] local.INFO: Packet analysis {"connection_id":173500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 03:01:04] local.INFO: Extracted packet for processing {"connection_id":173500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 03:01:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892683520001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788643596000,"timestamp_ms":1788643596000,"timestamp_seconds":1788643596,"priority":1,"record_length":96,"hex_timestamp":"000001a0737756e0"} 
[2026-09-06 03:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 03:01:04] 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-09-06 03:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892683520001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892683520001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:01:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:01:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892683520001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":173500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:01:04] local.INFO: GPS data processed {"connection_id":173500,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:01:04] local.INFO: Acknowledgment sent {"connection_id":173500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:01:49] local.INFO: TCP Data received {"connection_id":174827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:01:49] local.INFO: Processing buffer {"connection_id":174827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:01:49] local.INFO: IMEI packet received {"connection_id":174827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":174827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:01:54] local.INFO: TCP Data received {"connection_id":174827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:01:54] local.INFO: Processing buffer {"connection_id":174827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:01:54] local.INFO: IMEI packet received {"connection_id":174827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":174827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:01:55] local.INFO: TCP Data received {"connection_id":174827,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 03:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 03:01:55] local.INFO: Processing buffer {"connection_id":174827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737756e0012d532d00064970480006014732..."} 
[2026-09-06 03:01:55] local.INFO: Packet analysis {"connection_id":174827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 03:01:55] local.INFO: Extracted packet for processing {"connection_id":174827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07377"} 
[2026-09-06 03:01:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892683520001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788643596000,"timestamp_ms":1788643596000,"timestamp_seconds":1788643596,"priority":1,"record_length":96,"hex_timestamp":"000001a0737756e0"} 
[2026-09-06 03:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 03:01:55] 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-09-06 03: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-09-06 03:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892683520001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892683520001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:01:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:01:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892683520001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":174827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:01:55] local.INFO: GPS data processed {"connection_id":174827,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:01:55] local.INFO: Acknowledgment sent {"connection_id":174827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:02:26] local.INFO: TCP Data received {"connection_id":174827,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:02:26] local.INFO: Processing buffer {"connection_id":174827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:02:26] local.INFO: Packet analysis {"connection_id":174827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:02:26] local.INFO: Extracted packet for processing {"connection_id":174827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:02:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892760576001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:02: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-09-06 03:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788643897000,"timestamp_ms":1788643897000,"timestamp_seconds":1788643897,"priority":1,"record_length":96,"hex_timestamp":"000001a0737beea8"} 
[2026-09-06 03:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:02: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-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:02: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-09-06 03: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-09-06 03:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:02: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-09-06 03:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892760576001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892760576001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:02:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:02:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892760576001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":174827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:02:26] local.INFO: GPS data processed {"connection_id":174827,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:02:26] local.INFO: Acknowledgment sent {"connection_id":174827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:02:33] local.INFO: TCP Data received {"connection_id":172385,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:02:33] local.INFO: Processing buffer {"connection_id":172385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:02:33] local.INFO: IMEI packet received {"connection_id":172385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 03:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":172385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:02:49] local.INFO: TCP Data received {"connection_id":174828,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:02:49] local.INFO: Processing buffer {"connection_id":174828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:02:49] local.INFO: IMEI packet received {"connection_id":174828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":174828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:02:54] local.INFO: TCP Data received {"connection_id":174828,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:02:54] local.INFO: Processing buffer {"connection_id":174828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:02:54] local.INFO: IMEI packet received {"connection_id":174828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":174828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:02:55] local.INFO: TCP Data received {"connection_id":174828,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:02:55] local.INFO: Processing buffer {"connection_id":174828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:02:55] local.INFO: Packet analysis {"connection_id":174828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:02:55] local.INFO: Extracted packet for processing {"connection_id":174828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:02:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892760576001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788643897000,"timestamp_ms":1788643897000,"timestamp_seconds":1788643897,"priority":1,"record_length":96,"hex_timestamp":"000001a0737beea8"} 
[2026-09-06 03:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:02:55] 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-09-06 03:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892760576001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892760576001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:02:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:02:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892760576001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":174828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:02:55] local.INFO: GPS data processed {"connection_id":174828,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:02:55] local.INFO: Acknowledgment sent {"connection_id":174828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:03:26] local.INFO: TCP Data received {"connection_id":174828,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:03:26] local.INFO: Processing buffer {"connection_id":174828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:03:26] local.INFO: Packet analysis {"connection_id":174828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:03:26] local.INFO: Extracted packet for processing {"connection_id":174828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:03:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 03:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892760576001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:03: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-09-06 03:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788643897000,"timestamp_ms":1788643897000,"timestamp_seconds":1788643897,"priority":1,"record_length":96,"hex_timestamp":"000001a0737beea8"} 
[2026-09-06 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-09-06 03:03: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-09-06 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:03: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-09-06 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-09-06 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-09-06 03:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892760576001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892760576001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:03:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:03:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892760576001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":174828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:03:26] local.INFO: GPS data processed {"connection_id":174828,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:03:26] local.INFO: Acknowledgment sent {"connection_id":174828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:03:49] local.INFO: TCP Data received {"connection_id":173502,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:03:49] local.INFO: Processing buffer {"connection_id":173502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:03:49] local.INFO: IMEI packet received {"connection_id":173502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":173502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:03:54] local.INFO: TCP Data received {"connection_id":173502,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:03:54] local.INFO: Processing buffer {"connection_id":173502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:03:54] local.INFO: IMEI packet received {"connection_id":173502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":173502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:03:55] local.INFO: TCP Data received {"connection_id":173502,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:03:55] local.INFO: Processing buffer {"connection_id":173502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:03:55] local.INFO: Packet analysis {"connection_id":173502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:03:55] local.INFO: Extracted packet for processing {"connection_id":173502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:03:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892760576001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788643897000,"timestamp_ms":1788643897000,"timestamp_seconds":1788643897,"priority":1,"record_length":96,"hex_timestamp":"000001a0737beea8"} 
[2026-09-06 03:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:03:55] 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-09-06 03:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892760576001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892760576001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:03:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:03:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892760576001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":173502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:03:55] local.INFO: GPS data processed {"connection_id":173502,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:03:55] local.INFO: Acknowledgment sent {"connection_id":173502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:04:26] local.INFO: TCP Data received {"connection_id":173502,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:04:26] local.INFO: Processing buffer {"connection_id":173502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:04:26] local.INFO: Packet analysis {"connection_id":173502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:04:26] local.INFO: Extracted packet for processing {"connection_id":173502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:04:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892760576001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:04: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-09-06 03:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788643897000,"timestamp_ms":1788643897000,"timestamp_seconds":1788643897,"priority":1,"record_length":96,"hex_timestamp":"000001a0737beea8"} 
[2026-09-06 03:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:04: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-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:04: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-09-06 03: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-09-06 03:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:04: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-09-06 03:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892760576001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892760576001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:04:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:04:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892760576001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":173502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:04:26] local.INFO: GPS data processed {"connection_id":173502,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:04:26] local.INFO: Acknowledgment sent {"connection_id":173502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:04:54] local.INFO: TCP Data received {"connection_id":174830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:04:54] local.INFO: Processing buffer {"connection_id":174830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:04:54] local.INFO: IMEI packet received {"connection_id":174830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":174830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:04:59] local.INFO: TCP Data received {"connection_id":174830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:04:59] local.INFO: Processing buffer {"connection_id":174830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:04:59] local.INFO: IMEI packet received {"connection_id":174830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":174830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:05:00] local.INFO: TCP Data received {"connection_id":174830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:05:00] local.INFO: Processing buffer {"connection_id":174830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:05:00] local.INFO: Packet analysis {"connection_id":174830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:05:00] local.INFO: Extracted packet for processing {"connection_id":174830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:05:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892760576001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:05:00] 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-09-06 03:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788643897000,"timestamp_ms":1788643897000,"timestamp_seconds":1788643897,"priority":1,"record_length":96,"hex_timestamp":"000001a0737beea8"} 
[2026-09-06 03:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:05:00] 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-09-06 03:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892760576001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892760576001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:05:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:05:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892760576001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":174830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:05:00] local.INFO: GPS data processed {"connection_id":174830,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:05:00] local.INFO: Acknowledgment sent {"connection_id":174830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:05:04] local.INFO: TCP Data received {"connection_id":174830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:05:04] local.INFO: Processing buffer {"connection_id":174830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:05:04] local.INFO: Packet analysis {"connection_id":174830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:05:04] local.INFO: Extracted packet for processing {"connection_id":174830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:05:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892760576001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788643897000,"timestamp_ms":1788643897000,"timestamp_seconds":1788643897,"priority":1,"record_length":96,"hex_timestamp":"000001a0737beea8"} 
[2026-09-06 03:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:05:04] 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-09-06 03: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-09-06 03:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892760576001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892760576001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:05:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:05:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892760576001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":174830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:05:04] local.INFO: GPS data processed {"connection_id":174830,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:05:04] local.INFO: Acknowledgment sent {"connection_id":174830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:05:49] local.INFO: TCP Data received {"connection_id":172145,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:05:49] local.INFO: Processing buffer {"connection_id":172145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:05:49] local.INFO: IMEI packet received {"connection_id":172145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":172145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:05:54] local.INFO: TCP Data received {"connection_id":172145,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:05:54] local.INFO: Processing buffer {"connection_id":172145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:05:54] local.INFO: IMEI packet received {"connection_id":172145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":172145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:05:55] local.INFO: TCP Data received {"connection_id":172145,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:05:55] local.INFO: Processing buffer {"connection_id":172145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:05:55] local.INFO: Packet analysis {"connection_id":172145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:05:55] local.INFO: Extracted packet for processing {"connection_id":172145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:05:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892760576001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788643897000,"timestamp_ms":1788643897000,"timestamp_seconds":1788643897,"priority":1,"record_length":96,"hex_timestamp":"000001a0737beea8"} 
[2026-09-06 03:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:05:55] 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-09-06 03:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892760576001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892760576001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:05:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:05:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892760576001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":172145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:05:55] local.INFO: GPS data processed {"connection_id":172145,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:05:55] local.INFO: Acknowledgment sent {"connection_id":172145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:06:25] local.INFO: TCP Data received {"connection_id":172145,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:06:25] local.INFO: Processing buffer {"connection_id":172145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:06:25] local.INFO: Packet analysis {"connection_id":172145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:06:25] local.INFO: Extracted packet for processing {"connection_id":172145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:06:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892760576001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:06:25] 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-09-06 03:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788643897000,"timestamp_ms":1788643897000,"timestamp_seconds":1788643897,"priority":1,"record_length":96,"hex_timestamp":"000001a0737beea8"} 
[2026-09-06 03:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:06: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-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:06:25] 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-09-06 03: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-09-06 03:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:06: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-09-06 03:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892760576001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892760576001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:06:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:06:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892760576001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":172145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:06:25] local.INFO: GPS data processed {"connection_id":172145,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:06:25] local.INFO: Acknowledgment sent {"connection_id":172145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:06:49] local.INFO: TCP Data received {"connection_id":174833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:06:49] local.INFO: Processing buffer {"connection_id":174833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:06:49] local.INFO: IMEI packet received {"connection_id":174833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":174833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:06:54] local.INFO: TCP Data received {"connection_id":174833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:06:54] local.INFO: Processing buffer {"connection_id":174833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:06:54] local.INFO: IMEI packet received {"connection_id":174833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":174833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:06:55] local.INFO: TCP Data received {"connection_id":174833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:06:55] local.INFO: Processing buffer {"connection_id":174833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0737beea8012d532d00064970480006014731..."} 
[2026-09-06 03:06:55] local.INFO: Packet analysis {"connection_id":174833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:06:55] local.INFO: Extracted packet for processing {"connection_id":174833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0737b"} 
[2026-09-06 03:06:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892760576001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788643897000,"timestamp_ms":1788643897000,"timestamp_seconds":1788643897,"priority":1,"record_length":96,"hex_timestamp":"000001a0737beea8"} 
[2026-09-06 03:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:06:55] 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-09-06 03: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-09-06 03:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892760576001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892760576001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:06:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:06:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892760576001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":174833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:06:55] local.INFO: GPS data processed {"connection_id":174833,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:06:55] local.INFO: Acknowledgment sent {"connection_id":174833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:07:26] local.INFO: TCP Data received {"connection_id":174833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:07:26] local.INFO: Processing buffer {"connection_id":174833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:07:26] local.INFO: Packet analysis {"connection_id":174833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:07:26] local.INFO: Extracted packet for processing {"connection_id":174833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:07:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892837632001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:07: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-09-06 03:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788644198000,"timestamp_ms":1788644198000,"timestamp_seconds":1788644198,"priority":1,"record_length":96,"hex_timestamp":"000001a073808670"} 
[2026-09-06 03:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:07: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-09-06 03:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892837632001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892837632001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:07:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:07:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892837632001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":174833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:07:26] local.INFO: GPS data processed {"connection_id":174833,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:07:26] local.INFO: Acknowledgment sent {"connection_id":174833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:07:50] local.INFO: TCP Data received {"connection_id":172386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:07:50] local.INFO: Processing buffer {"connection_id":172386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:07:50] local.INFO: IMEI packet received {"connection_id":172386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":172386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:07:54] local.INFO: TCP Data received {"connection_id":172386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:07:54] local.INFO: Processing buffer {"connection_id":172386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:07:54] local.INFO: IMEI packet received {"connection_id":172386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":172386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:07:55] local.INFO: TCP Data received {"connection_id":172386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:07:55] local.INFO: Processing buffer {"connection_id":172386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:07:55] local.INFO: Packet analysis {"connection_id":172386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:07:55] local.INFO: Extracted packet for processing {"connection_id":172386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:07:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892837632001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788644198000,"timestamp_ms":1788644198000,"timestamp_seconds":1788644198,"priority":1,"record_length":96,"hex_timestamp":"000001a073808670"} 
[2026-09-06 03:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892837632001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892837632001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:07:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:07:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892837632001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":172386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:07:55] local.INFO: GPS data processed {"connection_id":172386,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:07:55] local.INFO: Acknowledgment sent {"connection_id":172386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:08:12] local.INFO: TCP Data received {"connection_id":173504,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:08:12] local.INFO: Processing buffer {"connection_id":173504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:08:12] local.INFO: IMEI packet received {"connection_id":173504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 03:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":173504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:08:25] local.INFO: TCP Data received {"connection_id":172386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:08:25] local.INFO: Processing buffer {"connection_id":172386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:08:25] local.INFO: Packet analysis {"connection_id":172386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:08:25] local.INFO: Extracted packet for processing {"connection_id":172386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:08:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892837632001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:08:25] 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-09-06 03:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788644198000,"timestamp_ms":1788644198000,"timestamp_seconds":1788644198,"priority":1,"record_length":96,"hex_timestamp":"000001a073808670"} 
[2026-09-06 03:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:08: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-09-06 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:08: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-09-06 03:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892837632001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892837632001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:08:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:08:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892837632001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":172386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:08:26] local.INFO: GPS data processed {"connection_id":172386,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:08:26] local.INFO: Acknowledgment sent {"connection_id":172386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:08:49] local.INFO: TCP Data received {"connection_id":173505,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:08:49] local.INFO: Processing buffer {"connection_id":173505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:08:49] local.INFO: IMEI packet received {"connection_id":173505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":173505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:08:54] local.INFO: TCP Data received {"connection_id":173505,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:08:54] local.INFO: Processing buffer {"connection_id":173505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:08:54] local.INFO: IMEI packet received {"connection_id":173505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":173505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:08:55] local.INFO: TCP Data received {"connection_id":173505,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:08:55] local.INFO: Processing buffer {"connection_id":173505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:08:55] local.INFO: Packet analysis {"connection_id":173505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:08:55] local.INFO: Extracted packet for processing {"connection_id":173505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:08:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892837632001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788644198000,"timestamp_ms":1788644198000,"timestamp_seconds":1788644198,"priority":1,"record_length":96,"hex_timestamp":"000001a073808670"} 
[2026-09-06 03:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892837632001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892837632001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:08:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:08:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892837632001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":173505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:08:55] local.INFO: GPS data processed {"connection_id":173505,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:08:55] local.INFO: Acknowledgment sent {"connection_id":173505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:09:26] local.INFO: TCP Data received {"connection_id":173505,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:09:26] local.INFO: Processing buffer {"connection_id":173505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:09:26] local.INFO: Packet analysis {"connection_id":173505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:09:26] local.INFO: Extracted packet for processing {"connection_id":173505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:09:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892837632001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:09: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-09-06 03:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788644198000,"timestamp_ms":1788644198000,"timestamp_seconds":1788644198,"priority":1,"record_length":96,"hex_timestamp":"000001a073808670"} 
[2026-09-06 03:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:09: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-09-06 03:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892837632001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892837632001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:09:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:09:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892837632001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":173505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:09:26] local.INFO: GPS data processed {"connection_id":173505,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:09:26] local.INFO: Acknowledgment sent {"connection_id":173505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:09:54] local.INFO: TCP Data received {"connection_id":172146,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:09:54] local.INFO: Processing buffer {"connection_id":172146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:09:54] local.INFO: IMEI packet received {"connection_id":172146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":172146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:09:59] local.INFO: TCP Data received {"connection_id":172146,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:09:59] local.INFO: Processing buffer {"connection_id":172146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:09:59] local.INFO: IMEI packet received {"connection_id":172146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":172146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:10:00] local.INFO: TCP Data received {"connection_id":172146,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:10:00] local.INFO: Processing buffer {"connection_id":172146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:10:00] local.INFO: Packet analysis {"connection_id":172146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:10:00] local.INFO: Extracted packet for processing {"connection_id":172146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:10:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892837632001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:10:00] 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-09-06 03:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788644198000,"timestamp_ms":1788644198000,"timestamp_seconds":1788644198,"priority":1,"record_length":96,"hex_timestamp":"000001a073808670"} 
[2026-09-06 03:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892837632001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892837632001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:10:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:10:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892837632001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":172146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:10:00] local.INFO: GPS data processed {"connection_id":172146,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:10:00] local.INFO: Acknowledgment sent {"connection_id":172146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:10:04] local.INFO: TCP Data received {"connection_id":172146,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:10:04] local.INFO: Processing buffer {"connection_id":172146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:10:04] local.INFO: Packet analysis {"connection_id":172146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:10:04] local.INFO: Extracted packet for processing {"connection_id":172146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:10:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892837632001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788644198000,"timestamp_ms":1788644198000,"timestamp_seconds":1788644198,"priority":1,"record_length":96,"hex_timestamp":"000001a073808670"} 
[2026-09-06 03:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892837632001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892837632001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:10:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:10:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892837632001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":172146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:10:04] local.INFO: GPS data processed {"connection_id":172146,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:10:04] local.INFO: Acknowledgment sent {"connection_id":172146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:10:49] local.INFO: TCP Data received {"connection_id":172387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:10:49] local.INFO: Processing buffer {"connection_id":172387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:10:49] local.INFO: IMEI packet received {"connection_id":172387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":172387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:10:54] local.INFO: TCP Data received {"connection_id":172387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:10:54] local.INFO: Processing buffer {"connection_id":172387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:10:54] local.INFO: IMEI packet received {"connection_id":172387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":172387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:10:55] local.INFO: TCP Data received {"connection_id":172387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:10:55] local.INFO: Processing buffer {"connection_id":172387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:10:55] local.INFO: Packet analysis {"connection_id":172387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:10:55] local.INFO: Extracted packet for processing {"connection_id":172387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:10:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892837632001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788644198000,"timestamp_ms":1788644198000,"timestamp_seconds":1788644198,"priority":1,"record_length":96,"hex_timestamp":"000001a073808670"} 
[2026-09-06 03:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892837632001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892837632001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:10:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:10:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892837632001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":172387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:10:55] local.INFO: GPS data processed {"connection_id":172387,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:10:55] local.INFO: Acknowledgment sent {"connection_id":172387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:11:26] local.INFO: TCP Data received {"connection_id":172387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:11:26] local.INFO: Processing buffer {"connection_id":172387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:11:26] local.INFO: Packet analysis {"connection_id":172387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:11:26] local.INFO: Extracted packet for processing {"connection_id":172387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:11:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892837632001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:11: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-09-06 03:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788644198000,"timestamp_ms":1788644198000,"timestamp_seconds":1788644198,"priority":1,"record_length":96,"hex_timestamp":"000001a073808670"} 
[2026-09-06 03:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:11: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-09-06 03:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892837632001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892837632001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:11:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:11:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892837632001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":172387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:11:26] local.INFO: GPS data processed {"connection_id":172387,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:11:26] local.INFO: Acknowledgment sent {"connection_id":172387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:11:49] local.INFO: TCP Data received {"connection_id":172388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:11:49] local.INFO: Processing buffer {"connection_id":172388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:11:49] local.INFO: IMEI packet received {"connection_id":172388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":172388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:11:54] local.INFO: TCP Data received {"connection_id":172388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:11:54] local.INFO: Processing buffer {"connection_id":172388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:11:54] local.INFO: IMEI packet received {"connection_id":172388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":172388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:11:55] local.INFO: TCP Data received {"connection_id":172388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:11:55] local.INFO: Processing buffer {"connection_id":172388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073808670012d532d00064970480006014731..."} 
[2026-09-06 03:11:55] local.INFO: Packet analysis {"connection_id":172388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:11:55] local.INFO: Extracted packet for processing {"connection_id":172388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07380"} 
[2026-09-06 03:11:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892837632001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788644198000,"timestamp_ms":1788644198000,"timestamp_seconds":1788644198,"priority":1,"record_length":96,"hex_timestamp":"000001a073808670"} 
[2026-09-06 03:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892837632001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892837632001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:11:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:11:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892837632001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":172388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:11:55] local.INFO: GPS data processed {"connection_id":172388,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:11:55] local.INFO: Acknowledgment sent {"connection_id":172388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:12:25] local.INFO: TCP Data received {"connection_id":172388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:12:25] local.INFO: Processing buffer {"connection_id":172388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:12:25] local.INFO: Packet analysis {"connection_id":172388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:12:25] local.INFO: Extracted packet for processing {"connection_id":172388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:12:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892914688001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:12:25] 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-09-06 03:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788644499000,"timestamp_ms":1788644499000,"timestamp_seconds":1788644499,"priority":1,"record_length":96,"hex_timestamp":"000001a073851e38"} 
[2026-09-06 03:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03: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-09-06 03:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:12:25] 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-09-06 03: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-09-06 03:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:12: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-09-06 03:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892914688001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892914688001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:12:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:12:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892914688001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":172388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:12:25] local.INFO: GPS data processed {"connection_id":172388,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:12:25] local.INFO: Acknowledgment sent {"connection_id":172388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:12:50] local.INFO: TCP Data received {"connection_id":174835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:12:50] local.INFO: Processing buffer {"connection_id":174835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:12:50] local.INFO: IMEI packet received {"connection_id":174835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":174835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:12:54] local.INFO: TCP Data received {"connection_id":174835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:12:54] local.INFO: Processing buffer {"connection_id":174835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:12:54] local.INFO: IMEI packet received {"connection_id":174835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":174835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:12:55] local.INFO: TCP Data received {"connection_id":174835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:12:55] local.INFO: Processing buffer {"connection_id":174835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:12:55] local.INFO: Packet analysis {"connection_id":174835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:12:55] local.INFO: Extracted packet for processing {"connection_id":174835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:12:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892914688001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788644499000,"timestamp_ms":1788644499000,"timestamp_seconds":1788644499,"priority":1,"record_length":96,"hex_timestamp":"000001a073851e38"} 
[2026-09-06 03:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:12:55] 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-09-06 03:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892914688001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892914688001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:12:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:12:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892914688001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":174835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:12:55] local.INFO: GPS data processed {"connection_id":174835,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:12:55] local.INFO: Acknowledgment sent {"connection_id":174835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:13:26] local.INFO: TCP Data received {"connection_id":174835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:13:26] local.INFO: Processing buffer {"connection_id":174835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:13:26] local.INFO: Packet analysis {"connection_id":174835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:13:26] local.INFO: Extracted packet for processing {"connection_id":174835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:13:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 03:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892914688001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:13: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-09-06 03:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788644499000,"timestamp_ms":1788644499000,"timestamp_seconds":1788644499,"priority":1,"record_length":96,"hex_timestamp":"000001a073851e38"} 
[2026-09-06 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-09-06 03:13: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-09-06 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-09-06 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-09-06 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-09-06 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-09-06 03:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:13: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-09-06 03:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892914688001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892914688001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:13:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:13:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892914688001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":174835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:13:26] local.INFO: GPS data processed {"connection_id":174835,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:13:26] local.INFO: Acknowledgment sent {"connection_id":174835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:13:33] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:13:33] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:13:33] local.INFO: IMEI packet received {"connection_id":173509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 03:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":173509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:13:54] local.INFO: TCP Data received {"connection_id":172389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:13:54] local.INFO: Processing buffer {"connection_id":172389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:13:54] local.INFO: IMEI packet received {"connection_id":172389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":172389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:13:59] local.INFO: TCP Data received {"connection_id":172389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:13:59] local.INFO: Processing buffer {"connection_id":172389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:13:59] local.INFO: IMEI packet received {"connection_id":172389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":172389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:13:59] local.INFO: TCP Data received {"connection_id":172389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:13:59] local.INFO: Processing buffer {"connection_id":172389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:13:59] local.INFO: Packet analysis {"connection_id":172389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:13:59] local.INFO: Extracted packet for processing {"connection_id":172389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:13:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892914688001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:13:59] 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-09-06 03:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788644499000,"timestamp_ms":1788644499000,"timestamp_seconds":1788644499,"priority":1,"record_length":96,"hex_timestamp":"000001a073851e38"} 
[2026-09-06 03:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:13: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-09-06 03:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:13: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-09-06 03:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892914688001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892914688001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:14:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:14:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892914688001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":172389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:14:00] local.INFO: GPS data processed {"connection_id":172389,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:14:00] local.INFO: Acknowledgment sent {"connection_id":172389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:14:04] local.INFO: TCP Data received {"connection_id":172389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:14:04] local.INFO: Processing buffer {"connection_id":172389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:14:04] local.INFO: Packet analysis {"connection_id":172389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:14:04] local.INFO: Extracted packet for processing {"connection_id":172389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:14:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892914688001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788644499000,"timestamp_ms":1788644499000,"timestamp_seconds":1788644499,"priority":1,"record_length":96,"hex_timestamp":"000001a073851e38"} 
[2026-09-06 03:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:14:04] 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-09-06 03:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892914688001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892914688001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:14:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:14:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892914688001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":172389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:14:04] local.INFO: GPS data processed {"connection_id":172389,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:14:04] local.INFO: Acknowledgment sent {"connection_id":172389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:14:49] local.INFO: TCP Data received {"connection_id":173510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:14:49] local.INFO: Processing buffer {"connection_id":173510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:14:49] local.INFO: IMEI packet received {"connection_id":173510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":173510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:14:54] local.INFO: TCP Data received {"connection_id":173510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:14:54] local.INFO: Processing buffer {"connection_id":173510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:14:54] local.INFO: IMEI packet received {"connection_id":173510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":173510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:14:55] local.INFO: TCP Data received {"connection_id":173510,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:14:55] local.INFO: Processing buffer {"connection_id":173510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:14:55] local.INFO: Packet analysis {"connection_id":173510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:14:55] local.INFO: Extracted packet for processing {"connection_id":173510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:14:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892914688001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788644499000,"timestamp_ms":1788644499000,"timestamp_seconds":1788644499,"priority":1,"record_length":96,"hex_timestamp":"000001a073851e38"} 
[2026-09-06 03:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:14:55] 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-09-06 03:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892914688001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892914688001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:14:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:14:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892914688001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":173510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:14:55] local.INFO: GPS data processed {"connection_id":173510,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:14:55] local.INFO: Acknowledgment sent {"connection_id":173510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:15:26] local.INFO: TCP Data received {"connection_id":173510,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:15:26] local.INFO: Processing buffer {"connection_id":173510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:15:26] local.INFO: Packet analysis {"connection_id":173510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:15:26] local.INFO: Extracted packet for processing {"connection_id":173510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:15:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892914688001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:15: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-09-06 03:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788644499000,"timestamp_ms":1788644499000,"timestamp_seconds":1788644499,"priority":1,"record_length":96,"hex_timestamp":"000001a073851e38"} 
[2026-09-06 03:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03: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-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:15: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-09-06 03: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-09-06 03:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:15: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-09-06 03:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892914688001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892914688001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:15:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:15:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892914688001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":173510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:15:26] local.INFO: GPS data processed {"connection_id":173510,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:15:26] local.INFO: Acknowledgment sent {"connection_id":173510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:15:49] local.INFO: TCP Data received {"connection_id":174838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:15:49] local.INFO: Processing buffer {"connection_id":174838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:15:49] local.INFO: IMEI packet received {"connection_id":174838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":174838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:15:54] local.INFO: TCP Data received {"connection_id":174838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:15:54] local.INFO: Processing buffer {"connection_id":174838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:15:54] local.INFO: IMEI packet received {"connection_id":174838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":174838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:15:55] local.INFO: TCP Data received {"connection_id":174838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:15:55] local.INFO: Processing buffer {"connection_id":174838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:15:55] local.INFO: Packet analysis {"connection_id":174838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:15:55] local.INFO: Extracted packet for processing {"connection_id":174838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:15:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892914688001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788644499000,"timestamp_ms":1788644499000,"timestamp_seconds":1788644499,"priority":1,"record_length":96,"hex_timestamp":"000001a073851e38"} 
[2026-09-06 03:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:15:55] 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-09-06 03:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892914688001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892914688001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:15:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:15:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892914688001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":174838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:15:55] local.INFO: GPS data processed {"connection_id":174838,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:15:55] local.INFO: Acknowledgment sent {"connection_id":174838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:16:25] local.INFO: TCP Data received {"connection_id":174838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:16:25] local.INFO: Processing buffer {"connection_id":174838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:16:25] local.INFO: Packet analysis {"connection_id":174838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:16:25] local.INFO: Extracted packet for processing {"connection_id":174838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:16:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892914688001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:16:25] 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-09-06 03:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788644499000,"timestamp_ms":1788644499000,"timestamp_seconds":1788644499,"priority":1,"record_length":96,"hex_timestamp":"000001a073851e38"} 
[2026-09-06 03:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03: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-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:16:25] 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-09-06 03: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-09-06 03:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03: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-09-06 03:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892914688001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892914688001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:16:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:16:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892914688001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":174838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:16:25] local.INFO: GPS data processed {"connection_id":174838,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:16:25] local.INFO: Acknowledgment sent {"connection_id":174838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:16:49] local.INFO: TCP Data received {"connection_id":173511,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:16:49] local.INFO: Processing buffer {"connection_id":173511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:16:49] local.INFO: IMEI packet received {"connection_id":173511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":173511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:16:54] local.INFO: TCP Data received {"connection_id":173511,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:16:54] local.INFO: Processing buffer {"connection_id":173511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:16:54] local.INFO: IMEI packet received {"connection_id":173511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":173511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:16:55] local.INFO: TCP Data received {"connection_id":173511,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:16:55] local.INFO: Processing buffer {"connection_id":173511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073851e38012d532d0006497048000601472f..."} 
[2026-09-06 03:16:55] local.INFO: Packet analysis {"connection_id":173511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:16:55] local.INFO: Extracted packet for processing {"connection_id":173511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07385"} 
[2026-09-06 03:16:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892914688001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788644499000,"timestamp_ms":1788644499000,"timestamp_seconds":1788644499,"priority":1,"record_length":96,"hex_timestamp":"000001a073851e38"} 
[2026-09-06 03:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:16:55] 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-09-06 03:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892914688001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892914688001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:16:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:16:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892914688001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":173511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:16:55] local.INFO: GPS data processed {"connection_id":173511,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:16:55] local.INFO: Acknowledgment sent {"connection_id":173511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:17:26] local.INFO: TCP Data received {"connection_id":173511,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:17:26] local.INFO: Processing buffer {"connection_id":173511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:17:26] local.INFO: Packet analysis {"connection_id":173511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:17:26] local.INFO: Extracted packet for processing {"connection_id":173511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:17:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892991744001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:17: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-09-06 03:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788644800000,"timestamp_ms":1788644800000,"timestamp_seconds":1788644800,"priority":1,"record_length":96,"hex_timestamp":"000001a07389b600"} 
[2026-09-06 03:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:17: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-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:17: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-09-06 03: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-09-06 03:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:17: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-09-06 03:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892991744001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892991744001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:17:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:17:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892991744001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":173511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:17:26] local.INFO: GPS data processed {"connection_id":173511,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:17:26] local.INFO: Acknowledgment sent {"connection_id":173511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:17:49] local.INFO: TCP Data received {"connection_id":174840,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:17:49] local.INFO: Processing buffer {"connection_id":174840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:17:49] local.INFO: IMEI packet received {"connection_id":174840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":174840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:17:54] local.INFO: TCP Data received {"connection_id":174840,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:17:54] local.INFO: Processing buffer {"connection_id":174840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:17:54] local.INFO: IMEI packet received {"connection_id":174840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":174840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:17:55] local.INFO: TCP Data received {"connection_id":174840,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:17:55] local.INFO: Processing buffer {"connection_id":174840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:17:55] local.INFO: Packet analysis {"connection_id":174840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:17:55] local.INFO: Extracted packet for processing {"connection_id":174840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:17:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892991744001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788644800000,"timestamp_ms":1788644800000,"timestamp_seconds":1788644800,"priority":1,"record_length":96,"hex_timestamp":"000001a07389b600"} 
[2026-09-06 03:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:17:55] 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-09-06 03:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892991744001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892991744001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:17:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:17:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892991744001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":174840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:17:55] local.INFO: GPS data processed {"connection_id":174840,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:17:55] local.INFO: Acknowledgment sent {"connection_id":174840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:18:25] local.INFO: TCP Data received {"connection_id":174840,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:18:25] local.INFO: Processing buffer {"connection_id":174840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:18:25] local.INFO: Packet analysis {"connection_id":174840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:18:25] local.INFO: Extracted packet for processing {"connection_id":174840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:18:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892991744001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:18:25] 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-09-06 03:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788644800000,"timestamp_ms":1788644800000,"timestamp_seconds":1788644800,"priority":1,"record_length":96,"hex_timestamp":"000001a07389b600"} 
[2026-09-06 03:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03: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-09-06 03: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":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:18:25] 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-09-06 03: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-09-06 03:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03: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-09-06 03:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892991744001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892991744001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:18:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:18:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892991744001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":174840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:18:26] local.INFO: GPS data processed {"connection_id":174840,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:18:26] local.INFO: Acknowledgment sent {"connection_id":174840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:18:54] local.INFO: TCP Data received {"connection_id":172391,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:18:54] local.INFO: Processing buffer {"connection_id":172391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:18:54] local.INFO: IMEI packet received {"connection_id":172391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":172391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:18:59] local.INFO: TCP Data received {"connection_id":172391,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:18:59] local.INFO: Processing buffer {"connection_id":172391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:18:59] local.INFO: IMEI packet received {"connection_id":172391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":172391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:19:00] local.INFO: TCP Data received {"connection_id":172391,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:19:00] local.INFO: Processing buffer {"connection_id":172391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:19:00] local.INFO: Packet analysis {"connection_id":172391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:19:00] local.INFO: Extracted packet for processing {"connection_id":172391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:19:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892991744001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:19:00] 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-09-06 03:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788644800000,"timestamp_ms":1788644800000,"timestamp_seconds":1788644800,"priority":1,"record_length":96,"hex_timestamp":"000001a07389b600"} 
[2026-09-06 03:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:19:00] 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-09-06 03: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-09-06 03:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892991744001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892991744001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:19:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:19:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892991744001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":172391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:19:00] local.INFO: GPS data processed {"connection_id":172391,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:19:00] local.INFO: Acknowledgment sent {"connection_id":172391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:19:04] local.INFO: TCP Data received {"connection_id":172391,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:19:04] local.INFO: Processing buffer {"connection_id":172391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:19:04] local.INFO: Packet analysis {"connection_id":172391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:19:04] local.INFO: Extracted packet for processing {"connection_id":172391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:19:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892991744001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788644800000,"timestamp_ms":1788644800000,"timestamp_seconds":1788644800,"priority":1,"record_length":96,"hex_timestamp":"000001a07389b600"} 
[2026-09-06 03:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:19:04] 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-09-06 03: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-09-06 03:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892991744001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892991744001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:19:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:19:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892991744001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":172391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:19:04] local.INFO: GPS data processed {"connection_id":172391,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:19:04] local.INFO: Acknowledgment sent {"connection_id":172391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:19:18] local.INFO: TCP Data received {"connection_id":172147,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:19:18] local.INFO: Processing buffer {"connection_id":172147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:19:18] local.INFO: IMEI packet received {"connection_id":172147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 03:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":172147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:19:49] local.INFO: TCP Data received {"connection_id":172148,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:19:49] local.INFO: Processing buffer {"connection_id":172148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:19:49] local.INFO: IMEI packet received {"connection_id":172148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":172148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:19:54] local.INFO: TCP Data received {"connection_id":172148,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:19:54] local.INFO: Processing buffer {"connection_id":172148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:19:54] local.INFO: IMEI packet received {"connection_id":172148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":172148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:19:55] local.INFO: TCP Data received {"connection_id":172148,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:19:55] local.INFO: Processing buffer {"connection_id":172148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:19:55] local.INFO: Packet analysis {"connection_id":172148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:19:55] local.INFO: Extracted packet for processing {"connection_id":172148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:19:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892991744001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788644800000,"timestamp_ms":1788644800000,"timestamp_seconds":1788644800,"priority":1,"record_length":96,"hex_timestamp":"000001a07389b600"} 
[2026-09-06 03:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:19:55] 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-09-06 03: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-09-06 03:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892991744001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892991744001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:19:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:19:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892991744001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":172148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:19:55] local.INFO: GPS data processed {"connection_id":172148,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:19:55] local.INFO: Acknowledgment sent {"connection_id":172148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:20:25] local.INFO: TCP Data received {"connection_id":172148,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:20:25] local.INFO: Processing buffer {"connection_id":172148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:20:25] local.INFO: Packet analysis {"connection_id":172148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:20:25] local.INFO: Extracted packet for processing {"connection_id":172148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:20:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892991744001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:20:25] 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-09-06 03:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788644800000,"timestamp_ms":1788644800000,"timestamp_seconds":1788644800,"priority":1,"record_length":96,"hex_timestamp":"000001a07389b600"} 
[2026-09-06 03:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:20: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-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:20:25] 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-09-06 03: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-09-06 03:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:20: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-09-06 03:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892991744001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892991744001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:20:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:20:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892991744001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":172148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:20:25] local.INFO: GPS data processed {"connection_id":172148,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:20:25] local.INFO: Acknowledgment sent {"connection_id":172148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:20:49] local.INFO: TCP Data received {"connection_id":172392,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:20:49] local.INFO: Processing buffer {"connection_id":172392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:20:49] local.INFO: IMEI packet received {"connection_id":172392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":172392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:20:54] local.INFO: TCP Data received {"connection_id":172392,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:20:54] local.INFO: Processing buffer {"connection_id":172392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:20:54] local.INFO: IMEI packet received {"connection_id":172392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":172392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:20:55] local.INFO: TCP Data received {"connection_id":172392,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:20:55] local.INFO: Processing buffer {"connection_id":172392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:20:55] local.INFO: Packet analysis {"connection_id":172392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:20:55] local.INFO: Extracted packet for processing {"connection_id":172392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:20:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892991744001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788644800000,"timestamp_ms":1788644800000,"timestamp_seconds":1788644800,"priority":1,"record_length":96,"hex_timestamp":"000001a07389b600"} 
[2026-09-06 03:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:20:55] 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-09-06 03:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892991744001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892991744001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:20:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:20:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892991744001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":172392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:20:55] local.INFO: GPS data processed {"connection_id":172392,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:20:55] local.INFO: Acknowledgment sent {"connection_id":172392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:21:26] local.INFO: TCP Data received {"connection_id":172392,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:21:26] local.INFO: Processing buffer {"connection_id":172392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:21:26] local.INFO: Packet analysis {"connection_id":172392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:21:26] local.INFO: Extracted packet for processing {"connection_id":172392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:21:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892991744001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:21: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-09-06 03:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788644800000,"timestamp_ms":1788644800000,"timestamp_seconds":1788644800,"priority":1,"record_length":96,"hex_timestamp":"000001a07389b600"} 
[2026-09-06 03:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:21: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-09-06 03: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-09-06 03:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:21: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-09-06 03:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892991744001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892991744001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:21:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:21:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892991744001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":172392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:21:26] local.INFO: GPS data processed {"connection_id":172392,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:21:26] local.INFO: Acknowledgment sent {"connection_id":172392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:21:49] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:21:49] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:21:49] local.INFO: IMEI packet received {"connection_id":173513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":173513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:21:54] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:21:54] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:21:54] local.INFO: IMEI packet received {"connection_id":173513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":173513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:21:56] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:21:56] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07389b600012d532d0006497048000601472b..."} 
[2026-09-06 03:21:56] local.INFO: Packet analysis {"connection_id":173513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:21:56] local.INFO: Extracted packet for processing {"connection_id":173513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07389"} 
[2026-09-06 03:21:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457892991744001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:21:56] 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-09-06 03:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788644800000,"timestamp_ms":1788644800000,"timestamp_seconds":1788644800,"priority":1,"record_length":96,"hex_timestamp":"000001a07389b600"} 
[2026-09-06 03:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:21: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-09-06 03: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":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457892991744001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457892991744001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:21:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:21:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457892991744001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":173513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:21:56] local.INFO: GPS data processed {"connection_id":173513,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:21:56] local.INFO: Acknowledgment sent {"connection_id":173513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:22:28] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:22:28] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:22:28] local.INFO: Packet analysis {"connection_id":173513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:22:28] local.INFO: Extracted packet for processing {"connection_id":173513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:22:28] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893068800001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:22:28] 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-09-06 03:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788645101000,"timestamp_ms":1788645101000,"timestamp_seconds":1788645101,"priority":1,"record_length":96,"hex_timestamp":"000001a0738e4dc8"} 
[2026-09-06 03:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:22: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-09-06 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893068800001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893068800001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:22:28] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:22:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893068800001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":173513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:22:28] local.INFO: GPS data processed {"connection_id":173513,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:22:28] local.INFO: Acknowledgment sent {"connection_id":173513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:22:54] local.INFO: TCP Data received {"connection_id":172395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:22:54] local.INFO: Processing buffer {"connection_id":172395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:22:54] local.INFO: IMEI packet received {"connection_id":172395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":172395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:22:59] local.INFO: TCP Data received {"connection_id":172395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:22:59] local.INFO: Processing buffer {"connection_id":172395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:22:59] local.INFO: IMEI packet received {"connection_id":172395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":172395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:23:00] local.INFO: TCP Data received {"connection_id":172395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:23:00] local.INFO: Processing buffer {"connection_id":172395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:23:00] local.INFO: Packet analysis {"connection_id":172395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:23:00] local.INFO: Extracted packet for processing {"connection_id":172395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:23:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893068800001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:23:00] 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-09-06 03:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788645101000,"timestamp_ms":1788645101000,"timestamp_seconds":1788645101,"priority":1,"record_length":96,"hex_timestamp":"000001a0738e4dc8"} 
[2026-09-06 03:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893068800001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893068800001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:23:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:23:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893068800001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":172395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:23:00] local.INFO: GPS data processed {"connection_id":172395,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:23:00] local.INFO: Acknowledgment sent {"connection_id":172395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:23:04] local.INFO: TCP Data received {"connection_id":172395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:23:04] local.INFO: Processing buffer {"connection_id":172395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:23:04] local.INFO: Packet analysis {"connection_id":172395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:23:04] local.INFO: Extracted packet for processing {"connection_id":172395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:23:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893068800001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788645101000,"timestamp_ms":1788645101000,"timestamp_seconds":1788645101,"priority":1,"record_length":96,"hex_timestamp":"000001a0738e4dc8"} 
[2026-09-06 03:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893068800001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893068800001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:23:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:23:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893068800001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":172395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:23:04] local.INFO: GPS data processed {"connection_id":172395,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:23:04] local.INFO: Acknowledgment sent {"connection_id":172395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:23:49] local.INFO: TCP Data received {"connection_id":172149,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:23:49] local.INFO: Processing buffer {"connection_id":172149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:23:49] local.INFO: IMEI packet received {"connection_id":172149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":172149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:23:54] local.INFO: TCP Data received {"connection_id":172149,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:23:54] local.INFO: Processing buffer {"connection_id":172149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:23:54] local.INFO: IMEI packet received {"connection_id":172149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":172149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:23:55] local.INFO: TCP Data received {"connection_id":172149,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:23:55] local.INFO: Processing buffer {"connection_id":172149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:23:55] local.INFO: Packet analysis {"connection_id":172149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:23:55] local.INFO: Extracted packet for processing {"connection_id":172149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:23:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893068800001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788645101000,"timestamp_ms":1788645101000,"timestamp_seconds":1788645101,"priority":1,"record_length":96,"hex_timestamp":"000001a0738e4dc8"} 
[2026-09-06 03:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893068800001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893068800001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:23:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:23:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893068800001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":172149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:23:55] local.INFO: GPS data processed {"connection_id":172149,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:23:55] local.INFO: Acknowledgment sent {"connection_id":172149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:24:25] local.INFO: TCP Data received {"connection_id":172149,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:24:25] local.INFO: Processing buffer {"connection_id":172149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:24:25] local.INFO: Packet analysis {"connection_id":172149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:24:25] local.INFO: Extracted packet for processing {"connection_id":172149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:24:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893068800001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:24:25] 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-09-06 03:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788645101000,"timestamp_ms":1788645101000,"timestamp_seconds":1788645101,"priority":1,"record_length":96,"hex_timestamp":"000001a0738e4dc8"} 
[2026-09-06 03:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:24: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-09-06 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:24: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-09-06 03:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893068800001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893068800001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:24:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:24:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893068800001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":172149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:24:25] local.INFO: GPS data processed {"connection_id":172149,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:24:25] local.INFO: Acknowledgment sent {"connection_id":172149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:24:38] local.INFO: TCP Data received {"connection_id":172150,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:24:38] local.INFO: Processing buffer {"connection_id":172150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:24:38] local.INFO: IMEI packet received {"connection_id":172150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 03:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":172150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:24:49] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:24:49] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:24:49] local.INFO: IMEI packet received {"connection_id":174842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":174842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:24:54] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:24:54] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:24:54] local.INFO: IMEI packet received {"connection_id":174842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":174842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:24:55] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:24:55] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:24:55] local.INFO: Packet analysis {"connection_id":174842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:24:55] local.INFO: Extracted packet for processing {"connection_id":174842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:24:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893068800001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788645101000,"timestamp_ms":1788645101000,"timestamp_seconds":1788645101,"priority":1,"record_length":96,"hex_timestamp":"000001a0738e4dc8"} 
[2026-09-06 03:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893068800001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893068800001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:24:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:24:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893068800001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":174842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:24:55] local.INFO: GPS data processed {"connection_id":174842,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:24:55] local.INFO: Acknowledgment sent {"connection_id":174842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:24:59] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:24:59] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:24:59] local.INFO: Packet analysis {"connection_id":174842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:24:59] local.INFO: Extracted packet for processing {"connection_id":174842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:24:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893068800001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:24:59] 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-09-06 03:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788645101000,"timestamp_ms":1788645101000,"timestamp_seconds":1788645101,"priority":1,"record_length":96,"hex_timestamp":"000001a0738e4dc8"} 
[2026-09-06 03:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:24: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-09-06 03:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893068800001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893068800001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:24:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:24:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893068800001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":174842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:24:59] local.INFO: GPS data processed {"connection_id":174842,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:24:59] local.INFO: Acknowledgment sent {"connection_id":174842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:25:31] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:25:31] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:25:31] local.INFO: Packet analysis {"connection_id":174842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:25:31] local.INFO: Extracted packet for processing {"connection_id":174842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:25:31] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893068800001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:25:31] 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-09-06 03:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788645101000,"timestamp_ms":1788645101000,"timestamp_seconds":1788645101,"priority":1,"record_length":96,"hex_timestamp":"000001a0738e4dc8"} 
[2026-09-06 03:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893068800001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893068800001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:25:31] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:25:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893068800001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":174842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:25:31] local.INFO: GPS data processed {"connection_id":174842,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:25:31] local.INFO: Acknowledgment sent {"connection_id":174842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:25:49] local.INFO: TCP Data received {"connection_id":173515,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:25:49] local.INFO: Processing buffer {"connection_id":173515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:25:49] local.INFO: IMEI packet received {"connection_id":173515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":173515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:25:54] local.INFO: TCP Data received {"connection_id":173515,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:25:54] local.INFO: Processing buffer {"connection_id":173515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:25:54] local.INFO: IMEI packet received {"connection_id":173515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":173515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:25:55] local.INFO: TCP Data received {"connection_id":173515,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:25:55] local.INFO: Processing buffer {"connection_id":173515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:25:55] local.INFO: Packet analysis {"connection_id":173515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:25:55] local.INFO: Extracted packet for processing {"connection_id":173515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:25:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893068800001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788645101000,"timestamp_ms":1788645101000,"timestamp_seconds":1788645101,"priority":1,"record_length":96,"hex_timestamp":"000001a0738e4dc8"} 
[2026-09-06 03:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893068800001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893068800001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:25:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:25:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893068800001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":173515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:25:55] local.INFO: GPS data processed {"connection_id":173515,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:25:55] local.INFO: Acknowledgment sent {"connection_id":173515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:26:25] local.INFO: TCP Data received {"connection_id":173515,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:26:25] local.INFO: Processing buffer {"connection_id":173515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:26:25] local.INFO: Packet analysis {"connection_id":173515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:26:25] local.INFO: Extracted packet for processing {"connection_id":173515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:26:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893068800001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:26:25] 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-09-06 03:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788645101000,"timestamp_ms":1788645101000,"timestamp_seconds":1788645101,"priority":1,"record_length":96,"hex_timestamp":"000001a0738e4dc8"} 
[2026-09-06 03:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:26: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-09-06 03:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893068800001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893068800001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:26:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:26:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893068800001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":173515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:26:25] local.INFO: GPS data processed {"connection_id":173515,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:26:25] local.INFO: Acknowledgment sent {"connection_id":173515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:26:49] local.INFO: TCP Data received {"connection_id":172152,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:26:49] local.INFO: Processing buffer {"connection_id":172152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:26:49] local.INFO: IMEI packet received {"connection_id":172152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":172152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:26:54] local.INFO: TCP Data received {"connection_id":172152,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:26:54] local.INFO: Processing buffer {"connection_id":172152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:26:54] local.INFO: IMEI packet received {"connection_id":172152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":172152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:26:55] local.INFO: TCP Data received {"connection_id":172152,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:26:55] local.INFO: Processing buffer {"connection_id":172152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0738e4dc8012d532d00064970480006014732..."} 
[2026-09-06 03:26:55] local.INFO: Packet analysis {"connection_id":172152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:26:55] local.INFO: Extracted packet for processing {"connection_id":172152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0738e"} 
[2026-09-06 03:26:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893068800001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788645101000,"timestamp_ms":1788645101000,"timestamp_seconds":1788645101,"priority":1,"record_length":96,"hex_timestamp":"000001a0738e4dc8"} 
[2026-09-06 03:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893068800001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893068800001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:26:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:26:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893068800001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":172152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:26:55] local.INFO: GPS data processed {"connection_id":172152,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:26:55] local.INFO: Acknowledgment sent {"connection_id":172152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:27:26] local.INFO: TCP Data received {"connection_id":172152,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:27:26] local.INFO: Processing buffer {"connection_id":172152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:27:26] local.INFO: Packet analysis {"connection_id":172152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:27:26] local.INFO: Extracted packet for processing {"connection_id":172152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:27:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893145856001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:27: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-09-06 03:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788645402000,"timestamp_ms":1788645402000,"timestamp_seconds":1788645402,"priority":1,"record_length":96,"hex_timestamp":"000001a07392e590"} 
[2026-09-06 03:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:27: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-09-06 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:27: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-09-06 03:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893145856001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893145856001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:27:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:27:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893145856001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":172152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:27:26] local.INFO: GPS data processed {"connection_id":172152,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:27:26] local.INFO: Acknowledgment sent {"connection_id":172152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:27:54] local.INFO: TCP Data received {"connection_id":172153,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:27:54] local.INFO: Processing buffer {"connection_id":172153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:27:54] local.INFO: IMEI packet received {"connection_id":172153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":172153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:27:59] local.INFO: TCP Data received {"connection_id":172153,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:27:59] local.INFO: Processing buffer {"connection_id":172153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:27:59] local.INFO: IMEI packet received {"connection_id":172153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":172153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:28:00] local.INFO: TCP Data received {"connection_id":172153,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:28:00] local.INFO: Processing buffer {"connection_id":172153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:28:00] local.INFO: Packet analysis {"connection_id":172153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:28:00] local.INFO: Extracted packet for processing {"connection_id":172153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:28:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893145856001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:28:00] 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-09-06 03:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788645402000,"timestamp_ms":1788645402000,"timestamp_seconds":1788645402,"priority":1,"record_length":96,"hex_timestamp":"000001a07392e590"} 
[2026-09-06 03:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893145856001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893145856001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:28:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:28:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893145856001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":172153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:28:00] local.INFO: GPS data processed {"connection_id":172153,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:28:00] local.INFO: Acknowledgment sent {"connection_id":172153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:28:31] local.INFO: TCP Data received {"connection_id":172153,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:28:31] local.INFO: Processing buffer {"connection_id":172153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:28:31] local.INFO: Packet analysis {"connection_id":172153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:28:31] local.INFO: Extracted packet for processing {"connection_id":172153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:28:31] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893145856001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:28:31] 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-09-06 03:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788645402000,"timestamp_ms":1788645402000,"timestamp_seconds":1788645402,"priority":1,"record_length":96,"hex_timestamp":"000001a07392e590"} 
[2026-09-06 03:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893145856001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893145856001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:28:31] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:28:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893145856001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":172153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:28:31] local.INFO: GPS data processed {"connection_id":172153,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:28:31] local.INFO: Acknowledgment sent {"connection_id":172153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:28:49] local.INFO: TCP Data received {"connection_id":173518,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:28:49] local.INFO: Processing buffer {"connection_id":173518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:28:49] local.INFO: IMEI packet received {"connection_id":173518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":173518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:28:54] local.INFO: TCP Data received {"connection_id":173518,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:28:54] local.INFO: Processing buffer {"connection_id":173518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:28:54] local.INFO: IMEI packet received {"connection_id":173518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":173518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:28:55] local.INFO: TCP Data received {"connection_id":173518,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:28:55] local.INFO: Processing buffer {"connection_id":173518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:28:55] local.INFO: Packet analysis {"connection_id":173518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:28:55] local.INFO: Extracted packet for processing {"connection_id":173518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:28:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893145856001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788645402000,"timestamp_ms":1788645402000,"timestamp_seconds":1788645402,"priority":1,"record_length":96,"hex_timestamp":"000001a07392e590"} 
[2026-09-06 03:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893145856001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893145856001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:28:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:28:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893145856001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":173518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:28:55] local.INFO: GPS data processed {"connection_id":173518,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:28:55] local.INFO: Acknowledgment sent {"connection_id":173518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:29:26] local.INFO: TCP Data received {"connection_id":173518,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:29:26] local.INFO: Processing buffer {"connection_id":173518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:29:26] local.INFO: Packet analysis {"connection_id":173518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:29:26] local.INFO: Extracted packet for processing {"connection_id":173518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:29:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893145856001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:29: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-09-06 03:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788645402000,"timestamp_ms":1788645402000,"timestamp_seconds":1788645402,"priority":1,"record_length":96,"hex_timestamp":"000001a07392e590"} 
[2026-09-06 03:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:29: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-09-06 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:29: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-09-06 03:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893145856001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893145856001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:29:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:29:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893145856001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":173518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:29:26] local.INFO: GPS data processed {"connection_id":173518,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:29:26] local.INFO: Acknowledgment sent {"connection_id":173518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:29:49] local.INFO: TCP Data received {"connection_id":173519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:29:49] local.INFO: Processing buffer {"connection_id":173519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:29:49] local.INFO: IMEI packet received {"connection_id":173519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":173519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:29:54] local.INFO: TCP Data received {"connection_id":173519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:29:54] local.INFO: Processing buffer {"connection_id":173519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:29:54] local.INFO: IMEI packet received {"connection_id":173519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":173519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:29:56] local.INFO: TCP Data received {"connection_id":173519,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:29:56] local.INFO: Processing buffer {"connection_id":173519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:29:56] local.INFO: Packet analysis {"connection_id":173519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:29:56] local.INFO: Extracted packet for processing {"connection_id":173519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:29:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893145856001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:29:56] 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-09-06 03:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788645402000,"timestamp_ms":1788645402000,"timestamp_seconds":1788645402,"priority":1,"record_length":96,"hex_timestamp":"000001a07392e590"} 
[2026-09-06 03:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:29: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-09-06 03:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893145856001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893145856001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:29:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:29:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893145856001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":173519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:29:56] local.INFO: GPS data processed {"connection_id":173519,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:29:56] local.INFO: Acknowledgment sent {"connection_id":173519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:30:12] local.INFO: TCP Data received {"connection_id":172398,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:30:12] local.INFO: Processing buffer {"connection_id":172398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:30:12] local.INFO: IMEI packet received {"connection_id":172398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 03:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":172398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:30:27] local.INFO: TCP Data received {"connection_id":173519,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:30:27] local.INFO: Processing buffer {"connection_id":173519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:30:27] local.INFO: Packet analysis {"connection_id":173519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:30:27] local.INFO: Extracted packet for processing {"connection_id":173519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:30:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893145856001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:30:27] 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-09-06 03:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788645402000,"timestamp_ms":1788645402000,"timestamp_seconds":1788645402,"priority":1,"record_length":96,"hex_timestamp":"000001a07392e590"} 
[2026-09-06 03:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:30: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-09-06 03:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:30: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-09-06 03:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893145856001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893145856001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:30:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:30:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893145856001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":173519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:30:27] local.INFO: GPS data processed {"connection_id":173519,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:30:27] local.INFO: Acknowledgment sent {"connection_id":173519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:30:49] local.INFO: TCP Data received {"connection_id":173520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:30:49] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:30:49] local.INFO: IMEI packet received {"connection_id":173520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":173520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:30:54] local.INFO: TCP Data received {"connection_id":173520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:30:54] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:30:54] local.INFO: IMEI packet received {"connection_id":173520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":173520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:30:57] local.INFO: TCP Data received {"connection_id":173520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:30:57] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:30:57] local.INFO: Packet analysis {"connection_id":173520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:30:57] local.INFO: Extracted packet for processing {"connection_id":173520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:30:57] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893145856001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:30:57] 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-09-06 03:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788645402000,"timestamp_ms":1788645402000,"timestamp_seconds":1788645402,"priority":1,"record_length":96,"hex_timestamp":"000001a07392e590"} 
[2026-09-06 03:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:30: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-09-06 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893145856001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893145856001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:30:57] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:30:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893145856001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":173520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:30:57] local.INFO: GPS data processed {"connection_id":173520,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:30:57] local.INFO: Acknowledgment sent {"connection_id":173520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:31:28] local.INFO: TCP Data received {"connection_id":173520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:31:28] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:31:28] local.INFO: Packet analysis {"connection_id":173520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:31:28] local.INFO: Extracted packet for processing {"connection_id":173520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:31:28] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893145856001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:31:28] 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-09-06 03:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788645402000,"timestamp_ms":1788645402000,"timestamp_seconds":1788645402,"priority":1,"record_length":96,"hex_timestamp":"000001a07392e590"} 
[2026-09-06 03:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:31: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-09-06 03:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893145856001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893145856001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:31:28] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:31:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893145856001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":173520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:31:28] local.INFO: GPS data processed {"connection_id":173520,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:31:28] local.INFO: Acknowledgment sent {"connection_id":173520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:31:54] local.INFO: TCP Data received {"connection_id":172400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:31:54] local.INFO: Processing buffer {"connection_id":172400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:31:54] local.INFO: IMEI packet received {"connection_id":172400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":172400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:31:59] local.INFO: TCP Data received {"connection_id":172400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:31:59] local.INFO: Processing buffer {"connection_id":172400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:31:59] local.INFO: IMEI packet received {"connection_id":172400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":172400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:31:59] local.INFO: TCP Data received {"connection_id":172400,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:31:59] local.INFO: Processing buffer {"connection_id":172400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:31:59] local.INFO: Packet analysis {"connection_id":172400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:31:59] local.INFO: Extracted packet for processing {"connection_id":172400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:31:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893145856001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:31:59] 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-09-06 03:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788645402000,"timestamp_ms":1788645402000,"timestamp_seconds":1788645402,"priority":1,"record_length":96,"hex_timestamp":"000001a07392e590"} 
[2026-09-06 03:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:31: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-09-06 03:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893145856001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893145856001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:31:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:31:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893145856001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":172400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:32:00] local.INFO: GPS data processed {"connection_id":172400,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:32:00] local.INFO: Acknowledgment sent {"connection_id":172400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:32:04] local.INFO: TCP Data received {"connection_id":172400,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:32:04] local.INFO: Processing buffer {"connection_id":172400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07392e590012d532d0006497048000601472f..."} 
[2026-09-06 03:32:04] local.INFO: Packet analysis {"connection_id":172400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:32:04] local.INFO: Extracted packet for processing {"connection_id":172400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07392"} 
[2026-09-06 03:32:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893145856001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788645402000,"timestamp_ms":1788645402000,"timestamp_seconds":1788645402,"priority":1,"record_length":96,"hex_timestamp":"000001a07392e590"} 
[2026-09-06 03:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 03:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893145856001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893145856001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:32:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:32:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893145856001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":172400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:32:04] local.INFO: GPS data processed {"connection_id":172400,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:32:04] local.INFO: Acknowledgment sent {"connection_id":172400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:32:49] local.INFO: TCP Data received {"connection_id":174844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:32:49] local.INFO: Processing buffer {"connection_id":174844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:32:49] local.INFO: IMEI packet received {"connection_id":174844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":174844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:32:54] local.INFO: TCP Data received {"connection_id":174844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:32:54] local.INFO: Processing buffer {"connection_id":174844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:32:54] local.INFO: IMEI packet received {"connection_id":174844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":174844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:32:55] local.INFO: TCP Data received {"connection_id":174844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:32:55] local.INFO: Processing buffer {"connection_id":174844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:32:55] local.INFO: Packet analysis {"connection_id":174844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:32:55] local.INFO: Extracted packet for processing {"connection_id":174844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:32:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893222912001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788645703000,"timestamp_ms":1788645703000,"timestamp_seconds":1788645703,"priority":1,"record_length":96,"hex_timestamp":"000001a073977d58"} 
[2026-09-06 03:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:32: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-09-06 03:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:32:55] 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-09-06 03:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893222912001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893222912001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:32:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:32:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893222912001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":174844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:32:55] local.INFO: GPS data processed {"connection_id":174844,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:32:55] local.INFO: Acknowledgment sent {"connection_id":174844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:33:26] local.INFO: TCP Data received {"connection_id":174844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:33:26] local.INFO: Processing buffer {"connection_id":174844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:33:26] local.INFO: Packet analysis {"connection_id":174844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:33:26] local.INFO: Extracted packet for processing {"connection_id":174844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:33:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893222912001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03: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-09-06 03:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788645703000,"timestamp_ms":1788645703000,"timestamp_seconds":1788645703,"priority":1,"record_length":96,"hex_timestamp":"000001a073977d58"} 
[2026-09-06 03:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:33: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-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:33: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-09-06 03: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-09-06 03:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:33: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-09-06 03:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893222912001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893222912001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:33:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:33:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893222912001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":174844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:33:26] local.INFO: GPS data processed {"connection_id":174844,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:33:26] local.INFO: Acknowledgment sent {"connection_id":174844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:33:49] local.INFO: TCP Data received {"connection_id":172154,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:33:49] local.INFO: Processing buffer {"connection_id":172154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:33:49] local.INFO: IMEI packet received {"connection_id":172154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":172154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:33:54] local.INFO: TCP Data received {"connection_id":172154,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:33:54] local.INFO: Processing buffer {"connection_id":172154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:33:54] local.INFO: IMEI packet received {"connection_id":172154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":172154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:33:55] local.INFO: TCP Data received {"connection_id":172154,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:33:55] local.INFO: Processing buffer {"connection_id":172154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:33:55] local.INFO: Packet analysis {"connection_id":172154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:33:55] local.INFO: Extracted packet for processing {"connection_id":172154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:33:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893222912001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788645703000,"timestamp_ms":1788645703000,"timestamp_seconds":1788645703,"priority":1,"record_length":96,"hex_timestamp":"000001a073977d58"} 
[2026-09-06 03:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:33: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-09-06 03:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:33:55] 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-09-06 03:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893222912001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893222912001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:33:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:33:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893222912001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":172154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:33:55] local.INFO: GPS data processed {"connection_id":172154,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:33:55] local.INFO: Acknowledgment sent {"connection_id":172154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:34:26] local.INFO: TCP Data received {"connection_id":172154,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:34:26] local.INFO: Processing buffer {"connection_id":172154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:34:26] local.INFO: Packet analysis {"connection_id":172154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:34:26] local.INFO: Extracted packet for processing {"connection_id":172154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:34:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893222912001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:34: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-09-06 03:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788645703000,"timestamp_ms":1788645703000,"timestamp_seconds":1788645703,"priority":1,"record_length":96,"hex_timestamp":"000001a073977d58"} 
[2026-09-06 03:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:34: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-09-06 03:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:34: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-09-06 03:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:34: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-09-06 03:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893222912001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893222912001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:34:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:34:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893222912001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":172154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:34:26] local.INFO: GPS data processed {"connection_id":172154,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:34:26] local.INFO: Acknowledgment sent {"connection_id":172154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:34:49] local.INFO: TCP Data received {"connection_id":174846,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:34:49] local.INFO: Processing buffer {"connection_id":174846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:34:49] local.INFO: IMEI packet received {"connection_id":174846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":174846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:34:54] local.INFO: TCP Data received {"connection_id":174846,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:34:54] local.INFO: Processing buffer {"connection_id":174846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:34:54] local.INFO: IMEI packet received {"connection_id":174846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":174846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:34:55] local.INFO: TCP Data received {"connection_id":174846,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:34:55] local.INFO: Processing buffer {"connection_id":174846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:34:55] local.INFO: Packet analysis {"connection_id":174846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:34:55] local.INFO: Extracted packet for processing {"connection_id":174846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:34:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893222912001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788645703000,"timestamp_ms":1788645703000,"timestamp_seconds":1788645703,"priority":1,"record_length":96,"hex_timestamp":"000001a073977d58"} 
[2026-09-06 03:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:34: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-09-06 03:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:34:55] 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-09-06 03:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893222912001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893222912001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:34:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:34:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893222912001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":174846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:34:55] local.INFO: GPS data processed {"connection_id":174846,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:34:55] local.INFO: Acknowledgment sent {"connection_id":174846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:35:26] local.INFO: TCP Data received {"connection_id":174846,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:35:26] local.INFO: Processing buffer {"connection_id":174846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:35:26] local.INFO: Packet analysis {"connection_id":174846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:35:26] local.INFO: Extracted packet for processing {"connection_id":174846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:35:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893222912001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:35: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-09-06 03:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788645703000,"timestamp_ms":1788645703000,"timestamp_seconds":1788645703,"priority":1,"record_length":96,"hex_timestamp":"000001a073977d58"} 
[2026-09-06 03:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:35: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-09-06 03: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-09-06 03:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:35: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-09-06 03:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893222912001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893222912001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:35:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:35:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893222912001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":174846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:35:26] local.INFO: GPS data processed {"connection_id":174846,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:35:26] local.INFO: Acknowledgment sent {"connection_id":174846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:35:38] local.INFO: TCP Data received {"connection_id":173521,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:35:38] local.INFO: Processing buffer {"connection_id":173521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:35:38] local.INFO: IMEI packet received {"connection_id":173521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 03:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":173521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:35:49] local.INFO: TCP Data received {"connection_id":172402,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:35:49] local.INFO: Processing buffer {"connection_id":172402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:35:49] local.INFO: IMEI packet received {"connection_id":172402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":172402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:35:54] local.INFO: TCP Data received {"connection_id":172402,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:35:54] local.INFO: Processing buffer {"connection_id":172402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:35:54] local.INFO: IMEI packet received {"connection_id":172402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":172402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:35:55] local.INFO: TCP Data received {"connection_id":172402,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:35:55] local.INFO: Processing buffer {"connection_id":172402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:35:55] local.INFO: Packet analysis {"connection_id":172402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:35:55] local.INFO: Extracted packet for processing {"connection_id":172402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:35:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893222912001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788645703000,"timestamp_ms":1788645703000,"timestamp_seconds":1788645703,"priority":1,"record_length":96,"hex_timestamp":"000001a073977d58"} 
[2026-09-06 03:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:35: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-09-06 03:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:35:55] 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-09-06 03:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893222912001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893222912001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:35:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:35:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893222912001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":172402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:35:55] local.INFO: GPS data processed {"connection_id":172402,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:35:55] local.INFO: Acknowledgment sent {"connection_id":172402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:36:25] local.INFO: TCP Data received {"connection_id":172402,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:36:25] local.INFO: Processing buffer {"connection_id":172402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:36:25] local.INFO: Packet analysis {"connection_id":172402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:36:25] local.INFO: Extracted packet for processing {"connection_id":172402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:36:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893222912001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:36:25] 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-09-06 03:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788645703000,"timestamp_ms":1788645703000,"timestamp_seconds":1788645703,"priority":1,"record_length":96,"hex_timestamp":"000001a073977d58"} 
[2026-09-06 03:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:36: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-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:36:25] 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-09-06 03: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-09-06 03:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:36: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-09-06 03:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893222912001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893222912001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:36:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:36:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893222912001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":172402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:36:25] local.INFO: GPS data processed {"connection_id":172402,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:36:25] local.INFO: Acknowledgment sent {"connection_id":172402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:36:54] local.INFO: TCP Data received {"connection_id":173522,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:36:54] local.INFO: Processing buffer {"connection_id":173522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:36:54] local.INFO: IMEI packet received {"connection_id":173522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":173522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:36:59] local.INFO: TCP Data received {"connection_id":173522,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:36:59] local.INFO: Processing buffer {"connection_id":173522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:36:59] local.INFO: IMEI packet received {"connection_id":173522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":173522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:37:00] local.INFO: TCP Data received {"connection_id":173522,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:37:00] local.INFO: Processing buffer {"connection_id":173522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:37:00] local.INFO: Packet analysis {"connection_id":173522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:37:00] local.INFO: Extracted packet for processing {"connection_id":173522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:37:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893222912001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:37:00] 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-09-06 03:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788645703000,"timestamp_ms":1788645703000,"timestamp_seconds":1788645703,"priority":1,"record_length":96,"hex_timestamp":"000001a073977d58"} 
[2026-09-06 03:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:37: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-09-06 03:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:37:00] 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-09-06 03:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893222912001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893222912001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:37:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:37:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893222912001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":173522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:37:00] local.INFO: GPS data processed {"connection_id":173522,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:37:00] local.INFO: Acknowledgment sent {"connection_id":173522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:37:04] local.INFO: TCP Data received {"connection_id":173522,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:37:04] local.INFO: Processing buffer {"connection_id":173522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073977d58012d532d00064970480006014732..."} 
[2026-09-06 03:37:04] local.INFO: Packet analysis {"connection_id":173522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:37:04] local.INFO: Extracted packet for processing {"connection_id":173522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07397"} 
[2026-09-06 03:37:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893222912001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788645703000,"timestamp_ms":1788645703000,"timestamp_seconds":1788645703,"priority":1,"record_length":96,"hex_timestamp":"000001a073977d58"} 
[2026-09-06 03:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:37: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-09-06 03:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:37:04] 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-09-06 03:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893222912001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893222912001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:37:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:37:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893222912001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":173522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:37:04] local.INFO: GPS data processed {"connection_id":173522,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:37:04] local.INFO: Acknowledgment sent {"connection_id":173522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:37:49] local.INFO: TCP Data received {"connection_id":174848,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:37:49] local.INFO: Processing buffer {"connection_id":174848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:37:49] local.INFO: IMEI packet received {"connection_id":174848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":174848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:37:54] local.INFO: TCP Data received {"connection_id":174848,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:37:54] local.INFO: Processing buffer {"connection_id":174848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:37:54] local.INFO: IMEI packet received {"connection_id":174848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":174848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:37:55] local.INFO: TCP Data received {"connection_id":174848,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:37:55] local.INFO: Processing buffer {"connection_id":174848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:37:55] local.INFO: Packet analysis {"connection_id":174848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:37:55] local.INFO: Extracted packet for processing {"connection_id":174848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:37:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893299968001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788646004000,"timestamp_ms":1788646004000,"timestamp_seconds":1788646004,"priority":1,"record_length":96,"hex_timestamp":"000001a0739c1520"} 
[2026-09-06 03:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:37:55] 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-09-06 03:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893299968001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893299968001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:37:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:37:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893299968001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":174848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:37:55] local.INFO: GPS data processed {"connection_id":174848,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:37:55] local.INFO: Acknowledgment sent {"connection_id":174848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:38:25] local.INFO: TCP Data received {"connection_id":174848,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:38:25] local.INFO: Processing buffer {"connection_id":174848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:38:25] local.INFO: Packet analysis {"connection_id":174848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:38:25] local.INFO: Extracted packet for processing {"connection_id":174848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:38:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893299968001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:38:25] 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-09-06 03:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788646004000,"timestamp_ms":1788646004000,"timestamp_seconds":1788646004,"priority":1,"record_length":96,"hex_timestamp":"000001a0739c1520"} 
[2026-09-06 03:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:38: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-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:38:25] 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-09-06 03: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-09-06 03:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893299968001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893299968001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:38:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:38:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893299968001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":174848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:38:25] local.INFO: GPS data processed {"connection_id":174848,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:38:25] local.INFO: Acknowledgment sent {"connection_id":174848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:38:49] local.INFO: TCP Data received {"connection_id":172404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:38:49] local.INFO: Processing buffer {"connection_id":172404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:38:49] local.INFO: IMEI packet received {"connection_id":172404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":172404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:38:54] local.INFO: TCP Data received {"connection_id":172404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:38:54] local.INFO: Processing buffer {"connection_id":172404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:38:54] local.INFO: IMEI packet received {"connection_id":172404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":172404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:38:54] local.INFO: TCP Data received {"connection_id":172404,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:38:54] local.INFO: Processing buffer {"connection_id":172404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:38:54] local.INFO: Packet analysis {"connection_id":172404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:38:54] local.INFO: Extracted packet for processing {"connection_id":172404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:38:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893299968001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:38:54] 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-09-06 03:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788646004000,"timestamp_ms":1788646004000,"timestamp_seconds":1788646004,"priority":1,"record_length":96,"hex_timestamp":"000001a0739c1520"} 
[2026-09-06 03:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:38: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-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:38:54] 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-09-06 03: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-09-06 03:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:38: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-09-06 03:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893299968001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893299968001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:38:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:38:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893299968001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":172404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:38:55] local.INFO: GPS data processed {"connection_id":172404,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:38:55] local.INFO: Acknowledgment sent {"connection_id":172404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:39:25] local.INFO: TCP Data received {"connection_id":172404,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:39:25] local.INFO: Processing buffer {"connection_id":172404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:39:25] local.INFO: Packet analysis {"connection_id":172404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:39:25] local.INFO: Extracted packet for processing {"connection_id":172404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:39:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893299968001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:39:25] 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-09-06 03:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788646004000,"timestamp_ms":1788646004000,"timestamp_seconds":1788646004,"priority":1,"record_length":96,"hex_timestamp":"000001a0739c1520"} 
[2026-09-06 03:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:39: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-09-06 03:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:39:25] 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-09-06 03:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:39: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-09-06 03:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893299968001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893299968001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:39:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:39:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893299968001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":172404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:39:25] local.INFO: GPS data processed {"connection_id":172404,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:39:25] local.INFO: Acknowledgment sent {"connection_id":172404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:39:49] local.INFO: TCP Data received {"connection_id":172156,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:39:49] local.INFO: Processing buffer {"connection_id":172156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:39:49] local.INFO: IMEI packet received {"connection_id":172156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":172156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:39:54] local.INFO: TCP Data received {"connection_id":172156,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:39:54] local.INFO: Processing buffer {"connection_id":172156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:39:54] local.INFO: IMEI packet received {"connection_id":172156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":172156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:39:54] local.INFO: TCP Data received {"connection_id":172156,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:39:55] local.INFO: Processing buffer {"connection_id":172156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:39:55] local.INFO: Packet analysis {"connection_id":172156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:39:55] local.INFO: Extracted packet for processing {"connection_id":172156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:39:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893299968001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788646004000,"timestamp_ms":1788646004000,"timestamp_seconds":1788646004,"priority":1,"record_length":96,"hex_timestamp":"000001a0739c1520"} 
[2026-09-06 03:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:39:55] 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-09-06 03: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-09-06 03:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893299968001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893299968001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:39:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:39:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893299968001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":172156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:39:55] local.INFO: GPS data processed {"connection_id":172156,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:39:55] local.INFO: Acknowledgment sent {"connection_id":172156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:40:25] local.INFO: TCP Data received {"connection_id":172156,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:40:25] local.INFO: Processing buffer {"connection_id":172156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:40:25] local.INFO: Packet analysis {"connection_id":172156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:40:25] local.INFO: Extracted packet for processing {"connection_id":172156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:40:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893299968001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:40:25] 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-09-06 03:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788646004000,"timestamp_ms":1788646004000,"timestamp_seconds":1788646004,"priority":1,"record_length":96,"hex_timestamp":"000001a0739c1520"} 
[2026-09-06 03:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:40: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-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:40:25] 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-09-06 03: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-09-06 03:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:40: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-09-06 03:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893299968001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893299968001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:40:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:40:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893299968001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":172156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:40:25] local.INFO: GPS data processed {"connection_id":172156,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:40:25] local.INFO: Acknowledgment sent {"connection_id":172156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:40:49] local.INFO: TCP Data received {"connection_id":172405,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:40:49] local.INFO: Processing buffer {"connection_id":172405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:40:49] local.INFO: IMEI packet received {"connection_id":172405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":172405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:40:54] local.INFO: TCP Data received {"connection_id":172405,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:40:54] local.INFO: Processing buffer {"connection_id":172405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:40:54] local.INFO: IMEI packet received {"connection_id":172405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":172405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:40:54] local.INFO: TCP Data received {"connection_id":172405,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:40:54] local.INFO: Processing buffer {"connection_id":172405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:40:54] local.INFO: Packet analysis {"connection_id":172405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:40:54] local.INFO: Extracted packet for processing {"connection_id":172405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:40:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 03:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893299968001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:40:54] 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-09-06 03:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788646004000,"timestamp_ms":1788646004000,"timestamp_seconds":1788646004,"priority":1,"record_length":96,"hex_timestamp":"000001a0739c1520"} 
[2026-09-06 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-09-06 03: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-09-06 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":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:40:54] 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-09-06 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-09-06 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-09-06 03:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:40: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-09-06 03:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893299968001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893299968001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:40:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:40:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893299968001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":172405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:40:54] local.INFO: GPS data processed {"connection_id":172405,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:40:54] local.INFO: Acknowledgment sent {"connection_id":172405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:41:18] local.INFO: TCP Data received {"connection_id":173524,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:41:18] local.INFO: Processing buffer {"connection_id":173524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:41:18] local.INFO: IMEI packet received {"connection_id":173524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 03:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":173524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:41:25] local.INFO: TCP Data received {"connection_id":172405,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:41:25] local.INFO: Processing buffer {"connection_id":172405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:41:25] local.INFO: Packet analysis {"connection_id":172405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:41:25] local.INFO: Extracted packet for processing {"connection_id":172405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:41:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 03:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893299968001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:41:25] 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-09-06 03:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788646004000,"timestamp_ms":1788646004000,"timestamp_seconds":1788646004,"priority":1,"record_length":96,"hex_timestamp":"000001a0739c1520"} 
[2026-09-06 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-09-06 03:41: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-09-06 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":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:41:25] 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-09-06 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-09-06 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-09-06 03:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:41: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-09-06 03:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893299968001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893299968001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:41:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:41:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893299968001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":172405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:41:25] local.INFO: GPS data processed {"connection_id":172405,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:41:25] local.INFO: Acknowledgment sent {"connection_id":172405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:41:49] local.INFO: TCP Data received {"connection_id":174850,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:41:49] local.INFO: Processing buffer {"connection_id":174850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:41:49] local.INFO: IMEI packet received {"connection_id":174850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":174850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:41:54] local.INFO: TCP Data received {"connection_id":174850,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:41:54] local.INFO: Processing buffer {"connection_id":174850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:41:54] local.INFO: IMEI packet received {"connection_id":174850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":174850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:41:55] local.INFO: TCP Data received {"connection_id":174850,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:41:55] local.INFO: Processing buffer {"connection_id":174850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0739c1520012d532d00064970480006014730..."} 
[2026-09-06 03:41:55] local.INFO: Packet analysis {"connection_id":174850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:41:55] local.INFO: Extracted packet for processing {"connection_id":174850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0739c"} 
[2026-09-06 03:41:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":48,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893299968001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788646004000,"timestamp_ms":1788646004000,"timestamp_seconds":1788646004,"priority":1,"record_length":96,"hex_timestamp":"000001a0739c1520"} 
[2026-09-06 03:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:41:55] 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-09-06 03:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893299968001,"66":25321,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893299968001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:41:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:41:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893299968001,"power":25321,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":174850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:41:55] local.INFO: GPS data processed {"connection_id":174850,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:41:55] local.INFO: Acknowledgment sent {"connection_id":174850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:42:26] local.INFO: TCP Data received {"connection_id":174850,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:42:26] local.INFO: Processing buffer {"connection_id":174850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:42:26] local.INFO: Packet analysis {"connection_id":174850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:42:26] local.INFO: Extracted packet for processing {"connection_id":174850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:42:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":51,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893377024001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:42: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-09-06 03:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788646305000,"timestamp_ms":1788646305000,"timestamp_seconds":1788646305,"priority":1,"record_length":96,"hex_timestamp":"000001a073a0ace8"} 
[2026-09-06 03:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:42: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-09-06 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 03:42: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-09-06 03: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-09-06 03:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:42: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-09-06 03:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893377024001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893377024001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:42:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:42:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893377024001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":174850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:42:26] local.INFO: GPS data processed {"connection_id":174850,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:42:26] local.INFO: Acknowledgment sent {"connection_id":174850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:42:54] local.INFO: TCP Data received {"connection_id":172407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:42:54] local.INFO: Processing buffer {"connection_id":172407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:42:54] local.INFO: IMEI packet received {"connection_id":172407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":172407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:42:59] local.INFO: TCP Data received {"connection_id":172407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:42:59] local.INFO: Processing buffer {"connection_id":172407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:42:59] local.INFO: IMEI packet received {"connection_id":172407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":172407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:43:01] local.INFO: TCP Data received {"connection_id":172407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:43:01] local.INFO: Processing buffer {"connection_id":172407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:43:01] local.INFO: Packet analysis {"connection_id":172407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:43:01] local.INFO: Extracted packet for processing {"connection_id":172407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:43:01] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":51,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893377024001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:43:01] 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-09-06 03:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788646305000,"timestamp_ms":1788646305000,"timestamp_seconds":1788646305,"priority":1,"record_length":96,"hex_timestamp":"000001a073a0ace8"} 
[2026-09-06 03:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 03:43: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-09-06 03: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-09-06 03:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:43: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-09-06 03:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893377024001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893377024001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:43:01] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:43:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893377024001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":172407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:43:01] local.INFO: GPS data processed {"connection_id":172407,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:43:01] local.INFO: Acknowledgment sent {"connection_id":172407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:43:32] local.INFO: TCP Data received {"connection_id":172407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:43:32] local.INFO: Processing buffer {"connection_id":172407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:43:32] local.INFO: Packet analysis {"connection_id":172407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:43:32] local.INFO: Extracted packet for processing {"connection_id":172407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:43:32] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":51,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893377024001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:43:32] 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-09-06 03:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788646305000,"timestamp_ms":1788646305000,"timestamp_seconds":1788646305,"priority":1,"record_length":96,"hex_timestamp":"000001a073a0ace8"} 
[2026-09-06 03:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 03:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893377024001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893377024001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:43:32] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:43:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893377024001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":172407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:43:32] local.INFO: GPS data processed {"connection_id":172407,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:43:32] local.INFO: Acknowledgment sent {"connection_id":172407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:43:52] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:43:52] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:43:52] local.INFO: IMEI packet received {"connection_id":173525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":173525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:43:54] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:43:54] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:43:54] local.INFO: IMEI packet received {"connection_id":173525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":173525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:43:59] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:43:59] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:43:59] local.INFO: IMEI packet received {"connection_id":173525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":173525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:43:59] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:43:59] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:43:59] local.INFO: Packet analysis {"connection_id":173525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:43:59] local.INFO: Extracted packet for processing {"connection_id":173525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:43:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":51,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893377024001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:43:59] 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-09-06 03:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788646305000,"timestamp_ms":1788646305000,"timestamp_seconds":1788646305,"priority":1,"record_length":96,"hex_timestamp":"000001a073a0ace8"} 
[2026-09-06 03:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:43: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-09-06 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 03:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893377024001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893377024001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:43:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:43:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893377024001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":173525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:43:59] local.INFO: GPS data processed {"connection_id":173525,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:43:59] local.INFO: Acknowledgment sent {"connection_id":173525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:44:30] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:44:30] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:44:30] local.INFO: Packet analysis {"connection_id":173525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:44:30] local.INFO: Extracted packet for processing {"connection_id":173525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:44:30] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":51,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893377024001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:44:30] 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-09-06 03:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788646305000,"timestamp_ms":1788646305000,"timestamp_seconds":1788646305,"priority":1,"record_length":96,"hex_timestamp":"000001a073a0ace8"} 
[2026-09-06 03:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 03:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893377024001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893377024001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:44:30] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:44:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893377024001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":173525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:44:30] local.INFO: GPS data processed {"connection_id":173525,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:44:30] local.INFO: Acknowledgment sent {"connection_id":173525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:44:49] local.INFO: TCP Data received {"connection_id":173526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:44:49] local.INFO: Processing buffer {"connection_id":173526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:44:49] local.INFO: IMEI packet received {"connection_id":173526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":173526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:44:54] local.INFO: TCP Data received {"connection_id":173526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:44:54] local.INFO: Processing buffer {"connection_id":173526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:44:54] local.INFO: IMEI packet received {"connection_id":173526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":173526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:44:55] local.INFO: TCP Data received {"connection_id":173526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:44:55] local.INFO: Processing buffer {"connection_id":173526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:44:55] local.INFO: Packet analysis {"connection_id":173526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:44:55] local.INFO: Extracted packet for processing {"connection_id":173526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:44:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":51,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893377024001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788646305000,"timestamp_ms":1788646305000,"timestamp_seconds":1788646305,"priority":1,"record_length":96,"hex_timestamp":"000001a073a0ace8"} 
[2026-09-06 03:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 03:44: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-09-06 03:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893377024001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893377024001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:44:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:44:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893377024001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":173526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:44:55] local.INFO: GPS data processed {"connection_id":173526,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:44:55] local.INFO: Acknowledgment sent {"connection_id":173526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:45:26] local.INFO: TCP Data received {"connection_id":173526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:45:26] local.INFO: Processing buffer {"connection_id":173526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:45:26] local.INFO: Packet analysis {"connection_id":173526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:45:26] local.INFO: Extracted packet for processing {"connection_id":173526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:45:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":51,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893377024001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:45: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-09-06 03:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788646305000,"timestamp_ms":1788646305000,"timestamp_seconds":1788646305,"priority":1,"record_length":96,"hex_timestamp":"000001a073a0ace8"} 
[2026-09-06 03:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:45: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-09-06 03:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 03:45: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-09-06 03:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:45: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-09-06 03:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893377024001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893377024001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:45:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:45:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893377024001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":173526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:45:26] local.INFO: GPS data processed {"connection_id":173526,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:45:26] local.INFO: Acknowledgment sent {"connection_id":173526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:45:49] local.INFO: TCP Data received {"connection_id":173528,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:45:49] local.INFO: Processing buffer {"connection_id":173528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:45:49] local.INFO: IMEI packet received {"connection_id":173528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":173528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:45:54] local.INFO: TCP Data received {"connection_id":173528,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:45:54] local.INFO: Processing buffer {"connection_id":173528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:45:54] local.INFO: IMEI packet received {"connection_id":173528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":173528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:45:55] local.INFO: TCP Data received {"connection_id":173528,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:45:55] local.INFO: Processing buffer {"connection_id":173528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:45:55] local.INFO: Packet analysis {"connection_id":173528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:45:55] local.INFO: Extracted packet for processing {"connection_id":173528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:45:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":51,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893377024001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788646305000,"timestamp_ms":1788646305000,"timestamp_seconds":1788646305,"priority":1,"record_length":96,"hex_timestamp":"000001a073a0ace8"} 
[2026-09-06 03:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 03:45: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-09-06 03: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-09-06 03:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893377024001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893377024001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:45:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:45:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893377024001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":173528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:45:55] local.INFO: GPS data processed {"connection_id":173528,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:45:55] local.INFO: Acknowledgment sent {"connection_id":173528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:46:25] local.INFO: TCP Data received {"connection_id":173528,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:46:25] local.INFO: Processing buffer {"connection_id":173528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:46:25] local.INFO: Packet analysis {"connection_id":173528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:46:25] local.INFO: Extracted packet for processing {"connection_id":173528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:46:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":51,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893377024001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:46:25] 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-09-06 03:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788646305000,"timestamp_ms":1788646305000,"timestamp_seconds":1788646305,"priority":1,"record_length":96,"hex_timestamp":"000001a073a0ace8"} 
[2026-09-06 03:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:46: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-09-06 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 03:46: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-09-06 03: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-09-06 03:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:46: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-09-06 03:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893377024001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893377024001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:46:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:46:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893377024001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":173528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:46:25] local.INFO: GPS data processed {"connection_id":173528,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:46:25] local.INFO: Acknowledgment sent {"connection_id":173528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:46:48] local.INFO: TCP Data received {"connection_id":172158,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:46:48] local.INFO: Processing buffer {"connection_id":172158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:46:48] local.INFO: IMEI packet received {"connection_id":172158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 03:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":172158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:46:49] local.INFO: TCP Data received {"connection_id":172409,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:46:49] local.INFO: Processing buffer {"connection_id":172409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:46:49] local.INFO: IMEI packet received {"connection_id":172409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":172409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:46:54] local.INFO: TCP Data received {"connection_id":172409,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:46:54] local.INFO: Processing buffer {"connection_id":172409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:46:54] local.INFO: IMEI packet received {"connection_id":172409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":172409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:46:55] local.INFO: TCP Data received {"connection_id":172409,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:46:55] local.INFO: Processing buffer {"connection_id":172409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a0ace8012d532d00064970480006014733..."} 
[2026-09-06 03:46:55] local.INFO: Packet analysis {"connection_id":172409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:46:55] local.INFO: Extracted packet for processing {"connection_id":172409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a0"} 
[2026-09-06 03:46:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":51,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893377024001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788646305000,"timestamp_ms":1788646305000,"timestamp_seconds":1788646305,"priority":1,"record_length":96,"hex_timestamp":"000001a073a0ace8"} 
[2026-09-06 03:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 03:46: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-09-06 03: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-09-06 03:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893377024001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893377024001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:46:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:46:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893377024001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":172409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:46:55] local.INFO: GPS data processed {"connection_id":172409,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:46:55] local.INFO: Acknowledgment sent {"connection_id":172409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:47:18] local.INFO: TCP Data received {"connection_id":174851,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:47:18] local.INFO: Processing buffer {"connection_id":174851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:47:18] local.INFO: IMEI packet received {"connection_id":174851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 03:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":174851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:47:26] local.INFO: TCP Data received {"connection_id":172409,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:47:26] local.INFO: Processing buffer {"connection_id":172409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:47:26] local.INFO: Packet analysis {"connection_id":172409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:47:26] local.INFO: Extracted packet for processing {"connection_id":172409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:47:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893454080001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:47: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-09-06 03:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788646606000,"timestamp_ms":1788646606000,"timestamp_seconds":1788646606,"priority":1,"record_length":96,"hex_timestamp":"000001a073a544b0"} 
[2026-09-06 03:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:47: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-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:47: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-09-06 03: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-09-06 03:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:47: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-09-06 03:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893454080001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893454080001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:47:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:47:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893454080001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":172409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:47:26] local.INFO: GPS data processed {"connection_id":172409,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:47:26] local.INFO: Acknowledgment sent {"connection_id":172409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:47:54] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:47:54] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:47:54] local.INFO: IMEI packet received {"connection_id":173529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":173529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:47:59] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:47:59] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:47:59] local.INFO: IMEI packet received {"connection_id":173529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":173529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:48:00] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:48:00] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:48:00] local.INFO: Packet analysis {"connection_id":173529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:48:00] local.INFO: Extracted packet for processing {"connection_id":173529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:48:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893454080001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:48:00] 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-09-06 03:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788646606000,"timestamp_ms":1788646606000,"timestamp_seconds":1788646606,"priority":1,"record_length":96,"hex_timestamp":"000001a073a544b0"} 
[2026-09-06 03:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:48:00] 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-09-06 03:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893454080001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893454080001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:48:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:48:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893454080001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":173529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:48:00] local.INFO: GPS data processed {"connection_id":173529,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:48:00] local.INFO: Acknowledgment sent {"connection_id":173529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:48:32] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:48:32] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:48:32] local.INFO: Packet analysis {"connection_id":173529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:48:32] local.INFO: Extracted packet for processing {"connection_id":173529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:48:32] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893454080001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:48:32] 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-09-06 03:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788646606000,"timestamp_ms":1788646606000,"timestamp_seconds":1788646606,"priority":1,"record_length":96,"hex_timestamp":"000001a073a544b0"} 
[2026-09-06 03:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:48:32] 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-09-06 03:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893454080001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893454080001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:48:32] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:48:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893454080001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":173529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:48:32] local.INFO: GPS data processed {"connection_id":173529,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:48:32] local.INFO: Acknowledgment sent {"connection_id":173529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:48:49] local.INFO: TCP Data received {"connection_id":172410,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:48:49] local.INFO: Processing buffer {"connection_id":172410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:48:49] local.INFO: IMEI packet received {"connection_id":172410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":172410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:48:54] local.INFO: TCP Data received {"connection_id":172410,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:48:54] local.INFO: Processing buffer {"connection_id":172410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:48:54] local.INFO: IMEI packet received {"connection_id":172410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":172410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:48:55] local.INFO: TCP Data received {"connection_id":172410,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:48:55] local.INFO: Processing buffer {"connection_id":172410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:48:55] local.INFO: Packet analysis {"connection_id":172410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:48:55] local.INFO: Extracted packet for processing {"connection_id":172410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:48:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893454080001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788646606000,"timestamp_ms":1788646606000,"timestamp_seconds":1788646606,"priority":1,"record_length":96,"hex_timestamp":"000001a073a544b0"} 
[2026-09-06 03:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:48:55] 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-09-06 03:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893454080001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893454080001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:48:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:48:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893454080001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":172410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:48:55] local.INFO: GPS data processed {"connection_id":172410,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:48:55] local.INFO: Acknowledgment sent {"connection_id":172410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:49:26] local.INFO: TCP Data received {"connection_id":172410,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:49:26] local.INFO: Processing buffer {"connection_id":172410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:49:26] local.INFO: Packet analysis {"connection_id":172410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:49:26] local.INFO: Extracted packet for processing {"connection_id":172410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:49:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893454080001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:49: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-09-06 03:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788646606000,"timestamp_ms":1788646606000,"timestamp_seconds":1788646606,"priority":1,"record_length":96,"hex_timestamp":"000001a073a544b0"} 
[2026-09-06 03:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:49: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-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:49: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-09-06 03: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-09-06 03:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:49: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-09-06 03:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893454080001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893454080001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:49:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:49:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893454080001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":172410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:49:26] local.INFO: GPS data processed {"connection_id":172410,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:49:26] local.INFO: Acknowledgment sent {"connection_id":172410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:49:49] local.INFO: TCP Data received {"connection_id":174852,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:49:49] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:49:49] local.INFO: IMEI packet received {"connection_id":174852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":174852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:49:54] local.INFO: TCP Data received {"connection_id":174852,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:49:54] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:49:54] local.INFO: IMEI packet received {"connection_id":174852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":174852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:49:56] local.INFO: TCP Data received {"connection_id":174852,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:49:56] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:49:56] local.INFO: Packet analysis {"connection_id":174852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:49:56] local.INFO: Extracted packet for processing {"connection_id":174852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:49:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893454080001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:49:56] 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-09-06 03:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788646606000,"timestamp_ms":1788646606000,"timestamp_seconds":1788646606,"priority":1,"record_length":96,"hex_timestamp":"000001a073a544b0"} 
[2026-09-06 03:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:49: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-09-06 03: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":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03: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-09-06 03:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893454080001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893454080001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:49:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:49:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893454080001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":174852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:49:56] local.INFO: GPS data processed {"connection_id":174852,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:49:56] local.INFO: Acknowledgment sent {"connection_id":174852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:50:27] local.INFO: TCP Data received {"connection_id":174852,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:50:27] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:50:27] local.INFO: Packet analysis {"connection_id":174852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:50:27] local.INFO: Extracted packet for processing {"connection_id":174852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:50:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893454080001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:50:27] 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-09-06 03:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788646606000,"timestamp_ms":1788646606000,"timestamp_seconds":1788646606,"priority":1,"record_length":96,"hex_timestamp":"000001a073a544b0"} 
[2026-09-06 03:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:50: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-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:50: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-09-06 03:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893454080001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893454080001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:50:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:50:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893454080001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":174852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:50:27] local.INFO: GPS data processed {"connection_id":174852,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:50:27] local.INFO: Acknowledgment sent {"connection_id":174852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:50:49] local.INFO: TCP Data received {"connection_id":172162,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:50:49] local.INFO: Processing buffer {"connection_id":172162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:50:49] local.INFO: IMEI packet received {"connection_id":172162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":172162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:50:54] local.INFO: TCP Data received {"connection_id":172162,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:50:54] local.INFO: Processing buffer {"connection_id":172162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:50:54] local.INFO: IMEI packet received {"connection_id":172162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":172162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:50:55] local.INFO: TCP Data received {"connection_id":172162,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:50:55] local.INFO: Processing buffer {"connection_id":172162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:50:55] local.INFO: Packet analysis {"connection_id":172162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:50:55] local.INFO: Extracted packet for processing {"connection_id":172162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:50:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893454080001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788646606000,"timestamp_ms":1788646606000,"timestamp_seconds":1788646606,"priority":1,"record_length":96,"hex_timestamp":"000001a073a544b0"} 
[2026-09-06 03:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:50:55] 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-09-06 03: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-09-06 03:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893454080001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893454080001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:50:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:50:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893454080001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":172162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:50:55] local.INFO: GPS data processed {"connection_id":172162,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:50:55] local.INFO: Acknowledgment sent {"connection_id":172162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:51:26] local.INFO: TCP Data received {"connection_id":172162,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:51:26] local.INFO: Processing buffer {"connection_id":172162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:51:26] local.INFO: Packet analysis {"connection_id":172162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:51:26] local.INFO: Extracted packet for processing {"connection_id":172162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:51:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893454080001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:51: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-09-06 03:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788646606000,"timestamp_ms":1788646606000,"timestamp_seconds":1788646606,"priority":1,"record_length":96,"hex_timestamp":"000001a073a544b0"} 
[2026-09-06 03:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:51: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-09-06 03: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":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:51: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-09-06 03: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-09-06 03:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:51: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-09-06 03:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893454080001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893454080001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:51:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:51:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893454080001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":172162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:51:26] local.INFO: GPS data processed {"connection_id":172162,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:51:26] local.INFO: Acknowledgment sent {"connection_id":172162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:51:49] local.INFO: TCP Data received {"connection_id":173531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:51:49] local.INFO: Processing buffer {"connection_id":173531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:51:49] local.INFO: IMEI packet received {"connection_id":173531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":173531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:51:54] local.INFO: TCP Data received {"connection_id":173531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:51:54] local.INFO: Processing buffer {"connection_id":173531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:51:54] local.INFO: IMEI packet received {"connection_id":173531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":173531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:51:55] local.INFO: TCP Data received {"connection_id":173531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:51:55] local.INFO: Processing buffer {"connection_id":173531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a544b0012d532d00064970480006014732..."} 
[2026-09-06 03:51:55] local.INFO: Packet analysis {"connection_id":173531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:51:55] local.INFO: Extracted packet for processing {"connection_id":173531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a5"} 
[2026-09-06 03:51:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893454080001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788646606000,"timestamp_ms":1788646606000,"timestamp_seconds":1788646606,"priority":1,"record_length":96,"hex_timestamp":"000001a073a544b0"} 
[2026-09-06 03:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:51:55] 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-09-06 03: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-09-06 03:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893454080001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893454080001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:51:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:51:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893454080001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":173531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:51:55] local.INFO: GPS data processed {"connection_id":173531,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:51:55] local.INFO: Acknowledgment sent {"connection_id":173531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:52:26] local.INFO: TCP Data received {"connection_id":173531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:52:26] local.INFO: Processing buffer {"connection_id":173531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:52:26] local.INFO: Packet analysis {"connection_id":173531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:52:26] local.INFO: Extracted packet for processing {"connection_id":173531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:52:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893531136001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:52: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-09-06 03:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788646907000,"timestamp_ms":1788646907000,"timestamp_seconds":1788646907,"priority":1,"record_length":96,"hex_timestamp":"000001a073a9dc78"} 
[2026-09-06 03:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:52: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-09-06 03: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-09-06 03:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:52: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-09-06 03:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893531136001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893531136001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:52:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:52:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893531136001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":173531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:52:26] local.INFO: GPS data processed {"connection_id":173531,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:52:26] local.INFO: Acknowledgment sent {"connection_id":173531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:52:38] local.INFO: TCP Data received {"connection_id":172163,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:52:38] local.INFO: Processing buffer {"connection_id":172163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:52:38] local.INFO: IMEI packet received {"connection_id":172163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 03:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":172163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:52:54] local.INFO: TCP Data received {"connection_id":173532,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:52:54] local.INFO: Processing buffer {"connection_id":173532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:52:54] local.INFO: IMEI packet received {"connection_id":173532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":173532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:52:59] local.INFO: TCP Data received {"connection_id":173532,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:52:59] local.INFO: Processing buffer {"connection_id":173532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:52:59] local.INFO: IMEI packet received {"connection_id":173532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":173532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:53:00] local.INFO: TCP Data received {"connection_id":173532,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:53:00] local.INFO: Processing buffer {"connection_id":173532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:53:00] local.INFO: Packet analysis {"connection_id":173532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:53:00] local.INFO: Extracted packet for processing {"connection_id":173532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:53:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893531136001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:53:00] 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-09-06 03:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788646907000,"timestamp_ms":1788646907000,"timestamp_seconds":1788646907,"priority":1,"record_length":96,"hex_timestamp":"000001a073a9dc78"} 
[2026-09-06 03:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:53:00] 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-09-06 03:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893531136001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893531136001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:53:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:53:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893531136001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":173532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:53:00] local.INFO: GPS data processed {"connection_id":173532,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:53:00] local.INFO: Acknowledgment sent {"connection_id":173532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:53:31] local.INFO: TCP Data received {"connection_id":173532,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:53:31] local.INFO: Processing buffer {"connection_id":173532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:53:31] local.INFO: Packet analysis {"connection_id":173532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:53:31] local.INFO: Extracted packet for processing {"connection_id":173532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:53:31] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893531136001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:53:31] 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-09-06 03:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788646907000,"timestamp_ms":1788646907000,"timestamp_seconds":1788646907,"priority":1,"record_length":96,"hex_timestamp":"000001a073a9dc78"} 
[2026-09-06 03:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:53:31] 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-09-06 03:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893531136001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893531136001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:53:31] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:53:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893531136001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":173532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:53:31] local.INFO: GPS data processed {"connection_id":173532,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:53:31] local.INFO: Acknowledgment sent {"connection_id":173532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:53:49] local.INFO: TCP Data received {"connection_id":172164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:53:49] local.INFO: Processing buffer {"connection_id":172164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:53:49] local.INFO: IMEI packet received {"connection_id":172164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":172164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:53:54] local.INFO: TCP Data received {"connection_id":172164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:53:54] local.INFO: Processing buffer {"connection_id":172164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:53:54] local.INFO: IMEI packet received {"connection_id":172164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":172164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:53:55] local.INFO: TCP Data received {"connection_id":172164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:53:55] local.INFO: Processing buffer {"connection_id":172164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:53:55] local.INFO: Packet analysis {"connection_id":172164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:53:55] local.INFO: Extracted packet for processing {"connection_id":172164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:53:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893531136001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788646907000,"timestamp_ms":1788646907000,"timestamp_seconds":1788646907,"priority":1,"record_length":96,"hex_timestamp":"000001a073a9dc78"} 
[2026-09-06 03:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:53:55] 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-09-06 03:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893531136001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893531136001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:53:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:53:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893531136001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":172164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:53:56] local.INFO: GPS data processed {"connection_id":172164,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:53:56] local.INFO: Acknowledgment sent {"connection_id":172164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:54:26] local.INFO: TCP Data received {"connection_id":172164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:54:26] local.INFO: Processing buffer {"connection_id":172164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:54:26] local.INFO: Packet analysis {"connection_id":172164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:54:26] local.INFO: Extracted packet for processing {"connection_id":172164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:54:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893531136001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:54: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-09-06 03:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788646907000,"timestamp_ms":1788646907000,"timestamp_seconds":1788646907,"priority":1,"record_length":96,"hex_timestamp":"000001a073a9dc78"} 
[2026-09-06 03:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:54: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-09-06 03:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:54: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-09-06 03:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:54: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-09-06 03:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893531136001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893531136001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:54:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:54:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893531136001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":172164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:54:26] local.INFO: GPS data processed {"connection_id":172164,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:54:26] local.INFO: Acknowledgment sent {"connection_id":172164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:54:49] local.INFO: TCP Data received {"connection_id":172165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:54:49] local.INFO: Processing buffer {"connection_id":172165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:54:49] local.INFO: IMEI packet received {"connection_id":172165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":172165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:54:54] local.INFO: TCP Data received {"connection_id":172165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:54:54] local.INFO: Processing buffer {"connection_id":172165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:54:54] local.INFO: IMEI packet received {"connection_id":172165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":172165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:54:55] local.INFO: TCP Data received {"connection_id":172165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:54:55] local.INFO: Processing buffer {"connection_id":172165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:54:55] local.INFO: Packet analysis {"connection_id":172165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:54:55] local.INFO: Extracted packet for processing {"connection_id":172165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:54:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893531136001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788646907000,"timestamp_ms":1788646907000,"timestamp_seconds":1788646907,"priority":1,"record_length":96,"hex_timestamp":"000001a073a9dc78"} 
[2026-09-06 03:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:54:55] 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-09-06 03: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-09-06 03:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893531136001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893531136001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:54:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:54:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893531136001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":172165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:54:55] local.INFO: GPS data processed {"connection_id":172165,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:54:55] local.INFO: Acknowledgment sent {"connection_id":172165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:55:26] local.INFO: TCP Data received {"connection_id":172165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:55:26] local.INFO: Processing buffer {"connection_id":172165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:55:26] local.INFO: Packet analysis {"connection_id":172165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:55:26] local.INFO: Extracted packet for processing {"connection_id":172165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:55:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893531136001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:55: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-09-06 03:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788646907000,"timestamp_ms":1788646907000,"timestamp_seconds":1788646907,"priority":1,"record_length":96,"hex_timestamp":"000001a073a9dc78"} 
[2026-09-06 03:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:55: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-09-06 03:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:55: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-09-06 03:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:55: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-09-06 03:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893531136001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893531136001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:55:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:55:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893531136001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":172165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:55:26] local.INFO: GPS data processed {"connection_id":172165,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:55:26] local.INFO: Acknowledgment sent {"connection_id":172165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:55:49] local.INFO: TCP Data received {"connection_id":172412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:55:49] local.INFO: Processing buffer {"connection_id":172412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:55:49] local.INFO: IMEI packet received {"connection_id":172412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":172412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:55:54] local.INFO: TCP Data received {"connection_id":172412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:55:54] local.INFO: Processing buffer {"connection_id":172412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:55:54] local.INFO: IMEI packet received {"connection_id":172412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":172412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:55:55] local.INFO: TCP Data received {"connection_id":172412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:55:55] local.INFO: Processing buffer {"connection_id":172412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:55:55] local.INFO: Packet analysis {"connection_id":172412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:55:55] local.INFO: Extracted packet for processing {"connection_id":172412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:55:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893531136001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788646907000,"timestamp_ms":1788646907000,"timestamp_seconds":1788646907,"priority":1,"record_length":96,"hex_timestamp":"000001a073a9dc78"} 
[2026-09-06 03:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:55:55] 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-09-06 03:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893531136001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893531136001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:55:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:55:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893531136001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":172412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:55:55] local.INFO: GPS data processed {"connection_id":172412,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:55:55] local.INFO: Acknowledgment sent {"connection_id":172412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:56:25] local.INFO: TCP Data received {"connection_id":172412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:56:25] local.INFO: Processing buffer {"connection_id":172412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:56:25] local.INFO: Packet analysis {"connection_id":172412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:56:25] local.INFO: Extracted packet for processing {"connection_id":172412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:56:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893531136001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:56:25] 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-09-06 03:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788646907000,"timestamp_ms":1788646907000,"timestamp_seconds":1788646907,"priority":1,"record_length":96,"hex_timestamp":"000001a073a9dc78"} 
[2026-09-06 03:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:56: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-09-06 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:56:25] 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-09-06 03: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-09-06 03:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:56: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-09-06 03:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893531136001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893531136001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:56:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:56:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893531136001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":172412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:56:25] local.INFO: GPS data processed {"connection_id":172412,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:56:25] local.INFO: Acknowledgment sent {"connection_id":172412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:56:49] local.INFO: TCP Data received {"connection_id":173534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:56:49] local.INFO: Processing buffer {"connection_id":173534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:56:49] local.INFO: IMEI packet received {"connection_id":173534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":173534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:56:54] local.INFO: TCP Data received {"connection_id":173534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:56:54] local.INFO: Processing buffer {"connection_id":173534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:56:54] local.INFO: IMEI packet received {"connection_id":173534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":173534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:56:55] local.INFO: TCP Data received {"connection_id":173534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:56:55] local.INFO: Processing buffer {"connection_id":173534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:56:55] local.INFO: Packet analysis {"connection_id":173534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:56:55] local.INFO: Extracted packet for processing {"connection_id":173534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:56:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893531136001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788646907000,"timestamp_ms":1788646907000,"timestamp_seconds":1788646907,"priority":1,"record_length":96,"hex_timestamp":"000001a073a9dc78"} 
[2026-09-06 03:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:56:55] 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-09-06 03:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893531136001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893531136001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:56:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:56:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893531136001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":173534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:56:55] local.INFO: GPS data processed {"connection_id":173534,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:56:55] local.INFO: Acknowledgment sent {"connection_id":173534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:57:26] local.INFO: TCP Data received {"connection_id":173534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:57:26] local.INFO: Processing buffer {"connection_id":173534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073a9dc78012d532d00064970480006014731..."} 
[2026-09-06 03:57:26] local.INFO: Packet analysis {"connection_id":173534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:57:26] local.INFO: Extracted packet for processing {"connection_id":173534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073a9"} 
[2026-09-06 03:57:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893531136001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:57: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-09-06 03:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788646907000,"timestamp_ms":1788646907000,"timestamp_seconds":1788646907,"priority":1,"record_length":96,"hex_timestamp":"000001a073a9dc78"} 
[2026-09-06 03:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:57: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-09-06 03:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 03:57: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-09-06 03:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:57: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-09-06 03:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893531136001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893531136001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:57:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:57:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893531136001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":173534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:57:26] local.INFO: GPS data processed {"connection_id":173534,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:57:26] local.INFO: Acknowledgment sent {"connection_id":173534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:57:54] local.INFO: TCP Data received {"connection_id":173535,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:57:54] local.INFO: Processing buffer {"connection_id":173535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:57:54] local.INFO: IMEI packet received {"connection_id":173535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":173535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:57:59] local.INFO: TCP Data received {"connection_id":173535,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:57:59] local.INFO: Processing buffer {"connection_id":173535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:57:59] local.INFO: IMEI packet received {"connection_id":173535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":173535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:58:00] local.INFO: TCP Data received {"connection_id":173535,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:58:00] local.INFO: Processing buffer {"connection_id":173535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:58:00] local.INFO: Packet analysis {"connection_id":173535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 03:58:00] local.INFO: Extracted packet for processing {"connection_id":173535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 03:58:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893608192001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:58:00] 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-09-06 03:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788647208000,"timestamp_ms":1788647208000,"timestamp_seconds":1788647208,"priority":1,"record_length":96,"hex_timestamp":"000001a073ae7440"} 
[2026-09-06 03:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 03:58:00] 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-09-06 03:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893608192001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893608192001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:58:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:58:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893608192001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":173535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:58:00] local.INFO: GPS data processed {"connection_id":173535,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:58:00] local.INFO: Acknowledgment sent {"connection_id":173535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:58:04] local.INFO: TCP Data received {"connection_id":173535,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:58:04] local.INFO: Processing buffer {"connection_id":173535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:58:04] local.INFO: Packet analysis {"connection_id":173535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 03:58:04] local.INFO: Extracted packet for processing {"connection_id":173535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 03:58:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893608192001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788647208000,"timestamp_ms":1788647208000,"timestamp_seconds":1788647208,"priority":1,"record_length":96,"hex_timestamp":"000001a073ae7440"} 
[2026-09-06 03:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 03:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03: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-09-06 03:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893608192001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893608192001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:58:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:58:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893608192001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":173535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:58:04] local.INFO: GPS data processed {"connection_id":173535,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:58:04] local.INFO: Acknowledgment sent {"connection_id":173535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:58:18] local.INFO: TCP Data received {"connection_id":172413,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:58:18] local.INFO: Processing buffer {"connection_id":172413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 03:58:18] local.INFO: IMEI packet received {"connection_id":172413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 03:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":172413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:58:49] local.INFO: TCP Data received {"connection_id":172166,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:58:49] local.INFO: Processing buffer {"connection_id":172166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:58:49] local.INFO: IMEI packet received {"connection_id":172166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":172166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:58:54] local.INFO: TCP Data received {"connection_id":172166,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:58:54] local.INFO: Processing buffer {"connection_id":172166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:58:54] local.INFO: IMEI packet received {"connection_id":172166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":172166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:58:55] local.INFO: TCP Data received {"connection_id":172166,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:58:55] local.INFO: Processing buffer {"connection_id":172166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:58:55] local.INFO: Packet analysis {"connection_id":172166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 03:58:55] local.INFO: Extracted packet for processing {"connection_id":172166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 03:58:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893608192001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788647208000,"timestamp_ms":1788647208000,"timestamp_seconds":1788647208,"priority":1,"record_length":96,"hex_timestamp":"000001a073ae7440"} 
[2026-09-06 03:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 03:58:55] 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-09-06 03:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893608192001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893608192001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:58:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:58:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893608192001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":172166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:58:55] local.INFO: GPS data processed {"connection_id":172166,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:58:55] local.INFO: Acknowledgment sent {"connection_id":172166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:58:59] local.INFO: TCP Data received {"connection_id":172166,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:58:59] local.INFO: Processing buffer {"connection_id":172166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:58:59] local.INFO: Packet analysis {"connection_id":172166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 03:58:59] local.INFO: Extracted packet for processing {"connection_id":172166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 03:58:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893608192001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:58:59] 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-09-06 03:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788647208000,"timestamp_ms":1788647208000,"timestamp_seconds":1788647208,"priority":1,"record_length":96,"hex_timestamp":"000001a073ae7440"} 
[2026-09-06 03:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:58: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-09-06 03:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 03:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893608192001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893608192001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:58:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:58:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893608192001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":172166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:58:59] local.INFO: GPS data processed {"connection_id":172166,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:58:59] local.INFO: Acknowledgment sent {"connection_id":172166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:59:30] local.INFO: TCP Data received {"connection_id":172166,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:59:30] local.INFO: Processing buffer {"connection_id":172166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:59:30] local.INFO: Packet analysis {"connection_id":172166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 03:59:30] local.INFO: Extracted packet for processing {"connection_id":172166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 03:59:30] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 03:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893608192001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:59:30] 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-09-06 03:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788647208000,"timestamp_ms":1788647208000,"timestamp_seconds":1788647208,"priority":1,"record_length":96,"hex_timestamp":"000001a073ae7440"} 
[2026-09-06 03:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 03:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 03:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 03:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893608192001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893608192001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:59:30] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:59:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893608192001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":172166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:59:30] local.INFO: GPS data processed {"connection_id":172166,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:59:30] local.INFO: Acknowledgment sent {"connection_id":172166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 03:59:49] local.INFO: TCP Data received {"connection_id":174858,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:59:49] local.INFO: Processing buffer {"connection_id":174858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:59:49] local.INFO: IMEI packet received {"connection_id":174858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 03:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":174858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 03:59:54] local.INFO: TCP Data received {"connection_id":174858,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:59:54] local.INFO: Processing buffer {"connection_id":174858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 03:59:54] local.INFO: IMEI packet received {"connection_id":174858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 03:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":174858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 03:59:55] local.INFO: TCP Data received {"connection_id":174858,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:59:55] local.INFO: Processing buffer {"connection_id":174858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 03:59:55] local.INFO: Packet analysis {"connection_id":174858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 03:59:55] local.INFO: Extracted packet for processing {"connection_id":174858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 03:59:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 03: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-09-06 03:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893608192001,"note":"Value kept but may cause issues"} 
[2026-09-06 03:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 03:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 03:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 03:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788647208000,"timestamp_ms":1788647208000,"timestamp_seconds":1788647208,"priority":1,"record_length":96,"hex_timestamp":"000001a073ae7440"} 
[2026-09-06 03:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 03:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 03: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":59,"data_length":795,"current_offset":136} 
[2026-09-06 03:59:55] 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-09-06 03: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-09-06 03:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 03:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 03:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 03:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 03:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 03:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 03:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 03:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893608192001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 03:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 03:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 03:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893608192001,"description":"Unknown IO ID 0"} 
[2026-09-06 03:59:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 03:59:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 03:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 03:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 03:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893608192001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 03:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":174858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 03:59:55] local.INFO: GPS data processed {"connection_id":174858,"processed":1,"errors":0,"total":1} 
[2026-09-06 03:59:55] local.INFO: Acknowledgment sent {"connection_id":174858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:00:25] local.INFO: TCP Data received {"connection_id":174858,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 04:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 04:00:25] local.INFO: Processing buffer {"connection_id":174858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 04:00:25] local.INFO: Packet analysis {"connection_id":174858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 04:00:25] local.INFO: Extracted packet for processing {"connection_id":174858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 04:00:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893608192001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:00:25] 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-09-06 04:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788647208000,"timestamp_ms":1788647208000,"timestamp_seconds":1788647208,"priority":1,"record_length":96,"hex_timestamp":"000001a073ae7440"} 
[2026-09-06 04:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04: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-09-06 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 04:00:25] 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-09-06 04: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-09-06 04:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:00: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-09-06 04:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893608192001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893608192001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:00:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:00:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893608192001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":174858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:00:25] local.INFO: GPS data processed {"connection_id":174858,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:00:25] local.INFO: Acknowledgment sent {"connection_id":174858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:00:49] local.INFO: TCP Data received {"connection_id":173536,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:00:49] local.INFO: Processing buffer {"connection_id":173536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:00:49] local.INFO: IMEI packet received {"connection_id":173536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":173536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:00:54] local.INFO: TCP Data received {"connection_id":173536,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:00:54] local.INFO: Processing buffer {"connection_id":173536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:00:54] local.INFO: IMEI packet received {"connection_id":173536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":173536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:00:55] local.INFO: TCP Data received {"connection_id":173536,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 04:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 04:00:55] local.INFO: Processing buffer {"connection_id":173536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 04:00:55] local.INFO: Packet analysis {"connection_id":173536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 04:00:55] local.INFO: Extracted packet for processing {"connection_id":173536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 04:00:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893608192001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788647208000,"timestamp_ms":1788647208000,"timestamp_seconds":1788647208,"priority":1,"record_length":96,"hex_timestamp":"000001a073ae7440"} 
[2026-09-06 04:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 04:00:55] 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-09-06 04:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893608192001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893608192001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:00:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:00:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893608192001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":173536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:00:55] local.INFO: GPS data processed {"connection_id":173536,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:00:55] local.INFO: Acknowledgment sent {"connection_id":173536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:01:26] local.INFO: TCP Data received {"connection_id":173536,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 04:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 04:01:26] local.INFO: Processing buffer {"connection_id":173536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 04:01:26] local.INFO: Packet analysis {"connection_id":173536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 04:01:26] local.INFO: Extracted packet for processing {"connection_id":173536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 04:01:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893608192001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:01: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-09-06 04:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788647208000,"timestamp_ms":1788647208000,"timestamp_seconds":1788647208,"priority":1,"record_length":96,"hex_timestamp":"000001a073ae7440"} 
[2026-09-06 04:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:01: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-09-06 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 04:01: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-09-06 04: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-09-06 04:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893608192001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893608192001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:01:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:01:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893608192001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":173536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:01:26] local.INFO: GPS data processed {"connection_id":173536,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:01:26] local.INFO: Acknowledgment sent {"connection_id":173536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:01:49] local.INFO: TCP Data received {"connection_id":174859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:01:49] local.INFO: Processing buffer {"connection_id":174859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:01:49] local.INFO: IMEI packet received {"connection_id":174859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":174859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:01:54] local.INFO: TCP Data received {"connection_id":174859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:01:54] local.INFO: Processing buffer {"connection_id":174859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:01:54] local.INFO: IMEI packet received {"connection_id":174859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":174859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:01:54] local.INFO: TCP Data received {"connection_id":174859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 04:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 04:01:54] local.INFO: Processing buffer {"connection_id":174859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 04:01:54] local.INFO: Packet analysis {"connection_id":174859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 04:01:54] local.INFO: Extracted packet for processing {"connection_id":174859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 04:01:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893608192001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:01:54] 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-09-06 04:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788647208000,"timestamp_ms":1788647208000,"timestamp_seconds":1788647208,"priority":1,"record_length":96,"hex_timestamp":"000001a073ae7440"} 
[2026-09-06 04:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:01: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-09-06 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 04:01:54] 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-09-06 04: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-09-06 04:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:01: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-09-06 04:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893608192001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893608192001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:01:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:01:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893608192001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":174859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:01:55] local.INFO: GPS data processed {"connection_id":174859,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:01:55] local.INFO: Acknowledgment sent {"connection_id":174859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:02:25] local.INFO: TCP Data received {"connection_id":174859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 04:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 04:02:25] local.INFO: Processing buffer {"connection_id":174859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ae7440012d532d00064970480006014732..."} 
[2026-09-06 04:02:25] local.INFO: Packet analysis {"connection_id":174859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 04:02:25] local.INFO: Extracted packet for processing {"connection_id":174859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ae"} 
[2026-09-06 04:02:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":50,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893608192001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:02:25] 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-09-06 04:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788647208000,"timestamp_ms":1788647208000,"timestamp_seconds":1788647208,"priority":1,"record_length":96,"hex_timestamp":"000001a073ae7440"} 
[2026-09-06 04:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04: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-09-06 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 04:02:25] 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-09-06 04: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-09-06 04:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04: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-09-06 04:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893608192001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893608192001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:02:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:02:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893608192001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":174859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:02:25] local.INFO: GPS data processed {"connection_id":174859,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:02:25] local.INFO: Acknowledgment sent {"connection_id":174859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:02:54] local.INFO: TCP Data received {"connection_id":172415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:02:54] local.INFO: Processing buffer {"connection_id":172415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:02:54] local.INFO: IMEI packet received {"connection_id":172415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":172415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:02:59] local.INFO: TCP Data received {"connection_id":172415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:02:59] local.INFO: Processing buffer {"connection_id":172415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:02:59] local.INFO: IMEI packet received {"connection_id":172415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":172415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:03:00] local.INFO: TCP Data received {"connection_id":172415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:03:00] local.INFO: Processing buffer {"connection_id":172415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:03:00] local.INFO: Packet analysis {"connection_id":172415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:03:00] local.INFO: Extracted packet for processing {"connection_id":172415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:03:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893685248001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:03:00] 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-09-06 04:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788647509000,"timestamp_ms":1788647509000,"timestamp_seconds":1788647509,"priority":1,"record_length":96,"hex_timestamp":"000001a073b30c08"} 
[2026-09-06 04:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:03: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-09-06 04:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 04:03:00] 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-09-06 04:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893685248001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893685248001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:03:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:03:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893685248001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":172415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:03:00] local.INFO: GPS data processed {"connection_id":172415,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:03:00] local.INFO: Acknowledgment sent {"connection_id":172415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:03:04] local.INFO: TCP Data received {"connection_id":172415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:03:04] local.INFO: Processing buffer {"connection_id":172415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:03:04] local.INFO: Packet analysis {"connection_id":172415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:03:04] local.INFO: Extracted packet for processing {"connection_id":172415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:03:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893685248001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788647509000,"timestamp_ms":1788647509000,"timestamp_seconds":1788647509,"priority":1,"record_length":96,"hex_timestamp":"000001a073b30c08"} 
[2026-09-06 04:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:03: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-09-06 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 04:03:04] 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-09-06 04: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-09-06 04:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893685248001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893685248001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:03:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:03:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893685248001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":172415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:03:04] local.INFO: GPS data processed {"connection_id":172415,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:03:04] local.INFO: Acknowledgment sent {"connection_id":172415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:03:37] local.INFO: TCP Data received {"connection_id":173538,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:03:37] local.INFO: Processing buffer {"connection_id":173538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:03:37] local.INFO: IMEI packet received {"connection_id":173538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 04:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":173538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:03:49] local.INFO: TCP Data received {"connection_id":172167,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:03:49] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:03:49] local.INFO: IMEI packet received {"connection_id":172167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":172167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:03:54] local.INFO: TCP Data received {"connection_id":172167,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:03:54] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:03:54] local.INFO: IMEI packet received {"connection_id":172167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":172167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:03:55] local.INFO: TCP Data received {"connection_id":172167,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:03:55] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:03:55] local.INFO: Packet analysis {"connection_id":172167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:03:55] local.INFO: Extracted packet for processing {"connection_id":172167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:03:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893685248001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788647509000,"timestamp_ms":1788647509000,"timestamp_seconds":1788647509,"priority":1,"record_length":96,"hex_timestamp":"000001a073b30c08"} 
[2026-09-06 04:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:03: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-09-06 04:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 04:03:55] 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-09-06 04:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893685248001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893685248001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:03:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:03:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893685248001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":172167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:03:55] local.INFO: GPS data processed {"connection_id":172167,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:03:55] local.INFO: Acknowledgment sent {"connection_id":172167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:04:18] local.INFO: TCP Data received {"connection_id":173539,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:04:18] local.INFO: Processing buffer {"connection_id":173539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:04:18] local.INFO: IMEI packet received {"connection_id":173539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 04:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":173539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:04:26] local.INFO: TCP Data received {"connection_id":172167,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:04:26] local.INFO: Processing buffer {"connection_id":172167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:04:26] local.INFO: Packet analysis {"connection_id":172167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:04:26] local.INFO: Extracted packet for processing {"connection_id":172167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:04:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893685248001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:04: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-09-06 04:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788647509000,"timestamp_ms":1788647509000,"timestamp_seconds":1788647509,"priority":1,"record_length":96,"hex_timestamp":"000001a073b30c08"} 
[2026-09-06 04:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:04: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-09-06 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 04:04: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-09-06 04: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-09-06 04:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:04: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-09-06 04:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893685248001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893685248001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:04:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:04:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893685248001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":172167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:04:26] local.INFO: GPS data processed {"connection_id":172167,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:04:26] local.INFO: Acknowledgment sent {"connection_id":172167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:04:49] local.INFO: TCP Data received {"connection_id":172416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:04:49] local.INFO: Processing buffer {"connection_id":172416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:04:49] local.INFO: IMEI packet received {"connection_id":172416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":172416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:04:54] local.INFO: TCP Data received {"connection_id":172416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:04:54] local.INFO: Processing buffer {"connection_id":172416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:04:54] local.INFO: IMEI packet received {"connection_id":172416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":172416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:04:55] local.INFO: TCP Data received {"connection_id":172416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:04:55] local.INFO: Processing buffer {"connection_id":172416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:04:55] local.INFO: Packet analysis {"connection_id":172416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:04:55] local.INFO: Extracted packet for processing {"connection_id":172416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:04:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 04:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893685248001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788647509000,"timestamp_ms":1788647509000,"timestamp_seconds":1788647509,"priority":1,"record_length":96,"hex_timestamp":"000001a073b30c08"} 
[2026-09-06 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-09-06 04:04: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-09-06 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 04:04:55] 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-09-06 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-09-06 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-09-06 04:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893685248001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893685248001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:04:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:04:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893685248001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":172416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:04:55] local.INFO: GPS data processed {"connection_id":172416,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:04:55] local.INFO: Acknowledgment sent {"connection_id":172416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:05:27] local.INFO: TCP Data received {"connection_id":172416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:05:27] local.INFO: Processing buffer {"connection_id":172416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:05:27] local.INFO: Packet analysis {"connection_id":172416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:05:27] local.INFO: Extracted packet for processing {"connection_id":172416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:05:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 04:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893685248001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:05:27] 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-09-06 04:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788647509000,"timestamp_ms":1788647509000,"timestamp_seconds":1788647509,"priority":1,"record_length":96,"hex_timestamp":"000001a073b30c08"} 
[2026-09-06 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-09-06 04:05: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-09-06 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 04:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 04:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893685248001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893685248001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:05:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:05:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893685248001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":172416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:05:27] local.INFO: GPS data processed {"connection_id":172416,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:05:27] local.INFO: Acknowledgment sent {"connection_id":172416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:05:49] local.INFO: TCP Data received {"connection_id":172168,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:05:49] local.INFO: Processing buffer {"connection_id":172168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:05:49] local.INFO: IMEI packet received {"connection_id":172168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":172168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:05:54] local.INFO: TCP Data received {"connection_id":172168,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:05:54] local.INFO: Processing buffer {"connection_id":172168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:05:54] local.INFO: IMEI packet received {"connection_id":172168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":172168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:05:56] local.INFO: TCP Data received {"connection_id":172168,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:05:56] local.INFO: Processing buffer {"connection_id":172168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:05:56] local.INFO: Packet analysis {"connection_id":172168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:05:56] local.INFO: Extracted packet for processing {"connection_id":172168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:05:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893685248001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:05:56] 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-09-06 04:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788647509000,"timestamp_ms":1788647509000,"timestamp_seconds":1788647509,"priority":1,"record_length":96,"hex_timestamp":"000001a073b30c08"} 
[2026-09-06 04:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:05: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-09-06 04:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 04:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 04: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-09-06 04:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893685248001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893685248001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:05:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:05:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893685248001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":172168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:05:56] local.INFO: GPS data processed {"connection_id":172168,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:05:56] local.INFO: Acknowledgment sent {"connection_id":172168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:06:27] local.INFO: TCP Data received {"connection_id":172168,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:06:27] local.INFO: Processing buffer {"connection_id":172168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:06:27] local.INFO: Packet analysis {"connection_id":172168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:06:27] local.INFO: Extracted packet for processing {"connection_id":172168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:06:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893685248001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:06:27] 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-09-06 04:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788647509000,"timestamp_ms":1788647509000,"timestamp_seconds":1788647509,"priority":1,"record_length":96,"hex_timestamp":"000001a073b30c08"} 
[2026-09-06 04:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:06: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-09-06 04:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 04:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 04:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:06: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-09-06 04:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893685248001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893685248001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:06:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:06:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893685248001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":172168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:06:28] local.INFO: GPS data processed {"connection_id":172168,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:06:28] local.INFO: Acknowledgment sent {"connection_id":172168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:06:54] local.INFO: TCP Data received {"connection_id":172417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:06:54] local.INFO: Processing buffer {"connection_id":172417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:06:54] local.INFO: IMEI packet received {"connection_id":172417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":172417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:06:59] local.INFO: TCP Data received {"connection_id":172417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:06:59] local.INFO: Processing buffer {"connection_id":172417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:06:59] local.INFO: IMEI packet received {"connection_id":172417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":172417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:07:00] local.INFO: TCP Data received {"connection_id":172417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:07:00] local.INFO: Processing buffer {"connection_id":172417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:07:00] local.INFO: Packet analysis {"connection_id":172417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:07:00] local.INFO: Extracted packet for processing {"connection_id":172417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:07:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893685248001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:07:00] 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-09-06 04:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788647509000,"timestamp_ms":1788647509000,"timestamp_seconds":1788647509,"priority":1,"record_length":96,"hex_timestamp":"000001a073b30c08"} 
[2026-09-06 04:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:07: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-09-06 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 04:07:00] 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-09-06 04: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-09-06 04:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893685248001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893685248001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:07:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:07:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893685248001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":172417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:07:00] local.INFO: GPS data processed {"connection_id":172417,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:07:00] local.INFO: Acknowledgment sent {"connection_id":172417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:07:04] local.INFO: TCP Data received {"connection_id":172417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:07:04] local.INFO: Processing buffer {"connection_id":172417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b30c08012d532d0006497048000601472e..."} 
[2026-09-06 04:07:04] local.INFO: Packet analysis {"connection_id":172417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:07:04] local.INFO: Extracted packet for processing {"connection_id":172417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b3"} 
[2026-09-06 04:07:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893685248001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788647509000,"timestamp_ms":1788647509000,"timestamp_seconds":1788647509,"priority":1,"record_length":96,"hex_timestamp":"000001a073b30c08"} 
[2026-09-06 04:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:07: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-09-06 04:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 04:07:04] 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-09-06 04:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893685248001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893685248001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:07:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:07:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893685248001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":172417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:07:04] local.INFO: GPS data processed {"connection_id":172417,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:07:04] local.INFO: Acknowledgment sent {"connection_id":172417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:07:49] local.INFO: TCP Data received {"connection_id":173540,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:07:49] local.INFO: Processing buffer {"connection_id":173540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:07:49] local.INFO: IMEI packet received {"connection_id":173540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":173540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:07:54] local.INFO: TCP Data received {"connection_id":173540,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:07:54] local.INFO: Processing buffer {"connection_id":173540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:07:54] local.INFO: IMEI packet received {"connection_id":173540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":173540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:07:55] local.INFO: TCP Data received {"connection_id":173540,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:07:55] local.INFO: Processing buffer {"connection_id":173540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:07:55] local.INFO: Packet analysis {"connection_id":173540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:07:55] local.INFO: Extracted packet for processing {"connection_id":173540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:07:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893762304001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788647810000,"timestamp_ms":1788647810000,"timestamp_seconds":1788647810,"priority":1,"record_length":96,"hex_timestamp":"000001a073b7a3d0"} 
[2026-09-06 04:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 04:07:55] 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-09-06 04: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-09-06 04:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893762304001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893762304001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:07:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:07:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893762304001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":173540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:07:55] local.INFO: GPS data processed {"connection_id":173540,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:07:55] local.INFO: Acknowledgment sent {"connection_id":173540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:08:25] local.INFO: TCP Data received {"connection_id":173540,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:08:25] local.INFO: Processing buffer {"connection_id":173540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:08:25] local.INFO: Packet analysis {"connection_id":173540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:08:25] local.INFO: Extracted packet for processing {"connection_id":173540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:08:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893762304001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:08:25] 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-09-06 04:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788647810000,"timestamp_ms":1788647810000,"timestamp_seconds":1788647810,"priority":1,"record_length":96,"hex_timestamp":"000001a073b7a3d0"} 
[2026-09-06 04:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:08: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-09-06 04: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 04:08: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-09-06 04: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-09-06 04:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:08: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-09-06 04:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893762304001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893762304001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:08:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:08:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893762304001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":173540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:08:25] local.INFO: GPS data processed {"connection_id":173540,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:08:25] local.INFO: Acknowledgment sent {"connection_id":173540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:08:49] local.INFO: TCP Data received {"connection_id":172170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:08:49] local.INFO: Processing buffer {"connection_id":172170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:08:49] local.INFO: IMEI packet received {"connection_id":172170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":172170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:08:54] local.INFO: TCP Data received {"connection_id":172170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:08:54] local.INFO: Processing buffer {"connection_id":172170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:08:54] local.INFO: IMEI packet received {"connection_id":172170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":172170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:08:55] local.INFO: TCP Data received {"connection_id":172170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:08:55] local.INFO: Processing buffer {"connection_id":172170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:08:55] local.INFO: Packet analysis {"connection_id":172170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:08:55] local.INFO: Extracted packet for processing {"connection_id":172170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:08:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893762304001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788647810000,"timestamp_ms":1788647810000,"timestamp_seconds":1788647810,"priority":1,"record_length":96,"hex_timestamp":"000001a073b7a3d0"} 
[2026-09-06 04:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:08: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-09-06 04:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 04:08:55] 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-09-06 04:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893762304001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893762304001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:08:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:08:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893762304001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":172170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:08:55] local.INFO: GPS data processed {"connection_id":172170,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:08:55] local.INFO: Acknowledgment sent {"connection_id":172170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:09:26] local.INFO: TCP Data received {"connection_id":172170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:09:26] local.INFO: Processing buffer {"connection_id":172170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:09:26] local.INFO: Packet analysis {"connection_id":172170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:09:26] local.INFO: Extracted packet for processing {"connection_id":172170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:09:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893762304001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:09: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-09-06 04:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788647810000,"timestamp_ms":1788647810000,"timestamp_seconds":1788647810,"priority":1,"record_length":96,"hex_timestamp":"000001a073b7a3d0"} 
[2026-09-06 04:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:09: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-09-06 04:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 04:09:26] 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-09-06 04:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:09: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-09-06 04:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893762304001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893762304001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:09:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:09:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893762304001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":172170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:09:26] local.INFO: GPS data processed {"connection_id":172170,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:09:26] local.INFO: Acknowledgment sent {"connection_id":172170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:09:38] local.INFO: TCP Data received {"connection_id":173541,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:09:38] local.INFO: Processing buffer {"connection_id":173541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:09:38] local.INFO: IMEI packet received {"connection_id":173541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 04:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":173541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:09:49] local.INFO: TCP Data received {"connection_id":174863,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:09:49] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:09:49] local.INFO: IMEI packet received {"connection_id":174863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":174863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:09:54] local.INFO: TCP Data received {"connection_id":174863,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:09:54] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:09:54] local.INFO: IMEI packet received {"connection_id":174863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":174863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:09:55] local.INFO: TCP Data received {"connection_id":174863,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:09:55] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:09:55] local.INFO: Packet analysis {"connection_id":174863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:09:55] local.INFO: Extracted packet for processing {"connection_id":174863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:09:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893762304001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788647810000,"timestamp_ms":1788647810000,"timestamp_seconds":1788647810,"priority":1,"record_length":96,"hex_timestamp":"000001a073b7a3d0"} 
[2026-09-06 04:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:09: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-09-06 04:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 04:09:55] 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-09-06 04:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893762304001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893762304001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:09:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:09:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893762304001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":174863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:09:55] local.INFO: GPS data processed {"connection_id":174863,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:09:55] local.INFO: Acknowledgment sent {"connection_id":174863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:10:25] local.INFO: TCP Data received {"connection_id":174863,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:10:25] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:10:25] local.INFO: Packet analysis {"connection_id":174863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:10:25] local.INFO: Extracted packet for processing {"connection_id":174863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:10:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893762304001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:10:25] 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-09-06 04:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788647810000,"timestamp_ms":1788647810000,"timestamp_seconds":1788647810,"priority":1,"record_length":96,"hex_timestamp":"000001a073b7a3d0"} 
[2026-09-06 04:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04: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-09-06 04: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 04:10: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-09-06 04: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-09-06 04:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:10: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-09-06 04:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893762304001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893762304001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:10:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:10:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893762304001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":174863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:10:25] local.INFO: GPS data processed {"connection_id":174863,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:10:25] local.INFO: Acknowledgment sent {"connection_id":174863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:10:49] local.INFO: TCP Data received {"connection_id":173543,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:10:49] local.INFO: Processing buffer {"connection_id":173543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:10:49] local.INFO: IMEI packet received {"connection_id":173543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":173543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:10:54] local.INFO: TCP Data received {"connection_id":173543,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:10:54] local.INFO: Processing buffer {"connection_id":173543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:10:54] local.INFO: IMEI packet received {"connection_id":173543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":173543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:10:55] local.INFO: TCP Data received {"connection_id":173543,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:10:55] local.INFO: Processing buffer {"connection_id":173543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:10:55] local.INFO: Packet analysis {"connection_id":173543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:10:55] local.INFO: Extracted packet for processing {"connection_id":173543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:10:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893762304001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788647810000,"timestamp_ms":1788647810000,"timestamp_seconds":1788647810,"priority":1,"record_length":96,"hex_timestamp":"000001a073b7a3d0"} 
[2026-09-06 04:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:10: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-09-06 04:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 04:10:55] 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-09-06 04:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893762304001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893762304001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:10:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:10:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893762304001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":173543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:10:55] local.INFO: GPS data processed {"connection_id":173543,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:10:55] local.INFO: Acknowledgment sent {"connection_id":173543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:11:26] local.INFO: TCP Data received {"connection_id":173543,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:11:26] local.INFO: Processing buffer {"connection_id":173543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:11:26] local.INFO: Packet analysis {"connection_id":173543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:11:26] local.INFO: Extracted packet for processing {"connection_id":173543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:11:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893762304001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:11: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-09-06 04:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788647810000,"timestamp_ms":1788647810000,"timestamp_seconds":1788647810,"priority":1,"record_length":96,"hex_timestamp":"000001a073b7a3d0"} 
[2026-09-06 04:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:11: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-09-06 04: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 04:11:26] 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-09-06 04: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-09-06 04:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:11: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-09-06 04:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893762304001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893762304001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:11:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:11:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893762304001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":173543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:11:26] local.INFO: GPS data processed {"connection_id":173543,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:11:26] local.INFO: Acknowledgment sent {"connection_id":173543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:11:54] local.INFO: TCP Data received {"connection_id":172172,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:11:54] local.INFO: Processing buffer {"connection_id":172172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:11:54] local.INFO: IMEI packet received {"connection_id":172172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":172172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:11:59] local.INFO: TCP Data received {"connection_id":172172,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:11:59] local.INFO: Processing buffer {"connection_id":172172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:11:59] local.INFO: IMEI packet received {"connection_id":172172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":172172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:11:59] local.INFO: TCP Data received {"connection_id":172172,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:11:59] local.INFO: Processing buffer {"connection_id":172172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:11:59] local.INFO: Packet analysis {"connection_id":172172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:11:59] local.INFO: Extracted packet for processing {"connection_id":172172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:11:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893762304001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:11:59] 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-09-06 04:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788647810000,"timestamp_ms":1788647810000,"timestamp_seconds":1788647810,"priority":1,"record_length":96,"hex_timestamp":"000001a073b7a3d0"} 
[2026-09-06 04:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:11: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-09-06 04:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 04:11:59] 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-09-06 04:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893762304001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893762304001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:11:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:11:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893762304001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":172172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:11:59] local.INFO: GPS data processed {"connection_id":172172,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:11:59] local.INFO: Acknowledgment sent {"connection_id":172172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:12:04] local.INFO: TCP Data received {"connection_id":172172,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:12:04] local.INFO: Processing buffer {"connection_id":172172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073b7a3d0012d532d0006497048000601472e..."} 
[2026-09-06 04:12:04] local.INFO: Packet analysis {"connection_id":172172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:12:04] local.INFO: Extracted packet for processing {"connection_id":172172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073b7"} 
[2026-09-06 04:12:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893762304001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788647810000,"timestamp_ms":1788647810000,"timestamp_seconds":1788647810,"priority":1,"record_length":96,"hex_timestamp":"000001a073b7a3d0"} 
[2026-09-06 04:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:12: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-09-06 04: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 04:12:04] 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-09-06 04: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-09-06 04:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893762304001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893762304001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:12:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:12:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893762304001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":172172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:12:04] local.INFO: GPS data processed {"connection_id":172172,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:12:04] local.INFO: Acknowledgment sent {"connection_id":172172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:12:49] local.INFO: TCP Data received {"connection_id":172173,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:12:49] local.INFO: Processing buffer {"connection_id":172173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:12:49] local.INFO: IMEI packet received {"connection_id":172173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":172173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:12:54] local.INFO: TCP Data received {"connection_id":172173,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:12:54] local.INFO: Processing buffer {"connection_id":172173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:12:54] local.INFO: IMEI packet received {"connection_id":172173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":172173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:12:55] local.INFO: TCP Data received {"connection_id":172173,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:12:55] local.INFO: Processing buffer {"connection_id":172173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:12:55] local.INFO: Packet analysis {"connection_id":172173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:12:55] local.INFO: Extracted packet for processing {"connection_id":172173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:12:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893839360001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788648111000,"timestamp_ms":1788648111000,"timestamp_seconds":1788648111,"priority":1,"record_length":96,"hex_timestamp":"000001a073bc3b98"} 
[2026-09-06 04:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:12: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-09-06 04:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:12:55] 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-09-06 04:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893839360001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893839360001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:12:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:12:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893839360001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":172173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:12:55] local.INFO: GPS data processed {"connection_id":172173,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:12:55] local.INFO: Acknowledgment sent {"connection_id":172173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:13:26] local.INFO: TCP Data received {"connection_id":172173,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:13:26] local.INFO: Processing buffer {"connection_id":172173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:13:26] local.INFO: Packet analysis {"connection_id":172173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:13:26] local.INFO: Extracted packet for processing {"connection_id":172173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:13:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893839360001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:13: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-09-06 04:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788648111000,"timestamp_ms":1788648111000,"timestamp_seconds":1788648111,"priority":1,"record_length":96,"hex_timestamp":"000001a073bc3b98"} 
[2026-09-06 04:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:13: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-09-06 04: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":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:13:26] 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-09-06 04: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-09-06 04:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:13: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-09-06 04:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893839360001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893839360001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:13:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:13:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893839360001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":172173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:13:26] local.INFO: GPS data processed {"connection_id":172173,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:13:26] local.INFO: Acknowledgment sent {"connection_id":172173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:13:49] local.INFO: TCP Data received {"connection_id":174865,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:13:49] local.INFO: Processing buffer {"connection_id":174865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:13:49] local.INFO: IMEI packet received {"connection_id":174865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":174865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:13:54] local.INFO: TCP Data received {"connection_id":174865,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:13:54] local.INFO: Processing buffer {"connection_id":174865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:13:54] local.INFO: IMEI packet received {"connection_id":174865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":174865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:13:55] local.INFO: TCP Data received {"connection_id":174865,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:13:55] local.INFO: Processing buffer {"connection_id":174865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:13:55] local.INFO: Packet analysis {"connection_id":174865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:13:55] local.INFO: Extracted packet for processing {"connection_id":174865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:13:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893839360001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788648111000,"timestamp_ms":1788648111000,"timestamp_seconds":1788648111,"priority":1,"record_length":96,"hex_timestamp":"000001a073bc3b98"} 
[2026-09-06 04:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:13: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-09-06 04:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:13:55] 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-09-06 04:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893839360001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893839360001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:13:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:13:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893839360001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":174865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:13:55] local.INFO: GPS data processed {"connection_id":174865,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:13:55] local.INFO: Acknowledgment sent {"connection_id":174865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:14:26] local.INFO: TCP Data received {"connection_id":174865,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:14:26] local.INFO: Processing buffer {"connection_id":174865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:14:26] local.INFO: Packet analysis {"connection_id":174865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:14:26] local.INFO: Extracted packet for processing {"connection_id":174865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:14:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893839360001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:14: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-09-06 04:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788648111000,"timestamp_ms":1788648111000,"timestamp_seconds":1788648111,"priority":1,"record_length":96,"hex_timestamp":"000001a073bc3b98"} 
[2026-09-06 04:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:14: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-09-06 04:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:14:26] 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-09-06 04:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:14: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-09-06 04:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893839360001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893839360001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:14:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:14:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893839360001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":174865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:14:26] local.INFO: GPS data processed {"connection_id":174865,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:14:26] local.INFO: Acknowledgment sent {"connection_id":174865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:14:54] local.INFO: TCP Data received {"connection_id":172175,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:14:54] local.INFO: Processing buffer {"connection_id":172175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:14:54] local.INFO: IMEI packet received {"connection_id":172175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":172175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:14:59] local.INFO: TCP Data received {"connection_id":172175,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:14:59] local.INFO: Processing buffer {"connection_id":172175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:14:59] local.INFO: IMEI packet received {"connection_id":172175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":172175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:15:00] local.INFO: TCP Data received {"connection_id":172175,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:15:00] local.INFO: Processing buffer {"connection_id":172175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:15:00] local.INFO: Packet analysis {"connection_id":172175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:15:00] local.INFO: Extracted packet for processing {"connection_id":172175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:15:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893839360001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:15:00] 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-09-06 04:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788648111000,"timestamp_ms":1788648111000,"timestamp_seconds":1788648111,"priority":1,"record_length":96,"hex_timestamp":"000001a073bc3b98"} 
[2026-09-06 04:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:15: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-09-06 04:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:15:00] 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-09-06 04:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893839360001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893839360001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:15:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:15:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893839360001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":172175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:15:00] local.INFO: GPS data processed {"connection_id":172175,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:15:00] local.INFO: Acknowledgment sent {"connection_id":172175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:15:04] local.INFO: TCP Data received {"connection_id":172175,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:15:04] local.INFO: Processing buffer {"connection_id":172175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:15:04] local.INFO: Packet analysis {"connection_id":172175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:15:04] local.INFO: Extracted packet for processing {"connection_id":172175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:15:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893839360001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788648111000,"timestamp_ms":1788648111000,"timestamp_seconds":1788648111,"priority":1,"record_length":96,"hex_timestamp":"000001a073bc3b98"} 
[2026-09-06 04:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:15: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-09-06 04:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:15:04] 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-09-06 04:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893839360001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893839360001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:15:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:15:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893839360001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":172175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:15:04] local.INFO: GPS data processed {"connection_id":172175,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:15:04] local.INFO: Acknowledgment sent {"connection_id":172175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:15:12] local.INFO: TCP Data received {"connection_id":174866,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:15:12] local.INFO: Processing buffer {"connection_id":174866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:15:12] local.INFO: IMEI packet received {"connection_id":174866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 04:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":174866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:15:49] local.INFO: TCP Data received {"connection_id":174867,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:15:49] local.INFO: Processing buffer {"connection_id":174867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:15:49] local.INFO: IMEI packet received {"connection_id":174867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":174867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:15:54] local.INFO: TCP Data received {"connection_id":174867,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:15:54] local.INFO: Processing buffer {"connection_id":174867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:15:54] local.INFO: IMEI packet received {"connection_id":174867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":174867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:15:55] local.INFO: TCP Data received {"connection_id":174867,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:15:55] local.INFO: Processing buffer {"connection_id":174867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:15:55] local.INFO: Packet analysis {"connection_id":174867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:15:55] local.INFO: Extracted packet for processing {"connection_id":174867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:15:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893839360001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788648111000,"timestamp_ms":1788648111000,"timestamp_seconds":1788648111,"priority":1,"record_length":96,"hex_timestamp":"000001a073bc3b98"} 
[2026-09-06 04:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:15: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-09-06 04:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:15:55] 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-09-06 04:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893839360001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893839360001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:15:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:15:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893839360001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":174867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:15:55] local.INFO: GPS data processed {"connection_id":174867,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:15:55] local.INFO: Acknowledgment sent {"connection_id":174867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:16:26] local.INFO: TCP Data received {"connection_id":174867,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:16:26] local.INFO: Processing buffer {"connection_id":174867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:16:26] local.INFO: Packet analysis {"connection_id":174867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:16:26] local.INFO: Extracted packet for processing {"connection_id":174867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:16:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893839360001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:16: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-09-06 04:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788648111000,"timestamp_ms":1788648111000,"timestamp_seconds":1788648111,"priority":1,"record_length":96,"hex_timestamp":"000001a073bc3b98"} 
[2026-09-06 04:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:16:26] 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-09-06 04:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:16: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-09-06 04:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893839360001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893839360001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:16:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:16:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893839360001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":174867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:16:26] local.INFO: GPS data processed {"connection_id":174867,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:16:26] local.INFO: Acknowledgment sent {"connection_id":174867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:16:49] local.INFO: TCP Data received {"connection_id":173546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:16:49] local.INFO: Processing buffer {"connection_id":173546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:16:49] local.INFO: IMEI packet received {"connection_id":173546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":173546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:16:54] local.INFO: TCP Data received {"connection_id":173546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:16:54] local.INFO: Processing buffer {"connection_id":173546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:16:54] local.INFO: IMEI packet received {"connection_id":173546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":173546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:16:56] local.INFO: TCP Data received {"connection_id":173546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:16:56] local.INFO: Processing buffer {"connection_id":173546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:16:56] local.INFO: Packet analysis {"connection_id":173546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:16:56] local.INFO: Extracted packet for processing {"connection_id":173546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:16:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893839360001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:16:56] 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-09-06 04:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788648111000,"timestamp_ms":1788648111000,"timestamp_seconds":1788648111,"priority":1,"record_length":96,"hex_timestamp":"000001a073bc3b98"} 
[2026-09-06 04:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:16: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-09-06 04:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:16:56] 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-09-06 04:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:16: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-09-06 04:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893839360001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893839360001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:16:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:16:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893839360001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":173546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:16:57] local.INFO: GPS data processed {"connection_id":173546,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:16:57] local.INFO: Acknowledgment sent {"connection_id":173546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:17:27] local.INFO: TCP Data received {"connection_id":173546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:17:27] local.INFO: Processing buffer {"connection_id":173546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073bc3b98012d532d00064970480006014731..."} 
[2026-09-06 04:17:27] local.INFO: Packet analysis {"connection_id":173546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:17:27] local.INFO: Extracted packet for processing {"connection_id":173546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073bc"} 
[2026-09-06 04:17:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":49,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893839360001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:17:27] 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-09-06 04:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788648111000,"timestamp_ms":1788648111000,"timestamp_seconds":1788648111,"priority":1,"record_length":96,"hex_timestamp":"000001a073bc3b98"} 
[2026-09-06 04:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:17: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-09-06 04:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:17:27] 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-09-06 04:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:17: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-09-06 04:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893839360001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893839360001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:17:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:17:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893839360001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":173546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:17:27] local.INFO: GPS data processed {"connection_id":173546,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:17:27] local.INFO: Acknowledgment sent {"connection_id":173546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:17:49] local.INFO: TCP Data received {"connection_id":173547,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:17:49] local.INFO: Processing buffer {"connection_id":173547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:17:49] local.INFO: IMEI packet received {"connection_id":173547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":173547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:17:54] local.INFO: TCP Data received {"connection_id":173547,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:17:54] local.INFO: Processing buffer {"connection_id":173547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:17:54] local.INFO: IMEI packet received {"connection_id":173547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":173547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:17:55] local.INFO: TCP Data received {"connection_id":173547,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:17:55] local.INFO: Processing buffer {"connection_id":173547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:17:55] local.INFO: Packet analysis {"connection_id":173547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:17:55] local.INFO: Extracted packet for processing {"connection_id":173547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:17:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893916416001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788648412000,"timestamp_ms":1788648412000,"timestamp_seconds":1788648412,"priority":1,"record_length":96,"hex_timestamp":"000001a073c0d360"} 
[2026-09-06 04:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:17: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-09-06 04:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:17:55] 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-09-06 04:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893916416001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893916416001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:17:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:17:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893916416001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":173547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:17:55] local.INFO: GPS data processed {"connection_id":173547,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:17:55] local.INFO: Acknowledgment sent {"connection_id":173547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:18:25] local.INFO: TCP Data received {"connection_id":173547,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:18:25] local.INFO: Processing buffer {"connection_id":173547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:18:25] local.INFO: Packet analysis {"connection_id":173547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:18:25] local.INFO: Extracted packet for processing {"connection_id":173547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:18:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893916416001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:18:25] 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-09-06 04:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788648412000,"timestamp_ms":1788648412000,"timestamp_seconds":1788648412,"priority":1,"record_length":96,"hex_timestamp":"000001a073c0d360"} 
[2026-09-06 04:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04: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-09-06 04: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":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:18: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-09-06 04: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-09-06 04:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04: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-09-06 04:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893916416001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893916416001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:18:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:18:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893916416001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":173547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:18:25] local.INFO: GPS data processed {"connection_id":173547,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:18:25] local.INFO: Acknowledgment sent {"connection_id":173547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:18:49] local.INFO: TCP Data received {"connection_id":172177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:18:49] local.INFO: Processing buffer {"connection_id":172177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:18:49] local.INFO: IMEI packet received {"connection_id":172177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":172177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:18:54] local.INFO: TCP Data received {"connection_id":172177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:18:54] local.INFO: Processing buffer {"connection_id":172177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:18:54] local.INFO: IMEI packet received {"connection_id":172177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":172177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:18:55] local.INFO: TCP Data received {"connection_id":172177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:18:55] local.INFO: Processing buffer {"connection_id":172177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:18:55] local.INFO: Packet analysis {"connection_id":172177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:18:55] local.INFO: Extracted packet for processing {"connection_id":172177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:18:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893916416001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788648412000,"timestamp_ms":1788648412000,"timestamp_seconds":1788648412,"priority":1,"record_length":96,"hex_timestamp":"000001a073c0d360"} 
[2026-09-06 04:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:18: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-09-06 04:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:18:55] 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-09-06 04:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893916416001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893916416001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:18:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:18:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893916416001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":172177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:18:55] local.INFO: GPS data processed {"connection_id":172177,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:18:55] local.INFO: Acknowledgment sent {"connection_id":172177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:19:26] local.INFO: TCP Data received {"connection_id":172177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:19:26] local.INFO: Processing buffer {"connection_id":172177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:19:26] local.INFO: Packet analysis {"connection_id":172177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:19:26] local.INFO: Extracted packet for processing {"connection_id":172177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:19:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893916416001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:19: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-09-06 04:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788648412000,"timestamp_ms":1788648412000,"timestamp_seconds":1788648412,"priority":1,"record_length":96,"hex_timestamp":"000001a073c0d360"} 
[2026-09-06 04:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:19: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-09-06 04:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:19: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-09-06 04:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:19: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-09-06 04:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893916416001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893916416001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:19:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:19:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893916416001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":172177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:19:26] local.INFO: GPS data processed {"connection_id":172177,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:19:26] local.INFO: Acknowledgment sent {"connection_id":172177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:19:54] local.INFO: TCP Data received {"connection_id":172419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:19:54] local.INFO: Processing buffer {"connection_id":172419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:19:54] local.INFO: IMEI packet received {"connection_id":172419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":172419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:19:59] local.INFO: TCP Data received {"connection_id":172419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:19:59] local.INFO: Processing buffer {"connection_id":172419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:19:59] local.INFO: IMEI packet received {"connection_id":172419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":172419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:19:59] local.INFO: TCP Data received {"connection_id":172419,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:19:59] local.INFO: Processing buffer {"connection_id":172419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:19:59] local.INFO: Packet analysis {"connection_id":172419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:19:59] local.INFO: Extracted packet for processing {"connection_id":172419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:19:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893916416001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:19:59] 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-09-06 04:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788648412000,"timestamp_ms":1788648412000,"timestamp_seconds":1788648412,"priority":1,"record_length":96,"hex_timestamp":"000001a073c0d360"} 
[2026-09-06 04:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:19: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-09-06 04:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:19:59] 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-09-06 04:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893916416001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893916416001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:19:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:19:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893916416001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":172419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:19:59] local.INFO: GPS data processed {"connection_id":172419,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:19:59] local.INFO: Acknowledgment sent {"connection_id":172419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:20:04] local.INFO: TCP Data received {"connection_id":172419,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:20:04] local.INFO: Processing buffer {"connection_id":172419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:20:04] local.INFO: Packet analysis {"connection_id":172419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:20:04] local.INFO: Extracted packet for processing {"connection_id":172419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:20:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893916416001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788648412000,"timestamp_ms":1788648412000,"timestamp_seconds":1788648412,"priority":1,"record_length":96,"hex_timestamp":"000001a073c0d360"} 
[2026-09-06 04:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:20: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-09-06 04:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:20:04] 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-09-06 04:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893916416001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893916416001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:20:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:20:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893916416001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":172419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:20:04] local.INFO: GPS data processed {"connection_id":172419,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:20:04] local.INFO: Acknowledgment sent {"connection_id":172419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:20:38] local.INFO: TCP Data received {"connection_id":173548,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:20:38] local.INFO: Processing buffer {"connection_id":173548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:20:38] local.INFO: IMEI packet received {"connection_id":173548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 04:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":173548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:20:49] local.INFO: TCP Data received {"connection_id":173549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:20:49] local.INFO: Processing buffer {"connection_id":173549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:20:49] local.INFO: IMEI packet received {"connection_id":173549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":173549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:20:54] local.INFO: TCP Data received {"connection_id":173549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:20:54] local.INFO: Processing buffer {"connection_id":173549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:20:54] local.INFO: IMEI packet received {"connection_id":173549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":173549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:20:55] local.INFO: TCP Data received {"connection_id":173549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:20:55] local.INFO: Processing buffer {"connection_id":173549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:20:55] local.INFO: Packet analysis {"connection_id":173549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:20:55] local.INFO: Extracted packet for processing {"connection_id":173549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:20:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893916416001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788648412000,"timestamp_ms":1788648412000,"timestamp_seconds":1788648412,"priority":1,"record_length":96,"hex_timestamp":"000001a073c0d360"} 
[2026-09-06 04:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:20: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-09-06 04:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:20:55] 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-09-06 04:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893916416001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893916416001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:20:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:20:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893916416001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":173549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:20:55] local.INFO: GPS data processed {"connection_id":173549,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:20:55] local.INFO: Acknowledgment sent {"connection_id":173549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:21:12] local.INFO: TCP Data received {"connection_id":174870,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:21:12] local.INFO: Processing buffer {"connection_id":174870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:21:12] local.INFO: IMEI packet received {"connection_id":174870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 04:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":174870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:21:26] local.INFO: TCP Data received {"connection_id":173549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:21:26] local.INFO: Processing buffer {"connection_id":173549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:21:26] local.INFO: Packet analysis {"connection_id":173549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:21:26] local.INFO: Extracted packet for processing {"connection_id":173549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:21:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 04:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893916416001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:21: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-09-06 04:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788648412000,"timestamp_ms":1788648412000,"timestamp_seconds":1788648412,"priority":1,"record_length":96,"hex_timestamp":"000001a073c0d360"} 
[2026-09-06 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-09-06 04:21: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-09-06 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:21: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-09-06 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-09-06 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-09-06 04:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:21: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-09-06 04:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893916416001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893916416001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:21:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:21:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893916416001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":173549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:21:26] local.INFO: GPS data processed {"connection_id":173549,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:21:26] local.INFO: Acknowledgment sent {"connection_id":173549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:21:49] local.INFO: TCP Data received {"connection_id":172178,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:21:49] local.INFO: Processing buffer {"connection_id":172178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:21:49] local.INFO: IMEI packet received {"connection_id":172178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":172178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:21:54] local.INFO: TCP Data received {"connection_id":172178,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:21:54] local.INFO: Processing buffer {"connection_id":172178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:21:54] local.INFO: IMEI packet received {"connection_id":172178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":172178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:21:55] local.INFO: TCP Data received {"connection_id":172178,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:21:55] local.INFO: Processing buffer {"connection_id":172178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:21:55] local.INFO: Packet analysis {"connection_id":172178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:21:55] local.INFO: Extracted packet for processing {"connection_id":172178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:21:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893916416001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788648412000,"timestamp_ms":1788648412000,"timestamp_seconds":1788648412,"priority":1,"record_length":96,"hex_timestamp":"000001a073c0d360"} 
[2026-09-06 04:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:21: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-09-06 04: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:21:55] 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-09-06 04: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-09-06 04:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893916416001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893916416001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:21:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:21:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893916416001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":172178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:21:55] local.INFO: GPS data processed {"connection_id":172178,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:21:55] local.INFO: Acknowledgment sent {"connection_id":172178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:22:26] local.INFO: TCP Data received {"connection_id":172178,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:22:26] local.INFO: Processing buffer {"connection_id":172178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c0d360012d532d0006497048000601472e..."} 
[2026-09-06 04:22:26] local.INFO: Packet analysis {"connection_id":172178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:22:26] local.INFO: Extracted packet for processing {"connection_id":172178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c0"} 
[2026-09-06 04:22:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893916416001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:22: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-09-06 04:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788648412000,"timestamp_ms":1788648412000,"timestamp_seconds":1788648412,"priority":1,"record_length":96,"hex_timestamp":"000001a073c0d360"} 
[2026-09-06 04:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:22: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-09-06 04:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:22: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-09-06 04:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:22: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-09-06 04:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893916416001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893916416001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:22:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:22:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893916416001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":172178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:22:26] local.INFO: GPS data processed {"connection_id":172178,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:22:26] local.INFO: Acknowledgment sent {"connection_id":172178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:22:49] local.INFO: TCP Data received {"connection_id":174871,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:22:49] local.INFO: Processing buffer {"connection_id":174871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:22:49] local.INFO: IMEI packet received {"connection_id":174871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":174871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:22:54] local.INFO: TCP Data received {"connection_id":174871,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:22:54] local.INFO: Processing buffer {"connection_id":174871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:22:54] local.INFO: IMEI packet received {"connection_id":174871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":174871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:22:56] local.INFO: TCP Data received {"connection_id":174871,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:22:56] local.INFO: Processing buffer {"connection_id":174871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:22:56] local.INFO: Packet analysis {"connection_id":174871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:22:56] local.INFO: Extracted packet for processing {"connection_id":174871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:22:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893993472001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:22:56] 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-09-06 04:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788648713000,"timestamp_ms":1788648713000,"timestamp_seconds":1788648713,"priority":1,"record_length":96,"hex_timestamp":"000001a073c56b28"} 
[2026-09-06 04:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:22: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-09-06 04:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:22:56] 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-09-06 04:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893993472001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893993472001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:22:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:22:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893993472001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":174871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:22:56] local.INFO: GPS data processed {"connection_id":174871,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:22:56] local.INFO: Acknowledgment sent {"connection_id":174871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:23:27] local.INFO: TCP Data received {"connection_id":174871,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:23:27] local.INFO: Processing buffer {"connection_id":174871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:23:27] local.INFO: Packet analysis {"connection_id":174871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:23:27] local.INFO: Extracted packet for processing {"connection_id":174871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:23:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893993472001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:23:27] 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-09-06 04:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788648713000,"timestamp_ms":1788648713000,"timestamp_seconds":1788648713,"priority":1,"record_length":96,"hex_timestamp":"000001a073c56b28"} 
[2026-09-06 04:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:23: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-09-06 04:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:23:27] 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-09-06 04:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893993472001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893993472001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:23:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:23:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893993472001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":174871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:23:27] local.INFO: GPS data processed {"connection_id":174871,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:23:27] local.INFO: Acknowledgment sent {"connection_id":174871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:23:49] local.INFO: TCP Data received {"connection_id":173552,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:23:49] local.INFO: Processing buffer {"connection_id":173552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:23:49] local.INFO: IMEI packet received {"connection_id":173552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":173552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:23:54] local.INFO: TCP Data received {"connection_id":173552,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:23:54] local.INFO: Processing buffer {"connection_id":173552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:23:54] local.INFO: IMEI packet received {"connection_id":173552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":173552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:23:55] local.INFO: TCP Data received {"connection_id":173552,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:23:55] local.INFO: Processing buffer {"connection_id":173552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:23:55] local.INFO: Packet analysis {"connection_id":173552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:23:55] local.INFO: Extracted packet for processing {"connection_id":173552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:23:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893993472001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788648713000,"timestamp_ms":1788648713000,"timestamp_seconds":1788648713,"priority":1,"record_length":96,"hex_timestamp":"000001a073c56b28"} 
[2026-09-06 04:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:23: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-09-06 04: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:23:55] 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-09-06 04: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-09-06 04:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893993472001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893993472001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:23:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:23:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893993472001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":173552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:23:55] local.INFO: GPS data processed {"connection_id":173552,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:23:55] local.INFO: Acknowledgment sent {"connection_id":173552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:24:26] local.INFO: TCP Data received {"connection_id":173552,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:24:26] local.INFO: Processing buffer {"connection_id":173552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:24:26] local.INFO: Packet analysis {"connection_id":173552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:24:26] local.INFO: Extracted packet for processing {"connection_id":173552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:24:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893993472001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:24: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-09-06 04:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788648713000,"timestamp_ms":1788648713000,"timestamp_seconds":1788648713,"priority":1,"record_length":96,"hex_timestamp":"000001a073c56b28"} 
[2026-09-06 04:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:24: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-09-06 04: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":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:24:26] 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-09-06 04: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-09-06 04:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:24: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-09-06 04:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893993472001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893993472001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:24:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:24:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893993472001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":173552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:24:26] local.INFO: GPS data processed {"connection_id":173552,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:24:26] local.INFO: Acknowledgment sent {"connection_id":173552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:24:49] local.INFO: TCP Data received {"connection_id":174872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:24:49] local.INFO: Processing buffer {"connection_id":174872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:24:49] local.INFO: IMEI packet received {"connection_id":174872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":174872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:24:54] local.INFO: TCP Data received {"connection_id":174872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:24:54] local.INFO: Processing buffer {"connection_id":174872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:24:54] local.INFO: IMEI packet received {"connection_id":174872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":174872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:24:55] local.INFO: TCP Data received {"connection_id":174872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:24:55] local.INFO: Processing buffer {"connection_id":174872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:24:55] local.INFO: Packet analysis {"connection_id":174872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:24:55] local.INFO: Extracted packet for processing {"connection_id":174872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:24:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893993472001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788648713000,"timestamp_ms":1788648713000,"timestamp_seconds":1788648713,"priority":1,"record_length":96,"hex_timestamp":"000001a073c56b28"} 
[2026-09-06 04:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:24: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-09-06 04: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:24:55] 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-09-06 04: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-09-06 04:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893993472001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893993472001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:24:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:24:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893993472001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":174872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:24:55] local.INFO: GPS data processed {"connection_id":174872,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:24:55] local.INFO: Acknowledgment sent {"connection_id":174872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:25:26] local.INFO: TCP Data received {"connection_id":174872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:25:26] local.INFO: Processing buffer {"connection_id":174872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:25:26] local.INFO: Packet analysis {"connection_id":174872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:25:26] local.INFO: Extracted packet for processing {"connection_id":174872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:25:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893993472001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:25: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-09-06 04:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788648713000,"timestamp_ms":1788648713000,"timestamp_seconds":1788648713,"priority":1,"record_length":96,"hex_timestamp":"000001a073c56b28"} 
[2026-09-06 04:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:25: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-09-06 04: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:25:26] 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-09-06 04: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-09-06 04:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:25: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-09-06 04:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893993472001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893993472001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:25:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:25:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893993472001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":174872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:25:26] local.INFO: GPS data processed {"connection_id":174872,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:25:26] local.INFO: Acknowledgment sent {"connection_id":174872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:25:54] local.INFO: TCP Data received {"connection_id":172179,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:25:54] local.INFO: Processing buffer {"connection_id":172179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:25:54] local.INFO: IMEI packet received {"connection_id":172179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":172179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:25:59] local.INFO: TCP Data received {"connection_id":172179,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:25:59] local.INFO: Processing buffer {"connection_id":172179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:25:59] local.INFO: IMEI packet received {"connection_id":172179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":172179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:26:00] local.INFO: TCP Data received {"connection_id":172179,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:26:00] local.INFO: Processing buffer {"connection_id":172179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:26:00] local.INFO: Packet analysis {"connection_id":172179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:26:00] local.INFO: Extracted packet for processing {"connection_id":172179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:26:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893993472001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:26:00] 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-09-06 04:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788648713000,"timestamp_ms":1788648713000,"timestamp_seconds":1788648713,"priority":1,"record_length":96,"hex_timestamp":"000001a073c56b28"} 
[2026-09-06 04:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:26: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-09-06 04:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:26:00] 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-09-06 04:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893993472001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893993472001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:26:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:26:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893993472001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":172179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:26:00] local.INFO: GPS data processed {"connection_id":172179,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:26:00] local.INFO: Acknowledgment sent {"connection_id":172179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:26:30] local.INFO: TCP Data received {"connection_id":172179,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:26:30] local.INFO: Processing buffer {"connection_id":172179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:26:30] local.INFO: Packet analysis {"connection_id":172179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:26:30] local.INFO: Extracted packet for processing {"connection_id":172179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:26:30] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893993472001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:26:30] 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-09-06 04:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788648713000,"timestamp_ms":1788648713000,"timestamp_seconds":1788648713,"priority":1,"record_length":96,"hex_timestamp":"000001a073c56b28"} 
[2026-09-06 04:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:26: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-09-06 04: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:26:30] 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-09-06 04: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-09-06 04:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893993472001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893993472001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:26:30] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:26:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893993472001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":172179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:26:30] local.INFO: GPS data processed {"connection_id":172179,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:26:30] local.INFO: Acknowledgment sent {"connection_id":172179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:26:38] local.INFO: TCP Data received {"connection_id":173554,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:26:38] local.INFO: Processing buffer {"connection_id":173554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:26:38] local.INFO: IMEI packet received {"connection_id":173554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 04:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":173554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:26:49] local.INFO: TCP Data received {"connection_id":172421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:26:49] local.INFO: Processing buffer {"connection_id":172421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:26:49] local.INFO: IMEI packet received {"connection_id":172421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":172421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:26:54] local.INFO: TCP Data received {"connection_id":172421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:26:54] local.INFO: Processing buffer {"connection_id":172421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:26:54] local.INFO: IMEI packet received {"connection_id":172421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":172421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:26:55] local.INFO: TCP Data received {"connection_id":172421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:26:55] local.INFO: Processing buffer {"connection_id":172421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:26:55] local.INFO: Packet analysis {"connection_id":172421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:26:55] local.INFO: Extracted packet for processing {"connection_id":172421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:26:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893993472001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788648713000,"timestamp_ms":1788648713000,"timestamp_seconds":1788648713,"priority":1,"record_length":96,"hex_timestamp":"000001a073c56b28"} 
[2026-09-06 04:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:26: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-09-06 04:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:26:55] 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-09-06 04:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893993472001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893993472001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:26:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:26:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893993472001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":172421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:26:55] local.INFO: GPS data processed {"connection_id":172421,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:26:55] local.INFO: Acknowledgment sent {"connection_id":172421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:27:26] local.INFO: TCP Data received {"connection_id":172421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:27:26] local.INFO: Processing buffer {"connection_id":172421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073c56b28012d532d0006497048000601472f..."} 
[2026-09-06 04:27:26] local.INFO: Packet analysis {"connection_id":172421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:27:26] local.INFO: Extracted packet for processing {"connection_id":172421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073c5"} 
[2026-09-06 04:27:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":47,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457893993472001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:27: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-09-06 04:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788648713000,"timestamp_ms":1788648713000,"timestamp_seconds":1788648713,"priority":1,"record_length":96,"hex_timestamp":"000001a073c56b28"} 
[2026-09-06 04:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:27:26] 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-09-06 04: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-09-06 04:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:27: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-09-06 04:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457893993472001,"66":25288,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457893993472001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:27:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:27:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457893993472001,"power":25288,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":172421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:27:26] local.INFO: GPS data processed {"connection_id":172421,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:27:26] local.INFO: Acknowledgment sent {"connection_id":172421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:27:49] local.INFO: TCP Data received {"connection_id":174873,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:27:49] local.INFO: Processing buffer {"connection_id":174873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:27:49] local.INFO: IMEI packet received {"connection_id":174873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":174873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:27:54] local.INFO: TCP Data received {"connection_id":174873,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:27:54] local.INFO: Processing buffer {"connection_id":174873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:27:54] local.INFO: IMEI packet received {"connection_id":174873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":174873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:27:55] local.INFO: TCP Data received {"connection_id":174873,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:27:55] local.INFO: Processing buffer {"connection_id":174873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:27:55] local.INFO: Packet analysis {"connection_id":174873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:27:55] local.INFO: Extracted packet for processing {"connection_id":174873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:27:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894070528001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788649014000,"timestamp_ms":1788649014000,"timestamp_seconds":1788649014,"priority":1,"record_length":96,"hex_timestamp":"000001a073ca02f0"} 
[2026-09-06 04:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04: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-09-06 04:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:27:55] 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-09-06 04: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-09-06 04:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894070528001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894070528001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:27:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:27:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894070528001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":174873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:27:55] local.INFO: GPS data processed {"connection_id":174873,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:27:55] local.INFO: Acknowledgment sent {"connection_id":174873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:28:26] local.INFO: TCP Data received {"connection_id":174873,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:28:26] local.INFO: Processing buffer {"connection_id":174873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:28:26] local.INFO: Packet analysis {"connection_id":174873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:28:26] local.INFO: Extracted packet for processing {"connection_id":174873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:28:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894070528001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:28: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-09-06 04:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788649014000,"timestamp_ms":1788649014000,"timestamp_seconds":1788649014,"priority":1,"record_length":96,"hex_timestamp":"000001a073ca02f0"} 
[2026-09-06 04:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:28: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-09-06 04: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:28: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-09-06 04: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-09-06 04:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:28: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-09-06 04:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894070528001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894070528001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:28:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:28:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894070528001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":174873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:28:26] local.INFO: GPS data processed {"connection_id":174873,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:28:26] local.INFO: Acknowledgment sent {"connection_id":174873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:28:49] local.INFO: TCP Data received {"connection_id":172423,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:28:49] local.INFO: Processing buffer {"connection_id":172423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:28:49] local.INFO: IMEI packet received {"connection_id":172423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":172423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:28:54] local.INFO: TCP Data received {"connection_id":172423,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:28:54] local.INFO: Processing buffer {"connection_id":172423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:28:54] local.INFO: IMEI packet received {"connection_id":172423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":172423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:28:55] local.INFO: TCP Data received {"connection_id":172423,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:28:55] local.INFO: Processing buffer {"connection_id":172423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:28:55] local.INFO: Packet analysis {"connection_id":172423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:28:55] local.INFO: Extracted packet for processing {"connection_id":172423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:28:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894070528001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788649014000,"timestamp_ms":1788649014000,"timestamp_seconds":1788649014,"priority":1,"record_length":96,"hex_timestamp":"000001a073ca02f0"} 
[2026-09-06 04:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:28: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-09-06 04: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:28:55] 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-09-06 04: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-09-06 04:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894070528001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894070528001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:28:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:28:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894070528001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":172423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:28:55] local.INFO: GPS data processed {"connection_id":172423,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:28:55] local.INFO: Acknowledgment sent {"connection_id":172423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:29:26] local.INFO: TCP Data received {"connection_id":172423,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:29:26] local.INFO: Processing buffer {"connection_id":172423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:29:26] local.INFO: Packet analysis {"connection_id":172423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:29:26] local.INFO: Extracted packet for processing {"connection_id":172423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:29:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894070528001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:29: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-09-06 04:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788649014000,"timestamp_ms":1788649014000,"timestamp_seconds":1788649014,"priority":1,"record_length":96,"hex_timestamp":"000001a073ca02f0"} 
[2026-09-06 04:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:29: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-09-06 04:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:29: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-09-06 04:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894070528001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894070528001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:29:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:29:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894070528001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":172423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:29:26] local.INFO: GPS data processed {"connection_id":172423,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:29:26] local.INFO: Acknowledgment sent {"connection_id":172423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:29:49] local.INFO: TCP Data received {"connection_id":172180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:29:49] local.INFO: Processing buffer {"connection_id":172180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:29:49] local.INFO: IMEI packet received {"connection_id":172180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":172180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:29:54] local.INFO: TCP Data received {"connection_id":172180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:29:54] local.INFO: Processing buffer {"connection_id":172180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:29:54] local.INFO: IMEI packet received {"connection_id":172180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":172180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:29:54] local.INFO: TCP Data received {"connection_id":172180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:29:54] local.INFO: Processing buffer {"connection_id":172180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:29:54] local.INFO: Packet analysis {"connection_id":172180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:29:54] local.INFO: Extracted packet for processing {"connection_id":172180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:29:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894070528001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:29:54] 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-09-06 04:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788649014000,"timestamp_ms":1788649014000,"timestamp_seconds":1788649014,"priority":1,"record_length":96,"hex_timestamp":"000001a073ca02f0"} 
[2026-09-06 04:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:29: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-09-06 04: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:29:54] 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-09-06 04: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-09-06 04:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:29: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-09-06 04:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894070528001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894070528001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:29:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:29:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894070528001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":172180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:29:54] local.INFO: GPS data processed {"connection_id":172180,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:29:54] local.INFO: Acknowledgment sent {"connection_id":172180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:30:25] local.INFO: TCP Data received {"connection_id":172180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:30:25] local.INFO: Processing buffer {"connection_id":172180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:30:25] local.INFO: Packet analysis {"connection_id":172180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:30:25] local.INFO: Extracted packet for processing {"connection_id":172180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:30:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894070528001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:30:25] 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-09-06 04:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788649014000,"timestamp_ms":1788649014000,"timestamp_seconds":1788649014,"priority":1,"record_length":96,"hex_timestamp":"000001a073ca02f0"} 
[2026-09-06 04:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:30: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-09-06 04: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-09-06 04:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:30: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-09-06 04:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894070528001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894070528001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:30:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:30:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894070528001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":172180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:30:25] local.INFO: GPS data processed {"connection_id":172180,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:30:25] local.INFO: Acknowledgment sent {"connection_id":172180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:30:49] local.INFO: TCP Data received {"connection_id":173556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:30:49] local.INFO: Processing buffer {"connection_id":173556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:30:49] local.INFO: IMEI packet received {"connection_id":173556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":173556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:30:54] local.INFO: TCP Data received {"connection_id":173556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:30:54] local.INFO: Processing buffer {"connection_id":173556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:30:54] local.INFO: IMEI packet received {"connection_id":173556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":173556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:30:55] local.INFO: TCP Data received {"connection_id":173556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:30:55] local.INFO: Processing buffer {"connection_id":173556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:30:55] local.INFO: Packet analysis {"connection_id":173556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:30:55] local.INFO: Extracted packet for processing {"connection_id":173556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:30:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894070528001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788649014000,"timestamp_ms":1788649014000,"timestamp_seconds":1788649014,"priority":1,"record_length":96,"hex_timestamp":"000001a073ca02f0"} 
[2026-09-06 04:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:30: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-09-06 04:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:30:55] 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-09-06 04: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-09-06 04:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894070528001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894070528001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:30:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:30:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894070528001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":173556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:30:55] local.INFO: GPS data processed {"connection_id":173556,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:30:55] local.INFO: Acknowledgment sent {"connection_id":173556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:31:26] local.INFO: TCP Data received {"connection_id":173556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:31:26] local.INFO: Processing buffer {"connection_id":173556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:31:26] local.INFO: Packet analysis {"connection_id":173556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:31:26] local.INFO: Extracted packet for processing {"connection_id":173556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:31:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894070528001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:31: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-09-06 04:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788649014000,"timestamp_ms":1788649014000,"timestamp_seconds":1788649014,"priority":1,"record_length":96,"hex_timestamp":"000001a073ca02f0"} 
[2026-09-06 04:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:31: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-09-06 04: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-09-06 04:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894070528001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894070528001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:31:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:31:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894070528001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":173556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:31:26] local.INFO: GPS data processed {"connection_id":173556,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:31:26] local.INFO: Acknowledgment sent {"connection_id":173556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:31:54] local.INFO: TCP Data received {"connection_id":174876,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:31:54] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:31:54] local.INFO: IMEI packet received {"connection_id":174876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":174876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:31:59] local.INFO: TCP Data received {"connection_id":174876,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:31:59] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:31:59] local.INFO: IMEI packet received {"connection_id":174876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":174876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:31:59] local.INFO: TCP Data received {"connection_id":174876,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:31:59] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:31:59] local.INFO: Packet analysis {"connection_id":174876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:31:59] local.INFO: Extracted packet for processing {"connection_id":174876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:31:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894070528001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:31:59] 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-09-06 04:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788649014000,"timestamp_ms":1788649014000,"timestamp_seconds":1788649014,"priority":1,"record_length":96,"hex_timestamp":"000001a073ca02f0"} 
[2026-09-06 04:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:31: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-09-06 04:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:31:59] 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-09-06 04:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894070528001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894070528001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:31:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:31:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894070528001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":174876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:31:59] local.INFO: GPS data processed {"connection_id":174876,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:31:59] local.INFO: Acknowledgment sent {"connection_id":174876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:32:12] local.INFO: TCP Data received {"connection_id":174877,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:32:12] local.INFO: Processing buffer {"connection_id":174877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:32:12] local.INFO: IMEI packet received {"connection_id":174877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 04:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":174877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:32:30] local.INFO: TCP Data received {"connection_id":174876,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:32:30] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ca02f0012d532d0006497048000601472e..."} 
[2026-09-06 04:32:30] local.INFO: Packet analysis {"connection_id":174876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:32:30] local.INFO: Extracted packet for processing {"connection_id":174876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ca"} 
[2026-09-06 04:32:30] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894070528001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:32:30] 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-09-06 04:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788649014000,"timestamp_ms":1788649014000,"timestamp_seconds":1788649014,"priority":1,"record_length":96,"hex_timestamp":"000001a073ca02f0"} 
[2026-09-06 04:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:32: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-09-06 04: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 04:32:30] 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-09-06 04: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-09-06 04:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894070528001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894070528001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:32:30] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:32:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894070528001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":174876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:32:30] local.INFO: GPS data processed {"connection_id":174876,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:32:30] local.INFO: Acknowledgment sent {"connection_id":174876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:32:49] local.INFO: TCP Data received {"connection_id":172425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:32:49] local.INFO: Processing buffer {"connection_id":172425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:32:49] local.INFO: IMEI packet received {"connection_id":172425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":172425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:32:54] local.INFO: TCP Data received {"connection_id":172425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:32:54] local.INFO: Processing buffer {"connection_id":172425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:32:54] local.INFO: IMEI packet received {"connection_id":172425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":172425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:32:55] local.INFO: TCP Data received {"connection_id":172425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:32:55] local.INFO: Processing buffer {"connection_id":172425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:32:55] local.INFO: Packet analysis {"connection_id":172425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:32:55] local.INFO: Extracted packet for processing {"connection_id":172425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:32:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894147584001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788649315000,"timestamp_ms":1788649315000,"timestamp_seconds":1788649315,"priority":1,"record_length":96,"hex_timestamp":"000001a073ce9ab8"} 
[2026-09-06 04:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 04:32:55] 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-09-06 04:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894147584001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894147584001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:32:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:32:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894147584001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":172425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:32:55] local.INFO: GPS data processed {"connection_id":172425,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:32:55] local.INFO: Acknowledgment sent {"connection_id":172425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:33:26] local.INFO: TCP Data received {"connection_id":172425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:33:26] local.INFO: Processing buffer {"connection_id":172425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:33:26] local.INFO: Packet analysis {"connection_id":172425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:33:26] local.INFO: Extracted packet for processing {"connection_id":172425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:33:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894147584001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04: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-09-06 04:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788649315000,"timestamp_ms":1788649315000,"timestamp_seconds":1788649315,"priority":1,"record_length":96,"hex_timestamp":"000001a073ce9ab8"} 
[2026-09-06 04:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:33: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-09-06 04: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 04:33:26] 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-09-06 04: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-09-06 04:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:33: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-09-06 04:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894147584001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894147584001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:33:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:33:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894147584001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":172425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:33:26] local.INFO: GPS data processed {"connection_id":172425,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:33:26] local.INFO: Acknowledgment sent {"connection_id":172425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:33:49] local.INFO: TCP Data received {"connection_id":172181,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:33:49] local.INFO: Processing buffer {"connection_id":172181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:33:49] local.INFO: IMEI packet received {"connection_id":172181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":172181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:33:54] local.INFO: TCP Data received {"connection_id":172181,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:33:54] local.INFO: Processing buffer {"connection_id":172181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:33:54] local.INFO: IMEI packet received {"connection_id":172181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":172181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:33:55] local.INFO: TCP Data received {"connection_id":172181,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:33:55] local.INFO: Processing buffer {"connection_id":172181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:33:55] local.INFO: Packet analysis {"connection_id":172181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:33:55] local.INFO: Extracted packet for processing {"connection_id":172181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:33:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894147584001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788649315000,"timestamp_ms":1788649315000,"timestamp_seconds":1788649315,"priority":1,"record_length":96,"hex_timestamp":"000001a073ce9ab8"} 
[2026-09-06 04:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 04:33:55] 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-09-06 04:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894147584001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894147584001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:33:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:33:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894147584001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":172181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:33:55] local.INFO: GPS data processed {"connection_id":172181,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:33:55] local.INFO: Acknowledgment sent {"connection_id":172181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:34:26] local.INFO: TCP Data received {"connection_id":172181,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:34:26] local.INFO: Processing buffer {"connection_id":172181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:34:26] local.INFO: Packet analysis {"connection_id":172181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:34:26] local.INFO: Extracted packet for processing {"connection_id":172181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:34:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894147584001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:34: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-09-06 04:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788649315000,"timestamp_ms":1788649315000,"timestamp_seconds":1788649315,"priority":1,"record_length":96,"hex_timestamp":"000001a073ce9ab8"} 
[2026-09-06 04:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:34: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-09-06 04:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 04:34:26] 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-09-06 04:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:34: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-09-06 04:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894147584001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894147584001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:34:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:34:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894147584001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":172181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:34:26] local.INFO: GPS data processed {"connection_id":172181,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:34:26] local.INFO: Acknowledgment sent {"connection_id":172181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:34:49] local.INFO: TCP Data received {"connection_id":172427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:34:49] local.INFO: Processing buffer {"connection_id":172427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:34:49] local.INFO: IMEI packet received {"connection_id":172427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":172427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:34:54] local.INFO: TCP Data received {"connection_id":172427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:34:54] local.INFO: Processing buffer {"connection_id":172427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:34:54] local.INFO: IMEI packet received {"connection_id":172427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":172427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:34:55] local.INFO: TCP Data received {"connection_id":172427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:34:55] local.INFO: Processing buffer {"connection_id":172427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:34:55] local.INFO: Packet analysis {"connection_id":172427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:34:55] local.INFO: Extracted packet for processing {"connection_id":172427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:34:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894147584001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788649315000,"timestamp_ms":1788649315000,"timestamp_seconds":1788649315,"priority":1,"record_length":96,"hex_timestamp":"000001a073ce9ab8"} 
[2026-09-06 04:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 04:34:55] 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-09-06 04:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894147584001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894147584001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:34:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:34:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894147584001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":172427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:34:55] local.INFO: GPS data processed {"connection_id":172427,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:34:55] local.INFO: Acknowledgment sent {"connection_id":172427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:35:26] local.INFO: TCP Data received {"connection_id":172427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:35:26] local.INFO: Processing buffer {"connection_id":172427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:35:26] local.INFO: Packet analysis {"connection_id":172427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:35:26] local.INFO: Extracted packet for processing {"connection_id":172427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:35:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894147584001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:35: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-09-06 04:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788649315000,"timestamp_ms":1788649315000,"timestamp_seconds":1788649315,"priority":1,"record_length":96,"hex_timestamp":"000001a073ce9ab8"} 
[2026-09-06 04:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:35: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-09-06 04:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 04:35:26] 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-09-06 04: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-09-06 04:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:35: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-09-06 04:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894147584001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894147584001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:35:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:35:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894147584001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":172427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:35:26] local.INFO: GPS data processed {"connection_id":172427,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:35:26] local.INFO: Acknowledgment sent {"connection_id":172427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:35:49] local.INFO: TCP Data received {"connection_id":172428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:35:49] local.INFO: Processing buffer {"connection_id":172428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:35:49] local.INFO: IMEI packet received {"connection_id":172428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":172428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:35:54] local.INFO: TCP Data received {"connection_id":172428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:35:54] local.INFO: Processing buffer {"connection_id":172428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:35:54] local.INFO: IMEI packet received {"connection_id":172428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":172428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:35:54] local.INFO: TCP Data received {"connection_id":172428,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:35:54] local.INFO: Processing buffer {"connection_id":172428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:35:54] local.INFO: Packet analysis {"connection_id":172428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:35:54] local.INFO: Extracted packet for processing {"connection_id":172428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:35:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894147584001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:35:54] 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-09-06 04:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788649315000,"timestamp_ms":1788649315000,"timestamp_seconds":1788649315,"priority":1,"record_length":96,"hex_timestamp":"000001a073ce9ab8"} 
[2026-09-06 04:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 04:35:54] 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-09-06 04: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-09-06 04:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:35: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-09-06 04:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894147584001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894147584001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:35:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:35:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894147584001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":172428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:35:54] local.INFO: GPS data processed {"connection_id":172428,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:35:54] local.INFO: Acknowledgment sent {"connection_id":172428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:36:25] local.INFO: TCP Data received {"connection_id":172428,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:36:25] local.INFO: Processing buffer {"connection_id":172428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:36:25] local.INFO: Packet analysis {"connection_id":172428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:36:25] local.INFO: Extracted packet for processing {"connection_id":172428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:36:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894147584001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:36:25] 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-09-06 04:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788649315000,"timestamp_ms":1788649315000,"timestamp_seconds":1788649315,"priority":1,"record_length":96,"hex_timestamp":"000001a073ce9ab8"} 
[2026-09-06 04:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:36: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-09-06 04:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 04:36:25] 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-09-06 04:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:36: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-09-06 04:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894147584001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894147584001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:36:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:36:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894147584001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":172428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:36:25] local.INFO: GPS data processed {"connection_id":172428,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:36:25] local.INFO: Acknowledgment sent {"connection_id":172428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:36:54] local.INFO: TCP Data received {"connection_id":172184,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:36:54] local.INFO: Processing buffer {"connection_id":172184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:36:54] local.INFO: IMEI packet received {"connection_id":172184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":172184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:36:59] local.INFO: TCP Data received {"connection_id":172184,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:36:59] local.INFO: Processing buffer {"connection_id":172184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:36:59] local.INFO: IMEI packet received {"connection_id":172184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":172184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:37:00] local.INFO: TCP Data received {"connection_id":172184,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:37:00] local.INFO: Processing buffer {"connection_id":172184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:37:00] local.INFO: Packet analysis {"connection_id":172184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:37:00] local.INFO: Extracted packet for processing {"connection_id":172184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:37:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894147584001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:37:00] 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-09-06 04:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788649315000,"timestamp_ms":1788649315000,"timestamp_seconds":1788649315,"priority":1,"record_length":96,"hex_timestamp":"000001a073ce9ab8"} 
[2026-09-06 04:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 04:37:00] 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-09-06 04:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894147584001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894147584001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:37:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:37:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894147584001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":172184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:37:00] local.INFO: GPS data processed {"connection_id":172184,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:37:00] local.INFO: Acknowledgment sent {"connection_id":172184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:37:04] local.INFO: TCP Data received {"connection_id":172184,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:37:04] local.INFO: Processing buffer {"connection_id":172184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ce9ab8012d532d0006497048000601472c..."} 
[2026-09-06 04:37:04] local.INFO: Packet analysis {"connection_id":172184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:37:04] local.INFO: Extracted packet for processing {"connection_id":172184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ce"} 
[2026-09-06 04:37:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894147584001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788649315000,"timestamp_ms":1788649315000,"timestamp_seconds":1788649315,"priority":1,"record_length":96,"hex_timestamp":"000001a073ce9ab8"} 
[2026-09-06 04:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 04:37:04] 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-09-06 04:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894147584001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894147584001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:37:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:37:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894147584001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":172184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:37:04] local.INFO: GPS data processed {"connection_id":172184,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:37:04] local.INFO: Acknowledgment sent {"connection_id":172184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:37:38] local.INFO: TCP Data received {"connection_id":173557,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:37:38] local.INFO: Processing buffer {"connection_id":173557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:37:38] local.INFO: IMEI packet received {"connection_id":173557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 04:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":173557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:37:49] local.INFO: TCP Data received {"connection_id":174878,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:37:49] local.INFO: Processing buffer {"connection_id":174878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:37:49] local.INFO: IMEI packet received {"connection_id":174878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":174878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:37:54] local.INFO: TCP Data received {"connection_id":174878,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:37:54] local.INFO: Processing buffer {"connection_id":174878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:37:54] local.INFO: IMEI packet received {"connection_id":174878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":174878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:37:55] local.INFO: TCP Data received {"connection_id":174878,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:37:55] local.INFO: Processing buffer {"connection_id":174878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:37:55] local.INFO: Packet analysis {"connection_id":174878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:37:55] local.INFO: Extracted packet for processing {"connection_id":174878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:37:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894224640001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788649616000,"timestamp_ms":1788649616000,"timestamp_seconds":1788649616,"priority":1,"record_length":96,"hex_timestamp":"000001a073d33280"} 
[2026-09-06 04:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:37: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-09-06 04: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 04:37:55] 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-09-06 04: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-09-06 04:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894224640001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894224640001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:37:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:37:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894224640001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":174878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:37:55] local.INFO: GPS data processed {"connection_id":174878,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:37:55] local.INFO: Acknowledgment sent {"connection_id":174878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:38:26] local.INFO: TCP Data received {"connection_id":174878,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:38:26] local.INFO: Processing buffer {"connection_id":174878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:38:26] local.INFO: Packet analysis {"connection_id":174878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:38:26] local.INFO: Extracted packet for processing {"connection_id":174878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:38:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894224640001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:38: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-09-06 04:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788649616000,"timestamp_ms":1788649616000,"timestamp_seconds":1788649616,"priority":1,"record_length":96,"hex_timestamp":"000001a073d33280"} 
[2026-09-06 04:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:38: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-09-06 04:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 04:38:26] 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-09-06 04:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:38: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-09-06 04:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894224640001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894224640001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:38:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:38:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894224640001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":174878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:38:26] local.INFO: GPS data processed {"connection_id":174878,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:38:26] local.INFO: Acknowledgment sent {"connection_id":174878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:38:49] local.INFO: TCP Data received {"connection_id":173558,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:38:49] local.INFO: Processing buffer {"connection_id":173558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:38:49] local.INFO: IMEI packet received {"connection_id":173558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":173558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:38:54] local.INFO: TCP Data received {"connection_id":173558,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:38:54] local.INFO: Processing buffer {"connection_id":173558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:38:54] local.INFO: IMEI packet received {"connection_id":173558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":173558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:38:54] local.INFO: TCP Data received {"connection_id":173558,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:38:54] local.INFO: Processing buffer {"connection_id":173558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:38:54] local.INFO: Packet analysis {"connection_id":173558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:38:54] local.INFO: Extracted packet for processing {"connection_id":173558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:38:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894224640001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:38:54] 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-09-06 04:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788649616000,"timestamp_ms":1788649616000,"timestamp_seconds":1788649616,"priority":1,"record_length":96,"hex_timestamp":"000001a073d33280"} 
[2026-09-06 04:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04: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-09-06 04: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 04:38:54] 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-09-06 04: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-09-06 04:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:38: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-09-06 04:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894224640001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894224640001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:38:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:38:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894224640001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":173558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:38:54] local.INFO: GPS data processed {"connection_id":173558,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:38:54] local.INFO: Acknowledgment sent {"connection_id":173558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:39:25] local.INFO: TCP Data received {"connection_id":173558,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:39:25] local.INFO: Processing buffer {"connection_id":173558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:39:25] local.INFO: Packet analysis {"connection_id":173558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:39:25] local.INFO: Extracted packet for processing {"connection_id":173558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:39:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894224640001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:39:25] 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-09-06 04:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788649616000,"timestamp_ms":1788649616000,"timestamp_seconds":1788649616,"priority":1,"record_length":96,"hex_timestamp":"000001a073d33280"} 
[2026-09-06 04:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 04:39:25] 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-09-06 04:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:39: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-09-06 04:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894224640001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894224640001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:39:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:39:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894224640001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":173558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:39:25] local.INFO: GPS data processed {"connection_id":173558,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:39:25] local.INFO: Acknowledgment sent {"connection_id":173558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:39:49] local.INFO: TCP Data received {"connection_id":172432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:39:49] local.INFO: Processing buffer {"connection_id":172432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:39:49] local.INFO: IMEI packet received {"connection_id":172432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":172432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:39:54] local.INFO: TCP Data received {"connection_id":172432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:39:54] local.INFO: Processing buffer {"connection_id":172432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:39:54] local.INFO: IMEI packet received {"connection_id":172432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":172432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:39:54] local.INFO: TCP Data received {"connection_id":172432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:39:54] local.INFO: Processing buffer {"connection_id":172432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:39:54] local.INFO: Packet analysis {"connection_id":172432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:39:54] local.INFO: Extracted packet for processing {"connection_id":172432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:39:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894224640001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:39:54] 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-09-06 04:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788649616000,"timestamp_ms":1788649616000,"timestamp_seconds":1788649616,"priority":1,"record_length":96,"hex_timestamp":"000001a073d33280"} 
[2026-09-06 04:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:39: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-09-06 04: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 04:39:54] 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-09-06 04: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-09-06 04:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:39: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-09-06 04:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894224640001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894224640001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:39:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:39:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894224640001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":172432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:39:54] local.INFO: GPS data processed {"connection_id":172432,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:39:54] local.INFO: Acknowledgment sent {"connection_id":172432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:40:25] local.INFO: TCP Data received {"connection_id":172432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:40:25] local.INFO: Processing buffer {"connection_id":172432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:40:25] local.INFO: Packet analysis {"connection_id":172432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:40:25] local.INFO: Extracted packet for processing {"connection_id":172432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:40:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894224640001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:40:25] 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-09-06 04:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788649616000,"timestamp_ms":1788649616000,"timestamp_seconds":1788649616,"priority":1,"record_length":96,"hex_timestamp":"000001a073d33280"} 
[2026-09-06 04:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 04:40:25] 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-09-06 04: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-09-06 04:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:40: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-09-06 04:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894224640001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894224640001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:40:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:40:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894224640001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":172432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:40:25] local.INFO: GPS data processed {"connection_id":172432,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:40:25] local.INFO: Acknowledgment sent {"connection_id":172432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:40:49] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:40:49] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:40:49] local.INFO: IMEI packet received {"connection_id":173559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":173559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:40:54] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:40:54] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:40:54] local.INFO: IMEI packet received {"connection_id":173559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":173559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:40:54] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:40:54] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:40:54] local.INFO: Packet analysis {"connection_id":173559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:40:54] local.INFO: Extracted packet for processing {"connection_id":173559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:40:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894224640001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:40:54] 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-09-06 04:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788649616000,"timestamp_ms":1788649616000,"timestamp_seconds":1788649616,"priority":1,"record_length":96,"hex_timestamp":"000001a073d33280"} 
[2026-09-06 04:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:40: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-09-06 04: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":92,"data_length":795,"current_offset":136} 
[2026-09-06 04:40:54] 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-09-06 04: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-09-06 04:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:40: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-09-06 04:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894224640001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894224640001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:40:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:40:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894224640001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":173559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:40:54] local.INFO: GPS data processed {"connection_id":173559,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:40:54] local.INFO: Acknowledgment sent {"connection_id":173559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:41:25] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:41:25] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:41:25] local.INFO: Packet analysis {"connection_id":173559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:41:25] local.INFO: Extracted packet for processing {"connection_id":173559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:41:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894224640001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:41:25] 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-09-06 04:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788649616000,"timestamp_ms":1788649616000,"timestamp_seconds":1788649616,"priority":1,"record_length":96,"hex_timestamp":"000001a073d33280"} 
[2026-09-06 04:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:41: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-09-06 04: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":92,"data_length":795,"current_offset":136} 
[2026-09-06 04:41:25] 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-09-06 04: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-09-06 04:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:41: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-09-06 04:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894224640001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894224640001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:41:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:41:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894224640001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":173559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:41:25] local.INFO: GPS data processed {"connection_id":173559,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:41:25] local.INFO: Acknowledgment sent {"connection_id":173559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:41:49] local.INFO: TCP Data received {"connection_id":172433,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:41:49] local.INFO: Processing buffer {"connection_id":172433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:41:49] local.INFO: IMEI packet received {"connection_id":172433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":172433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:41:54] local.INFO: TCP Data received {"connection_id":172433,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:41:54] local.INFO: Processing buffer {"connection_id":172433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:41:54] local.INFO: IMEI packet received {"connection_id":172433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":172433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:41:54] local.INFO: TCP Data received {"connection_id":172433,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:41:54] local.INFO: Processing buffer {"connection_id":172433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:41:54] local.INFO: Packet analysis {"connection_id":172433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:41:54] local.INFO: Extracted packet for processing {"connection_id":172433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:41:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 04:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894224640001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:41:54] 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-09-06 04:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788649616000,"timestamp_ms":1788649616000,"timestamp_seconds":1788649616,"priority":1,"record_length":96,"hex_timestamp":"000001a073d33280"} 
[2026-09-06 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-09-06 04:41: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-09-06 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 04:41:54] 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-09-06 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-09-06 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-09-06 04:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:41: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-09-06 04:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894224640001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894224640001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:41:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:41:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894224640001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":172433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:41:54] local.INFO: GPS data processed {"connection_id":172433,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:41:54] local.INFO: Acknowledgment sent {"connection_id":172433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:42:25] local.INFO: TCP Data received {"connection_id":172433,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:42:25] local.INFO: Processing buffer {"connection_id":172433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d33280012d532d0006497048000601472d..."} 
[2026-09-06 04:42:25] local.INFO: Packet analysis {"connection_id":172433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:42:25] local.INFO: Extracted packet for processing {"connection_id":172433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d3"} 
[2026-09-06 04:42:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894224640001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:42:25] 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-09-06 04:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788649616000,"timestamp_ms":1788649616000,"timestamp_seconds":1788649616,"priority":1,"record_length":96,"hex_timestamp":"000001a073d33280"} 
[2026-09-06 04:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 04:42:25] 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-09-06 04: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-09-06 04:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:42: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-09-06 04:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894224640001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894224640001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:42:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:42:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894224640001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":172433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:42:25] local.INFO: GPS data processed {"connection_id":172433,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:42:25] local.INFO: Acknowledgment sent {"connection_id":172433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:42:54] local.INFO: TCP Data received {"connection_id":172187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:42:54] local.INFO: Processing buffer {"connection_id":172187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:42:54] local.INFO: IMEI packet received {"connection_id":172187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":172187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:42:59] local.INFO: TCP Data received {"connection_id":172187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:42:59] local.INFO: Processing buffer {"connection_id":172187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:42:59] local.INFO: IMEI packet received {"connection_id":172187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":172187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:42:59] local.INFO: TCP Data received {"connection_id":172187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:42:59] local.INFO: Processing buffer {"connection_id":172187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:42:59] local.INFO: Packet analysis {"connection_id":172187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:42:59] local.INFO: Extracted packet for processing {"connection_id":172187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:42:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894301696001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:42:59] 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-09-06 04:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788649917000,"timestamp_ms":1788649917000,"timestamp_seconds":1788649917,"priority":1,"record_length":96,"hex_timestamp":"000001a073d7ca48"} 
[2026-09-06 04:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 04:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 04:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894301696001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894301696001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:42:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:42:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894301696001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":172187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:42:59] local.INFO: GPS data processed {"connection_id":172187,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:42:59] local.INFO: Acknowledgment sent {"connection_id":172187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:43:04] local.INFO: TCP Data received {"connection_id":172187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:43:04] local.INFO: Processing buffer {"connection_id":172187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:43:04] local.INFO: Packet analysis {"connection_id":172187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:43:04] local.INFO: Extracted packet for processing {"connection_id":172187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:43:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894301696001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788649917000,"timestamp_ms":1788649917000,"timestamp_seconds":1788649917,"priority":1,"record_length":96,"hex_timestamp":"000001a073d7ca48"} 
[2026-09-06 04:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:43: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-09-06 04:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 04:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 04:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894301696001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894301696001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:43:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:43:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894301696001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":172187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:43:04] local.INFO: GPS data processed {"connection_id":172187,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:43:04] local.INFO: Acknowledgment sent {"connection_id":172187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:43:18] local.INFO: TCP Data received {"connection_id":172434,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:43:18] local.INFO: Processing buffer {"connection_id":172434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:43:18] local.INFO: IMEI packet received {"connection_id":172434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 04:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":172434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:43:49] local.INFO: TCP Data received {"connection_id":173560,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:43:49] local.INFO: Processing buffer {"connection_id":173560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:43:49] local.INFO: IMEI packet received {"connection_id":173560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":173560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:43:54] local.INFO: TCP Data received {"connection_id":173560,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:43:54] local.INFO: Processing buffer {"connection_id":173560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:43:54] local.INFO: IMEI packet received {"connection_id":173560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":173560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:43:55] local.INFO: TCP Data received {"connection_id":173560,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:43:55] local.INFO: Processing buffer {"connection_id":173560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:43:55] local.INFO: Packet analysis {"connection_id":173560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:43:55] local.INFO: Extracted packet for processing {"connection_id":173560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:43:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894301696001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788649917000,"timestamp_ms":1788649917000,"timestamp_seconds":1788649917,"priority":1,"record_length":96,"hex_timestamp":"000001a073d7ca48"} 
[2026-09-06 04:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:43: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-09-06 04:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 04:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 04:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894301696001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894301696001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:43:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:43:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894301696001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":173560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:43:55] local.INFO: GPS data processed {"connection_id":173560,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:43:55] local.INFO: Acknowledgment sent {"connection_id":173560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:44:26] local.INFO: TCP Data received {"connection_id":173560,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:44:26] local.INFO: Processing buffer {"connection_id":173560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:44:26] local.INFO: Packet analysis {"connection_id":173560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:44:26] local.INFO: Extracted packet for processing {"connection_id":173560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:44:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894301696001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:44: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-09-06 04:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788649917000,"timestamp_ms":1788649917000,"timestamp_seconds":1788649917,"priority":1,"record_length":96,"hex_timestamp":"000001a073d7ca48"} 
[2026-09-06 04:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:44: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-09-06 04: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 04:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 04: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-09-06 04:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:44: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-09-06 04:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894301696001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894301696001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:44:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:44:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894301696001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":173560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:44:26] local.INFO: GPS data processed {"connection_id":173560,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:44:26] local.INFO: Acknowledgment sent {"connection_id":173560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:44:49] local.INFO: TCP Data received {"connection_id":172188,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:44:49] local.INFO: Processing buffer {"connection_id":172188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:44:49] local.INFO: IMEI packet received {"connection_id":172188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":172188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:44:54] local.INFO: TCP Data received {"connection_id":172188,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:44:54] local.INFO: Processing buffer {"connection_id":172188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:44:54] local.INFO: IMEI packet received {"connection_id":172188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":172188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:44:54] local.INFO: TCP Data received {"connection_id":172188,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:44:54] local.INFO: Processing buffer {"connection_id":172188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:44:54] local.INFO: Packet analysis {"connection_id":172188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:44:54] local.INFO: Extracted packet for processing {"connection_id":172188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:44:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894301696001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:44:54] 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-09-06 04:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788649917000,"timestamp_ms":1788649917000,"timestamp_seconds":1788649917,"priority":1,"record_length":96,"hex_timestamp":"000001a073d7ca48"} 
[2026-09-06 04:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:44: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-09-06 04: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 04:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 04: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-09-06 04:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:44: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-09-06 04:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894301696001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894301696001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:44:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:44:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894301696001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":172188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:44:54] local.INFO: GPS data processed {"connection_id":172188,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:44:54] local.INFO: Acknowledgment sent {"connection_id":172188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:45:25] local.INFO: TCP Data received {"connection_id":172188,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:45:25] local.INFO: Processing buffer {"connection_id":172188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:45:25] local.INFO: Packet analysis {"connection_id":172188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:45:25] local.INFO: Extracted packet for processing {"connection_id":172188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:45:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 04:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894301696001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:45:25] 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-09-06 04:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788649917000,"timestamp_ms":1788649917000,"timestamp_seconds":1788649917,"priority":1,"record_length":96,"hex_timestamp":"000001a073d7ca48"} 
[2026-09-06 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-09-06 04:45: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-09-06 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 04:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 04:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:45: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-09-06 04:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894301696001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894301696001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:45:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:45:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894301696001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":172188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:45:25] local.INFO: GPS data processed {"connection_id":172188,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:45:25] local.INFO: Acknowledgment sent {"connection_id":172188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:45:49] local.INFO: TCP Data received {"connection_id":172435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:45:49] local.INFO: Processing buffer {"connection_id":172435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:45:49] local.INFO: IMEI packet received {"connection_id":172435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":172435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:45:54] local.INFO: TCP Data received {"connection_id":172435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:45:54] local.INFO: Processing buffer {"connection_id":172435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:45:54] local.INFO: IMEI packet received {"connection_id":172435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":172435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:45:54] local.INFO: TCP Data received {"connection_id":172435,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:45:54] local.INFO: Processing buffer {"connection_id":172435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:45:54] local.INFO: Packet analysis {"connection_id":172435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:45:54] local.INFO: Extracted packet for processing {"connection_id":172435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:45:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894301696001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:45:54] 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-09-06 04:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788649917000,"timestamp_ms":1788649917000,"timestamp_seconds":1788649917,"priority":1,"record_length":96,"hex_timestamp":"000001a073d7ca48"} 
[2026-09-06 04:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:45: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-09-06 04: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 04:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 04: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-09-06 04:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:45: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-09-06 04:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894301696001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894301696001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:45:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:45:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894301696001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":172435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:45:54] local.INFO: GPS data processed {"connection_id":172435,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:45:54] local.INFO: Acknowledgment sent {"connection_id":172435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:46:25] local.INFO: TCP Data received {"connection_id":172435,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:46:25] local.INFO: Processing buffer {"connection_id":172435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:46:25] local.INFO: Packet analysis {"connection_id":172435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:46:25] local.INFO: Extracted packet for processing {"connection_id":172435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:46:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894301696001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:46:25] 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-09-06 04:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788649917000,"timestamp_ms":1788649917000,"timestamp_seconds":1788649917,"priority":1,"record_length":96,"hex_timestamp":"000001a073d7ca48"} 
[2026-09-06 04:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:46: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-09-06 04: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 04:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 04: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-09-06 04:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:46: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-09-06 04:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894301696001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894301696001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:46:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:46:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894301696001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":172435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:46:25] local.INFO: GPS data processed {"connection_id":172435,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:46:25] local.INFO: Acknowledgment sent {"connection_id":172435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:46:49] local.INFO: TCP Data received {"connection_id":173562,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:46:49] local.INFO: Processing buffer {"connection_id":173562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:46:49] local.INFO: IMEI packet received {"connection_id":173562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":173562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:46:54] local.INFO: TCP Data received {"connection_id":173562,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:46:54] local.INFO: Processing buffer {"connection_id":173562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:46:54] local.INFO: IMEI packet received {"connection_id":173562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":173562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:46:54] local.INFO: TCP Data received {"connection_id":173562,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:46:54] local.INFO: Processing buffer {"connection_id":173562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:46:54] local.INFO: Packet analysis {"connection_id":173562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:46:54] local.INFO: Extracted packet for processing {"connection_id":173562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:46:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894301696001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:46:54] 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-09-06 04:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788649917000,"timestamp_ms":1788649917000,"timestamp_seconds":1788649917,"priority":1,"record_length":96,"hex_timestamp":"000001a073d7ca48"} 
[2026-09-06 04:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:46: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-09-06 04: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 04:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 04: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-09-06 04:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:46: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-09-06 04:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894301696001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894301696001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:46:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:46:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894301696001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":173562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:46:54] local.INFO: GPS data processed {"connection_id":173562,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:46:54] local.INFO: Acknowledgment sent {"connection_id":173562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:47:25] local.INFO: TCP Data received {"connection_id":173562,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:47:25] local.INFO: Processing buffer {"connection_id":173562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073d7ca48012d532d0006497048000601472d..."} 
[2026-09-06 04:47:25] local.INFO: Packet analysis {"connection_id":173562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:47:25] local.INFO: Extracted packet for processing {"connection_id":173562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073d7"} 
[2026-09-06 04:47:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894301696001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:47:25] 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-09-06 04:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788649917000,"timestamp_ms":1788649917000,"timestamp_seconds":1788649917,"priority":1,"record_length":96,"hex_timestamp":"000001a073d7ca48"} 
[2026-09-06 04:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:47: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-09-06 04:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 04:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 04:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:47: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-09-06 04:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894301696001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894301696001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:47:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:47:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894301696001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":173562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:47:25] local.INFO: GPS data processed {"connection_id":173562,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:47:25] local.INFO: Acknowledgment sent {"connection_id":173562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:47:49] local.INFO: TCP Data received {"connection_id":172190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:47:49] local.INFO: Processing buffer {"connection_id":172190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:47:49] local.INFO: IMEI packet received {"connection_id":172190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":172190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:47:54] local.INFO: TCP Data received {"connection_id":172190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:47:54] local.INFO: Processing buffer {"connection_id":172190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:47:54] local.INFO: IMEI packet received {"connection_id":172190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":172190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:47:54] local.INFO: TCP Data received {"connection_id":172190,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:47:54] local.INFO: Processing buffer {"connection_id":172190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:47:54] local.INFO: Packet analysis {"connection_id":172190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:47:54] local.INFO: Extracted packet for processing {"connection_id":172190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:47:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894378752001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:47:54] 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-09-06 04:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788650218000,"timestamp_ms":1788650218000,"timestamp_seconds":1788650218,"priority":1,"record_length":96,"hex_timestamp":"000001a073dc6210"} 
[2026-09-06 04:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:47:54] 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-09-06 04: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-09-06 04:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:47: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-09-06 04:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894378752001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894378752001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:47:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:47:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894378752001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":172190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:47:54] local.INFO: GPS data processed {"connection_id":172190,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:47:54] local.INFO: Acknowledgment sent {"connection_id":172190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:48:25] local.INFO: TCP Data received {"connection_id":172190,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:48:25] local.INFO: Processing buffer {"connection_id":172190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:48:25] local.INFO: Packet analysis {"connection_id":172190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:48:25] local.INFO: Extracted packet for processing {"connection_id":172190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:48:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894378752001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:48:25] 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-09-06 04:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788650218000,"timestamp_ms":1788650218000,"timestamp_seconds":1788650218,"priority":1,"record_length":96,"hex_timestamp":"000001a073dc6210"} 
[2026-09-06 04:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:48: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-09-06 04:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:48: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-09-06 04:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:48: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-09-06 04:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894378752001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894378752001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:48:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:48:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894378752001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":172190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:48:25] local.INFO: GPS data processed {"connection_id":172190,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:48:25] local.INFO: Acknowledgment sent {"connection_id":172190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:48:48] local.INFO: TCP Data received {"connection_id":172191,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:48:48] local.INFO: Processing buffer {"connection_id":172191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:48:48] local.INFO: IMEI packet received {"connection_id":172191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 04:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":172191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:48:49] local.INFO: TCP Data received {"connection_id":172437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:48:49] local.INFO: Processing buffer {"connection_id":172437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:48:49] local.INFO: IMEI packet received {"connection_id":172437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":172437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:48:54] local.INFO: TCP Data received {"connection_id":172437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:48:54] local.INFO: Processing buffer {"connection_id":172437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:48:54] local.INFO: IMEI packet received {"connection_id":172437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":172437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:48:54] local.INFO: TCP Data received {"connection_id":172437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:48:54] local.INFO: Processing buffer {"connection_id":172437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:48:54] local.INFO: Packet analysis {"connection_id":172437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:48:54] local.INFO: Extracted packet for processing {"connection_id":172437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:48:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894378752001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:48:54] 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-09-06 04:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788650218000,"timestamp_ms":1788650218000,"timestamp_seconds":1788650218,"priority":1,"record_length":96,"hex_timestamp":"000001a073dc6210"} 
[2026-09-06 04:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:48:54] 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-09-06 04: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-09-06 04:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:48: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-09-06 04:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894378752001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894378752001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:48:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:48:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894378752001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":172437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:48:54] local.INFO: GPS data processed {"connection_id":172437,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:48:54] local.INFO: Acknowledgment sent {"connection_id":172437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:49:13] local.INFO: TCP Data received {"connection_id":173563,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:49:13] local.INFO: Processing buffer {"connection_id":173563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:49:13] local.INFO: IMEI packet received {"connection_id":173563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 04:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":173563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:49:25] local.INFO: TCP Data received {"connection_id":172437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:49:25] local.INFO: Processing buffer {"connection_id":172437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:49:25] local.INFO: Packet analysis {"connection_id":172437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:49:25] local.INFO: Extracted packet for processing {"connection_id":172437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:49:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894378752001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:49:25] 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-09-06 04:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788650218000,"timestamp_ms":1788650218000,"timestamp_seconds":1788650218,"priority":1,"record_length":96,"hex_timestamp":"000001a073dc6210"} 
[2026-09-06 04:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04: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-09-06 04: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:49: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-09-06 04: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-09-06 04:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:49: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-09-06 04:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894378752001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894378752001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:49:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:49:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894378752001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":172437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:49:25] local.INFO: GPS data processed {"connection_id":172437,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:49:25] local.INFO: Acknowledgment sent {"connection_id":172437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:49:49] local.INFO: TCP Data received {"connection_id":173564,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:49:49] local.INFO: Processing buffer {"connection_id":173564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:49:49] local.INFO: IMEI packet received {"connection_id":173564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":173564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:49:54] local.INFO: TCP Data received {"connection_id":173564,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:49:54] local.INFO: Processing buffer {"connection_id":173564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:49:54] local.INFO: IMEI packet received {"connection_id":173564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":173564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:49:54] local.INFO: TCP Data received {"connection_id":173564,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:49:54] local.INFO: Processing buffer {"connection_id":173564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:49:54] local.INFO: Packet analysis {"connection_id":173564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:49:54] local.INFO: Extracted packet for processing {"connection_id":173564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:49:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894378752001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:49:54] 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-09-06 04:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788650218000,"timestamp_ms":1788650218000,"timestamp_seconds":1788650218,"priority":1,"record_length":96,"hex_timestamp":"000001a073dc6210"} 
[2026-09-06 04:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:49:54] 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-09-06 04:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:49: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-09-06 04:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894378752001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894378752001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:49:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:49:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894378752001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":173564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:49:54] local.INFO: GPS data processed {"connection_id":173564,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:49:54] local.INFO: Acknowledgment sent {"connection_id":173564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:50:25] local.INFO: TCP Data received {"connection_id":173564,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:50:25] local.INFO: Processing buffer {"connection_id":173564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:50:25] local.INFO: Packet analysis {"connection_id":173564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:50:25] local.INFO: Extracted packet for processing {"connection_id":173564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:50:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894378752001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:50:25] 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-09-06 04:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788650218000,"timestamp_ms":1788650218000,"timestamp_seconds":1788650218,"priority":1,"record_length":96,"hex_timestamp":"000001a073dc6210"} 
[2026-09-06 04:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:50: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-09-06 04: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:50: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-09-06 04: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-09-06 04:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:50: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-09-06 04:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894378752001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894378752001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:50:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:50:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894378752001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":173564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:50:25] local.INFO: GPS data processed {"connection_id":173564,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:50:25] local.INFO: Acknowledgment sent {"connection_id":173564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:50:48] local.INFO: TCP Data received {"connection_id":174881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:50:48] local.INFO: Processing buffer {"connection_id":174881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:50:48] local.INFO: IMEI packet received {"connection_id":174881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":174881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:50:54] local.INFO: TCP Data received {"connection_id":174881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:50:54] local.INFO: Processing buffer {"connection_id":174881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:50:54] local.INFO: IMEI packet received {"connection_id":174881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":174881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:50:54] local.INFO: TCP Data received {"connection_id":174881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:50:54] local.INFO: Processing buffer {"connection_id":174881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:50:54] local.INFO: Packet analysis {"connection_id":174881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:50:54] local.INFO: Extracted packet for processing {"connection_id":174881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:50:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894378752001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:50:54] 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-09-06 04:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788650218000,"timestamp_ms":1788650218000,"timestamp_seconds":1788650218,"priority":1,"record_length":96,"hex_timestamp":"000001a073dc6210"} 
[2026-09-06 04:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:50:54] 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-09-06 04: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-09-06 04:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:50: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-09-06 04:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894378752001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894378752001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:50:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:50:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894378752001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":174881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:50:54] local.INFO: GPS data processed {"connection_id":174881,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:50:54] local.INFO: Acknowledgment sent {"connection_id":174881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:51:25] local.INFO: TCP Data received {"connection_id":174881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:51:25] local.INFO: Processing buffer {"connection_id":174881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:51:25] local.INFO: Packet analysis {"connection_id":174881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:51:25] local.INFO: Extracted packet for processing {"connection_id":174881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:51:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894378752001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:51:25] 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-09-06 04:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788650218000,"timestamp_ms":1788650218000,"timestamp_seconds":1788650218,"priority":1,"record_length":96,"hex_timestamp":"000001a073dc6210"} 
[2026-09-06 04:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:51: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-09-06 04: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:51: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-09-06 04: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-09-06 04:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:51: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-09-06 04:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894378752001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894378752001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:51:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:51:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894378752001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":174881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:51:25] local.INFO: GPS data processed {"connection_id":174881,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:51:25] local.INFO: Acknowledgment sent {"connection_id":174881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:51:49] local.INFO: TCP Data received {"connection_id":172438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:51:49] local.INFO: Processing buffer {"connection_id":172438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:51:49] local.INFO: IMEI packet received {"connection_id":172438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":172438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:51:54] local.INFO: TCP Data received {"connection_id":172438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:51:54] local.INFO: Processing buffer {"connection_id":172438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:51:54] local.INFO: IMEI packet received {"connection_id":172438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":172438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:51:54] local.INFO: TCP Data received {"connection_id":172438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:51:54] local.INFO: Processing buffer {"connection_id":172438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:51:54] local.INFO: Packet analysis {"connection_id":172438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:51:54] local.INFO: Extracted packet for processing {"connection_id":172438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:51:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894378752001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:51:54] 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-09-06 04:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788650218000,"timestamp_ms":1788650218000,"timestamp_seconds":1788650218,"priority":1,"record_length":96,"hex_timestamp":"000001a073dc6210"} 
[2026-09-06 04:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:51:54] 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-09-06 04: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-09-06 04:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:51: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-09-06 04:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894378752001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894378752001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:51:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:51:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894378752001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":172438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:51:54] local.INFO: GPS data processed {"connection_id":172438,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:51:54] local.INFO: Acknowledgment sent {"connection_id":172438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:52:25] local.INFO: TCP Data received {"connection_id":172438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:52:25] local.INFO: Processing buffer {"connection_id":172438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073dc6210012d532d0006497048000601472d..."} 
[2026-09-06 04:52:25] local.INFO: Packet analysis {"connection_id":172438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:52:25] local.INFO: Extracted packet for processing {"connection_id":172438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073dc"} 
[2026-09-06 04:52:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894378752001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:52:25] 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-09-06 04:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788650218000,"timestamp_ms":1788650218000,"timestamp_seconds":1788650218,"priority":1,"record_length":96,"hex_timestamp":"000001a073dc6210"} 
[2026-09-06 04:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04: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-09-06 04: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 04:52: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-09-06 04: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-09-06 04:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:52: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-09-06 04:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894378752001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894378752001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:52:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:52:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894378752001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":172438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:52:25] local.INFO: GPS data processed {"connection_id":172438,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:52:25] local.INFO: Acknowledgment sent {"connection_id":172438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:52:49] local.INFO: TCP Data received {"connection_id":173566,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:52:49] local.INFO: Processing buffer {"connection_id":173566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:52:49] local.INFO: IMEI packet received {"connection_id":173566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":173566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:52:54] local.INFO: TCP Data received {"connection_id":173566,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:52:54] local.INFO: Processing buffer {"connection_id":173566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:52:54] local.INFO: IMEI packet received {"connection_id":173566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":173566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:52:54] local.INFO: TCP Data received {"connection_id":173566,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:52:54] local.INFO: Processing buffer {"connection_id":173566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:52:54] local.INFO: Packet analysis {"connection_id":173566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:52:54] local.INFO: Extracted packet for processing {"connection_id":173566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:52:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894455808001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:52:54] 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-09-06 04:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788650519000,"timestamp_ms":1788650519000,"timestamp_seconds":1788650519,"priority":1,"record_length":96,"hex_timestamp":"000001a073e0f9d8"} 
[2026-09-06 04:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 04:52:54] 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-09-06 04: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-09-06 04:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:52: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-09-06 04:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894455808001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894455808001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:52:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:52:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894455808001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":173566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:52:54] local.INFO: GPS data processed {"connection_id":173566,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:52:54] local.INFO: Acknowledgment sent {"connection_id":173566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:53:25] local.INFO: TCP Data received {"connection_id":173566,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:53:25] local.INFO: Processing buffer {"connection_id":173566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:53:25] local.INFO: Packet analysis {"connection_id":173566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:53:25] local.INFO: Extracted packet for processing {"connection_id":173566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:53:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 04:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894455808001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:53:25] 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-09-06 04:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788650519000,"timestamp_ms":1788650519000,"timestamp_seconds":1788650519,"priority":1,"record_length":96,"hex_timestamp":"000001a073e0f9d8"} 
[2026-09-06 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-09-06 04: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-09-06 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 04:53:25] 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-09-06 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-09-06 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-09-06 04:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:53: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-09-06 04:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894455808001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894455808001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:53:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:53:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894455808001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":173566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:53:25] local.INFO: GPS data processed {"connection_id":173566,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:53:25] local.INFO: Acknowledgment sent {"connection_id":173566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:53:48] local.INFO: TCP Data received {"connection_id":174882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:53:48] local.INFO: Processing buffer {"connection_id":174882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:53:48] local.INFO: IMEI packet received {"connection_id":174882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":174882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:53:54] local.INFO: TCP Data received {"connection_id":174882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:53:54] local.INFO: Processing buffer {"connection_id":174882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:53:54] local.INFO: IMEI packet received {"connection_id":174882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":174882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:53:54] local.INFO: TCP Data received {"connection_id":174882,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:53:54] local.INFO: Processing buffer {"connection_id":174882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:53:54] local.INFO: Packet analysis {"connection_id":174882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:53:54] local.INFO: Extracted packet for processing {"connection_id":174882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:53:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894455808001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:53:54] 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-09-06 04:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788650519000,"timestamp_ms":1788650519000,"timestamp_seconds":1788650519,"priority":1,"record_length":96,"hex_timestamp":"000001a073e0f9d8"} 
[2026-09-06 04:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 04:53:54] 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-09-06 04: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-09-06 04:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:53: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-09-06 04:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894455808001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894455808001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:53:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:53:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894455808001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":174882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:53:54] local.INFO: GPS data processed {"connection_id":174882,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:53:54] local.INFO: Acknowledgment sent {"connection_id":174882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:54:25] local.INFO: TCP Data received {"connection_id":174882,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:54:25] local.INFO: Processing buffer {"connection_id":174882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:54:25] local.INFO: Packet analysis {"connection_id":174882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:54:25] local.INFO: Extracted packet for processing {"connection_id":174882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:54:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894455808001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:54:25] 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-09-06 04:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788650519000,"timestamp_ms":1788650519000,"timestamp_seconds":1788650519,"priority":1,"record_length":96,"hex_timestamp":"000001a073e0f9d8"} 
[2026-09-06 04:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:54: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-09-06 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 04:54:25] 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-09-06 04: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-09-06 04:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:54: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-09-06 04:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894455808001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894455808001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:54:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:54:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894455808001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":174882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:54:25] local.INFO: GPS data processed {"connection_id":174882,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:54:25] local.INFO: Acknowledgment sent {"connection_id":174882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:54:33] local.INFO: TCP Data received {"connection_id":172194,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:54:33] local.INFO: Processing buffer {"connection_id":172194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 04:54:33] local.INFO: IMEI packet received {"connection_id":172194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 04:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":172194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:54:57] local.INFO: TCP Data received {"connection_id":174883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:54:57] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:54:57] local.INFO: IMEI packet received {"connection_id":174883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":174883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:54:59] local.INFO: TCP Data received {"connection_id":174883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:54:59] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:54:59] local.INFO: IMEI packet received {"connection_id":174883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":174883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:55:04] local.INFO: TCP Data received {"connection_id":174883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:55:04] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:55:04] local.INFO: IMEI packet received {"connection_id":174883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":174883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:55:05] local.INFO: TCP Data received {"connection_id":174883,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:55:05] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:55:05] local.INFO: Packet analysis {"connection_id":174883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:55:05] local.INFO: Extracted packet for processing {"connection_id":174883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:55:05] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894455808001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788650519000,"timestamp_ms":1788650519000,"timestamp_seconds":1788650519,"priority":1,"record_length":96,"hex_timestamp":"000001a073e0f9d8"} 
[2026-09-06 04:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 04:55:05] 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-09-06 04: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-09-06 04:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:55: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-09-06 04:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894455808001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894455808001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:55:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:55:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894455808001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":174883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:55:05] local.INFO: GPS data processed {"connection_id":174883,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:55:05] local.INFO: Acknowledgment sent {"connection_id":174883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:55:49] local.INFO: TCP Data received {"connection_id":172195,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:55:49] local.INFO: Processing buffer {"connection_id":172195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:55:49] local.INFO: IMEI packet received {"connection_id":172195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":172195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:55:54] local.INFO: TCP Data received {"connection_id":172195,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:55:54] local.INFO: Processing buffer {"connection_id":172195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:55:54] local.INFO: IMEI packet received {"connection_id":172195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":172195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:55:54] local.INFO: TCP Data received {"connection_id":172195,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:55:54] local.INFO: Processing buffer {"connection_id":172195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:55:54] local.INFO: Packet analysis {"connection_id":172195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:55:54] local.INFO: Extracted packet for processing {"connection_id":172195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:55:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894455808001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:55:54] 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-09-06 04:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788650519000,"timestamp_ms":1788650519000,"timestamp_seconds":1788650519,"priority":1,"record_length":96,"hex_timestamp":"000001a073e0f9d8"} 
[2026-09-06 04:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 04:55:54] 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-09-06 04: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-09-06 04:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:55: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-09-06 04:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894455808001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894455808001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:55:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:55:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894455808001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":172195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:55:54] local.INFO: GPS data processed {"connection_id":172195,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:55:54] local.INFO: Acknowledgment sent {"connection_id":172195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:56:25] local.INFO: TCP Data received {"connection_id":172195,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:56:25] local.INFO: Processing buffer {"connection_id":172195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:56:25] local.INFO: Packet analysis {"connection_id":172195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:56:25] local.INFO: Extracted packet for processing {"connection_id":172195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:56:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894455808001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:56:25] 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-09-06 04:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788650519000,"timestamp_ms":1788650519000,"timestamp_seconds":1788650519,"priority":1,"record_length":96,"hex_timestamp":"000001a073e0f9d8"} 
[2026-09-06 04:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:56: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-09-06 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 04:56:25] 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-09-06 04: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-09-06 04:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:56: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-09-06 04:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894455808001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894455808001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:56:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:56:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894455808001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":172195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:56:25] local.INFO: GPS data processed {"connection_id":172195,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:56:25] local.INFO: Acknowledgment sent {"connection_id":172195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:56:49] local.INFO: TCP Data received {"connection_id":173567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:56:49] local.INFO: Processing buffer {"connection_id":173567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:56:49] local.INFO: IMEI packet received {"connection_id":173567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":173567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:56:54] local.INFO: TCP Data received {"connection_id":173567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:56:54] local.INFO: Processing buffer {"connection_id":173567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:56:54] local.INFO: IMEI packet received {"connection_id":173567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":173567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:56:55] local.INFO: TCP Data received {"connection_id":173567,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:56:55] local.INFO: Processing buffer {"connection_id":173567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:56:55] local.INFO: Packet analysis {"connection_id":173567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:56:55] local.INFO: Extracted packet for processing {"connection_id":173567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:56:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894455808001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788650519000,"timestamp_ms":1788650519000,"timestamp_seconds":1788650519,"priority":1,"record_length":96,"hex_timestamp":"000001a073e0f9d8"} 
[2026-09-06 04:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 04:56:55] 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-09-06 04:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894455808001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894455808001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:56:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:56:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894455808001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":173567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:56:55] local.INFO: GPS data processed {"connection_id":173567,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:56:55] local.INFO: Acknowledgment sent {"connection_id":173567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:57:26] local.INFO: TCP Data received {"connection_id":173567,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:57:26] local.INFO: Processing buffer {"connection_id":173567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e0f9d8012d532d0006497048000601472b..."} 
[2026-09-06 04:57:26] local.INFO: Packet analysis {"connection_id":173567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:57:26] local.INFO: Extracted packet for processing {"connection_id":173567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e0"} 
[2026-09-06 04:57:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894455808001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:57: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-09-06 04:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788650519000,"timestamp_ms":1788650519000,"timestamp_seconds":1788650519,"priority":1,"record_length":96,"hex_timestamp":"000001a073e0f9d8"} 
[2026-09-06 04:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:57: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-09-06 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 04:57:26] 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-09-06 04: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-09-06 04:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:57: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-09-06 04:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894455808001,"66":25299,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894455808001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:57:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:57:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894455808001,"power":25299,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":173567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:57:26] local.INFO: GPS data processed {"connection_id":173567,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:57:26] local.INFO: Acknowledgment sent {"connection_id":173567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:57:49] local.INFO: TCP Data received {"connection_id":172441,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:57:49] local.INFO: Processing buffer {"connection_id":172441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:57:49] local.INFO: IMEI packet received {"connection_id":172441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":172441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:57:54] local.INFO: TCP Data received {"connection_id":172441,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:57:54] local.INFO: Processing buffer {"connection_id":172441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:57:54] local.INFO: IMEI packet received {"connection_id":172441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":172441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:57:54] local.INFO: TCP Data received {"connection_id":172441,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 04:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 04:57:54] local.INFO: Processing buffer {"connection_id":172441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 04:57:54] local.INFO: Packet analysis {"connection_id":172441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 04:57:54] local.INFO: Extracted packet for processing {"connection_id":172441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 04:57:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894532864001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:57:54] 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-09-06 04:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788650820000,"timestamp_ms":1788650820000,"timestamp_seconds":1788650820,"priority":1,"record_length":96,"hex_timestamp":"000001a073e591a0"} 
[2026-09-06 04:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 04:57:54] 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-09-06 04:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:57: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-09-06 04:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894532864001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894532864001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:57:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:57:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894532864001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":172441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:57:54] local.INFO: GPS data processed {"connection_id":172441,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:57:54] local.INFO: Acknowledgment sent {"connection_id":172441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:58:25] local.INFO: TCP Data received {"connection_id":172441,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 04:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 04:58:25] local.INFO: Processing buffer {"connection_id":172441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 04:58:25] local.INFO: Packet analysis {"connection_id":172441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 04:58:25] local.INFO: Extracted packet for processing {"connection_id":172441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 04:58:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894532864001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:58:25] 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-09-06 04:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788650820000,"timestamp_ms":1788650820000,"timestamp_seconds":1788650820,"priority":1,"record_length":96,"hex_timestamp":"000001a073e591a0"} 
[2026-09-06 04:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:58: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-09-06 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 04:58:25] 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-09-06 04: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-09-06 04:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:58: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-09-06 04:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894532864001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894532864001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:58:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:58:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894532864001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":172441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:58:25] local.INFO: GPS data processed {"connection_id":172441,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:58:25] local.INFO: Acknowledgment sent {"connection_id":172441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:58:49] local.INFO: TCP Data received {"connection_id":172196,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:58:49] local.INFO: Processing buffer {"connection_id":172196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:58:49] local.INFO: IMEI packet received {"connection_id":172196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":172196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:58:54] local.INFO: TCP Data received {"connection_id":172196,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:58:54] local.INFO: Processing buffer {"connection_id":172196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:58:54] local.INFO: IMEI packet received {"connection_id":172196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":172196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:58:55] local.INFO: TCP Data received {"connection_id":172196,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 04:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 04:58:55] local.INFO: Processing buffer {"connection_id":172196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 04:58:55] local.INFO: Packet analysis {"connection_id":172196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 04:58:55] local.INFO: Extracted packet for processing {"connection_id":172196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 04:58:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894532864001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788650820000,"timestamp_ms":1788650820000,"timestamp_seconds":1788650820,"priority":1,"record_length":96,"hex_timestamp":"000001a073e591a0"} 
[2026-09-06 04:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 04:58:55] 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-09-06 04:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894532864001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894532864001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:58:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:58:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894532864001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":172196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:58:55] local.INFO: GPS data processed {"connection_id":172196,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:58:55] local.INFO: Acknowledgment sent {"connection_id":172196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:59:26] local.INFO: TCP Data received {"connection_id":172196,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 04:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 04:59:26] local.INFO: Processing buffer {"connection_id":172196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 04:59:26] local.INFO: Packet analysis {"connection_id":172196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 04:59:26] local.INFO: Extracted packet for processing {"connection_id":172196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 04:59:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 04:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894532864001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:59: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-09-06 04:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788650820000,"timestamp_ms":1788650820000,"timestamp_seconds":1788650820,"priority":1,"record_length":96,"hex_timestamp":"000001a073e591a0"} 
[2026-09-06 04:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:59: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-09-06 04:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 04:59: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-09-06 04:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 04:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:59: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-09-06 04:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894532864001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894532864001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:59:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:59:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894532864001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":172196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:59:26] local.INFO: GPS data processed {"connection_id":172196,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:59:26] local.INFO: Acknowledgment sent {"connection_id":172196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 04:59:48] local.INFO: TCP Data received {"connection_id":172197,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:59:48] local.INFO: Processing buffer {"connection_id":172197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:59:48] local.INFO: IMEI packet received {"connection_id":172197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 04:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":172197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 04:59:54] local.INFO: TCP Data received {"connection_id":172197,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:59:54] local.INFO: Processing buffer {"connection_id":172197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 04:59:54] local.INFO: IMEI packet received {"connection_id":172197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 04:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":172197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 04:59:55] local.INFO: TCP Data received {"connection_id":172197,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 04:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 04:59:55] local.INFO: Processing buffer {"connection_id":172197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 04:59:55] local.INFO: Packet analysis {"connection_id":172197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 04:59:55] local.INFO: Extracted packet for processing {"connection_id":172197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 04:59:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 04: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-09-06 04:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894532864001,"note":"Value kept but may cause issues"} 
[2026-09-06 04:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 04:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 04:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 04:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788650820000,"timestamp_ms":1788650820000,"timestamp_seconds":1788650820,"priority":1,"record_length":96,"hex_timestamp":"000001a073e591a0"} 
[2026-09-06 04:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 04:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 04: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":211,"data_length":795,"current_offset":136} 
[2026-09-06 04:59:55] 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-09-06 04: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-09-06 04:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 04:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 04:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 04:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 04:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 04:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 04:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 04:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894532864001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 04:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 04:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 04:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894532864001,"description":"Unknown IO ID 0"} 
[2026-09-06 04:59:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 04:59:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 04:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 04:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 04:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894532864001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 04:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":172197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 04:59:55] local.INFO: GPS data processed {"connection_id":172197,"processed":1,"errors":0,"total":1} 
[2026-09-06 04:59:55] local.INFO: Acknowledgment sent {"connection_id":172197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:00:18] local.INFO: TCP Data received {"connection_id":174886,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:00:18] local.INFO: Processing buffer {"connection_id":174886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:00:18] local.INFO: IMEI packet received {"connection_id":174886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 05:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":174886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:00:26] local.INFO: TCP Data received {"connection_id":172197,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 05:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 05:00:26] local.INFO: Processing buffer {"connection_id":172197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 05:00:26] local.INFO: Packet analysis {"connection_id":172197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 05:00:26] local.INFO: Extracted packet for processing {"connection_id":172197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 05:00:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894532864001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:00: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-09-06 05:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788650820000,"timestamp_ms":1788650820000,"timestamp_seconds":1788650820,"priority":1,"record_length":96,"hex_timestamp":"000001a073e591a0"} 
[2026-09-06 05:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:00: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-09-06 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 05:00: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-09-06 05: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-09-06 05:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:00: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-09-06 05:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894532864001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894532864001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:00:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:00:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894532864001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":172197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:00:26] local.INFO: GPS data processed {"connection_id":172197,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:00:26] local.INFO: Acknowledgment sent {"connection_id":172197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:00:49] local.INFO: TCP Data received {"connection_id":173570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:00:49] local.INFO: Processing buffer {"connection_id":173570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:00:49] local.INFO: IMEI packet received {"connection_id":173570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":173570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:00:54] local.INFO: TCP Data received {"connection_id":173570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:00:54] local.INFO: Processing buffer {"connection_id":173570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:00:54] local.INFO: IMEI packet received {"connection_id":173570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":173570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:00:55] local.INFO: TCP Data received {"connection_id":173570,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 05:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 05:00:55] local.INFO: Processing buffer {"connection_id":173570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 05:00:55] local.INFO: Packet analysis {"connection_id":173570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 05:00:55] local.INFO: Extracted packet for processing {"connection_id":173570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 05:00:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894532864001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788650820000,"timestamp_ms":1788650820000,"timestamp_seconds":1788650820,"priority":1,"record_length":96,"hex_timestamp":"000001a073e591a0"} 
[2026-09-06 05:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 05:00:55] 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-09-06 05:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894532864001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894532864001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:00:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:00:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894532864001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":173570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:00:55] local.INFO: GPS data processed {"connection_id":173570,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:00:55] local.INFO: Acknowledgment sent {"connection_id":173570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:01:26] local.INFO: TCP Data received {"connection_id":173570,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 05:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 05:01:26] local.INFO: Processing buffer {"connection_id":173570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 05:01:26] local.INFO: Packet analysis {"connection_id":173570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 05:01:26] local.INFO: Extracted packet for processing {"connection_id":173570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 05:01:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894532864001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:01: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-09-06 05:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788650820000,"timestamp_ms":1788650820000,"timestamp_seconds":1788650820,"priority":1,"record_length":96,"hex_timestamp":"000001a073e591a0"} 
[2026-09-06 05:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:01: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-09-06 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 05:01: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-09-06 05: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-09-06 05:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894532864001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894532864001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:01:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:01:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894532864001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":173570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:01:26] local.INFO: GPS data processed {"connection_id":173570,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:01:26] local.INFO: Acknowledgment sent {"connection_id":173570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:01:49] local.INFO: TCP Data received {"connection_id":172442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:01:49] local.INFO: Processing buffer {"connection_id":172442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:01:49] local.INFO: IMEI packet received {"connection_id":172442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":172442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:01:54] local.INFO: TCP Data received {"connection_id":172442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:01:54] local.INFO: Processing buffer {"connection_id":172442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:01:54] local.INFO: IMEI packet received {"connection_id":172442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":172442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:01:54] local.INFO: TCP Data received {"connection_id":172442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 05:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 05:01:54] local.INFO: Processing buffer {"connection_id":172442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 05:01:54] local.INFO: Packet analysis {"connection_id":172442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 05:01:54] local.INFO: Extracted packet for processing {"connection_id":172442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 05:01:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 05:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894532864001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:01:54] 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-09-06 05:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788650820000,"timestamp_ms":1788650820000,"timestamp_seconds":1788650820,"priority":1,"record_length":96,"hex_timestamp":"000001a073e591a0"} 
[2026-09-06 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-09-06 05:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 05:01:54] 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-09-06 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-09-06 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-09-06 05:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:01: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-09-06 05:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894532864001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894532864001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:01:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:01:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894532864001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":172442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:01:54] local.INFO: GPS data processed {"connection_id":172442,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:01:54] local.INFO: Acknowledgment sent {"connection_id":172442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:02:25] local.INFO: TCP Data received {"connection_id":172442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 05:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 05:02:25] local.INFO: Processing buffer {"connection_id":172442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073e591a0012d532d0006497048000601472d..."} 
[2026-09-06 05:02:25] local.INFO: Packet analysis {"connection_id":172442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 05:02:25] local.INFO: Extracted packet for processing {"connection_id":172442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073e5"} 
[2026-09-06 05:02:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894532864001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:02:25] 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-09-06 05:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788650820000,"timestamp_ms":1788650820000,"timestamp_seconds":1788650820,"priority":1,"record_length":96,"hex_timestamp":"000001a073e591a0"} 
[2026-09-06 05:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:02: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-09-06 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 05:02:25] 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-09-06 05: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-09-06 05:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05: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-09-06 05:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894532864001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894532864001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:02:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:02:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894532864001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":172442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:02:25] local.INFO: GPS data processed {"connection_id":172442,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:02:25] local.INFO: Acknowledgment sent {"connection_id":172442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:02:54] local.INFO: TCP Data received {"connection_id":172198,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:02:54] local.INFO: Processing buffer {"connection_id":172198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:02:54] local.INFO: IMEI packet received {"connection_id":172198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":172198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:02:59] local.INFO: TCP Data received {"connection_id":172198,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:02:59] local.INFO: Processing buffer {"connection_id":172198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:02:59] local.INFO: IMEI packet received {"connection_id":172198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":172198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:03:00] local.INFO: TCP Data received {"connection_id":172198,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:03:00] local.INFO: Processing buffer {"connection_id":172198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:03:00] local.INFO: Packet analysis {"connection_id":172198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:03:00] local.INFO: Extracted packet for processing {"connection_id":172198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:03:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894609920001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:03:00] 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-09-06 05:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788651121000,"timestamp_ms":1788651121000,"timestamp_seconds":1788651121,"priority":1,"record_length":96,"hex_timestamp":"000001a073ea2968"} 
[2026-09-06 05:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894609920001,"66":25060,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894609920001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:03:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:03:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894609920001,"power":25060,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":172198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:03:00] local.INFO: GPS data processed {"connection_id":172198,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:03:00] local.INFO: Acknowledgment sent {"connection_id":172198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:03:04] local.INFO: TCP Data received {"connection_id":172198,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:03:04] local.INFO: Processing buffer {"connection_id":172198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:03:04] local.INFO: Packet analysis {"connection_id":172198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:03:04] local.INFO: Extracted packet for processing {"connection_id":172198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:03:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894609920001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788651121000,"timestamp_ms":1788651121000,"timestamp_seconds":1788651121,"priority":1,"record_length":96,"hex_timestamp":"000001a073ea2968"} 
[2026-09-06 05:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894609920001,"66":25060,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894609920001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:03:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:03:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894609920001,"power":25060,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":172198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:03:04] local.INFO: GPS data processed {"connection_id":172198,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:03:04] local.INFO: Acknowledgment sent {"connection_id":172198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:03:50] local.INFO: TCP Data received {"connection_id":172443,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:03:50] local.INFO: Processing buffer {"connection_id":172443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:03:50] local.INFO: IMEI packet received {"connection_id":172443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":172443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:03:54] local.INFO: TCP Data received {"connection_id":172443,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:03:54] local.INFO: Processing buffer {"connection_id":172443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:03:54] local.INFO: IMEI packet received {"connection_id":172443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":172443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:03:54] local.INFO: TCP Data received {"connection_id":172443,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:03:54] local.INFO: Processing buffer {"connection_id":172443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:03:54] local.INFO: Packet analysis {"connection_id":172443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:03:54] local.INFO: Extracted packet for processing {"connection_id":172443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:03:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894609920001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:03:54] 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-09-06 05:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788651121000,"timestamp_ms":1788651121000,"timestamp_seconds":1788651121,"priority":1,"record_length":96,"hex_timestamp":"000001a073ea2968"} 
[2026-09-06 05:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:03:54] 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-09-06 05: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-09-06 05:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:03: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-09-06 05:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894609920001,"66":25060,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894609920001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:03:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:03:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894609920001,"power":25060,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":172443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:03:54] local.INFO: GPS data processed {"connection_id":172443,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:03:54] local.INFO: Acknowledgment sent {"connection_id":172443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:04:25] local.INFO: TCP Data received {"connection_id":172443,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:04:25] local.INFO: Processing buffer {"connection_id":172443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:04:25] local.INFO: Packet analysis {"connection_id":172443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:04:25] local.INFO: Extracted packet for processing {"connection_id":172443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:04:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894609920001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:04:25] 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-09-06 05:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788651121000,"timestamp_ms":1788651121000,"timestamp_seconds":1788651121,"priority":1,"record_length":96,"hex_timestamp":"000001a073ea2968"} 
[2026-09-06 05:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:04: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-09-06 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:04:25] 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-09-06 05: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-09-06 05:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:04: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-09-06 05:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894609920001,"66":25060,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894609920001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:04:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:04:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894609920001,"power":25060,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":172443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:04:25] local.INFO: GPS data processed {"connection_id":172443,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:04:25] local.INFO: Acknowledgment sent {"connection_id":172443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:04:49] local.INFO: TCP Data received {"connection_id":173571,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:04:49] local.INFO: Processing buffer {"connection_id":173571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:04:49] local.INFO: IMEI packet received {"connection_id":173571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":173571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:04:54] local.INFO: TCP Data received {"connection_id":173571,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:04:54] local.INFO: Processing buffer {"connection_id":173571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:04:54] local.INFO: IMEI packet received {"connection_id":173571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":173571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:04:55] local.INFO: TCP Data received {"connection_id":173571,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:04:55] local.INFO: Processing buffer {"connection_id":173571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:04:55] local.INFO: Packet analysis {"connection_id":173571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:04:55] local.INFO: Extracted packet for processing {"connection_id":173571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:04:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894609920001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788651121000,"timestamp_ms":1788651121000,"timestamp_seconds":1788651121,"priority":1,"record_length":96,"hex_timestamp":"000001a073ea2968"} 
[2026-09-06 05:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:04:55] 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-09-06 05: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-09-06 05:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894609920001,"66":25060,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894609920001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:04:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:04:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894609920001,"power":25060,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":173571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:04:55] local.INFO: GPS data processed {"connection_id":173571,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:04:55] local.INFO: Acknowledgment sent {"connection_id":173571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:05:26] local.INFO: TCP Data received {"connection_id":173571,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:05:26] local.INFO: Processing buffer {"connection_id":173571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:05:26] local.INFO: Packet analysis {"connection_id":173571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:05:26] local.INFO: Extracted packet for processing {"connection_id":173571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:05:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894609920001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:05: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-09-06 05:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788651121000,"timestamp_ms":1788651121000,"timestamp_seconds":1788651121,"priority":1,"record_length":96,"hex_timestamp":"000001a073ea2968"} 
[2026-09-06 05:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:05: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-09-06 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:05:26] 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-09-06 05: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-09-06 05:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:05: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-09-06 05:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894609920001,"66":25060,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894609920001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:05:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:05:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894609920001,"power":25060,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":173571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:05:26] local.INFO: GPS data processed {"connection_id":173571,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:05:26] local.INFO: Acknowledgment sent {"connection_id":173571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:05:38] local.INFO: TCP Data received {"connection_id":174891,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:05:38] local.INFO: Processing buffer {"connection_id":174891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:05:38] local.INFO: IMEI packet received {"connection_id":174891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 05:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":174891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:05:49] local.INFO: TCP Data received {"connection_id":172199,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:05:49] local.INFO: Processing buffer {"connection_id":172199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:05:49] local.INFO: IMEI packet received {"connection_id":172199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":172199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:05:54] local.INFO: TCP Data received {"connection_id":172199,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:05:54] local.INFO: Processing buffer {"connection_id":172199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:05:54] local.INFO: IMEI packet received {"connection_id":172199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":172199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:05:54] local.INFO: TCP Data received {"connection_id":172199,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:05:54] local.INFO: Processing buffer {"connection_id":172199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:05:54] local.INFO: Packet analysis {"connection_id":172199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:05:54] local.INFO: Extracted packet for processing {"connection_id":172199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:05:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894609920001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:05:54] 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-09-06 05:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788651121000,"timestamp_ms":1788651121000,"timestamp_seconds":1788651121,"priority":1,"record_length":96,"hex_timestamp":"000001a073ea2968"} 
[2026-09-06 05:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:05:54] 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-09-06 05: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-09-06 05:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:05: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-09-06 05:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894609920001,"66":25060,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894609920001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:05:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:05:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894609920001,"power":25060,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":172199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:05:54] local.INFO: GPS data processed {"connection_id":172199,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:05:54] local.INFO: Acknowledgment sent {"connection_id":172199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:06:25] local.INFO: TCP Data received {"connection_id":172199,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:06:25] local.INFO: Processing buffer {"connection_id":172199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:06:25] local.INFO: Packet analysis {"connection_id":172199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:06:25] local.INFO: Extracted packet for processing {"connection_id":172199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:06:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894609920001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:06:25] 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-09-06 05:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788651121000,"timestamp_ms":1788651121000,"timestamp_seconds":1788651121,"priority":1,"record_length":96,"hex_timestamp":"000001a073ea2968"} 
[2026-09-06 05:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:06: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-09-06 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:06:25] 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-09-06 05: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-09-06 05:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:06: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-09-06 05:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894609920001,"66":25060,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894609920001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:06:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:06:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894609920001,"power":25060,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":172199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:06:25] local.INFO: GPS data processed {"connection_id":172199,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:06:25] local.INFO: Acknowledgment sent {"connection_id":172199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:06:49] local.INFO: TCP Data received {"connection_id":173572,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:06:49] local.INFO: Processing buffer {"connection_id":173572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:06:49] local.INFO: IMEI packet received {"connection_id":173572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":173572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:06:54] local.INFO: TCP Data received {"connection_id":173572,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:06:54] local.INFO: Processing buffer {"connection_id":173572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:06:54] local.INFO: IMEI packet received {"connection_id":173572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":173572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:06:55] local.INFO: TCP Data received {"connection_id":173572,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:06:55] local.INFO: Processing buffer {"connection_id":173572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:06:55] local.INFO: Packet analysis {"connection_id":173572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:06:55] local.INFO: Extracted packet for processing {"connection_id":173572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:06:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894609920001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788651121000,"timestamp_ms":1788651121000,"timestamp_seconds":1788651121,"priority":1,"record_length":96,"hex_timestamp":"000001a073ea2968"} 
[2026-09-06 05:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:06:55] 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-09-06 05: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-09-06 05:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894609920001,"66":25060,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894609920001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:06:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:06:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894609920001,"power":25060,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":173572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:06:55] local.INFO: GPS data processed {"connection_id":173572,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:06:55] local.INFO: Acknowledgment sent {"connection_id":173572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:07:26] local.INFO: TCP Data received {"connection_id":173572,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:07:26] local.INFO: Processing buffer {"connection_id":173572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073ea2968012d532d0006497048000601472a..."} 
[2026-09-06 05:07:26] local.INFO: Packet analysis {"connection_id":173572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:07:26] local.INFO: Extracted packet for processing {"connection_id":173572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ea"} 
[2026-09-06 05:07:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894609920001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:07: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-09-06 05:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788651121000,"timestamp_ms":1788651121000,"timestamp_seconds":1788651121,"priority":1,"record_length":96,"hex_timestamp":"000001a073ea2968"} 
[2026-09-06 05:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:07: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-09-06 05:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:07:26] 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-09-06 05:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:07: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-09-06 05:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894609920001,"66":25060,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894609920001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:07:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:07:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894609920001,"power":25060,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":173572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:07:26] local.INFO: GPS data processed {"connection_id":173572,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:07:26] local.INFO: Acknowledgment sent {"connection_id":173572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:07:49] local.INFO: TCP Data received {"connection_id":173573,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:07:49] local.INFO: Processing buffer {"connection_id":173573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:07:49] local.INFO: IMEI packet received {"connection_id":173573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":173573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:07:54] local.INFO: TCP Data received {"connection_id":173573,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:07:54] local.INFO: Processing buffer {"connection_id":173573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:07:54] local.INFO: IMEI packet received {"connection_id":173573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":173573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:07:54] local.INFO: TCP Data received {"connection_id":173573,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:07:54] local.INFO: Processing buffer {"connection_id":173573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:07:54] local.INFO: Packet analysis {"connection_id":173573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:07:54] local.INFO: Extracted packet for processing {"connection_id":173573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:07:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894686976001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:07:54] 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-09-06 05:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788651422000,"timestamp_ms":1788651422000,"timestamp_seconds":1788651422,"priority":1,"record_length":96,"hex_timestamp":"000001a073eec130"} 
[2026-09-06 05:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:07: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-09-06 05: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 05:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:07: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-09-06 05:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894686976001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894686976001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:07:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:07:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894686976001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":173573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:07:54] local.INFO: GPS data processed {"connection_id":173573,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:07:54] local.INFO: Acknowledgment sent {"connection_id":173573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:08:27] local.INFO: TCP Data received {"connection_id":173573,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:08:27] local.INFO: Processing buffer {"connection_id":173573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:08:27] local.INFO: Packet analysis {"connection_id":173573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:08:27] local.INFO: Extracted packet for processing {"connection_id":173573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:08:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894686976001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:08:27] 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-09-06 05:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788651422000,"timestamp_ms":1788651422000,"timestamp_seconds":1788651422,"priority":1,"record_length":96,"hex_timestamp":"000001a073eec130"} 
[2026-09-06 05:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:08: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-09-06 05: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 05:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:08: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-09-06 05:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894686976001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894686976001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:08:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:08:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894686976001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":173573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:08:27] local.INFO: GPS data processed {"connection_id":173573,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:08:27] local.INFO: Acknowledgment sent {"connection_id":173573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:08:49] local.INFO: TCP Data received {"connection_id":172203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:08:49] local.INFO: Processing buffer {"connection_id":172203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:08:49] local.INFO: IMEI packet received {"connection_id":172203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":172203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:08:54] local.INFO: TCP Data received {"connection_id":172203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:08:54] local.INFO: Processing buffer {"connection_id":172203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:08:54] local.INFO: IMEI packet received {"connection_id":172203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":172203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:08:55] local.INFO: TCP Data received {"connection_id":172203,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:08:55] local.INFO: Processing buffer {"connection_id":172203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:08:55] local.INFO: Packet analysis {"connection_id":172203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:08:55] local.INFO: Extracted packet for processing {"connection_id":172203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:08:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894686976001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788651422000,"timestamp_ms":1788651422000,"timestamp_seconds":1788651422,"priority":1,"record_length":96,"hex_timestamp":"000001a073eec130"} 
[2026-09-06 05:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:08: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-09-06 05:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 05:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894686976001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894686976001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:08:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:08:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894686976001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":172203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:08:55] local.INFO: GPS data processed {"connection_id":172203,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:08:55] local.INFO: Acknowledgment sent {"connection_id":172203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:09:26] local.INFO: TCP Data received {"connection_id":172203,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:09:26] local.INFO: Processing buffer {"connection_id":172203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:09:26] local.INFO: Packet analysis {"connection_id":172203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:09:26] local.INFO: Extracted packet for processing {"connection_id":172203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:09:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894686976001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:09: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-09-06 05:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788651422000,"timestamp_ms":1788651422000,"timestamp_seconds":1788651422,"priority":1,"record_length":96,"hex_timestamp":"000001a073eec130"} 
[2026-09-06 05:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:09: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-09-06 05: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 05:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:09: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-09-06 05:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894686976001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894686976001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:09:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:09:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894686976001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":172203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:09:26] local.INFO: GPS data processed {"connection_id":172203,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:09:26] local.INFO: Acknowledgment sent {"connection_id":172203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:09:49] local.INFO: TCP Data received {"connection_id":172444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:09:49] local.INFO: Processing buffer {"connection_id":172444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:09:49] local.INFO: IMEI packet received {"connection_id":172444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":172444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:09:54] local.INFO: TCP Data received {"connection_id":172444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:09:54] local.INFO: Processing buffer {"connection_id":172444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:09:54] local.INFO: IMEI packet received {"connection_id":172444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":172444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:09:54] local.INFO: TCP Data received {"connection_id":172444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:09:54] local.INFO: Processing buffer {"connection_id":172444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:09:54] local.INFO: Packet analysis {"connection_id":172444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:09:54] local.INFO: Extracted packet for processing {"connection_id":172444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:09:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894686976001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:09:54] 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-09-06 05:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788651422000,"timestamp_ms":1788651422000,"timestamp_seconds":1788651422,"priority":1,"record_length":96,"hex_timestamp":"000001a073eec130"} 
[2026-09-06 05:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:09: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-09-06 05: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 05:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:09: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-09-06 05:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894686976001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894686976001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:09:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:09:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894686976001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":172444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:09:54] local.INFO: GPS data processed {"connection_id":172444,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:09:54] local.INFO: Acknowledgment sent {"connection_id":172444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:10:25] local.INFO: TCP Data received {"connection_id":172444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:10:25] local.INFO: Processing buffer {"connection_id":172444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:10:25] local.INFO: Packet analysis {"connection_id":172444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:10:25] local.INFO: Extracted packet for processing {"connection_id":172444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:10:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894686976001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:10:25] 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-09-06 05:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788651422000,"timestamp_ms":1788651422000,"timestamp_seconds":1788651422,"priority":1,"record_length":96,"hex_timestamp":"000001a073eec130"} 
[2026-09-06 05:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05: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-09-06 05: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 05:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:10: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-09-06 05:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894686976001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894686976001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:10:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:10:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894686976001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":172444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:10:25] local.INFO: GPS data processed {"connection_id":172444,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:10:25] local.INFO: Acknowledgment sent {"connection_id":172444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:10:48] local.INFO: TCP Data received {"connection_id":172206,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:10:48] local.INFO: Processing buffer {"connection_id":172206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:10:48] local.INFO: IMEI packet received {"connection_id":172206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":172206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:10:54] local.INFO: TCP Data received {"connection_id":172206,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:10:54] local.INFO: Processing buffer {"connection_id":172206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:10:54] local.INFO: IMEI packet received {"connection_id":172206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":172206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:10:55] local.INFO: TCP Data received {"connection_id":172206,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:10:55] local.INFO: Processing buffer {"connection_id":172206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:10:55] local.INFO: Packet analysis {"connection_id":172206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:10:55] local.INFO: Extracted packet for processing {"connection_id":172206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:10:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894686976001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788651422000,"timestamp_ms":1788651422000,"timestamp_seconds":1788651422,"priority":1,"record_length":96,"hex_timestamp":"000001a073eec130"} 
[2026-09-06 05:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:10: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-09-06 05:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 05:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894686976001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894686976001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:10:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:10:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894686976001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":172206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:10:55] local.INFO: GPS data processed {"connection_id":172206,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:10:55] local.INFO: Acknowledgment sent {"connection_id":172206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:11:13] local.INFO: TCP Data received {"connection_id":174892,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:11:13] local.INFO: Processing buffer {"connection_id":174892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:11:13] local.INFO: IMEI packet received {"connection_id":174892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 05:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":174892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:11:26] local.INFO: TCP Data received {"connection_id":172206,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:11:26] local.INFO: Processing buffer {"connection_id":172206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:11:26] local.INFO: Packet analysis {"connection_id":172206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:11:26] local.INFO: Extracted packet for processing {"connection_id":172206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:11:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894686976001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:11: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-09-06 05:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788651422000,"timestamp_ms":1788651422000,"timestamp_seconds":1788651422,"priority":1,"record_length":96,"hex_timestamp":"000001a073eec130"} 
[2026-09-06 05:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:11: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-09-06 05:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 05:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:11: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-09-06 05:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894686976001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894686976001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:11:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:11:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894686976001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":172206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:11:26] local.INFO: GPS data processed {"connection_id":172206,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:11:26] local.INFO: Acknowledgment sent {"connection_id":172206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:11:54] local.INFO: TCP Data received {"connection_id":174893,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:11:54] local.INFO: Processing buffer {"connection_id":174893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:11:54] local.INFO: IMEI packet received {"connection_id":174893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":174893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:11:59] local.INFO: TCP Data received {"connection_id":174893,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:11:59] local.INFO: Processing buffer {"connection_id":174893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:11:59] local.INFO: IMEI packet received {"connection_id":174893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":174893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:11:59] local.INFO: TCP Data received {"connection_id":174893,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:11:59] local.INFO: Processing buffer {"connection_id":174893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:11:59] local.INFO: Packet analysis {"connection_id":174893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:11:59] local.INFO: Extracted packet for processing {"connection_id":174893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:11:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894686976001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:11:59] 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-09-06 05:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788651422000,"timestamp_ms":1788651422000,"timestamp_seconds":1788651422,"priority":1,"record_length":96,"hex_timestamp":"000001a073eec130"} 
[2026-09-06 05:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:11: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-09-06 05:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 05:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894686976001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894686976001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:11:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:11:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894686976001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":174893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:11:59] local.INFO: GPS data processed {"connection_id":174893,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:11:59] local.INFO: Acknowledgment sent {"connection_id":174893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:12:04] local.INFO: TCP Data received {"connection_id":174893,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:12:04] local.INFO: Processing buffer {"connection_id":174893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073eec130012d532d0006497048000601472c..."} 
[2026-09-06 05:12:04] local.INFO: Packet analysis {"connection_id":174893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:12:04] local.INFO: Extracted packet for processing {"connection_id":174893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073ee"} 
[2026-09-06 05:12:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894686976001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788651422000,"timestamp_ms":1788651422000,"timestamp_seconds":1788651422,"priority":1,"record_length":96,"hex_timestamp":"000001a073eec130"} 
[2026-09-06 05:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:12: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-09-06 05:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 05:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894686976001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894686976001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:12:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:12:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894686976001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":174893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:12:04] local.INFO: GPS data processed {"connection_id":174893,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:12:04] local.INFO: Acknowledgment sent {"connection_id":174893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:12:49] local.INFO: TCP Data received {"connection_id":172445,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:12:49] local.INFO: Processing buffer {"connection_id":172445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:12:49] local.INFO: IMEI packet received {"connection_id":172445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":172445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:12:54] local.INFO: TCP Data received {"connection_id":172445,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:12:54] local.INFO: Processing buffer {"connection_id":172445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:12:54] local.INFO: IMEI packet received {"connection_id":172445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":172445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:12:56] local.INFO: TCP Data received {"connection_id":172445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:12:56] local.INFO: Processing buffer {"connection_id":172445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:12:56] local.INFO: Packet analysis {"connection_id":172445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:12:56] local.INFO: Extracted packet for processing {"connection_id":172445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:12:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894764032001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:12:56] 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-09-06 05:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788651723000,"timestamp_ms":1788651723000,"timestamp_seconds":1788651723,"priority":1,"record_length":96,"hex_timestamp":"000001a073f358f8"} 
[2026-09-06 05:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:12: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-09-06 05:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:12: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-09-06 05:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894764032001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894764032001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:12:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:12:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894764032001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":172445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:12:56] local.INFO: GPS data processed {"connection_id":172445,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:12:56] local.INFO: Acknowledgment sent {"connection_id":172445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:13:28] local.INFO: TCP Data received {"connection_id":172445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:13:28] local.INFO: Processing buffer {"connection_id":172445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:13:28] local.INFO: Packet analysis {"connection_id":172445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:13:28] local.INFO: Extracted packet for processing {"connection_id":172445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:13:28] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894764032001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:13:28] 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-09-06 05:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788651723000,"timestamp_ms":1788651723000,"timestamp_seconds":1788651723,"priority":1,"record_length":96,"hex_timestamp":"000001a073f358f8"} 
[2026-09-06 05:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:13: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-09-06 05:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894764032001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894764032001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:13:28] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:13:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894764032001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":172445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:13:28] local.INFO: GPS data processed {"connection_id":172445,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:13:28] local.INFO: Acknowledgment sent {"connection_id":172445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:13:49] local.INFO: TCP Data received {"connection_id":172209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:13:49] local.INFO: Processing buffer {"connection_id":172209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:13:49] local.INFO: IMEI packet received {"connection_id":172209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":172209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:13:54] local.INFO: TCP Data received {"connection_id":172209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:13:54] local.INFO: Processing buffer {"connection_id":172209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:13:54] local.INFO: IMEI packet received {"connection_id":172209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":172209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:13:54] local.INFO: TCP Data received {"connection_id":172209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:13:54] local.INFO: Processing buffer {"connection_id":172209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:13:54] local.INFO: Packet analysis {"connection_id":172209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:13:54] local.INFO: Extracted packet for processing {"connection_id":172209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:13:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894764032001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:13:54] 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-09-06 05:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788651723000,"timestamp_ms":1788651723000,"timestamp_seconds":1788651723,"priority":1,"record_length":96,"hex_timestamp":"000001a073f358f8"} 
[2026-09-06 05:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:13: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-09-06 05:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894764032001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894764032001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:13:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:13:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894764032001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":172209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:13:54] local.INFO: GPS data processed {"connection_id":172209,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:13:54] local.INFO: Acknowledgment sent {"connection_id":172209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:14:25] local.INFO: TCP Data received {"connection_id":172209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:14:25] local.INFO: Processing buffer {"connection_id":172209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:14:25] local.INFO: Packet analysis {"connection_id":172209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:14:25] local.INFO: Extracted packet for processing {"connection_id":172209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:14:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894764032001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:14:25] 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-09-06 05:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788651723000,"timestamp_ms":1788651723000,"timestamp_seconds":1788651723,"priority":1,"record_length":96,"hex_timestamp":"000001a073f358f8"} 
[2026-09-06 05:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:14: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-09-06 05: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:14: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-09-06 05:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894764032001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894764032001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:14:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:14:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894764032001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":172209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:14:25] local.INFO: GPS data processed {"connection_id":172209,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:14:25] local.INFO: Acknowledgment sent {"connection_id":172209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:14:49] local.INFO: TCP Data received {"connection_id":172211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:14:49] local.INFO: Processing buffer {"connection_id":172211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:14:49] local.INFO: IMEI packet received {"connection_id":172211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":172211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:14:54] local.INFO: TCP Data received {"connection_id":172211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:14:54] local.INFO: Processing buffer {"connection_id":172211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:14:54] local.INFO: IMEI packet received {"connection_id":172211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":172211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:14:55] local.INFO: TCP Data received {"connection_id":172211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:14:55] local.INFO: Processing buffer {"connection_id":172211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:14:55] local.INFO: Packet analysis {"connection_id":172211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:14:55] local.INFO: Extracted packet for processing {"connection_id":172211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:14:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894764032001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788651723000,"timestamp_ms":1788651723000,"timestamp_seconds":1788651723,"priority":1,"record_length":96,"hex_timestamp":"000001a073f358f8"} 
[2026-09-06 05:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894764032001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894764032001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:14:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:14:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894764032001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":172211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:14:55] local.INFO: GPS data processed {"connection_id":172211,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:14:55] local.INFO: Acknowledgment sent {"connection_id":172211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:15:26] local.INFO: TCP Data received {"connection_id":172211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:15:26] local.INFO: Processing buffer {"connection_id":172211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:15:26] local.INFO: Packet analysis {"connection_id":172211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:15:26] local.INFO: Extracted packet for processing {"connection_id":172211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:15:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894764032001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:15: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-09-06 05:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788651723000,"timestamp_ms":1788651723000,"timestamp_seconds":1788651723,"priority":1,"record_length":96,"hex_timestamp":"000001a073f358f8"} 
[2026-09-06 05:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:15: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-09-06 05: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:15: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-09-06 05:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894764032001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894764032001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:15:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:15:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894764032001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":172211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:15:26] local.INFO: GPS data processed {"connection_id":172211,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:15:26] local.INFO: Acknowledgment sent {"connection_id":172211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:15:49] local.INFO: TCP Data received {"connection_id":174894,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:15:49] local.INFO: Processing buffer {"connection_id":174894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:15:49] local.INFO: IMEI packet received {"connection_id":174894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":174894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:15:54] local.INFO: TCP Data received {"connection_id":174894,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:15:54] local.INFO: Processing buffer {"connection_id":174894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:15:54] local.INFO: IMEI packet received {"connection_id":174894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":174894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:15:54] local.INFO: TCP Data received {"connection_id":174894,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:15:54] local.INFO: Processing buffer {"connection_id":174894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:15:54] local.INFO: Packet analysis {"connection_id":174894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:15:54] local.INFO: Extracted packet for processing {"connection_id":174894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:15:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894764032001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:15:54] 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-09-06 05:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788651723000,"timestamp_ms":1788651723000,"timestamp_seconds":1788651723,"priority":1,"record_length":96,"hex_timestamp":"000001a073f358f8"} 
[2026-09-06 05:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05: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-09-06 05:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894764032001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894764032001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:15:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:15:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894764032001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":174894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:15:54] local.INFO: GPS data processed {"connection_id":174894,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:15:54] local.INFO: Acknowledgment sent {"connection_id":174894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:16:25] local.INFO: TCP Data received {"connection_id":174894,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:16:25] local.INFO: Processing buffer {"connection_id":174894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:16:25] local.INFO: Packet analysis {"connection_id":174894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:16:25] local.INFO: Extracted packet for processing {"connection_id":174894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:16:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894764032001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:16:25] 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-09-06 05:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788651723000,"timestamp_ms":1788651723000,"timestamp_seconds":1788651723,"priority":1,"record_length":96,"hex_timestamp":"000001a073f358f8"} 
[2026-09-06 05:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:16: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-09-06 05: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05: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-09-06 05:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894764032001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894764032001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:16:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:16:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894764032001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":174894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:16:25] local.INFO: GPS data processed {"connection_id":174894,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:16:25] local.INFO: Acknowledgment sent {"connection_id":174894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:16:43] local.INFO: TCP Data received {"connection_id":173574,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:16:43] local.INFO: Processing buffer {"connection_id":173574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:16:43] local.INFO: IMEI packet received {"connection_id":173574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 05:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":173574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:16:54] local.INFO: TCP Data received {"connection_id":172212,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:16:54] local.INFO: Processing buffer {"connection_id":172212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:16:54] local.INFO: IMEI packet received {"connection_id":172212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":172212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:16:59] local.INFO: TCP Data received {"connection_id":172212,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:16:59] local.INFO: Processing buffer {"connection_id":172212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:16:59] local.INFO: IMEI packet received {"connection_id":172212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":172212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:17:00] local.INFO: TCP Data received {"connection_id":172212,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:17:00] local.INFO: Processing buffer {"connection_id":172212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:17:00] local.INFO: Packet analysis {"connection_id":172212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:17:00] local.INFO: Extracted packet for processing {"connection_id":172212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:17:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894764032001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:17:00] 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-09-06 05:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788651723000,"timestamp_ms":1788651723000,"timestamp_seconds":1788651723,"priority":1,"record_length":96,"hex_timestamp":"000001a073f358f8"} 
[2026-09-06 05:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894764032001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894764032001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:17:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:17:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894764032001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":172212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:17:00] local.INFO: GPS data processed {"connection_id":172212,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:17:00] local.INFO: Acknowledgment sent {"connection_id":172212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:17:04] local.INFO: TCP Data received {"connection_id":172212,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:17:04] local.INFO: Processing buffer {"connection_id":172212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f358f8012d532d0006497048000601472b..."} 
[2026-09-06 05:17:04] local.INFO: Packet analysis {"connection_id":172212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:17:04] local.INFO: Extracted packet for processing {"connection_id":172212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f3"} 
[2026-09-06 05:17:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894764032001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788651723000,"timestamp_ms":1788651723000,"timestamp_seconds":1788651723,"priority":1,"record_length":96,"hex_timestamp":"000001a073f358f8"} 
[2026-09-06 05:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894764032001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894764032001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:17:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:17:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894764032001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":172212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:17:04] local.INFO: GPS data processed {"connection_id":172212,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:17:04] local.INFO: Acknowledgment sent {"connection_id":172212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:17:13] local.INFO: TCP Data received {"connection_id":173575,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:17:13] local.INFO: Processing buffer {"connection_id":173575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:17:13] local.INFO: IMEI packet received {"connection_id":173575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 05:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":173575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:17:49] local.INFO: TCP Data received {"connection_id":174895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:17:49] local.INFO: Processing buffer {"connection_id":174895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:17:49] local.INFO: IMEI packet received {"connection_id":174895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":174895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:17:53] local.INFO: TCP Data received {"connection_id":174895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:17:53] local.INFO: Processing buffer {"connection_id":174895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:17:53] local.INFO: IMEI packet received {"connection_id":174895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":174895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:17:54] local.INFO: TCP Data received {"connection_id":174895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:17:54] local.INFO: Processing buffer {"connection_id":174895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:17:54] local.INFO: Packet analysis {"connection_id":174895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:17:54] local.INFO: Extracted packet for processing {"connection_id":174895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:17:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894841088001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:17:54] 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-09-06 05:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788652024000,"timestamp_ms":1788652024000,"timestamp_seconds":1788652024,"priority":1,"record_length":96,"hex_timestamp":"000001a073f7f0c0"} 
[2026-09-06 05:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:17:54] 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-09-06 05: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-09-06 05:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:17: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-09-06 05:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894841088001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894841088001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:17:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:17:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894841088001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":174895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:17:54] local.INFO: GPS data processed {"connection_id":174895,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:17:54] local.INFO: Acknowledgment sent {"connection_id":174895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:18:25] local.INFO: TCP Data received {"connection_id":174895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:18:25] local.INFO: Processing buffer {"connection_id":174895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:18:25] local.INFO: Packet analysis {"connection_id":174895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:18:25] local.INFO: Extracted packet for processing {"connection_id":174895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:18:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 05:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894841088001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:18:25] 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-09-06 05:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788652024000,"timestamp_ms":1788652024000,"timestamp_seconds":1788652024,"priority":1,"record_length":96,"hex_timestamp":"000001a073f7f0c0"} 
[2026-09-06 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-09-06 05:18: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-09-06 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:18: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-09-06 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-09-06 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-09-06 05:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05: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-09-06 05:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894841088001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894841088001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:18:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:18:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894841088001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":174895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:18:25] local.INFO: GPS data processed {"connection_id":174895,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:18:25] local.INFO: Acknowledgment sent {"connection_id":174895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:18:48] local.INFO: TCP Data received {"connection_id":172447,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:18:48] local.INFO: Processing buffer {"connection_id":172447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:18:48] local.INFO: IMEI packet received {"connection_id":172447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":172447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:18:54] local.INFO: TCP Data received {"connection_id":172447,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:18:54] local.INFO: Processing buffer {"connection_id":172447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:18:54] local.INFO: IMEI packet received {"connection_id":172447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":172447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:18:55] local.INFO: TCP Data received {"connection_id":172447,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:18:55] local.INFO: Processing buffer {"connection_id":172447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:18:55] local.INFO: Packet analysis {"connection_id":172447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:18:55] local.INFO: Extracted packet for processing {"connection_id":172447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:18:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894841088001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788652024000,"timestamp_ms":1788652024000,"timestamp_seconds":1788652024,"priority":1,"record_length":96,"hex_timestamp":"000001a073f7f0c0"} 
[2026-09-06 05:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:18:55] 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-09-06 05:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894841088001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894841088001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:18:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:18:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894841088001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":172447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:18:55] local.INFO: GPS data processed {"connection_id":172447,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:18:55] local.INFO: Acknowledgment sent {"connection_id":172447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:19:26] local.INFO: TCP Data received {"connection_id":172447,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:19:26] local.INFO: Processing buffer {"connection_id":172447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:19:26] local.INFO: Packet analysis {"connection_id":172447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:19:26] local.INFO: Extracted packet for processing {"connection_id":172447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:19:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894841088001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:19: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-09-06 05:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788652024000,"timestamp_ms":1788652024000,"timestamp_seconds":1788652024,"priority":1,"record_length":96,"hex_timestamp":"000001a073f7f0c0"} 
[2026-09-06 05:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:19: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-09-06 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:19:26] 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-09-06 05: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-09-06 05:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:19: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-09-06 05:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894841088001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894841088001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:19:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:19:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894841088001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":172447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:19:26] local.INFO: GPS data processed {"connection_id":172447,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:19:26] local.INFO: Acknowledgment sent {"connection_id":172447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:19:48] local.INFO: TCP Data received {"connection_id":173577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:19:48] local.INFO: Processing buffer {"connection_id":173577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:19:48] local.INFO: IMEI packet received {"connection_id":173577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":173577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:19:54] local.INFO: TCP Data received {"connection_id":173577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:19:54] local.INFO: Processing buffer {"connection_id":173577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:19:54] local.INFO: IMEI packet received {"connection_id":173577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":173577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:19:54] local.INFO: TCP Data received {"connection_id":173577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:19:54] local.INFO: Processing buffer {"connection_id":173577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:19:54] local.INFO: Packet analysis {"connection_id":173577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:19:54] local.INFO: Extracted packet for processing {"connection_id":173577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:19:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894841088001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:19:54] 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-09-06 05:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788652024000,"timestamp_ms":1788652024000,"timestamp_seconds":1788652024,"priority":1,"record_length":96,"hex_timestamp":"000001a073f7f0c0"} 
[2026-09-06 05:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:19:54] 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-09-06 05: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-09-06 05:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:19: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-09-06 05:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894841088001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894841088001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:19:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:19:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894841088001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":173577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:19:54] local.INFO: GPS data processed {"connection_id":173577,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:19:54] local.INFO: Acknowledgment sent {"connection_id":173577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:20:25] local.INFO: TCP Data received {"connection_id":173577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:20:25] local.INFO: Processing buffer {"connection_id":173577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:20:25] local.INFO: Packet analysis {"connection_id":173577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:20:25] local.INFO: Extracted packet for processing {"connection_id":173577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:20:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894841088001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:20:25] 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-09-06 05:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788652024000,"timestamp_ms":1788652024000,"timestamp_seconds":1788652024,"priority":1,"record_length":96,"hex_timestamp":"000001a073f7f0c0"} 
[2026-09-06 05:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:20: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-09-06 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:20: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-09-06 05: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-09-06 05:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:20: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-09-06 05:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894841088001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894841088001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:20:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:20:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894841088001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":173577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:20:25] local.INFO: GPS data processed {"connection_id":173577,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:20:25] local.INFO: Acknowledgment sent {"connection_id":173577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:20:54] local.INFO: TCP Data received {"connection_id":172215,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:20:54] local.INFO: Processing buffer {"connection_id":172215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:20:54] local.INFO: IMEI packet received {"connection_id":172215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":172215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:20:59] local.INFO: TCP Data received {"connection_id":172215,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:20:59] local.INFO: Processing buffer {"connection_id":172215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:20:59] local.INFO: IMEI packet received {"connection_id":172215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":172215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:21:00] local.INFO: TCP Data received {"connection_id":172215,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:21:00] local.INFO: Processing buffer {"connection_id":172215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:21:00] local.INFO: Packet analysis {"connection_id":172215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:21:00] local.INFO: Extracted packet for processing {"connection_id":172215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:21:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894841088001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:21:00] 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-09-06 05:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788652024000,"timestamp_ms":1788652024000,"timestamp_seconds":1788652024,"priority":1,"record_length":96,"hex_timestamp":"000001a073f7f0c0"} 
[2026-09-06 05:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:21:00] 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-09-06 05:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894841088001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894841088001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:21:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:21:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894841088001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":172215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:21:00] local.INFO: GPS data processed {"connection_id":172215,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:21:00] local.INFO: Acknowledgment sent {"connection_id":172215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:21:04] local.INFO: TCP Data received {"connection_id":172215,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:21:04] local.INFO: Processing buffer {"connection_id":172215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:21:04] local.INFO: Packet analysis {"connection_id":172215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:21:04] local.INFO: Extracted packet for processing {"connection_id":172215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:21:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894841088001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788652024000,"timestamp_ms":1788652024000,"timestamp_seconds":1788652024,"priority":1,"record_length":96,"hex_timestamp":"000001a073f7f0c0"} 
[2026-09-06 05:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:21:04] 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-09-06 05: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-09-06 05:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894841088001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894841088001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:21:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:21:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894841088001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":172215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:21:04] local.INFO: GPS data processed {"connection_id":172215,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:21:04] local.INFO: Acknowledgment sent {"connection_id":172215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:21:49] local.INFO: TCP Data received {"connection_id":173578,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:21:49] local.INFO: Processing buffer {"connection_id":173578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:21:49] local.INFO: IMEI packet received {"connection_id":173578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":173578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:21:54] local.INFO: TCP Data received {"connection_id":173578,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:21:54] local.INFO: Processing buffer {"connection_id":173578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:21:54] local.INFO: IMEI packet received {"connection_id":173578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":173578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:21:54] local.INFO: TCP Data received {"connection_id":173578,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:21:54] local.INFO: Processing buffer {"connection_id":173578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:21:54] local.INFO: Packet analysis {"connection_id":173578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:21:54] local.INFO: Extracted packet for processing {"connection_id":173578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:21:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894841088001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:21:54] 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-09-06 05:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788652024000,"timestamp_ms":1788652024000,"timestamp_seconds":1788652024,"priority":1,"record_length":96,"hex_timestamp":"000001a073f7f0c0"} 
[2026-09-06 05:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:21:54] 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-09-06 05:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:21: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-09-06 05:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894841088001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894841088001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:21:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:21:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894841088001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":173578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:21:54] local.INFO: GPS data processed {"connection_id":173578,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:21:54] local.INFO: Acknowledgment sent {"connection_id":173578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:22:25] local.INFO: TCP Data received {"connection_id":173578,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:22:25] local.INFO: Processing buffer {"connection_id":173578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073f7f0c0012d532d0006497048000601472c..."} 
[2026-09-06 05:22:25] local.INFO: Packet analysis {"connection_id":173578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:22:25] local.INFO: Extracted packet for processing {"connection_id":173578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073f7"} 
[2026-09-06 05:22:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894841088001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:22:25] 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-09-06 05:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788652024000,"timestamp_ms":1788652024000,"timestamp_seconds":1788652024,"priority":1,"record_length":96,"hex_timestamp":"000001a073f7f0c0"} 
[2026-09-06 05:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:22: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-09-06 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:22: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-09-06 05: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-09-06 05:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:22: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-09-06 05:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894841088001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894841088001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:22:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:22:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894841088001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":173578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:22:25] local.INFO: GPS data processed {"connection_id":173578,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:22:25] local.INFO: Acknowledgment sent {"connection_id":173578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:22:33] local.INFO: TCP Data received {"connection_id":172448,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:22:33] local.INFO: Processing buffer {"connection_id":172448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:22:33] local.INFO: IMEI packet received {"connection_id":172448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 05:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":172448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:22:49] local.INFO: TCP Data received {"connection_id":172449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:22:49] local.INFO: Processing buffer {"connection_id":172449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:22:49] local.INFO: IMEI packet received {"connection_id":172449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":172449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:22:54] local.INFO: TCP Data received {"connection_id":172449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:22:54] local.INFO: Processing buffer {"connection_id":172449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:22:54] local.INFO: IMEI packet received {"connection_id":172449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":172449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:22:55] local.INFO: TCP Data received {"connection_id":172449,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:22:55] local.INFO: Processing buffer {"connection_id":172449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:22:55] local.INFO: Packet analysis {"connection_id":172449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:22:55] local.INFO: Extracted packet for processing {"connection_id":172449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:22:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894918144001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788652325000,"timestamp_ms":1788652325000,"timestamp_seconds":1788652325,"priority":1,"record_length":96,"hex_timestamp":"000001a073fc8888"} 
[2026-09-06 05:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:22:55] 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-09-06 05:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894918144001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894918144001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:22:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:22:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894918144001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":172449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:22:55] local.INFO: GPS data processed {"connection_id":172449,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:22:55] local.INFO: Acknowledgment sent {"connection_id":172449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:23:26] local.INFO: TCP Data received {"connection_id":172449,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:23:26] local.INFO: Processing buffer {"connection_id":172449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:23:26] local.INFO: Packet analysis {"connection_id":172449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:23:26] local.INFO: Extracted packet for processing {"connection_id":172449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:23:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894918144001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:23: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-09-06 05:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788652325000,"timestamp_ms":1788652325000,"timestamp_seconds":1788652325,"priority":1,"record_length":96,"hex_timestamp":"000001a073fc8888"} 
[2026-09-06 05:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:23: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-09-06 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:23:26] 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-09-06 05: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-09-06 05:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:23: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-09-06 05:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894918144001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894918144001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:23:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:23:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894918144001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":172449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:23:26] local.INFO: GPS data processed {"connection_id":172449,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:23:26] local.INFO: Acknowledgment sent {"connection_id":172449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:23:48] local.INFO: TCP Data received {"connection_id":172216,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:23:48] local.INFO: Processing buffer {"connection_id":172216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:23:48] local.INFO: IMEI packet received {"connection_id":172216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":172216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:23:54] local.INFO: TCP Data received {"connection_id":172216,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:23:54] local.INFO: Processing buffer {"connection_id":172216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:23:54] local.INFO: IMEI packet received {"connection_id":172216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":172216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:23:55] local.INFO: TCP Data received {"connection_id":172216,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:23:55] local.INFO: Processing buffer {"connection_id":172216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:23:55] local.INFO: Packet analysis {"connection_id":172216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:23:55] local.INFO: Extracted packet for processing {"connection_id":172216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:23:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894918144001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788652325000,"timestamp_ms":1788652325000,"timestamp_seconds":1788652325,"priority":1,"record_length":96,"hex_timestamp":"000001a073fc8888"} 
[2026-09-06 05:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:23:55] 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-09-06 05: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-09-06 05:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894918144001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894918144001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:23:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:23:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894918144001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":172216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:23:55] local.INFO: GPS data processed {"connection_id":172216,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:23:55] local.INFO: Acknowledgment sent {"connection_id":172216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:24:26] local.INFO: TCP Data received {"connection_id":172216,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:24:26] local.INFO: Processing buffer {"connection_id":172216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:24:26] local.INFO: Packet analysis {"connection_id":172216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:24:26] local.INFO: Extracted packet for processing {"connection_id":172216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:24:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894918144001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:24: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-09-06 05:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788652325000,"timestamp_ms":1788652325000,"timestamp_seconds":1788652325,"priority":1,"record_length":96,"hex_timestamp":"000001a073fc8888"} 
[2026-09-06 05:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:24: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-09-06 05: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":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:24:26] 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-09-06 05: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-09-06 05:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:24: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-09-06 05:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894918144001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894918144001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:24:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:24:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894918144001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":172216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:24:26] local.INFO: GPS data processed {"connection_id":172216,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:24:26] local.INFO: Acknowledgment sent {"connection_id":172216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:24:54] local.INFO: TCP Data received {"connection_id":172451,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:24:54] local.INFO: Processing buffer {"connection_id":172451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:24:54] local.INFO: IMEI packet received {"connection_id":172451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":172451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:24:59] local.INFO: TCP Data received {"connection_id":172451,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:24:59] local.INFO: Processing buffer {"connection_id":172451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:24:59] local.INFO: IMEI packet received {"connection_id":172451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":172451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:25:00] local.INFO: TCP Data received {"connection_id":172451,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:25:00] local.INFO: Processing buffer {"connection_id":172451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:25:00] local.INFO: Packet analysis {"connection_id":172451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:25:00] local.INFO: Extracted packet for processing {"connection_id":172451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:25:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894918144001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:25:00] 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-09-06 05:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788652325000,"timestamp_ms":1788652325000,"timestamp_seconds":1788652325,"priority":1,"record_length":96,"hex_timestamp":"000001a073fc8888"} 
[2026-09-06 05:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:25:00] 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-09-06 05: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-09-06 05:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894918144001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894918144001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:25:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:25:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894918144001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":172451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:25:00] local.INFO: GPS data processed {"connection_id":172451,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:25:00] local.INFO: Acknowledgment sent {"connection_id":172451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:25:05] local.INFO: TCP Data received {"connection_id":172451,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:25:05] local.INFO: Processing buffer {"connection_id":172451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:25:05] local.INFO: Packet analysis {"connection_id":172451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:25:05] local.INFO: Extracted packet for processing {"connection_id":172451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:25:05] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894918144001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788652325000,"timestamp_ms":1788652325000,"timestamp_seconds":1788652325,"priority":1,"record_length":96,"hex_timestamp":"000001a073fc8888"} 
[2026-09-06 05:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:25:05] 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-09-06 05:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894918144001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894918144001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:25:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:25:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894918144001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":172451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:25:05] local.INFO: GPS data processed {"connection_id":172451,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:25:05] local.INFO: Acknowledgment sent {"connection_id":172451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:25:48] local.INFO: TCP Data received {"connection_id":172217,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:25:48] local.INFO: Processing buffer {"connection_id":172217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:25:48] local.INFO: IMEI packet received {"connection_id":172217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":172217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:25:53] local.INFO: TCP Data received {"connection_id":172217,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:25:53] local.INFO: Processing buffer {"connection_id":172217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:25:53] local.INFO: IMEI packet received {"connection_id":172217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":172217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:25:54] local.INFO: TCP Data received {"connection_id":172217,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:25:54] local.INFO: Processing buffer {"connection_id":172217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:25:54] local.INFO: Packet analysis {"connection_id":172217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:25:54] local.INFO: Extracted packet for processing {"connection_id":172217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:25:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894918144001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:25:54] 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-09-06 05:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788652325000,"timestamp_ms":1788652325000,"timestamp_seconds":1788652325,"priority":1,"record_length":96,"hex_timestamp":"000001a073fc8888"} 
[2026-09-06 05:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:25:54] 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-09-06 05:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:25: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-09-06 05:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894918144001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894918144001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:25:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:25:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894918144001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":172217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:25:54] local.INFO: GPS data processed {"connection_id":172217,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:25:54] local.INFO: Acknowledgment sent {"connection_id":172217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:26:26] local.INFO: TCP Data received {"connection_id":172217,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:26:26] local.INFO: Processing buffer {"connection_id":172217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:26:26] local.INFO: Packet analysis {"connection_id":172217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:26:26] local.INFO: Extracted packet for processing {"connection_id":172217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:26:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894918144001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:26: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-09-06 05:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788652325000,"timestamp_ms":1788652325000,"timestamp_seconds":1788652325,"priority":1,"record_length":96,"hex_timestamp":"000001a073fc8888"} 
[2026-09-06 05:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:26: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-09-06 05:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:26:26] 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-09-06 05:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:26: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-09-06 05:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894918144001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894918144001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:26:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:26:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894918144001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":172217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:26:26] local.INFO: GPS data processed {"connection_id":172217,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:26:26] local.INFO: Acknowledgment sent {"connection_id":172217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:26:49] local.INFO: TCP Data received {"connection_id":172453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:26:49] local.INFO: Processing buffer {"connection_id":172453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:26:49] local.INFO: IMEI packet received {"connection_id":172453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":172453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:26:54] local.INFO: TCP Data received {"connection_id":172453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:26:54] local.INFO: Processing buffer {"connection_id":172453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:26:54] local.INFO: IMEI packet received {"connection_id":172453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":172453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:26:55] local.INFO: TCP Data received {"connection_id":172453,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:26:55] local.INFO: Processing buffer {"connection_id":172453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:26:55] local.INFO: Packet analysis {"connection_id":172453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:26:55] local.INFO: Extracted packet for processing {"connection_id":172453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:26:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894918144001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788652325000,"timestamp_ms":1788652325000,"timestamp_seconds":1788652325,"priority":1,"record_length":96,"hex_timestamp":"000001a073fc8888"} 
[2026-09-06 05:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:26:55] 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-09-06 05:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894918144001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894918144001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:26:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:26:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894918144001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":172453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:26:55] local.INFO: GPS data processed {"connection_id":172453,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:26:55] local.INFO: Acknowledgment sent {"connection_id":172453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:27:26] local.INFO: TCP Data received {"connection_id":172453,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:27:26] local.INFO: Processing buffer {"connection_id":172453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a073fc8888012d532d00064970480006014729..."} 
[2026-09-06 05:27:26] local.INFO: Packet analysis {"connection_id":172453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:27:26] local.INFO: Extracted packet for processing {"connection_id":172453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a073fc"} 
[2026-09-06 05:27:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894918144001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:27: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-09-06 05:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788652325000,"timestamp_ms":1788652325000,"timestamp_seconds":1788652325,"priority":1,"record_length":96,"hex_timestamp":"000001a073fc8888"} 
[2026-09-06 05:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:27: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-09-06 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:27:26] 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-09-06 05: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-09-06 05:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:27: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-09-06 05:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894918144001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894918144001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:27:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:27:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894918144001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":172453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:27:26] local.INFO: GPS data processed {"connection_id":172453,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:27:26] local.INFO: Acknowledgment sent {"connection_id":172453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:27:49] local.INFO: TCP Data received {"connection_id":172454,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:27:49] local.INFO: Processing buffer {"connection_id":172454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:27:49] local.INFO: IMEI packet received {"connection_id":172454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":172454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:27:53] local.INFO: TCP Data received {"connection_id":172454,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:27:53] local.INFO: Processing buffer {"connection_id":172454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:27:53] local.INFO: IMEI packet received {"connection_id":172454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":172454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:27:54] local.INFO: TCP Data received {"connection_id":172454,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:27:54] local.INFO: Processing buffer {"connection_id":172454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:27:54] local.INFO: Packet analysis {"connection_id":172454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:27:54] local.INFO: Extracted packet for processing {"connection_id":172454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:27:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894995200001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:27:54] 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-09-06 05:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788652626000,"timestamp_ms":1788652626000,"timestamp_seconds":1788652626,"priority":1,"record_length":96,"hex_timestamp":"000001a074012050"} 
[2026-09-06 05:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:27: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-09-06 05:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894995200001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894995200001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:27:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:27:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894995200001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":172454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:27:54] local.INFO: GPS data processed {"connection_id":172454,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:27:54] local.INFO: Acknowledgment sent {"connection_id":172454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:28:12] local.INFO: TCP Data received {"connection_id":172218,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:28:12] local.INFO: Processing buffer {"connection_id":172218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:28:12] local.INFO: IMEI packet received {"connection_id":172218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 05:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":172218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:28:25] local.INFO: TCP Data received {"connection_id":172454,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:28:25] local.INFO: Processing buffer {"connection_id":172454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:28:25] local.INFO: Packet analysis {"connection_id":172454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:28:25] local.INFO: Extracted packet for processing {"connection_id":172454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:28:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 05:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894995200001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:28:25] 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-09-06 05:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788652626000,"timestamp_ms":1788652626000,"timestamp_seconds":1788652626,"priority":1,"record_length":96,"hex_timestamp":"000001a074012050"} 
[2026-09-06 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-09-06 05:28: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-09-06 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 05:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:28: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-09-06 05:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894995200001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894995200001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:28:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:28:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894995200001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":172454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:28:25] local.INFO: GPS data processed {"connection_id":172454,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:28:25] local.INFO: Acknowledgment sent {"connection_id":172454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:28:54] local.INFO: TCP Data received {"connection_id":172219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:28:54] local.INFO: Processing buffer {"connection_id":172219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:28:54] local.INFO: IMEI packet received {"connection_id":172219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":172219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:28:59] local.INFO: TCP Data received {"connection_id":172219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:28:59] local.INFO: Processing buffer {"connection_id":172219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:28:59] local.INFO: IMEI packet received {"connection_id":172219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":172219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:29:00] local.INFO: TCP Data received {"connection_id":172219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:29:00] local.INFO: Processing buffer {"connection_id":172219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:29:00] local.INFO: Packet analysis {"connection_id":172219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:29:00] local.INFO: Extracted packet for processing {"connection_id":172219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:29:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894995200001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:29:00] 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-09-06 05:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788652626000,"timestamp_ms":1788652626000,"timestamp_seconds":1788652626,"priority":1,"record_length":96,"hex_timestamp":"000001a074012050"} 
[2026-09-06 05:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894995200001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894995200001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:29:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:29:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894995200001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":172219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:29:00] local.INFO: GPS data processed {"connection_id":172219,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:29:00] local.INFO: Acknowledgment sent {"connection_id":172219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:29:04] local.INFO: TCP Data received {"connection_id":172219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:29:04] local.INFO: Processing buffer {"connection_id":172219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:29:04] local.INFO: Packet analysis {"connection_id":172219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:29:04] local.INFO: Extracted packet for processing {"connection_id":172219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:29:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894995200001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788652626000,"timestamp_ms":1788652626000,"timestamp_seconds":1788652626,"priority":1,"record_length":96,"hex_timestamp":"000001a074012050"} 
[2026-09-06 05:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894995200001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894995200001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:29:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:29:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894995200001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":172219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:29:04] local.INFO: GPS data processed {"connection_id":172219,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:29:04] local.INFO: Acknowledgment sent {"connection_id":172219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:29:49] local.INFO: TCP Data received {"connection_id":174899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:29:49] local.INFO: Processing buffer {"connection_id":174899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:29:49] local.INFO: IMEI packet received {"connection_id":174899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":174899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:29:53] local.INFO: TCP Data received {"connection_id":174899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:29:53] local.INFO: Processing buffer {"connection_id":174899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:29:53] local.INFO: IMEI packet received {"connection_id":174899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":174899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:29:54] local.INFO: TCP Data received {"connection_id":174899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:29:54] local.INFO: Processing buffer {"connection_id":174899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:29:54] local.INFO: Packet analysis {"connection_id":174899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:29:54] local.INFO: Extracted packet for processing {"connection_id":174899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:29:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894995200001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:29:54] 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-09-06 05:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788652626000,"timestamp_ms":1788652626000,"timestamp_seconds":1788652626,"priority":1,"record_length":96,"hex_timestamp":"000001a074012050"} 
[2026-09-06 05:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:29: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-09-06 05:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894995200001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894995200001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:29:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:29:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894995200001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":174899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:29:54] local.INFO: GPS data processed {"connection_id":174899,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:29:54] local.INFO: Acknowledgment sent {"connection_id":174899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:30:25] local.INFO: TCP Data received {"connection_id":174899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:30:25] local.INFO: Processing buffer {"connection_id":174899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:30:25] local.INFO: Packet analysis {"connection_id":174899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:30:25] local.INFO: Extracted packet for processing {"connection_id":174899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:30:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894995200001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:30:25] 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-09-06 05:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788652626000,"timestamp_ms":1788652626000,"timestamp_seconds":1788652626,"priority":1,"record_length":96,"hex_timestamp":"000001a074012050"} 
[2026-09-06 05:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:30: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-09-06 05: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:30: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-09-06 05:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894995200001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894995200001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:30:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:30:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894995200001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":174899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:30:25] local.INFO: GPS data processed {"connection_id":174899,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:30:25] local.INFO: Acknowledgment sent {"connection_id":174899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:30:49] local.INFO: TCP Data received {"connection_id":172220,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:30:49] local.INFO: Processing buffer {"connection_id":172220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:30:49] local.INFO: IMEI packet received {"connection_id":172220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":172220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:30:54] local.INFO: TCP Data received {"connection_id":172220,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:30:54] local.INFO: Processing buffer {"connection_id":172220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:30:54] local.INFO: IMEI packet received {"connection_id":172220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":172220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:30:55] local.INFO: TCP Data received {"connection_id":172220,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:30:55] local.INFO: Processing buffer {"connection_id":172220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:30:55] local.INFO: Packet analysis {"connection_id":172220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:30:55] local.INFO: Extracted packet for processing {"connection_id":172220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:30:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894995200001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788652626000,"timestamp_ms":1788652626000,"timestamp_seconds":1788652626,"priority":1,"record_length":96,"hex_timestamp":"000001a074012050"} 
[2026-09-06 05:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894995200001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894995200001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:30:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:30:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894995200001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":172220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:30:55] local.INFO: GPS data processed {"connection_id":172220,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:30:55] local.INFO: Acknowledgment sent {"connection_id":172220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:31:25] local.INFO: TCP Data received {"connection_id":172220,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:31:25] local.INFO: Processing buffer {"connection_id":172220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:31:25] local.INFO: Packet analysis {"connection_id":172220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:31:25] local.INFO: Extracted packet for processing {"connection_id":172220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:31:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 05:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894995200001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:31:25] 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-09-06 05:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788652626000,"timestamp_ms":1788652626000,"timestamp_seconds":1788652626,"priority":1,"record_length":96,"hex_timestamp":"000001a074012050"} 
[2026-09-06 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-09-06 05:31: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-09-06 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 05:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:31: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-09-06 05:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894995200001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894995200001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:31:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:31:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894995200001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":172220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:31:26] local.INFO: GPS data processed {"connection_id":172220,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:31:26] local.INFO: Acknowledgment sent {"connection_id":172220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:31:49] local.INFO: TCP Data received {"connection_id":172221,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:31:49] local.INFO: Processing buffer {"connection_id":172221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:31:49] local.INFO: IMEI packet received {"connection_id":172221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":172221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:31:53] local.INFO: TCP Data received {"connection_id":172221,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:31:53] local.INFO: Processing buffer {"connection_id":172221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:31:53] local.INFO: IMEI packet received {"connection_id":172221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":172221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:31:54] local.INFO: TCP Data received {"connection_id":172221,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:31:54] local.INFO: Processing buffer {"connection_id":172221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:31:54] local.INFO: Packet analysis {"connection_id":172221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:31:54] local.INFO: Extracted packet for processing {"connection_id":172221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:31:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894995200001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:31:54] 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-09-06 05:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788652626000,"timestamp_ms":1788652626000,"timestamp_seconds":1788652626,"priority":1,"record_length":96,"hex_timestamp":"000001a074012050"} 
[2026-09-06 05:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:31: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-09-06 05:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894995200001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894995200001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:31:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:31:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894995200001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":172221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:31:54] local.INFO: GPS data processed {"connection_id":172221,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:31:54] local.INFO: Acknowledgment sent {"connection_id":172221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:32:25] local.INFO: TCP Data received {"connection_id":172221,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:32:25] local.INFO: Processing buffer {"connection_id":172221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074012050012d532d0006497048000601472a..."} 
[2026-09-06 05:32:25] local.INFO: Packet analysis {"connection_id":172221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:32:25] local.INFO: Extracted packet for processing {"connection_id":172221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07401"} 
[2026-09-06 05:32:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 05:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457894995200001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:32:25] 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-09-06 05:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788652626000,"timestamp_ms":1788652626000,"timestamp_seconds":1788652626,"priority":1,"record_length":96,"hex_timestamp":"000001a074012050"} 
[2026-09-06 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-09-06 05:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 05:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:32: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-09-06 05:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457894995200001,"66":25212,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457894995200001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:32:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:32:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457894995200001,"power":25212,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":172221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:32:25] local.INFO: GPS data processed {"connection_id":172221,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:32:25] local.INFO: Acknowledgment sent {"connection_id":172221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:32:48] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:32:48] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:32:48] local.INFO: IMEI packet received {"connection_id":173582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":173582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:32:54] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:32:54] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:32:54] local.INFO: IMEI packet received {"connection_id":173582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":173582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:32:55] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:32:55] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:32:55] local.INFO: Packet analysis {"connection_id":173582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:32:55] local.INFO: Extracted packet for processing {"connection_id":173582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:32:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895072256001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788652927000,"timestamp_ms":1788652927000,"timestamp_seconds":1788652927,"priority":1,"record_length":96,"hex_timestamp":"000001a07405b818"} 
[2026-09-06 05:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895072256001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895072256001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:32:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:32:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895072256001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":173582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:32:55] local.INFO: GPS data processed {"connection_id":173582,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:32:55] local.INFO: Acknowledgment sent {"connection_id":173582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:33:26] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:33:26] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:33:26] local.INFO: Packet analysis {"connection_id":173582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:33:26] local.INFO: Extracted packet for processing {"connection_id":173582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:33:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895072256001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05: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-09-06 05:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788652927000,"timestamp_ms":1788652927000,"timestamp_seconds":1788652927,"priority":1,"record_length":96,"hex_timestamp":"000001a07405b818"} 
[2026-09-06 05:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:33: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-09-06 05: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:33: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-09-06 05:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895072256001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895072256001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:33:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:33:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895072256001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":173582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:33:26] local.INFO: GPS data processed {"connection_id":173582,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:33:26] local.INFO: Acknowledgment sent {"connection_id":173582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:33:33] local.INFO: TCP Data received {"connection_id":172455,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:33:33] local.INFO: Processing buffer {"connection_id":172455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:33:33] local.INFO: IMEI packet received {"connection_id":172455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 05:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":172455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:33:53] local.INFO: TCP Data received {"connection_id":174902,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:33:53] local.INFO: Processing buffer {"connection_id":174902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:33:53] local.INFO: IMEI packet received {"connection_id":174902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":174902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:33:58] local.INFO: TCP Data received {"connection_id":174902,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:33:58] local.INFO: Processing buffer {"connection_id":174902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:33:58] local.INFO: IMEI packet received {"connection_id":174902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":174902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:34:00] local.INFO: TCP Data received {"connection_id":174902,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:34:00] local.INFO: Processing buffer {"connection_id":174902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:34:00] local.INFO: Packet analysis {"connection_id":174902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:34:00] local.INFO: Extracted packet for processing {"connection_id":174902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:34:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895072256001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:34:00] 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-09-06 05:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788652927000,"timestamp_ms":1788652927000,"timestamp_seconds":1788652927,"priority":1,"record_length":96,"hex_timestamp":"000001a07405b818"} 
[2026-09-06 05:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895072256001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895072256001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:34:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:34:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895072256001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":174902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:34:01] local.INFO: GPS data processed {"connection_id":174902,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:34:01] local.INFO: Acknowledgment sent {"connection_id":174902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:34:04] local.INFO: TCP Data received {"connection_id":174902,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:34:04] local.INFO: Processing buffer {"connection_id":174902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:34:04] local.INFO: Packet analysis {"connection_id":174902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:34:04] local.INFO: Extracted packet for processing {"connection_id":174902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:34:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895072256001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788652927000,"timestamp_ms":1788652927000,"timestamp_seconds":1788652927,"priority":1,"record_length":96,"hex_timestamp":"000001a07405b818"} 
[2026-09-06 05:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895072256001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895072256001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:34:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:34:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895072256001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":174902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:34:04] local.INFO: GPS data processed {"connection_id":174902,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:34:04] local.INFO: Acknowledgment sent {"connection_id":174902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:34:18] local.INFO: TCP Data received {"connection_id":173583,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:34:18] local.INFO: Processing buffer {"connection_id":173583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:34:18] local.INFO: IMEI packet received {"connection_id":173583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 05:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":173583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:34:49] local.INFO: TCP Data received {"connection_id":173584,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:34:49] local.INFO: Processing buffer {"connection_id":173584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:34:49] local.INFO: IMEI packet received {"connection_id":173584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":173584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:34:54] local.INFO: TCP Data received {"connection_id":173584,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:34:54] local.INFO: Processing buffer {"connection_id":173584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:34:54] local.INFO: IMEI packet received {"connection_id":173584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":173584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:34:55] local.INFO: TCP Data received {"connection_id":173584,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:34:55] local.INFO: Processing buffer {"connection_id":173584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:34:55] local.INFO: Packet analysis {"connection_id":173584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:34:55] local.INFO: Extracted packet for processing {"connection_id":173584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:34:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895072256001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788652927000,"timestamp_ms":1788652927000,"timestamp_seconds":1788652927,"priority":1,"record_length":96,"hex_timestamp":"000001a07405b818"} 
[2026-09-06 05:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895072256001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895072256001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:34:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:34:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895072256001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":173584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:34:55] local.INFO: GPS data processed {"connection_id":173584,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:34:55] local.INFO: Acknowledgment sent {"connection_id":173584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:35:26] local.INFO: TCP Data received {"connection_id":173584,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:35:26] local.INFO: Processing buffer {"connection_id":173584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:35:26] local.INFO: Packet analysis {"connection_id":173584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:35:26] local.INFO: Extracted packet for processing {"connection_id":173584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:35:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895072256001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:35: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-09-06 05:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788652927000,"timestamp_ms":1788652927000,"timestamp_seconds":1788652927,"priority":1,"record_length":96,"hex_timestamp":"000001a07405b818"} 
[2026-09-06 05:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:35: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-09-06 05:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:35: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-09-06 05:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895072256001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895072256001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:35:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:35:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895072256001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":173584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:35:26] local.INFO: GPS data processed {"connection_id":173584,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:35:26] local.INFO: Acknowledgment sent {"connection_id":173584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:35:48] local.INFO: TCP Data received {"connection_id":174903,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:35:48] local.INFO: Processing buffer {"connection_id":174903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:35:48] local.INFO: IMEI packet received {"connection_id":174903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":174903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:35:53] local.INFO: TCP Data received {"connection_id":174903,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:35:53] local.INFO: Processing buffer {"connection_id":174903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:35:53] local.INFO: IMEI packet received {"connection_id":174903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":174903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:35:54] local.INFO: TCP Data received {"connection_id":174903,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:35:54] local.INFO: Processing buffer {"connection_id":174903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:35:54] local.INFO: Packet analysis {"connection_id":174903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:35:54] local.INFO: Extracted packet for processing {"connection_id":174903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:35:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895072256001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:35:54] 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-09-06 05:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788652927000,"timestamp_ms":1788652927000,"timestamp_seconds":1788652927,"priority":1,"record_length":96,"hex_timestamp":"000001a07405b818"} 
[2026-09-06 05:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:35: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-09-06 05:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895072256001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895072256001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:35:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:35:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895072256001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":174903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:35:54] local.INFO: GPS data processed {"connection_id":174903,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:35:54] local.INFO: Acknowledgment sent {"connection_id":174903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:36:25] local.INFO: TCP Data received {"connection_id":174903,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:36:25] local.INFO: Processing buffer {"connection_id":174903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:36:25] local.INFO: Packet analysis {"connection_id":174903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:36:25] local.INFO: Extracted packet for processing {"connection_id":174903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:36:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895072256001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:36:25] 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-09-06 05:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788652927000,"timestamp_ms":1788652927000,"timestamp_seconds":1788652927,"priority":1,"record_length":96,"hex_timestamp":"000001a07405b818"} 
[2026-09-06 05:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:36: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-09-06 05: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:36: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-09-06 05:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895072256001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895072256001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:36:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:36:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895072256001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":174903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:36:25] local.INFO: GPS data processed {"connection_id":174903,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:36:25] local.INFO: Acknowledgment sent {"connection_id":174903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:36:49] local.INFO: TCP Data received {"connection_id":174904,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:36:49] local.INFO: Processing buffer {"connection_id":174904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:36:49] local.INFO: IMEI packet received {"connection_id":174904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":174904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:36:54] local.INFO: TCP Data received {"connection_id":174904,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:36:54] local.INFO: Processing buffer {"connection_id":174904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:36:54] local.INFO: IMEI packet received {"connection_id":174904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":174904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:36:56] local.INFO: TCP Data received {"connection_id":174904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:36:56] local.INFO: Processing buffer {"connection_id":174904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:36:56] local.INFO: Packet analysis {"connection_id":174904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:36:56] local.INFO: Extracted packet for processing {"connection_id":174904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:36:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895072256001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:36:56] 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-09-06 05:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788652927000,"timestamp_ms":1788652927000,"timestamp_seconds":1788652927,"priority":1,"record_length":96,"hex_timestamp":"000001a07405b818"} 
[2026-09-06 05:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:36: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-09-06 05:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:36: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-09-06 05:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895072256001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895072256001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:36:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:36:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895072256001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":174904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:36:56] local.INFO: GPS data processed {"connection_id":174904,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:36:56] local.INFO: Acknowledgment sent {"connection_id":174904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:37:27] local.INFO: TCP Data received {"connection_id":174904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:37:27] local.INFO: Processing buffer {"connection_id":174904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07405b818012d532d00064970480006014728..."} 
[2026-09-06 05:37:27] local.INFO: Packet analysis {"connection_id":174904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:37:27] local.INFO: Extracted packet for processing {"connection_id":174904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07405"} 
[2026-09-06 05:37:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895072256001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:37:27] 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-09-06 05:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788652927000,"timestamp_ms":1788652927000,"timestamp_seconds":1788652927,"priority":1,"record_length":96,"hex_timestamp":"000001a07405b818"} 
[2026-09-06 05:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:37: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-09-06 05: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":124,"data_length":795,"current_offset":136} 
[2026-09-06 05:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:37: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-09-06 05:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895072256001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895072256001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:37:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:37:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895072256001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":174904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:37:27] local.INFO: GPS data processed {"connection_id":174904,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:37:27] local.INFO: Acknowledgment sent {"connection_id":174904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:37:48] local.INFO: TCP Data received {"connection_id":173586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:37:48] local.INFO: Processing buffer {"connection_id":173586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:37:48] local.INFO: IMEI packet received {"connection_id":173586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":173586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:37:53] local.INFO: TCP Data received {"connection_id":173586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:37:53] local.INFO: Processing buffer {"connection_id":173586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:37:53] local.INFO: IMEI packet received {"connection_id":173586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":173586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:37:54] local.INFO: TCP Data received {"connection_id":173586,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:37:54] local.INFO: Processing buffer {"connection_id":173586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:37:54] local.INFO: Packet analysis {"connection_id":173586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:37:54] local.INFO: Extracted packet for processing {"connection_id":173586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:37:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895149312001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:37:54] 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-09-06 05:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788653228000,"timestamp_ms":1788653228000,"timestamp_seconds":1788653228,"priority":1,"record_length":96,"hex_timestamp":"000001a0740a4fe0"} 
[2026-09-06 05:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:37:54] 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-09-06 05: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-09-06 05:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:37: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-09-06 05:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895149312001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895149312001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:37:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:37:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895149312001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":173586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:37:54] local.INFO: GPS data processed {"connection_id":173586,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:37:54] local.INFO: Acknowledgment sent {"connection_id":173586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:38:25] local.INFO: TCP Data received {"connection_id":173586,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:38:25] local.INFO: Processing buffer {"connection_id":173586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:38:25] local.INFO: Packet analysis {"connection_id":173586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:38:25] local.INFO: Extracted packet for processing {"connection_id":173586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:38:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 05:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895149312001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:38:25] 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-09-06 05:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788653228000,"timestamp_ms":1788653228000,"timestamp_seconds":1788653228,"priority":1,"record_length":96,"hex_timestamp":"000001a0740a4fe0"} 
[2026-09-06 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-09-06 05: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-09-06 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:38: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-09-06 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-09-06 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-09-06 05:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895149312001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895149312001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:38:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:38:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895149312001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":173586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:38:25] local.INFO: GPS data processed {"connection_id":173586,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:38:25] local.INFO: Acknowledgment sent {"connection_id":173586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:38:53] local.INFO: TCP Data received {"connection_id":172456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:38:53] local.INFO: Processing buffer {"connection_id":172456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:38:53] local.INFO: IMEI packet received {"connection_id":172456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":172456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:38:58] local.INFO: TCP Data received {"connection_id":172456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:38:58] local.INFO: Processing buffer {"connection_id":172456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:38:58] local.INFO: IMEI packet received {"connection_id":172456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":172456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:38:59] local.INFO: TCP Data received {"connection_id":172456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:38:59] local.INFO: Processing buffer {"connection_id":172456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:38:59] local.INFO: Packet analysis {"connection_id":172456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:38:59] local.INFO: Extracted packet for processing {"connection_id":172456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:38:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895149312001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:38:59] 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-09-06 05:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788653228000,"timestamp_ms":1788653228000,"timestamp_seconds":1788653228,"priority":1,"record_length":96,"hex_timestamp":"000001a0740a4fe0"} 
[2026-09-06 05:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:38:59] 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-09-06 05:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895149312001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895149312001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:38:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:38:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895149312001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":172456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:38:59] local.INFO: GPS data processed {"connection_id":172456,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:38:59] local.INFO: Acknowledgment sent {"connection_id":172456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:39:04] local.INFO: TCP Data received {"connection_id":172456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:39:04] local.INFO: Processing buffer {"connection_id":172456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:39:04] local.INFO: Packet analysis {"connection_id":172456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:39:04] local.INFO: Extracted packet for processing {"connection_id":172456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:39:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895149312001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788653228000,"timestamp_ms":1788653228000,"timestamp_seconds":1788653228,"priority":1,"record_length":96,"hex_timestamp":"000001a0740a4fe0"} 
[2026-09-06 05:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:39:04] 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-09-06 05:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895149312001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895149312001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:39:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:39:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895149312001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":172456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:39:04] local.INFO: GPS data processed {"connection_id":172456,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:39:04] local.INFO: Acknowledgment sent {"connection_id":172456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:39:48] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:39:48] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:39:48] local.INFO: IMEI packet received {"connection_id":173588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":173588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:39:54] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:39:54] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:39:54] local.INFO: IMEI packet received {"connection_id":173588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":173588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:39:55] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:39:55] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:39:55] local.INFO: Packet analysis {"connection_id":173588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:39:55] local.INFO: Extracted packet for processing {"connection_id":173588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:39:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895149312001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788653228000,"timestamp_ms":1788653228000,"timestamp_seconds":1788653228,"priority":1,"record_length":96,"hex_timestamp":"000001a0740a4fe0"} 
[2026-09-06 05:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:39:55] 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-09-06 05: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-09-06 05:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895149312001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895149312001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:39:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:39:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895149312001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":173588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:39:55] local.INFO: GPS data processed {"connection_id":173588,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:39:55] local.INFO: Acknowledgment sent {"connection_id":173588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:40:12] local.INFO: TCP Data received {"connection_id":173589,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:40:12] local.INFO: Processing buffer {"connection_id":173589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:40:12] local.INFO: IMEI packet received {"connection_id":173589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 05:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":173589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:40:25] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:40:25] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:40:25] local.INFO: Packet analysis {"connection_id":173588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:40:25] local.INFO: Extracted packet for processing {"connection_id":173588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:40:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 05:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895149312001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:40:25] 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-09-06 05:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788653228000,"timestamp_ms":1788653228000,"timestamp_seconds":1788653228,"priority":1,"record_length":96,"hex_timestamp":"000001a0740a4fe0"} 
[2026-09-06 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-09-06 05:40: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-09-06 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:40: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-09-06 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-09-06 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-09-06 05:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:40: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-09-06 05:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895149312001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895149312001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:40:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:40:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895149312001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":173588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:40:25] local.INFO: GPS data processed {"connection_id":173588,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:40:25] local.INFO: Acknowledgment sent {"connection_id":173588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:40:48] local.INFO: TCP Data received {"connection_id":172224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:40:48] local.INFO: Processing buffer {"connection_id":172224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:40:48] local.INFO: IMEI packet received {"connection_id":172224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":172224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:40:54] local.INFO: TCP Data received {"connection_id":172224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:40:54] local.INFO: Processing buffer {"connection_id":172224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:40:54] local.INFO: IMEI packet received {"connection_id":172224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":172224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:40:54] local.INFO: TCP Data received {"connection_id":172224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:40:54] local.INFO: Processing buffer {"connection_id":172224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:40:54] local.INFO: Packet analysis {"connection_id":172224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:40:54] local.INFO: Extracted packet for processing {"connection_id":172224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:40:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895149312001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:40:54] 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-09-06 05:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788653228000,"timestamp_ms":1788653228000,"timestamp_seconds":1788653228,"priority":1,"record_length":96,"hex_timestamp":"000001a0740a4fe0"} 
[2026-09-06 05:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:40:54] 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-09-06 05: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-09-06 05:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:40: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-09-06 05:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895149312001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895149312001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:40:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:40:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895149312001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":172224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:40:54] local.INFO: GPS data processed {"connection_id":172224,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:40:54] local.INFO: Acknowledgment sent {"connection_id":172224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:41:26] local.INFO: TCP Data received {"connection_id":172224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:41:26] local.INFO: Processing buffer {"connection_id":172224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:41:26] local.INFO: Packet analysis {"connection_id":172224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:41:26] local.INFO: Extracted packet for processing {"connection_id":172224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:41:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895149312001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:41: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-09-06 05:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788653228000,"timestamp_ms":1788653228000,"timestamp_seconds":1788653228,"priority":1,"record_length":96,"hex_timestamp":"000001a0740a4fe0"} 
[2026-09-06 05:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:41: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-09-06 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:41:26] 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-09-06 05: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-09-06 05:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:41: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-09-06 05:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895149312001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895149312001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:41:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:41:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895149312001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":172224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:41:26] local.INFO: GPS data processed {"connection_id":172224,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:41:26] local.INFO: Acknowledgment sent {"connection_id":172224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:41:48] local.INFO: TCP Data received {"connection_id":174906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:41:48] local.INFO: Processing buffer {"connection_id":174906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:41:48] local.INFO: IMEI packet received {"connection_id":174906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":174906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:41:54] local.INFO: TCP Data received {"connection_id":174906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:41:54] local.INFO: Processing buffer {"connection_id":174906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:41:54] local.INFO: IMEI packet received {"connection_id":174906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":174906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:41:55] local.INFO: TCP Data received {"connection_id":174906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:41:55] local.INFO: Processing buffer {"connection_id":174906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:41:55] local.INFO: Packet analysis {"connection_id":174906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:41:55] local.INFO: Extracted packet for processing {"connection_id":174906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:41:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895149312001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788653228000,"timestamp_ms":1788653228000,"timestamp_seconds":1788653228,"priority":1,"record_length":96,"hex_timestamp":"000001a0740a4fe0"} 
[2026-09-06 05:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:41:55] 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-09-06 05:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895149312001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895149312001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:41:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:41:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895149312001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":174906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:41:55] local.INFO: GPS data processed {"connection_id":174906,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:41:55] local.INFO: Acknowledgment sent {"connection_id":174906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:42:25] local.INFO: TCP Data received {"connection_id":174906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:42:25] local.INFO: Processing buffer {"connection_id":174906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740a4fe0012d532d00064970480006014728..."} 
[2026-09-06 05:42:25] local.INFO: Packet analysis {"connection_id":174906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:42:25] local.INFO: Extracted packet for processing {"connection_id":174906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740a"} 
[2026-09-06 05:42:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895149312001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:42:25] 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-09-06 05:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788653228000,"timestamp_ms":1788653228000,"timestamp_seconds":1788653228,"priority":1,"record_length":96,"hex_timestamp":"000001a0740a4fe0"} 
[2026-09-06 05:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05: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-09-06 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 05:42: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-09-06 05: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-09-06 05:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:42: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-09-06 05:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895149312001,"66":25201,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895149312001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:42:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:42:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895149312001,"power":25201,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":174906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:42:25] local.INFO: GPS data processed {"connection_id":174906,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:42:25] local.INFO: Acknowledgment sent {"connection_id":174906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:42:49] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:42:49] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:42:49] local.INFO: IMEI packet received {"connection_id":173591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":173591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:42:54] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:42:54] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:42:54] local.INFO: IMEI packet received {"connection_id":173591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":173591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:42:55] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:42:55] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:42:55] local.INFO: Packet analysis {"connection_id":173591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:42:55] local.INFO: Extracted packet for processing {"connection_id":173591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:42:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895226368001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788653529000,"timestamp_ms":1788653529000,"timestamp_seconds":1788653529,"priority":1,"record_length":96,"hex_timestamp":"000001a0740ee7a8"} 
[2026-09-06 05:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 05:42:55] 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-09-06 05:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895226368001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895226368001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:42:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:42:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895226368001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":173591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:42:55] local.INFO: GPS data processed {"connection_id":173591,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:42:55] local.INFO: Acknowledgment sent {"connection_id":173591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:43:25] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:43:25] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:43:25] local.INFO: Packet analysis {"connection_id":173591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:43:25] local.INFO: Extracted packet for processing {"connection_id":173591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:43:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895226368001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:43:25] 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-09-06 05:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788653529000,"timestamp_ms":1788653529000,"timestamp_seconds":1788653529,"priority":1,"record_length":96,"hex_timestamp":"000001a0740ee7a8"} 
[2026-09-06 05:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:43: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-09-06 05: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 05:43: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-09-06 05: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-09-06 05:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:43: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-09-06 05:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895226368001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895226368001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:43:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:43:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895226368001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":173591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:43:25] local.INFO: GPS data processed {"connection_id":173591,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:43:25] local.INFO: Acknowledgment sent {"connection_id":173591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:43:48] local.INFO: TCP Data received {"connection_id":174907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:43:48] local.INFO: Processing buffer {"connection_id":174907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:43:48] local.INFO: IMEI packet received {"connection_id":174907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":174907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:43:54] local.INFO: TCP Data received {"connection_id":174907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:43:54] local.INFO: Processing buffer {"connection_id":174907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:43:54] local.INFO: IMEI packet received {"connection_id":174907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":174907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:43:55] local.INFO: TCP Data received {"connection_id":174907,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:43:55] local.INFO: Processing buffer {"connection_id":174907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:43:55] local.INFO: Packet analysis {"connection_id":174907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:43:55] local.INFO: Extracted packet for processing {"connection_id":174907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:43:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895226368001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788653529000,"timestamp_ms":1788653529000,"timestamp_seconds":1788653529,"priority":1,"record_length":96,"hex_timestamp":"000001a0740ee7a8"} 
[2026-09-06 05:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 05:43:55] 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-09-06 05:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895226368001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895226368001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:43:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:43:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895226368001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":174907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:43:55] local.INFO: GPS data processed {"connection_id":174907,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:43:55] local.INFO: Acknowledgment sent {"connection_id":174907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:44:25] local.INFO: TCP Data received {"connection_id":174907,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:44:25] local.INFO: Processing buffer {"connection_id":174907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:44:25] local.INFO: Packet analysis {"connection_id":174907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:44:25] local.INFO: Extracted packet for processing {"connection_id":174907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:44:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 05:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895226368001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:44:25] 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-09-06 05:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788653529000,"timestamp_ms":1788653529000,"timestamp_seconds":1788653529,"priority":1,"record_length":96,"hex_timestamp":"000001a0740ee7a8"} 
[2026-09-06 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-09-06 05:44: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-09-06 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 05:44: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-09-06 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-09-06 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-09-06 05:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05: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-09-06 05:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895226368001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895226368001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:44:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:44:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895226368001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":174907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:44:25] local.INFO: GPS data processed {"connection_id":174907,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:44:25] local.INFO: Acknowledgment sent {"connection_id":174907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:44:54] local.INFO: TCP Data received {"connection_id":172457,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:44:54] local.INFO: Processing buffer {"connection_id":172457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:44:54] local.INFO: IMEI packet received {"connection_id":172457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":172457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:44:59] local.INFO: TCP Data received {"connection_id":172457,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:44:59] local.INFO: Processing buffer {"connection_id":172457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:44:59] local.INFO: IMEI packet received {"connection_id":172457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":172457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:44:59] local.INFO: TCP Data received {"connection_id":172457,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:44:59] local.INFO: Processing buffer {"connection_id":172457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:44:59] local.INFO: Packet analysis {"connection_id":172457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:44:59] local.INFO: Extracted packet for processing {"connection_id":172457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:44:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895226368001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:44:59] 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-09-06 05:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788653529000,"timestamp_ms":1788653529000,"timestamp_seconds":1788653529,"priority":1,"record_length":96,"hex_timestamp":"000001a0740ee7a8"} 
[2026-09-06 05:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 05:44:59] 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-09-06 05:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895226368001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895226368001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:44:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:44:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895226368001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":172457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:44:59] local.INFO: GPS data processed {"connection_id":172457,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:44:59] local.INFO: Acknowledgment sent {"connection_id":172457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:45:04] local.INFO: TCP Data received {"connection_id":172457,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:45:04] local.INFO: Processing buffer {"connection_id":172457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:45:04] local.INFO: Packet analysis {"connection_id":172457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:45:04] local.INFO: Extracted packet for processing {"connection_id":172457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:45:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895226368001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788653529000,"timestamp_ms":1788653529000,"timestamp_seconds":1788653529,"priority":1,"record_length":96,"hex_timestamp":"000001a0740ee7a8"} 
[2026-09-06 05:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 05:45:04] 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-09-06 05:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895226368001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895226368001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:45:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:45:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895226368001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":172457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:45:04] local.INFO: GPS data processed {"connection_id":172457,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:45:04] local.INFO: Acknowledgment sent {"connection_id":172457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:45:33] local.INFO: TCP Data received {"connection_id":174908,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:45:33] local.INFO: Processing buffer {"connection_id":174908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:45:33] local.INFO: IMEI packet received {"connection_id":174908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 05:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":174908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:45:48] local.INFO: TCP Data received {"connection_id":174909,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:45:48] local.INFO: Processing buffer {"connection_id":174909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:45:48] local.INFO: IMEI packet received {"connection_id":174909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":174909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:45:53] local.INFO: TCP Data received {"connection_id":174909,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:45:53] local.INFO: Processing buffer {"connection_id":174909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:45:53] local.INFO: IMEI packet received {"connection_id":174909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":174909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:45:55] local.INFO: TCP Data received {"connection_id":174909,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:45:55] local.INFO: Processing buffer {"connection_id":174909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:45:55] local.INFO: Packet analysis {"connection_id":174909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:45:55] local.INFO: Extracted packet for processing {"connection_id":174909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:45:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895226368001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788653529000,"timestamp_ms":1788653529000,"timestamp_seconds":1788653529,"priority":1,"record_length":96,"hex_timestamp":"000001a0740ee7a8"} 
[2026-09-06 05:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 05:45:55] 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-09-06 05: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-09-06 05:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895226368001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895226368001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:45:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:45:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895226368001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":174909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:45:55] local.INFO: GPS data processed {"connection_id":174909,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:45:55] local.INFO: Acknowledgment sent {"connection_id":174909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:46:26] local.INFO: TCP Data received {"connection_id":174909,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:46:26] local.INFO: Processing buffer {"connection_id":174909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:46:26] local.INFO: Packet analysis {"connection_id":174909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:46:26] local.INFO: Extracted packet for processing {"connection_id":174909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:46:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895226368001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:46: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-09-06 05:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788653529000,"timestamp_ms":1788653529000,"timestamp_seconds":1788653529,"priority":1,"record_length":96,"hex_timestamp":"000001a0740ee7a8"} 
[2026-09-06 05:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:46: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-09-06 05:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 05:46:26] 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-09-06 05: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-09-06 05:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:46: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-09-06 05:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895226368001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895226368001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:46:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:46:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895226368001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":174909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:46:26] local.INFO: GPS data processed {"connection_id":174909,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:46:26] local.INFO: Acknowledgment sent {"connection_id":174909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:46:49] local.INFO: TCP Data received {"connection_id":172227,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:46:49] local.INFO: Processing buffer {"connection_id":172227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:46:49] local.INFO: IMEI packet received {"connection_id":172227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":172227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:46:54] local.INFO: TCP Data received {"connection_id":172227,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:46:54] local.INFO: Processing buffer {"connection_id":172227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:46:54] local.INFO: IMEI packet received {"connection_id":172227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":172227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:46:55] local.INFO: TCP Data received {"connection_id":172227,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:46:55] local.INFO: Processing buffer {"connection_id":172227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:46:55] local.INFO: Packet analysis {"connection_id":172227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:46:55] local.INFO: Extracted packet for processing {"connection_id":172227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:46:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895226368001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788653529000,"timestamp_ms":1788653529000,"timestamp_seconds":1788653529,"priority":1,"record_length":96,"hex_timestamp":"000001a0740ee7a8"} 
[2026-09-06 05:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 05:46:55] 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-09-06 05: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-09-06 05:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895226368001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895226368001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:46:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:46:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895226368001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":172227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:46:55] local.INFO: GPS data processed {"connection_id":172227,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:46:55] local.INFO: Acknowledgment sent {"connection_id":172227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:47:26] local.INFO: TCP Data received {"connection_id":172227,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:47:26] local.INFO: Processing buffer {"connection_id":172227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0740ee7a8012d532d00064970480006014729..."} 
[2026-09-06 05:47:26] local.INFO: Packet analysis {"connection_id":172227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:47:26] local.INFO: Extracted packet for processing {"connection_id":172227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0740e"} 
[2026-09-06 05:47:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895226368001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:47: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-09-06 05:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788653529000,"timestamp_ms":1788653529000,"timestamp_seconds":1788653529,"priority":1,"record_length":96,"hex_timestamp":"000001a0740ee7a8"} 
[2026-09-06 05:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:47: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-09-06 05:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 05:47:26] 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-09-06 05:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:47: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-09-06 05:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895226368001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895226368001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:47:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:47:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895226368001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":172227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:47:26] local.INFO: GPS data processed {"connection_id":172227,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:47:26] local.INFO: Acknowledgment sent {"connection_id":172227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:47:47] local.INFO: TCP Data received {"connection_id":174910,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:47:47] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:47:47] local.INFO: IMEI packet received {"connection_id":174910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":174910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:47:48] local.INFO: TCP Data received {"connection_id":174910,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:47:48] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:47:48] local.INFO: IMEI packet received {"connection_id":174910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":174910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:47:53] local.INFO: TCP Data received {"connection_id":174910,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:47:53] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:47:53] local.INFO: IMEI packet received {"connection_id":174910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":174910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:47:54] local.INFO: TCP Data received {"connection_id":174910,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:47:54] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:47:54] local.INFO: Packet analysis {"connection_id":174910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:47:54] local.INFO: Extracted packet for processing {"connection_id":174910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:47:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895303424001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:47:54] 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-09-06 05:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788653830000,"timestamp_ms":1788653830000,"timestamp_seconds":1788653830,"priority":1,"record_length":96,"hex_timestamp":"000001a074137f70"} 
[2026-09-06 05:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 05:47:54] 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-09-06 05: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-09-06 05:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:47: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-09-06 05:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895303424001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895303424001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:47:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:47:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895303424001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":174910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:47:54] local.INFO: GPS data processed {"connection_id":174910,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:47:54] local.INFO: Acknowledgment sent {"connection_id":174910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:48:25] local.INFO: TCP Data received {"connection_id":174910,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:48:25] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:48:25] local.INFO: Packet analysis {"connection_id":174910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:48:25] local.INFO: Extracted packet for processing {"connection_id":174910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:48:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895303424001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:48:25] 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-09-06 05:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788653830000,"timestamp_ms":1788653830000,"timestamp_seconds":1788653830,"priority":1,"record_length":96,"hex_timestamp":"000001a074137f70"} 
[2026-09-06 05:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:48: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-09-06 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 05:48:25] 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-09-06 05: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-09-06 05:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:48: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-09-06 05:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895303424001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895303424001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:48:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:48:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895303424001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":174910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:48:25] local.INFO: GPS data processed {"connection_id":174910,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:48:25] local.INFO: Acknowledgment sent {"connection_id":174910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:48:54] local.INFO: TCP Data received {"connection_id":172459,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:48:54] local.INFO: Processing buffer {"connection_id":172459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:48:54] local.INFO: IMEI packet received {"connection_id":172459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":172459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:48:59] local.INFO: TCP Data received {"connection_id":172459,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:48:59] local.INFO: Processing buffer {"connection_id":172459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:48:59] local.INFO: IMEI packet received {"connection_id":172459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":172459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:48:59] local.INFO: TCP Data received {"connection_id":172459,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:48:59] local.INFO: Processing buffer {"connection_id":172459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:48:59] local.INFO: Packet analysis {"connection_id":172459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:48:59] local.INFO: Extracted packet for processing {"connection_id":172459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:48:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895303424001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:48:59] 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-09-06 05:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788653830000,"timestamp_ms":1788653830000,"timestamp_seconds":1788653830,"priority":1,"record_length":96,"hex_timestamp":"000001a074137f70"} 
[2026-09-06 05:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 05:48:59] 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-09-06 05: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-09-06 05:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895303424001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895303424001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:48:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:48:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895303424001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":172459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:48:59] local.INFO: GPS data processed {"connection_id":172459,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:48:59] local.INFO: Acknowledgment sent {"connection_id":172459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:49:04] local.INFO: TCP Data received {"connection_id":172459,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:49:04] local.INFO: Processing buffer {"connection_id":172459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:49:04] local.INFO: Packet analysis {"connection_id":172459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:49:04] local.INFO: Extracted packet for processing {"connection_id":172459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:49:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895303424001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788653830000,"timestamp_ms":1788653830000,"timestamp_seconds":1788653830,"priority":1,"record_length":96,"hex_timestamp":"000001a074137f70"} 
[2026-09-06 05:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 05:49:04] 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-09-06 05:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895303424001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895303424001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:49:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:49:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895303424001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":172459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:49:04] local.INFO: GPS data processed {"connection_id":172459,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:49:04] local.INFO: Acknowledgment sent {"connection_id":172459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:49:49] local.INFO: TCP Data received {"connection_id":173595,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:49:49] local.INFO: Processing buffer {"connection_id":173595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:49:49] local.INFO: IMEI packet received {"connection_id":173595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":173595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:49:53] local.INFO: TCP Data received {"connection_id":173595,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:49:53] local.INFO: Processing buffer {"connection_id":173595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:49:53] local.INFO: IMEI packet received {"connection_id":173595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":173595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:49:54] local.INFO: TCP Data received {"connection_id":173595,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:49:54] local.INFO: Processing buffer {"connection_id":173595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:49:54] local.INFO: Packet analysis {"connection_id":173595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:49:54] local.INFO: Extracted packet for processing {"connection_id":173595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:49:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895303424001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:49:54] 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-09-06 05:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788653830000,"timestamp_ms":1788653830000,"timestamp_seconds":1788653830,"priority":1,"record_length":96,"hex_timestamp":"000001a074137f70"} 
[2026-09-06 05:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 05:49:54] 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-09-06 05:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:49: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-09-06 05:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895303424001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895303424001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:49:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:49:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895303424001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":173595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:49:54] local.INFO: GPS data processed {"connection_id":173595,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:49:54] local.INFO: Acknowledgment sent {"connection_id":173595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:50:25] local.INFO: TCP Data received {"connection_id":173595,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:50:25] local.INFO: Processing buffer {"connection_id":173595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:50:25] local.INFO: Packet analysis {"connection_id":173595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:50:25] local.INFO: Extracted packet for processing {"connection_id":173595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:50:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 05:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895303424001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:50:25] 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-09-06 05:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788653830000,"timestamp_ms":1788653830000,"timestamp_seconds":1788653830,"priority":1,"record_length":96,"hex_timestamp":"000001a074137f70"} 
[2026-09-06 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-09-06 05:50: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-09-06 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 05:50:25] 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-09-06 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-09-06 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-09-06 05:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:50: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-09-06 05:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895303424001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895303424001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:50:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:50:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895303424001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":173595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:50:25] local.INFO: GPS data processed {"connection_id":173595,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:50:25] local.INFO: Acknowledgment sent {"connection_id":173595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:50:49] local.INFO: TCP Data received {"connection_id":174912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:50:49] local.INFO: Processing buffer {"connection_id":174912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:50:49] local.INFO: IMEI packet received {"connection_id":174912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":174912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:50:54] local.INFO: TCP Data received {"connection_id":174912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:50:54] local.INFO: Processing buffer {"connection_id":174912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:50:54] local.INFO: IMEI packet received {"connection_id":174912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":174912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:50:55] local.INFO: TCP Data received {"connection_id":174912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:50:55] local.INFO: Processing buffer {"connection_id":174912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:50:55] local.INFO: Packet analysis {"connection_id":174912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:50:55] local.INFO: Extracted packet for processing {"connection_id":174912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:50:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895303424001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788653830000,"timestamp_ms":1788653830000,"timestamp_seconds":1788653830,"priority":1,"record_length":96,"hex_timestamp":"000001a074137f70"} 
[2026-09-06 05:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":103,"data_length":795,"current_offset":136} 
[2026-09-06 05:50:55] 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-09-06 05: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-09-06 05:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895303424001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895303424001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:50:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:50:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895303424001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":174912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:50:55] local.INFO: GPS data processed {"connection_id":174912,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:50:55] local.INFO: Acknowledgment sent {"connection_id":174912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:51:12] local.INFO: TCP Data received {"connection_id":172460,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:51:12] local.INFO: Processing buffer {"connection_id":172460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:51:12] local.INFO: IMEI packet received {"connection_id":172460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 05:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":172460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:51:26] local.INFO: TCP Data received {"connection_id":174912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:51:26] local.INFO: Processing buffer {"connection_id":174912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:51:26] local.INFO: Packet analysis {"connection_id":174912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:51:26] local.INFO: Extracted packet for processing {"connection_id":174912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:51:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895303424001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:51: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-09-06 05:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788653830000,"timestamp_ms":1788653830000,"timestamp_seconds":1788653830,"priority":1,"record_length":96,"hex_timestamp":"000001a074137f70"} 
[2026-09-06 05:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:51: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-09-06 05: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":103,"data_length":795,"current_offset":136} 
[2026-09-06 05:51:26] 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-09-06 05: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-09-06 05:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:51: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-09-06 05:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895303424001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895303424001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:51:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:51:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895303424001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":174912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:51:26] local.INFO: GPS data processed {"connection_id":174912,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:51:26] local.INFO: Acknowledgment sent {"connection_id":174912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:51:49] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:51:49] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:51:49] local.INFO: IMEI packet received {"connection_id":173596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":173596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:51:53] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:51:53] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:51:53] local.INFO: IMEI packet received {"connection_id":173596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":173596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:51:54] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:51:54] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:51:54] local.INFO: Packet analysis {"connection_id":173596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:51:54] local.INFO: Extracted packet for processing {"connection_id":173596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:51:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895303424001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:51:54] 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-09-06 05:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788653830000,"timestamp_ms":1788653830000,"timestamp_seconds":1788653830,"priority":1,"record_length":96,"hex_timestamp":"000001a074137f70"} 
[2026-09-06 05:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 05:51:54] 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-09-06 05: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-09-06 05:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:51: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-09-06 05:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895303424001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895303424001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:51:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:51:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895303424001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":173596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:51:54] local.INFO: GPS data processed {"connection_id":173596,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:51:54] local.INFO: Acknowledgment sent {"connection_id":173596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:52:25] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:52:25] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074137f70012d532d00064970480006014725..."} 
[2026-09-06 05:52:25] local.INFO: Packet analysis {"connection_id":173596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:52:25] local.INFO: Extracted packet for processing {"connection_id":173596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07413"} 
[2026-09-06 05:52:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 05:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895303424001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:52:25] 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-09-06 05:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788653830000,"timestamp_ms":1788653830000,"timestamp_seconds":1788653830,"priority":1,"record_length":96,"hex_timestamp":"000001a074137f70"} 
[2026-09-06 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-09-06 05: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-09-06 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 05:52:25] 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-09-06 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-09-06 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-09-06 05:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:52: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-09-06 05:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895303424001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895303424001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:52:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:52:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895303424001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":173596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:52:25] local.INFO: GPS data processed {"connection_id":173596,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:52:25] local.INFO: Acknowledgment sent {"connection_id":173596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:52:49] local.INFO: TCP Data received {"connection_id":174913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:52:49] local.INFO: Processing buffer {"connection_id":174913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:52:49] local.INFO: IMEI packet received {"connection_id":174913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":174913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:52:49] local.INFO: TCP Data received {"connection_id":174913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:52:49] local.INFO: Processing buffer {"connection_id":174913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:52:49] local.INFO: IMEI packet received {"connection_id":174913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":174913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:52:54] local.INFO: TCP Data received {"connection_id":174913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:52:54] local.INFO: Processing buffer {"connection_id":174913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:52:54] local.INFO: IMEI packet received {"connection_id":174913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":174913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:52:54] local.INFO: TCP Data received {"connection_id":174913,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:52:54] local.INFO: Processing buffer {"connection_id":174913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:52:54] local.INFO: Packet analysis {"connection_id":174913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:52:54] local.INFO: Extracted packet for processing {"connection_id":174913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:52:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895380480001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:52:54] 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-09-06 05:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788654131000,"timestamp_ms":1788654131000,"timestamp_seconds":1788654131,"priority":1,"record_length":96,"hex_timestamp":"000001a074181738"} 
[2026-09-06 05:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:52:54] 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-09-06 05: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-09-06 05:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:52: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-09-06 05:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895380480001,"66":25038,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895380480001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:52:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:52:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895380480001,"power":25038,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":174913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:52:55] local.INFO: GPS data processed {"connection_id":174913,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:52:55] local.INFO: Acknowledgment sent {"connection_id":174913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:53:26] local.INFO: TCP Data received {"connection_id":174913,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:53:26] local.INFO: Processing buffer {"connection_id":174913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:53:26] local.INFO: Packet analysis {"connection_id":174913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:53:26] local.INFO: Extracted packet for processing {"connection_id":174913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:53:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895380480001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:53: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-09-06 05:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788654131000,"timestamp_ms":1788654131000,"timestamp_seconds":1788654131,"priority":1,"record_length":96,"hex_timestamp":"000001a074181738"} 
[2026-09-06 05:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:53: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-09-06 05:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:53:26] 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-09-06 05:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:53: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-09-06 05:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895380480001,"66":25038,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895380480001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:53:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:53:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895380480001,"power":25038,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":174913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:53:26] local.INFO: GPS data processed {"connection_id":174913,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:53:26] local.INFO: Acknowledgment sent {"connection_id":174913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:53:53] local.INFO: TCP Data received {"connection_id":173597,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:53:53] local.INFO: Processing buffer {"connection_id":173597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:53:53] local.INFO: IMEI packet received {"connection_id":173597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":173597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:53:58] local.INFO: TCP Data received {"connection_id":173597,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:53:58] local.INFO: Processing buffer {"connection_id":173597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:53:58] local.INFO: IMEI packet received {"connection_id":173597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":173597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:53:59] local.INFO: TCP Data received {"connection_id":173597,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:53:59] local.INFO: Processing buffer {"connection_id":173597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:53:59] local.INFO: Packet analysis {"connection_id":173597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:53:59] local.INFO: Extracted packet for processing {"connection_id":173597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:53:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895380480001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:53:59] 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-09-06 05:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788654131000,"timestamp_ms":1788654131000,"timestamp_seconds":1788654131,"priority":1,"record_length":96,"hex_timestamp":"000001a074181738"} 
[2026-09-06 05:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:53:59] 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-09-06 05: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-09-06 05:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895380480001,"66":25038,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895380480001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:53:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:53:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895380480001,"power":25038,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":173597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:53:59] local.INFO: GPS data processed {"connection_id":173597,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:53:59] local.INFO: Acknowledgment sent {"connection_id":173597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:54:04] local.INFO: TCP Data received {"connection_id":173597,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:54:04] local.INFO: Processing buffer {"connection_id":173597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:54:04] local.INFO: Packet analysis {"connection_id":173597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:54:04] local.INFO: Extracted packet for processing {"connection_id":173597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:54:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895380480001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788654131000,"timestamp_ms":1788654131000,"timestamp_seconds":1788654131,"priority":1,"record_length":96,"hex_timestamp":"000001a074181738"} 
[2026-09-06 05:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895380480001,"66":25038,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895380480001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:54:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:54:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895380480001,"power":25038,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":173597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:54:04] local.INFO: GPS data processed {"connection_id":173597,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:54:04] local.INFO: Acknowledgment sent {"connection_id":173597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:54:49] local.INFO: TCP Data received {"connection_id":173598,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:54:49] local.INFO: Processing buffer {"connection_id":173598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:54:49] local.INFO: IMEI packet received {"connection_id":173598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":173598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:54:54] local.INFO: TCP Data received {"connection_id":173598,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:54:54] local.INFO: Processing buffer {"connection_id":173598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:54:54] local.INFO: IMEI packet received {"connection_id":173598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":173598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:54:55] local.INFO: TCP Data received {"connection_id":173598,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:54:55] local.INFO: Processing buffer {"connection_id":173598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:54:55] local.INFO: Packet analysis {"connection_id":173598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:54:55] local.INFO: Extracted packet for processing {"connection_id":173598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:54:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895380480001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788654131000,"timestamp_ms":1788654131000,"timestamp_seconds":1788654131,"priority":1,"record_length":96,"hex_timestamp":"000001a074181738"} 
[2026-09-06 05:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:54:55] 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-09-06 05: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-09-06 05:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895380480001,"66":25038,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895380480001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:54:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:54:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895380480001,"power":25038,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":173598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:54:55] local.INFO: GPS data processed {"connection_id":173598,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:54:55] local.INFO: Acknowledgment sent {"connection_id":173598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:55:26] local.INFO: TCP Data received {"connection_id":173598,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:55:26] local.INFO: Processing buffer {"connection_id":173598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:55:26] local.INFO: Packet analysis {"connection_id":173598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:55:26] local.INFO: Extracted packet for processing {"connection_id":173598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:55:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895380480001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:55: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-09-06 05:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788654131000,"timestamp_ms":1788654131000,"timestamp_seconds":1788654131,"priority":1,"record_length":96,"hex_timestamp":"000001a074181738"} 
[2026-09-06 05:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:55: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-09-06 05:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:55:26] 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-09-06 05:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:55: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-09-06 05:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895380480001,"66":25038,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895380480001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:55:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:55:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895380480001,"power":25038,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":173598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:55:26] local.INFO: GPS data processed {"connection_id":173598,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:55:26] local.INFO: Acknowledgment sent {"connection_id":173598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:55:48] local.INFO: TCP Data received {"connection_id":172463,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:55:48] local.INFO: Processing buffer {"connection_id":172463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:55:48] local.INFO: IMEI packet received {"connection_id":172463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":172463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:55:53] local.INFO: TCP Data received {"connection_id":172463,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:55:53] local.INFO: Processing buffer {"connection_id":172463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:55:53] local.INFO: IMEI packet received {"connection_id":172463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":172463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:55:54] local.INFO: TCP Data received {"connection_id":172463,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:55:54] local.INFO: Processing buffer {"connection_id":172463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:55:54] local.INFO: Packet analysis {"connection_id":172463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:55:54] local.INFO: Extracted packet for processing {"connection_id":172463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:55:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895380480001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:55:54] 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-09-06 05:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788654131000,"timestamp_ms":1788654131000,"timestamp_seconds":1788654131,"priority":1,"record_length":96,"hex_timestamp":"000001a074181738"} 
[2026-09-06 05:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:55:54] 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-09-06 05: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-09-06 05:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:55: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-09-06 05:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895380480001,"66":25038,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895380480001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:55:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:55:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895380480001,"power":25038,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":172463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:55:54] local.INFO: GPS data processed {"connection_id":172463,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:55:54] local.INFO: Acknowledgment sent {"connection_id":172463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:56:25] local.INFO: TCP Data received {"connection_id":172463,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:56:25] local.INFO: Processing buffer {"connection_id":172463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:56:25] local.INFO: Packet analysis {"connection_id":172463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:56:25] local.INFO: Extracted packet for processing {"connection_id":172463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:56:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 05:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895380480001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:56:25] 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-09-06 05:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788654131000,"timestamp_ms":1788654131000,"timestamp_seconds":1788654131,"priority":1,"record_length":96,"hex_timestamp":"000001a074181738"} 
[2026-09-06 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-09-06 05:56: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-09-06 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:56:25] 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-09-06 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-09-06 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-09-06 05:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:56: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-09-06 05:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895380480001,"66":25038,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895380480001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:56:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:56:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895380480001,"power":25038,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":172463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:56:25] local.INFO: GPS data processed {"connection_id":172463,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:56:25] local.INFO: Acknowledgment sent {"connection_id":172463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:56:33] local.INFO: TCP Data received {"connection_id":173600,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:56:33] local.INFO: Processing buffer {"connection_id":173600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 05:56:33] local.INFO: IMEI packet received {"connection_id":173600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 05:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":173600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:56:49] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:56:49] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:56:49] local.INFO: IMEI packet received {"connection_id":173601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":173601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:56:54] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:56:54] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:56:54] local.INFO: IMEI packet received {"connection_id":173601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":173601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:56:55] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:56:55] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:56:55] local.INFO: Packet analysis {"connection_id":173601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:56:55] local.INFO: Extracted packet for processing {"connection_id":173601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:56:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895380480001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788654131000,"timestamp_ms":1788654131000,"timestamp_seconds":1788654131,"priority":1,"record_length":96,"hex_timestamp":"000001a074181738"} 
[2026-09-06 05:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:56:55] 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-09-06 05:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895380480001,"66":25038,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895380480001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:56:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:56:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895380480001,"power":25038,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":173601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:56:55] local.INFO: GPS data processed {"connection_id":173601,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:56:55] local.INFO: Acknowledgment sent {"connection_id":173601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:57:25] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:57:25] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074181738012d532d00064970480006014724..."} 
[2026-09-06 05:57:25] local.INFO: Packet analysis {"connection_id":173601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:57:25] local.INFO: Extracted packet for processing {"connection_id":173601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07418"} 
[2026-09-06 05:57:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895380480001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:57:25] 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-09-06 05:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788654131000,"timestamp_ms":1788654131000,"timestamp_seconds":1788654131,"priority":1,"record_length":96,"hex_timestamp":"000001a074181738"} 
[2026-09-06 05:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05: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-09-06 05: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":92,"data_length":795,"current_offset":136} 
[2026-09-06 05:57:25] 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-09-06 05: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-09-06 05:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:57: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-09-06 05:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895380480001,"66":25038,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895380480001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:57:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:57:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895380480001,"power":25038,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":173601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:57:25] local.INFO: GPS data processed {"connection_id":173601,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:57:25] local.INFO: Acknowledgment sent {"connection_id":173601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:57:48] local.INFO: TCP Data received {"connection_id":174915,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:57:48] local.INFO: Processing buffer {"connection_id":174915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:57:48] local.INFO: IMEI packet received {"connection_id":174915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":174915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:57:49] local.INFO: TCP Data received {"connection_id":174915,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:57:49] local.INFO: Processing buffer {"connection_id":174915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:57:49] local.INFO: IMEI packet received {"connection_id":174915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":174915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:57:53] local.INFO: TCP Data received {"connection_id":174915,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:57:53] local.INFO: Processing buffer {"connection_id":174915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:57:53] local.INFO: IMEI packet received {"connection_id":174915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":174915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:57:54] local.INFO: TCP Data received {"connection_id":174915,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 05:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 05:57:54] local.INFO: Processing buffer {"connection_id":174915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 05:57:54] local.INFO: Packet analysis {"connection_id":174915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 05:57:54] local.INFO: Extracted packet for processing {"connection_id":174915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 05:57:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895457536001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:57:54] 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-09-06 05:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788654432000,"timestamp_ms":1788654432000,"timestamp_seconds":1788654432,"priority":1,"record_length":96,"hex_timestamp":"000001a0741caf00"} 
[2026-09-06 05:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-06 05:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:57: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-09-06 05:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895457536001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895457536001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:57:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:57:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895457536001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":174915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:57:54] local.INFO: GPS data processed {"connection_id":174915,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:57:54] local.INFO: Acknowledgment sent {"connection_id":174915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:58:25] local.INFO: TCP Data received {"connection_id":174915,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 05:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 05:58:25] local.INFO: Processing buffer {"connection_id":174915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 05:58:25] local.INFO: Packet analysis {"connection_id":174915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 05:58:25] local.INFO: Extracted packet for processing {"connection_id":174915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 05:58:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 05:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895457536001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:58:25] 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-09-06 05:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788654432000,"timestamp_ms":1788654432000,"timestamp_seconds":1788654432,"priority":1,"record_length":96,"hex_timestamp":"000001a0741caf00"} 
[2026-09-06 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-09-06 05:58: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-09-06 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-06 05:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 05:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:58: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-09-06 05:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895457536001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895457536001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:58:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:58:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895457536001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":174915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:58:25] local.INFO: GPS data processed {"connection_id":174915,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:58:25] local.INFO: Acknowledgment sent {"connection_id":174915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:58:49] local.INFO: TCP Data received {"connection_id":172230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:58:49] local.INFO: Processing buffer {"connection_id":172230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:58:49] local.INFO: IMEI packet received {"connection_id":172230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":172230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:58:54] local.INFO: TCP Data received {"connection_id":172230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:58:54] local.INFO: Processing buffer {"connection_id":172230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:58:54] local.INFO: IMEI packet received {"connection_id":172230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":172230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:58:55] local.INFO: TCP Data received {"connection_id":172230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 05:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 05:58:55] local.INFO: Processing buffer {"connection_id":172230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 05:58:55] local.INFO: Packet analysis {"connection_id":172230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 05:58:55] local.INFO: Extracted packet for processing {"connection_id":172230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 05:58:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 05:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895457536001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 05:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788654432000,"timestamp_ms":1788654432000,"timestamp_seconds":1788654432,"priority":1,"record_length":96,"hex_timestamp":"000001a0741caf00"} 
[2026-09-06 05:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-06 05:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 05:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 05:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895457536001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895457536001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:58:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:58:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895457536001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":172230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:58:55] local.INFO: GPS data processed {"connection_id":172230,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:58:55] local.INFO: Acknowledgment sent {"connection_id":172230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:59:26] local.INFO: TCP Data received {"connection_id":172230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 05:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 05:59:26] local.INFO: Processing buffer {"connection_id":172230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 05:59:26] local.INFO: Packet analysis {"connection_id":172230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 05:59:26] local.INFO: Extracted packet for processing {"connection_id":172230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 05:59:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 05:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895457536001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:59: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-09-06 05:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788654432000,"timestamp_ms":1788654432000,"timestamp_seconds":1788654432,"priority":1,"record_length":96,"hex_timestamp":"000001a0741caf00"} 
[2026-09-06 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-09-06 05:59: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-09-06 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-06 05:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 05:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:59: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-09-06 05:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895457536001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895457536001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:59:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:59:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895457536001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":172230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:59:26] local.INFO: GPS data processed {"connection_id":172230,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:59:26] local.INFO: Acknowledgment sent {"connection_id":172230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 05:59:48] local.INFO: TCP Data received {"connection_id":173602,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:59:48] local.INFO: Processing buffer {"connection_id":173602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:59:48] local.INFO: IMEI packet received {"connection_id":173602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 05:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":173602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 05:59:53] local.INFO: TCP Data received {"connection_id":173602,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:59:53] local.INFO: Processing buffer {"connection_id":173602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 05:59:53] local.INFO: IMEI packet received {"connection_id":173602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 05:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":173602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 05:59:54] local.INFO: TCP Data received {"connection_id":173602,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 05:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 05:59:54] local.INFO: Processing buffer {"connection_id":173602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 05:59:54] local.INFO: Packet analysis {"connection_id":173602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 05:59:54] local.INFO: Extracted packet for processing {"connection_id":173602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 05:59:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 05: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-09-06 05:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895457536001,"note":"Value kept but may cause issues"} 
[2026-09-06 05:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 05:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 05:59:54] 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-09-06 05:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788654432000,"timestamp_ms":1788654432000,"timestamp_seconds":1788654432,"priority":1,"record_length":96,"hex_timestamp":"000001a0741caf00"} 
[2026-09-06 05:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 05:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-06 05:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 05: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-09-06 05:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 05:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 05:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 05:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 05:59: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-09-06 05:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 05:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 05:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895457536001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 05:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 05:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 05:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895457536001,"description":"Unknown IO ID 0"} 
[2026-09-06 05:59:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 05:59:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 05:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 05:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 05:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895457536001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 05:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":173602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 05:59:54] local.INFO: GPS data processed {"connection_id":173602,"processed":1,"errors":0,"total":1} 
[2026-09-06 05:59:54] local.INFO: Acknowledgment sent {"connection_id":173602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:00:25] local.INFO: TCP Data received {"connection_id":173602,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 06:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 06:00:25] local.INFO: Processing buffer {"connection_id":173602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 06:00:25] local.INFO: Packet analysis {"connection_id":173602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 06:00:25] local.INFO: Extracted packet for processing {"connection_id":173602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 06:00:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 06:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895457536001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:00:25] 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-09-06 06:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788654432000,"timestamp_ms":1788654432000,"timestamp_seconds":1788654432,"priority":1,"record_length":96,"hex_timestamp":"000001a0741caf00"} 
[2026-09-06 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-09-06 06: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-09-06 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-06 06:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 06:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:00: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-09-06 06:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895457536001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895457536001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:00:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:00:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895457536001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":173602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:00:25] local.INFO: GPS data processed {"connection_id":173602,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:00:25] local.INFO: Acknowledgment sent {"connection_id":173602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:00:49] local.INFO: TCP Data received {"connection_id":174918,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:00:49] local.INFO: Processing buffer {"connection_id":174918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:00:49] local.INFO: IMEI packet received {"connection_id":174918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":174918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:00:54] local.INFO: TCP Data received {"connection_id":174918,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:00:54] local.INFO: Processing buffer {"connection_id":174918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:00:54] local.INFO: IMEI packet received {"connection_id":174918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":174918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:00:55] local.INFO: TCP Data received {"connection_id":174918,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 06:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 06:00:55] local.INFO: Processing buffer {"connection_id":174918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 06:00:55] local.INFO: Packet analysis {"connection_id":174918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 06:00:55] local.INFO: Extracted packet for processing {"connection_id":174918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 06:00:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895457536001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 06:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788654432000,"timestamp_ms":1788654432000,"timestamp_seconds":1788654432,"priority":1,"record_length":96,"hex_timestamp":"000001a0741caf00"} 
[2026-09-06 06:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-06 06:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895457536001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895457536001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:00:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:00:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895457536001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":174918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:00:55] local.INFO: GPS data processed {"connection_id":174918,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:00:55] local.INFO: Acknowledgment sent {"connection_id":174918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:01:26] local.INFO: TCP Data received {"connection_id":174918,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 06:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 06:01:26] local.INFO: Processing buffer {"connection_id":174918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 06:01:26] local.INFO: Packet analysis {"connection_id":174918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 06:01:26] local.INFO: Extracted packet for processing {"connection_id":174918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 06:01:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 06:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895457536001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:01: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-09-06 06:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788654432000,"timestamp_ms":1788654432000,"timestamp_seconds":1788654432,"priority":1,"record_length":96,"hex_timestamp":"000001a0741caf00"} 
[2026-09-06 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-09-06 06:01: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-09-06 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-06 06:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 06:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895457536001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895457536001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:01:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:01:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895457536001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":174918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:01:26] local.INFO: GPS data processed {"connection_id":174918,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:01:26] local.INFO: Acknowledgment sent {"connection_id":174918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:01:49] local.INFO: TCP Data received {"connection_id":172464,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:01:49] local.INFO: Processing buffer {"connection_id":172464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:01:49] local.INFO: IMEI packet received {"connection_id":172464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":172464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:01:53] local.INFO: TCP Data received {"connection_id":172464,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:01:53] local.INFO: Processing buffer {"connection_id":172464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:01:53] local.INFO: IMEI packet received {"connection_id":172464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":172464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:01:54] local.INFO: TCP Data received {"connection_id":172464,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 06:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 06:01:54] local.INFO: Processing buffer {"connection_id":172464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 06:01:54] local.INFO: Packet analysis {"connection_id":172464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 06:01:54] local.INFO: Extracted packet for processing {"connection_id":172464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 06:01:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895457536001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:01:54] 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-09-06 06:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788654432000,"timestamp_ms":1788654432000,"timestamp_seconds":1788654432,"priority":1,"record_length":96,"hex_timestamp":"000001a0741caf00"} 
[2026-09-06 06:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-06 06:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:01: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-09-06 06:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895457536001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895457536001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:01:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:01:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895457536001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":172464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:01:54] local.INFO: GPS data processed {"connection_id":172464,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:01:54] local.INFO: Acknowledgment sent {"connection_id":172464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:02:12] local.INFO: TCP Data received {"connection_id":173604,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:02:12] local.INFO: Processing buffer {"connection_id":173604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:02:12] local.INFO: IMEI packet received {"connection_id":173604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 06:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":173604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:02:25] local.INFO: TCP Data received {"connection_id":172464,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 06:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 06:02:25] local.INFO: Processing buffer {"connection_id":172464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0741caf00012d532d00064970480006014728..."} 
[2026-09-06 06:02:25] local.INFO: Packet analysis {"connection_id":172464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 06:02:25] local.INFO: Extracted packet for processing {"connection_id":172464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0741c"} 
[2026-09-06 06:02:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895457536001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:02:25] 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-09-06 06:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788654432000,"timestamp_ms":1788654432000,"timestamp_seconds":1788654432,"priority":1,"record_length":96,"hex_timestamp":"000001a0741caf00"} 
[2026-09-06 06:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:02: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-09-06 06: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-09-06 06:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06: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-09-06 06:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895457536001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895457536001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:02:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:02:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895457536001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":172464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:02:25] local.INFO: GPS data processed {"connection_id":172464,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:02:25] local.INFO: Acknowledgment sent {"connection_id":172464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:02:48] local.INFO: TCP Data received {"connection_id":172465,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:02:48] local.INFO: Processing buffer {"connection_id":172465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:02:48] local.INFO: IMEI packet received {"connection_id":172465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":172465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:02:51] local.INFO: TCP Data received {"connection_id":172465,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:02:51] local.INFO: Processing buffer {"connection_id":172465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:02:51] local.INFO: IMEI packet received {"connection_id":172465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":172465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:02:54] local.INFO: TCP Data received {"connection_id":172465,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:02:54] local.INFO: Processing buffer {"connection_id":172465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:02:54] local.INFO: IMEI packet received {"connection_id":172465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":172465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:02:54] local.INFO: TCP Data received {"connection_id":172465,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:02:54] local.INFO: Processing buffer {"connection_id":172465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:02:54] local.INFO: Packet analysis {"connection_id":172465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:02:54] local.INFO: Extracted packet for processing {"connection_id":172465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:02:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 06:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895534592001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:02:54] 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-09-06 06:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788654733000,"timestamp_ms":1788654733000,"timestamp_seconds":1788654733,"priority":1,"record_length":96,"hex_timestamp":"000001a0742146c8"} 
[2026-09-06 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-09-06 06:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:02:54] 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-09-06 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-09-06 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-09-06 06:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:02: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-09-06 06:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895534592001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895534592001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:02:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:02:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895534592001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":172465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:02:54] local.INFO: GPS data processed {"connection_id":172465,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:02:54] local.INFO: Acknowledgment sent {"connection_id":172465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:03:26] local.INFO: TCP Data received {"connection_id":172465,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:03:26] local.INFO: Processing buffer {"connection_id":172465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:03:26] local.INFO: Packet analysis {"connection_id":172465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:03:26] local.INFO: Extracted packet for processing {"connection_id":172465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:03:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 06:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895534592001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:03: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-09-06 06:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788654733000,"timestamp_ms":1788654733000,"timestamp_seconds":1788654733,"priority":1,"record_length":96,"hex_timestamp":"000001a0742146c8"} 
[2026-09-06 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-09-06 06:03: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-09-06 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:03: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-09-06 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-09-06 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-09-06 06:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895534592001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895534592001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:03:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:03:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895534592001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":172465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:03:26] local.INFO: GPS data processed {"connection_id":172465,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:03:26] local.INFO: Acknowledgment sent {"connection_id":172465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:03:53] local.INFO: TCP Data received {"connection_id":174920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:03:53] local.INFO: Processing buffer {"connection_id":174920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:03:53] local.INFO: IMEI packet received {"connection_id":174920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":174920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:03:59] local.INFO: TCP Data received {"connection_id":174920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:03:59] local.INFO: Processing buffer {"connection_id":174920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:03:59] local.INFO: IMEI packet received {"connection_id":174920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":174920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:03:59] local.INFO: TCP Data received {"connection_id":174920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:03:59] local.INFO: Processing buffer {"connection_id":174920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:03:59] local.INFO: Packet analysis {"connection_id":174920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:03:59] local.INFO: Extracted packet for processing {"connection_id":174920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:03:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895534592001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:03:59] 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-09-06 06:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788654733000,"timestamp_ms":1788654733000,"timestamp_seconds":1788654733,"priority":1,"record_length":96,"hex_timestamp":"000001a0742146c8"} 
[2026-09-06 06:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895534592001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895534592001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:03:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:03:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895534592001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":174920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:04:00] local.INFO: GPS data processed {"connection_id":174920,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:04:00] local.INFO: Acknowledgment sent {"connection_id":174920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:04:04] local.INFO: TCP Data received {"connection_id":174920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:04:04] local.INFO: Processing buffer {"connection_id":174920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:04:04] local.INFO: Packet analysis {"connection_id":174920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:04:04] local.INFO: Extracted packet for processing {"connection_id":174920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:04:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895534592001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 06:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788654733000,"timestamp_ms":1788654733000,"timestamp_seconds":1788654733,"priority":1,"record_length":96,"hex_timestamp":"000001a0742146c8"} 
[2026-09-06 06:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895534592001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895534592001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:04:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:04:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895534592001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":174920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:04:04] local.INFO: GPS data processed {"connection_id":174920,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:04:04] local.INFO: Acknowledgment sent {"connection_id":174920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:04:49] local.INFO: TCP Data received {"connection_id":172466,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:04:49] local.INFO: Processing buffer {"connection_id":172466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:04:49] local.INFO: IMEI packet received {"connection_id":172466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":172466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:04:54] local.INFO: TCP Data received {"connection_id":172466,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:04:54] local.INFO: Processing buffer {"connection_id":172466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:04:54] local.INFO: IMEI packet received {"connection_id":172466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":172466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:04:55] local.INFO: TCP Data received {"connection_id":172466,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:04:55] local.INFO: Processing buffer {"connection_id":172466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:04:55] local.INFO: Packet analysis {"connection_id":172466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:04:55] local.INFO: Extracted packet for processing {"connection_id":172466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:04:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895534592001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 06:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788654733000,"timestamp_ms":1788654733000,"timestamp_seconds":1788654733,"priority":1,"record_length":96,"hex_timestamp":"000001a0742146c8"} 
[2026-09-06 06:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06: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":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:04:55] 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-09-06 06: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-09-06 06:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895534592001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895534592001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:04:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:04:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895534592001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":172466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:04:55] local.INFO: GPS data processed {"connection_id":172466,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:04:55] local.INFO: Acknowledgment sent {"connection_id":172466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:05:26] local.INFO: TCP Data received {"connection_id":172466,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:05:26] local.INFO: Processing buffer {"connection_id":172466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:05:26] local.INFO: Packet analysis {"connection_id":172466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:05:26] local.INFO: Extracted packet for processing {"connection_id":172466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:05:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895534592001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:05: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-09-06 06:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788654733000,"timestamp_ms":1788654733000,"timestamp_seconds":1788654733,"priority":1,"record_length":96,"hex_timestamp":"000001a0742146c8"} 
[2026-09-06 06:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:05: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-09-06 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:05: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-09-06 06: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-09-06 06:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:05: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-09-06 06:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895534592001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895534592001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:05:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:05:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895534592001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":172466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:05:26] local.INFO: GPS data processed {"connection_id":172466,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:05:26] local.INFO: Acknowledgment sent {"connection_id":172466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:05:49] local.INFO: TCP Data received {"connection_id":173605,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:05:49] local.INFO: Processing buffer {"connection_id":173605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:05:49] local.INFO: IMEI packet received {"connection_id":173605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":173605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:05:53] local.INFO: TCP Data received {"connection_id":173605,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:05:53] local.INFO: Processing buffer {"connection_id":173605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:05:53] local.INFO: IMEI packet received {"connection_id":173605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":173605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:05:54] local.INFO: TCP Data received {"connection_id":173605,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:05:54] local.INFO: Processing buffer {"connection_id":173605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:05:54] local.INFO: Packet analysis {"connection_id":173605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:05:54] local.INFO: Extracted packet for processing {"connection_id":173605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:05:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895534592001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:05:54] 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-09-06 06:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788654733000,"timestamp_ms":1788654733000,"timestamp_seconds":1788654733,"priority":1,"record_length":96,"hex_timestamp":"000001a0742146c8"} 
[2026-09-06 06:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:05:54] 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-09-06 06: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-09-06 06:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:05: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-09-06 06:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895534592001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895534592001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:05:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:05:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895534592001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":173605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:05:54] local.INFO: GPS data processed {"connection_id":173605,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:05:54] local.INFO: Acknowledgment sent {"connection_id":173605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:06:25] local.INFO: TCP Data received {"connection_id":173605,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:06:25] local.INFO: Processing buffer {"connection_id":173605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:06:25] local.INFO: Packet analysis {"connection_id":173605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:06:25] local.INFO: Extracted packet for processing {"connection_id":173605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:06:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895534592001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:06:25] 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-09-06 06:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788654733000,"timestamp_ms":1788654733000,"timestamp_seconds":1788654733,"priority":1,"record_length":96,"hex_timestamp":"000001a0742146c8"} 
[2026-09-06 06:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:06: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-09-06 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:06:25] 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-09-06 06: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-09-06 06:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:06: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-09-06 06:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895534592001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895534592001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:06:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:06:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895534592001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":173605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:06:25] local.INFO: GPS data processed {"connection_id":173605,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:06:25] local.INFO: Acknowledgment sent {"connection_id":173605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:06:49] local.INFO: TCP Data received {"connection_id":173607,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:06:49] local.INFO: Processing buffer {"connection_id":173607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:06:49] local.INFO: IMEI packet received {"connection_id":173607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":173607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:06:54] local.INFO: TCP Data received {"connection_id":173607,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:06:54] local.INFO: Processing buffer {"connection_id":173607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:06:54] local.INFO: IMEI packet received {"connection_id":173607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":173607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:06:54] local.INFO: TCP Data received {"connection_id":173607,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:06:54] local.INFO: Processing buffer {"connection_id":173607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:06:54] local.INFO: Packet analysis {"connection_id":173607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:06:54] local.INFO: Extracted packet for processing {"connection_id":173607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:06:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895534592001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:06:54] 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-09-06 06:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788654733000,"timestamp_ms":1788654733000,"timestamp_seconds":1788654733,"priority":1,"record_length":96,"hex_timestamp":"000001a0742146c8"} 
[2026-09-06 06:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:06:54] 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-09-06 06: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-09-06 06:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06: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-09-06 06:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895534592001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895534592001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:06:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:06:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895534592001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":173607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:06:54] local.INFO: GPS data processed {"connection_id":173607,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:06:54] local.INFO: Acknowledgment sent {"connection_id":173607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:07:25] local.INFO: TCP Data received {"connection_id":173607,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:07:25] local.INFO: Processing buffer {"connection_id":173607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742146c8012d532d00064970480006014729..."} 
[2026-09-06 06:07:25] local.INFO: Packet analysis {"connection_id":173607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:07:25] local.INFO: Extracted packet for processing {"connection_id":173607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07421"} 
[2026-09-06 06:07:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895534592001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:07:25] 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-09-06 06:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788654733000,"timestamp_ms":1788654733000,"timestamp_seconds":1788654733,"priority":1,"record_length":96,"hex_timestamp":"000001a0742146c8"} 
[2026-09-06 06:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:07:25] 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-09-06 06:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06: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-09-06 06:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895534592001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895534592001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:07:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:07:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895534592001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":173607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:07:26] local.INFO: GPS data processed {"connection_id":173607,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:07:26] local.INFO: Acknowledgment sent {"connection_id":173607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:07:37] local.INFO: TCP Data received {"connection_id":173608,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:07:37] local.INFO: Processing buffer {"connection_id":173608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:07:37] local.INFO: IMEI packet received {"connection_id":173608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 06:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":173608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:07:48] local.INFO: TCP Data received {"connection_id":172467,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:07:48] local.INFO: Processing buffer {"connection_id":172467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:07:48] local.INFO: IMEI packet received {"connection_id":172467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":172467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:07:52] local.INFO: TCP Data received {"connection_id":172467,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:07:52] local.INFO: Processing buffer {"connection_id":172467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:07:52] local.INFO: IMEI packet received {"connection_id":172467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":172467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:07:53] local.INFO: TCP Data received {"connection_id":172467,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:07:53] local.INFO: Processing buffer {"connection_id":172467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:07:53] local.INFO: IMEI packet received {"connection_id":172467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":172467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:07:54] local.INFO: TCP Data received {"connection_id":172467,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:07:54] local.INFO: Processing buffer {"connection_id":172467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:07:54] local.INFO: Packet analysis {"connection_id":172467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:07:54] local.INFO: Extracted packet for processing {"connection_id":172467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:07:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895611648001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:07:54] 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-09-06 06:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788655034000,"timestamp_ms":1788655034000,"timestamp_seconds":1788655034,"priority":1,"record_length":96,"hex_timestamp":"000001a07425de90"} 
[2026-09-06 06:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:07: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-09-06 06:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 06:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:07: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-09-06 06:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895611648001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895611648001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:07:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:07:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895611648001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":172467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:07:54] local.INFO: GPS data processed {"connection_id":172467,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:07:54] local.INFO: Acknowledgment sent {"connection_id":172467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:07:59] local.INFO: TCP Data received {"connection_id":172467,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:07:59] local.INFO: Processing buffer {"connection_id":172467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:07:59] local.INFO: Packet analysis {"connection_id":172467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:07:59] local.INFO: Extracted packet for processing {"connection_id":172467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:07:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895611648001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:07:59] 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-09-06 06:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788655034000,"timestamp_ms":1788655034000,"timestamp_seconds":1788655034,"priority":1,"record_length":96,"hex_timestamp":"000001a07425de90"} 
[2026-09-06 06:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:07: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-09-06 06:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 06:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895611648001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895611648001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:07:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:07:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895611648001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":172467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:07:59] local.INFO: GPS data processed {"connection_id":172467,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:07:59] local.INFO: Acknowledgment sent {"connection_id":172467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:08:30] local.INFO: TCP Data received {"connection_id":172467,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:08:30] local.INFO: Processing buffer {"connection_id":172467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:08:30] local.INFO: Packet analysis {"connection_id":172467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:08:30] local.INFO: Extracted packet for processing {"connection_id":172467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:08:30] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895611648001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:08:30] 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-09-06 06:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788655034000,"timestamp_ms":1788655034000,"timestamp_seconds":1788655034,"priority":1,"record_length":96,"hex_timestamp":"000001a07425de90"} 
[2026-09-06 06:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 06:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895611648001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895611648001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:08:30] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:08:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895611648001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":172467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:08:30] local.INFO: GPS data processed {"connection_id":172467,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:08:30] local.INFO: Acknowledgment sent {"connection_id":172467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:08:49] local.INFO: TCP Data received {"connection_id":173609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:08:49] local.INFO: Processing buffer {"connection_id":173609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:08:49] local.INFO: IMEI packet received {"connection_id":173609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":173609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:08:54] local.INFO: TCP Data received {"connection_id":173609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:08:54] local.INFO: Processing buffer {"connection_id":173609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:08:54] local.INFO: IMEI packet received {"connection_id":173609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":173609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:08:55] local.INFO: TCP Data received {"connection_id":173609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:08:55] local.INFO: Processing buffer {"connection_id":173609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:08:55] local.INFO: Packet analysis {"connection_id":173609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:08:55] local.INFO: Extracted packet for processing {"connection_id":173609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:08:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895611648001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 06:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788655034000,"timestamp_ms":1788655034000,"timestamp_seconds":1788655034,"priority":1,"record_length":96,"hex_timestamp":"000001a07425de90"} 
[2026-09-06 06:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 06:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895611648001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895611648001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:08:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:08:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895611648001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":173609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:08:55] local.INFO: GPS data processed {"connection_id":173609,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:08:55] local.INFO: Acknowledgment sent {"connection_id":173609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:09:26] local.INFO: TCP Data received {"connection_id":173609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:09:26] local.INFO: Processing buffer {"connection_id":173609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:09:26] local.INFO: Packet analysis {"connection_id":173609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:09:26] local.INFO: Extracted packet for processing {"connection_id":173609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:09:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895611648001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:09: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-09-06 06:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788655034000,"timestamp_ms":1788655034000,"timestamp_seconds":1788655034,"priority":1,"record_length":96,"hex_timestamp":"000001a07425de90"} 
[2026-09-06 06:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:09: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-09-06 06:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 06:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:09: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-09-06 06:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895611648001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895611648001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:09:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:09:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895611648001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":173609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:09:26] local.INFO: GPS data processed {"connection_id":173609,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:09:26] local.INFO: Acknowledgment sent {"connection_id":173609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:09:49] local.INFO: TCP Data received {"connection_id":172235,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:09:49] local.INFO: Processing buffer {"connection_id":172235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:09:49] local.INFO: IMEI packet received {"connection_id":172235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":172235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:09:53] local.INFO: TCP Data received {"connection_id":172235,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:09:53] local.INFO: Processing buffer {"connection_id":172235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:09:53] local.INFO: IMEI packet received {"connection_id":172235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":172235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:09:54] local.INFO: TCP Data received {"connection_id":172235,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:09:54] local.INFO: Processing buffer {"connection_id":172235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:09:54] local.INFO: Packet analysis {"connection_id":172235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:09:54] local.INFO: Extracted packet for processing {"connection_id":172235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:09:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895611648001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:09:54] 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-09-06 06:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788655034000,"timestamp_ms":1788655034000,"timestamp_seconds":1788655034,"priority":1,"record_length":96,"hex_timestamp":"000001a07425de90"} 
[2026-09-06 06:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:09: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-09-06 06: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 06:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:09: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-09-06 06:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895611648001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895611648001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:09:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:09:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895611648001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":172235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:09:54] local.INFO: GPS data processed {"connection_id":172235,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:09:54] local.INFO: Acknowledgment sent {"connection_id":172235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:10:25] local.INFO: TCP Data received {"connection_id":172235,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:10:25] local.INFO: Processing buffer {"connection_id":172235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:10:25] local.INFO: Packet analysis {"connection_id":172235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:10:25] local.INFO: Extracted packet for processing {"connection_id":172235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:10:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895611648001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:10:25] 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-09-06 06:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788655034000,"timestamp_ms":1788655034000,"timestamp_seconds":1788655034,"priority":1,"record_length":96,"hex_timestamp":"000001a07425de90"} 
[2026-09-06 06:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:10: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-09-06 06: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 06:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:10: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-09-06 06:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895611648001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895611648001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:10:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:10:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895611648001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":172235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:10:25] local.INFO: GPS data processed {"connection_id":172235,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:10:25] local.INFO: Acknowledgment sent {"connection_id":172235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:10:49] local.INFO: TCP Data received {"connection_id":172236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:10:49] local.INFO: Processing buffer {"connection_id":172236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:10:49] local.INFO: IMEI packet received {"connection_id":172236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":172236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:10:54] local.INFO: TCP Data received {"connection_id":172236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:10:54] local.INFO: Processing buffer {"connection_id":172236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:10:54] local.INFO: IMEI packet received {"connection_id":172236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":172236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:10:54] local.INFO: TCP Data received {"connection_id":172236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:10:54] local.INFO: Processing buffer {"connection_id":172236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:10:54] local.INFO: Packet analysis {"connection_id":172236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:10:54] local.INFO: Extracted packet for processing {"connection_id":172236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:10:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895611648001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:10:54] 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-09-06 06:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788655034000,"timestamp_ms":1788655034000,"timestamp_seconds":1788655034,"priority":1,"record_length":96,"hex_timestamp":"000001a07425de90"} 
[2026-09-06 06:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:10: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-09-06 06:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 06:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:10: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-09-06 06:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895611648001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895611648001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:10:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:10:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895611648001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":172236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:10:54] local.INFO: GPS data processed {"connection_id":172236,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:10:54] local.INFO: Acknowledgment sent {"connection_id":172236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:11:25] local.INFO: TCP Data received {"connection_id":172236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:11:25] local.INFO: Processing buffer {"connection_id":172236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:11:25] local.INFO: Packet analysis {"connection_id":172236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:11:25] local.INFO: Extracted packet for processing {"connection_id":172236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:11:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895611648001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:11:25] 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-09-06 06:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788655034000,"timestamp_ms":1788655034000,"timestamp_seconds":1788655034,"priority":1,"record_length":96,"hex_timestamp":"000001a07425de90"} 
[2026-09-06 06:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 06:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:11: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-09-06 06:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895611648001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895611648001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:11:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:11:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895611648001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":172236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:11:25] local.INFO: GPS data processed {"connection_id":172236,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:11:25] local.INFO: Acknowledgment sent {"connection_id":172236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:11:49] local.INFO: TCP Data received {"connection_id":173611,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:11:49] local.INFO: Processing buffer {"connection_id":173611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:11:49] local.INFO: IMEI packet received {"connection_id":173611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":173611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:11:53] local.INFO: TCP Data received {"connection_id":173611,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:11:53] local.INFO: Processing buffer {"connection_id":173611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:11:53] local.INFO: IMEI packet received {"connection_id":173611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":173611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:11:54] local.INFO: TCP Data received {"connection_id":173611,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:11:54] local.INFO: Processing buffer {"connection_id":173611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:11:54] local.INFO: Packet analysis {"connection_id":173611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:11:54] local.INFO: Extracted packet for processing {"connection_id":173611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:11:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895611648001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:11:54] 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-09-06 06:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788655034000,"timestamp_ms":1788655034000,"timestamp_seconds":1788655034,"priority":1,"record_length":96,"hex_timestamp":"000001a07425de90"} 
[2026-09-06 06:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:11: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-09-06 06: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 06:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:11: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-09-06 06:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895611648001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895611648001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:11:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:11:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895611648001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":173611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:11:54] local.INFO: GPS data processed {"connection_id":173611,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:11:54] local.INFO: Acknowledgment sent {"connection_id":173611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:12:25] local.INFO: TCP Data received {"connection_id":173611,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:12:25] local.INFO: Processing buffer {"connection_id":173611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07425de90012d532d00064970480006014729..."} 
[2026-09-06 06:12:25] local.INFO: Packet analysis {"connection_id":173611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:12:25] local.INFO: Extracted packet for processing {"connection_id":173611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07425"} 
[2026-09-06 06:12:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895611648001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:12:25] 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-09-06 06:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788655034000,"timestamp_ms":1788655034000,"timestamp_seconds":1788655034,"priority":1,"record_length":96,"hex_timestamp":"000001a07425de90"} 
[2026-09-06 06:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06: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-09-06 06:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 06:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:12: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-09-06 06:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895611648001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895611648001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:12:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:12:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895611648001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":173611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:12:25] local.INFO: GPS data processed {"connection_id":173611,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:12:25] local.INFO: Acknowledgment sent {"connection_id":173611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:12:48] local.INFO: TCP Data received {"connection_id":174922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:12:48] local.INFO: Processing buffer {"connection_id":174922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:12:48] local.INFO: IMEI packet received {"connection_id":174922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":174922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:12:53] local.INFO: TCP Data received {"connection_id":174922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:12:53] local.INFO: Processing buffer {"connection_id":174922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:12:53] local.INFO: IMEI packet received {"connection_id":174922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":174922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:12:54] local.INFO: TCP Data received {"connection_id":174922,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:12:54] local.INFO: Processing buffer {"connection_id":174922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:12:54] local.INFO: Packet analysis {"connection_id":174922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:12:54] local.INFO: Extracted packet for processing {"connection_id":174922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:12:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895688704001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:12:54] 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-09-06 06:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788655335000,"timestamp_ms":1788655335000,"timestamp_seconds":1788655335,"priority":1,"record_length":96,"hex_timestamp":"000001a0742a7658"} 
[2026-09-06 06:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:12: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-09-06 06: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:12:54] 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-09-06 06: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-09-06 06:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:12: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-09-06 06:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895688704001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895688704001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:12:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:12:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895688704001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":174922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:12:54] local.INFO: GPS data processed {"connection_id":174922,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:12:54] local.INFO: Acknowledgment sent {"connection_id":174922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:13:12] local.INFO: TCP Data received {"connection_id":173612,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:13:12] local.INFO: Processing buffer {"connection_id":173612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:13:12] local.INFO: IMEI packet received {"connection_id":173612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 06:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":173612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:13:25] local.INFO: TCP Data received {"connection_id":174922,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:13:25] local.INFO: Processing buffer {"connection_id":174922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:13:25] local.INFO: Packet analysis {"connection_id":174922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:13:25] local.INFO: Extracted packet for processing {"connection_id":174922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:13:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895688704001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:13:25] 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-09-06 06:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788655335000,"timestamp_ms":1788655335000,"timestamp_seconds":1788655335,"priority":1,"record_length":96,"hex_timestamp":"000001a0742a7658"} 
[2026-09-06 06:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:13: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-09-06 06:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:13:25] 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-09-06 06: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-09-06 06:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:13: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-09-06 06:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895688704001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895688704001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:13:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:13:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895688704001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":174922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:13:25] local.INFO: GPS data processed {"connection_id":174922,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:13:25] local.INFO: Acknowledgment sent {"connection_id":174922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:13:54] local.INFO: TCP Data received {"connection_id":173613,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:13:54] local.INFO: Processing buffer {"connection_id":173613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:13:54] local.INFO: IMEI packet received {"connection_id":173613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":173613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:13:59] local.INFO: TCP Data received {"connection_id":173613,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:13:59] local.INFO: Processing buffer {"connection_id":173613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:13:59] local.INFO: IMEI packet received {"connection_id":173613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":173613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:13:59] local.INFO: TCP Data received {"connection_id":173613,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:13:59] local.INFO: Processing buffer {"connection_id":173613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:13:59] local.INFO: Packet analysis {"connection_id":173613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:13:59] local.INFO: Extracted packet for processing {"connection_id":173613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:13:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895688704001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:13:59] 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-09-06 06:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788655335000,"timestamp_ms":1788655335000,"timestamp_seconds":1788655335,"priority":1,"record_length":96,"hex_timestamp":"000001a0742a7658"} 
[2026-09-06 06:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:13: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-09-06 06:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:13:59] 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-09-06 06:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895688704001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895688704001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:13:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:13:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895688704001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":173613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:13:59] local.INFO: GPS data processed {"connection_id":173613,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:13:59] local.INFO: Acknowledgment sent {"connection_id":173613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:14:04] local.INFO: TCP Data received {"connection_id":173613,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:14:04] local.INFO: Processing buffer {"connection_id":173613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:14:04] local.INFO: Packet analysis {"connection_id":173613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:14:04] local.INFO: Extracted packet for processing {"connection_id":173613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:14:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895688704001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 06:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788655335000,"timestamp_ms":1788655335000,"timestamp_seconds":1788655335,"priority":1,"record_length":96,"hex_timestamp":"000001a0742a7658"} 
[2026-09-06 06:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:14: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-09-06 06:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:14:04] 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-09-06 06:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895688704001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895688704001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:14:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:14:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895688704001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":173613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:14:04] local.INFO: GPS data processed {"connection_id":173613,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:14:04] local.INFO: Acknowledgment sent {"connection_id":173613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:14:49] local.INFO: TCP Data received {"connection_id":172470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:14:49] local.INFO: Processing buffer {"connection_id":172470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:14:49] local.INFO: IMEI packet received {"connection_id":172470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":172470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:14:54] local.INFO: TCP Data received {"connection_id":172470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:14:54] local.INFO: Processing buffer {"connection_id":172470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:14:54] local.INFO: IMEI packet received {"connection_id":172470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":172470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:14:54] local.INFO: TCP Data received {"connection_id":172470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:14:54] local.INFO: Processing buffer {"connection_id":172470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:14:54] local.INFO: Packet analysis {"connection_id":172470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:14:54] local.INFO: Extracted packet for processing {"connection_id":172470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:14:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895688704001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:14:54] 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-09-06 06:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788655335000,"timestamp_ms":1788655335000,"timestamp_seconds":1788655335,"priority":1,"record_length":96,"hex_timestamp":"000001a0742a7658"} 
[2026-09-06 06:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:14: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-09-06 06: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:14:54] 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-09-06 06: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-09-06 06:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:14: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-09-06 06:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895688704001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895688704001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:14:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:14:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895688704001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":172470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:14:55] local.INFO: GPS data processed {"connection_id":172470,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:14:55] local.INFO: Acknowledgment sent {"connection_id":172470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:15:26] local.INFO: TCP Data received {"connection_id":172470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:15:26] local.INFO: Processing buffer {"connection_id":172470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:15:26] local.INFO: Packet analysis {"connection_id":172470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:15:26] local.INFO: Extracted packet for processing {"connection_id":172470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:15:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895688704001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:15: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-09-06 06:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788655335000,"timestamp_ms":1788655335000,"timestamp_seconds":1788655335,"priority":1,"record_length":96,"hex_timestamp":"000001a0742a7658"} 
[2026-09-06 06:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:15: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-09-06 06: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:15:26] 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-09-06 06: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-09-06 06:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:15: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-09-06 06:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895688704001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895688704001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:15:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:15:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895688704001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":172470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:15:26] local.INFO: GPS data processed {"connection_id":172470,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:15:26] local.INFO: Acknowledgment sent {"connection_id":172470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:15:49] local.INFO: TCP Data received {"connection_id":173614,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:15:49] local.INFO: Processing buffer {"connection_id":173614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:15:49] local.INFO: IMEI packet received {"connection_id":173614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":173614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:15:53] local.INFO: TCP Data received {"connection_id":173614,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:15:53] local.INFO: Processing buffer {"connection_id":173614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:15:53] local.INFO: IMEI packet received {"connection_id":173614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":173614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:15:54] local.INFO: TCP Data received {"connection_id":173614,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:15:54] local.INFO: Processing buffer {"connection_id":173614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:15:54] local.INFO: Packet analysis {"connection_id":173614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:15:54] local.INFO: Extracted packet for processing {"connection_id":173614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:15:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895688704001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:15:54] 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-09-06 06:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788655335000,"timestamp_ms":1788655335000,"timestamp_seconds":1788655335,"priority":1,"record_length":96,"hex_timestamp":"000001a0742a7658"} 
[2026-09-06 06:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:15: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-09-06 06: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:15:54] 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-09-06 06: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-09-06 06:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06: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-09-06 06:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895688704001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895688704001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:15:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:15:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895688704001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":173614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:15:54] local.INFO: GPS data processed {"connection_id":173614,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:15:54] local.INFO: Acknowledgment sent {"connection_id":173614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:16:25] local.INFO: TCP Data received {"connection_id":173614,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:16:25] local.INFO: Processing buffer {"connection_id":173614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:16:25] local.INFO: Packet analysis {"connection_id":173614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:16:25] local.INFO: Extracted packet for processing {"connection_id":173614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:16:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895688704001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:16:25] 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-09-06 06:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788655335000,"timestamp_ms":1788655335000,"timestamp_seconds":1788655335,"priority":1,"record_length":96,"hex_timestamp":"000001a0742a7658"} 
[2026-09-06 06:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:16: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-09-06 06: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:16:25] 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-09-06 06: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-09-06 06:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06: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-09-06 06:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895688704001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895688704001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:16:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:16:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895688704001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":173614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:16:25] local.INFO: GPS data processed {"connection_id":173614,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:16:25] local.INFO: Acknowledgment sent {"connection_id":173614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:16:48] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:16:48] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:16:48] local.INFO: IMEI packet received {"connection_id":174924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":174924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:16:54] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:16:54] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:16:54] local.INFO: IMEI packet received {"connection_id":174924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":174924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:16:54] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:16:54] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:16:54] local.INFO: Packet analysis {"connection_id":174924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:16:54] local.INFO: Extracted packet for processing {"connection_id":174924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:16:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895688704001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:16:54] 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-09-06 06:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788655335000,"timestamp_ms":1788655335000,"timestamp_seconds":1788655335,"priority":1,"record_length":96,"hex_timestamp":"000001a0742a7658"} 
[2026-09-06 06:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:16: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-09-06 06: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:16:54] 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-09-06 06: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-09-06 06:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:16: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-09-06 06:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895688704001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895688704001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:16:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:16:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895688704001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":174924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:16:54] local.INFO: GPS data processed {"connection_id":174924,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:16:54] local.INFO: Acknowledgment sent {"connection_id":174924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:17:25] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:17:25] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742a7658012d532d00064970480006014728..."} 
[2026-09-06 06:17:25] local.INFO: Packet analysis {"connection_id":174924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:17:25] local.INFO: Extracted packet for processing {"connection_id":174924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742a"} 
[2026-09-06 06:17:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895688704001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:17:25] 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-09-06 06:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788655335000,"timestamp_ms":1788655335000,"timestamp_seconds":1788655335,"priority":1,"record_length":96,"hex_timestamp":"000001a0742a7658"} 
[2026-09-06 06:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:17: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-09-06 06: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:17:25] 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-09-06 06: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-09-06 06:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:17: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-09-06 06:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895688704001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895688704001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:17:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:17:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895688704001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":174924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:17:25] local.INFO: GPS data processed {"connection_id":174924,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:17:25] local.INFO: Acknowledgment sent {"connection_id":174924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:17:48] local.INFO: TCP Data received {"connection_id":172472,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:17:48] local.INFO: Processing buffer {"connection_id":172472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:17:48] local.INFO: IMEI packet received {"connection_id":172472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":172472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:17:53] local.INFO: TCP Data received {"connection_id":172472,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:17:53] local.INFO: Processing buffer {"connection_id":172472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:17:53] local.INFO: IMEI packet received {"connection_id":172472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":172472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:17:54] local.INFO: TCP Data received {"connection_id":172472,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:17:54] local.INFO: Processing buffer {"connection_id":172472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:17:54] local.INFO: Packet analysis {"connection_id":172472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:17:54] local.INFO: Extracted packet for processing {"connection_id":172472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:17:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895765760001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:17:54] 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-09-06 06:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788655636000,"timestamp_ms":1788655636000,"timestamp_seconds":1788655636,"priority":1,"record_length":96,"hex_timestamp":"000001a0742f0e20"} 
[2026-09-06 06:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:17: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-09-06 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:17:54] 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-09-06 06: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-09-06 06:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:17: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-09-06 06:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895765760001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895765760001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:17:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:17:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895765760001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":172472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:17:54] local.INFO: GPS data processed {"connection_id":172472,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:17:54] local.INFO: Acknowledgment sent {"connection_id":172472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:18:25] local.INFO: TCP Data received {"connection_id":172472,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:18:25] local.INFO: Processing buffer {"connection_id":172472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:18:25] local.INFO: Packet analysis {"connection_id":172472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:18:25] local.INFO: Extracted packet for processing {"connection_id":172472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:18:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 06:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895765760001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:18:25] 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-09-06 06:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788655636000,"timestamp_ms":1788655636000,"timestamp_seconds":1788655636,"priority":1,"record_length":96,"hex_timestamp":"000001a0742f0e20"} 
[2026-09-06 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-09-06 06:18: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-09-06 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":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:18:25] 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-09-06 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-09-06 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-09-06 06:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06: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-09-06 06:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895765760001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895765760001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:18:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:18:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895765760001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":172472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:18:25] local.INFO: GPS data processed {"connection_id":172472,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:18:25] local.INFO: Acknowledgment sent {"connection_id":172472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:18:38] local.INFO: TCP Data received {"connection_id":172473,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:18:38] local.INFO: Processing buffer {"connection_id":172473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:18:38] local.INFO: IMEI packet received {"connection_id":172473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 06:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":172473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:18:49] local.INFO: TCP Data received {"connection_id":173615,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:18:49] local.INFO: Processing buffer {"connection_id":173615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:18:49] local.INFO: IMEI packet received {"connection_id":173615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":173615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:18:54] local.INFO: TCP Data received {"connection_id":173615,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:18:54] local.INFO: Processing buffer {"connection_id":173615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:18:54] local.INFO: IMEI packet received {"connection_id":173615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":173615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:18:54] local.INFO: TCP Data received {"connection_id":173615,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:18:54] local.INFO: Processing buffer {"connection_id":173615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:18:54] local.INFO: Packet analysis {"connection_id":173615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:18:54] local.INFO: Extracted packet for processing {"connection_id":173615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:18:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895765760001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:18:54] 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-09-06 06:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788655636000,"timestamp_ms":1788655636000,"timestamp_seconds":1788655636,"priority":1,"record_length":96,"hex_timestamp":"000001a0742f0e20"} 
[2026-09-06 06:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:18: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-09-06 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:18:54] 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-09-06 06: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-09-06 06:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:18: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-09-06 06:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895765760001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895765760001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:18:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:18:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895765760001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":173615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:18:54] local.INFO: GPS data processed {"connection_id":173615,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:18:54] local.INFO: Acknowledgment sent {"connection_id":173615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:19:12] local.INFO: TCP Data received {"connection_id":173616,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:19:12] local.INFO: Processing buffer {"connection_id":173616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:19:12] local.INFO: IMEI packet received {"connection_id":173616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 06:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":173616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:19:25] local.INFO: TCP Data received {"connection_id":173615,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:19:25] local.INFO: Processing buffer {"connection_id":173615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:19:25] local.INFO: Packet analysis {"connection_id":173615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:19:25] local.INFO: Extracted packet for processing {"connection_id":173615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:19:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895765760001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:19:25] 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-09-06 06:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788655636000,"timestamp_ms":1788655636000,"timestamp_seconds":1788655636,"priority":1,"record_length":96,"hex_timestamp":"000001a0742f0e20"} 
[2026-09-06 06:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:19: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-09-06 06:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:19:25] 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-09-06 06:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:19: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-09-06 06:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895765760001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895765760001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:19:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:19:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895765760001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":173615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:19:25] local.INFO: GPS data processed {"connection_id":173615,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:19:25] local.INFO: Acknowledgment sent {"connection_id":173615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:19:48] local.INFO: TCP Data received {"connection_id":174926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:19:48] local.INFO: Processing buffer {"connection_id":174926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:19:48] local.INFO: IMEI packet received {"connection_id":174926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":174926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:19:53] local.INFO: TCP Data received {"connection_id":174926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:19:53] local.INFO: Processing buffer {"connection_id":174926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:19:53] local.INFO: IMEI packet received {"connection_id":174926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":174926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:19:54] local.INFO: TCP Data received {"connection_id":174926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:19:54] local.INFO: Processing buffer {"connection_id":174926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:19:54] local.INFO: Packet analysis {"connection_id":174926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:19:54] local.INFO: Extracted packet for processing {"connection_id":174926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:19:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895765760001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:19:54] 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-09-06 06:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788655636000,"timestamp_ms":1788655636000,"timestamp_seconds":1788655636,"priority":1,"record_length":96,"hex_timestamp":"000001a0742f0e20"} 
[2026-09-06 06:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:19: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-09-06 06: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":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:19:54] 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-09-06 06: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-09-06 06:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:19: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-09-06 06:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895765760001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895765760001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:19:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:19:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895765760001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":174926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:19:54] local.INFO: GPS data processed {"connection_id":174926,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:19:54] local.INFO: Acknowledgment sent {"connection_id":174926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:20:25] local.INFO: TCP Data received {"connection_id":174926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:20:25] local.INFO: Processing buffer {"connection_id":174926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:20:25] local.INFO: Packet analysis {"connection_id":174926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:20:25] local.INFO: Extracted packet for processing {"connection_id":174926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:20:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 06:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895765760001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:20:25] 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-09-06 06:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788655636000,"timestamp_ms":1788655636000,"timestamp_seconds":1788655636,"priority":1,"record_length":96,"hex_timestamp":"000001a0742f0e20"} 
[2026-09-06 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-09-06 06:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:20:25] 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-09-06 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-09-06 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-09-06 06:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:20: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-09-06 06:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895765760001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895765760001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:20:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:20:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895765760001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":174926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:20:25] local.INFO: GPS data processed {"connection_id":174926,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:20:25] local.INFO: Acknowledgment sent {"connection_id":174926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:20:49] local.INFO: TCP Data received {"connection_id":172238,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:20:49] local.INFO: Processing buffer {"connection_id":172238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:20:49] local.INFO: IMEI packet received {"connection_id":172238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":172238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:20:54] local.INFO: TCP Data received {"connection_id":172238,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:20:54] local.INFO: Processing buffer {"connection_id":172238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:20:54] local.INFO: IMEI packet received {"connection_id":172238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":172238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:20:54] local.INFO: TCP Data received {"connection_id":172238,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:20:54] local.INFO: Processing buffer {"connection_id":172238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:20:54] local.INFO: Packet analysis {"connection_id":172238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:20:54] local.INFO: Extracted packet for processing {"connection_id":172238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:20:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895765760001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:20:54] 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-09-06 06:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788655636000,"timestamp_ms":1788655636000,"timestamp_seconds":1788655636,"priority":1,"record_length":96,"hex_timestamp":"000001a0742f0e20"} 
[2026-09-06 06:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06: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-09-06 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:20:54] 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-09-06 06: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-09-06 06:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:20: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-09-06 06:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895765760001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895765760001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:20:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:20:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895765760001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":172238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:20:54] local.INFO: GPS data processed {"connection_id":172238,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:20:54] local.INFO: Acknowledgment sent {"connection_id":172238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:21:26] local.INFO: TCP Data received {"connection_id":172238,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:21:26] local.INFO: Processing buffer {"connection_id":172238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:21:26] local.INFO: Packet analysis {"connection_id":172238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:21:26] local.INFO: Extracted packet for processing {"connection_id":172238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:21:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895765760001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:21: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-09-06 06:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788655636000,"timestamp_ms":1788655636000,"timestamp_seconds":1788655636,"priority":1,"record_length":96,"hex_timestamp":"000001a0742f0e20"} 
[2026-09-06 06:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:21: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-09-06 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:21:26] 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-09-06 06: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-09-06 06:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:21: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-09-06 06:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895765760001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895765760001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:21:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:21:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895765760001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":172238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:21:26] local.INFO: GPS data processed {"connection_id":172238,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:21:26] local.INFO: Acknowledgment sent {"connection_id":172238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:21:48] local.INFO: TCP Data received {"connection_id":172475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:21:48] local.INFO: Processing buffer {"connection_id":172475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:21:48] local.INFO: IMEI packet received {"connection_id":172475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":172475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:21:53] local.INFO: TCP Data received {"connection_id":172475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:21:53] local.INFO: Processing buffer {"connection_id":172475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:21:53] local.INFO: IMEI packet received {"connection_id":172475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":172475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:21:56] local.INFO: TCP Data received {"connection_id":172475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:21:56] local.INFO: Processing buffer {"connection_id":172475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:21:56] local.INFO: Packet analysis {"connection_id":172475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:21:56] local.INFO: Extracted packet for processing {"connection_id":172475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:21:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895765760001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:21:56] 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-09-06 06:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788655636000,"timestamp_ms":1788655636000,"timestamp_seconds":1788655636,"priority":1,"record_length":96,"hex_timestamp":"000001a0742f0e20"} 
[2026-09-06 06:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:21: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-09-06 06: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":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895765760001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895765760001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:21:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:21:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895765760001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":172475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:21:56] local.INFO: GPS data processed {"connection_id":172475,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:21:56] local.INFO: Acknowledgment sent {"connection_id":172475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:22:27] local.INFO: TCP Data received {"connection_id":172475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:22:27] local.INFO: Processing buffer {"connection_id":172475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:22:27] local.INFO: Packet analysis {"connection_id":172475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:22:27] local.INFO: Extracted packet for processing {"connection_id":172475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:22:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895765760001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:22:27] 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-09-06 06:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788655636000,"timestamp_ms":1788655636000,"timestamp_seconds":1788655636,"priority":1,"record_length":96,"hex_timestamp":"000001a0742f0e20"} 
[2026-09-06 06:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:22: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-09-06 06:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895765760001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895765760001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:22:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:22:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895765760001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":172475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:22:27] local.INFO: GPS data processed {"connection_id":172475,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:22:27] local.INFO: Acknowledgment sent {"connection_id":172475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:22:48] local.INFO: TCP Data received {"connection_id":172239,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:22:48] local.INFO: Processing buffer {"connection_id":172239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:22:48] local.INFO: IMEI packet received {"connection_id":172239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":172239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:22:54] local.INFO: TCP Data received {"connection_id":172239,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:22:54] local.INFO: Processing buffer {"connection_id":172239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:22:54] local.INFO: IMEI packet received {"connection_id":172239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":172239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:22:54] local.INFO: TCP Data received {"connection_id":172239,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:22:54] local.INFO: Processing buffer {"connection_id":172239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0742f0e20012d532d00064970480006014727..."} 
[2026-09-06 06:22:54] local.INFO: Packet analysis {"connection_id":172239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:22:54] local.INFO: Extracted packet for processing {"connection_id":172239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0742f"} 
[2026-09-06 06:22:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895765760001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:22:54] 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-09-06 06:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788655636000,"timestamp_ms":1788655636000,"timestamp_seconds":1788655636,"priority":1,"record_length":96,"hex_timestamp":"000001a0742f0e20"} 
[2026-09-06 06:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:22: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-09-06 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:22:54] 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-09-06 06: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-09-06 06:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:22: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-09-06 06:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895765760001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895765760001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:22:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:22:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895765760001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":172239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:22:54] local.INFO: GPS data processed {"connection_id":172239,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:22:54] local.INFO: Acknowledgment sent {"connection_id":172239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:23:25] local.INFO: TCP Data received {"connection_id":172239,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:23:25] local.INFO: Processing buffer {"connection_id":172239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:23:25] local.INFO: Packet analysis {"connection_id":172239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:23:25] local.INFO: Extracted packet for processing {"connection_id":172239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:23:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895842816001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:23:25] 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-09-06 06:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788655937000,"timestamp_ms":1788655937000,"timestamp_seconds":1788655937,"priority":1,"record_length":96,"hex_timestamp":"000001a07433a5e8"} 
[2026-09-06 06:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:23: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-09-06 06: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":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:23:25] 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-09-06 06: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-09-06 06:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:23: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-09-06 06:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895842816001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895842816001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:23:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:23:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895842816001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":172239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:23:26] local.INFO: GPS data processed {"connection_id":172239,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:23:26] local.INFO: Acknowledgment sent {"connection_id":172239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:23:53] local.INFO: TCP Data received {"connection_id":172240,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:23:53] local.INFO: Processing buffer {"connection_id":172240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:23:53] local.INFO: IMEI packet received {"connection_id":172240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":172240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:23:58] local.INFO: TCP Data received {"connection_id":172240,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:23:58] local.INFO: Processing buffer {"connection_id":172240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:23:58] local.INFO: IMEI packet received {"connection_id":172240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":172240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:23:59] local.INFO: TCP Data received {"connection_id":172240,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:23:59] local.INFO: Processing buffer {"connection_id":172240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:23:59] local.INFO: Packet analysis {"connection_id":172240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:23:59] local.INFO: Extracted packet for processing {"connection_id":172240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:23:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895842816001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:23:59] 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-09-06 06:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788655937000,"timestamp_ms":1788655937000,"timestamp_seconds":1788655937,"priority":1,"record_length":96,"hex_timestamp":"000001a07433a5e8"} 
[2026-09-06 06:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:23: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-09-06 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895842816001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895842816001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:23:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:23:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895842816001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":172240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:23:59] local.INFO: GPS data processed {"connection_id":172240,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:23:59] local.INFO: Acknowledgment sent {"connection_id":172240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:24:30] local.INFO: TCP Data received {"connection_id":172240,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:24:30] local.INFO: Processing buffer {"connection_id":172240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:24:30] local.INFO: Packet analysis {"connection_id":172240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:24:30] local.INFO: Extracted packet for processing {"connection_id":172240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:24:30] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895842816001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:24:30] 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-09-06 06:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788655937000,"timestamp_ms":1788655937000,"timestamp_seconds":1788655937,"priority":1,"record_length":96,"hex_timestamp":"000001a07433a5e8"} 
[2026-09-06 06:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895842816001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895842816001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:24:30] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:24:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895842816001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":172240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:24:30] local.INFO: GPS data processed {"connection_id":172240,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:24:30] local.INFO: Acknowledgment sent {"connection_id":172240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:24:38] local.INFO: TCP Data received {"connection_id":172477,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:24:38] local.INFO: Processing buffer {"connection_id":172477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:24:38] local.INFO: IMEI packet received {"connection_id":172477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 06:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":172477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:24:49] local.INFO: TCP Data received {"connection_id":172478,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:24:49] local.INFO: Processing buffer {"connection_id":172478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:24:49] local.INFO: IMEI packet received {"connection_id":172478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":172478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:24:54] local.INFO: TCP Data received {"connection_id":172478,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:24:54] local.INFO: Processing buffer {"connection_id":172478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:24:54] local.INFO: IMEI packet received {"connection_id":172478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":172478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:24:55] local.INFO: TCP Data received {"connection_id":172478,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:24:55] local.INFO: Processing buffer {"connection_id":172478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:24:55] local.INFO: Packet analysis {"connection_id":172478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:24:55] local.INFO: Extracted packet for processing {"connection_id":172478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:24:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895842816001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 06:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788655937000,"timestamp_ms":1788655937000,"timestamp_seconds":1788655937,"priority":1,"record_length":96,"hex_timestamp":"000001a07433a5e8"} 
[2026-09-06 06:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:24:55] 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-09-06 06: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-09-06 06:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895842816001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895842816001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:24:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:24:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895842816001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":172478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:24:55] local.INFO: GPS data processed {"connection_id":172478,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:24:55] local.INFO: Acknowledgment sent {"connection_id":172478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:25:26] local.INFO: TCP Data received {"connection_id":172478,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:25:26] local.INFO: Processing buffer {"connection_id":172478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:25:26] local.INFO: Packet analysis {"connection_id":172478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:25:26] local.INFO: Extracted packet for processing {"connection_id":172478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:25:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895842816001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:25: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-09-06 06:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788655937000,"timestamp_ms":1788655937000,"timestamp_seconds":1788655937,"priority":1,"record_length":96,"hex_timestamp":"000001a07433a5e8"} 
[2026-09-06 06:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:25: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-09-06 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:25: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-09-06 06: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-09-06 06:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:25: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-09-06 06:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895842816001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895842816001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:25:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:25:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895842816001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":172478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:25:26] local.INFO: GPS data processed {"connection_id":172478,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:25:26] local.INFO: Acknowledgment sent {"connection_id":172478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:25:48] local.INFO: TCP Data received {"connection_id":172242,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:25:48] local.INFO: Processing buffer {"connection_id":172242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:25:48] local.INFO: IMEI packet received {"connection_id":172242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":172242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:25:53] local.INFO: TCP Data received {"connection_id":172242,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:25:53] local.INFO: Processing buffer {"connection_id":172242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:25:53] local.INFO: IMEI packet received {"connection_id":172242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":172242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:25:54] local.INFO: TCP Data received {"connection_id":172242,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:25:54] local.INFO: Processing buffer {"connection_id":172242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:25:54] local.INFO: Packet analysis {"connection_id":172242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:25:54] local.INFO: Extracted packet for processing {"connection_id":172242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:25:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895842816001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:25:54] 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-09-06 06:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788655937000,"timestamp_ms":1788655937000,"timestamp_seconds":1788655937,"priority":1,"record_length":96,"hex_timestamp":"000001a07433a5e8"} 
[2026-09-06 06:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:25: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-09-06 06:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:25:54] 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-09-06 06:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:25: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-09-06 06:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895842816001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895842816001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:25:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:25:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895842816001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":172242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:25:54] local.INFO: GPS data processed {"connection_id":172242,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:25:54] local.INFO: Acknowledgment sent {"connection_id":172242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:26:25] local.INFO: TCP Data received {"connection_id":172242,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:26:25] local.INFO: Processing buffer {"connection_id":172242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:26:25] local.INFO: Packet analysis {"connection_id":172242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:26:25] local.INFO: Extracted packet for processing {"connection_id":172242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:26:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895842816001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:26:25] 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-09-06 06:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788655937000,"timestamp_ms":1788655937000,"timestamp_seconds":1788655937,"priority":1,"record_length":96,"hex_timestamp":"000001a07433a5e8"} 
[2026-09-06 06:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:26: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-09-06 06:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:26:25] 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-09-06 06:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:26: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-09-06 06:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895842816001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895842816001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:26:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:26:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895842816001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":172242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:26:25] local.INFO: GPS data processed {"connection_id":172242,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:26:25] local.INFO: Acknowledgment sent {"connection_id":172242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:26:49] local.INFO: TCP Data received {"connection_id":173619,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:26:49] local.INFO: Processing buffer {"connection_id":173619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:26:49] local.INFO: IMEI packet received {"connection_id":173619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":173619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:26:54] local.INFO: TCP Data received {"connection_id":173619,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:26:54] local.INFO: Processing buffer {"connection_id":173619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:26:54] local.INFO: IMEI packet received {"connection_id":173619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":173619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:26:54] local.INFO: TCP Data received {"connection_id":173619,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:26:54] local.INFO: Processing buffer {"connection_id":173619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:26:54] local.INFO: Packet analysis {"connection_id":173619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:26:54] local.INFO: Extracted packet for processing {"connection_id":173619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:26:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895842816001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:26:54] 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-09-06 06:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788655937000,"timestamp_ms":1788655937000,"timestamp_seconds":1788655937,"priority":1,"record_length":96,"hex_timestamp":"000001a07433a5e8"} 
[2026-09-06 06:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:26: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-09-06 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:26:54] 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-09-06 06: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-09-06 06:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:26: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-09-06 06:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895842816001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895842816001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:26:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:26:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895842816001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":173619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:26:54] local.INFO: GPS data processed {"connection_id":173619,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:26:54] local.INFO: Acknowledgment sent {"connection_id":173619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:27:26] local.INFO: TCP Data received {"connection_id":173619,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:27:26] local.INFO: Processing buffer {"connection_id":173619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:27:26] local.INFO: Packet analysis {"connection_id":173619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:27:26] local.INFO: Extracted packet for processing {"connection_id":173619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:27:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895842816001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:27: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-09-06 06:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788655937000,"timestamp_ms":1788655937000,"timestamp_seconds":1788655937,"priority":1,"record_length":96,"hex_timestamp":"000001a07433a5e8"} 
[2026-09-06 06:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:27: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-09-06 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:27: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-09-06 06: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-09-06 06:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:27: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-09-06 06:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895842816001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895842816001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:27:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:27:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895842816001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":173619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:27:26] local.INFO: GPS data processed {"connection_id":173619,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:27:26] local.INFO: Acknowledgment sent {"connection_id":173619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:27:48] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:27:48] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:27:48] local.INFO: IMEI packet received {"connection_id":174928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":174928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:27:53] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:27:53] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:27:53] local.INFO: IMEI packet received {"connection_id":174928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":174928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:27:54] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:27:54] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07433a5e8012d532d00064970480006014728..."} 
[2026-09-06 06:27:54] local.INFO: Packet analysis {"connection_id":174928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:27:54] local.INFO: Extracted packet for processing {"connection_id":174928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07433"} 
[2026-09-06 06:27:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895842816001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:27:54] 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-09-06 06:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788655937000,"timestamp_ms":1788655937000,"timestamp_seconds":1788655937,"priority":1,"record_length":96,"hex_timestamp":"000001a07433a5e8"} 
[2026-09-06 06:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:27: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-09-06 06:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 06:27:54] 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-09-06 06:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:27: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-09-06 06:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895842816001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895842816001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:27:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:27:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895842816001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":174928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:27:54] local.INFO: GPS data processed {"connection_id":174928,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:27:54] local.INFO: Acknowledgment sent {"connection_id":174928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:28:25] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:28:25] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:28:25] local.INFO: Packet analysis {"connection_id":174928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:28:25] local.INFO: Extracted packet for processing {"connection_id":174928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:28:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895919872001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:28:25] 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-09-06 06:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788656238000,"timestamp_ms":1788656238000,"timestamp_seconds":1788656238,"priority":1,"record_length":96,"hex_timestamp":"000001a074383db0"} 
[2026-09-06 06:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:28: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-09-06 06: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:28:25] 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-09-06 06: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-09-06 06:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:28: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-09-06 06:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895919872001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895919872001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:28:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:28:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895919872001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":174928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:28:25] local.INFO: GPS data processed {"connection_id":174928,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:28:25] local.INFO: Acknowledgment sent {"connection_id":174928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:28:54] local.INFO: TCP Data received {"connection_id":174929,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:28:54] local.INFO: Processing buffer {"connection_id":174929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:28:54] local.INFO: IMEI packet received {"connection_id":174929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":174929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:28:59] local.INFO: TCP Data received {"connection_id":174929,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:28:59] local.INFO: Processing buffer {"connection_id":174929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:28:59] local.INFO: IMEI packet received {"connection_id":174929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":174929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:28:59] local.INFO: TCP Data received {"connection_id":174929,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:28:59] local.INFO: Processing buffer {"connection_id":174929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:28:59] local.INFO: Packet analysis {"connection_id":174929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:28:59] local.INFO: Extracted packet for processing {"connection_id":174929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:28:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895919872001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:28:59] 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-09-06 06:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788656238000,"timestamp_ms":1788656238000,"timestamp_seconds":1788656238,"priority":1,"record_length":96,"hex_timestamp":"000001a074383db0"} 
[2026-09-06 06:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:28: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-09-06 06:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:28:59] 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-09-06 06:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895919872001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895919872001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:28:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:28:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895919872001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":174929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:28:59] local.INFO: GPS data processed {"connection_id":174929,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:28:59] local.INFO: Acknowledgment sent {"connection_id":174929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:29:04] local.INFO: TCP Data received {"connection_id":174929,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:29:04] local.INFO: Processing buffer {"connection_id":174929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:29:04] local.INFO: Packet analysis {"connection_id":174929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:29:04] local.INFO: Extracted packet for processing {"connection_id":174929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:29:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895919872001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 06:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788656238000,"timestamp_ms":1788656238000,"timestamp_seconds":1788656238,"priority":1,"record_length":96,"hex_timestamp":"000001a074383db0"} 
[2026-09-06 06:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:29: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-09-06 06:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:29:04] 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-09-06 06:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895919872001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895919872001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:29:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:29:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895919872001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":174929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:29:04] local.INFO: GPS data processed {"connection_id":174929,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:29:04] local.INFO: Acknowledgment sent {"connection_id":174929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:29:49] local.INFO: TCP Data received {"connection_id":172479,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:29:49] local.INFO: Processing buffer {"connection_id":172479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:29:49] local.INFO: IMEI packet received {"connection_id":172479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":172479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:29:53] local.INFO: TCP Data received {"connection_id":172479,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:29:53] local.INFO: Processing buffer {"connection_id":172479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:29:53] local.INFO: IMEI packet received {"connection_id":172479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":172479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:29:54] local.INFO: TCP Data received {"connection_id":172479,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:29:54] local.INFO: Processing buffer {"connection_id":172479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:29:54] local.INFO: Packet analysis {"connection_id":172479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:29:54] local.INFO: Extracted packet for processing {"connection_id":172479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:29:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895919872001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:29:54] 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-09-06 06:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788656238000,"timestamp_ms":1788656238000,"timestamp_seconds":1788656238,"priority":1,"record_length":96,"hex_timestamp":"000001a074383db0"} 
[2026-09-06 06:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06: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-09-06 06: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:29:54] 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-09-06 06: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-09-06 06:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:29: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-09-06 06:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895919872001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895919872001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:29:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:29:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895919872001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":172479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:29:54] local.INFO: GPS data processed {"connection_id":172479,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:29:54] local.INFO: Acknowledgment sent {"connection_id":172479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:30:12] local.INFO: TCP Data received {"connection_id":172480,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:30:12] local.INFO: Processing buffer {"connection_id":172480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:30:12] local.INFO: IMEI packet received {"connection_id":172480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 06:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":172480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:30:25] local.INFO: TCP Data received {"connection_id":172479,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:30:25] local.INFO: Processing buffer {"connection_id":172479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:30:25] local.INFO: Packet analysis {"connection_id":172479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:30:25] local.INFO: Extracted packet for processing {"connection_id":172479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:30:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895919872001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:30:25] 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-09-06 06:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788656238000,"timestamp_ms":1788656238000,"timestamp_seconds":1788656238,"priority":1,"record_length":96,"hex_timestamp":"000001a074383db0"} 
[2026-09-06 06:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:30: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-09-06 06: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:30:25] 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-09-06 06: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-09-06 06:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:30: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-09-06 06:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895919872001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895919872001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:30:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:30:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895919872001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":172479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:30:25] local.INFO: GPS data processed {"connection_id":172479,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:30:25] local.INFO: Acknowledgment sent {"connection_id":172479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:30:54] local.INFO: TCP Data received {"connection_id":173622,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:30:54] local.INFO: Processing buffer {"connection_id":173622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:30:54] local.INFO: IMEI packet received {"connection_id":173622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":173622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:30:59] local.INFO: TCP Data received {"connection_id":173622,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:30:59] local.INFO: Processing buffer {"connection_id":173622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:30:59] local.INFO: IMEI packet received {"connection_id":173622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":173622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:30:59] local.INFO: TCP Data received {"connection_id":173622,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:30:59] local.INFO: Processing buffer {"connection_id":173622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:30:59] local.INFO: Packet analysis {"connection_id":173622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:30:59] local.INFO: Extracted packet for processing {"connection_id":173622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:30:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895919872001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:30:59] 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-09-06 06:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788656238000,"timestamp_ms":1788656238000,"timestamp_seconds":1788656238,"priority":1,"record_length":96,"hex_timestamp":"000001a074383db0"} 
[2026-09-06 06:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:30: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-09-06 06:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:30:59] 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-09-06 06:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895919872001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895919872001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:30:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:30:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895919872001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":173622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:30:59] local.INFO: GPS data processed {"connection_id":173622,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:30:59] local.INFO: Acknowledgment sent {"connection_id":173622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:31:30] local.INFO: TCP Data received {"connection_id":173622,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:31:30] local.INFO: Processing buffer {"connection_id":173622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:31:30] local.INFO: Packet analysis {"connection_id":173622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:31:30] local.INFO: Extracted packet for processing {"connection_id":173622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:31:30] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895919872001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:31:30] 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-09-06 06:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788656238000,"timestamp_ms":1788656238000,"timestamp_seconds":1788656238,"priority":1,"record_length":96,"hex_timestamp":"000001a074383db0"} 
[2026-09-06 06:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:31:30] 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-09-06 06:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895919872001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895919872001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:31:30] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:31:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895919872001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":173622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:31:30] local.INFO: GPS data processed {"connection_id":173622,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:31:30] local.INFO: Acknowledgment sent {"connection_id":173622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:31:49] local.INFO: TCP Data received {"connection_id":174930,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:31:49] local.INFO: Processing buffer {"connection_id":174930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:31:49] local.INFO: IMEI packet received {"connection_id":174930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":174930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:31:54] local.INFO: TCP Data received {"connection_id":174930,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:31:54] local.INFO: Processing buffer {"connection_id":174930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:31:54] local.INFO: IMEI packet received {"connection_id":174930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":174930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:31:54] local.INFO: TCP Data received {"connection_id":174930,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:31:54] local.INFO: Processing buffer {"connection_id":174930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:31:54] local.INFO: Packet analysis {"connection_id":174930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:31:54] local.INFO: Extracted packet for processing {"connection_id":174930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:31:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895919872001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:31:54] 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-09-06 06:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788656238000,"timestamp_ms":1788656238000,"timestamp_seconds":1788656238,"priority":1,"record_length":96,"hex_timestamp":"000001a074383db0"} 
[2026-09-06 06:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:31: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-09-06 06:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:31:54] 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-09-06 06:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:31: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-09-06 06:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895919872001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895919872001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:31:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:31:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895919872001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":174930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:31:54] local.INFO: GPS data processed {"connection_id":174930,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:31:54] local.INFO: Acknowledgment sent {"connection_id":174930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:32:26] local.INFO: TCP Data received {"connection_id":174930,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:32:26] local.INFO: Processing buffer {"connection_id":174930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:32:26] local.INFO: Packet analysis {"connection_id":174930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:32:26] local.INFO: Extracted packet for processing {"connection_id":174930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:32:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895919872001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:32: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-09-06 06:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788656238000,"timestamp_ms":1788656238000,"timestamp_seconds":1788656238,"priority":1,"record_length":96,"hex_timestamp":"000001a074383db0"} 
[2026-09-06 06:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:32: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-09-06 06: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":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:32:26] 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-09-06 06: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-09-06 06:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:32: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-09-06 06:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895919872001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895919872001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:32:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:32:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895919872001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":174930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:32:26] local.INFO: GPS data processed {"connection_id":174930,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:32:26] local.INFO: Acknowledgment sent {"connection_id":174930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:32:49] local.INFO: TCP Data received {"connection_id":174931,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:32:49] local.INFO: Processing buffer {"connection_id":174931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:32:49] local.INFO: IMEI packet received {"connection_id":174931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":174931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:32:54] local.INFO: TCP Data received {"connection_id":174931,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:32:54] local.INFO: Processing buffer {"connection_id":174931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:32:54] local.INFO: IMEI packet received {"connection_id":174931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":174931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:32:54] local.INFO: TCP Data received {"connection_id":174931,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:32:54] local.INFO: Processing buffer {"connection_id":174931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074383db0012d532d0006497048000601472a..."} 
[2026-09-06 06:32:54] local.INFO: Packet analysis {"connection_id":174931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:32:54] local.INFO: Extracted packet for processing {"connection_id":174931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07438"} 
[2026-09-06 06:32:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895919872001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:32:54] 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-09-06 06:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788656238000,"timestamp_ms":1788656238000,"timestamp_seconds":1788656238,"priority":1,"record_length":96,"hex_timestamp":"000001a074383db0"} 
[2026-09-06 06:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:32: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-09-06 06:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 06:32:54] 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-09-06 06:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:32: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-09-06 06:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895919872001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895919872001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:32:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:32:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895919872001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":174931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:32:54] local.INFO: GPS data processed {"connection_id":174931,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:32:54] local.INFO: Acknowledgment sent {"connection_id":174931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:33:26] local.INFO: TCP Data received {"connection_id":174931,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:33:26] local.INFO: Processing buffer {"connection_id":174931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:33:26] local.INFO: Packet analysis {"connection_id":174931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:33:26] local.INFO: Extracted packet for processing {"connection_id":174931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:33:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895996928001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06: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-09-06 06:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788656539000,"timestamp_ms":1788656539000,"timestamp_seconds":1788656539,"priority":1,"record_length":96,"hex_timestamp":"000001a0743cd578"} 
[2026-09-06 06:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:33: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-09-06 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:33:26] 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-09-06 06: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-09-06 06:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:33: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-09-06 06:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895996928001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895996928001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:33:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:33:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895996928001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":174931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:33:26] local.INFO: GPS data processed {"connection_id":174931,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:33:26] local.INFO: Acknowledgment sent {"connection_id":174931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:33:54] local.INFO: TCP Data received {"connection_id":172246,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:33:54] local.INFO: Processing buffer {"connection_id":172246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:33:54] local.INFO: IMEI packet received {"connection_id":172246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":172246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:33:59] local.INFO: TCP Data received {"connection_id":172246,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:33:59] local.INFO: Processing buffer {"connection_id":172246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:33:59] local.INFO: IMEI packet received {"connection_id":172246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":172246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:34:00] local.INFO: TCP Data received {"connection_id":172246,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:34:00] local.INFO: Processing buffer {"connection_id":172246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:34:00] local.INFO: Packet analysis {"connection_id":172246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:34:00] local.INFO: Extracted packet for processing {"connection_id":172246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:34:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895996928001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:34:00] 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-09-06 06:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788656539000,"timestamp_ms":1788656539000,"timestamp_seconds":1788656539,"priority":1,"record_length":96,"hex_timestamp":"000001a0743cd578"} 
[2026-09-06 06:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895996928001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895996928001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:34:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:34:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895996928001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":172246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:34:00] local.INFO: GPS data processed {"connection_id":172246,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:34:00] local.INFO: Acknowledgment sent {"connection_id":172246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:34:31] local.INFO: TCP Data received {"connection_id":172246,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:34:31] local.INFO: Processing buffer {"connection_id":172246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:34:31] local.INFO: Packet analysis {"connection_id":172246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:34:31] local.INFO: Extracted packet for processing {"connection_id":172246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:34:31] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895996928001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:34:31] 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-09-06 06:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788656539000,"timestamp_ms":1788656539000,"timestamp_seconds":1788656539,"priority":1,"record_length":96,"hex_timestamp":"000001a0743cd578"} 
[2026-09-06 06:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:34:31] 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-09-06 06:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895996928001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895996928001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:34:31] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:34:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895996928001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":172246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:34:31] local.INFO: GPS data processed {"connection_id":172246,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:34:31] local.INFO: Acknowledgment sent {"connection_id":172246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:34:49] local.INFO: TCP Data received {"connection_id":173624,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:34:49] local.INFO: Processing buffer {"connection_id":173624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:34:49] local.INFO: IMEI packet received {"connection_id":173624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":173624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:34:54] local.INFO: TCP Data received {"connection_id":173624,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:34:54] local.INFO: Processing buffer {"connection_id":173624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:34:54] local.INFO: IMEI packet received {"connection_id":173624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":173624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:34:55] local.INFO: TCP Data received {"connection_id":173624,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:34:55] local.INFO: Processing buffer {"connection_id":173624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:34:55] local.INFO: Packet analysis {"connection_id":173624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:34:55] local.INFO: Extracted packet for processing {"connection_id":173624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:34:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895996928001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 06:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788656539000,"timestamp_ms":1788656539000,"timestamp_seconds":1788656539,"priority":1,"record_length":96,"hex_timestamp":"000001a0743cd578"} 
[2026-09-06 06:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:34:55] 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-09-06 06:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:34: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-09-06 06:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895996928001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895996928001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:34:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:34:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895996928001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":173624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:34:55] local.INFO: GPS data processed {"connection_id":173624,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:34:55] local.INFO: Acknowledgment sent {"connection_id":173624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:35:27] local.INFO: TCP Data received {"connection_id":173624,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:35:27] local.INFO: Processing buffer {"connection_id":173624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:35:27] local.INFO: Packet analysis {"connection_id":173624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:35:27] local.INFO: Extracted packet for processing {"connection_id":173624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:35:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895996928001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:35:27] 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-09-06 06:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788656539000,"timestamp_ms":1788656539000,"timestamp_seconds":1788656539,"priority":1,"record_length":96,"hex_timestamp":"000001a0743cd578"} 
[2026-09-06 06:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:35: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-09-06 06:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895996928001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895996928001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:35:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:35:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895996928001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":173624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:35:27] local.INFO: GPS data processed {"connection_id":173624,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:35:27] local.INFO: Acknowledgment sent {"connection_id":173624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:35:37] local.INFO: TCP Data received {"connection_id":174932,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:35:37] local.INFO: Processing buffer {"connection_id":174932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:35:37] local.INFO: IMEI packet received {"connection_id":174932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 06:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":174932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:35:49] local.INFO: TCP Data received {"connection_id":172247,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:35:49] local.INFO: Processing buffer {"connection_id":172247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:35:49] local.INFO: IMEI packet received {"connection_id":172247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":172247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:35:54] local.INFO: TCP Data received {"connection_id":172247,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:35:54] local.INFO: Processing buffer {"connection_id":172247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:35:54] local.INFO: IMEI packet received {"connection_id":172247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":172247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:35:54] local.INFO: TCP Data received {"connection_id":172247,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:35:54] local.INFO: Processing buffer {"connection_id":172247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:35:54] local.INFO: Packet analysis {"connection_id":172247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:35:54] local.INFO: Extracted packet for processing {"connection_id":172247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:35:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895996928001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:35:54] 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-09-06 06:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788656539000,"timestamp_ms":1788656539000,"timestamp_seconds":1788656539,"priority":1,"record_length":96,"hex_timestamp":"000001a0743cd578"} 
[2026-09-06 06:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:35: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-09-06 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:35:54] 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-09-06 06: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-09-06 06:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895996928001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895996928001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:35:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:35:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895996928001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":172247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:35:54] local.INFO: GPS data processed {"connection_id":172247,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:35:54] local.INFO: Acknowledgment sent {"connection_id":172247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:36:26] local.INFO: TCP Data received {"connection_id":172247,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:36:26] local.INFO: Processing buffer {"connection_id":172247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:36:26] local.INFO: Packet analysis {"connection_id":172247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:36:26] local.INFO: Extracted packet for processing {"connection_id":172247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:36:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895996928001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:36: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-09-06 06:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788656539000,"timestamp_ms":1788656539000,"timestamp_seconds":1788656539,"priority":1,"record_length":96,"hex_timestamp":"000001a0743cd578"} 
[2026-09-06 06:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:36: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-09-06 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:36:26] 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-09-06 06: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-09-06 06:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:36: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-09-06 06:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895996928001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895996928001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:36:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:36:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895996928001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":172247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:36:26] local.INFO: GPS data processed {"connection_id":172247,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:36:26] local.INFO: Acknowledgment sent {"connection_id":172247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:36:49] local.INFO: TCP Data received {"connection_id":172248,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:36:49] local.INFO: Processing buffer {"connection_id":172248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:36:49] local.INFO: IMEI packet received {"connection_id":172248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":172248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:36:54] local.INFO: TCP Data received {"connection_id":172248,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:36:54] local.INFO: Processing buffer {"connection_id":172248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:36:54] local.INFO: IMEI packet received {"connection_id":172248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":172248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:36:54] local.INFO: TCP Data received {"connection_id":172248,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:36:54] local.INFO: Processing buffer {"connection_id":172248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:36:54] local.INFO: Packet analysis {"connection_id":172248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:36:54] local.INFO: Extracted packet for processing {"connection_id":172248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:36:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895996928001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:36:54] 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-09-06 06:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788656539000,"timestamp_ms":1788656539000,"timestamp_seconds":1788656539,"priority":1,"record_length":96,"hex_timestamp":"000001a0743cd578"} 
[2026-09-06 06:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:36: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-09-06 06: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":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:36:54] 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-09-06 06: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-09-06 06:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:36: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-09-06 06:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895996928001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895996928001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:36:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:36:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895996928001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":172248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:36:54] local.INFO: GPS data processed {"connection_id":172248,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:36:54] local.INFO: Acknowledgment sent {"connection_id":172248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:37:26] local.INFO: TCP Data received {"connection_id":172248,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:37:26] local.INFO: Processing buffer {"connection_id":172248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:37:26] local.INFO: Packet analysis {"connection_id":172248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:37:26] local.INFO: Extracted packet for processing {"connection_id":172248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:37:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895996928001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:37: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-09-06 06:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788656539000,"timestamp_ms":1788656539000,"timestamp_seconds":1788656539,"priority":1,"record_length":96,"hex_timestamp":"000001a0743cd578"} 
[2026-09-06 06:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:37: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-09-06 06:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:37:26] 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-09-06 06:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:37: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-09-06 06:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895996928001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895996928001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:37:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:37:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895996928001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":172248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:37:26] local.INFO: GPS data processed {"connection_id":172248,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:37:26] local.INFO: Acknowledgment sent {"connection_id":172248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:37:48] local.INFO: TCP Data received {"connection_id":173625,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:37:48] local.INFO: Processing buffer {"connection_id":173625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:37:48] local.INFO: IMEI packet received {"connection_id":173625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":173625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:37:53] local.INFO: TCP Data received {"connection_id":173625,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:37:53] local.INFO: Processing buffer {"connection_id":173625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:37:53] local.INFO: IMEI packet received {"connection_id":173625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":173625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:37:54] local.INFO: TCP Data received {"connection_id":173625,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:37:54] local.INFO: Processing buffer {"connection_id":173625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0743cd578012d532d0006497048000601472a..."} 
[2026-09-06 06:37:54] local.INFO: Packet analysis {"connection_id":173625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:37:54] local.INFO: Extracted packet for processing {"connection_id":173625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0743c"} 
[2026-09-06 06:37:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457895996928001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:37:54] 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-09-06 06:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788656539000,"timestamp_ms":1788656539000,"timestamp_seconds":1788656539,"priority":1,"record_length":96,"hex_timestamp":"000001a0743cd578"} 
[2026-09-06 06:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:37: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-09-06 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:37:54] 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-09-06 06: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-09-06 06:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:37: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-09-06 06:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457895996928001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457895996928001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:37:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:37:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457895996928001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":173625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:37:54] local.INFO: GPS data processed {"connection_id":173625,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:37:54] local.INFO: Acknowledgment sent {"connection_id":173625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:38:25] local.INFO: TCP Data received {"connection_id":173625,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:38:25] local.INFO: Processing buffer {"connection_id":173625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:38:25] local.INFO: Packet analysis {"connection_id":173625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:38:25] local.INFO: Extracted packet for processing {"connection_id":173625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:38:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896073984001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:38:25] 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-09-06 06:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788656840000,"timestamp_ms":1788656840000,"timestamp_seconds":1788656840,"priority":1,"record_length":96,"hex_timestamp":"000001a074416d40"} 
[2026-09-06 06:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:38: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-09-06 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:38:25] 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-09-06 06: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-09-06 06:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:38: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-09-06 06:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896073984001,"66":25104,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896073984001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:38:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:38:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896073984001,"power":25104,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":173625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:38:25] local.INFO: GPS data processed {"connection_id":173625,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:38:25] local.INFO: Acknowledgment sent {"connection_id":173625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:38:49] local.INFO: TCP Data received {"connection_id":174935,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:38:49] local.INFO: Processing buffer {"connection_id":174935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:38:49] local.INFO: IMEI packet received {"connection_id":174935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":174935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:38:54] local.INFO: TCP Data received {"connection_id":174935,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:38:54] local.INFO: Processing buffer {"connection_id":174935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:38:54] local.INFO: IMEI packet received {"connection_id":174935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":174935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:38:55] local.INFO: TCP Data received {"connection_id":174935,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:38:55] local.INFO: Processing buffer {"connection_id":174935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:38:55] local.INFO: Packet analysis {"connection_id":174935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:38:55] local.INFO: Extracted packet for processing {"connection_id":174935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:38:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896073984001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 06:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788656840000,"timestamp_ms":1788656840000,"timestamp_seconds":1788656840,"priority":1,"record_length":96,"hex_timestamp":"000001a074416d40"} 
[2026-09-06 06:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:38:55] 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-09-06 06:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:38: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-09-06 06:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896073984001,"66":25104,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896073984001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:38:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:38:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896073984001,"power":25104,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":174935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:38:55] local.INFO: GPS data processed {"connection_id":174935,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:38:55] local.INFO: Acknowledgment sent {"connection_id":174935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:39:26] local.INFO: TCP Data received {"connection_id":174935,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:39:26] local.INFO: Processing buffer {"connection_id":174935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:39:26] local.INFO: Packet analysis {"connection_id":174935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:39:26] local.INFO: Extracted packet for processing {"connection_id":174935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:39:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896073984001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:39: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-09-06 06:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788656840000,"timestamp_ms":1788656840000,"timestamp_seconds":1788656840,"priority":1,"record_length":96,"hex_timestamp":"000001a074416d40"} 
[2026-09-06 06:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:39: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-09-06 06: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":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:39:26] 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-09-06 06: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-09-06 06:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:39: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-09-06 06:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896073984001,"66":25104,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896073984001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:39:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:39:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896073984001,"power":25104,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":174935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:39:26] local.INFO: GPS data processed {"connection_id":174935,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:39:26] local.INFO: Acknowledgment sent {"connection_id":174935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:39:49] local.INFO: TCP Data received {"connection_id":173626,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:39:49] local.INFO: Processing buffer {"connection_id":173626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:39:49] local.INFO: IMEI packet received {"connection_id":173626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":173626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:39:54] local.INFO: TCP Data received {"connection_id":173626,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:39:54] local.INFO: Processing buffer {"connection_id":173626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:39:54] local.INFO: IMEI packet received {"connection_id":173626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":173626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:39:54] local.INFO: TCP Data received {"connection_id":173626,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:39:54] local.INFO: Processing buffer {"connection_id":173626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:39:54] local.INFO: Packet analysis {"connection_id":173626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:39:54] local.INFO: Extracted packet for processing {"connection_id":173626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:39:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896073984001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:39:54] 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-09-06 06:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788656840000,"timestamp_ms":1788656840000,"timestamp_seconds":1788656840,"priority":1,"record_length":96,"hex_timestamp":"000001a074416d40"} 
[2026-09-06 06:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:39: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-09-06 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:39:54] 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-09-06 06: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-09-06 06:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:39: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-09-06 06:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896073984001,"66":25104,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896073984001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:39:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:39:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896073984001,"power":25104,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":173626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:39:54] local.INFO: GPS data processed {"connection_id":173626,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:39:54] local.INFO: Acknowledgment sent {"connection_id":173626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:40:26] local.INFO: TCP Data received {"connection_id":173626,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:40:26] local.INFO: Processing buffer {"connection_id":173626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:40:26] local.INFO: Packet analysis {"connection_id":173626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:40:26] local.INFO: Extracted packet for processing {"connection_id":173626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:40:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896073984001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:40: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-09-06 06:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788656840000,"timestamp_ms":1788656840000,"timestamp_seconds":1788656840,"priority":1,"record_length":96,"hex_timestamp":"000001a074416d40"} 
[2026-09-06 06:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:40: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-09-06 06:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:40:26] 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-09-06 06:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:40: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-09-06 06:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896073984001,"66":25104,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896073984001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:40:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:40:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896073984001,"power":25104,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":173626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:40:26] local.INFO: GPS data processed {"connection_id":173626,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:40:26] local.INFO: Acknowledgment sent {"connection_id":173626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:40:48] local.INFO: TCP Data received {"connection_id":174937,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:40:48] local.INFO: Processing buffer {"connection_id":174937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:40:48] local.INFO: IMEI packet received {"connection_id":174937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":174937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:40:54] local.INFO: TCP Data received {"connection_id":174937,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:40:54] local.INFO: Processing buffer {"connection_id":174937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:40:54] local.INFO: IMEI packet received {"connection_id":174937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":174937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:40:54] local.INFO: TCP Data received {"connection_id":174937,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:40:54] local.INFO: Processing buffer {"connection_id":174937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:40:54] local.INFO: Packet analysis {"connection_id":174937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:40:54] local.INFO: Extracted packet for processing {"connection_id":174937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:40:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896073984001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:40:54] 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-09-06 06:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788656840000,"timestamp_ms":1788656840000,"timestamp_seconds":1788656840,"priority":1,"record_length":96,"hex_timestamp":"000001a074416d40"} 
[2026-09-06 06:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:40: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-09-06 06: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":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:40:54] 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-09-06 06: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-09-06 06:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896073984001,"66":25104,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896073984001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:40:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:40:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896073984001,"power":25104,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":174937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:40:54] local.INFO: GPS data processed {"connection_id":174937,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:40:54] local.INFO: Acknowledgment sent {"connection_id":174937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:41:18] local.INFO: TCP Data received {"connection_id":174938,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:41:18] local.INFO: Processing buffer {"connection_id":174938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:41:18] local.INFO: IMEI packet received {"connection_id":174938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 06:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":174938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:41:25] local.INFO: TCP Data received {"connection_id":174937,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:41:25] local.INFO: Processing buffer {"connection_id":174937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:41:25] local.INFO: Packet analysis {"connection_id":174937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:41:25] local.INFO: Extracted packet for processing {"connection_id":174937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:41:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896073984001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:41:25] 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-09-06 06:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788656840000,"timestamp_ms":1788656840000,"timestamp_seconds":1788656840,"priority":1,"record_length":96,"hex_timestamp":"000001a074416d40"} 
[2026-09-06 06:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:41: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-09-06 06: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":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:41:25] 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-09-06 06: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-09-06 06:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896073984001,"66":25104,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896073984001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:41:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:41:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896073984001,"power":25104,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":174937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:41:25] local.INFO: GPS data processed {"connection_id":174937,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:41:25] local.INFO: Acknowledgment sent {"connection_id":174937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:41:48] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:41:48] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:41:48] local.INFO: IMEI packet received {"connection_id":174939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":174939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:41:54] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:41:54] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:41:54] local.INFO: IMEI packet received {"connection_id":174939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":174939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:41:54] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:41:54] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:41:54] local.INFO: Packet analysis {"connection_id":174939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:41:54] local.INFO: Extracted packet for processing {"connection_id":174939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:41:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896073984001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:41:54] 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-09-06 06:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788656840000,"timestamp_ms":1788656840000,"timestamp_seconds":1788656840,"priority":1,"record_length":96,"hex_timestamp":"000001a074416d40"} 
[2026-09-06 06:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:41: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-09-06 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:41:54] 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-09-06 06: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-09-06 06:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:41: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-09-06 06:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896073984001,"66":25104,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896073984001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:41:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:41:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896073984001,"power":25104,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":174939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:41:54] local.INFO: GPS data processed {"connection_id":174939,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:41:54] local.INFO: Acknowledgment sent {"connection_id":174939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:42:26] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:42:26] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074416d40012d532d0006497048000601472c..."} 
[2026-09-06 06:42:26] local.INFO: Packet analysis {"connection_id":174939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:42:26] local.INFO: Extracted packet for processing {"connection_id":174939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07441"} 
[2026-09-06 06:42:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896073984001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:42: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-09-06 06:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788656840000,"timestamp_ms":1788656840000,"timestamp_seconds":1788656840,"priority":1,"record_length":96,"hex_timestamp":"000001a074416d40"} 
[2026-09-06 06:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:42: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-09-06 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:42:26] 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-09-06 06: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-09-06 06:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:42: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-09-06 06:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896073984001,"66":25104,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896073984001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:42:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:42:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896073984001,"power":25104,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":174939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:42:26] local.INFO: GPS data processed {"connection_id":174939,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:42:26] local.INFO: Acknowledgment sent {"connection_id":174939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:42:54] local.INFO: TCP Data received {"connection_id":173628,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:42:54] local.INFO: Processing buffer {"connection_id":173628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:42:54] local.INFO: IMEI packet received {"connection_id":173628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":173628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:42:59] local.INFO: TCP Data received {"connection_id":173628,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:42:59] local.INFO: Processing buffer {"connection_id":173628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:42:59] local.INFO: IMEI packet received {"connection_id":173628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":173628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:43:00] local.INFO: TCP Data received {"connection_id":173628,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:43:00] local.INFO: Processing buffer {"connection_id":173628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:43:00] local.INFO: Packet analysis {"connection_id":173628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:43:00] local.INFO: Extracted packet for processing {"connection_id":173628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:43:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896151040001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:43:00] 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-09-06 06:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788657141000,"timestamp_ms":1788657141000,"timestamp_seconds":1788657141,"priority":1,"record_length":96,"hex_timestamp":"000001a074460508"} 
[2026-09-06 06:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-06 06:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896151040001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896151040001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:43:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:43:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896151040001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":173628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:43:00] local.INFO: GPS data processed {"connection_id":173628,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:43:00] local.INFO: Acknowledgment sent {"connection_id":173628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:43:00] local.INFO: TCP Data received {"connection_id":173628,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:43:00] local.INFO: Processing buffer {"connection_id":173628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:43:00] local.INFO: Packet analysis {"connection_id":173628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:43:00] local.INFO: Extracted packet for processing {"connection_id":173628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:43:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896151040001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:43:00] 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-09-06 06:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788657141000,"timestamp_ms":1788657141000,"timestamp_seconds":1788657141,"priority":1,"record_length":96,"hex_timestamp":"000001a074460508"} 
[2026-09-06 06:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-06 06:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896151040001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896151040001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:43:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:43:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896151040001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":173628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:43:00] local.INFO: GPS data processed {"connection_id":173628,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:43:00] local.INFO: Acknowledgment sent {"connection_id":173628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:43:32] local.INFO: TCP Data received {"connection_id":173628,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:43:32] local.INFO: Processing buffer {"connection_id":173628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:43:32] local.INFO: Packet analysis {"connection_id":173628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:43:32] local.INFO: Extracted packet for processing {"connection_id":173628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:43:32] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896151040001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:43:32] 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-09-06 06:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788657141000,"timestamp_ms":1788657141000,"timestamp_seconds":1788657141,"priority":1,"record_length":96,"hex_timestamp":"000001a074460508"} 
[2026-09-06 06:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-06 06:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896151040001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896151040001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:43:32] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:43:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896151040001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":173628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:43:32] local.INFO: GPS data processed {"connection_id":173628,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:43:32] local.INFO: Acknowledgment sent {"connection_id":173628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:43:49] local.INFO: TCP Data received {"connection_id":172250,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:43:49] local.INFO: Processing buffer {"connection_id":172250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:43:49] local.INFO: IMEI packet received {"connection_id":172250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":172250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:43:54] local.INFO: TCP Data received {"connection_id":172250,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:43:54] local.INFO: Processing buffer {"connection_id":172250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:43:54] local.INFO: IMEI packet received {"connection_id":172250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":172250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:43:54] local.INFO: TCP Data received {"connection_id":172250,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:43:54] local.INFO: Processing buffer {"connection_id":172250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:43:54] local.INFO: Packet analysis {"connection_id":172250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:43:54] local.INFO: Extracted packet for processing {"connection_id":172250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:43:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896151040001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:43:54] 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-09-06 06:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788657141000,"timestamp_ms":1788657141000,"timestamp_seconds":1788657141,"priority":1,"record_length":96,"hex_timestamp":"000001a074460508"} 
[2026-09-06 06:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:43: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-09-06 06:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-06 06:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:43: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-09-06 06:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896151040001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896151040001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:43:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:43:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896151040001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":172250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:43:54] local.INFO: GPS data processed {"connection_id":172250,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:43:54] local.INFO: Acknowledgment sent {"connection_id":172250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:44:25] local.INFO: TCP Data received {"connection_id":172250,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:44:25] local.INFO: Processing buffer {"connection_id":172250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:44:25] local.INFO: Packet analysis {"connection_id":172250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:44:25] local.INFO: Extracted packet for processing {"connection_id":172250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:44:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 06:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896151040001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:44:25] 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-09-06 06:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788657141000,"timestamp_ms":1788657141000,"timestamp_seconds":1788657141,"priority":1,"record_length":96,"hex_timestamp":"000001a074460508"} 
[2026-09-06 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-09-06 06:44: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-09-06 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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-06 06:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 06:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:44: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-09-06 06:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896151040001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896151040001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:44:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:44:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896151040001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":172250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:44:25] local.INFO: GPS data processed {"connection_id":172250,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:44:25] local.INFO: Acknowledgment sent {"connection_id":172250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:44:49] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:44:49] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:44:49] local.INFO: IMEI packet received {"connection_id":173630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":173630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:44:54] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:44:54] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:44:54] local.INFO: IMEI packet received {"connection_id":173630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":173630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:44:54] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:44:54] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:44:54] local.INFO: Packet analysis {"connection_id":173630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:44:54] local.INFO: Extracted packet for processing {"connection_id":173630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:44:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896151040001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:44:54] 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-09-06 06:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788657141000,"timestamp_ms":1788657141000,"timestamp_seconds":1788657141,"priority":1,"record_length":96,"hex_timestamp":"000001a074460508"} 
[2026-09-06 06:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06: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-09-06 06: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-06 06:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:44: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-09-06 06:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896151040001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896151040001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:44:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:44:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896151040001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":173630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:44:54] local.INFO: GPS data processed {"connection_id":173630,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:44:54] local.INFO: Acknowledgment sent {"connection_id":173630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:45:25] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:45:25] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:45:25] local.INFO: Packet analysis {"connection_id":173630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:45:25] local.INFO: Extracted packet for processing {"connection_id":173630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:45:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896151040001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:45:25] 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-09-06 06:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788657141000,"timestamp_ms":1788657141000,"timestamp_seconds":1788657141,"priority":1,"record_length":96,"hex_timestamp":"000001a074460508"} 
[2026-09-06 06:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06: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-09-06 06: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-06 06:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:45: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-09-06 06:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896151040001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896151040001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:45:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:45:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896151040001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":173630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:45:25] local.INFO: GPS data processed {"connection_id":173630,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:45:25] local.INFO: Acknowledgment sent {"connection_id":173630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:45:48] local.INFO: TCP Data received {"connection_id":172484,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:45:48] local.INFO: Processing buffer {"connection_id":172484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:45:48] local.INFO: IMEI packet received {"connection_id":172484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":172484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:45:54] local.INFO: TCP Data received {"connection_id":172484,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:45:54] local.INFO: Processing buffer {"connection_id":172484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:45:54] local.INFO: IMEI packet received {"connection_id":172484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":172484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:45:55] local.INFO: TCP Data received {"connection_id":172484,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:45:55] local.INFO: Processing buffer {"connection_id":172484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:45:55] local.INFO: Packet analysis {"connection_id":172484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:45:55] local.INFO: Extracted packet for processing {"connection_id":172484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:45:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896151040001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 06:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788657141000,"timestamp_ms":1788657141000,"timestamp_seconds":1788657141,"priority":1,"record_length":96,"hex_timestamp":"000001a074460508"} 
[2026-09-06 06:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-06 06:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:45: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-09-06 06:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896151040001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896151040001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:45:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:45:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896151040001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":172484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:45:55] local.INFO: GPS data processed {"connection_id":172484,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:45:55] local.INFO: Acknowledgment sent {"connection_id":172484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:46:26] local.INFO: TCP Data received {"connection_id":172484,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:46:26] local.INFO: Processing buffer {"connection_id":172484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:46:26] local.INFO: Packet analysis {"connection_id":172484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:46:26] local.INFO: Extracted packet for processing {"connection_id":172484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:46:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896151040001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:46: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-09-06 06:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788657141000,"timestamp_ms":1788657141000,"timestamp_seconds":1788657141,"priority":1,"record_length":96,"hex_timestamp":"000001a074460508"} 
[2026-09-06 06:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:46: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-09-06 06:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-06 06:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:46: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-09-06 06:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896151040001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896151040001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:46:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:46:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896151040001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":172484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:46:26] local.INFO: GPS data processed {"connection_id":172484,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:46:26] local.INFO: Acknowledgment sent {"connection_id":172484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:46:38] local.INFO: TCP Data received {"connection_id":173631,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:46:38] local.INFO: Processing buffer {"connection_id":173631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:46:38] local.INFO: IMEI packet received {"connection_id":173631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 06:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":173631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:46:48] local.INFO: TCP Data received {"connection_id":172252,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:46:48] local.INFO: Processing buffer {"connection_id":172252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:46:48] local.INFO: IMEI packet received {"connection_id":172252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":172252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:46:54] local.INFO: TCP Data received {"connection_id":172252,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:46:54] local.INFO: Processing buffer {"connection_id":172252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:46:54] local.INFO: IMEI packet received {"connection_id":172252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":172252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:46:55] local.INFO: TCP Data received {"connection_id":172252,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:46:55] local.INFO: Processing buffer {"connection_id":172252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:46:55] local.INFO: Packet analysis {"connection_id":172252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:46:55] local.INFO: Extracted packet for processing {"connection_id":172252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:46:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896151040001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 06:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788657141000,"timestamp_ms":1788657141000,"timestamp_seconds":1788657141,"priority":1,"record_length":96,"hex_timestamp":"000001a074460508"} 
[2026-09-06 06:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-06 06:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:46: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-09-06 06:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896151040001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896151040001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:46:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:46:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896151040001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":172252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:46:55] local.INFO: GPS data processed {"connection_id":172252,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:46:55] local.INFO: Acknowledgment sent {"connection_id":172252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:47:26] local.INFO: TCP Data received {"connection_id":172252,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:47:26] local.INFO: Processing buffer {"connection_id":172252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:47:26] local.INFO: Packet analysis {"connection_id":172252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:47:26] local.INFO: Extracted packet for processing {"connection_id":172252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:47:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896151040001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:47: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-09-06 06:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788657141000,"timestamp_ms":1788657141000,"timestamp_seconds":1788657141,"priority":1,"record_length":96,"hex_timestamp":"000001a074460508"} 
[2026-09-06 06:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:47: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-09-06 06: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-06 06:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896151040001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896151040001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:47:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:47:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896151040001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":172252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:47:26] local.INFO: GPS data processed {"connection_id":172252,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:47:26] local.INFO: Acknowledgment sent {"connection_id":172252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:47:54] local.INFO: TCP Data received {"connection_id":172485,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:47:54] local.INFO: Processing buffer {"connection_id":172485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:47:54] local.INFO: IMEI packet received {"connection_id":172485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":172485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:47:59] local.INFO: TCP Data received {"connection_id":172485,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:47:59] local.INFO: Processing buffer {"connection_id":172485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:47:59] local.INFO: IMEI packet received {"connection_id":172485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":172485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:48:00] local.INFO: TCP Data received {"connection_id":172485,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:48:00] local.INFO: Processing buffer {"connection_id":172485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074460508012d532d0006497048000601472a..."} 
[2026-09-06 06:48:00] local.INFO: Packet analysis {"connection_id":172485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:48:00] local.INFO: Extracted packet for processing {"connection_id":172485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07446"} 
[2026-09-06 06:48:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896151040001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:48:00] 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-09-06 06:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788657141000,"timestamp_ms":1788657141000,"timestamp_seconds":1788657141,"priority":1,"record_length":96,"hex_timestamp":"000001a074460508"} 
[2026-09-06 06:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-06 06:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896151040001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896151040001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:48:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:48:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896151040001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":172485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:48:00] local.INFO: GPS data processed {"connection_id":172485,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:48:00] local.INFO: Acknowledgment sent {"connection_id":172485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:48:00] local.INFO: TCP Data received {"connection_id":172485,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:48:00] local.INFO: Processing buffer {"connection_id":172485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:48:00] local.INFO: Packet analysis {"connection_id":172485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:48:00] local.INFO: Extracted packet for processing {"connection_id":172485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:48:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896228096001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:48:00] 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-09-06 06:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788657442000,"timestamp_ms":1788657442000,"timestamp_seconds":1788657442,"priority":1,"record_length":96,"hex_timestamp":"000001a0744a9cd0"} 
[2026-09-06 06:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896228096001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896228096001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:48:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:48:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896228096001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":172485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:48:00] local.INFO: GPS data processed {"connection_id":172485,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:48:00] local.INFO: Acknowledgment sent {"connection_id":172485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:48:32] local.INFO: TCP Data received {"connection_id":172485,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:48:32] local.INFO: Processing buffer {"connection_id":172485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:48:32] local.INFO: Packet analysis {"connection_id":172485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:48:32] local.INFO: Extracted packet for processing {"connection_id":172485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:48:32] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896228096001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:48:32] 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-09-06 06:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788657442000,"timestamp_ms":1788657442000,"timestamp_seconds":1788657442,"priority":1,"record_length":96,"hex_timestamp":"000001a0744a9cd0"} 
[2026-09-06 06:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:48:32] 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-09-06 06:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896228096001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896228096001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:48:32] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:48:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896228096001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":172485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:48:32] local.INFO: GPS data processed {"connection_id":172485,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:48:32] local.INFO: Acknowledgment sent {"connection_id":172485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:48:49] local.INFO: TCP Data received {"connection_id":173632,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:48:49] local.INFO: Processing buffer {"connection_id":173632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:48:49] local.INFO: IMEI packet received {"connection_id":173632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":173632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:48:54] local.INFO: TCP Data received {"connection_id":173632,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:48:54] local.INFO: Processing buffer {"connection_id":173632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:48:54] local.INFO: IMEI packet received {"connection_id":173632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":173632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:48:55] local.INFO: TCP Data received {"connection_id":173632,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:48:55] local.INFO: Processing buffer {"connection_id":173632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:48:55] local.INFO: Packet analysis {"connection_id":173632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:48:55] local.INFO: Extracted packet for processing {"connection_id":173632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:48:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896228096001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 06:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788657442000,"timestamp_ms":1788657442000,"timestamp_seconds":1788657442,"priority":1,"record_length":96,"hex_timestamp":"000001a0744a9cd0"} 
[2026-09-06 06:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:48:55] 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-09-06 06:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896228096001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896228096001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:48:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:48:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896228096001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":173632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:48:55] local.INFO: GPS data processed {"connection_id":173632,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:48:55] local.INFO: Acknowledgment sent {"connection_id":173632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:49:27] local.INFO: TCP Data received {"connection_id":173632,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:49:27] local.INFO: Processing buffer {"connection_id":173632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:49:27] local.INFO: Packet analysis {"connection_id":173632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:49:27] local.INFO: Extracted packet for processing {"connection_id":173632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:49:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896228096001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:49:27] 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-09-06 06:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788657442000,"timestamp_ms":1788657442000,"timestamp_seconds":1788657442,"priority":1,"record_length":96,"hex_timestamp":"000001a0744a9cd0"} 
[2026-09-06 06:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896228096001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896228096001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:49:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:49:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896228096001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":173632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:49:27] local.INFO: GPS data processed {"connection_id":173632,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:49:27] local.INFO: Acknowledgment sent {"connection_id":173632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:49:49] local.INFO: TCP Data received {"connection_id":172486,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:49:49] local.INFO: Processing buffer {"connection_id":172486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:49:49] local.INFO: IMEI packet received {"connection_id":172486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":172486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:49:54] local.INFO: TCP Data received {"connection_id":172486,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:49:54] local.INFO: Processing buffer {"connection_id":172486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:49:54] local.INFO: IMEI packet received {"connection_id":172486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":172486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:49:54] local.INFO: TCP Data received {"connection_id":172486,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:49:54] local.INFO: Processing buffer {"connection_id":172486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:49:54] local.INFO: Packet analysis {"connection_id":172486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:49:54] local.INFO: Extracted packet for processing {"connection_id":172486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:49:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896228096001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:49:54] 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-09-06 06:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788657442000,"timestamp_ms":1788657442000,"timestamp_seconds":1788657442,"priority":1,"record_length":96,"hex_timestamp":"000001a0744a9cd0"} 
[2026-09-06 06:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:49: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-09-06 06:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:49:54] 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-09-06 06:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:49: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-09-06 06:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896228096001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896228096001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:49:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:49:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896228096001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":172486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:49:54] local.INFO: GPS data processed {"connection_id":172486,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:49:54] local.INFO: Acknowledgment sent {"connection_id":172486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:50:25] local.INFO: TCP Data received {"connection_id":172486,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:50:25] local.INFO: Processing buffer {"connection_id":172486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:50:25] local.INFO: Packet analysis {"connection_id":172486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:50:25] local.INFO: Extracted packet for processing {"connection_id":172486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:50:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896228096001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:50:25] 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-09-06 06:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788657442000,"timestamp_ms":1788657442000,"timestamp_seconds":1788657442,"priority":1,"record_length":96,"hex_timestamp":"000001a0744a9cd0"} 
[2026-09-06 06:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:50:25] 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-09-06 06: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-09-06 06:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:50: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-09-06 06:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896228096001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896228096001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:50:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:50:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896228096001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":172486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:50:25] local.INFO: GPS data processed {"connection_id":172486,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:50:25] local.INFO: Acknowledgment sent {"connection_id":172486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:50:49] local.INFO: TCP Data received {"connection_id":172253,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:50:49] local.INFO: Processing buffer {"connection_id":172253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:50:49] local.INFO: IMEI packet received {"connection_id":172253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":172253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:50:54] local.INFO: TCP Data received {"connection_id":172253,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:50:54] local.INFO: Processing buffer {"connection_id":172253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:50:54] local.INFO: IMEI packet received {"connection_id":172253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":172253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:50:54] local.INFO: TCP Data received {"connection_id":172253,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:50:54] local.INFO: Processing buffer {"connection_id":172253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:50:54] local.INFO: Packet analysis {"connection_id":172253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:50:54] local.INFO: Extracted packet for processing {"connection_id":172253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:50:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896228096001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:50:54] 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-09-06 06:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788657442000,"timestamp_ms":1788657442000,"timestamp_seconds":1788657442,"priority":1,"record_length":96,"hex_timestamp":"000001a0744a9cd0"} 
[2026-09-06 06:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:50: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-09-06 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:50:54] 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-09-06 06: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-09-06 06:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:50: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-09-06 06:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896228096001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896228096001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:50:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:50:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896228096001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":172253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:50:54] local.INFO: GPS data processed {"connection_id":172253,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:50:54] local.INFO: Acknowledgment sent {"connection_id":172253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:51:25] local.INFO: TCP Data received {"connection_id":172253,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:51:25] local.INFO: Processing buffer {"connection_id":172253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:51:25] local.INFO: Packet analysis {"connection_id":172253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:51:25] local.INFO: Extracted packet for processing {"connection_id":172253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:51:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896228096001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:51:25] 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-09-06 06:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788657442000,"timestamp_ms":1788657442000,"timestamp_seconds":1788657442,"priority":1,"record_length":96,"hex_timestamp":"000001a0744a9cd0"} 
[2026-09-06 06:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:51: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-09-06 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:51:25] 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-09-06 06: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-09-06 06:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:51: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-09-06 06:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896228096001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896228096001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:51:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:51:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896228096001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":172253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:51:26] local.INFO: GPS data processed {"connection_id":172253,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:51:26] local.INFO: Acknowledgment sent {"connection_id":172253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:51:48] local.INFO: TCP Data received {"connection_id":172487,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:51:48] local.INFO: Processing buffer {"connection_id":172487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:51:48] local.INFO: IMEI packet received {"connection_id":172487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":172487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:51:54] local.INFO: TCP Data received {"connection_id":172487,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:51:54] local.INFO: Processing buffer {"connection_id":172487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:51:54] local.INFO: IMEI packet received {"connection_id":172487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":172487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:51:54] local.INFO: TCP Data received {"connection_id":172487,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:51:54] local.INFO: Processing buffer {"connection_id":172487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:51:54] local.INFO: Packet analysis {"connection_id":172487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:51:54] local.INFO: Extracted packet for processing {"connection_id":172487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:51:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896228096001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:51:54] 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-09-06 06:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788657442000,"timestamp_ms":1788657442000,"timestamp_seconds":1788657442,"priority":1,"record_length":96,"hex_timestamp":"000001a0744a9cd0"} 
[2026-09-06 06:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:51:54] 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-09-06 06: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-09-06 06:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:51: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-09-06 06:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896228096001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896228096001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:51:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:51:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896228096001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":172487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:51:54] local.INFO: GPS data processed {"connection_id":172487,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:51:54] local.INFO: Acknowledgment sent {"connection_id":172487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:52:12] local.INFO: TCP Data received {"connection_id":173633,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:52:12] local.INFO: Processing buffer {"connection_id":173633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:52:12] local.INFO: IMEI packet received {"connection_id":173633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 06:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":173633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:52:26] local.INFO: TCP Data received {"connection_id":172487,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:52:26] local.INFO: Processing buffer {"connection_id":172487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:52:26] local.INFO: Packet analysis {"connection_id":172487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:52:26] local.INFO: Extracted packet for processing {"connection_id":172487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:52:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896228096001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:52: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-09-06 06:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788657442000,"timestamp_ms":1788657442000,"timestamp_seconds":1788657442,"priority":1,"record_length":96,"hex_timestamp":"000001a0744a9cd0"} 
[2026-09-06 06:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06: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":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:52:26] 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-09-06 06: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-09-06 06:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:52: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-09-06 06:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896228096001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896228096001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:52:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:52:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896228096001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":172487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:52:26] local.INFO: GPS data processed {"connection_id":172487,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:52:26] local.INFO: Acknowledgment sent {"connection_id":172487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:52:48] local.INFO: TCP Data received {"connection_id":172488,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:52:48] local.INFO: Processing buffer {"connection_id":172488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:52:48] local.INFO: IMEI packet received {"connection_id":172488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":172488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:52:54] local.INFO: TCP Data received {"connection_id":172488,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:52:54] local.INFO: Processing buffer {"connection_id":172488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:52:54] local.INFO: IMEI packet received {"connection_id":172488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":172488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:52:54] local.INFO: TCP Data received {"connection_id":172488,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:52:54] local.INFO: Processing buffer {"connection_id":172488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744a9cd0012d532d00064970480006014728..."} 
[2026-09-06 06:52:54] local.INFO: Packet analysis {"connection_id":172488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:52:54] local.INFO: Extracted packet for processing {"connection_id":172488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744a"} 
[2026-09-06 06:52:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896228096001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:52:54] 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-09-06 06:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788657442000,"timestamp_ms":1788657442000,"timestamp_seconds":1788657442,"priority":1,"record_length":96,"hex_timestamp":"000001a0744a9cd0"} 
[2026-09-06 06:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:52: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-09-06 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 06:52:54] 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-09-06 06: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-09-06 06:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:52: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-09-06 06:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896228096001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896228096001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:52:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:52:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896228096001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":172488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:52:54] local.INFO: GPS data processed {"connection_id":172488,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:52:54] local.INFO: Acknowledgment sent {"connection_id":172488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:53:25] local.INFO: TCP Data received {"connection_id":172488,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:53:25] local.INFO: Processing buffer {"connection_id":172488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:53:25] local.INFO: Packet analysis {"connection_id":172488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:53:25] local.INFO: Extracted packet for processing {"connection_id":172488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:53:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896305152001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:53:25] 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-09-06 06:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788657743000,"timestamp_ms":1788657743000,"timestamp_seconds":1788657743,"priority":1,"record_length":96,"hex_timestamp":"000001a0744f3498"} 
[2026-09-06 06:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:53:25] 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-09-06 06:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:53: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-09-06 06:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896305152001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896305152001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:53:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:53:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896305152001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":172488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:53:25] local.INFO: GPS data processed {"connection_id":172488,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:53:25] local.INFO: Acknowledgment sent {"connection_id":172488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:53:49] local.INFO: TCP Data received {"connection_id":172254,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:53:49] local.INFO: Processing buffer {"connection_id":172254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:53:49] local.INFO: IMEI packet received {"connection_id":172254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":172254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:53:54] local.INFO: TCP Data received {"connection_id":172254,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:53:54] local.INFO: Processing buffer {"connection_id":172254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:53:54] local.INFO: IMEI packet received {"connection_id":172254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":172254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:53:54] local.INFO: TCP Data received {"connection_id":172254,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:53:54] local.INFO: Processing buffer {"connection_id":172254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:53:54] local.INFO: Packet analysis {"connection_id":172254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:53:54] local.INFO: Extracted packet for processing {"connection_id":172254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:53:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896305152001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:53:54] 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-09-06 06:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788657743000,"timestamp_ms":1788657743000,"timestamp_seconds":1788657743,"priority":1,"record_length":96,"hex_timestamp":"000001a0744f3498"} 
[2026-09-06 06:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:53: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-09-06 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:53:54] 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-09-06 06: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-09-06 06:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:53: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-09-06 06:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896305152001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896305152001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:53:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:53:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896305152001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":172254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:53:54] local.INFO: GPS data processed {"connection_id":172254,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:53:54] local.INFO: Acknowledgment sent {"connection_id":172254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:54:26] local.INFO: TCP Data received {"connection_id":172254,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:54:26] local.INFO: Processing buffer {"connection_id":172254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:54:26] local.INFO: Packet analysis {"connection_id":172254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:54:26] local.INFO: Extracted packet for processing {"connection_id":172254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:54:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896305152001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:54: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-09-06 06:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788657743000,"timestamp_ms":1788657743000,"timestamp_seconds":1788657743,"priority":1,"record_length":96,"hex_timestamp":"000001a0744f3498"} 
[2026-09-06 06:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:54: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-09-06 06:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:54:26] 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-09-06 06:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:54: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-09-06 06:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896305152001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896305152001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:54:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:54:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896305152001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":172254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:54:26] local.INFO: GPS data processed {"connection_id":172254,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:54:26] local.INFO: Acknowledgment sent {"connection_id":172254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:54:48] local.INFO: TCP Data received {"connection_id":174946,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:54:48] local.INFO: Processing buffer {"connection_id":174946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:54:48] local.INFO: IMEI packet received {"connection_id":174946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":174946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:54:54] local.INFO: TCP Data received {"connection_id":174946,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:54:54] local.INFO: Processing buffer {"connection_id":174946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:54:54] local.INFO: IMEI packet received {"connection_id":174946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":174946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:54:54] local.INFO: TCP Data received {"connection_id":174946,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:54:54] local.INFO: Processing buffer {"connection_id":174946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:54:54] local.INFO: Packet analysis {"connection_id":174946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:54:54] local.INFO: Extracted packet for processing {"connection_id":174946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:54:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896305152001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:54:54] 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-09-06 06:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788657743000,"timestamp_ms":1788657743000,"timestamp_seconds":1788657743,"priority":1,"record_length":96,"hex_timestamp":"000001a0744f3498"} 
[2026-09-06 06:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:54: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-09-06 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:54:54] 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-09-06 06: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-09-06 06:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896305152001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896305152001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:54:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:54:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896305152001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":174946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:54:54] local.INFO: GPS data processed {"connection_id":174946,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:54:54] local.INFO: Acknowledgment sent {"connection_id":174946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:55:25] local.INFO: TCP Data received {"connection_id":174946,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:55:25] local.INFO: Processing buffer {"connection_id":174946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:55:25] local.INFO: Packet analysis {"connection_id":174946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:55:25] local.INFO: Extracted packet for processing {"connection_id":174946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:55:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896305152001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:55:25] 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-09-06 06:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788657743000,"timestamp_ms":1788657743000,"timestamp_seconds":1788657743,"priority":1,"record_length":96,"hex_timestamp":"000001a0744f3498"} 
[2026-09-06 06:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:55: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-09-06 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:55:25] 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-09-06 06: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-09-06 06:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:55: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-09-06 06:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896305152001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896305152001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:55:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:55:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896305152001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":174946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:55:25] local.INFO: GPS data processed {"connection_id":174946,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:55:25] local.INFO: Acknowledgment sent {"connection_id":174946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:55:48] local.INFO: TCP Data received {"connection_id":174947,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:55:48] local.INFO: Processing buffer {"connection_id":174947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:55:48] local.INFO: IMEI packet received {"connection_id":174947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":174947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:55:54] local.INFO: TCP Data received {"connection_id":174947,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:55:54] local.INFO: Processing buffer {"connection_id":174947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:55:54] local.INFO: IMEI packet received {"connection_id":174947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":174947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:55:55] local.INFO: TCP Data received {"connection_id":174947,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:55:55] local.INFO: Processing buffer {"connection_id":174947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:55:55] local.INFO: Packet analysis {"connection_id":174947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:55:55] local.INFO: Extracted packet for processing {"connection_id":174947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:55:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896305152001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 06:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788657743000,"timestamp_ms":1788657743000,"timestamp_seconds":1788657743,"priority":1,"record_length":96,"hex_timestamp":"000001a0744f3498"} 
[2026-09-06 06:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:55:55] 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-09-06 06:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:55: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-09-06 06:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896305152001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896305152001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:55:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:55:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896305152001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":174947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:55:55] local.INFO: GPS data processed {"connection_id":174947,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:55:55] local.INFO: Acknowledgment sent {"connection_id":174947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:56:26] local.INFO: TCP Data received {"connection_id":174947,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:56:26] local.INFO: Processing buffer {"connection_id":174947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:56:26] local.INFO: Packet analysis {"connection_id":174947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:56:26] local.INFO: Extracted packet for processing {"connection_id":174947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:56:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896305152001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:56: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-09-06 06:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788657743000,"timestamp_ms":1788657743000,"timestamp_seconds":1788657743,"priority":1,"record_length":96,"hex_timestamp":"000001a0744f3498"} 
[2026-09-06 06:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:56:26] 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-09-06 06:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:56: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-09-06 06:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896305152001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896305152001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:56:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:56:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896305152001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":174947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:56:26] local.INFO: GPS data processed {"connection_id":174947,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:56:26] local.INFO: Acknowledgment sent {"connection_id":174947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:56:54] local.INFO: TCP Data received {"connection_id":172257,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:56:54] local.INFO: Processing buffer {"connection_id":172257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:56:54] local.INFO: IMEI packet received {"connection_id":172257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":172257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:56:59] local.INFO: TCP Data received {"connection_id":172257,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:56:59] local.INFO: Processing buffer {"connection_id":172257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:56:59] local.INFO: IMEI packet received {"connection_id":172257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":172257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:56:59] local.INFO: TCP Data received {"connection_id":172257,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:56:59] local.INFO: Processing buffer {"connection_id":172257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:56:59] local.INFO: Packet analysis {"connection_id":172257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:56:59] local.INFO: Extracted packet for processing {"connection_id":172257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:56:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896305152001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:56:59] 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-09-06 06:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788657743000,"timestamp_ms":1788657743000,"timestamp_seconds":1788657743,"priority":1,"record_length":96,"hex_timestamp":"000001a0744f3498"} 
[2026-09-06 06:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:56: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-09-06 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:56:59] 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-09-06 06: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-09-06 06:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896305152001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896305152001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:56:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:56:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896305152001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":172257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:56:59] local.INFO: GPS data processed {"connection_id":172257,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:56:59] local.INFO: Acknowledgment sent {"connection_id":172257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:57:04] local.INFO: TCP Data received {"connection_id":172257,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:57:04] local.INFO: Processing buffer {"connection_id":172257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:57:04] local.INFO: Packet analysis {"connection_id":172257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:57:04] local.INFO: Extracted packet for processing {"connection_id":172257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:57:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896305152001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 06:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788657743000,"timestamp_ms":1788657743000,"timestamp_seconds":1788657743,"priority":1,"record_length":96,"hex_timestamp":"000001a0744f3498"} 
[2026-09-06 06:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:57: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-09-06 06:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:57:04] 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-09-06 06: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-09-06 06:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 06:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896305152001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896305152001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:57:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:57:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896305152001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":172257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:57:04] local.INFO: GPS data processed {"connection_id":172257,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:57:04] local.INFO: Acknowledgment sent {"connection_id":172257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:57:33] local.INFO: TCP Data received {"connection_id":173634,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:57:33] local.INFO: Processing buffer {"connection_id":173634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 06:57:33] local.INFO: IMEI packet received {"connection_id":173634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 06:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":173634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:57:49] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:57:49] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:57:49] local.INFO: IMEI packet received {"connection_id":174948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":174948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:57:54] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:57:54] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:57:54] local.INFO: IMEI packet received {"connection_id":174948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":174948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:57:55] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:57:55] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0744f3498012d532d00064970480006014727..."} 
[2026-09-06 06:57:55] local.INFO: Packet analysis {"connection_id":174948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:57:55] local.INFO: Extracted packet for processing {"connection_id":174948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0744f"} 
[2026-09-06 06:57:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896305152001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 06:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788657743000,"timestamp_ms":1788657743000,"timestamp_seconds":1788657743,"priority":1,"record_length":96,"hex_timestamp":"000001a0744f3498"} 
[2026-09-06 06:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 06:57:55] 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-09-06 06: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-09-06 06:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:57: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-09-06 06:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896305152001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896305152001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:57:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:57:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896305152001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":174948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:57:55] local.INFO: GPS data processed {"connection_id":174948,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:57:55] local.INFO: Acknowledgment sent {"connection_id":174948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:58:26] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 06:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 06:58:26] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 06:58:26] local.INFO: Packet analysis {"connection_id":174948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 06:58:26] local.INFO: Extracted packet for processing {"connection_id":174948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 06:58:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896382208001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:58: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-09-06 06:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788658044000,"timestamp_ms":1788658044000,"timestamp_seconds":1788658044,"priority":1,"record_length":96,"hex_timestamp":"000001a07453cc60"} 
[2026-09-06 06:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:58: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-09-06 06:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 06:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:58: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-09-06 06:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896382208001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896382208001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:58:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:58:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896382208001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":174948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:58:26] local.INFO: GPS data processed {"connection_id":174948,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:58:26] local.INFO: Acknowledgment sent {"connection_id":174948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:58:49] local.INFO: TCP Data received {"connection_id":173636,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:58:49] local.INFO: Processing buffer {"connection_id":173636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:58:49] local.INFO: IMEI packet received {"connection_id":173636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":173636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:58:54] local.INFO: TCP Data received {"connection_id":173636,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:58:54] local.INFO: Processing buffer {"connection_id":173636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:58:54] local.INFO: IMEI packet received {"connection_id":173636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":173636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:58:54] local.INFO: TCP Data received {"connection_id":173636,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 06:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 06:58:54] local.INFO: Processing buffer {"connection_id":173636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 06:58:54] local.INFO: Packet analysis {"connection_id":173636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 06:58:54] local.INFO: Extracted packet for processing {"connection_id":173636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 06:58:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06: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-09-06 06:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896382208001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:58:54] 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-09-06 06:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788658044000,"timestamp_ms":1788658044000,"timestamp_seconds":1788658044,"priority":1,"record_length":96,"hex_timestamp":"000001a07453cc60"} 
[2026-09-06 06:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:58: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-09-06 06: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 06:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06: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-09-06 06:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:58: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-09-06 06:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896382208001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896382208001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:58:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:58:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896382208001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":173636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:58:54] local.INFO: GPS data processed {"connection_id":173636,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:58:54] local.INFO: Acknowledgment sent {"connection_id":173636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:59:25] local.INFO: TCP Data received {"connection_id":173636,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 06:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 06:59:25] local.INFO: Processing buffer {"connection_id":173636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 06:59:25] local.INFO: Packet analysis {"connection_id":173636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 06:59:25] local.INFO: Extracted packet for processing {"connection_id":173636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 06:59:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 06:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896382208001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:59:25] 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-09-06 06:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788658044000,"timestamp_ms":1788658044000,"timestamp_seconds":1788658044,"priority":1,"record_length":96,"hex_timestamp":"000001a07453cc60"} 
[2026-09-06 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-09-06 06:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 06:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 06:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:59: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-09-06 06:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896382208001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896382208001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:59:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:59:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896382208001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":173636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:59:26] local.INFO: GPS data processed {"connection_id":173636,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:59:26] local.INFO: Acknowledgment sent {"connection_id":173636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 06:59:48] local.INFO: TCP Data received {"connection_id":173637,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:59:48] local.INFO: Processing buffer {"connection_id":173637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:59:48] local.INFO: IMEI packet received {"connection_id":173637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 06:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":173637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 06:59:54] local.INFO: TCP Data received {"connection_id":173637,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:59:54] local.INFO: Processing buffer {"connection_id":173637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 06:59:54] local.INFO: IMEI packet received {"connection_id":173637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 06:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":173637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 06:59:54] local.INFO: TCP Data received {"connection_id":173637,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 06:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 06:59:54] local.INFO: Processing buffer {"connection_id":173637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 06:59:54] local.INFO: Packet analysis {"connection_id":173637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 06:59:54] local.INFO: Extracted packet for processing {"connection_id":173637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 06:59:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 06:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 06:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896382208001,"note":"Value kept but may cause issues"} 
[2026-09-06 06:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 06:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 06:59:54] 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-09-06 06:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788658044000,"timestamp_ms":1788658044000,"timestamp_seconds":1788658044,"priority":1,"record_length":96,"hex_timestamp":"000001a07453cc60"} 
[2026-09-06 06:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 06:59: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-09-06 06:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 06:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 06:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 06:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 06:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 06:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 06:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 06:59: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-09-06 06:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 06:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 06:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896382208001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 06:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 06:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 06:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896382208001,"description":"Unknown IO ID 0"} 
[2026-09-06 06:59:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 06:59:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 06:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 06:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 06:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896382208001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 06:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":173637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 06:59:54] local.INFO: GPS data processed {"connection_id":173637,"processed":1,"errors":0,"total":1} 
[2026-09-06 06:59:54] local.INFO: Acknowledgment sent {"connection_id":173637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:00:25] local.INFO: TCP Data received {"connection_id":173637,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:00:25] local.INFO: Processing buffer {"connection_id":173637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:00:25] local.INFO: Packet analysis {"connection_id":173637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 07:00:25] local.INFO: Extracted packet for processing {"connection_id":173637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 07:00:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896382208001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:00:25] 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-09-06 07:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788658044000,"timestamp_ms":1788658044000,"timestamp_seconds":1788658044,"priority":1,"record_length":96,"hex_timestamp":"000001a07453cc60"} 
[2026-09-06 07:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:00: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-09-06 07:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 07:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:00: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-09-06 07:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896382208001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896382208001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:00:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:00:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896382208001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":173637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:00:25] local.INFO: GPS data processed {"connection_id":173637,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:00:25] local.INFO: Acknowledgment sent {"connection_id":173637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:00:48] local.INFO: TCP Data received {"connection_id":174949,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:00:48] local.INFO: Processing buffer {"connection_id":174949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:00:48] local.INFO: IMEI packet received {"connection_id":174949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":174949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:00:54] local.INFO: TCP Data received {"connection_id":174949,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:00:54] local.INFO: Processing buffer {"connection_id":174949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:00:54] local.INFO: IMEI packet received {"connection_id":174949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":174949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:00:54] local.INFO: TCP Data received {"connection_id":174949,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:00:54] local.INFO: Processing buffer {"connection_id":174949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:00:54] local.INFO: Packet analysis {"connection_id":174949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 07:00:54] local.INFO: Extracted packet for processing {"connection_id":174949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 07:00:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896382208001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:00:54] 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-09-06 07:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788658044000,"timestamp_ms":1788658044000,"timestamp_seconds":1788658044,"priority":1,"record_length":96,"hex_timestamp":"000001a07453cc60"} 
[2026-09-06 07:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:00: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-09-06 07: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 07:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:00: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-09-06 07:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896382208001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896382208001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:00:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:00:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896382208001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":174949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:00:54] local.INFO: GPS data processed {"connection_id":174949,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:00:54] local.INFO: Acknowledgment sent {"connection_id":174949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:01:25] local.INFO: TCP Data received {"connection_id":174949,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:01:25] local.INFO: Processing buffer {"connection_id":174949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:01:25] local.INFO: Packet analysis {"connection_id":174949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 07:01:25] local.INFO: Extracted packet for processing {"connection_id":174949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 07:01:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896382208001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:01:25] 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-09-06 07:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788658044000,"timestamp_ms":1788658044000,"timestamp_seconds":1788658044,"priority":1,"record_length":96,"hex_timestamp":"000001a07453cc60"} 
[2026-09-06 07:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:01: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-09-06 07:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 07:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:01: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-09-06 07:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896382208001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896382208001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:01:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:01:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896382208001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":174949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:01:25] local.INFO: GPS data processed {"connection_id":174949,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:01:25] local.INFO: Acknowledgment sent {"connection_id":174949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:01:54] local.INFO: TCP Data received {"connection_id":172260,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:01:54] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:01:54] local.INFO: IMEI packet received {"connection_id":172260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":172260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:01:59] local.INFO: TCP Data received {"connection_id":172260,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:01:59] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:01:59] local.INFO: IMEI packet received {"connection_id":172260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":172260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:01:59] local.INFO: TCP Data received {"connection_id":172260,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:01:59] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:01:59] local.INFO: Packet analysis {"connection_id":172260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 07:01:59] local.INFO: Extracted packet for processing {"connection_id":172260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 07:01:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896382208001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:01:59] 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-09-06 07:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788658044000,"timestamp_ms":1788658044000,"timestamp_seconds":1788658044,"priority":1,"record_length":96,"hex_timestamp":"000001a07453cc60"} 
[2026-09-06 07:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:01: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-09-06 07:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 07:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896382208001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896382208001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:01:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:01:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896382208001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":172260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:02:00] local.INFO: GPS data processed {"connection_id":172260,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:02:00] local.INFO: Acknowledgment sent {"connection_id":172260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:02:04] local.INFO: TCP Data received {"connection_id":172260,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:02:04] local.INFO: Processing buffer {"connection_id":172260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:02:04] local.INFO: Packet analysis {"connection_id":172260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 07:02:04] local.INFO: Extracted packet for processing {"connection_id":172260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 07:02:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896382208001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 07:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788658044000,"timestamp_ms":1788658044000,"timestamp_seconds":1788658044,"priority":1,"record_length":96,"hex_timestamp":"000001a07453cc60"} 
[2026-09-06 07:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:02: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-09-06 07:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 07:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896382208001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896382208001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:02:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:02:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896382208001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":172260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:02:04] local.INFO: GPS data processed {"connection_id":172260,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:02:04] local.INFO: Acknowledgment sent {"connection_id":172260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:02:49] local.INFO: TCP Data received {"connection_id":174951,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:02:49] local.INFO: Processing buffer {"connection_id":174951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:02:49] local.INFO: IMEI packet received {"connection_id":174951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":174951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:02:54] local.INFO: TCP Data received {"connection_id":174951,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:02:54] local.INFO: Processing buffer {"connection_id":174951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:02:54] local.INFO: IMEI packet received {"connection_id":174951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":174951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:02:54] local.INFO: TCP Data received {"connection_id":174951,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:02:54] local.INFO: Processing buffer {"connection_id":174951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07453cc60012d532d00064970480006014726..."} 
[2026-09-06 07:02:54] local.INFO: Packet analysis {"connection_id":174951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 07:02:54] local.INFO: Extracted packet for processing {"connection_id":174951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07453"} 
[2026-09-06 07:02:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896382208001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:02:54] 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-09-06 07:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788658044000,"timestamp_ms":1788658044000,"timestamp_seconds":1788658044,"priority":1,"record_length":96,"hex_timestamp":"000001a07453cc60"} 
[2026-09-06 07:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:02: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-09-06 07: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 07:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:02: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-09-06 07:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896382208001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896382208001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:02:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:02:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896382208001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":174951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:02:54] local.INFO: GPS data processed {"connection_id":174951,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:02:54] local.INFO: Acknowledgment sent {"connection_id":174951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:03:12] local.INFO: TCP Data received {"connection_id":173639,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:03:12] local.INFO: Processing buffer {"connection_id":173639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:03:12] local.INFO: IMEI packet received {"connection_id":173639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 07:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":173639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:03:25] local.INFO: TCP Data received {"connection_id":174951,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:03:25] local.INFO: Processing buffer {"connection_id":174951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:03:25] local.INFO: Packet analysis {"connection_id":174951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:03:25] local.INFO: Extracted packet for processing {"connection_id":174951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:03:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 07:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896459264001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:03:25] 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-09-06 07:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788658345000,"timestamp_ms":1788658345000,"timestamp_seconds":1788658345,"priority":1,"record_length":96,"hex_timestamp":"000001a074586428"} 
[2026-09-06 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-09-06 07:03: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-09-06 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:03:25] 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-09-06 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-09-06 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-09-06 07:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:03: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-09-06 07:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896459264001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896459264001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:03:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:03:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896459264001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":174951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:03:25] local.INFO: GPS data processed {"connection_id":174951,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:03:25] local.INFO: Acknowledgment sent {"connection_id":174951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:03:48] local.INFO: TCP Data received {"connection_id":172261,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:03:48] local.INFO: Processing buffer {"connection_id":172261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:03:48] local.INFO: IMEI packet received {"connection_id":172261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":172261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:03:54] local.INFO: TCP Data received {"connection_id":172261,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:03:54] local.INFO: Processing buffer {"connection_id":172261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:03:54] local.INFO: IMEI packet received {"connection_id":172261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":172261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:03:54] local.INFO: TCP Data received {"connection_id":172261,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:03:54] local.INFO: Processing buffer {"connection_id":172261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:03:54] local.INFO: Packet analysis {"connection_id":172261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:03:54] local.INFO: Extracted packet for processing {"connection_id":172261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:03:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896459264001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:03:54] 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-09-06 07:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788658345000,"timestamp_ms":1788658345000,"timestamp_seconds":1788658345,"priority":1,"record_length":96,"hex_timestamp":"000001a074586428"} 
[2026-09-06 07:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:03: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:03:54] 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-09-06 07: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-09-06 07:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:03: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-09-06 07:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896459264001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896459264001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:03:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:03:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896459264001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":172261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:03:55] local.INFO: GPS data processed {"connection_id":172261,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:03:55] local.INFO: Acknowledgment sent {"connection_id":172261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:04:26] local.INFO: TCP Data received {"connection_id":172261,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:04:26] local.INFO: Processing buffer {"connection_id":172261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:04:26] local.INFO: Packet analysis {"connection_id":172261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:04:26] local.INFO: Extracted packet for processing {"connection_id":172261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:04:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896459264001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:04: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-09-06 07:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788658345000,"timestamp_ms":1788658345000,"timestamp_seconds":1788658345,"priority":1,"record_length":96,"hex_timestamp":"000001a074586428"} 
[2026-09-06 07:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:04: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:04:26] 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-09-06 07: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-09-06 07:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07: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-09-06 07:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896459264001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896459264001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:04:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:04:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896459264001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":172261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:04:26] local.INFO: GPS data processed {"connection_id":172261,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:04:26] local.INFO: Acknowledgment sent {"connection_id":172261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:04:48] local.INFO: TCP Data received {"connection_id":173640,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:04:48] local.INFO: Processing buffer {"connection_id":173640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:04:48] local.INFO: IMEI packet received {"connection_id":173640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":173640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:04:54] local.INFO: TCP Data received {"connection_id":173640,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:04:54] local.INFO: Processing buffer {"connection_id":173640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:04:54] local.INFO: IMEI packet received {"connection_id":173640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":173640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:04:55] local.INFO: TCP Data received {"connection_id":173640,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:04:55] local.INFO: Processing buffer {"connection_id":173640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:04:55] local.INFO: Packet analysis {"connection_id":173640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:04:55] local.INFO: Extracted packet for processing {"connection_id":173640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:04:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896459264001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 07:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788658345000,"timestamp_ms":1788658345000,"timestamp_seconds":1788658345,"priority":1,"record_length":96,"hex_timestamp":"000001a074586428"} 
[2026-09-06 07:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:04:55] 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-09-06 07:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:04: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-09-06 07:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896459264001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896459264001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:04:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:04:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896459264001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":173640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:04:55] local.INFO: GPS data processed {"connection_id":173640,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:04:55] local.INFO: Acknowledgment sent {"connection_id":173640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:05:26] local.INFO: TCP Data received {"connection_id":173640,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:05:26] local.INFO: Processing buffer {"connection_id":173640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:05:26] local.INFO: Packet analysis {"connection_id":173640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:05:26] local.INFO: Extracted packet for processing {"connection_id":173640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:05:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896459264001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:05: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-09-06 07:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788658345000,"timestamp_ms":1788658345000,"timestamp_seconds":1788658345,"priority":1,"record_length":96,"hex_timestamp":"000001a074586428"} 
[2026-09-06 07:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:05: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:05:26] 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-09-06 07: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-09-06 07:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:05: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-09-06 07:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896459264001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896459264001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:05:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:05:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896459264001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":173640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:05:26] local.INFO: GPS data processed {"connection_id":173640,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:05:26] local.INFO: Acknowledgment sent {"connection_id":173640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:05:54] local.INFO: TCP Data received {"connection_id":172491,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:05:54] local.INFO: Processing buffer {"connection_id":172491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:05:54] local.INFO: IMEI packet received {"connection_id":172491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":172491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:05:59] local.INFO: TCP Data received {"connection_id":172491,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:05:59] local.INFO: Processing buffer {"connection_id":172491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:05:59] local.INFO: IMEI packet received {"connection_id":172491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":172491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:05:59] local.INFO: TCP Data received {"connection_id":172491,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:05:59] local.INFO: Processing buffer {"connection_id":172491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:05:59] local.INFO: Packet analysis {"connection_id":172491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:05:59] local.INFO: Extracted packet for processing {"connection_id":172491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:05:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896459264001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:05:59] 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-09-06 07:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788658345000,"timestamp_ms":1788658345000,"timestamp_seconds":1788658345,"priority":1,"record_length":96,"hex_timestamp":"000001a074586428"} 
[2026-09-06 07:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:05: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-09-06 07:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:05:59] 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-09-06 07:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896459264001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896459264001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:05:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:05:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896459264001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":172491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:05:59] local.INFO: GPS data processed {"connection_id":172491,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:05:59] local.INFO: Acknowledgment sent {"connection_id":172491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:06:04] local.INFO: TCP Data received {"connection_id":172491,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:06:04] local.INFO: Processing buffer {"connection_id":172491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:06:04] local.INFO: Packet analysis {"connection_id":172491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:06:04] local.INFO: Extracted packet for processing {"connection_id":172491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:06:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896459264001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 07:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788658345000,"timestamp_ms":1788658345000,"timestamp_seconds":1788658345,"priority":1,"record_length":96,"hex_timestamp":"000001a074586428"} 
[2026-09-06 07:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:06: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-09-06 07:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896459264001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896459264001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:06:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:06:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896459264001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":172491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:06:04] local.INFO: GPS data processed {"connection_id":172491,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:06:04] local.INFO: Acknowledgment sent {"connection_id":172491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:06:49] local.INFO: TCP Data received {"connection_id":172263,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:06:49] local.INFO: Processing buffer {"connection_id":172263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:06:49] local.INFO: IMEI packet received {"connection_id":172263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":172263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:06:54] local.INFO: TCP Data received {"connection_id":172263,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:06:54] local.INFO: Processing buffer {"connection_id":172263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:06:54] local.INFO: IMEI packet received {"connection_id":172263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":172263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:06:54] local.INFO: TCP Data received {"connection_id":172263,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:06:54] local.INFO: Processing buffer {"connection_id":172263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:06:54] local.INFO: Packet analysis {"connection_id":172263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:06:54] local.INFO: Extracted packet for processing {"connection_id":172263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:06:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896459264001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:06:54] 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-09-06 07:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788658345000,"timestamp_ms":1788658345000,"timestamp_seconds":1788658345,"priority":1,"record_length":96,"hex_timestamp":"000001a074586428"} 
[2026-09-06 07:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:06: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:06:54] 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-09-06 07: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-09-06 07:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:06: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-09-06 07:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896459264001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896459264001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:06:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:06:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896459264001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":172263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:06:54] local.INFO: GPS data processed {"connection_id":172263,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:06:54] local.INFO: Acknowledgment sent {"connection_id":172263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:07:25] local.INFO: TCP Data received {"connection_id":172263,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:07:25] local.INFO: Processing buffer {"connection_id":172263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:07:25] local.INFO: Packet analysis {"connection_id":172263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:07:25] local.INFO: Extracted packet for processing {"connection_id":172263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:07:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896459264001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:07:25] 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-09-06 07:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788658345000,"timestamp_ms":1788658345000,"timestamp_seconds":1788658345,"priority":1,"record_length":96,"hex_timestamp":"000001a074586428"} 
[2026-09-06 07:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:07: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:07:25] 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-09-06 07: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-09-06 07:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:07: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-09-06 07:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896459264001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896459264001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:07:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:07:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896459264001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":172263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:07:25] local.INFO: GPS data processed {"connection_id":172263,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:07:25] local.INFO: Acknowledgment sent {"connection_id":172263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:07:49] local.INFO: TCP Data received {"connection_id":172492,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:07:49] local.INFO: Processing buffer {"connection_id":172492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:07:49] local.INFO: IMEI packet received {"connection_id":172492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":172492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:07:54] local.INFO: TCP Data received {"connection_id":172492,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:07:54] local.INFO: Processing buffer {"connection_id":172492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:07:54] local.INFO: IMEI packet received {"connection_id":172492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":172492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:07:54] local.INFO: TCP Data received {"connection_id":172492,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:07:54] local.INFO: Processing buffer {"connection_id":172492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074586428012d532d00064970480006014727..."} 
[2026-09-06 07:07:54] local.INFO: Packet analysis {"connection_id":172492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:07:54] local.INFO: Extracted packet for processing {"connection_id":172492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07458"} 
[2026-09-06 07:07:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896459264001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:07:54] 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-09-06 07:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788658345000,"timestamp_ms":1788658345000,"timestamp_seconds":1788658345,"priority":1,"record_length":96,"hex_timestamp":"000001a074586428"} 
[2026-09-06 07:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:07: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-09-06 07:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:07:54] 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-09-06 07: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-09-06 07:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:07: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-09-06 07:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896459264001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896459264001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:07:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:07:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896459264001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":172492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:07:54] local.INFO: GPS data processed {"connection_id":172492,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:07:54] local.INFO: Acknowledgment sent {"connection_id":172492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:08:25] local.INFO: TCP Data received {"connection_id":172492,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:08:25] local.INFO: Processing buffer {"connection_id":172492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:08:25] local.INFO: Packet analysis {"connection_id":172492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:08:25] local.INFO: Extracted packet for processing {"connection_id":172492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:08:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896536320001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:08:25] 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-09-06 07:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788658646000,"timestamp_ms":1788658646000,"timestamp_seconds":1788658646,"priority":1,"record_length":96,"hex_timestamp":"000001a0745cfbf0"} 
[2026-09-06 07:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:08: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-09-06 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:08:25] 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-09-06 07: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-09-06 07:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:08: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-09-06 07:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896536320001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896536320001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:08:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:08:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896536320001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":172492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:08:25] local.INFO: GPS data processed {"connection_id":172492,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:08:25] local.INFO: Acknowledgment sent {"connection_id":172492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:08:38] local.INFO: TCP Data received {"connection_id":174953,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:08:38] local.INFO: Processing buffer {"connection_id":174953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:08:38] local.INFO: IMEI packet received {"connection_id":174953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 07:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":174953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:08:48] local.INFO: TCP Data received {"connection_id":173641,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:08:48] local.INFO: Processing buffer {"connection_id":173641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:08:48] local.INFO: IMEI packet received {"connection_id":173641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":173641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:08:54] local.INFO: TCP Data received {"connection_id":173641,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:08:54] local.INFO: Processing buffer {"connection_id":173641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:08:54] local.INFO: IMEI packet received {"connection_id":173641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":173641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:08:54] local.INFO: TCP Data received {"connection_id":173641,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:08:54] local.INFO: Processing buffer {"connection_id":173641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:08:54] local.INFO: Packet analysis {"connection_id":173641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:08:54] local.INFO: Extracted packet for processing {"connection_id":173641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:08:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896536320001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:08:54] 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-09-06 07:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788658646000,"timestamp_ms":1788658646000,"timestamp_seconds":1788658646,"priority":1,"record_length":96,"hex_timestamp":"000001a0745cfbf0"} 
[2026-09-06 07:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:08: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-09-06 07:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:08:54] 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-09-06 07:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:08: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-09-06 07:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896536320001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896536320001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:08:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:08:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896536320001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":173641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:08:54] local.INFO: GPS data processed {"connection_id":173641,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:08:54] local.INFO: Acknowledgment sent {"connection_id":173641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:09:12] local.INFO: TCP Data received {"connection_id":172493,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:09:12] local.INFO: Processing buffer {"connection_id":172493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:09:12] local.INFO: IMEI packet received {"connection_id":172493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 07:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":172493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:09:25] local.INFO: TCP Data received {"connection_id":173641,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:09:25] local.INFO: Processing buffer {"connection_id":173641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:09:25] local.INFO: Packet analysis {"connection_id":173641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:09:25] local.INFO: Extracted packet for processing {"connection_id":173641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:09:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 07:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896536320001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:09:25] 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-09-06 07:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788658646000,"timestamp_ms":1788658646000,"timestamp_seconds":1788658646,"priority":1,"record_length":96,"hex_timestamp":"000001a0745cfbf0"} 
[2026-09-06 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-09-06 07:09: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-09-06 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:09:25] 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-09-06 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-09-06 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-09-06 07:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:09: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-09-06 07:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896536320001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896536320001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:09:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:09:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896536320001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":173641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:09:25] local.INFO: GPS data processed {"connection_id":173641,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:09:25] local.INFO: Acknowledgment sent {"connection_id":173641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:09:54] local.INFO: TCP Data received {"connection_id":172265,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:09:54] local.INFO: Processing buffer {"connection_id":172265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:09:54] local.INFO: IMEI packet received {"connection_id":172265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":172265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:09:59] local.INFO: TCP Data received {"connection_id":172265,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:09:59] local.INFO: Processing buffer {"connection_id":172265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:09:59] local.INFO: IMEI packet received {"connection_id":172265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":172265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:10:00] local.INFO: TCP Data received {"connection_id":172265,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:10:00] local.INFO: Processing buffer {"connection_id":172265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:10:00] local.INFO: Packet analysis {"connection_id":172265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:10:00] local.INFO: Extracted packet for processing {"connection_id":172265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:10:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896536320001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:10:00] 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-09-06 07:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788658646000,"timestamp_ms":1788658646000,"timestamp_seconds":1788658646,"priority":1,"record_length":96,"hex_timestamp":"000001a0745cfbf0"} 
[2026-09-06 07:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07: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":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896536320001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896536320001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:10:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:10:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896536320001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":172265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:10:00] local.INFO: GPS data processed {"connection_id":172265,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:10:00] local.INFO: Acknowledgment sent {"connection_id":172265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:10:04] local.INFO: TCP Data received {"connection_id":172265,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:10:04] local.INFO: Processing buffer {"connection_id":172265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:10:04] local.INFO: Packet analysis {"connection_id":172265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:10:04] local.INFO: Extracted packet for processing {"connection_id":172265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:10:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896536320001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 07:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788658646000,"timestamp_ms":1788658646000,"timestamp_seconds":1788658646,"priority":1,"record_length":96,"hex_timestamp":"000001a0745cfbf0"} 
[2026-09-06 07:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:10: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-09-06 07:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:10:04] 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-09-06 07:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896536320001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896536320001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:10:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:10:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896536320001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":172265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:10:04] local.INFO: GPS data processed {"connection_id":172265,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:10:04] local.INFO: Acknowledgment sent {"connection_id":172265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:10:49] local.INFO: TCP Data received {"connection_id":172494,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:10:49] local.INFO: Processing buffer {"connection_id":172494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:10:49] local.INFO: IMEI packet received {"connection_id":172494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":172494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:10:54] local.INFO: TCP Data received {"connection_id":172494,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:10:54] local.INFO: Processing buffer {"connection_id":172494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:10:54] local.INFO: IMEI packet received {"connection_id":172494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":172494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:10:54] local.INFO: TCP Data received {"connection_id":172494,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:10:54] local.INFO: Processing buffer {"connection_id":172494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:10:54] local.INFO: Packet analysis {"connection_id":172494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:10:54] local.INFO: Extracted packet for processing {"connection_id":172494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:10:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896536320001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:10:54] 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-09-06 07:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788658646000,"timestamp_ms":1788658646000,"timestamp_seconds":1788658646,"priority":1,"record_length":96,"hex_timestamp":"000001a0745cfbf0"} 
[2026-09-06 07:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:10: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-09-06 07:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:10:54] 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-09-06 07: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-09-06 07:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:10: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-09-06 07:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896536320001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896536320001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:10:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:10:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896536320001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":172494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:10:54] local.INFO: GPS data processed {"connection_id":172494,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:10:54] local.INFO: Acknowledgment sent {"connection_id":172494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:11:26] local.INFO: TCP Data received {"connection_id":172494,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:11:26] local.INFO: Processing buffer {"connection_id":172494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:11:26] local.INFO: Packet analysis {"connection_id":172494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:11:26] local.INFO: Extracted packet for processing {"connection_id":172494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:11:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896536320001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:11: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-09-06 07:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788658646000,"timestamp_ms":1788658646000,"timestamp_seconds":1788658646,"priority":1,"record_length":96,"hex_timestamp":"000001a0745cfbf0"} 
[2026-09-06 07:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:11: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-09-06 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:11:26] 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-09-06 07: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-09-06 07:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:11: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-09-06 07:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896536320001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896536320001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:11:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:11:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896536320001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":172494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:11:26] local.INFO: GPS data processed {"connection_id":172494,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:11:26] local.INFO: Acknowledgment sent {"connection_id":172494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:11:49] local.INFO: TCP Data received {"connection_id":174955,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:11:49] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:11:49] local.INFO: IMEI packet received {"connection_id":174955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":174955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:11:54] local.INFO: TCP Data received {"connection_id":174955,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:11:54] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:11:54] local.INFO: IMEI packet received {"connection_id":174955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":174955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:11:56] local.INFO: TCP Data received {"connection_id":174955,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:11:56] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:11:56] local.INFO: Packet analysis {"connection_id":174955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:11:56] local.INFO: Extracted packet for processing {"connection_id":174955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:11:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896536320001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:11:56] 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-09-06 07:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788658646000,"timestamp_ms":1788658646000,"timestamp_seconds":1788658646,"priority":1,"record_length":96,"hex_timestamp":"000001a0745cfbf0"} 
[2026-09-06 07:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:11: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-09-06 07:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:11: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-09-06 07:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896536320001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896536320001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:11:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:11:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896536320001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":174955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:11:56] local.INFO: GPS data processed {"connection_id":174955,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:11:56] local.INFO: Acknowledgment sent {"connection_id":174955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:12:28] local.INFO: TCP Data received {"connection_id":174955,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:12:28] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:12:28] local.INFO: Packet analysis {"connection_id":174955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:12:28] local.INFO: Extracted packet for processing {"connection_id":174955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:12:28] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896536320001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:12:28] 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-09-06 07:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788658646000,"timestamp_ms":1788658646000,"timestamp_seconds":1788658646,"priority":1,"record_length":96,"hex_timestamp":"000001a0745cfbf0"} 
[2026-09-06 07:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:12:28] 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-09-06 07:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:12: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-09-06 07:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896536320001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896536320001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:12:28] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:12:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896536320001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":174955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:12:28] local.INFO: GPS data processed {"connection_id":174955,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:12:28] local.INFO: Acknowledgment sent {"connection_id":174955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:12:49] local.INFO: TCP Data received {"connection_id":172267,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:12:49] local.INFO: Processing buffer {"connection_id":172267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:12:49] local.INFO: IMEI packet received {"connection_id":172267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":172267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:12:54] local.INFO: TCP Data received {"connection_id":172267,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:12:54] local.INFO: Processing buffer {"connection_id":172267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:12:54] local.INFO: IMEI packet received {"connection_id":172267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":172267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:12:54] local.INFO: TCP Data received {"connection_id":172267,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:12:54] local.INFO: Processing buffer {"connection_id":172267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0745cfbf0012d532d00064970480006014728..."} 
[2026-09-06 07:12:54] local.INFO: Packet analysis {"connection_id":172267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:12:54] local.INFO: Extracted packet for processing {"connection_id":172267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0745c"} 
[2026-09-06 07:12:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896536320001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:12:54] 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-09-06 07:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788658646000,"timestamp_ms":1788658646000,"timestamp_seconds":1788658646,"priority":1,"record_length":96,"hex_timestamp":"000001a0745cfbf0"} 
[2026-09-06 07:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:12: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-09-06 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:12:54] 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-09-06 07: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-09-06 07:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:12: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-09-06 07:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896536320001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896536320001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:12:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:12:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896536320001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":172267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:12:54] local.INFO: GPS data processed {"connection_id":172267,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:12:54] local.INFO: Acknowledgment sent {"connection_id":172267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:13:25] local.INFO: TCP Data received {"connection_id":172267,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:13:25] local.INFO: Processing buffer {"connection_id":172267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:13:25] local.INFO: Packet analysis {"connection_id":172267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:13:25] local.INFO: Extracted packet for processing {"connection_id":172267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:13:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896613376001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:13:25] 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-09-06 07:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788658946000,"timestamp_ms":1788658946000,"timestamp_seconds":1788658946,"priority":1,"record_length":96,"hex_timestamp":"000001a074618fd0"} 
[2026-09-06 07:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:13: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-09-06 07:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:13:25] 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-09-06 07: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-09-06 07:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:13: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-09-06 07:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896613376001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896613376001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:13:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:13:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896613376001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":172267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:13:25] local.INFO: GPS data processed {"connection_id":172267,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:13:25] local.INFO: Acknowledgment sent {"connection_id":172267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:13:54] local.INFO: TCP Data received {"connection_id":173643,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:13:54] local.INFO: Processing buffer {"connection_id":173643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:13:54] local.INFO: IMEI packet received {"connection_id":173643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":173643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:13:59] local.INFO: TCP Data received {"connection_id":173643,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:13:59] local.INFO: Processing buffer {"connection_id":173643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:13:59] local.INFO: IMEI packet received {"connection_id":173643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":173643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:13:59] local.INFO: TCP Data received {"connection_id":173643,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:13:59] local.INFO: Processing buffer {"connection_id":173643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:13:59] local.INFO: Packet analysis {"connection_id":173643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:13:59] local.INFO: Extracted packet for processing {"connection_id":173643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:13:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896613376001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:13:59] 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-09-06 07:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788658946000,"timestamp_ms":1788658946000,"timestamp_seconds":1788658946,"priority":1,"record_length":96,"hex_timestamp":"000001a074618fd0"} 
[2026-09-06 07:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:13: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-09-06 07:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:13:59] 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-09-06 07:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896613376001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896613376001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:13:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:13:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896613376001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":173643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:13:59] local.INFO: GPS data processed {"connection_id":173643,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:13:59] local.INFO: Acknowledgment sent {"connection_id":173643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:14:04] local.INFO: TCP Data received {"connection_id":173643,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:14:04] local.INFO: Processing buffer {"connection_id":173643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:14:04] local.INFO: Packet analysis {"connection_id":173643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:14:04] local.INFO: Extracted packet for processing {"connection_id":173643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:14:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896613376001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 07:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788658946000,"timestamp_ms":1788658946000,"timestamp_seconds":1788658946,"priority":1,"record_length":96,"hex_timestamp":"000001a074618fd0"} 
[2026-09-06 07:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:14: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-09-06 07:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896613376001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896613376001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:14:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:14:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896613376001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":173643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:14:04] local.INFO: GPS data processed {"connection_id":173643,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:14:04] local.INFO: Acknowledgment sent {"connection_id":173643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:14:44] local.INFO: TCP Data received {"connection_id":172269,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:14:44] local.INFO: Processing buffer {"connection_id":172269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:14:44] local.INFO: IMEI packet received {"connection_id":172269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 07:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":172269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:14:49] local.INFO: TCP Data received {"connection_id":173644,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:14:49] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:14:49] local.INFO: IMEI packet received {"connection_id":173644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":173644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:14:54] local.INFO: TCP Data received {"connection_id":173644,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:14:54] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:14:54] local.INFO: IMEI packet received {"connection_id":173644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":173644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:14:54] local.INFO: TCP Data received {"connection_id":173644,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:14:54] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:14:54] local.INFO: Packet analysis {"connection_id":173644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:14:54] local.INFO: Extracted packet for processing {"connection_id":173644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:14:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896613376001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:14:54] 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-09-06 07:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788658946000,"timestamp_ms":1788658946000,"timestamp_seconds":1788658946,"priority":1,"record_length":96,"hex_timestamp":"000001a074618fd0"} 
[2026-09-06 07:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:14: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:14:54] 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-09-06 07: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-09-06 07:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896613376001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896613376001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:14:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:14:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896613376001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":173644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:14:54] local.INFO: GPS data processed {"connection_id":173644,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:14:54] local.INFO: Acknowledgment sent {"connection_id":173644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:15:12] local.INFO: TCP Data received {"connection_id":174956,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:15:12] local.INFO: Processing buffer {"connection_id":174956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:15:12] local.INFO: IMEI packet received {"connection_id":174956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 07:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":174956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:15:25] local.INFO: TCP Data received {"connection_id":173644,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:15:25] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:15:25] local.INFO: Packet analysis {"connection_id":173644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:15:25] local.INFO: Extracted packet for processing {"connection_id":173644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:15:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896613376001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:15:25] 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-09-06 07:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788658946000,"timestamp_ms":1788658946000,"timestamp_seconds":1788658946,"priority":1,"record_length":96,"hex_timestamp":"000001a074618fd0"} 
[2026-09-06 07:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:15: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:15:25] 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-09-06 07: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-09-06 07:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:15: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-09-06 07:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896613376001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896613376001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:15:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:15:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896613376001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":173644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:15:25] local.INFO: GPS data processed {"connection_id":173644,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:15:25] local.INFO: Acknowledgment sent {"connection_id":173644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:15:49] local.INFO: TCP Data received {"connection_id":172495,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:15:49] local.INFO: Processing buffer {"connection_id":172495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:15:49] local.INFO: IMEI packet received {"connection_id":172495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":172495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:15:54] local.INFO: TCP Data received {"connection_id":172495,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:15:54] local.INFO: Processing buffer {"connection_id":172495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:15:54] local.INFO: IMEI packet received {"connection_id":172495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":172495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:15:56] local.INFO: TCP Data received {"connection_id":172495,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:15:56] local.INFO: Processing buffer {"connection_id":172495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:15:56] local.INFO: Packet analysis {"connection_id":172495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:15:56] local.INFO: Extracted packet for processing {"connection_id":172495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:15:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896613376001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:15:56] 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-09-06 07:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788658946000,"timestamp_ms":1788658946000,"timestamp_seconds":1788658946,"priority":1,"record_length":96,"hex_timestamp":"000001a074618fd0"} 
[2026-09-06 07:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:15: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-09-06 07:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896613376001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896613376001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:15:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:15:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896613376001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":172495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:15:56] local.INFO: GPS data processed {"connection_id":172495,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:15:56] local.INFO: Acknowledgment sent {"connection_id":172495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:16:27] local.INFO: TCP Data received {"connection_id":172495,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:16:27] local.INFO: Processing buffer {"connection_id":172495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:16:27] local.INFO: Packet analysis {"connection_id":172495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:16:27] local.INFO: Extracted packet for processing {"connection_id":172495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:16:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896613376001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:16:27] 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-09-06 07:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788658946000,"timestamp_ms":1788658946000,"timestamp_seconds":1788658946,"priority":1,"record_length":96,"hex_timestamp":"000001a074618fd0"} 
[2026-09-06 07:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896613376001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896613376001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:16:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:16:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896613376001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":172495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:16:27] local.INFO: GPS data processed {"connection_id":172495,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:16:27] local.INFO: Acknowledgment sent {"connection_id":172495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:16:48] local.INFO: TCP Data received {"connection_id":172271,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:16:48] local.INFO: Processing buffer {"connection_id":172271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:16:48] local.INFO: IMEI packet received {"connection_id":172271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":172271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:16:54] local.INFO: TCP Data received {"connection_id":172271,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:16:54] local.INFO: Processing buffer {"connection_id":172271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:16:54] local.INFO: IMEI packet received {"connection_id":172271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":172271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:16:54] local.INFO: TCP Data received {"connection_id":172271,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:16:54] local.INFO: Processing buffer {"connection_id":172271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:16:54] local.INFO: Packet analysis {"connection_id":172271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:16:54] local.INFO: Extracted packet for processing {"connection_id":172271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:16:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896613376001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:16:54] 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-09-06 07:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788658946000,"timestamp_ms":1788658946000,"timestamp_seconds":1788658946,"priority":1,"record_length":96,"hex_timestamp":"000001a074618fd0"} 
[2026-09-06 07:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:16: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:16:54] 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-09-06 07: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-09-06 07:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:16: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-09-06 07:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896613376001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896613376001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:16:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:16:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896613376001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":172271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:16:54] local.INFO: GPS data processed {"connection_id":172271,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:16:54] local.INFO: Acknowledgment sent {"connection_id":172271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:17:26] local.INFO: TCP Data received {"connection_id":172271,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:17:26] local.INFO: Processing buffer {"connection_id":172271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:17:26] local.INFO: Packet analysis {"connection_id":172271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:17:26] local.INFO: Extracted packet for processing {"connection_id":172271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:17:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896613376001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:17: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-09-06 07:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788658946000,"timestamp_ms":1788658946000,"timestamp_seconds":1788658946,"priority":1,"record_length":96,"hex_timestamp":"000001a074618fd0"} 
[2026-09-06 07:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:17: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:17:26] 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-09-06 07: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-09-06 07:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:17:26] 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-09-06 07:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896613376001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896613376001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:17:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:17:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896613376001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":172271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:17:26] local.INFO: GPS data processed {"connection_id":172271,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:17:26] local.INFO: Acknowledgment sent {"connection_id":172271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:17:48] local.INFO: TCP Data received {"connection_id":174957,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:17:48] local.INFO: Processing buffer {"connection_id":174957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:17:48] local.INFO: IMEI packet received {"connection_id":174957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":174957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:17:54] local.INFO: TCP Data received {"connection_id":174957,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:17:54] local.INFO: Processing buffer {"connection_id":174957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:17:54] local.INFO: IMEI packet received {"connection_id":174957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":174957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:17:54] local.INFO: TCP Data received {"connection_id":174957,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:17:54] local.INFO: Processing buffer {"connection_id":174957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074618fd0012d532d00064970480006014726..."} 
[2026-09-06 07:17:54] local.INFO: Packet analysis {"connection_id":174957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:17:54] local.INFO: Extracted packet for processing {"connection_id":174957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07461"} 
[2026-09-06 07:17:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896613376001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:17:54] 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-09-06 07:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788658946000,"timestamp_ms":1788658946000,"timestamp_seconds":1788658946,"priority":1,"record_length":96,"hex_timestamp":"000001a074618fd0"} 
[2026-09-06 07:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:17: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:17:54] 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-09-06 07: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-09-06 07:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:17: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-09-06 07:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896613376001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896613376001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:17:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:17:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896613376001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":174957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:17:54] local.INFO: GPS data processed {"connection_id":174957,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:17:54] local.INFO: Acknowledgment sent {"connection_id":174957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:18:26] local.INFO: TCP Data received {"connection_id":174957,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:18:26] local.INFO: Processing buffer {"connection_id":174957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:18:26] local.INFO: Packet analysis {"connection_id":174957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:18:26] local.INFO: Extracted packet for processing {"connection_id":174957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:18:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896690176001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:18: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-09-06 07:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788659247000,"timestamp_ms":1788659247000,"timestamp_seconds":1788659247,"priority":1,"record_length":96,"hex_timestamp":"000001a074662798"} 
[2026-09-06 07:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:18:26] 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-09-06 07:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:18:26] 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-09-06 07:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896690176001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896690176001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:18:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:18:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896690176001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":174957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:18:26] local.INFO: GPS data processed {"connection_id":174957,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:18:26] local.INFO: Acknowledgment sent {"connection_id":174957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:18:49] local.INFO: TCP Data received {"connection_id":173645,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:18:49] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:18:49] local.INFO: IMEI packet received {"connection_id":173645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":173645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:18:54] local.INFO: TCP Data received {"connection_id":173645,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:18:54] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:18:54] local.INFO: IMEI packet received {"connection_id":173645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":173645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:18:54] local.INFO: TCP Data received {"connection_id":173645,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:18:54] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:18:54] local.INFO: Packet analysis {"connection_id":173645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:18:54] local.INFO: Extracted packet for processing {"connection_id":173645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:18:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896690176001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:18:54] 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-09-06 07:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788659247000,"timestamp_ms":1788659247000,"timestamp_seconds":1788659247,"priority":1,"record_length":96,"hex_timestamp":"000001a074662798"} 
[2026-09-06 07:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:18: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-09-06 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:18:54] 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-09-06 07: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-09-06 07:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896690176001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896690176001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:18:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:18:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896690176001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":173645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:18:54] local.INFO: GPS data processed {"connection_id":173645,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:18:54] local.INFO: Acknowledgment sent {"connection_id":173645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:19:25] local.INFO: TCP Data received {"connection_id":173645,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:19:25] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:19:25] local.INFO: Packet analysis {"connection_id":173645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:19:25] local.INFO: Extracted packet for processing {"connection_id":173645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:19:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 07:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896690176001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:19:25] 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-09-06 07:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788659247000,"timestamp_ms":1788659247000,"timestamp_seconds":1788659247,"priority":1,"record_length":96,"hex_timestamp":"000001a074662798"} 
[2026-09-06 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-09-06 07:19: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-09-06 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:19:25] 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-09-06 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-09-06 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-09-06 07:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896690176001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896690176001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:19:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:19:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896690176001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":173645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:19:25] local.INFO: GPS data processed {"connection_id":173645,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:19:25] local.INFO: Acknowledgment sent {"connection_id":173645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:19:49] local.INFO: TCP Data received {"connection_id":174959,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:19:49] local.INFO: Processing buffer {"connection_id":174959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:19:49] local.INFO: IMEI packet received {"connection_id":174959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":174959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:19:54] local.INFO: TCP Data received {"connection_id":174959,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:19:54] local.INFO: Processing buffer {"connection_id":174959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:19:54] local.INFO: IMEI packet received {"connection_id":174959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":174959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:19:54] local.INFO: TCP Data received {"connection_id":174959,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:19:54] local.INFO: Processing buffer {"connection_id":174959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:19:54] local.INFO: Packet analysis {"connection_id":174959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:19:54] local.INFO: Extracted packet for processing {"connection_id":174959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:19:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896690176001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:19:54] 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-09-06 07:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788659247000,"timestamp_ms":1788659247000,"timestamp_seconds":1788659247,"priority":1,"record_length":96,"hex_timestamp":"000001a074662798"} 
[2026-09-06 07:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:19: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-09-06 07: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":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:19:54] 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-09-06 07: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-09-06 07:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896690176001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896690176001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:19:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:19:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896690176001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":174959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:19:54] local.INFO: GPS data processed {"connection_id":174959,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:19:54] local.INFO: Acknowledgment sent {"connection_id":174959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:20:25] local.INFO: TCP Data received {"connection_id":174959,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:20:25] local.INFO: Processing buffer {"connection_id":174959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:20:25] local.INFO: Packet analysis {"connection_id":174959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:20:25] local.INFO: Extracted packet for processing {"connection_id":174959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:20:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 07:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896690176001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:20:25] 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-09-06 07:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788659247000,"timestamp_ms":1788659247000,"timestamp_seconds":1788659247,"priority":1,"record_length":96,"hex_timestamp":"000001a074662798"} 
[2026-09-06 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-09-06 07:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:20:25] 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-09-06 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-09-06 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-09-06 07:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896690176001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896690176001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:20:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:20:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896690176001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":174959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:20:25] local.INFO: GPS data processed {"connection_id":174959,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:20:25] local.INFO: Acknowledgment sent {"connection_id":174959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:20:32] local.INFO: TCP Data received {"connection_id":173646,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:20:33] local.INFO: Processing buffer {"connection_id":173646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:20:33] local.INFO: IMEI packet received {"connection_id":173646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 07:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":173646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:20:48] local.INFO: TCP Data received {"connection_id":172497,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:20:48] local.INFO: Processing buffer {"connection_id":172497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:20:48] local.INFO: IMEI packet received {"connection_id":172497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":172497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:20:54] local.INFO: TCP Data received {"connection_id":172497,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:20:54] local.INFO: Processing buffer {"connection_id":172497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:20:54] local.INFO: IMEI packet received {"connection_id":172497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":172497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:20:54] local.INFO: TCP Data received {"connection_id":172497,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:20:54] local.INFO: Processing buffer {"connection_id":172497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:20:54] local.INFO: Packet analysis {"connection_id":172497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:20:54] local.INFO: Extracted packet for processing {"connection_id":172497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:20:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896690176001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:20:54] 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-09-06 07:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788659247000,"timestamp_ms":1788659247000,"timestamp_seconds":1788659247,"priority":1,"record_length":96,"hex_timestamp":"000001a074662798"} 
[2026-09-06 07:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07: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-09-06 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:20:54] 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-09-06 07: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-09-06 07:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07: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-09-06 07:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896690176001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896690176001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:20:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:20:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896690176001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":172497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:20:54] local.INFO: GPS data processed {"connection_id":172497,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:20:54] local.INFO: Acknowledgment sent {"connection_id":172497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:21:25] local.INFO: TCP Data received {"connection_id":172497,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:21:25] local.INFO: Processing buffer {"connection_id":172497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:21:25] local.INFO: Packet analysis {"connection_id":172497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:21:25] local.INFO: Extracted packet for processing {"connection_id":172497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:21:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896690176001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:21:25] 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-09-06 07:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788659247000,"timestamp_ms":1788659247000,"timestamp_seconds":1788659247,"priority":1,"record_length":96,"hex_timestamp":"000001a074662798"} 
[2026-09-06 07:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:21:25] 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-09-06 07:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07: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-09-06 07:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896690176001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896690176001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:21:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:21:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896690176001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":172497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:21:25] local.INFO: GPS data processed {"connection_id":172497,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:21:25] local.INFO: Acknowledgment sent {"connection_id":172497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:21:54] local.INFO: TCP Data received {"connection_id":174960,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:21:54] local.INFO: Processing buffer {"connection_id":174960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:21:54] local.INFO: IMEI packet received {"connection_id":174960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":174960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:21:59] local.INFO: TCP Data received {"connection_id":174960,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:21:59] local.INFO: Processing buffer {"connection_id":174960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:21:59] local.INFO: IMEI packet received {"connection_id":174960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":174960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:21:59] local.INFO: TCP Data received {"connection_id":174960,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:21:59] local.INFO: Processing buffer {"connection_id":174960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:21:59] local.INFO: Packet analysis {"connection_id":174960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:21:59] local.INFO: Extracted packet for processing {"connection_id":174960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:21:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896690176001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:21:59] 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-09-06 07:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788659247000,"timestamp_ms":1788659247000,"timestamp_seconds":1788659247,"priority":1,"record_length":96,"hex_timestamp":"000001a074662798"} 
[2026-09-06 07:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:21: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-09-06 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:21:59] 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-09-06 07: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-09-06 07:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:21:59] 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-09-06 07:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896690176001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896690176001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:21:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:21:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896690176001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":174960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:21:59] local.INFO: GPS data processed {"connection_id":174960,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:21:59] local.INFO: Acknowledgment sent {"connection_id":174960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:22:04] local.INFO: TCP Data received {"connection_id":174960,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:22:04] local.INFO: Processing buffer {"connection_id":174960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:22:04] local.INFO: Packet analysis {"connection_id":174960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:22:04] local.INFO: Extracted packet for processing {"connection_id":174960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:22:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896690176001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 07:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788659247000,"timestamp_ms":1788659247000,"timestamp_seconds":1788659247,"priority":1,"record_length":96,"hex_timestamp":"000001a074662798"} 
[2026-09-06 07:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:22: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-09-06 07:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:22:04] 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-09-06 07:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:22:04] 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-09-06 07:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896690176001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896690176001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:22:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:22:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896690176001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":174960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:22:04] local.INFO: GPS data processed {"connection_id":174960,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:22:04] local.INFO: Acknowledgment sent {"connection_id":174960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:22:49] local.INFO: TCP Data received {"connection_id":172274,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:22:49] local.INFO: Processing buffer {"connection_id":172274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:22:49] local.INFO: IMEI packet received {"connection_id":172274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":172274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:22:54] local.INFO: TCP Data received {"connection_id":172274,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:22:54] local.INFO: Processing buffer {"connection_id":172274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:22:54] local.INFO: IMEI packet received {"connection_id":172274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":172274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:22:54] local.INFO: TCP Data received {"connection_id":172274,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:22:54] local.INFO: Processing buffer {"connection_id":172274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074662798012d532d00064970480006014725..."} 
[2026-09-06 07:22:54] local.INFO: Packet analysis {"connection_id":172274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:22:54] local.INFO: Extracted packet for processing {"connection_id":172274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07466"} 
[2026-09-06 07:22:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":37,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896690176001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:22:54] 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-09-06 07:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788659247000,"timestamp_ms":1788659247000,"timestamp_seconds":1788659247,"priority":1,"record_length":96,"hex_timestamp":"000001a074662798"} 
[2026-09-06 07:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:22: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-09-06 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:22:54] 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-09-06 07: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-09-06 07:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:22: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-09-06 07:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896690176001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896690176001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:22:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:22:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896690176001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":172274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:22:55] local.INFO: GPS data processed {"connection_id":172274,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:22:55] local.INFO: Acknowledgment sent {"connection_id":172274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:23:27] local.INFO: TCP Data received {"connection_id":172274,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:23:27] local.INFO: Processing buffer {"connection_id":172274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:23:27] local.INFO: Packet analysis {"connection_id":172274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:23:27] local.INFO: Extracted packet for processing {"connection_id":172274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:23:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896767232001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:23:27] 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-09-06 07:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788659548000,"timestamp_ms":1788659548000,"timestamp_seconds":1788659548,"priority":1,"record_length":96,"hex_timestamp":"000001a0746abf60"} 
[2026-09-06 07:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:23:27] 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-09-06 07:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896767232001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896767232001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:23:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:23:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896767232001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":172274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:23:27] local.INFO: GPS data processed {"connection_id":172274,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:23:27] local.INFO: Acknowledgment sent {"connection_id":172274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:23:49] local.INFO: TCP Data received {"connection_id":174961,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:23:49] local.INFO: Processing buffer {"connection_id":174961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:23:49] local.INFO: IMEI packet received {"connection_id":174961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":174961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:23:54] local.INFO: TCP Data received {"connection_id":174961,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:23:54] local.INFO: Processing buffer {"connection_id":174961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:23:54] local.INFO: IMEI packet received {"connection_id":174961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":174961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:23:54] local.INFO: TCP Data received {"connection_id":174961,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:23:54] local.INFO: Processing buffer {"connection_id":174961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:23:54] local.INFO: Packet analysis {"connection_id":174961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:23:54] local.INFO: Extracted packet for processing {"connection_id":174961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:23:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896767232001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:23:54] 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-09-06 07:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788659548000,"timestamp_ms":1788659548000,"timestamp_seconds":1788659548,"priority":1,"record_length":96,"hex_timestamp":"000001a0746abf60"} 
[2026-09-06 07:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:23: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-09-06 07:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:23:54] 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-09-06 07:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:23:54] 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-09-06 07:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896767232001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896767232001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:23:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:23:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896767232001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":174961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:23:54] local.INFO: GPS data processed {"connection_id":174961,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:23:54] local.INFO: Acknowledgment sent {"connection_id":174961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:24:25] local.INFO: TCP Data received {"connection_id":174961,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:24:25] local.INFO: Processing buffer {"connection_id":174961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:24:25] local.INFO: Packet analysis {"connection_id":174961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:24:25] local.INFO: Extracted packet for processing {"connection_id":174961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:24:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896767232001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:24:25] 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-09-06 07:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788659548000,"timestamp_ms":1788659548000,"timestamp_seconds":1788659548,"priority":1,"record_length":96,"hex_timestamp":"000001a0746abf60"} 
[2026-09-06 07:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:24: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-09-06 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:24:25] 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-09-06 07: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-09-06 07:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:24:25] 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-09-06 07:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896767232001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896767232001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:24:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:24:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896767232001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":174961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:24:25] local.INFO: GPS data processed {"connection_id":174961,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:24:25] local.INFO: Acknowledgment sent {"connection_id":174961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:24:48] local.INFO: TCP Data received {"connection_id":172498,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:24:48] local.INFO: Processing buffer {"connection_id":172498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:24:48] local.INFO: IMEI packet received {"connection_id":172498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":172498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:24:53] local.INFO: TCP Data received {"connection_id":172498,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:24:53] local.INFO: Processing buffer {"connection_id":172498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:24:53] local.INFO: IMEI packet received {"connection_id":172498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":172498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:24:54] local.INFO: TCP Data received {"connection_id":172498,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:24:54] local.INFO: Processing buffer {"connection_id":172498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:24:54] local.INFO: Packet analysis {"connection_id":172498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:24:54] local.INFO: Extracted packet for processing {"connection_id":172498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:24:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896767232001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:24:54] 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-09-06 07:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788659548000,"timestamp_ms":1788659548000,"timestamp_seconds":1788659548,"priority":1,"record_length":96,"hex_timestamp":"000001a0746abf60"} 
[2026-09-06 07:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:24: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-09-06 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:24:54] 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-09-06 07: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-09-06 07:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:24:54] 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-09-06 07:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896767232001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896767232001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:24:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:24:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896767232001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":172498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:24:54] local.INFO: GPS data processed {"connection_id":172498,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:24:54] local.INFO: Acknowledgment sent {"connection_id":172498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:25:25] local.INFO: TCP Data received {"connection_id":172498,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:25:25] local.INFO: Processing buffer {"connection_id":172498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:25:25] local.INFO: Packet analysis {"connection_id":172498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:25:25] local.INFO: Extracted packet for processing {"connection_id":172498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:25:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896767232001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:25:25] 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-09-06 07:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788659548000,"timestamp_ms":1788659548000,"timestamp_seconds":1788659548,"priority":1,"record_length":96,"hex_timestamp":"000001a0746abf60"} 
[2026-09-06 07:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:25:25] 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-09-06 07:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:25: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-09-06 07:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896767232001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896767232001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:25:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:25:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896767232001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":172498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:25:25] local.INFO: GPS data processed {"connection_id":172498,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:25:25] local.INFO: Acknowledgment sent {"connection_id":172498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:25:54] local.INFO: TCP Data received {"connection_id":173648,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:25:54] local.INFO: Processing buffer {"connection_id":173648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:25:54] local.INFO: IMEI packet received {"connection_id":173648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":173648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:25:59] local.INFO: TCP Data received {"connection_id":173648,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:25:59] local.INFO: Processing buffer {"connection_id":173648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:25:59] local.INFO: IMEI packet received {"connection_id":173648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":173648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:25:59] local.INFO: TCP Data received {"connection_id":173648,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:25:59] local.INFO: Processing buffer {"connection_id":173648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:25:59] local.INFO: Packet analysis {"connection_id":173648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:25:59] local.INFO: Extracted packet for processing {"connection_id":173648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:25:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896767232001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:25:59] 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-09-06 07:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788659548000,"timestamp_ms":1788659548000,"timestamp_seconds":1788659548,"priority":1,"record_length":96,"hex_timestamp":"000001a0746abf60"} 
[2026-09-06 07:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:25: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-09-06 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:25:59] 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-09-06 07: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-09-06 07:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:25:59] 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-09-06 07:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896767232001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896767232001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:25:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:25:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896767232001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":173648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:25:59] local.INFO: GPS data processed {"connection_id":173648,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:25:59] local.INFO: Acknowledgment sent {"connection_id":173648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:26:04] local.INFO: TCP Data received {"connection_id":173648,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:26:04] local.INFO: Processing buffer {"connection_id":173648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:26:04] local.INFO: Packet analysis {"connection_id":173648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:26:04] local.INFO: Extracted packet for processing {"connection_id":173648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:26:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896767232001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 07:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788659548000,"timestamp_ms":1788659548000,"timestamp_seconds":1788659548,"priority":1,"record_length":96,"hex_timestamp":"000001a0746abf60"} 
[2026-09-06 07:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:26: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-09-06 07:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:26:04] 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-09-06 07:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:26:04] 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-09-06 07:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896767232001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896767232001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:26:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:26:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896767232001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":173648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:26:04] local.INFO: GPS data processed {"connection_id":173648,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:26:04] local.INFO: Acknowledgment sent {"connection_id":173648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:26:12] local.INFO: TCP Data received {"connection_id":173649,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:26:12] local.INFO: Processing buffer {"connection_id":173649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:26:12] local.INFO: IMEI packet received {"connection_id":173649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 07:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":173649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:26:48] local.INFO: TCP Data received {"connection_id":174963,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:26:48] local.INFO: Processing buffer {"connection_id":174963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:26:48] local.INFO: IMEI packet received {"connection_id":174963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":174963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:26:53] local.INFO: TCP Data received {"connection_id":174963,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:26:53] local.INFO: Processing buffer {"connection_id":174963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:26:53] local.INFO: IMEI packet received {"connection_id":174963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":174963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:26:54] local.INFO: TCP Data received {"connection_id":174963,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:26:54] local.INFO: Processing buffer {"connection_id":174963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:26:54] local.INFO: Packet analysis {"connection_id":174963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:26:54] local.INFO: Extracted packet for processing {"connection_id":174963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:26:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896767232001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:26:54] 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-09-06 07:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788659548000,"timestamp_ms":1788659548000,"timestamp_seconds":1788659548,"priority":1,"record_length":96,"hex_timestamp":"000001a0746abf60"} 
[2026-09-06 07:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:26: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-09-06 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:26:54] 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-09-06 07: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-09-06 07:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:26:54] 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-09-06 07:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896767232001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896767232001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:26:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:26:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896767232001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":174963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:26:54] local.INFO: GPS data processed {"connection_id":174963,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:26:54] local.INFO: Acknowledgment sent {"connection_id":174963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:27:25] local.INFO: TCP Data received {"connection_id":174963,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:27:25] local.INFO: Processing buffer {"connection_id":174963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:27:25] local.INFO: Packet analysis {"connection_id":174963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:27:25] local.INFO: Extracted packet for processing {"connection_id":174963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:27:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896767232001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:27:25] 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-09-06 07:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788659548000,"timestamp_ms":1788659548000,"timestamp_seconds":1788659548,"priority":1,"record_length":96,"hex_timestamp":"000001a0746abf60"} 
[2026-09-06 07:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07: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-09-06 07: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":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:27:25] 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-09-06 07: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-09-06 07:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:27: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-09-06 07:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896767232001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896767232001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:27:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:27:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896767232001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":174963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:27:25] local.INFO: GPS data processed {"connection_id":174963,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:27:25] local.INFO: Acknowledgment sent {"connection_id":174963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:27:49] local.INFO: TCP Data received {"connection_id":172277,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:27:49] local.INFO: Processing buffer {"connection_id":172277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:27:49] local.INFO: IMEI packet received {"connection_id":172277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":172277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:27:53] local.INFO: TCP Data received {"connection_id":172277,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:27:53] local.INFO: Processing buffer {"connection_id":172277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:27:53] local.INFO: IMEI packet received {"connection_id":172277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":172277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:27:54] local.INFO: TCP Data received {"connection_id":172277,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:27:54] local.INFO: Processing buffer {"connection_id":172277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746abf60012d532d00064970480006014723..."} 
[2026-09-06 07:27:54] local.INFO: Packet analysis {"connection_id":172277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:27:54] local.INFO: Extracted packet for processing {"connection_id":172277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746a"} 
[2026-09-06 07:27:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896767232001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:27:54] 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-09-06 07:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788659548000,"timestamp_ms":1788659548000,"timestamp_seconds":1788659548,"priority":1,"record_length":96,"hex_timestamp":"000001a0746abf60"} 
[2026-09-06 07:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:27: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-09-06 07:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 07:27:54] 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-09-06 07:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:27:54] 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-09-06 07:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896767232001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896767232001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:27:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:27:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896767232001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":172277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:27:54] local.INFO: GPS data processed {"connection_id":172277,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:27:54] local.INFO: Acknowledgment sent {"connection_id":172277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:28:25] local.INFO: TCP Data received {"connection_id":172277,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:28:25] local.INFO: Processing buffer {"connection_id":172277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:28:25] local.INFO: Packet analysis {"connection_id":172277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:28:25] local.INFO: Extracted packet for processing {"connection_id":172277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:28:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896844288001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:28:25] 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-09-06 07:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788659849000,"timestamp_ms":1788659849000,"timestamp_seconds":1788659849,"priority":1,"record_length":96,"hex_timestamp":"000001a0746f5728"} 
[2026-09-06 07:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:28: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-09-06 07:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:28:25] 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-09-06 07:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:28: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-09-06 07:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896844288001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896844288001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:28:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:28:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896844288001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":172277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:28:25] local.INFO: GPS data processed {"connection_id":172277,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:28:25] local.INFO: Acknowledgment sent {"connection_id":172277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:28:48] local.INFO: TCP Data received {"connection_id":174964,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:28:48] local.INFO: Processing buffer {"connection_id":174964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:28:48] local.INFO: IMEI packet received {"connection_id":174964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":174964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:28:54] local.INFO: TCP Data received {"connection_id":174964,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:28:54] local.INFO: Processing buffer {"connection_id":174964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:28:54] local.INFO: IMEI packet received {"connection_id":174964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":174964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:28:54] local.INFO: TCP Data received {"connection_id":174964,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:28:54] local.INFO: Processing buffer {"connection_id":174964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:28:54] local.INFO: Packet analysis {"connection_id":174964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:28:54] local.INFO: Extracted packet for processing {"connection_id":174964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:28:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896844288001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:28:54] 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-09-06 07:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788659849000,"timestamp_ms":1788659849000,"timestamp_seconds":1788659849,"priority":1,"record_length":96,"hex_timestamp":"000001a0746f5728"} 
[2026-09-06 07:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:28: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-09-06 07:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:28:54] 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-09-06 07:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:28:54] 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-09-06 07:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896844288001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896844288001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:28:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:28:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896844288001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":174964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:28:54] local.INFO: GPS data processed {"connection_id":174964,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:28:54] local.INFO: Acknowledgment sent {"connection_id":174964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:29:25] local.INFO: TCP Data received {"connection_id":174964,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:29:25] local.INFO: Processing buffer {"connection_id":174964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:29:25] local.INFO: Packet analysis {"connection_id":174964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:29:25] local.INFO: Extracted packet for processing {"connection_id":174964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:29:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896844288001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:29:25] 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-09-06 07:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788659849000,"timestamp_ms":1788659849000,"timestamp_seconds":1788659849,"priority":1,"record_length":96,"hex_timestamp":"000001a0746f5728"} 
[2026-09-06 07:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:29:25] 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-09-06 07: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-09-06 07:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:29: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-09-06 07:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896844288001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896844288001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:29:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:29:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896844288001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":174964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:29:25] local.INFO: GPS data processed {"connection_id":174964,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:29:25] local.INFO: Acknowledgment sent {"connection_id":174964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:29:48] local.INFO: TCP Data received {"connection_id":172278,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:29:48] local.INFO: Processing buffer {"connection_id":172278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:29:48] local.INFO: IMEI packet received {"connection_id":172278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":172278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:29:53] local.INFO: TCP Data received {"connection_id":172278,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:29:53] local.INFO: Processing buffer {"connection_id":172278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:29:53] local.INFO: IMEI packet received {"connection_id":172278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":172278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:29:54] local.INFO: TCP Data received {"connection_id":172278,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:29:54] local.INFO: Processing buffer {"connection_id":172278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:29:54] local.INFO: Packet analysis {"connection_id":172278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:29:54] local.INFO: Extracted packet for processing {"connection_id":172278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:29:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896844288001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:29:54] 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-09-06 07:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788659849000,"timestamp_ms":1788659849000,"timestamp_seconds":1788659849,"priority":1,"record_length":96,"hex_timestamp":"000001a0746f5728"} 
[2026-09-06 07:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:29:54] 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-09-06 07: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-09-06 07:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:29: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-09-06 07:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896844288001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896844288001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:29:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:29:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896844288001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":172278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:29:54] local.INFO: GPS data processed {"connection_id":172278,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:29:54] local.INFO: Acknowledgment sent {"connection_id":172278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:30:25] local.INFO: TCP Data received {"connection_id":172278,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:30:25] local.INFO: Processing buffer {"connection_id":172278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:30:25] local.INFO: Packet analysis {"connection_id":172278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:30:25] local.INFO: Extracted packet for processing {"connection_id":172278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:30:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896844288001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:30:25] 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-09-06 07:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788659849000,"timestamp_ms":1788659849000,"timestamp_seconds":1788659849,"priority":1,"record_length":96,"hex_timestamp":"000001a0746f5728"} 
[2026-09-06 07:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:30: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:30:25] 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-09-06 07: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-09-06 07:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:30: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-09-06 07:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896844288001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896844288001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:30:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:30:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896844288001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":172278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:30:25] local.INFO: GPS data processed {"connection_id":172278,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:30:25] local.INFO: Acknowledgment sent {"connection_id":172278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:30:53] local.INFO: TCP Data received {"connection_id":172502,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:30:53] local.INFO: Processing buffer {"connection_id":172502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:30:53] local.INFO: IMEI packet received {"connection_id":172502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":172502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:30:58] local.INFO: TCP Data received {"connection_id":172502,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:30:58] local.INFO: Processing buffer {"connection_id":172502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:30:58] local.INFO: IMEI packet received {"connection_id":172502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":172502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:30:59] local.INFO: TCP Data received {"connection_id":172502,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:30:59] local.INFO: Processing buffer {"connection_id":172502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:30:59] local.INFO: Packet analysis {"connection_id":172502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:30:59] local.INFO: Extracted packet for processing {"connection_id":172502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:30:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896844288001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:30:59] 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-09-06 07:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788659849000,"timestamp_ms":1788659849000,"timestamp_seconds":1788659849,"priority":1,"record_length":96,"hex_timestamp":"000001a0746f5728"} 
[2026-09-06 07:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:30: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-09-06 07:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:30:59] 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-09-06 07:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:30:59] 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-09-06 07:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896844288001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896844288001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:30:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:30:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896844288001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":172502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:30:59] local.INFO: GPS data processed {"connection_id":172502,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:30:59] local.INFO: Acknowledgment sent {"connection_id":172502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:31:30] local.INFO: TCP Data received {"connection_id":172502,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:31:30] local.INFO: Processing buffer {"connection_id":172502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:31:30] local.INFO: Packet analysis {"connection_id":172502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:31:30] local.INFO: Extracted packet for processing {"connection_id":172502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:31:30] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896844288001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:31:30] 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-09-06 07:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788659849000,"timestamp_ms":1788659849000,"timestamp_seconds":1788659849,"priority":1,"record_length":96,"hex_timestamp":"000001a0746f5728"} 
[2026-09-06 07:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:31:30] 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-09-06 07:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896844288001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896844288001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:31:30] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:31:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896844288001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":172502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:31:30] local.INFO: GPS data processed {"connection_id":172502,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:31:30] local.INFO: Acknowledgment sent {"connection_id":172502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:31:33] local.INFO: TCP Data received {"connection_id":172279,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:31:33] local.INFO: Processing buffer {"connection_id":172279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:31:33] local.INFO: IMEI packet received {"connection_id":172279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 07:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":172279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:31:49] local.INFO: TCP Data received {"connection_id":172280,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:31:49] local.INFO: Processing buffer {"connection_id":172280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:31:49] local.INFO: IMEI packet received {"connection_id":172280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":172280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:31:54] local.INFO: TCP Data received {"connection_id":172280,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:31:54] local.INFO: Processing buffer {"connection_id":172280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:31:54] local.INFO: IMEI packet received {"connection_id":172280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":172280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:31:55] local.INFO: TCP Data received {"connection_id":172280,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:31:55] local.INFO: Processing buffer {"connection_id":172280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:31:55] local.INFO: Packet analysis {"connection_id":172280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:31:55] local.INFO: Extracted packet for processing {"connection_id":172280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:31:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896844288001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 07:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788659849000,"timestamp_ms":1788659849000,"timestamp_seconds":1788659849,"priority":1,"record_length":96,"hex_timestamp":"000001a0746f5728"} 
[2026-09-06 07:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:31:55] 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-09-06 07: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-09-06 07:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:31:55] 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-09-06 07:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896844288001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896844288001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:31:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:31:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896844288001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":172280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:31:55] local.INFO: GPS data processed {"connection_id":172280,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:31:55] local.INFO: Acknowledgment sent {"connection_id":172280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:32:26] local.INFO: TCP Data received {"connection_id":172280,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:32:26] local.INFO: Processing buffer {"connection_id":172280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:32:26] local.INFO: Packet analysis {"connection_id":172280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:32:26] local.INFO: Extracted packet for processing {"connection_id":172280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:32:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896844288001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:32: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-09-06 07:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788659849000,"timestamp_ms":1788659849000,"timestamp_seconds":1788659849,"priority":1,"record_length":96,"hex_timestamp":"000001a0746f5728"} 
[2026-09-06 07:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:32: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-09-06 07: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":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:32:26] 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-09-06 07: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-09-06 07:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:32:26] 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-09-06 07:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896844288001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896844288001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:32:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:32:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896844288001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":172280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:32:26] local.INFO: GPS data processed {"connection_id":172280,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:32:26] local.INFO: Acknowledgment sent {"connection_id":172280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:32:48] local.INFO: TCP Data received {"connection_id":172503,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:32:48] local.INFO: Processing buffer {"connection_id":172503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:32:48] local.INFO: IMEI packet received {"connection_id":172503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":172503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:32:54] local.INFO: TCP Data received {"connection_id":172503,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:32:54] local.INFO: Processing buffer {"connection_id":172503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:32:54] local.INFO: IMEI packet received {"connection_id":172503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":172503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:32:54] local.INFO: TCP Data received {"connection_id":172503,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:32:54] local.INFO: Processing buffer {"connection_id":172503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0746f5728012d532d00064970480006014726..."} 
[2026-09-06 07:32:54] local.INFO: Packet analysis {"connection_id":172503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:32:54] local.INFO: Extracted packet for processing {"connection_id":172503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0746f"} 
[2026-09-06 07:32:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896844288001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:32:54] 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-09-06 07:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788659849000,"timestamp_ms":1788659849000,"timestamp_seconds":1788659849,"priority":1,"record_length":96,"hex_timestamp":"000001a0746f5728"} 
[2026-09-06 07:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:32: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-09-06 07:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:32:54] 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-09-06 07:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:32: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-09-06 07:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896844288001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896844288001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:32:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:32:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896844288001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":172503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:32:54] local.INFO: GPS data processed {"connection_id":172503,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:32:54] local.INFO: Acknowledgment sent {"connection_id":172503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:33:25] local.INFO: TCP Data received {"connection_id":172503,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:33:25] local.INFO: Processing buffer {"connection_id":172503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:33:25] local.INFO: Packet analysis {"connection_id":172503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:33:25] local.INFO: Extracted packet for processing {"connection_id":172503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:33:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896921344001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:33:25] 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-09-06 07:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788660150000,"timestamp_ms":1788660150000,"timestamp_seconds":1788660150,"priority":1,"record_length":96,"hex_timestamp":"000001a07473eef0"} 
[2026-09-06 07:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:33: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:33:25] 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-09-06 07: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-09-06 07:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:33: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-09-06 07:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896921344001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896921344001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:33:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:33:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896921344001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":172503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:33:25] local.INFO: GPS data processed {"connection_id":172503,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:33:25] local.INFO: Acknowledgment sent {"connection_id":172503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:33:54] local.INFO: TCP Data received {"connection_id":174967,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:33:54] local.INFO: Processing buffer {"connection_id":174967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:33:54] local.INFO: IMEI packet received {"connection_id":174967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":174967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:33:59] local.INFO: TCP Data received {"connection_id":174967,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:33:59] local.INFO: Processing buffer {"connection_id":174967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:33:59] local.INFO: IMEI packet received {"connection_id":174967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":174967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:33:59] local.INFO: TCP Data received {"connection_id":174967,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:33:59] local.INFO: Processing buffer {"connection_id":174967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:33:59] local.INFO: Packet analysis {"connection_id":174967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:33:59] local.INFO: Extracted packet for processing {"connection_id":174967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:33:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896921344001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:33:59] 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-09-06 07:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788660150000,"timestamp_ms":1788660150000,"timestamp_seconds":1788660150,"priority":1,"record_length":96,"hex_timestamp":"000001a07473eef0"} 
[2026-09-06 07:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:33:59] 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-09-06 07: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-09-06 07:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:33:59] 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-09-06 07:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896921344001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896921344001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:33:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:33:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896921344001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":174967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:33:59] local.INFO: GPS data processed {"connection_id":174967,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:33:59] local.INFO: Acknowledgment sent {"connection_id":174967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:34:04] local.INFO: TCP Data received {"connection_id":174967,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:34:04] local.INFO: Processing buffer {"connection_id":174967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:34:04] local.INFO: Packet analysis {"connection_id":174967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:34:04] local.INFO: Extracted packet for processing {"connection_id":174967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:34:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896921344001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 07:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788660150000,"timestamp_ms":1788660150000,"timestamp_seconds":1788660150,"priority":1,"record_length":96,"hex_timestamp":"000001a07473eef0"} 
[2026-09-06 07:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:34:04] 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-09-06 07:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896921344001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896921344001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:34:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:34:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896921344001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":174967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:34:04] local.INFO: GPS data processed {"connection_id":174967,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:34:04] local.INFO: Acknowledgment sent {"connection_id":174967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:34:48] local.INFO: TCP Data received {"connection_id":173651,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:34:48] local.INFO: Processing buffer {"connection_id":173651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:34:48] local.INFO: IMEI packet received {"connection_id":173651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":173651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:34:54] local.INFO: TCP Data received {"connection_id":173651,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:34:54] local.INFO: Processing buffer {"connection_id":173651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:34:54] local.INFO: IMEI packet received {"connection_id":173651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":173651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:34:55] local.INFO: TCP Data received {"connection_id":173651,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:34:55] local.INFO: Processing buffer {"connection_id":173651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:34:55] local.INFO: Packet analysis {"connection_id":173651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:34:55] local.INFO: Extracted packet for processing {"connection_id":173651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:34:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896921344001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 07:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788660150000,"timestamp_ms":1788660150000,"timestamp_seconds":1788660150,"priority":1,"record_length":96,"hex_timestamp":"000001a07473eef0"} 
[2026-09-06 07:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:34:55] 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-09-06 07:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:34:55] 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-09-06 07:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896921344001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896921344001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:34:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:34:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896921344001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":173651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:34:55] local.INFO: GPS data processed {"connection_id":173651,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:34:55] local.INFO: Acknowledgment sent {"connection_id":173651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:34:59] local.INFO: TCP Data received {"connection_id":173651,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:34:59] local.INFO: Processing buffer {"connection_id":173651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:34:59] local.INFO: Packet analysis {"connection_id":173651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:34:59] local.INFO: Extracted packet for processing {"connection_id":173651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:34:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896921344001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:34:59] 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-09-06 07:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788660150000,"timestamp_ms":1788660150000,"timestamp_seconds":1788660150,"priority":1,"record_length":96,"hex_timestamp":"000001a07473eef0"} 
[2026-09-06 07:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:34:59] 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-09-06 07:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:34:59] 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-09-06 07:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896921344001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896921344001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:34:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:34:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896921344001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":173651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:34:59] local.INFO: GPS data processed {"connection_id":173651,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:34:59] local.INFO: Acknowledgment sent {"connection_id":173651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:35:30] local.INFO: TCP Data received {"connection_id":173651,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:35:30] local.INFO: Processing buffer {"connection_id":173651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:35:30] local.INFO: Packet analysis {"connection_id":173651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:35:30] local.INFO: Extracted packet for processing {"connection_id":173651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:35:30] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896921344001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:35:30] 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-09-06 07:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788660150000,"timestamp_ms":1788660150000,"timestamp_seconds":1788660150,"priority":1,"record_length":96,"hex_timestamp":"000001a07473eef0"} 
[2026-09-06 07:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:35:30] 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-09-06 07: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-09-06 07:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:35:30] 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-09-06 07:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896921344001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896921344001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:35:30] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:35:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896921344001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":173651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:35:30] local.INFO: GPS data processed {"connection_id":173651,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:35:30] local.INFO: Acknowledgment sent {"connection_id":173651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:35:48] local.INFO: TCP Data received {"connection_id":174968,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:35:48] local.INFO: Processing buffer {"connection_id":174968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:35:48] local.INFO: IMEI packet received {"connection_id":174968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":174968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:35:54] local.INFO: TCP Data received {"connection_id":174968,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:35:54] local.INFO: Processing buffer {"connection_id":174968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:35:54] local.INFO: IMEI packet received {"connection_id":174968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":174968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:35:55] local.INFO: TCP Data received {"connection_id":174968,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:35:55] local.INFO: Processing buffer {"connection_id":174968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:35:55] local.INFO: Packet analysis {"connection_id":174968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:35:55] local.INFO: Extracted packet for processing {"connection_id":174968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:35:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896921344001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 07:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788660150000,"timestamp_ms":1788660150000,"timestamp_seconds":1788660150,"priority":1,"record_length":96,"hex_timestamp":"000001a07473eef0"} 
[2026-09-06 07:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:35:55] 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-09-06 07:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:35:55] 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-09-06 07:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896921344001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896921344001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:35:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:35:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896921344001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":174968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:35:55] local.INFO: GPS data processed {"connection_id":174968,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:35:55] local.INFO: Acknowledgment sent {"connection_id":174968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:36:26] local.INFO: TCP Data received {"connection_id":174968,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:36:26] local.INFO: Processing buffer {"connection_id":174968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:36:26] local.INFO: Packet analysis {"connection_id":174968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:36:26] local.INFO: Extracted packet for processing {"connection_id":174968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:36:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896921344001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:36: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-09-06 07:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788660150000,"timestamp_ms":1788660150000,"timestamp_seconds":1788660150,"priority":1,"record_length":96,"hex_timestamp":"000001a07473eef0"} 
[2026-09-06 07:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:36: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:36:26] 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-09-06 07: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-09-06 07:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:36:26] 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-09-06 07:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896921344001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896921344001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:36:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:36:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896921344001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":174968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:36:26] local.INFO: GPS data processed {"connection_id":174968,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:36:26] local.INFO: Acknowledgment sent {"connection_id":174968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:36:49] local.INFO: TCP Data received {"connection_id":173652,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:36:49] local.INFO: Processing buffer {"connection_id":173652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:36:49] local.INFO: IMEI packet received {"connection_id":173652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":173652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:36:53] local.INFO: TCP Data received {"connection_id":173652,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:36:53] local.INFO: Processing buffer {"connection_id":173652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:36:53] local.INFO: IMEI packet received {"connection_id":173652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":173652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:36:54] local.INFO: TCP Data received {"connection_id":173652,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:36:54] local.INFO: Processing buffer {"connection_id":173652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:36:54] local.INFO: Packet analysis {"connection_id":173652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:36:54] local.INFO: Extracted packet for processing {"connection_id":173652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:36:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896921344001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:36:54] 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-09-06 07:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788660150000,"timestamp_ms":1788660150000,"timestamp_seconds":1788660150,"priority":1,"record_length":96,"hex_timestamp":"000001a07473eef0"} 
[2026-09-06 07:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:36: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-09-06 07: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":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:36:54] 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-09-06 07: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-09-06 07:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:36:54] 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-09-06 07:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896921344001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896921344001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:36:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:36:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896921344001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":173652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:36:54] local.INFO: GPS data processed {"connection_id":173652,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:36:54] local.INFO: Acknowledgment sent {"connection_id":173652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:37:12] local.INFO: TCP Data received {"connection_id":173653,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:37:12] local.INFO: Processing buffer {"connection_id":173653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:37:12] local.INFO: IMEI packet received {"connection_id":173653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 07:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":173653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:37:17] local.INFO: TCP Data received {"connection_id":173653,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:37:17] local.INFO: Processing buffer {"connection_id":173653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:37:17] local.INFO: IMEI packet received {"connection_id":173653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 07:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":173653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:37:18] local.INFO: TCP Data received {"connection_id":173653,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a074677f58012ca3c70009420f4002b2014d2c..."} 
[2026-09-06 07:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074677f58012ca3c70009420f4002b2014d2c..."} 
[2026-09-06 07:37:18] local.INFO: Processing buffer {"connection_id":173653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074677f58012ca3c70009420f4002b2014d2c..."} 
[2026-09-06 07:37:18] local.INFO: Packet analysis {"connection_id":173653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07467"} 
[2026-09-06 07:37:18] local.INFO: Extracted packet for processing {"connection_id":173653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07467"} 
[2026-09-06 07:37:18] local.INFO: GPS Element Parsed {"raw_longitude":748930816,"raw_latitude":155324224,"longitude_deg":74.8930816,"latitude_deg":15.5324224,"altitude":690,"angle":333,"satellites":44,"speed":0,"hex_longitude":"2ca3c700","hex_latitude":"09420f40","is_valid_coordinates":true} 
[2026-09-06 07:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896712704001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2121292937428992,"note":"Value kept but may cause issues"} 
[2026-09-06 07:37:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6645342685398876158,"note":"Value kept but may cause issues"} 
[2026-09-06 07:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,253,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 07:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788659335000,"timestamp_ms":1788659335000,"timestamp_seconds":1788659335,"priority":1,"record_length":96,"hex_timestamp":"000001a074677f58"} 
[2026-09-06 07:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:37: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-09-06 07:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 07:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 07:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 07:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 07:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 07:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896712704001,"66":25343,"100":206,"253":60160,"24":0,"16":2121292937428992,"44":-6645342685398876158},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,253,24,16,44]} 
[2026-09-06 07:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 07:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 07:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896712704001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:37:18] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-06 07:37:18] local.INFO: Unknown IO ID detected {"io_id":253,"value":60160,"description":"Unknown IO ID 253"} 
[2026-09-06 07:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2121292937428992,"km_value":2121292937428.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:37:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6645342685398876158,"description":"Unknown IO ID 44"} 
[2026-09-06 07:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896712704001,"power":25343,"unknown_100":206,"unknown_253":60160,"ignition":0,"odometer":null,"unknown_44":-6645342685398876158}} 
[2026-09-06 07:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":173653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772927,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:37:19] local.INFO: GPS data processed {"connection_id":173653,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:37:19] local.INFO: Acknowledgment sent {"connection_id":173653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:37:25] local.INFO: TCP Data received {"connection_id":173652,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:37:25] local.INFO: Processing buffer {"connection_id":173652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:37:25] local.INFO: Packet analysis {"connection_id":173652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:37:25] local.INFO: Extracted packet for processing {"connection_id":173652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:37:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896921344001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:37:25] 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-09-06 07:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788660150000,"timestamp_ms":1788660150000,"timestamp_seconds":1788660150,"priority":1,"record_length":96,"hex_timestamp":"000001a07473eef0"} 
[2026-09-06 07:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:37: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:37:25] 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-09-06 07: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-09-06 07:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:37:25] 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-09-06 07:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896921344001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896921344001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:37:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:37:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896921344001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":173652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:37:25] local.INFO: GPS data processed {"connection_id":173652,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:37:25] local.INFO: Acknowledgment sent {"connection_id":173652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:37:48] local.INFO: TCP Data received {"connection_id":172283,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:37:48] local.INFO: Processing buffer {"connection_id":172283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:37:48] local.INFO: IMEI packet received {"connection_id":172283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":172283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:37:53] local.INFO: TCP Data received {"connection_id":172283,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:37:53] local.INFO: Processing buffer {"connection_id":172283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:37:53] local.INFO: IMEI packet received {"connection_id":172283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":172283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:37:54] local.INFO: TCP Data received {"connection_id":172283,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:37:54] local.INFO: Processing buffer {"connection_id":172283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07473eef0012d532d00064970480006014727..."} 
[2026-09-06 07:37:54] local.INFO: Packet analysis {"connection_id":172283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:37:54] local.INFO: Extracted packet for processing {"connection_id":172283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07473"} 
[2026-09-06 07:37:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896921344001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:37:54] 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-09-06 07:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788660150000,"timestamp_ms":1788660150000,"timestamp_seconds":1788660150,"priority":1,"record_length":96,"hex_timestamp":"000001a07473eef0"} 
[2026-09-06 07:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:37: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:37:54] 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-09-06 07: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-09-06 07:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:37:54] 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-09-06 07:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896921344001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896921344001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:37:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:37:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896921344001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":172283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:37:54] local.INFO: GPS data processed {"connection_id":172283,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:37:54] local.INFO: Acknowledgment sent {"connection_id":172283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:38:02] local.INFO: TCP Data received {"connection_id":174970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:38:03] local.INFO: Processing buffer {"connection_id":174970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:38:03] local.INFO: IMEI packet received {"connection_id":174970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 07:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":174970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:38:25] local.INFO: TCP Data received {"connection_id":172283,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:38:25] local.INFO: Processing buffer {"connection_id":172283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:38:25] local.INFO: Packet analysis {"connection_id":172283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:38:25] local.INFO: Extracted packet for processing {"connection_id":172283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:38:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896998400001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:38:25] 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-09-06 07:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788660451000,"timestamp_ms":1788660451000,"timestamp_seconds":1788660451,"priority":1,"record_length":96,"hex_timestamp":"000001a0747886b8"} 
[2026-09-06 07:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:38: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-09-06 07: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 07:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:38:25] 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-09-06 07:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896998400001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896998400001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:38:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:38:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896998400001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":172283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:38:25] local.INFO: GPS data processed {"connection_id":172283,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:38:25] local.INFO: Acknowledgment sent {"connection_id":172283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:38:49] local.INFO: TCP Data received {"connection_id":172504,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:38:49] local.INFO: Processing buffer {"connection_id":172504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:38:49] local.INFO: IMEI packet received {"connection_id":172504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":172504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:38:53] local.INFO: TCP Data received {"connection_id":172504,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:38:53] local.INFO: Processing buffer {"connection_id":172504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:38:53] local.INFO: IMEI packet received {"connection_id":172504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":172504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:38:54] local.INFO: TCP Data received {"connection_id":172504,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:38:54] local.INFO: Processing buffer {"connection_id":172504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:38:54] local.INFO: Packet analysis {"connection_id":172504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:38:54] local.INFO: Extracted packet for processing {"connection_id":172504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:38:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896998400001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:38:54] 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-09-06 07:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788660451000,"timestamp_ms":1788660451000,"timestamp_seconds":1788660451,"priority":1,"record_length":96,"hex_timestamp":"000001a0747886b8"} 
[2026-09-06 07:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:38: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-09-06 07: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 07:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07: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-09-06 07:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896998400001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896998400001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:38:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:38:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896998400001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":172504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:38:54] local.INFO: GPS data processed {"connection_id":172504,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:38:54] local.INFO: Acknowledgment sent {"connection_id":172504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:39:25] local.INFO: TCP Data received {"connection_id":172504,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:39:25] local.INFO: Processing buffer {"connection_id":172504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:39:25] local.INFO: Packet analysis {"connection_id":172504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:39:25] local.INFO: Extracted packet for processing {"connection_id":172504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:39:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896998400001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:39:25] 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-09-06 07:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788660451000,"timestamp_ms":1788660451000,"timestamp_seconds":1788660451,"priority":1,"record_length":96,"hex_timestamp":"000001a0747886b8"} 
[2026-09-06 07:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:39: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-09-06 07: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 07:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:39: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-09-06 07:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896998400001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896998400001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:39:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:39:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896998400001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":172504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:39:25] local.INFO: GPS data processed {"connection_id":172504,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:39:25] local.INFO: Acknowledgment sent {"connection_id":172504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:39:48] local.INFO: TCP Data received {"connection_id":172505,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:39:48] local.INFO: Processing buffer {"connection_id":172505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:39:48] local.INFO: IMEI packet received {"connection_id":172505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":172505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:39:53] local.INFO: TCP Data received {"connection_id":172505,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:39:53] local.INFO: Processing buffer {"connection_id":172505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:39:53] local.INFO: IMEI packet received {"connection_id":172505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":172505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:39:54] local.INFO: TCP Data received {"connection_id":172505,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:39:54] local.INFO: Processing buffer {"connection_id":172505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:39:54] local.INFO: Packet analysis {"connection_id":172505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:39:54] local.INFO: Extracted packet for processing {"connection_id":172505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:39:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896998400001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:39:54] 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-09-06 07:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788660451000,"timestamp_ms":1788660451000,"timestamp_seconds":1788660451,"priority":1,"record_length":96,"hex_timestamp":"000001a0747886b8"} 
[2026-09-06 07:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:39: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-09-06 07: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 07:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:39:54] 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-09-06 07:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896998400001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896998400001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:39:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:39:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896998400001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":172505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:39:54] local.INFO: GPS data processed {"connection_id":172505,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:39:54] local.INFO: Acknowledgment sent {"connection_id":172505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:40:25] local.INFO: TCP Data received {"connection_id":172505,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:40:25] local.INFO: Processing buffer {"connection_id":172505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:40:25] local.INFO: Packet analysis {"connection_id":172505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:40:25] local.INFO: Extracted packet for processing {"connection_id":172505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:40:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896998400001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:40:25] 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-09-06 07:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788660451000,"timestamp_ms":1788660451000,"timestamp_seconds":1788660451,"priority":1,"record_length":96,"hex_timestamp":"000001a0747886b8"} 
[2026-09-06 07:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:40: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-09-06 07: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 07:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:40: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-09-06 07:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896998400001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896998400001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:40:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:40:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896998400001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":172505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:40:25] local.INFO: GPS data processed {"connection_id":172505,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:40:25] local.INFO: Acknowledgment sent {"connection_id":172505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:40:48] local.INFO: TCP Data received {"connection_id":172506,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:40:48] local.INFO: Processing buffer {"connection_id":172506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:40:48] local.INFO: IMEI packet received {"connection_id":172506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":172506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:40:53] local.INFO: TCP Data received {"connection_id":172506,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:40:53] local.INFO: Processing buffer {"connection_id":172506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:40:53] local.INFO: IMEI packet received {"connection_id":172506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":172506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:40:54] local.INFO: TCP Data received {"connection_id":172506,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:40:54] local.INFO: Processing buffer {"connection_id":172506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:40:54] local.INFO: Packet analysis {"connection_id":172506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:40:54] local.INFO: Extracted packet for processing {"connection_id":172506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:40:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896998400001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:40:54] 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-09-06 07:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788660451000,"timestamp_ms":1788660451000,"timestamp_seconds":1788660451,"priority":1,"record_length":96,"hex_timestamp":"000001a0747886b8"} 
[2026-09-06 07:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:40: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-09-06 07: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":70,"data_length":795,"current_offset":136} 
[2026-09-06 07:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:40: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-09-06 07:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896998400001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896998400001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:40:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:40:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896998400001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":172506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:40:54] local.INFO: GPS data processed {"connection_id":172506,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:40:54] local.INFO: Acknowledgment sent {"connection_id":172506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:41:25] local.INFO: TCP Data received {"connection_id":172506,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:41:25] local.INFO: Processing buffer {"connection_id":172506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:41:25] local.INFO: Packet analysis {"connection_id":172506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:41:25] local.INFO: Extracted packet for processing {"connection_id":172506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:41:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896998400001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:41:25] 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-09-06 07:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788660451000,"timestamp_ms":1788660451000,"timestamp_seconds":1788660451,"priority":1,"record_length":96,"hex_timestamp":"000001a0747886b8"} 
[2026-09-06 07:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:41: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-09-06 07: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":70,"data_length":795,"current_offset":136} 
[2026-09-06 07:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:41: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-09-06 07:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896998400001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896998400001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:41:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:41:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896998400001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":172506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:41:25] local.INFO: GPS data processed {"connection_id":172506,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:41:25] local.INFO: Acknowledgment sent {"connection_id":172506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:41:48] local.INFO: TCP Data received {"connection_id":174971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:41:48] local.INFO: Processing buffer {"connection_id":174971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:41:48] local.INFO: IMEI packet received {"connection_id":174971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":174971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:41:53] local.INFO: TCP Data received {"connection_id":174971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:41:53] local.INFO: Processing buffer {"connection_id":174971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:41:53] local.INFO: IMEI packet received {"connection_id":174971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":174971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:41:54] local.INFO: TCP Data received {"connection_id":174971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:41:54] local.INFO: Processing buffer {"connection_id":174971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:41:54] local.INFO: Packet analysis {"connection_id":174971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:41:54] local.INFO: Extracted packet for processing {"connection_id":174971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:41:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896998400001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:41:54] 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-09-06 07:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788660451000,"timestamp_ms":1788660451000,"timestamp_seconds":1788660451,"priority":1,"record_length":96,"hex_timestamp":"000001a0747886b8"} 
[2026-09-06 07:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:41: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-09-06 07: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 07:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:41: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-09-06 07:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896998400001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896998400001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:41:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:41:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896998400001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":174971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:41:54] local.INFO: GPS data processed {"connection_id":174971,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:41:54] local.INFO: Acknowledgment sent {"connection_id":174971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:42:25] local.INFO: TCP Data received {"connection_id":174971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:42:25] local.INFO: Processing buffer {"connection_id":174971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:42:25] local.INFO: Packet analysis {"connection_id":174971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:42:25] local.INFO: Extracted packet for processing {"connection_id":174971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:42:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 07:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896998400001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:42:25] 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-09-06 07:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788660451000,"timestamp_ms":1788660451000,"timestamp_seconds":1788660451,"priority":1,"record_length":96,"hex_timestamp":"000001a0747886b8"} 
[2026-09-06 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-09-06 07:42: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-09-06 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 07:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 07:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:42: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-09-06 07:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896998400001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896998400001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:42:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:42:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896998400001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":174971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:42:25] local.INFO: GPS data processed {"connection_id":174971,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:42:25] local.INFO: Acknowledgment sent {"connection_id":174971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:42:53] local.INFO: TCP Data received {"connection_id":173656,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:42:53] local.INFO: Processing buffer {"connection_id":173656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:42:53] local.INFO: IMEI packet received {"connection_id":173656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":173656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:42:58] local.INFO: TCP Data received {"connection_id":173656,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:42:58] local.INFO: Processing buffer {"connection_id":173656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:42:58] local.INFO: IMEI packet received {"connection_id":173656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":173656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:43:00] local.INFO: TCP Data received {"connection_id":173656,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:43:00] local.INFO: Processing buffer {"connection_id":173656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:43:00] local.INFO: Packet analysis {"connection_id":173656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:43:00] local.INFO: Extracted packet for processing {"connection_id":173656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:43:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896998400001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:43:00] 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-09-06 07:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788660451000,"timestamp_ms":1788660451000,"timestamp_seconds":1788660451,"priority":1,"record_length":96,"hex_timestamp":"000001a0747886b8"} 
[2026-09-06 07:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 07:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896998400001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896998400001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:43:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:43:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896998400001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":173656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:43:00] local.INFO: GPS data processed {"connection_id":173656,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:43:00] local.INFO: Acknowledgment sent {"connection_id":173656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:43:04] local.INFO: TCP Data received {"connection_id":173656,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:43:04] local.INFO: Processing buffer {"connection_id":173656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747886b8012d532d00064970480006014727..."} 
[2026-09-06 07:43:04] local.INFO: Packet analysis {"connection_id":173656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:43:04] local.INFO: Extracted packet for processing {"connection_id":173656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07478"} 
[2026-09-06 07:43:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457896998400001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 07:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788660451000,"timestamp_ms":1788660451000,"timestamp_seconds":1788660451,"priority":1,"record_length":96,"hex_timestamp":"000001a0747886b8"} 
[2026-09-06 07:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:43: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-09-06 07: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 07:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457896998400001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457896998400001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:43:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:43:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457896998400001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":173656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:43:04] local.INFO: GPS data processed {"connection_id":173656,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:43:04] local.INFO: Acknowledgment sent {"connection_id":173656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:43:32] local.INFO: TCP Data received {"connection_id":172507,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:43:32] local.INFO: Processing buffer {"connection_id":172507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:43:32] local.INFO: IMEI packet received {"connection_id":172507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 07:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":172507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:43:48] local.INFO: TCP Data received {"connection_id":172286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:43:48] local.INFO: Processing buffer {"connection_id":172286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:43:48] local.INFO: IMEI packet received {"connection_id":172286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":172286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:43:53] local.INFO: TCP Data received {"connection_id":172286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:43:53] local.INFO: Processing buffer {"connection_id":172286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:43:53] local.INFO: IMEI packet received {"connection_id":172286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":172286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:43:54] local.INFO: TCP Data received {"connection_id":172286,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:43:54] local.INFO: Processing buffer {"connection_id":172286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:43:54] local.INFO: Packet analysis {"connection_id":172286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:43:54] local.INFO: Extracted packet for processing {"connection_id":172286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:43:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897075456001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:43:54] 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-09-06 07:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788660752000,"timestamp_ms":1788660752000,"timestamp_seconds":1788660752,"priority":1,"record_length":96,"hex_timestamp":"000001a0747d1e80"} 
[2026-09-06 07:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:43: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-09-06 07:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 07:43:54] 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-09-06 07:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:43: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-09-06 07:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897075456001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897075456001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:43:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:43:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897075456001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":172286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:43:54] local.INFO: GPS data processed {"connection_id":172286,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:43:54] local.INFO: Acknowledgment sent {"connection_id":172286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:44:25] local.INFO: TCP Data received {"connection_id":172286,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:44:25] local.INFO: Processing buffer {"connection_id":172286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:44:25] local.INFO: Packet analysis {"connection_id":172286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:44:25] local.INFO: Extracted packet for processing {"connection_id":172286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:44:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897075456001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:44:25] 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-09-06 07:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788660752000,"timestamp_ms":1788660752000,"timestamp_seconds":1788660752,"priority":1,"record_length":96,"hex_timestamp":"000001a0747d1e80"} 
[2026-09-06 07:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:44: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-09-06 07: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":37,"data_length":795,"current_offset":136} 
[2026-09-06 07:44:25] 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-09-06 07: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-09-06 07:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07: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-09-06 07:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897075456001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897075456001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:44:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:44:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897075456001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":172286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:44:25] local.INFO: GPS data processed {"connection_id":172286,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:44:25] local.INFO: Acknowledgment sent {"connection_id":172286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:44:48] local.INFO: TCP Data received {"connection_id":173658,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:44:48] local.INFO: Processing buffer {"connection_id":173658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:44:48] local.INFO: IMEI packet received {"connection_id":173658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":173658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:44:53] local.INFO: TCP Data received {"connection_id":173658,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:44:53] local.INFO: Processing buffer {"connection_id":173658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:44:53] local.INFO: IMEI packet received {"connection_id":173658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":173658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:44:54] local.INFO: TCP Data received {"connection_id":173658,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:44:54] local.INFO: Processing buffer {"connection_id":173658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:44:54] local.INFO: Packet analysis {"connection_id":173658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:44:54] local.INFO: Extracted packet for processing {"connection_id":173658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:44:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897075456001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:44:54] 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-09-06 07:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788660752000,"timestamp_ms":1788660752000,"timestamp_seconds":1788660752,"priority":1,"record_length":96,"hex_timestamp":"000001a0747d1e80"} 
[2026-09-06 07:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07: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-09-06 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 07:44:54] 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-09-06 07: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-09-06 07:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:44: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-09-06 07:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897075456001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897075456001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:44:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:44:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897075456001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":173658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:44:54] local.INFO: GPS data processed {"connection_id":173658,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:44:54] local.INFO: Acknowledgment sent {"connection_id":173658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:45:25] local.INFO: TCP Data received {"connection_id":173658,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:45:25] local.INFO: Processing buffer {"connection_id":173658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:45:25] local.INFO: Packet analysis {"connection_id":173658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:45:25] local.INFO: Extracted packet for processing {"connection_id":173658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:45:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897075456001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:45:25] 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-09-06 07:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788660752000,"timestamp_ms":1788660752000,"timestamp_seconds":1788660752,"priority":1,"record_length":96,"hex_timestamp":"000001a0747d1e80"} 
[2026-09-06 07:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07: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-09-06 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 07:45:25] 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-09-06 07: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-09-06 07:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:45: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-09-06 07:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897075456001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897075456001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:45:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:45:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897075456001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":173658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:45:25] local.INFO: GPS data processed {"connection_id":173658,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:45:25] local.INFO: Acknowledgment sent {"connection_id":173658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:45:48] local.INFO: TCP Data received {"connection_id":173660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:45:48] local.INFO: Processing buffer {"connection_id":173660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:45:48] local.INFO: IMEI packet received {"connection_id":173660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":173660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:45:53] local.INFO: TCP Data received {"connection_id":173660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:45:53] local.INFO: Processing buffer {"connection_id":173660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:45:53] local.INFO: IMEI packet received {"connection_id":173660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":173660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:45:54] local.INFO: TCP Data received {"connection_id":173660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:45:54] local.INFO: Processing buffer {"connection_id":173660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:45:54] local.INFO: Packet analysis {"connection_id":173660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:45:54] local.INFO: Extracted packet for processing {"connection_id":173660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:45:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897075456001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:45:54] 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-09-06 07:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788660752000,"timestamp_ms":1788660752000,"timestamp_seconds":1788660752,"priority":1,"record_length":96,"hex_timestamp":"000001a0747d1e80"} 
[2026-09-06 07:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:45: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-09-06 07:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 07:45:54] 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-09-06 07:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:45: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-09-06 07:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897075456001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897075456001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:45:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:45:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897075456001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":173660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:45:54] local.INFO: GPS data processed {"connection_id":173660,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:45:54] local.INFO: Acknowledgment sent {"connection_id":173660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:46:25] local.INFO: TCP Data received {"connection_id":173660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:46:25] local.INFO: Processing buffer {"connection_id":173660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:46:25] local.INFO: Packet analysis {"connection_id":173660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:46:25] local.INFO: Extracted packet for processing {"connection_id":173660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:46:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897075456001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:46:25] 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-09-06 07:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788660752000,"timestamp_ms":1788660752000,"timestamp_seconds":1788660752,"priority":1,"record_length":96,"hex_timestamp":"000001a0747d1e80"} 
[2026-09-06 07:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:46: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-09-06 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 07:46:25] 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-09-06 07: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-09-06 07:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:46: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-09-06 07:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897075456001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897075456001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:46:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:46:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897075456001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":173660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:46:25] local.INFO: GPS data processed {"connection_id":173660,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:46:25] local.INFO: Acknowledgment sent {"connection_id":173660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:46:53] local.INFO: TCP Data received {"connection_id":173661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:46:53] local.INFO: Processing buffer {"connection_id":173661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:46:53] local.INFO: IMEI packet received {"connection_id":173661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":173661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:46:58] local.INFO: TCP Data received {"connection_id":173661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:46:58] local.INFO: Processing buffer {"connection_id":173661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:46:58] local.INFO: IMEI packet received {"connection_id":173661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":173661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:46:59] local.INFO: TCP Data received {"connection_id":173661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:46:59] local.INFO: Processing buffer {"connection_id":173661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:46:59] local.INFO: Packet analysis {"connection_id":173661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:46:59] local.INFO: Extracted packet for processing {"connection_id":173661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:46:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897075456001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:46:59] 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-09-06 07:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788660752000,"timestamp_ms":1788660752000,"timestamp_seconds":1788660752,"priority":1,"record_length":96,"hex_timestamp":"000001a0747d1e80"} 
[2026-09-06 07:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:46: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-09-06 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 07:46:59] 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-09-06 07: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-09-06 07:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897075456001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897075456001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:46:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:46:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897075456001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":173661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:46:59] local.INFO: GPS data processed {"connection_id":173661,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:46:59] local.INFO: Acknowledgment sent {"connection_id":173661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:47:04] local.INFO: TCP Data received {"connection_id":173661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:47:04] local.INFO: Processing buffer {"connection_id":173661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:47:04] local.INFO: Packet analysis {"connection_id":173661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:47:04] local.INFO: Extracted packet for processing {"connection_id":173661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:47:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897075456001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 07:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788660752000,"timestamp_ms":1788660752000,"timestamp_seconds":1788660752,"priority":1,"record_length":96,"hex_timestamp":"000001a0747d1e80"} 
[2026-09-06 07:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:47: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-09-06 07:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 07:47:04] 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-09-06 07:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897075456001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897075456001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:47:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:47:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897075456001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":173661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:47:04] local.INFO: GPS data processed {"connection_id":173661,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:47:04] local.INFO: Acknowledgment sent {"connection_id":173661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:47:48] local.INFO: TCP Data received {"connection_id":172287,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:47:49] local.INFO: Processing buffer {"connection_id":172287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:47:49] local.INFO: IMEI packet received {"connection_id":172287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":172287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:47:53] local.INFO: TCP Data received {"connection_id":172287,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:47:53] local.INFO: Processing buffer {"connection_id":172287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:47:53] local.INFO: IMEI packet received {"connection_id":172287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":172287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:47:54] local.INFO: TCP Data received {"connection_id":172287,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:47:54] local.INFO: Processing buffer {"connection_id":172287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0747d1e80012d532d00064970480006014726..."} 
[2026-09-06 07:47:54] local.INFO: Packet analysis {"connection_id":172287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:47:54] local.INFO: Extracted packet for processing {"connection_id":172287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0747d"} 
[2026-09-06 07:47:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897075456001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:47:54] 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-09-06 07:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788660752000,"timestamp_ms":1788660752000,"timestamp_seconds":1788660752,"priority":1,"record_length":96,"hex_timestamp":"000001a0747d1e80"} 
[2026-09-06 07:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:47: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-09-06 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 07:47:54] 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-09-06 07: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-09-06 07:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:47: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-09-06 07:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897075456001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897075456001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:47:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:47:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897075456001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":172287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:47:54] local.INFO: GPS data processed {"connection_id":172287,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:47:54] local.INFO: Acknowledgment sent {"connection_id":172287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:48:25] local.INFO: TCP Data received {"connection_id":172287,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:48:25] local.INFO: Processing buffer {"connection_id":172287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:48:25] local.INFO: Packet analysis {"connection_id":172287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:48:25] local.INFO: Extracted packet for processing {"connection_id":172287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:48:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897152512001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:48:25] 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-09-06 07:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788661053000,"timestamp_ms":1788661053000,"timestamp_seconds":1788661053,"priority":1,"record_length":96,"hex_timestamp":"000001a07481b648"} 
[2026-09-06 07:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:48: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:48:25] 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-09-06 07: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-09-06 07:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:48: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-09-06 07:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897152512001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897152512001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:48:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:48:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897152512001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":172287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:48:25] local.INFO: GPS data processed {"connection_id":172287,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:48:25] local.INFO: Acknowledgment sent {"connection_id":172287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:48:49] local.INFO: TCP Data received {"connection_id":174973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:48:49] local.INFO: Processing buffer {"connection_id":174973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:48:49] local.INFO: IMEI packet received {"connection_id":174973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":174973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:48:54] local.INFO: TCP Data received {"connection_id":174973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:48:54] local.INFO: Processing buffer {"connection_id":174973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:48:54] local.INFO: IMEI packet received {"connection_id":174973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":174973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:48:56] local.INFO: TCP Data received {"connection_id":174973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:48:56] local.INFO: Processing buffer {"connection_id":174973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:48:56] local.INFO: Packet analysis {"connection_id":174973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:48:56] local.INFO: Extracted packet for processing {"connection_id":174973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:48:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897152512001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:48:56] 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-09-06 07:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788661053000,"timestamp_ms":1788661053000,"timestamp_seconds":1788661053,"priority":1,"record_length":96,"hex_timestamp":"000001a07481b648"} 
[2026-09-06 07:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:48: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-09-06 07: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":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07: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-09-06 07:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897152512001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897152512001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:48:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:48:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897152512001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":174973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:48:56] local.INFO: GPS data processed {"connection_id":174973,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:48:56] local.INFO: Acknowledgment sent {"connection_id":174973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:49:11] local.INFO: TCP Data received {"connection_id":172288,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:49:11] local.INFO: Processing buffer {"connection_id":172288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:49:11] local.INFO: IMEI packet received {"connection_id":172288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 07:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":172288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:49:28] local.INFO: TCP Data received {"connection_id":174973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:49:28] local.INFO: Processing buffer {"connection_id":174973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:49:28] local.INFO: Packet analysis {"connection_id":174973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:49:28] local.INFO: Extracted packet for processing {"connection_id":174973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:49:28] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897152512001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:49:28] 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-09-06 07:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788661053000,"timestamp_ms":1788661053000,"timestamp_seconds":1788661053,"priority":1,"record_length":96,"hex_timestamp":"000001a07481b648"} 
[2026-09-06 07:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:49:28] 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-09-06 07:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897152512001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897152512001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:49:28] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:49:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897152512001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":174973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:49:28] local.INFO: GPS data processed {"connection_id":174973,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:49:28] local.INFO: Acknowledgment sent {"connection_id":174973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:49:48] local.INFO: TCP Data received {"connection_id":173663,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:49:48] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:49:48] local.INFO: IMEI packet received {"connection_id":173663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":173663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:49:53] local.INFO: TCP Data received {"connection_id":173663,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:49:53] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:49:53] local.INFO: IMEI packet received {"connection_id":173663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":173663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:49:54] local.INFO: TCP Data received {"connection_id":173663,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:49:54] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:49:54] local.INFO: Packet analysis {"connection_id":173663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:49:54] local.INFO: Extracted packet for processing {"connection_id":173663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:49:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897152512001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:49:54] 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-09-06 07:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788661053000,"timestamp_ms":1788661053000,"timestamp_seconds":1788661053,"priority":1,"record_length":96,"hex_timestamp":"000001a07481b648"} 
[2026-09-06 07:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:49: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-09-06 07:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:49:54] 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-09-06 07:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:49: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-09-06 07:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897152512001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897152512001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:49:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:49:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897152512001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":173663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:49:54] local.INFO: GPS data processed {"connection_id":173663,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:49:54] local.INFO: Acknowledgment sent {"connection_id":173663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:50:25] local.INFO: TCP Data received {"connection_id":173663,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:50:25] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:50:25] local.INFO: Packet analysis {"connection_id":173663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:50:25] local.INFO: Extracted packet for processing {"connection_id":173663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:50:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897152512001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:50:25] 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-09-06 07:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788661053000,"timestamp_ms":1788661053000,"timestamp_seconds":1788661053,"priority":1,"record_length":96,"hex_timestamp":"000001a07481b648"} 
[2026-09-06 07:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:50:25] 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-09-06 07: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-09-06 07:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:50: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-09-06 07:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897152512001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897152512001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:50:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:50:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897152512001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":173663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:50:25] local.INFO: GPS data processed {"connection_id":173663,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:50:25] local.INFO: Acknowledgment sent {"connection_id":173663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:50:48] local.INFO: TCP Data received {"connection_id":172509,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:50:48] local.INFO: Processing buffer {"connection_id":172509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:50:48] local.INFO: IMEI packet received {"connection_id":172509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":172509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:50:53] local.INFO: TCP Data received {"connection_id":172509,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:50:53] local.INFO: Processing buffer {"connection_id":172509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:50:53] local.INFO: IMEI packet received {"connection_id":172509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":172509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:50:54] local.INFO: TCP Data received {"connection_id":172509,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:50:54] local.INFO: Processing buffer {"connection_id":172509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:50:54] local.INFO: Packet analysis {"connection_id":172509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:50:54] local.INFO: Extracted packet for processing {"connection_id":172509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:50:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897152512001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:50:54] 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-09-06 07:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788661053000,"timestamp_ms":1788661053000,"timestamp_seconds":1788661053,"priority":1,"record_length":96,"hex_timestamp":"000001a07481b648"} 
[2026-09-06 07:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:50: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:50:54] 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-09-06 07: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-09-06 07:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:50: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-09-06 07:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897152512001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897152512001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:50:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:50:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897152512001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":172509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:50:54] local.INFO: GPS data processed {"connection_id":172509,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:50:54] local.INFO: Acknowledgment sent {"connection_id":172509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:51:25] local.INFO: TCP Data received {"connection_id":172509,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:51:25] local.INFO: Processing buffer {"connection_id":172509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:51:25] local.INFO: Packet analysis {"connection_id":172509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:51:25] local.INFO: Extracted packet for processing {"connection_id":172509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:51:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897152512001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:51:25] 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-09-06 07:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788661053000,"timestamp_ms":1788661053000,"timestamp_seconds":1788661053,"priority":1,"record_length":96,"hex_timestamp":"000001a07481b648"} 
[2026-09-06 07:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:51: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:51:25] 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-09-06 07: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-09-06 07:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:51: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-09-06 07:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897152512001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897152512001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:51:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:51:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897152512001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":172509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:51:25] local.INFO: GPS data processed {"connection_id":172509,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:51:25] local.INFO: Acknowledgment sent {"connection_id":172509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:51:53] local.INFO: TCP Data received {"connection_id":173665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:51:53] local.INFO: Processing buffer {"connection_id":173665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:51:53] local.INFO: IMEI packet received {"connection_id":173665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":173665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:51:59] local.INFO: TCP Data received {"connection_id":173665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:51:59] local.INFO: Processing buffer {"connection_id":173665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:51:59] local.INFO: IMEI packet received {"connection_id":173665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":173665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:52:00] local.INFO: TCP Data received {"connection_id":173665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:52:00] local.INFO: Processing buffer {"connection_id":173665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:52:00] local.INFO: Packet analysis {"connection_id":173665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:52:00] local.INFO: Extracted packet for processing {"connection_id":173665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:52:00] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897152512001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:52:00] 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-09-06 07:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788661053000,"timestamp_ms":1788661053000,"timestamp_seconds":1788661053,"priority":1,"record_length":96,"hex_timestamp":"000001a07481b648"} 
[2026-09-06 07:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897152512001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897152512001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:52:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:52:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897152512001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":173665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:52:00] local.INFO: GPS data processed {"connection_id":173665,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:52:00] local.INFO: Acknowledgment sent {"connection_id":173665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:52:04] local.INFO: TCP Data received {"connection_id":173665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:52:04] local.INFO: Processing buffer {"connection_id":173665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:52:04] local.INFO: Packet analysis {"connection_id":173665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:52:04] local.INFO: Extracted packet for processing {"connection_id":173665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:52:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897152512001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 07:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788661053000,"timestamp_ms":1788661053000,"timestamp_seconds":1788661053,"priority":1,"record_length":96,"hex_timestamp":"000001a07481b648"} 
[2026-09-06 07:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:52: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-09-06 07:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897152512001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897152512001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:52:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:52:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897152512001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":173665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:52:04] local.INFO: GPS data processed {"connection_id":173665,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:52:04] local.INFO: Acknowledgment sent {"connection_id":173665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:52:48] local.INFO: TCP Data received {"connection_id":174974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:52:48] local.INFO: Processing buffer {"connection_id":174974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:52:48] local.INFO: IMEI packet received {"connection_id":174974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":174974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:52:53] local.INFO: TCP Data received {"connection_id":174974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:52:53] local.INFO: Processing buffer {"connection_id":174974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:52:53] local.INFO: IMEI packet received {"connection_id":174974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":174974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:52:54] local.INFO: TCP Data received {"connection_id":174974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:52:54] local.INFO: Processing buffer {"connection_id":174974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07481b648012d532d00064970480006014727..."} 
[2026-09-06 07:52:54] local.INFO: Packet analysis {"connection_id":174974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:52:54] local.INFO: Extracted packet for processing {"connection_id":174974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07481"} 
[2026-09-06 07:52:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897152512001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:52:54] 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-09-06 07:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788661053000,"timestamp_ms":1788661053000,"timestamp_seconds":1788661053,"priority":1,"record_length":96,"hex_timestamp":"000001a07481b648"} 
[2026-09-06 07:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:52: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:52:54] 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-09-06 07: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-09-06 07:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:52: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-09-06 07:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897152512001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897152512001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:52:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:52:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897152512001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":174974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:52:54] local.INFO: GPS data processed {"connection_id":174974,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:52:54] local.INFO: Acknowledgment sent {"connection_id":174974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:53:25] local.INFO: TCP Data received {"connection_id":174974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:53:25] local.INFO: Processing buffer {"connection_id":174974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:53:25] local.INFO: Packet analysis {"connection_id":174974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:53:25] local.INFO: Extracted packet for processing {"connection_id":174974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:53:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897229568001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:53:25] 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-09-06 07:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788661354000,"timestamp_ms":1788661354000,"timestamp_seconds":1788661354,"priority":1,"record_length":96,"hex_timestamp":"000001a074864e10"} 
[2026-09-06 07:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07: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":59,"data_length":795,"current_offset":136} 
[2026-09-06 07:53:25] 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-09-06 07: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-09-06 07:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:53: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-09-06 07:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897229568001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897229568001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:53:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:53:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897229568001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":174974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:53:25] local.INFO: GPS data processed {"connection_id":174974,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:53:25] local.INFO: Acknowledgment sent {"connection_id":174974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:53:48] local.INFO: TCP Data received {"connection_id":173666,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:53:48] local.INFO: Processing buffer {"connection_id":173666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:53:48] local.INFO: IMEI packet received {"connection_id":173666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":173666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:53:53] local.INFO: TCP Data received {"connection_id":173666,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:53:53] local.INFO: Processing buffer {"connection_id":173666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:53:53] local.INFO: IMEI packet received {"connection_id":173666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":173666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:53:55] local.INFO: TCP Data received {"connection_id":173666,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:53:55] local.INFO: Processing buffer {"connection_id":173666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:53:55] local.INFO: Packet analysis {"connection_id":173666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:53:55] local.INFO: Extracted packet for processing {"connection_id":173666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:53:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897229568001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 07:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788661354000,"timestamp_ms":1788661354000,"timestamp_seconds":1788661354,"priority":1,"record_length":96,"hex_timestamp":"000001a074864e10"} 
[2026-09-06 07:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 07:53:55] 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-09-06 07:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897229568001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897229568001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:53:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:53:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897229568001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":173666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:53:55] local.INFO: GPS data processed {"connection_id":173666,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:53:55] local.INFO: Acknowledgment sent {"connection_id":173666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:54:26] local.INFO: TCP Data received {"connection_id":173666,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:54:26] local.INFO: Processing buffer {"connection_id":173666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:54:26] local.INFO: Packet analysis {"connection_id":173666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:54:26] local.INFO: Extracted packet for processing {"connection_id":173666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:54:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897229568001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:54: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-09-06 07:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788661354000,"timestamp_ms":1788661354000,"timestamp_seconds":1788661354,"priority":1,"record_length":96,"hex_timestamp":"000001a074864e10"} 
[2026-09-06 07:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:54: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-09-06 07:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 07:54: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-09-06 07:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:54: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-09-06 07:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897229568001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897229568001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:54:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:54:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897229568001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":173666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:54:26] local.INFO: GPS data processed {"connection_id":173666,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:54:26] local.INFO: Acknowledgment sent {"connection_id":173666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:54:48] local.INFO: TCP Data received {"connection_id":172511,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:54:48] local.INFO: Processing buffer {"connection_id":172511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:54:48] local.INFO: IMEI packet received {"connection_id":172511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":172511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:54:52] local.INFO: TCP Data received {"connection_id":172291,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172291,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:54:52] local.INFO: Processing buffer {"connection_id":172291,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:54:52] local.INFO: IMEI packet received {"connection_id":172291,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 07:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":172291,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:54:53] local.INFO: TCP Data received {"connection_id":172511,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:54:53] local.INFO: Processing buffer {"connection_id":172511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:54:53] local.INFO: IMEI packet received {"connection_id":172511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":172511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:54:54] local.INFO: TCP Data received {"connection_id":172511,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:54:54] local.INFO: Processing buffer {"connection_id":172511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:54:54] local.INFO: Packet analysis {"connection_id":172511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:54:54] local.INFO: Extracted packet for processing {"connection_id":172511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:54:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897229568001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:54:54] 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-09-06 07:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788661354000,"timestamp_ms":1788661354000,"timestamp_seconds":1788661354,"priority":1,"record_length":96,"hex_timestamp":"000001a074864e10"} 
[2026-09-06 07:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:54: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-09-06 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 07:54:54] 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-09-06 07: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-09-06 07:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:54: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-09-06 07:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897229568001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897229568001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:54:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:54:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897229568001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":172511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:54:54] local.INFO: GPS data processed {"connection_id":172511,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:54:54] local.INFO: Acknowledgment sent {"connection_id":172511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:55:17] local.INFO: TCP Data received {"connection_id":174975,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:55:17] local.INFO: Processing buffer {"connection_id":174975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 07:55:17] local.INFO: IMEI packet received {"connection_id":174975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 07:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":174975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:55:25] local.INFO: TCP Data received {"connection_id":172511,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:55:25] local.INFO: Processing buffer {"connection_id":172511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:55:25] local.INFO: Packet analysis {"connection_id":172511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:55:25] local.INFO: Extracted packet for processing {"connection_id":172511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:55:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 07:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897229568001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:55:25] 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-09-06 07:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788661354000,"timestamp_ms":1788661354000,"timestamp_seconds":1788661354,"priority":1,"record_length":96,"hex_timestamp":"000001a074864e10"} 
[2026-09-06 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-09-06 07:55: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-09-06 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 07:55:25] 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-09-06 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-09-06 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-09-06 07:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:55: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-09-06 07:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897229568001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897229568001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:55:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:55:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897229568001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":172511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:55:25] local.INFO: GPS data processed {"connection_id":172511,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:55:25] local.INFO: Acknowledgment sent {"connection_id":172511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:55:48] local.INFO: TCP Data received {"connection_id":173667,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:55:48] local.INFO: Processing buffer {"connection_id":173667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:55:48] local.INFO: IMEI packet received {"connection_id":173667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":173667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:55:53] local.INFO: TCP Data received {"connection_id":173667,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:55:53] local.INFO: Processing buffer {"connection_id":173667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:55:53] local.INFO: IMEI packet received {"connection_id":173667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":173667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:55:54] local.INFO: TCP Data received {"connection_id":173667,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:55:54] local.INFO: Processing buffer {"connection_id":173667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:55:54] local.INFO: Packet analysis {"connection_id":173667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:55:54] local.INFO: Extracted packet for processing {"connection_id":173667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:55:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897229568001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:55:54] 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-09-06 07:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788661354000,"timestamp_ms":1788661354000,"timestamp_seconds":1788661354,"priority":1,"record_length":96,"hex_timestamp":"000001a074864e10"} 
[2026-09-06 07:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:55: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-09-06 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 07:55:54] 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-09-06 07: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-09-06 07:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:55: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-09-06 07:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897229568001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897229568001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:55:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:55:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897229568001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":173667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:55:54] local.INFO: GPS data processed {"connection_id":173667,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:55:54] local.INFO: Acknowledgment sent {"connection_id":173667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:56:25] local.INFO: TCP Data received {"connection_id":173667,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:56:25] local.INFO: Processing buffer {"connection_id":173667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:56:25] local.INFO: Packet analysis {"connection_id":173667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:56:25] local.INFO: Extracted packet for processing {"connection_id":173667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:56:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897229568001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:56:25] 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-09-06 07:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788661354000,"timestamp_ms":1788661354000,"timestamp_seconds":1788661354,"priority":1,"record_length":96,"hex_timestamp":"000001a074864e10"} 
[2026-09-06 07:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:56: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-09-06 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 07:56:25] 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-09-06 07: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-09-06 07:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:56: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-09-06 07:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897229568001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897229568001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:56:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:56:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897229568001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":173667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:56:25] local.INFO: GPS data processed {"connection_id":173667,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:56:25] local.INFO: Acknowledgment sent {"connection_id":173667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:56:53] local.INFO: TCP Data received {"connection_id":172513,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:56:53] local.INFO: Processing buffer {"connection_id":172513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:56:53] local.INFO: IMEI packet received {"connection_id":172513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":172513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:56:58] local.INFO: TCP Data received {"connection_id":172513,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:56:58] local.INFO: Processing buffer {"connection_id":172513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:56:58] local.INFO: IMEI packet received {"connection_id":172513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":172513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:56:59] local.INFO: TCP Data received {"connection_id":172513,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:56:59] local.INFO: Processing buffer {"connection_id":172513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:56:59] local.INFO: Packet analysis {"connection_id":172513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:56:59] local.INFO: Extracted packet for processing {"connection_id":172513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:56:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897229568001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:56:59] 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-09-06 07:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788661354000,"timestamp_ms":1788661354000,"timestamp_seconds":1788661354,"priority":1,"record_length":96,"hex_timestamp":"000001a074864e10"} 
[2026-09-06 07:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:56: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-09-06 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 07:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07: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-09-06 07:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897229568001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897229568001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:56:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:56:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897229568001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":172513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:56:59] local.INFO: GPS data processed {"connection_id":172513,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:56:59] local.INFO: Acknowledgment sent {"connection_id":172513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:57:04] local.INFO: TCP Data received {"connection_id":172513,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:57:04] local.INFO: Processing buffer {"connection_id":172513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:57:04] local.INFO: Packet analysis {"connection_id":172513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:57:04] local.INFO: Extracted packet for processing {"connection_id":172513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:57:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897229568001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 07:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788661354000,"timestamp_ms":1788661354000,"timestamp_seconds":1788661354,"priority":1,"record_length":96,"hex_timestamp":"000001a074864e10"} 
[2026-09-06 07:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:57: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-09-06 07:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 07:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897229568001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897229568001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:57:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:57:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897229568001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":172513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:57:04] local.INFO: GPS data processed {"connection_id":172513,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:57:04] local.INFO: Acknowledgment sent {"connection_id":172513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:57:49] local.INFO: TCP Data received {"connection_id":174976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:57:49] local.INFO: Processing buffer {"connection_id":174976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:57:49] local.INFO: IMEI packet received {"connection_id":174976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":174976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:57:53] local.INFO: TCP Data received {"connection_id":174976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:57:53] local.INFO: Processing buffer {"connection_id":174976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:57:53] local.INFO: IMEI packet received {"connection_id":174976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":174976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:57:54] local.INFO: TCP Data received {"connection_id":174976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:57:54] local.INFO: Processing buffer {"connection_id":174976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:57:54] local.INFO: Packet analysis {"connection_id":174976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:57:54] local.INFO: Extracted packet for processing {"connection_id":174976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:57:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897229568001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:57:54] 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-09-06 07:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788661354000,"timestamp_ms":1788661354000,"timestamp_seconds":1788661354,"priority":1,"record_length":96,"hex_timestamp":"000001a074864e10"} 
[2026-09-06 07:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:57: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-09-06 07:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 07:57:54] 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-09-06 07:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:57: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-09-06 07:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897229568001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897229568001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:57:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:57:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897229568001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":174976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:57:54] local.INFO: GPS data processed {"connection_id":174976,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:57:54] local.INFO: Acknowledgment sent {"connection_id":174976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:57:59] local.INFO: TCP Data received {"connection_id":174976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:57:59] local.INFO: Processing buffer {"connection_id":174976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074864e10012d532d00064970480006014728..."} 
[2026-09-06 07:57:59] local.INFO: Packet analysis {"connection_id":174976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:57:59] local.INFO: Extracted packet for processing {"connection_id":174976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07486"} 
[2026-09-06 07:57:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897229568001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:57:59] 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-09-06 07:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788661354000,"timestamp_ms":1788661354000,"timestamp_seconds":1788661354,"priority":1,"record_length":96,"hex_timestamp":"000001a074864e10"} 
[2026-09-06 07:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:57: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-09-06 07:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 07:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 07:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897229568001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897229568001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:57:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:57:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897229568001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":174976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:57:59] local.INFO: GPS data processed {"connection_id":174976,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:57:59] local.INFO: Acknowledgment sent {"connection_id":174976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:58:30] local.INFO: TCP Data received {"connection_id":174976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 07:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 07:58:30] local.INFO: Processing buffer {"connection_id":174976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 07:58:30] local.INFO: Packet analysis {"connection_id":174976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 07:58:30] local.INFO: Extracted packet for processing {"connection_id":174976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 07:58:30] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897306624001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:58:30] 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-09-06 07:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788661655000,"timestamp_ms":1788661655000,"timestamp_seconds":1788661655,"priority":1,"record_length":96,"hex_timestamp":"000001a0748ae5d8"} 
[2026-09-06 07:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:58:30] 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-09-06 07: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-09-06 07:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 07:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897306624001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897306624001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:58:30] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:58:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897306624001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":174976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:58:30] local.INFO: GPS data processed {"connection_id":174976,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:58:30] local.INFO: Acknowledgment sent {"connection_id":174976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:58:48] local.INFO: TCP Data received {"connection_id":172515,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:58:48] local.INFO: Processing buffer {"connection_id":172515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:58:48] local.INFO: IMEI packet received {"connection_id":172515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":172515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:58:53] local.INFO: TCP Data received {"connection_id":172515,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:58:53] local.INFO: Processing buffer {"connection_id":172515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:58:53] local.INFO: IMEI packet received {"connection_id":172515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":172515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:58:54] local.INFO: TCP Data received {"connection_id":172515,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 07:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 07:58:54] local.INFO: Processing buffer {"connection_id":172515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 07:58:54] local.INFO: Packet analysis {"connection_id":172515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 07:58:54] local.INFO: Extracted packet for processing {"connection_id":172515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 07:58:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 07:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897306624001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:58:54] 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-09-06 07:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788661655000,"timestamp_ms":1788661655000,"timestamp_seconds":1788661655,"priority":1,"record_length":96,"hex_timestamp":"000001a0748ae5d8"} 
[2026-09-06 07:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:58: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-09-06 07:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:58:54] 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-09-06 07:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 07:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:58: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-09-06 07:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897306624001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897306624001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:58:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:58:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897306624001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":172515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:58:54] local.INFO: GPS data processed {"connection_id":172515,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:58:54] local.INFO: Acknowledgment sent {"connection_id":172515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:59:25] local.INFO: TCP Data received {"connection_id":172515,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 07:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 07:59:25] local.INFO: Processing buffer {"connection_id":172515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 07:59:25] local.INFO: Packet analysis {"connection_id":172515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 07:59:25] local.INFO: Extracted packet for processing {"connection_id":172515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 07:59:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897306624001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:59:25] 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-09-06 07:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788661655000,"timestamp_ms":1788661655000,"timestamp_seconds":1788661655,"priority":1,"record_length":96,"hex_timestamp":"000001a0748ae5d8"} 
[2026-09-06 07:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:59:25] 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-09-06 07: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-09-06 07:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:59: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-09-06 07:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897306624001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897306624001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:59:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:59:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897306624001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":172515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:59:25] local.INFO: GPS data processed {"connection_id":172515,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:59:25] local.INFO: Acknowledgment sent {"connection_id":172515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 07:59:48] local.INFO: TCP Data received {"connection_id":174978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:59:48] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:59:48] local.INFO: IMEI packet received {"connection_id":174978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 07:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":174978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 07:59:53] local.INFO: TCP Data received {"connection_id":174978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:59:53] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 07:59:53] local.INFO: IMEI packet received {"connection_id":174978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 07:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":174978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 07:59:54] local.INFO: TCP Data received {"connection_id":174978,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 07:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 07:59:54] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 07:59:54] local.INFO: Packet analysis {"connection_id":174978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 07:59:54] local.INFO: Extracted packet for processing {"connection_id":174978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 07:59:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 07: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-09-06 07:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897306624001,"note":"Value kept but may cause issues"} 
[2026-09-06 07:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 07:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 07:59:54] 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-09-06 07:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788661655000,"timestamp_ms":1788661655000,"timestamp_seconds":1788661655,"priority":1,"record_length":96,"hex_timestamp":"000001a0748ae5d8"} 
[2026-09-06 07:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 07:59: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-09-06 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 07:59:54] 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-09-06 07: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-09-06 07:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 07:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 07:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 07:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 07:59: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-09-06 07:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 07:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 07:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897306624001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 07:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 07:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 07:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897306624001,"description":"Unknown IO ID 0"} 
[2026-09-06 07:59:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 07:59:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 07:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 07:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 07:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897306624001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 07:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":174978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 07:59:54] local.INFO: GPS data processed {"connection_id":174978,"processed":1,"errors":0,"total":1} 
[2026-09-06 07:59:54] local.INFO: Acknowledgment sent {"connection_id":174978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:00:25] local.INFO: TCP Data received {"connection_id":174978,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:00:25] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:00:25] local.INFO: Packet analysis {"connection_id":174978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 08:00:25] local.INFO: Extracted packet for processing {"connection_id":174978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 08:00:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897306624001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:00:25] 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-09-06 08:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788661655000,"timestamp_ms":1788661655000,"timestamp_seconds":1788661655,"priority":1,"record_length":96,"hex_timestamp":"000001a0748ae5d8"} 
[2026-09-06 08:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:00: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-09-06 08: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:00:25] 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-09-06 08: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-09-06 08:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:00: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-09-06 08:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897306624001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897306624001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:00:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:00:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897306624001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":174978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:00:25] local.INFO: GPS data processed {"connection_id":174978,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:00:25] local.INFO: Acknowledgment sent {"connection_id":174978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:00:37] local.INFO: TCP Data received {"connection_id":172293,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:00:37] local.INFO: Processing buffer {"connection_id":172293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:00:37] local.INFO: IMEI packet received {"connection_id":172293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":172293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:00:37] local.INFO: TCP Data received {"connection_id":172293,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:00:38] local.INFO: Processing buffer {"connection_id":172293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:00:38] local.INFO: IMEI packet received {"connection_id":172293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":172293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:00:42] local.INFO: TCP Data received {"connection_id":172293,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:00:42] local.INFO: Processing buffer {"connection_id":172293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:00:42] local.INFO: IMEI packet received {"connection_id":172293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":172293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:00:43] local.INFO: TCP Data received {"connection_id":172293,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 08:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172293,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 08:00:43] local.INFO: Processing buffer {"connection_id":172293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 08:00:43] local.INFO: Packet analysis {"connection_id":172293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-06 08:00:43] local.INFO: Extracted packet for processing {"connection_id":172293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-06 08:00:43] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-06 08:00:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 08:00:43] 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-09-06 08:00:43] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 08:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":172293,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 08:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 08:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 08:00:43] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 08:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":172293,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 08:00:43] local.ERROR: GPS data processing failed {"connection_id":172293,"error":"No valid data to process"} 
[2026-09-06 08:00:43] local.INFO: Acknowledgment sent {"connection_id":172293,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 08:00:53] local.INFO: TCP Data received {"connection_id":173669,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:00:53] local.INFO: Processing buffer {"connection_id":173669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:00:53] local.INFO: IMEI packet received {"connection_id":173669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":173669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:00:58] local.INFO: TCP Data received {"connection_id":173669,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:00:58] local.INFO: Processing buffer {"connection_id":173669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:00:58] local.INFO: IMEI packet received {"connection_id":173669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":173669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:01:01] local.INFO: TCP Data received {"connection_id":173669,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:01:01] local.INFO: Processing buffer {"connection_id":173669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:01:01] local.INFO: Packet analysis {"connection_id":173669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 08:01:01] local.INFO: Extracted packet for processing {"connection_id":173669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 08:01:01] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897306624001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:01:01] 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-09-06 08:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788661655000,"timestamp_ms":1788661655000,"timestamp_seconds":1788661655,"priority":1,"record_length":96,"hex_timestamp":"000001a0748ae5d8"} 
[2026-09-06 08:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:01: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-09-06 08: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:01:01] 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-09-06 08: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-09-06 08:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:01: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-09-06 08:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897306624001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897306624001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:01:01] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:01:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897306624001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":173669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:01:01] local.INFO: GPS data processed {"connection_id":173669,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:01:01] local.INFO: Acknowledgment sent {"connection_id":173669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:01:04] local.INFO: TCP Data received {"connection_id":173669,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:01:04] local.INFO: Processing buffer {"connection_id":173669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:01:04] local.INFO: Packet analysis {"connection_id":173669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 08:01:04] local.INFO: Extracted packet for processing {"connection_id":173669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 08:01:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897306624001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788661655000,"timestamp_ms":1788661655000,"timestamp_seconds":1788661655,"priority":1,"record_length":96,"hex_timestamp":"000001a0748ae5d8"} 
[2026-09-06 08:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:01: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-09-06 08:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897306624001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897306624001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:01:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:01:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897306624001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":173669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:01:04] local.INFO: GPS data processed {"connection_id":173669,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:01:04] local.INFO: Acknowledgment sent {"connection_id":173669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:01:13] local.INFO: TCP Data received {"connection_id":172516,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:01:13] local.INFO: Processing buffer {"connection_id":172516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:01:13] local.INFO: IMEI packet received {"connection_id":172516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 08:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":172516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:01:13] local.INFO: TCP Data received {"connection_id":172293,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-06 08:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172293,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-06 08:01:13] local.INFO: Processing buffer {"connection_id":172293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-06 08:01:13] local.INFO: Packet analysis {"connection_id":172293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 08:01:13] local.INFO: Extracted packet for processing {"connection_id":172293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 08:01:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-06 08:01:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 08:01:13] 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-09-06 08:01:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 08:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172293,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 08:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 08:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 08:01:13] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 08:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":172293,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 08:01:13] local.ERROR: GPS data processing failed {"connection_id":172293,"error":"No valid data to process"} 
[2026-09-06 08:01:13] local.INFO: Acknowledgment sent {"connection_id":172293,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 08:01:45] local.INFO: TCP Data received {"connection_id":172293,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0748e4cf00100000000000000000000000000..."} 
[2026-09-06 08:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748e4cf00100000000000000000000000000..."} 
[2026-09-06 08:01:45] local.INFO: Processing buffer {"connection_id":172293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748e4cf00100000000000000000000000000..."} 
[2026-09-06 08:01:45] local.INFO: Packet analysis {"connection_id":172293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748e"} 
[2026-09-06 08:01:45] local.INFO: Extracted packet for processing {"connection_id":172293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748e"} 
[2026-09-06 08:01:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 08:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-06 08:01:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 08:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788661878000,"timestamp_ms":1788661878000,"timestamp_seconds":1788661878,"priority":1,"record_length":96,"hex_timestamp":"000001a0748e4cf0"} 
[2026-09-06 08:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:01:45] 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-09-06 08:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 08:01: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-09-06 08:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:01: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-09-06 08:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":172293,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 08:01:45] local.INFO: GPS data processed {"connection_id":172293,"processed":0,"errors":0,"total":1} 
[2026-09-06 08:01:45] local.INFO: Acknowledgment sent {"connection_id":172293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:01:48] local.INFO: TCP Data received {"connection_id":172294,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:01:48] local.INFO: Processing buffer {"connection_id":172294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:01:48] local.INFO: IMEI packet received {"connection_id":172294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":172294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:01:53] local.INFO: TCP Data received {"connection_id":172294,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:01:53] local.INFO: Processing buffer {"connection_id":172294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:01:53] local.INFO: IMEI packet received {"connection_id":172294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":172294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:01:54] local.INFO: TCP Data received {"connection_id":172294,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:01:54] local.INFO: Processing buffer {"connection_id":172294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:01:54] local.INFO: Packet analysis {"connection_id":172294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 08:01:54] local.INFO: Extracted packet for processing {"connection_id":172294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 08:01:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897306624001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:01:54] 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-09-06 08:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788661655000,"timestamp_ms":1788661655000,"timestamp_seconds":1788661655,"priority":1,"record_length":96,"hex_timestamp":"000001a0748ae5d8"} 
[2026-09-06 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-09-06 08:01: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-09-06 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:01:54] 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-09-06 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-09-06 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-09-06 08:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:01: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-09-06 08:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897306624001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897306624001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:01:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:01:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897306624001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":172294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:01:54] local.INFO: GPS data processed {"connection_id":172294,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:01:54] local.INFO: Acknowledgment sent {"connection_id":172294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:01:58] local.INFO: TCP Data received {"connection_id":172294,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:01:58] local.INFO: Processing buffer {"connection_id":172294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:01:58] local.INFO: Packet analysis {"connection_id":172294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 08:01:58] local.INFO: Extracted packet for processing {"connection_id":172294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 08:01:58] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897306624001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788661655000,"timestamp_ms":1788661655000,"timestamp_seconds":1788661655,"priority":1,"record_length":96,"hex_timestamp":"000001a0748ae5d8"} 
[2026-09-06 08:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:01: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-09-06 08:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:01: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-09-06 08:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897306624001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897306624001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:01:58] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:01:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897306624001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":172294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:01:58] local.INFO: GPS data processed {"connection_id":172294,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:01:58] local.INFO: Acknowledgment sent {"connection_id":172294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:02:23] local.INFO: TCP Data received {"connection_id":172293,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0748e9ef80100000000000000000000000000..."} 
[2026-09-06 08:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748e9ef80100000000000000000000000000..."} 
[2026-09-06 08:02:23] local.INFO: Processing buffer {"connection_id":172293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748e9ef80100000000000000000000000000..."} 
[2026-09-06 08:02:23] local.INFO: Packet analysis {"connection_id":172293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748e"} 
[2026-09-06 08:02:23] local.INFO: Extracted packet for processing {"connection_id":172293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748e"} 
[2026-09-06 08:02:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-06 08:02:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 08:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788661899000,"timestamp_ms":1788661899000,"timestamp_seconds":1788661899,"priority":1,"record_length":96,"hex_timestamp":"000001a0748e9ef8"} 
[2026-09-06 08:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 08:02:23] 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-09-06 08: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-09-06 08:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:02: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-09-06 08:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":172293,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 08:02:23] local.INFO: GPS data processed {"connection_id":172293,"processed":0,"errors":0,"total":1} 
[2026-09-06 08:02:23] local.INFO: Acknowledgment sent {"connection_id":172293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:02:29] local.INFO: TCP Data received {"connection_id":172294,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:02:29] local.INFO: Processing buffer {"connection_id":172294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:02:29] local.INFO: Packet analysis {"connection_id":172294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 08:02:29] local.INFO: Extracted packet for processing {"connection_id":172294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 08:02:29] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897306624001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:02:29] 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-09-06 08:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788661655000,"timestamp_ms":1788661655000,"timestamp_seconds":1788661655,"priority":1,"record_length":96,"hex_timestamp":"000001a0748ae5d8"} 
[2026-09-06 08:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:02: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-09-06 08: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897306624001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897306624001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:02:29] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:02:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897306624001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":172294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:02:29] local.INFO: GPS data processed {"connection_id":172294,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:02:29] local.INFO: Acknowledgment sent {"connection_id":172294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:02:48] local.INFO: TCP Data received {"connection_id":174979,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:02:48] local.INFO: Processing buffer {"connection_id":174979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:02:48] local.INFO: IMEI packet received {"connection_id":174979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":174979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:02:53] local.INFO: TCP Data received {"connection_id":174979,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:02:53] local.INFO: Processing buffer {"connection_id":174979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:02:53] local.INFO: IMEI packet received {"connection_id":174979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":174979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:02:54] local.INFO: TCP Data received {"connection_id":172293,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0748ef1000100000000000000000000000000..."} 
[2026-09-06 08:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748ef1000100000000000000000000000000..."} 
[2026-09-06 08:02:54] local.INFO: Processing buffer {"connection_id":172293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748ef1000100000000000000000000000000..."} 
[2026-09-06 08:02:54] local.INFO: Packet analysis {"connection_id":172293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748e"} 
[2026-09-06 08:02:54] local.INFO: Extracted packet for processing {"connection_id":172293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748e"} 
[2026-09-06 08:02:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-06 08:02:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 08:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788661920000,"timestamp_ms":1788661920000,"timestamp_seconds":1788661920,"priority":1,"record_length":96,"hex_timestamp":"000001a0748ef100"} 
[2026-09-06 08:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 08:02:54] 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-09-06 08: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-09-06 08:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:02:54] 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-09-06 08:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":172293,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 08:02:54] local.INFO: GPS data processed {"connection_id":172293,"processed":0,"errors":0,"total":1} 
[2026-09-06 08:02:54] local.INFO: Acknowledgment sent {"connection_id":172293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:02:56] local.INFO: TCP Data received {"connection_id":174979,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:02:56] local.INFO: Processing buffer {"connection_id":174979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748ae5d8012d532d00064970480006014726..."} 
[2026-09-06 08:02:56] local.INFO: Packet analysis {"connection_id":174979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 08:02:56] local.INFO: Extracted packet for processing {"connection_id":174979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748a"} 
[2026-09-06 08:02:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897306624001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:02:56] 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-09-06 08:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788661655000,"timestamp_ms":1788661655000,"timestamp_seconds":1788661655,"priority":1,"record_length":96,"hex_timestamp":"000001a0748ae5d8"} 
[2026-09-06 08:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:02: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-09-06 08:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897306624001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897306624001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:02:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:02:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897306624001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":174979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:02:56] local.INFO: GPS data processed {"connection_id":174979,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:02:56] local.INFO: Acknowledgment sent {"connection_id":174979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:03:25] local.INFO: TCP Data received {"connection_id":172293,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0748f43080100000000000000000000000000..."} 
[2026-09-06 08:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748f43080100000000000000000000000000..."} 
[2026-09-06 08:03:25] local.INFO: Processing buffer {"connection_id":172293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748f43080100000000000000000000000000..."} 
[2026-09-06 08:03:25] local.INFO: Packet analysis {"connection_id":172293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:03:25] local.INFO: Extracted packet for processing {"connection_id":172293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:03: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-09-06 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-09-06 08:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-06 08:03:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,8,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 08:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788661941000,"timestamp_ms":1788661941000,"timestamp_seconds":1788661941,"priority":1,"record_length":96,"hex_timestamp":"000001a0748f4308"} 
[2026-09-06 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-09-06 08:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-06 08:03:25] 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-09-06 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-09-06 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-09-06 08:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:03:25] 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-09-06 08:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":172293,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 08:03:25] local.INFO: GPS data processed {"connection_id":172293,"processed":0,"errors":0,"total":1} 
[2026-09-06 08:03:25] local.INFO: Acknowledgment sent {"connection_id":172293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:03:27] local.INFO: TCP Data received {"connection_id":174979,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:03:27] local.INFO: Processing buffer {"connection_id":174979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:03:27] local.INFO: Packet analysis {"connection_id":174979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:03:27] local.INFO: Extracted packet for processing {"connection_id":174979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:03:27] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897383680001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:03:27] 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-09-06 08:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788661956000,"timestamp_ms":1788661956000,"timestamp_seconds":1788661956,"priority":1,"record_length":96,"hex_timestamp":"000001a0748f7da0"} 
[2026-09-06 08:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897383680001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897383680001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:03:27] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:03:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897383680001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":174979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:03:27] local.INFO: GPS data processed {"connection_id":174979,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:03:27] local.INFO: Acknowledgment sent {"connection_id":174979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:03:48] local.INFO: TCP Data received {"connection_id":172518,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:03:48] local.INFO: Processing buffer {"connection_id":172518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:03:48] local.INFO: IMEI packet received {"connection_id":172518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":172518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:03:53] local.INFO: TCP Data received {"connection_id":172518,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:03:53] local.INFO: Processing buffer {"connection_id":172518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:03:53] local.INFO: IMEI packet received {"connection_id":172518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":172518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:03:54] local.INFO: TCP Data received {"connection_id":172518,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:03:54] local.INFO: Processing buffer {"connection_id":172518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:03:54] local.INFO: Packet analysis {"connection_id":172518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:03:54] local.INFO: Extracted packet for processing {"connection_id":172518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:03:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897383680001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:03:54] 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-09-06 08:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788661956000,"timestamp_ms":1788661956000,"timestamp_seconds":1788661956,"priority":1,"record_length":96,"hex_timestamp":"000001a0748f7da0"} 
[2026-09-06 08:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:03: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-09-06 08: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:03: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-09-06 08:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897383680001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897383680001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:03:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:03:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897383680001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":172518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:03:54] local.INFO: GPS data processed {"connection_id":172518,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:03:54] local.INFO: Acknowledgment sent {"connection_id":172518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:03:56] local.INFO: TCP Data received {"connection_id":172293,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0748f95100100000000000000000000000000..."} 
[2026-09-06 08:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748f95100100000000000000000000000000..."} 
[2026-09-06 08:03:56] local.INFO: Processing buffer {"connection_id":172293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748f95100100000000000000000000000000..."} 
[2026-09-06 08:03:56] local.INFO: Packet analysis {"connection_id":172293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:03:56] local.INFO: Extracted packet for processing {"connection_id":172293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:03: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-09-06 08: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-09-06 08:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-06 08:03:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,7,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 08:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788661962000,"timestamp_ms":1788661962000,"timestamp_seconds":1788661962,"priority":1,"record_length":96,"hex_timestamp":"000001a0748f9510"} 
[2026-09-06 08:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-06 08:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:03:56] 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-09-06 08:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":172293,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 08:03:56] local.INFO: GPS data processed {"connection_id":172293,"processed":0,"errors":0,"total":1} 
[2026-09-06 08:03:56] local.INFO: Acknowledgment sent {"connection_id":172293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:04:25] local.INFO: TCP Data received {"connection_id":172518,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:04:25] local.INFO: Processing buffer {"connection_id":172518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:04:25] local.INFO: Packet analysis {"connection_id":172518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:04:25] local.INFO: Extracted packet for processing {"connection_id":172518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:04:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897383680001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:04:25] 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-09-06 08:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788661956000,"timestamp_ms":1788661956000,"timestamp_seconds":1788661956,"priority":1,"record_length":96,"hex_timestamp":"000001a0748f7da0"} 
[2026-09-06 08:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:04: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-09-06 08: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:04: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-09-06 08:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897383680001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897383680001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:04:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:04:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897383680001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":172518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:04:25] local.INFO: GPS data processed {"connection_id":172518,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:04:25] local.INFO: Acknowledgment sent {"connection_id":172518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:04:29] local.INFO: TCP Data received {"connection_id":172293,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0748fe7180100000000000000000000000000..."} 
[2026-09-06 08:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748fe7180100000000000000000000000000..."} 
[2026-09-06 08:04:29] local.INFO: Processing buffer {"connection_id":172293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748fe7180100000000000000000000000000..."} 
[2026-09-06 08:04:29] local.INFO: Packet analysis {"connection_id":172293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:04:29] local.INFO: Extracted packet for processing {"connection_id":172293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:04: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-09-06 08:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128712919956324352,"note":"Value kept but may cause issues"} 
[2026-09-06 08:04:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,7,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 08:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788661983000,"timestamp_ms":1788661983000,"timestamp_seconds":1788661983,"priority":1,"record_length":96,"hex_timestamp":"000001a0748fe718"} 
[2026-09-06 08:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-06 08:04:29] 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-09-06 08:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:04:29] 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-09-06 08:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":172293,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 08:04:29] local.INFO: GPS data processed {"connection_id":172293,"processed":0,"errors":0,"total":1} 
[2026-09-06 08:04:29] local.INFO: Acknowledgment sent {"connection_id":172293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:04:48] local.INFO: TCP Data received {"connection_id":174980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:04:48] local.INFO: Processing buffer {"connection_id":174980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:04:48] local.INFO: IMEI packet received {"connection_id":174980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":174980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:04:53] local.INFO: TCP Data received {"connection_id":174980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:04:53] local.INFO: Processing buffer {"connection_id":174980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:04:53] local.INFO: IMEI packet received {"connection_id":174980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":174980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:04:54] local.INFO: TCP Data received {"connection_id":174980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:04:54] local.INFO: Processing buffer {"connection_id":174980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:04:54] local.INFO: Packet analysis {"connection_id":174980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:04:54] local.INFO: Extracted packet for processing {"connection_id":174980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:04:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897383680001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:04:54] 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-09-06 08:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788661956000,"timestamp_ms":1788661956000,"timestamp_seconds":1788661956,"priority":1,"record_length":96,"hex_timestamp":"000001a0748f7da0"} 
[2026-09-06 08:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:04: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-09-06 08: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:04: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-09-06 08:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897383680001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897383680001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:04:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:04:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897383680001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":174980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:04:54] local.INFO: GPS data processed {"connection_id":174980,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:04:54] local.INFO: Acknowledgment sent {"connection_id":174980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:05:00] local.INFO: TCP Data received {"connection_id":172293,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074919c98012d7a384005bf3fe00005015509..."} 
[2026-09-06 08:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074919c98012d7a384005bf3fe00005015509..."} 
[2026-09-06 08:05:00] local.INFO: Processing buffer {"connection_id":172293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074919c98012d7a384005bf3fe00005015509..."} 
[2026-09-06 08:05:00] local.INFO: Packet analysis {"connection_id":172293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07491"} 
[2026-09-06 08:05:00] local.INFO: Extracted packet for processing {"connection_id":172293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07491"} 
[2026-09-06 08:05:00] local.INFO: GPS Element Parsed {"raw_longitude":762984512,"raw_latitude":96419808,"longitude_deg":76.2984512,"latitude_deg":9.6419808,"altitude":5,"angle":341,"satellites":9,"speed":16,"hex_longitude":"2d7a3840","hex_latitude":"05bf3fe0","is_valid_coordinates":true} 
[2026-09-06 08:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897494272001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128717335182704640,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808266839632271360,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:00] 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-09-06 08:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788662095000,"timestamp_ms":1788662095000,"timestamp_seconds":1788662095,"priority":1,"record_length":96,"hex_timestamp":"000001a074919c98"} 
[2026-09-06 08:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:05:00] 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-09-06 08:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-06 08:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:05:00] 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-09-06 08:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897494272001,"66":13319,"109":206,"85":12288,"24":16,"16":128717335182704640,"45":8808266839632271360},"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-09-06 08:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897494272001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:05:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 08:05:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128717335182704640,"km_value":128717335182704.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808266839632271360,"description":"Unknown IO ID 45"} 
[2026-09-06 08:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897494272001,"power":13319,"unknown_109":206,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":8808266839632271360}} 
[2026-09-06 08:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":172293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:05:00] local.INFO: GPS data processed {"connection_id":172293,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:05:00] local.INFO: Acknowledgment sent {"connection_id":172293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:05:17] local.INFO: TCP Data received {"connection_id":174981,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:05:17] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:05:17] local.INFO: IMEI packet received {"connection_id":174981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":174981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:05:21] local.INFO: TCP Data received {"connection_id":174981,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:05:21] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:05:21] local.INFO: IMEI packet received {"connection_id":174981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":174981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:05:22] local.INFO: TCP Data received {"connection_id":174981,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:05:22] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:05:22] local.INFO: IMEI packet received {"connection_id":174981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":174981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:05:22] local.INFO: TCP Data received {"connection_id":174981,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07491a468012d7a398005bf41600005001009..."} 
[2026-09-06 08:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07491a468012d7a398005bf41600005001009..."} 
[2026-09-06 08:05:22] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07491a468012d7a398005bf41600005001009..."} 
[2026-09-06 08:05:22] local.INFO: Packet analysis {"connection_id":174981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07491"} 
[2026-09-06 08:05:22] local.INFO: Extracted packet for processing {"connection_id":174981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07491"} 
[2026-09-06 08:05:22] local.INFO: GPS Element Parsed {"raw_longitude":762984832,"raw_latitude":96420192,"longitude_deg":76.2984832,"latitude_deg":9.6420192,"altitude":5,"angle":16,"satellites":9,"speed":10,"hex_longitude":"2d7a3980","hex_latitude":"05bf4160","is_valid_coordinates":true} 
[2026-09-06 08:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897496320001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128717360952508416,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806859464750653440,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05: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-09-06 08:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788662097000,"timestamp_ms":1788662097000,"timestamp_seconds":1788662097,"priority":1,"record_length":96,"hex_timestamp":"000001a07491a468"} 
[2026-09-06 08:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:05:22] 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-09-06 08:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-06 08:05:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:22] local.WARNING: Large IO value detected {"io_id":34,"raw_value":57817187599930672,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:22] local.WARNING: Large IO value detected {"io_id":74,"raw_value":4143972352,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:22] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2437326849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:22] local.WARNING: Large IO value detected {"io_id":190,"raw_value":-8351925435943417600,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1751974094,"corrected_to":0} 
[2026-09-06 08:05:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3199336448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:22] local.WARNING: Large IO value detected {"io_id":145,"raw_value":24771092786659333,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:22] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,109,85,24,241,157,16,75,160,125,45,64,34,8,9,10,66,98,252,12,74,1,240,110,227,116,190,4,113,205,52,39,68,239,53,2,201,5,13,40,145],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1751974094,"validated":0}]} 
[2026-09-06 08:05:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360662942310465536,"timestamp_seconds":360662942310465.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:05: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-09-06 08:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897496320001,"66":13798,"109":206,"85":12288,"24":10,"16":128717360952508416,"45":8806859464750653440},"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-09-06 08:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897496320001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:05:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 08:05:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128717360952508416,"km_value":128717360952508.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806859464750653440,"description":"Unknown IO ID 45"} 
[2026-09-06 08:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897496320001,"power":13798,"unknown_109":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":8806859464750653440}} 
[2026-09-06 08:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":174981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:05:22] local.INFO: GPS data processed {"connection_id":174981,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:05:22] local.INFO: Acknowledgment sent {"connection_id":174981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:05:25] local.INFO: TCP Data received {"connection_id":174980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:05:25] local.INFO: Processing buffer {"connection_id":174980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:05:25] local.INFO: Packet analysis {"connection_id":174980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:05:25] local.INFO: Extracted packet for processing {"connection_id":174980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:05:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897383680001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:25] 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-09-06 08:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788661956000,"timestamp_ms":1788661956000,"timestamp_seconds":1788661956,"priority":1,"record_length":96,"hex_timestamp":"000001a0748f7da0"} 
[2026-09-06 08:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:05: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-09-06 08: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:05: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-09-06 08:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897383680001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897383680001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:05:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:05:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897383680001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":174980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:05:25] local.INFO: GPS data processed {"connection_id":174980,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:05:25] local.INFO: Acknowledgment sent {"connection_id":174980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:05:30] local.INFO: TCP Data received {"connection_id":174981,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07491a850012d7a3a8005bf41e80005002409..."} 
[2026-09-06 08:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07491a850012d7a3a8005bf41e80005002409..."} 
[2026-09-06 08:05:30] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07491a850012d7a3a8005bf41e80005002409..."} 
[2026-09-06 08:05:30] local.INFO: Packet analysis {"connection_id":174981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07491"} 
[2026-09-06 08:05:30] local.INFO: Extracted packet for processing {"connection_id":174981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07491"} 
[2026-09-06 08:05:30] local.INFO: GPS Element Parsed {"raw_longitude":762985088,"raw_latitude":96420328,"longitude_deg":76.2985088,"latitude_deg":9.6420328,"altitude":5,"angle":36,"satellites":9,"speed":9,"hex_longitude":"2d7a3a80","hex_latitude":"05bf41e8","is_valid_coordinates":true} 
[2026-09-06 08:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897496832001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128717373837410304,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807211308471640064,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:30] 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-09-06 08:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788662098000,"timestamp_ms":1788662098000,"timestamp_seconds":1788662098,"priority":1,"record_length":96,"hex_timestamp":"000001a07491a850"} 
[2026-09-06 08:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 08:05:30] 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-09-06 08:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:05:30] 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-09-06 08:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897496832001,"66":13798,"109":206,"85":12288,"24":9,"16":128717373837410304,"45":8807211308471640064},"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-09-06 08:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897496832001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:05:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 08:05:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128717373837410304,"km_value":128717373837410.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807211308471640064,"description":"Unknown IO ID 45"} 
[2026-09-06 08:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897496832001,"power":13798,"unknown_109":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":8807211308471640064}} 
[2026-09-06 08:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":174981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:05:30] local.INFO: GPS data processed {"connection_id":174981,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:05:30] local.INFO: Acknowledgment sent {"connection_id":174981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:05:48] local.INFO: TCP Data received {"connection_id":172296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:05:48] local.INFO: Processing buffer {"connection_id":172296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:05:48] local.INFO: IMEI packet received {"connection_id":172296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":172296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:05:53] local.INFO: TCP Data received {"connection_id":172296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:05:53] local.INFO: Processing buffer {"connection_id":172296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:05:53] local.INFO: IMEI packet received {"connection_id":172296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":172296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:05:54] local.INFO: TCP Data received {"connection_id":172296,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:05:54] local.INFO: Processing buffer {"connection_id":172296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:05:54] local.INFO: Packet analysis {"connection_id":172296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:05:54] local.INFO: Extracted packet for processing {"connection_id":172296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:05:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897383680001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:05:54] 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-09-06 08:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788661956000,"timestamp_ms":1788661956000,"timestamp_seconds":1788661956,"priority":1,"record_length":96,"hex_timestamp":"000001a0748f7da0"} 
[2026-09-06 08:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:05: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-09-06 08: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:05: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-09-06 08:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897383680001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897383680001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:05:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:05:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897383680001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":172296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:05:54] local.INFO: GPS data processed {"connection_id":172296,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:05:54] local.INFO: Acknowledgment sent {"connection_id":172296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:06:01] local.INFO: TCP Data received {"connection_id":174981,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07491ac38012d7a3bc005bf42600005003609..."} 
[2026-09-06 08:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07491ac38012d7a3bc005bf42600005003609..."} 
[2026-09-06 08:06:01] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07491ac38012d7a3bc005bf42600005003609..."} 
[2026-09-06 08:06:01] local.INFO: Packet analysis {"connection_id":174981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07491"} 
[2026-09-06 08:06:01] local.INFO: Extracted packet for processing {"connection_id":174981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07491"} 
[2026-09-06 08:06:01] local.INFO: GPS Element Parsed {"raw_longitude":762985408,"raw_latitude":96420448,"longitude_deg":76.2985408,"latitude_deg":9.6420448,"altitude":5,"angle":54,"satellites":9,"speed":10,"hex_longitude":"2d7a3bc0","hex_latitude":"05bf4260","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897497088001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128717391017279488,"note":"Value kept but may cause issues"} 
[2026-09-06 08:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807492783448385536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:06: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-09-06 08:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788662099000,"timestamp_ms":1788662099000,"timestamp_seconds":1788662099,"priority":1,"record_length":96,"hex_timestamp":"000001a07491ac38"} 
[2026-09-06 08:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:06:01] 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-09-06 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 08:06:01] 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-09-06 08: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-09-06 08:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:06:01] 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-09-06 08:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897497088001,"66":13678,"109":206,"85":12288,"24":10,"16":128717391017279488,"45":8807492783448385536},"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-09-06 08:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897497088001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:06:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 08:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128717391017279488,"km_value":128717391017279.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807492783448385536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897497088001,"power":13678,"unknown_109":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":8807492783448385536}} 
[2026-09-06 08:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":174981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:06:01] local.INFO: GPS data processed {"connection_id":174981,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:06:01] local.INFO: Acknowledgment sent {"connection_id":174981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:06:25] local.INFO: TCP Data received {"connection_id":172296,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:06:25] local.INFO: Processing buffer {"connection_id":172296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:06:25] local.INFO: Packet analysis {"connection_id":172296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:06:25] local.INFO: Extracted packet for processing {"connection_id":172296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:06:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897383680001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:06:25] 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-09-06 08:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788661956000,"timestamp_ms":1788661956000,"timestamp_seconds":1788661956,"priority":1,"record_length":96,"hex_timestamp":"000001a0748f7da0"} 
[2026-09-06 08:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:06: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-09-06 08:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897383680001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897383680001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:06:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:06:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897383680001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":172296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:06:25] local.INFO: GPS data processed {"connection_id":172296,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:06:25] local.INFO: Acknowledgment sent {"connection_id":172296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:06:32] local.INFO: TCP Data received {"connection_id":174981,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07491b020012d7a3d4005bf42880005004b09..."} 
[2026-09-06 08:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07491b020012d7a3d4005bf42880005004b09..."} 
[2026-09-06 08:06:32] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07491b020012d7a3d4005bf42880005004b09..."} 
[2026-09-06 08:06:32] local.INFO: Packet analysis {"connection_id":174981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07491"} 
[2026-09-06 08:06:32] local.INFO: Extracted packet for processing {"connection_id":174981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07491"} 
[2026-09-06 08:06:32] local.INFO: GPS Element Parsed {"raw_longitude":762985792,"raw_latitude":96420488,"longitude_deg":76.2985792,"latitude_deg":9.6420488,"altitude":5,"angle":75,"satellites":9,"speed":11,"hex_longitude":"2d7a3d40","hex_latitude":"05bf4288","is_valid_coordinates":true} 
[2026-09-06 08:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897497344001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128717408197148672,"note":"Value kept but may cause issues"} 
[2026-09-06 08:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807844627169304576,"note":"Value kept but may cause issues"} 
[2026-09-06 08:06:32] 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-09-06 08:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788662100000,"timestamp_ms":1788662100000,"timestamp_seconds":1788662100,"priority":1,"record_length":96,"hex_timestamp":"000001a07491b020"} 
[2026-09-06 08:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:06:32] 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-09-06 08:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 08:06:32] 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-09-06 08:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:06:32] 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-09-06 08:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897497344001,"66":13678,"109":206,"85":12288,"24":11,"16":128717408197148672,"45":8807844627169304576},"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-09-06 08:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897497344001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:06:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 08:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128717408197148672,"km_value":128717408197148.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807844627169304576,"description":"Unknown IO ID 45"} 
[2026-09-06 08:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897497344001,"power":13678,"unknown_109":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":8807844627169304576}} 
[2026-09-06 08:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":174981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:06:32] local.INFO: GPS data processed {"connection_id":174981,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:06:32] local.INFO: Acknowledgment sent {"connection_id":174981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:06:52] local.INFO: TCP Data received {"connection_id":173672,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:06:52] local.INFO: Processing buffer {"connection_id":173672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:06:52] local.INFO: IMEI packet received {"connection_id":173672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 08:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":173672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:06:53] local.INFO: TCP Data received {"connection_id":173673,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:06:53] local.INFO: Processing buffer {"connection_id":173673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:06:53] local.INFO: IMEI packet received {"connection_id":173673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":173673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:06:58] local.INFO: TCP Data received {"connection_id":173673,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:06:58] local.INFO: Processing buffer {"connection_id":173673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:06:58] local.INFO: IMEI packet received {"connection_id":173673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":173673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:06:59] local.INFO: TCP Data received {"connection_id":173673,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:06:59] local.INFO: Processing buffer {"connection_id":173673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:06:59] local.INFO: Packet analysis {"connection_id":173673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:06:59] local.INFO: Extracted packet for processing {"connection_id":173673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:06:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897383680001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:06:59] 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-09-06 08:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788661956000,"timestamp_ms":1788661956000,"timestamp_seconds":1788661956,"priority":1,"record_length":96,"hex_timestamp":"000001a0748f7da0"} 
[2026-09-06 08:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:06: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-09-06 08:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897383680001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897383680001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:06:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:06:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897383680001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":173673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:06:59] local.INFO: GPS data processed {"connection_id":173673,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:06:59] local.INFO: Acknowledgment sent {"connection_id":173673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:07:04] local.INFO: TCP Data received {"connection_id":173673,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:07:04] local.INFO: Processing buffer {"connection_id":173673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:07:04] local.INFO: Packet analysis {"connection_id":173673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:07:04] local.INFO: Extracted packet for processing {"connection_id":173673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:07:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897383680001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788661956000,"timestamp_ms":1788661956000,"timestamp_seconds":1788661956,"priority":1,"record_length":96,"hex_timestamp":"000001a0748f7da0"} 
[2026-09-06 08:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:07: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-09-06 08:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897383680001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897383680001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:07:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:07:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897383680001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":173673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:07:04] local.INFO: GPS data processed {"connection_id":173673,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:07:04] local.INFO: Acknowledgment sent {"connection_id":173673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:07:11] local.INFO: TCP Data received {"connection_id":172519,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:07:11] local.INFO: Processing buffer {"connection_id":172519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:07:11] local.INFO: IMEI packet received {"connection_id":172519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 08:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":172519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:07:48] local.INFO: TCP Data received {"connection_id":172297,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:07:48] local.INFO: Processing buffer {"connection_id":172297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:07:48] local.INFO: IMEI packet received {"connection_id":172297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":172297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:07:53] local.INFO: TCP Data received {"connection_id":172297,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:07:53] local.INFO: Processing buffer {"connection_id":172297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:07:53] local.INFO: IMEI packet received {"connection_id":172297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":172297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:07:54] local.INFO: TCP Data received {"connection_id":172297,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:07:54] local.INFO: Processing buffer {"connection_id":172297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0748f7da0012d532d00064970480006014728..."} 
[2026-09-06 08:07:54] local.INFO: Packet analysis {"connection_id":172297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:07:54] local.INFO: Extracted packet for processing {"connection_id":172297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0748f"} 
[2026-09-06 08:07:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897383680001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:07:54] 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-09-06 08:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788661956000,"timestamp_ms":1788661956000,"timestamp_seconds":1788661956,"priority":1,"record_length":96,"hex_timestamp":"000001a0748f7da0"} 
[2026-09-06 08:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:07: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-09-06 08:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:07: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-09-06 08:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897383680001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897383680001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:07:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:07:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897383680001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":172297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:07:54] local.INFO: GPS data processed {"connection_id":172297,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:07:54] local.INFO: Acknowledgment sent {"connection_id":172297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:08:26] local.INFO: TCP Data received {"connection_id":172297,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:08:26] local.INFO: Processing buffer {"connection_id":172297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:08:26] local.INFO: Packet analysis {"connection_id":172297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:08:26] local.INFO: Extracted packet for processing {"connection_id":172297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:08:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897460736001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:08: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-09-06 08:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788662257000,"timestamp_ms":1788662257000,"timestamp_seconds":1788662257,"priority":1,"record_length":96,"hex_timestamp":"000001a074941568"} 
[2026-09-06 08:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:08: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-09-06 08:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:08:26] 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-09-06 08:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:08: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-09-06 08:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897460736001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897460736001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:08:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:08:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897460736001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":172297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:08:26] local.INFO: GPS data processed {"connection_id":172297,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:08:26] local.INFO: Acknowledgment sent {"connection_id":172297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:08:27] local.INFO: TCP Data received {"connection_id":173674,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:08:27] local.INFO: Processing buffer {"connection_id":173674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:08:27] local.INFO: IMEI packet received {"connection_id":173674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":173674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:08:32] local.INFO: TCP Data received {"connection_id":173674,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:08:32] local.INFO: Processing buffer {"connection_id":173674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:08:32] local.INFO: IMEI packet received {"connection_id":173674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":173674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:08:33] local.INFO: TCP Data received {"connection_id":173674,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0749434a8012d7ca74005bf84480000005d0d..."} 
[2026-09-06 08:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749434a8012d7ca74005bf84480000005d0d..."} 
[2026-09-06 08:08:33] local.INFO: Processing buffer {"connection_id":173674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749434a8012d7ca74005bf84480000005d0d..."} 
[2026-09-06 08:08:33] local.INFO: Packet analysis {"connection_id":173674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:08:33] local.INFO: Extracted packet for processing {"connection_id":173674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763144000,"raw_latitude":96437320,"longitude_deg":76.3144,"latitude_deg":9.643732,"altitude":0,"angle":93,"satellites":13,"speed":44,"hex_longitude":"2d7ca740","hex_latitude":"05bf8448","is_valid_coordinates":true} 
[2026-09-06 08:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897537280001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128725096188608512,"note":"Value kept but may cause issues"} 
[2026-09-06 08:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972296382316623872,"note":"Value kept but may cause issues"} 
[2026-09-06 08:08:33] 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-09-06 08:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788662265000,"timestamp_ms":1788662265000,"timestamp_seconds":1788662265,"priority":1,"record_length":96,"hex_timestamp":"000001a0749434a8"} 
[2026-09-06 08:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:08:33] 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-09-06 08:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 08:08:33] 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-09-06 08:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:08:33] 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-09-06 08:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897537280001,"66":13917,"44":206,"85":12288,"24":44,"16":128725096188608512,"45":8972296382316623872},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-06 08:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897537280001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:08:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-06 08:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128725096188608512,"km_value":128725096188608.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972296382316623872,"description":"Unknown IO ID 45"} 
[2026-09-06 08:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897537280001,"power":13917,"unknown_44":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":8972296382316623872}} 
[2026-09-06 08:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":173674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:08:33] local.INFO: GPS data processed {"connection_id":173674,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:08:33] local.INFO: Acknowledgment sent {"connection_id":173674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:08:37] local.INFO: TCP Data received {"connection_id":173674,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0749434a8012d7ca74005bf84480000005d0d..."} 
[2026-09-06 08:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749434a8012d7ca74005bf84480000005d0d..."} 
[2026-09-06 08:08:37] local.INFO: Processing buffer {"connection_id":173674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749434a8012d7ca74005bf84480000005d0d..."} 
[2026-09-06 08:08:37] local.INFO: Packet analysis {"connection_id":173674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:08:37] local.INFO: Extracted packet for processing {"connection_id":173674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:08:37] local.INFO: GPS Element Parsed {"raw_longitude":763144000,"raw_latitude":96437320,"longitude_deg":76.3144,"latitude_deg":9.643732,"altitude":0,"angle":93,"satellites":13,"speed":44,"hex_longitude":"2d7ca740","hex_latitude":"05bf8448","is_valid_coordinates":true} 
[2026-09-06 08:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897539840001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128725096188608512,"note":"Value kept but may cause issues"} 
[2026-09-06 08:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982218375245875200,"note":"Value kept but may cause issues"} 
[2026-09-06 08:08:37] 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-09-06 08:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788662265000,"timestamp_ms":1788662265000,"timestamp_seconds":1788662265,"priority":1,"record_length":96,"hex_timestamp":"000001a0749434a8"} 
[2026-09-06 08:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:08:37] 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-09-06 08:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-06 08:08:37] 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-09-06 08:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:08: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-09-06 08:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897539840001,"66":13917,"44":206,"85":12288,"24":44,"16":128725096188608512,"45":8982218375245875200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-06 08:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897539840001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:08:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-06 08:08:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128725096188608512,"km_value":128725096188608.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982218375245875200,"description":"Unknown IO ID 45"} 
[2026-09-06 08:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897539840001,"power":13917,"unknown_44":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":8982218375245875200}} 
[2026-09-06 08:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":173674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":772999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:08:37] local.INFO: GPS data processed {"connection_id":173674,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:08:37] local.INFO: Acknowledgment sent {"connection_id":173674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:08:49] local.INFO: TCP Data received {"connection_id":172521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:08:49] local.INFO: Processing buffer {"connection_id":172521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:08:49] local.INFO: IMEI packet received {"connection_id":172521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":172521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:08:53] local.INFO: TCP Data received {"connection_id":172521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:08:53] local.INFO: Processing buffer {"connection_id":172521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:08:53] local.INFO: IMEI packet received {"connection_id":172521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":172521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:08:54] local.INFO: TCP Data received {"connection_id":172521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:08:54] local.INFO: Processing buffer {"connection_id":172521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:08:54] local.INFO: Packet analysis {"connection_id":172521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:08:54] local.INFO: Extracted packet for processing {"connection_id":172521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:08:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897460736001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:08:54] 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-09-06 08:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788662257000,"timestamp_ms":1788662257000,"timestamp_seconds":1788662257,"priority":1,"record_length":96,"hex_timestamp":"000001a074941568"} 
[2026-09-06 08:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:08: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-09-06 08:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:08:54] 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-09-06 08:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:08: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-09-06 08:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897460736001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897460736001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:08:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:08:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897460736001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":172521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:08:54] local.INFO: GPS data processed {"connection_id":172521,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:08:54] local.INFO: Acknowledgment sent {"connection_id":172521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:09:17] local.INFO: TCP Data received {"connection_id":173676,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:09:17] local.INFO: Processing buffer {"connection_id":173676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:09:17] local.INFO: IMEI packet received {"connection_id":173676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":173676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:09:17] local.INFO: TCP Data received {"connection_id":173676,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:09:17] local.INFO: Processing buffer {"connection_id":173676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:09:17] local.INFO: IMEI packet received {"connection_id":173676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":173676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:09:22] local.INFO: TCP Data received {"connection_id":173676,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:09:22] local.INFO: Processing buffer {"connection_id":173676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:09:22] local.INFO: IMEI packet received {"connection_id":173676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":173676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:09:23] local.INFO: TCP Data received {"connection_id":173676,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0749453e8012d7ccd8005bf81d0000000610d..."} 
[2026-09-06 08:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749453e8012d7ccd8005bf81d0000000610d..."} 
[2026-09-06 08:09:23] local.INFO: Processing buffer {"connection_id":173676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749453e8012d7ccd8005bf81d0000000610d..."} 
[2026-09-06 08:09:23] local.INFO: Packet analysis {"connection_id":173676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:09:23] local.INFO: Extracted packet for processing {"connection_id":173676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:09:23] local.INFO: GPS Element Parsed {"raw_longitude":763153792,"raw_latitude":96436688,"longitude_deg":76.3153792,"latitude_deg":9.6436688,"altitude":0,"angle":97,"satellites":13,"speed":52,"hex_longitude":"2d7ccd80","hex_latitude":"05bf81d0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897539840001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128725564340043776,"note":"Value kept but may cause issues"} 
[2026-09-06 08:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982218375245875200,"note":"Value kept but may cause issues"} 
[2026-09-06 08:09:23] 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-09-06 08:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788662273000,"timestamp_ms":1788662273000,"timestamp_seconds":1788662273,"priority":1,"record_length":96,"hex_timestamp":"000001a0749453e8"} 
[2026-09-06 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-09-06 08:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-06 08:09:23] 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-09-06 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-09-06 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-09-06 08:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:09: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-09-06 08:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897539840001,"66":13820,"44":206,"85":12288,"24":52,"16":128725564340043776,"45":8982218375245875200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-06 08:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897539840001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:09:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-06 08:09:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128725564340043776,"km_value":128725564340043.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982218375245875200,"description":"Unknown IO ID 45"} 
[2026-09-06 08:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897539840001,"power":13820,"unknown_44":206,"unknown_85":12288,"ignition":52,"odometer":null,"unknown_45":8982218375245875200}} 
[2026-09-06 08:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":173676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:09:23] local.INFO: GPS data processed {"connection_id":173676,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:09:23] local.INFO: Acknowledgment sent {"connection_id":173676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:09:25] local.INFO: TCP Data received {"connection_id":172521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:09:25] local.INFO: Processing buffer {"connection_id":172521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:09:25] local.INFO: Packet analysis {"connection_id":172521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:09:25] local.INFO: Extracted packet for processing {"connection_id":172521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:09:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897460736001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:09:25] 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-09-06 08:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788662257000,"timestamp_ms":1788662257000,"timestamp_seconds":1788662257,"priority":1,"record_length":96,"hex_timestamp":"000001a074941568"} 
[2026-09-06 08:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:09: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-09-06 08: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:09:25] 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-09-06 08: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-09-06 08:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:09: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-09-06 08:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897460736001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897460736001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:09:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:09:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897460736001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":172521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:09:25] local.INFO: GPS data processed {"connection_id":172521,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:09:25] local.INFO: Acknowledgment sent {"connection_id":172521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:09:48] local.INFO: TCP Data received {"connection_id":174982,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:09:48] local.INFO: Processing buffer {"connection_id":174982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:09:48] local.INFO: IMEI packet received {"connection_id":174982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":174982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:09:53] local.INFO: TCP Data received {"connection_id":174982,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:09:53] local.INFO: Processing buffer {"connection_id":174982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:09:53] local.INFO: IMEI packet received {"connection_id":174982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":174982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:09:54] local.INFO: TCP Data received {"connection_id":173676,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07495de70012d7d388005c09748000c01550e..."} 
[2026-09-06 08:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07495de70012d7d388005c09748000c01550e..."} 
[2026-09-06 08:09:54] local.INFO: Processing buffer {"connection_id":173676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07495de70012d7d388005c09748000c01550e..."} 
[2026-09-06 08:09:54] local.INFO: Packet analysis {"connection_id":173676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07495"} 
[2026-09-06 08:09:54] local.INFO: Extracted packet for processing {"connection_id":173676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07495"} 
[2026-09-06 08:09:54] local.INFO: GPS Element Parsed {"raw_longitude":763181184,"raw_latitude":96507720,"longitude_deg":76.3181184,"latitude_deg":9.650772,"altitude":12,"angle":341,"satellites":14,"speed":17,"hex_longitude":"2d7d3880","hex_latitude":"05c09748","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897566208001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128729979566424064,"note":"Value kept but may cause issues"} 
[2026-09-06 08:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024158146792527872,"note":"Value kept but may cause issues"} 
[2026-09-06 08:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788662374000,"timestamp_ms":1788662374000,"timestamp_seconds":1788662374,"priority":1,"record_length":96,"hex_timestamp":"000001a07495de70"} 
[2026-09-06 08:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:09:54] 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-09-06 08:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 08:09:54] 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-09-06 08:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:09:54] 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-09-06 08:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897566208001,"66":13624,"10":206,"85":12288,"24":17,"16":128729979566424064,"45":9024158146792527872},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-09-06 08:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897566208001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:09:54] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 08:09:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128729979566424064,"km_value":128729979566424.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024158146792527872,"description":"Unknown IO ID 45"} 
[2026-09-06 08:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897566208001,"power":13624,"unknown_10":206,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":9024158146792527872}} 
[2026-09-06 08:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":173676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:09:54] local.INFO: GPS data processed {"connection_id":173676,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:09:54] local.INFO: Acknowledgment sent {"connection_id":173676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:09:54] local.INFO: TCP Data received {"connection_id":174982,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:09:54] local.INFO: Processing buffer {"connection_id":174982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:09:54] local.INFO: Packet analysis {"connection_id":174982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:09:54] local.INFO: Extracted packet for processing {"connection_id":174982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:09:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897460736001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:09:54] 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-09-06 08:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788662257000,"timestamp_ms":1788662257000,"timestamp_seconds":1788662257,"priority":1,"record_length":96,"hex_timestamp":"000001a074941568"} 
[2026-09-06 08:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:09: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-09-06 08:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:09:54] 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-09-06 08:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:09: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-09-06 08:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897460736001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897460736001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:09:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:09:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897460736001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":174982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:09:54] local.INFO: GPS data processed {"connection_id":174982,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:09:54] local.INFO: Acknowledgment sent {"connection_id":174982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:10:17] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:10:17] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:10:17] local.INFO: IMEI packet received {"connection_id":173677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":173677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:10:21] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:10:21] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:10:21] local.INFO: IMEI packet received {"connection_id":173677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":173677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:10:22] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07495e640012d7d37c005c09978000c01610f..."} 
[2026-09-06 08:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07495e640012d7d37c005c09978000c01610f..."} 
[2026-09-06 08:10:22] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07495e640012d7d37c005c09978000c01610f..."} 
[2026-09-06 08:10:22] local.INFO: Packet analysis {"connection_id":173677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07495"} 
[2026-09-06 08:10:22] local.INFO: Extracted packet for processing {"connection_id":173677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07495"} 
[2026-09-06 08:10:22] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":96508280,"longitude_deg":76.3180992,"latitude_deg":9.650828,"altitude":12,"angle":353,"satellites":15,"speed":9,"hex_longitude":"2d7d37c0","hex_latitude":"05c09978","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897567744001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128730005336227840,"note":"Value kept but may cause issues"} 
[2026-09-06 08:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023102615631120384,"note":"Value kept but may cause issues"} 
[2026-09-06 08:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788662376000,"timestamp_ms":1788662376000,"timestamp_seconds":1788662376,"priority":1,"record_length":96,"hex_timestamp":"000001a07495e640"} 
[2026-09-06 08:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-06 08:10:22] 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-09-06 08: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-09-06 08:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:10: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-09-06 08:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897567744001,"66":13559,"10":206,"85":12288,"24":9,"16":128730005336227840,"45":9023102615631120384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-09-06 08:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897567744001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:10:22] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 08:10:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128730005336227840,"km_value":128730005336227.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023102615631120384,"description":"Unknown IO ID 45"} 
[2026-09-06 08:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897567744001,"power":13559,"unknown_10":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":9023102615631120384}} 
[2026-09-06 08:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":173677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:10:22] local.INFO: GPS data processed {"connection_id":173677,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:10:22] local.INFO: Acknowledgment sent {"connection_id":173677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:10:25] local.INFO: TCP Data received {"connection_id":174982,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:10:25] local.INFO: Processing buffer {"connection_id":174982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:10:25] local.INFO: Packet analysis {"connection_id":174982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:10:25] local.INFO: Extracted packet for processing {"connection_id":174982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:10:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897460736001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:10:25] 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-09-06 08:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788662257000,"timestamp_ms":1788662257000,"timestamp_seconds":1788662257,"priority":1,"record_length":96,"hex_timestamp":"000001a074941568"} 
[2026-09-06 08:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:10: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-09-06 08: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:10:25] 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-09-06 08: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-09-06 08:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:10: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-09-06 08:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897460736001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897460736001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:10:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:10:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897460736001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":174982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:10:25] local.INFO: GPS data processed {"connection_id":174982,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:10:25] local.INFO: Acknowledgment sent {"connection_id":174982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:10:48] local.INFO: TCP Data received {"connection_id":172523,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:10:48] local.INFO: Processing buffer {"connection_id":172523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:10:48] local.INFO: IMEI packet received {"connection_id":172523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":172523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:10:53] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074961908012d7d2f8005c0bf98000a015a0f..."} 
[2026-09-06 08:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074961908012d7d2f8005c0bf98000a015a0f..."} 
[2026-09-06 08:10:53] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074961908012d7d2f8005c0bf98000a015a0f..."} 
[2026-09-06 08:10:53] local.INFO: Packet analysis {"connection_id":173677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07496"} 
[2026-09-06 08:10:53] local.INFO: Extracted packet for processing {"connection_id":173677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07496"} 
[2026-09-06 08:10:53] local.INFO: GPS Element Parsed {"raw_longitude":763178880,"raw_latitude":96518040,"longitude_deg":76.317888,"latitude_deg":9.651804,"altitude":10,"angle":346,"satellites":15,"speed":46,"hex_longitude":"2d7d2f80","hex_latitude":"05c0bf98","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897568256001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128730490667532288,"note":"Value kept but may cause issues"} 
[2026-09-06 08:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022891509398730752,"note":"Value kept but may cause issues"} 
[2026-09-06 08:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788662389000,"timestamp_ms":1788662389000,"timestamp_seconds":1788662389,"priority":1,"record_length":96,"hex_timestamp":"000001a074961908"} 
[2026-09-06 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-09-06 08:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 08:10:53] 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-09-06 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-09-06 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-09-06 08:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:10:53] 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-09-06 08:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897568256001,"66":13646,"10":206,"85":12288,"24":46,"16":128730490667532288,"45":9022891509398730752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-09-06 08:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897568256001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:10:53] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 08:10:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128730490667532288,"km_value":128730490667532.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022891509398730752,"description":"Unknown IO ID 45"} 
[2026-09-06 08:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897568256001,"power":13646,"unknown_10":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9022891509398730752}} 
[2026-09-06 08:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":173677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:10:53] local.INFO: GPS data processed {"connection_id":173677,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:10:53] local.INFO: Acknowledgment sent {"connection_id":173677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:10:53] local.INFO: TCP Data received {"connection_id":172523,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:10:53] local.INFO: Processing buffer {"connection_id":172523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:10:53] local.INFO: IMEI packet received {"connection_id":172523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":172523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:10:54] local.INFO: TCP Data received {"connection_id":172523,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:10:54] local.INFO: Processing buffer {"connection_id":172523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:10:54] local.INFO: Packet analysis {"connection_id":172523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:10:54] local.INFO: Extracted packet for processing {"connection_id":172523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:10:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897460736001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:10:54] 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-09-06 08:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788662257000,"timestamp_ms":1788662257000,"timestamp_seconds":1788662257,"priority":1,"record_length":96,"hex_timestamp":"000001a074941568"} 
[2026-09-06 08:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:10: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-09-06 08:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:10:54] 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-09-06 08: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-09-06 08:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:10: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-09-06 08:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897460736001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897460736001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:10:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:10:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897460736001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":172523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:10:54] local.INFO: GPS data processed {"connection_id":172523,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:10:54] local.INFO: Acknowledgment sent {"connection_id":172523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:11:17] local.INFO: TCP Data received {"connection_id":174983,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174983,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:11:17] local.INFO: Processing buffer {"connection_id":174983,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:11:17] local.INFO: IMEI packet received {"connection_id":174983,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":174983,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:11:18] local.INFO: TCP Data received {"connection_id":174983,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174983,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:11:18] local.INFO: Processing buffer {"connection_id":174983,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:11:18] local.INFO: IMEI packet received {"connection_id":174983,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":174983,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:11:22] local.INFO: TCP Data received {"connection_id":174983,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174983,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:11:22] local.INFO: Processing buffer {"connection_id":174983,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:11:22] local.INFO: IMEI packet received {"connection_id":174983,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":174983,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:11:23] local.INFO: TCP Data received {"connection_id":174983,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074963848012d7d280005c0e588000900000f..."} 
[2026-09-06 08:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074963848012d7d280005c0e588000900000f..."} 
[2026-09-06 08:11:23] local.INFO: Processing buffer {"connection_id":174983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074963848012d7d280005c0e588000900000f..."} 
[2026-09-06 08:11:23] local.INFO: Packet analysis {"connection_id":174983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07496"} 
[2026-09-06 08:11:23] local.INFO: Extracted packet for processing {"connection_id":174983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07496"} 
[2026-09-06 08:11:23] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":96527752,"longitude_deg":76.317696,"latitude_deg":9.6527752,"altitude":9,"angle":0,"satellites":15,"speed":47,"hex_longitude":"2d7d2800","hex_latitude":"05c0e588","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897571584001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128730971703869440,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020569340843366400,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788662397000,"timestamp_ms":1788662397000,"timestamp_seconds":1788662397,"priority":1,"record_length":96,"hex_timestamp":"000001a074963848"} 
[2026-09-06 08:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:11:23] 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-09-06 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 08:11:23] 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-09-06 08: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-09-06 08:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:11: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-09-06 08:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897571584001,"66":13059,"10":206,"85":12288,"24":47,"16":128730971703869440,"45":9020569340843366400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,45]} 
[2026-09-06 08:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897571584001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:11:23] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 08:11:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128730971703869440,"km_value":128730971703869.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020569340843366400,"description":"Unknown IO ID 45"} 
[2026-09-06 08:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897571584001,"power":13059,"unknown_10":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9020569340843366400}} 
[2026-09-06 08:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":174983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:11:23] local.INFO: GPS data processed {"connection_id":174983,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:11:23] local.INFO: Acknowledgment sent {"connection_id":174983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:11:25] local.INFO: TCP Data received {"connection_id":172523,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:11:25] local.INFO: Processing buffer {"connection_id":172523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:11:25] local.INFO: Packet analysis {"connection_id":172523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:11:25] local.INFO: Extracted packet for processing {"connection_id":172523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:11:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897460736001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:25] 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-09-06 08:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788662257000,"timestamp_ms":1788662257000,"timestamp_seconds":1788662257,"priority":1,"record_length":96,"hex_timestamp":"000001a074941568"} 
[2026-09-06 08:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:11:25] 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-09-06 08:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:11: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-09-06 08:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897460736001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897460736001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:11:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:11:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897460736001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":172523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:11:25] local.INFO: GPS data processed {"connection_id":172523,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:11:25] local.INFO: Acknowledgment sent {"connection_id":172523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:11:53] local.INFO: TCP Data received {"connection_id":173678,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:11:53] local.INFO: Processing buffer {"connection_id":173678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:11:53] local.INFO: IMEI packet received {"connection_id":173678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":173678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:11:54] local.INFO: TCP Data received {"connection_id":174983,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074978838012d7d3f0005c20cd0000e00050f..."} 
[2026-09-06 08:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074978838012d7d3f0005c20cd0000e00050f..."} 
[2026-09-06 08:11:54] local.INFO: Processing buffer {"connection_id":174983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074978838012d7d3f0005c20cd0000e00050f..."} 
[2026-09-06 08:11:54] local.INFO: Packet analysis {"connection_id":174983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07497"} 
[2026-09-06 08:11:54] local.INFO: Extracted packet for processing {"connection_id":174983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07497"} 
[2026-09-06 08:11:54] local.INFO: GPS Element Parsed {"raw_longitude":763182848,"raw_latitude":96603344,"longitude_deg":76.3182848,"latitude_deg":9.6603344,"altitude":14,"angle":5,"satellites":15,"speed":57,"hex_longitude":"2d7d3f00","hex_latitude":"05c20cd0","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897593856001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128734691145547776,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023876671839139840,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788662483000,"timestamp_ms":1788662483000,"timestamp_seconds":1788662483,"priority":1,"record_length":96,"hex_timestamp":"000001a074978838"} 
[2026-09-06 08:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:11:54] 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-09-06 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 08:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630680,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3938130692809949184,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:54] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3774873600,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:54] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2532558849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:54] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549775113,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2802385102,"corrected_to":0} 
[2026-09-06 08:11:54] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3221602631,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:54] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743911,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:54] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3240732672,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:54] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3080468471714676744,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:54] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692776046290587221,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:54] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:54] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,9,85,24,241,157,16,91,160,77,45,128,195,12,15,10,66,90,46,159,1,240,104,227,89,116,193,4,113,205,228,49,152,239,53,2,201,5,43,125,51,48],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2802385102,"validated":0}]} 
[2026-09-06 08:11:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936753184967294976,"timestamp_seconds":936753184967295.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:11:54] 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-09-06 08:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897593856001,"66":12928,"9":206,"85":12288,"24":57,"16":128734691145547776,"45":9023876671839139840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-06 08:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897593856001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:11:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 08:11:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128734691145547776,"km_value":128734691145547.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023876671839139840,"description":"Unknown IO ID 45"} 
[2026-09-06 08:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897593856001,"power":12928,"unknown_9":206,"unknown_85":12288,"ignition":57,"odometer":null,"unknown_45":9023876671839139840}} 
[2026-09-06 08:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":174983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:11:54] local.INFO: GPS data processed {"connection_id":174983,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:11:54] local.INFO: Acknowledgment sent {"connection_id":174983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:11:58] local.INFO: TCP Data received {"connection_id":173678,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:11:58] local.INFO: Processing buffer {"connection_id":173678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:11:58] local.INFO: IMEI packet received {"connection_id":173678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":173678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:11:59] local.INFO: TCP Data received {"connection_id":173678,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:11:59] local.INFO: Processing buffer {"connection_id":173678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:11:59] local.INFO: Packet analysis {"connection_id":173678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:11:59] local.INFO: Extracted packet for processing {"connection_id":173678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:11:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897460736001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:11:59] 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-09-06 08:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788662257000,"timestamp_ms":1788662257000,"timestamp_seconds":1788662257,"priority":1,"record_length":96,"hex_timestamp":"000001a074941568"} 
[2026-09-06 08:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:11: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-09-06 08:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:11:59] 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-09-06 08:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897460736001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897460736001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:11:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:11:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897460736001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":173678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:11:59] local.INFO: GPS data processed {"connection_id":173678,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:11:59] local.INFO: Acknowledgment sent {"connection_id":173678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:12:03] local.INFO: TCP Data received {"connection_id":173678,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:12:03] local.INFO: Processing buffer {"connection_id":173678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:12:03] local.INFO: Packet analysis {"connection_id":173678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:12:03] local.INFO: Extracted packet for processing {"connection_id":173678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:12:03] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897460736001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:12:03] 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-09-06 08:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788662257000,"timestamp_ms":1788662257000,"timestamp_seconds":1788662257,"priority":1,"record_length":96,"hex_timestamp":"000001a074941568"} 
[2026-09-06 08:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:12:03] 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-09-06 08:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897460736001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897460736001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:12:03] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:12:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897460736001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":173678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:12:03] local.INFO: GPS data processed {"connection_id":173678,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:12:03] local.INFO: Acknowledgment sent {"connection_id":173678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:12:26] local.INFO: TCP Data received {"connection_id":172299,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:12:26] local.INFO: Processing buffer {"connection_id":172299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:12:26] local.INFO: IMEI packet received {"connection_id":172299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":172299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:12:27] local.INFO: TCP Data received {"connection_id":172299,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:12:27] local.INFO: Processing buffer {"connection_id":172299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:12:27] local.INFO: IMEI packet received {"connection_id":172299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":172299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:12:32] local.INFO: TCP Data received {"connection_id":172299,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:12:32] local.INFO: Processing buffer {"connection_id":172299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:12:32] local.INFO: IMEI packet received {"connection_id":172299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":172299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:12:33] local.INFO: TCP Data received {"connection_id":172299,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07497ab60012d7d3fc005c22b780010014f0f..."} 
[2026-09-06 08:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07497ab60012d7d3fc005c22b780010014f0f..."} 
[2026-09-06 08:12:33] local.INFO: Processing buffer {"connection_id":172299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07497ab60012d7d3fc005c22b780010014f0f..."} 
[2026-09-06 08:12:33] local.INFO: Packet analysis {"connection_id":172299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07497"} 
[2026-09-06 08:12:33] local.INFO: Extracted packet for processing {"connection_id":172299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07497"} 
[2026-09-06 08:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":96611192,"longitude_deg":76.318304,"latitude_deg":9.6611192,"altitude":16,"angle":335,"satellites":15,"speed":6,"hex_longitude":"2d7d3fc0","hex_latitude":"05c22b78","is_valid_coordinates":true} 
[2026-09-06 08:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897595648001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128735073397637120,"note":"Value kept but may cause issues"} 
[2026-09-06 08:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024932203004219392,"note":"Value kept but may cause issues"} 
[2026-09-06 08:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788662492000,"timestamp_ms":1788662492000,"timestamp_seconds":1788662492,"priority":1,"record_length":96,"hex_timestamp":"000001a07497ab60"} 
[2026-09-06 08:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-06 08:12:33] 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-09-06 08:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:12:33] 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-09-06 08:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897595648001,"66":13243,"9":206,"85":12288,"24":6,"16":128735073397637120,"45":9024932203004219392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-06 08:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897595648001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:12:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 08:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128735073397637120,"km_value":128735073397637.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024932203004219392,"description":"Unknown IO ID 45"} 
[2026-09-06 08:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897595648001,"power":13243,"unknown_9":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9024932203004219392}} 
[2026-09-06 08:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":172299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:12:33] local.INFO: GPS data processed {"connection_id":172299,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:12:33] local.INFO: Acknowledgment sent {"connection_id":172299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:12:37] local.INFO: TCP Data received {"connection_id":172524,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:12:37] local.INFO: Processing buffer {"connection_id":172524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:12:37] local.INFO: IMEI packet received {"connection_id":172524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 08:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":172524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:12:48] local.INFO: TCP Data received {"connection_id":174984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:12:48] local.INFO: Processing buffer {"connection_id":174984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:12:48] local.INFO: IMEI packet received {"connection_id":174984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":174984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:12:53] local.INFO: TCP Data received {"connection_id":174984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:12:53] local.INFO: Processing buffer {"connection_id":174984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:12:53] local.INFO: IMEI packet received {"connection_id":174984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":174984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:12:54] local.INFO: TCP Data received {"connection_id":174984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:12:54] local.INFO: Processing buffer {"connection_id":174984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074941568012d532d00064970480006014726..."} 
[2026-09-06 08:12:54] local.INFO: Packet analysis {"connection_id":174984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:12:54] local.INFO: Extracted packet for processing {"connection_id":174984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07494"} 
[2026-09-06 08:12:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897460736001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:12:54] 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-09-06 08:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788662257000,"timestamp_ms":1788662257000,"timestamp_seconds":1788662257,"priority":1,"record_length":96,"hex_timestamp":"000001a074941568"} 
[2026-09-06 08:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:12: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-09-06 08: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:12:54] 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-09-06 08: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-09-06 08:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:12: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-09-06 08:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897460736001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897460736001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:12:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:12:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897460736001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":174984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:12:54] local.INFO: GPS data processed {"connection_id":174984,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:12:54] local.INFO: Acknowledgment sent {"connection_id":174984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:13:16] local.INFO: TCP Data received {"connection_id":172525,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:13:16] local.INFO: Processing buffer {"connection_id":172525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:13:16] local.INFO: IMEI packet received {"connection_id":172525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":172525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:13:17] local.INFO: TCP Data received {"connection_id":172525,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:13:17] local.INFO: Processing buffer {"connection_id":172525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:13:17] local.INFO: IMEI packet received {"connection_id":172525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":172525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:13:22] local.INFO: TCP Data received {"connection_id":172525,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:13:22] local.INFO: Processing buffer {"connection_id":172525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:13:22] local.INFO: IMEI packet received {"connection_id":172525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":172525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:13:23] local.INFO: TCP Data received {"connection_id":172525,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07497caa0012d7d3f4005c22ba80010000310..."} 
[2026-09-06 08:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07497caa0012d7d3f4005c22ba80010000310..."} 
[2026-09-06 08:13:23] local.INFO: Processing buffer {"connection_id":172525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07497caa0012d7d3f4005c22ba80010000310..."} 
[2026-09-06 08:13:23] local.INFO: Packet analysis {"connection_id":172525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07497"} 
[2026-09-06 08:13:23] local.INFO: Extracted packet for processing {"connection_id":172525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07497"} 
[2026-09-06 08:13:23] local.INFO: GPS Element Parsed {"raw_longitude":763182912,"raw_latitude":96611240,"longitude_deg":76.3182912,"latitude_deg":9.661124,"altitude":16,"angle":3,"satellites":16,"speed":8,"hex_longitude":"2d7d3f40","hex_latitude":"05c22ba8","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897597952001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128735090577506304,"note":"Value kept but may cause issues"} 
[2026-09-06 08:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309238761472,"note":"Value kept but may cause issues"} 
[2026-09-06 08:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788662500000,"timestamp_ms":1788662500000,"timestamp_seconds":1788662500,"priority":1,"record_length":96,"hex_timestamp":"000001a07497caa0"} 
[2026-09-06 08:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:13:23] 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-09-06 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-06 08:13:23] 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-09-06 08: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-09-06 08:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:13: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-09-06 08:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897597952001,"66":13580,"9":206,"85":12288,"24":8,"16":128735090577506304,"45":9025143309238761472},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-09-06 08:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897597952001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:13:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 08:13:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128735090577506304,"km_value":128735090577506.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309238761472,"description":"Unknown IO ID 45"} 
[2026-09-06 08:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897597952001,"power":13580,"unknown_9":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9025143309238761472}} 
[2026-09-06 08:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":172525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:13:23] local.INFO: GPS data processed {"connection_id":172525,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:13:23] local.INFO: Acknowledgment sent {"connection_id":172525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:13:25] local.INFO: TCP Data received {"connection_id":174984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:13:25] local.INFO: Processing buffer {"connection_id":174984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:13:25] local.INFO: Packet analysis {"connection_id":174984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:13:25] local.INFO: Extracted packet for processing {"connection_id":174984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:13:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897537792001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:13:25] 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-09-06 08:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788662558000,"timestamp_ms":1788662558000,"timestamp_seconds":1788662558,"priority":1,"record_length":96,"hex_timestamp":"000001a07498ad30"} 
[2026-09-06 08:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:13: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-09-06 08:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:13:25] 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-09-06 08: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-09-06 08:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:13: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-09-06 08:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897537792001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897537792001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:13:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:13:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897537792001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":174984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:13:25] local.INFO: GPS data processed {"connection_id":174984,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:13:25] local.INFO: Acknowledgment sent {"connection_id":174984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:13:48] local.INFO: TCP Data received {"connection_id":172526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:13:48] local.INFO: Processing buffer {"connection_id":172526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:13:48] local.INFO: IMEI packet received {"connection_id":172526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":172526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:13:53] local.INFO: TCP Data received {"connection_id":172526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:13:53] local.INFO: Processing buffer {"connection_id":172526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:13:53] local.INFO: IMEI packet received {"connection_id":172526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":172526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:13:54] local.INFO: TCP Data received {"connection_id":172526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:13:54] local.INFO: Processing buffer {"connection_id":172526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:13:54] local.INFO: Packet analysis {"connection_id":172526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:13:54] local.INFO: Extracted packet for processing {"connection_id":172526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:13:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897537792001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:13:54] 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-09-06 08:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788662558000,"timestamp_ms":1788662558000,"timestamp_seconds":1788662558,"priority":1,"record_length":96,"hex_timestamp":"000001a07498ad30"} 
[2026-09-06 08:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:13: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-09-06 08:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:13:54] 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-09-06 08:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:13: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-09-06 08:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897537792001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897537792001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:13:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:13:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897537792001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":172526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:13:54] local.INFO: GPS data processed {"connection_id":172526,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:13:54] local.INFO: Acknowledgment sent {"connection_id":172526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:13:54] local.INFO: TCP Data received {"connection_id":172525,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0749993a8012d7d4a0005c379e80011000311..."} 
[2026-09-06 08:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749993a8012d7d4a0005c379e80011000311..."} 
[2026-09-06 08:13:54] local.INFO: Processing buffer {"connection_id":172525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749993a8012d7d4a0005c379e80011000311..."} 
[2026-09-06 08:13:54] local.INFO: Packet analysis {"connection_id":172525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07499"} 
[2026-09-06 08:13:54] local.INFO: Extracted packet for processing {"connection_id":172525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07499"} 
[2026-09-06 08:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":96696808,"longitude_deg":76.3185664,"latitude_deg":9.6696808,"altitude":17,"angle":3,"satellites":17,"speed":47,"hex_longitude":"2d7d4a00","hex_latitude":"05c379e8","is_valid_coordinates":true} 
[2026-09-06 08:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897626624001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128739316825325568,"note":"Value kept but may cause issues"} 
[2026-09-06 08:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027043265351024640,"note":"Value kept but may cause issues"} 
[2026-09-06 08:13:54] 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-09-06 08:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788662617000,"timestamp_ms":1788662617000,"timestamp_seconds":1788662617,"priority":1,"record_length":96,"hex_timestamp":"000001a0749993a8"} 
[2026-09-06 08:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-06 08:13:54] 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-09-06 08:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:13:54] 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-09-06 08:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897626624001,"66":12809,"104":206,"85":12288,"24":47,"16":128739316825325568,"45":9027043265351024640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-06 08:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897626624001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:13:54] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-06 08:13:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128739316825325568,"km_value":128739316825325.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027043265351024640,"description":"Unknown IO ID 45"} 
[2026-09-06 08:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897626624001,"power":12809,"unknown_104":206,"unknown_85":12288,"ignition":47,"odometer":null,"unknown_45":9027043265351024640}} 
[2026-09-06 08:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":172525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:13:54] local.INFO: GPS data processed {"connection_id":172525,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:13:54] local.INFO: Acknowledgment sent {"connection_id":172525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:14:16] local.INFO: TCP Data received {"connection_id":174986,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:14:16] local.INFO: Processing buffer {"connection_id":174986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:14:16] local.INFO: IMEI packet received {"connection_id":174986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":174986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:14:17] local.INFO: TCP Data received {"connection_id":174986,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:14:17] local.INFO: Processing buffer {"connection_id":174986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:14:17] local.INFO: IMEI packet received {"connection_id":174986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":174986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:14:25] local.INFO: TCP Data received {"connection_id":172526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:14:25] local.INFO: Processing buffer {"connection_id":172526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:14:25] local.INFO: Packet analysis {"connection_id":172526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:14:25] local.INFO: Extracted packet for processing {"connection_id":172526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:14:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897537792001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:25] 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-09-06 08:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788662558000,"timestamp_ms":1788662558000,"timestamp_seconds":1788662558,"priority":1,"record_length":96,"hex_timestamp":"000001a07498ad30"} 
[2026-09-06 08:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:14:25] 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-09-06 08: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-09-06 08:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:14: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-09-06 08:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897537792001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897537792001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:14:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:14:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897537792001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":172526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:14:25] local.INFO: GPS data processed {"connection_id":172526,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:14:25] local.INFO: Acknowledgment sent {"connection_id":172526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:14:26] local.INFO: TCP Data received {"connection_id":174986,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:14:26] local.INFO: Processing buffer {"connection_id":174986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:14:26] local.INFO: IMEI packet received {"connection_id":174986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":174986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:14:27] local.INFO: TCP Data received {"connection_id":174986,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07499af00012d7d494005c39ec80011016411..."} 
[2026-09-06 08:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07499af00012d7d494005c39ec80011016411..."} 
[2026-09-06 08:14:27] local.INFO: Processing buffer {"connection_id":174986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07499af00012d7d494005c39ec80011016411..."} 
[2026-09-06 08:14:27] local.INFO: Packet analysis {"connection_id":174986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07499"} 
[2026-09-06 08:14:27] local.INFO: Extracted packet for processing {"connection_id":174986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07499"} 
[2026-09-06 08:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763185472,"raw_latitude":96706248,"longitude_deg":76.3185472,"latitude_deg":9.6706248,"altitude":17,"angle":356,"satellites":17,"speed":56,"hex_longitude":"2d7d4940","hex_latitude":"05c39ec8","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897629952001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128739772091858944,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427771963392,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:27] 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-09-06 08:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788662624000,"timestamp_ms":1788662624000,"timestamp_seconds":1788662624,"priority":1,"record_length":96,"hex_timestamp":"000001a07499af00"} 
[2026-09-06 08:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-06 08:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3674937296102097920,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:27] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3087084925,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:27] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3942645760,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:27] local.WARNING: Large IO value detected {"io_id":116,"raw_value":-7467232059912793280,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1650983118,"corrected_to":0} 
[2026-09-06 08:14:27] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2147861225,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:27] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3675163118469697109,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4410976767477455856,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:27] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755554060009713,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:27] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,104,85,24,241,157,16,95,160,96,45,128,84,17,10,66,57,192,18,1,240,97,227,94,116,195,4,113,205,44,77,168,239,52,2,201,5,20,36,48,252],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1650983118,"validated":0}]} 
[2026-09-06 08:14:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1224982470197182464,"timestamp_seconds":1224982470197182.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:14: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-09-06 08:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897629952001,"66":12667,"104":206,"85":12288,"24":56,"16":128739772091858944,"45":9028028427771963392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-06 08:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897629952001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:14:27] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-06 08:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128739772091858944,"km_value":128739772091858.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427771963392,"description":"Unknown IO ID 45"} 
[2026-09-06 08:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897629952001,"power":12667,"unknown_104":206,"unknown_85":12288,"ignition":56,"odometer":null,"unknown_45":9028028427771963392}} 
[2026-09-06 08:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":174986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:14:27] local.INFO: GPS data processed {"connection_id":174986,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:14:27] local.INFO: Acknowledgment sent {"connection_id":174986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:14:48] local.INFO: TCP Data received {"connection_id":172300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:14:48] local.INFO: Processing buffer {"connection_id":172300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:14:48] local.INFO: IMEI packet received {"connection_id":172300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":172300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:14:53] local.INFO: TCP Data received {"connection_id":172300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:14:53] local.INFO: Processing buffer {"connection_id":172300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:14:53] local.INFO: IMEI packet received {"connection_id":172300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":172300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:14:54] local.INFO: TCP Data received {"connection_id":172300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:14:54] local.INFO: Processing buffer {"connection_id":172300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:14:54] local.INFO: Packet analysis {"connection_id":172300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:14:54] local.INFO: Extracted packet for processing {"connection_id":172300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:14:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897537792001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:14:54] 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-09-06 08:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788662558000,"timestamp_ms":1788662558000,"timestamp_seconds":1788662558,"priority":1,"record_length":96,"hex_timestamp":"000001a07498ad30"} 
[2026-09-06 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-09-06 08:14: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-09-06 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:14:54] 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-09-06 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-09-06 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-09-06 08:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:14: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-09-06 08:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897537792001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897537792001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:14:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:14:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897537792001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":172300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:14:54] local.INFO: GPS data processed {"connection_id":172300,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:14:54] local.INFO: Acknowledgment sent {"connection_id":172300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:15:01] local.INFO: TCP Data received {"connection_id":174986,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07499ca58012d7d460005c3c4f80011015f11..."} 
[2026-09-06 08:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07499ca58012d7d460005c3c4f80011015f11..."} 
[2026-09-06 08:15:01] local.INFO: Processing buffer {"connection_id":174986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07499ca58012d7d460005c3c4f80011015f11..."} 
[2026-09-06 08:15:01] local.INFO: Packet analysis {"connection_id":174986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07499"} 
[2026-09-06 08:15:01] local.INFO: Extracted packet for processing {"connection_id":174986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07499"} 
[2026-09-06 08:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763184640,"raw_latitude":96716024,"longitude_deg":76.318464,"latitude_deg":9.6716024,"altitude":17,"angle":351,"satellites":17,"speed":54,"hex_longitude":"2d7d4600","hex_latitude":"05c3c4f8","is_valid_coordinates":true} 
[2026-09-06 08:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897631744001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128740248833228800,"note":"Value kept but may cause issues"} 
[2026-09-06 08:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027817321541847040,"note":"Value kept but may cause issues"} 
[2026-09-06 08:15:01] 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-09-06 08:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788662631000,"timestamp_ms":1788662631000,"timestamp_seconds":1788662631,"priority":1,"record_length":96,"hex_timestamp":"000001a07499ca58"} 
[2026-09-06 08:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:15:01] 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-09-06 08:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-06 08:15:01] 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-09-06 08:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:15:01] 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-09-06 08:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897631744001,"66":13091,"104":206,"85":12288,"24":54,"16":128740248833228800,"45":9027817321541847040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-06 08:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897631744001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:15:01] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-06 08:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128740248833228800,"km_value":128740248833228.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027817321541847040,"description":"Unknown IO ID 45"} 
[2026-09-06 08:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897631744001,"power":13091,"unknown_104":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":9027817321541847040}} 
[2026-09-06 08:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":174986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:15:01] local.INFO: GPS data processed {"connection_id":174986,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:15:01] local.INFO: Acknowledgment sent {"connection_id":174986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:15:17] local.INFO: TCP Data received {"connection_id":173681,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:15:17] local.INFO: Processing buffer {"connection_id":173681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:15:17] local.INFO: IMEI packet received {"connection_id":173681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":173681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:15:22] local.INFO: TCP Data received {"connection_id":173681,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:15:22] local.INFO: Processing buffer {"connection_id":173681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:15:22] local.INFO: IMEI packet received {"connection_id":173681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":173681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:15:23] local.INFO: TCP Data received {"connection_id":173681,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07499e5b0012d7d3f4005c3e8e00010016011..."} 
[2026-09-06 08:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07499e5b0012d7d3f4005c3e8e00010016011..."} 
[2026-09-06 08:15:23] local.INFO: Processing buffer {"connection_id":173681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07499e5b0012d7d3f4005c3e8e00010016011..."} 
[2026-09-06 08:15:23] local.INFO: Packet analysis {"connection_id":173681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07499"} 
[2026-09-06 08:15:23] local.INFO: Extracted packet for processing {"connection_id":173681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07499"} 
[2026-09-06 08:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763182912,"raw_latitude":96725216,"longitude_deg":76.3182912,"latitude_deg":9.6725216,"altitude":16,"angle":352,"satellites":17,"speed":52,"hex_longitude":"2d7d3f40","hex_latitude":"05c3e8e0","is_valid_coordinates":true} 
[2026-09-06 08:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897633536001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128740704099762176,"note":"Value kept but may cause issues"} 
[2026-09-06 08:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026902527870040064,"note":"Value kept but may cause issues"} 
[2026-09-06 08:15:23] 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-09-06 08:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788662638000,"timestamp_ms":1788662638000,"timestamp_seconds":1788662638,"priority":1,"record_length":96,"hex_timestamp":"000001a07499e5b0"} 
[2026-09-06 08:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-06 08:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:15: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-09-06 08:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897633536001,"66":12722,"104":206,"85":12288,"24":52,"16":128740704099762176,"45":9026902527870040064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-09-06 08:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897633536001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:15:23] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-06 08:15:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128740704099762176,"km_value":128740704099762.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026902527870040064,"description":"Unknown IO ID 45"} 
[2026-09-06 08:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897633536001,"power":12722,"unknown_104":206,"unknown_85":12288,"ignition":52,"odometer":null,"unknown_45":9026902527870040064}} 
[2026-09-06 08:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":173681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:15:23] local.INFO: GPS data processed {"connection_id":173681,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:15:23] local.INFO: Acknowledgment sent {"connection_id":173681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:15:25] local.INFO: TCP Data received {"connection_id":172300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:15:25] local.INFO: Processing buffer {"connection_id":172300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:15:25] local.INFO: Packet analysis {"connection_id":172300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:15:25] local.INFO: Extracted packet for processing {"connection_id":172300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:15:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897537792001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:15:25] 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-09-06 08:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788662558000,"timestamp_ms":1788662558000,"timestamp_seconds":1788662558,"priority":1,"record_length":96,"hex_timestamp":"000001a07498ad30"} 
[2026-09-06 08:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:15: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-09-06 08: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:15:25] 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-09-06 08: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-09-06 08:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:15: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-09-06 08:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897537792001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897537792001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:15:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:15:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897537792001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":172300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:15:25] local.INFO: GPS data processed {"connection_id":172300,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:15:25] local.INFO: Acknowledgment sent {"connection_id":172300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:15:30] local.INFO: TCP Data received {"connection_id":174987,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:15:30] local.INFO: Processing buffer {"connection_id":174987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:15:30] local.INFO: IMEI packet received {"connection_id":174987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":174987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:15:31] local.INFO: TCP Data received {"connection_id":174987,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:15:31] local.INFO: Processing buffer {"connection_id":174987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:15:31] local.INFO: IMEI packet received {"connection_id":174987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":174987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:15:35] local.INFO: TCP Data received {"connection_id":174987,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:15:35] local.INFO: Processing buffer {"connection_id":174987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:15:35] local.INFO: IMEI packet received {"connection_id":174987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":174987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:15:35] local.INFO: TCP Data received {"connection_id":174987,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-06 08:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174987,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-06 08:15:35] local.INFO: Processing buffer {"connection_id":174987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-06 08:15:35] local.INFO: Packet analysis {"connection_id":174987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-06 08:15:35] local.INFO: Extracted packet for processing {"connection_id":174987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-06 08:15:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 08:15:35] 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-09-06 08:15:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:15:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 08:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174987,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-06 08:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-06 08:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 08:15:35] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 08:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":174987,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 08:15:35] local.ERROR: GPS data processing failed {"connection_id":174987,"error":"No valid data to process"} 
[2026-09-06 08:15:35] local.INFO: Acknowledgment sent {"connection_id":174987,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 08:15:48] local.INFO: TCP Data received {"connection_id":173682,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:15:48] local.INFO: Processing buffer {"connection_id":173682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:15:48] local.INFO: IMEI packet received {"connection_id":173682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":173682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:15:53] local.INFO: TCP Data received {"connection_id":173682,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:15:53] local.INFO: Processing buffer {"connection_id":173682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:15:53] local.INFO: IMEI packet received {"connection_id":173682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":173682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:15:54] local.INFO: TCP Data received {"connection_id":173681,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0749b58c8012d7d410005c591880008016711..."} 
[2026-09-06 08:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749b58c8012d7d410005c591880008016711..."} 
[2026-09-06 08:15:54] local.INFO: Processing buffer {"connection_id":173681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749b58c8012d7d410005c591880008016711..."} 
[2026-09-06 08:15:54] local.INFO: Packet analysis {"connection_id":173681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749b"} 
[2026-09-06 08:15:54] local.INFO: Extracted packet for processing {"connection_id":173681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749b"} 
[2026-09-06 08:15:54] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":96833928,"longitude_deg":76.318336,"latitude_deg":9.6833928,"altitude":8,"angle":359,"satellites":17,"speed":29,"hex_longitude":"2d7d4100","hex_latitude":"05c59188","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897656576001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128745986909536256,"note":"Value kept but may cause issues"} 
[2026-09-06 08:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784270172160,"note":"Value kept but may cause issues"} 
[2026-09-06 08:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788662733000,"timestamp_ms":1788662733000,"timestamp_seconds":1788662733,"priority":1,"record_length":96,"hex_timestamp":"000001a0749b58c8"} 
[2026-09-06 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-09-06 08:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 08:15:54] 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-09-06 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-09-06 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-09-06 08:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:15:54] 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-09-06 08:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897656576001,"66":13319,"227":206,"85":12288,"24":29,"16":128745986909536256,"45":9025424784270172160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-06 08:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897656576001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:15:54] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-06 08:15:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128745986909536256,"km_value":128745986909536.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784270172160,"description":"Unknown IO ID 45"} 
[2026-09-06 08:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897656576001,"power":13319,"unknown_227":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9025424784270172160}} 
[2026-09-06 08:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":173681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:15:54] local.INFO: GPS data processed {"connection_id":173681,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:15:54] local.INFO: Acknowledgment sent {"connection_id":173681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:15:54] local.INFO: TCP Data received {"connection_id":173682,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:15:54] local.INFO: Processing buffer {"connection_id":173682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:15:54] local.INFO: Packet analysis {"connection_id":173682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:15:54] local.INFO: Extracted packet for processing {"connection_id":173682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:15:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897537792001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:15:54] 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-09-06 08:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788662558000,"timestamp_ms":1788662558000,"timestamp_seconds":1788662558,"priority":1,"record_length":96,"hex_timestamp":"000001a07498ad30"} 
[2026-09-06 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-09-06 08:15: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-09-06 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:15:54] 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-09-06 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-09-06 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-09-06 08:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08: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-09-06 08:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897537792001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897537792001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:15:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:15:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897537792001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":173682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:15:54] local.INFO: GPS data processed {"connection_id":173682,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:15:54] local.INFO: Acknowledgment sent {"connection_id":173682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:16:06] local.INFO: TCP Data received {"connection_id":174987,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-06 08:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-06 08:16:06] local.INFO: Processing buffer {"connection_id":174987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-09-06 08:16:06] local.INFO: Packet analysis {"connection_id":174987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 08:16:06] local.INFO: Extracted packet for processing {"connection_id":174987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 08:16: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-09-06 08: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-09-06 08:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:06] 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-09-06 08:16:06] 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-09-06 08:16:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 08:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174987,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-06 08:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-06 08:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 08:16:06] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 08:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":174987,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 08:16:06] local.ERROR: GPS data processing failed {"connection_id":174987,"error":"No valid data to process"} 
[2026-09-06 08:16:06] local.INFO: Acknowledgment sent {"connection_id":174987,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 08:16:17] local.INFO: TCP Data received {"connection_id":172527,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:16:17] local.INFO: Processing buffer {"connection_id":172527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:16:17] local.INFO: IMEI packet received {"connection_id":172527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":172527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:16:22] local.INFO: TCP Data received {"connection_id":172527,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:16:22] local.INFO: Processing buffer {"connection_id":172527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:16:22] local.INFO: IMEI packet received {"connection_id":172527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":172527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:16:23] local.INFO: TCP Data received {"connection_id":172527,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0749b8b90012d7d3e0005c5b5400009015a11..."} 
[2026-09-06 08:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749b8b90012d7d3e0005c5b5400009015a11..."} 
[2026-09-06 08:16:23] local.INFO: Processing buffer {"connection_id":172527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749b8b90012d7d3e0005c5b5400009015a11..."} 
[2026-09-06 08:16:23] local.INFO: Packet analysis {"connection_id":172527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749b"} 
[2026-09-06 08:16:23] local.INFO: Extracted packet for processing {"connection_id":172527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749b"} 
[2026-09-06 08:16:23] local.INFO: GPS Element Parsed {"raw_longitude":763182592,"raw_latitude":96843072,"longitude_deg":76.3182592,"latitude_deg":9.6843072,"altitude":9,"angle":346,"satellites":17,"speed":26,"hex_longitude":"2d7d3e00","hex_latitude":"05c5b540","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897659648001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128746433586135040,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025495153016670208,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788662746000,"timestamp_ms":1788662746000,"timestamp_seconds":1788662746,"priority":1,"record_length":96,"hex_timestamp":"000001a0749b8b90"} 
[2026-09-06 08:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":7,"data_length":795,"current_offset":136} 
[2026-09-06 08:16:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:23] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2432696320,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:23] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2595790849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2827419854,"corrected_to":0} 
[2026-09-06 08:16:23] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392040,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3302209536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:23] local.WARNING: Large IO value detected {"io_id":221,"raw_value":57887668013258032,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:23] local.WARNING: Large IO value detected {"io_id":154,"raw_value":7392660083215810565,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:23] local.WARNING: Large IO value detected {"io_id":196,"raw_value":-5733082269784600320,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:23] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,227,85,24,241,157,16,101,160,41,45,192,110,8,17,10,66,254,128,73,9,100,211,64,1,240,35,116,197,4,113,205,29,153,70,168,239,51,135,2,201,5,13,57,221,154,196],"length":527,"final_offset":657,"validated_count":47,"validation_warnings":[{"io_id":205,"original":2827419854,"validated":0}]} 
[2026-09-06 08:16:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576855549994139648,"timestamp_seconds":576855549994139.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:16: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-09-06 08:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897659648001,"66":12917,"227":206,"85":12288,"24":26,"16":128746433586135040,"45":9025495153016670208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-06 08:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897659648001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:16:23] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-06 08:16:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128746433586135040,"km_value":128746433586135.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025495153016670208,"description":"Unknown IO ID 45"} 
[2026-09-06 08:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897659648001,"power":12917,"unknown_227":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9025495153016670208}} 
[2026-09-06 08:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":172527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:16:23] local.INFO: GPS data processed {"connection_id":172527,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:16:23] local.INFO: Acknowledgment sent {"connection_id":172527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:16:25] local.INFO: TCP Data received {"connection_id":173682,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:16:25] local.INFO: Processing buffer {"connection_id":173682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:16:25] local.INFO: Packet analysis {"connection_id":173682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:16:25] local.INFO: Extracted packet for processing {"connection_id":173682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:16:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897537792001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:25] 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-09-06 08:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788662558000,"timestamp_ms":1788662558000,"timestamp_seconds":1788662558,"priority":1,"record_length":96,"hex_timestamp":"000001a07498ad30"} 
[2026-09-06 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-09-06 08:16: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-09-06 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:16:25] 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-09-06 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-09-06 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-09-06 08:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08: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-09-06 08:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897537792001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897537792001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:16:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:16:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897537792001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":173682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:16:25] local.INFO: GPS data processed {"connection_id":173682,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:16:25] local.INFO: Acknowledgment sent {"connection_id":173682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:16:37] local.INFO: TCP Data received {"connection_id":174987,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0749bf1200100000000000000000000000000..."} 
[2026-09-06 08:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749bf1200100000000000000000000000000..."} 
[2026-09-06 08:16:37] local.INFO: Processing buffer {"connection_id":174987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749bf1200100000000000000000000000000..."} 
[2026-09-06 08:16:37] local.INFO: Packet analysis {"connection_id":174987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749b"} 
[2026-09-06 08:16:37] local.INFO: Extracted packet for processing {"connection_id":174987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749b"} 
[2026-09-06 08:16:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:37] 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-09-06 08:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788662772000,"timestamp_ms":1788662772000,"timestamp_seconds":1788662772,"priority":1,"record_length":96,"hex_timestamp":"000001a0749bf120"} 
[2026-09-06 08:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-06 08:16:37] 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-09-06 08: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-09-06 08:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":174987,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 08:16:37] local.INFO: GPS data processed {"connection_id":174987,"processed":0,"errors":0,"total":1} 
[2026-09-06 08:16:37] local.INFO: Acknowledgment sent {"connection_id":174987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:16:53] local.INFO: TCP Data received {"connection_id":174989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:16:53] local.INFO: Processing buffer {"connection_id":174989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:16:53] local.INFO: IMEI packet received {"connection_id":174989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":174989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:16:54] local.INFO: TCP Data received {"connection_id":172527,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0749b8b90012d7d3e0005c5b5400009015a11..."} 
[2026-09-06 08:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749b8b90012d7d3e0005c5b5400009015a11..."} 
[2026-09-06 08:16:54] local.INFO: Processing buffer {"connection_id":172527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749b8b90012d7d3e0005c5b5400009015a11..."} 
[2026-09-06 08:16:54] local.INFO: Packet analysis {"connection_id":172527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749b"} 
[2026-09-06 08:16:54] local.INFO: Extracted packet for processing {"connection_id":172527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749b"} 
[2026-09-06 08:16:54] local.INFO: GPS Element Parsed {"raw_longitude":763182592,"raw_latitude":96843072,"longitude_deg":76.3182592,"latitude_deg":9.6843072,"altitude":9,"angle":346,"satellites":17,"speed":26,"hex_longitude":"2d7d3e00","hex_latitude":"05c5b540","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897662976001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128746433586135040,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024650728088879104,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788662746000,"timestamp_ms":1788662746000,"timestamp_seconds":1788662746,"priority":1,"record_length":96,"hex_timestamp":"000001a0749b8b90"} 
[2026-09-06 08:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 08:16:54] 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-09-06 08: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-09-06 08:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:16:54] 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-09-06 08:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897662976001,"66":12917,"227":206,"85":12288,"24":26,"16":128746433586135040,"45":9024650728088879104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-09-06 08:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897662976001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:16:54] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-06 08:16:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128746433586135040,"km_value":128746433586135.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024650728088879104,"description":"Unknown IO ID 45"} 
[2026-09-06 08:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897662976001,"power":12917,"unknown_227":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9024650728088879104}} 
[2026-09-06 08:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":172527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:16:54] local.INFO: GPS data processed {"connection_id":172527,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:16:54] local.INFO: Acknowledgment sent {"connection_id":172527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:16:58] local.INFO: TCP Data received {"connection_id":174989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:16:58] local.INFO: Processing buffer {"connection_id":174989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:16:58] local.INFO: IMEI packet received {"connection_id":174989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":174989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:16:59] local.INFO: TCP Data received {"connection_id":174989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:16:59] local.INFO: Processing buffer {"connection_id":174989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:16:59] local.INFO: Packet analysis {"connection_id":174989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:16:59] local.INFO: Extracted packet for processing {"connection_id":174989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:16:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897537792001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:16:59] 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-09-06 08:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788662558000,"timestamp_ms":1788662558000,"timestamp_seconds":1788662558,"priority":1,"record_length":96,"hex_timestamp":"000001a07498ad30"} 
[2026-09-06 08:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:16: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-09-06 08:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:16:59] 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-09-06 08:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897537792001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897537792001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:16:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:16:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897537792001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":174989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:16:59] local.INFO: GPS data processed {"connection_id":174989,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:16:59] local.INFO: Acknowledgment sent {"connection_id":174989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:17:04] local.INFO: TCP Data received {"connection_id":174989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:17:04] local.INFO: Processing buffer {"connection_id":174989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:17:04] local.INFO: Packet analysis {"connection_id":174989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:17:04] local.INFO: Extracted packet for processing {"connection_id":174989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:17:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897537792001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788662558000,"timestamp_ms":1788662558000,"timestamp_seconds":1788662558,"priority":1,"record_length":96,"hex_timestamp":"000001a07498ad30"} 
[2026-09-06 08:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:17: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-09-06 08:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897537792001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897537792001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:17:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:17:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897537792001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":174989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:17:04] local.INFO: GPS data processed {"connection_id":174989,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:17:04] local.INFO: Acknowledgment sent {"connection_id":174989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:17:08] local.INFO: TCP Data received {"connection_id":174987,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0749c43280100000000000000000000000000..."} 
[2026-09-06 08:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749c43280100000000000000000000000000..."} 
[2026-09-06 08:17:08] local.INFO: Processing buffer {"connection_id":174987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749c43280100000000000000000000000000..."} 
[2026-09-06 08:17:08] local.INFO: Packet analysis {"connection_id":174987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749c"} 
[2026-09-06 08:17:08] local.INFO: Extracted packet for processing {"connection_id":174987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749c"} 
[2026-09-06 08:17: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-09-06 08: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-09-06 08:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 08:17:08] 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-09-06 08:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788662793000,"timestamp_ms":1788662793000,"timestamp_seconds":1788662793,"priority":1,"record_length":96,"hex_timestamp":"000001a0749c4328"} 
[2026-09-06 08:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:17: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-09-06 08: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-06 08:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6986851878,"note":"Value kept but may cause issues"} 
[2026-09-06 08:17:08] local.WARNING: Large IO value detected {"io_id":93,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-09-06 08:17:08] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84751889572765681,"note":"Value kept but may cause issues"} 
[2026-09-06 08:17:08] local.WARNING: Large IO value detected {"io_id":40,"raw_value":19141694901452800,"note":"Value kept but may cause issues"} 
[2026-09-06 08:17:08] local.INFO: IO Element Parsed {"io_data_count":29,"io_data_keys":[0,101,83,24,241,157,16,93,13,10,66,102,187,27,1,240,113,4,205,239,2,47,64,160,7,68,206,232,40],"length":529,"final_offset":659,"validated_count":29,"validation_warnings":[]} 
[2026-09-06 08:17:08] 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-09-06 08:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":174987,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 08:17:08] local.INFO: GPS data processed {"connection_id":174987,"processed":0,"errors":0,"total":1} 
[2026-09-06 08:17:08] local.INFO: Acknowledgment sent {"connection_id":174987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:17:25] local.INFO: TCP Data received {"connection_id":172528,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172528,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:17:25] local.INFO: Processing buffer {"connection_id":172528,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:17:25] local.INFO: IMEI packet received {"connection_id":172528,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":172528,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:17:40] local.INFO: TCP Data received {"connection_id":174987,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0749c95300100000000000000000000000000..."} 
[2026-09-06 08:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749c95300100000000000000000000000000..."} 
[2026-09-06 08:17:40] local.INFO: Processing buffer {"connection_id":174987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749c95300100000000000000000000000000..."} 
[2026-09-06 08:17:40] local.INFO: Packet analysis {"connection_id":174987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749c"} 
[2026-09-06 08:17:40] local.INFO: Extracted packet for processing {"connection_id":174987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749c"} 
[2026-09-06 08:17:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 08:17:40] 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-09-06 08:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788662814000,"timestamp_ms":1788662814000,"timestamp_seconds":1788662814,"priority":1,"record_length":96,"hex_timestamp":"000001a0749c9530"} 
[2026-09-06 08:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:17:40] 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-09-06 08: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-06 08:17:40] 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-09-06 08: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-09-06 08:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":174987,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 08:17:40] local.INFO: GPS data processed {"connection_id":174987,"processed":0,"errors":0,"total":1} 
[2026-09-06 08:17:40] local.INFO: Acknowledgment sent {"connection_id":174987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:17:45] local.INFO: TCP Data received {"connection_id":172528,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172528,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:17:45] local.INFO: Processing buffer {"connection_id":172528,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:17:45] local.INFO: IMEI packet received {"connection_id":172528,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":172528,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:17:46] local.INFO: TCP Data received {"connection_id":172528,"ip":"42.109.136.3","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-06 08:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172528,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-06 08:17:46] local.INFO: Processing buffer {"connection_id":172528,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-06 08:17:46] local.INFO: IMEI packet received {"connection_id":172528,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":172528,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:17:48] local.INFO: TCP Data received {"connection_id":172301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:17:48] local.INFO: Processing buffer {"connection_id":172301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:17:48] local.INFO: IMEI packet received {"connection_id":172301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":172301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:17:53] local.INFO: TCP Data received {"connection_id":172301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:17:53] local.INFO: Processing buffer {"connection_id":172301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:17:53] local.INFO: IMEI packet received {"connection_id":172301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":172301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:17:54] local.INFO: TCP Data received {"connection_id":172301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:17:54] local.INFO: Processing buffer {"connection_id":172301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07498ad30012d532d00064970480006014727..."} 
[2026-09-06 08:17:54] local.INFO: Packet analysis {"connection_id":172301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:17:54] local.INFO: Extracted packet for processing {"connection_id":172301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07498"} 
[2026-09-06 08:17:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897537792001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:17:54] 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-09-06 08:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788662558000,"timestamp_ms":1788662558000,"timestamp_seconds":1788662558,"priority":1,"record_length":96,"hex_timestamp":"000001a07498ad30"} 
[2026-09-06 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-09-06 08:17: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-09-06 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:17:54] 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-09-06 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-09-06 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-09-06 08:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:17: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-09-06 08:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897537792001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897537792001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:17:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:17:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897537792001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":172301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:17:54] local.INFO: GPS data processed {"connection_id":172301,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:17:54] local.INFO: Acknowledgment sent {"connection_id":172301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:18:10] local.INFO: TCP Data received {"connection_id":174987,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0749ce7380100000000000000000000000000..."} 
[2026-09-06 08:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749ce7380100000000000000000000000000..."} 
[2026-09-06 08:18:10] local.INFO: Processing buffer {"connection_id":174987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749ce7380100000000000000000000000000..."} 
[2026-09-06 08:18:10] local.INFO: Packet analysis {"connection_id":174987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749c"} 
[2026-09-06 08:18:10] local.INFO: Extracted packet for processing {"connection_id":174987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749c"} 
[2026-09-06 08:18: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-09-06 08: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-09-06 08:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 08:18:10] 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-09-06 08:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788662835000,"timestamp_ms":1788662835000,"timestamp_seconds":1788662835,"priority":1,"record_length":96,"hex_timestamp":"000001a0749ce738"} 
[2026-09-06 08:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:18:10] 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-09-06 08: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-06 08:18:10] 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-09-06 08: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-09-06 08:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":174987,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 08:18:10] local.INFO: GPS data processed {"connection_id":174987,"processed":0,"errors":0,"total":1} 
[2026-09-06 08:18:10] local.INFO: Acknowledgment sent {"connection_id":174987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:18:17] local.INFO: TCP Data received {"connection_id":172529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:18:17] local.INFO: Processing buffer {"connection_id":172529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:18:17] local.INFO: IMEI packet received {"connection_id":172529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 08:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":172529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:18:25] local.INFO: TCP Data received {"connection_id":172301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:18:25] local.INFO: Processing buffer {"connection_id":172301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:18:25] local.INFO: Packet analysis {"connection_id":172301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:18:25] local.INFO: Extracted packet for processing {"connection_id":172301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:18:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897614848001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:18:25] 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-09-06 08:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788662859000,"timestamp_ms":1788662859000,"timestamp_seconds":1788662859,"priority":1,"record_length":96,"hex_timestamp":"000001a0749d44f8"} 
[2026-09-06 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-09-06 08:18: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-09-06 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:18:25] 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-09-06 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-09-06 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-09-06 08:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08: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-09-06 08:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897614848001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897614848001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:18:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:18:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897614848001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":172301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:18:25] local.INFO: GPS data processed {"connection_id":172301,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:18:25] local.INFO: Acknowledgment sent {"connection_id":172301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:18:41] local.INFO: TCP Data received {"connection_id":174987,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0749d39400100000000000000000000000000..."} 
[2026-09-06 08:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749d39400100000000000000000000000000..."} 
[2026-09-06 08:18:41] local.INFO: Processing buffer {"connection_id":174987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749d39400100000000000000000000000000..."} 
[2026-09-06 08:18:41] local.INFO: Packet analysis {"connection_id":174987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:18:41] local.INFO: Extracted packet for processing {"connection_id":174987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:18: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-09-06 08:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 08:18:41] 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-09-06 08:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788662856000,"timestamp_ms":1788662856000,"timestamp_seconds":1788662856,"priority":1,"record_length":96,"hex_timestamp":"000001a0749d3940"} 
[2026-09-06 08:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-06 08:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":174987,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 08:18:41] local.INFO: GPS data processed {"connection_id":174987,"processed":0,"errors":0,"total":1} 
[2026-09-06 08:18:41] local.INFO: Acknowledgment sent {"connection_id":174987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:18:48] local.INFO: TCP Data received {"connection_id":174990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:18:48] local.INFO: Processing buffer {"connection_id":174990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:18:48] local.INFO: IMEI packet received {"connection_id":174990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":174990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:18:53] local.INFO: TCP Data received {"connection_id":174990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:18:53] local.INFO: Processing buffer {"connection_id":174990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:18:53] local.INFO: IMEI packet received {"connection_id":174990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":174990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:18:54] local.INFO: TCP Data received {"connection_id":174990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:18:54] local.INFO: Processing buffer {"connection_id":174990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:18:54] local.INFO: Packet analysis {"connection_id":174990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:18:54] local.INFO: Extracted packet for processing {"connection_id":174990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:18:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897614848001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:18:54] 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-09-06 08:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788662859000,"timestamp_ms":1788662859000,"timestamp_seconds":1788662859,"priority":1,"record_length":96,"hex_timestamp":"000001a0749d44f8"} 
[2026-09-06 08:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:18: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-09-06 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:18:54] 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-09-06 08: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-09-06 08:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:18: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-09-06 08:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897614848001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897614848001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:18:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:18:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897614848001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":174990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:18:54] local.INFO: GPS data processed {"connection_id":174990,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:18:54] local.INFO: Acknowledgment sent {"connection_id":174990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:19:12] local.INFO: TCP Data received {"connection_id":174987,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0749d8b480100000000000000000000000000..."} 
[2026-09-06 08:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749d8b480100000000000000000000000000..."} 
[2026-09-06 08:19:12] local.INFO: Processing buffer {"connection_id":174987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749d8b480100000000000000000000000000..."} 
[2026-09-06 08:19:12] local.INFO: Packet analysis {"connection_id":174987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:19:12] local.INFO: Extracted packet for processing {"connection_id":174987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:19:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 08:19:12] 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-09-06 08:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788662877000,"timestamp_ms":1788662877000,"timestamp_seconds":1788662877,"priority":1,"record_length":96,"hex_timestamp":"000001a0749d8b48"} 
[2026-09-06 08:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:19:12] 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-09-06 08: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-06 08:19:12] 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-09-06 08: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-09-06 08:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":174987,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 08:19:12] local.INFO: GPS data processed {"connection_id":174987,"processed":0,"errors":0,"total":1} 
[2026-09-06 08:19:12] local.INFO: Acknowledgment sent {"connection_id":174987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:19:25] local.INFO: TCP Data received {"connection_id":174990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:19:25] local.INFO: Processing buffer {"connection_id":174990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:19:25] local.INFO: Packet analysis {"connection_id":174990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:19:25] local.INFO: Extracted packet for processing {"connection_id":174990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:19:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897614848001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:19:25] 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-09-06 08:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788662859000,"timestamp_ms":1788662859000,"timestamp_seconds":1788662859,"priority":1,"record_length":96,"hex_timestamp":"000001a0749d44f8"} 
[2026-09-06 08:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:19: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-09-06 08:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:19:25] 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-09-06 08:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:19: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-09-06 08:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897614848001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897614848001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:19:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:19:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897614848001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":174990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:19:25] local.INFO: GPS data processed {"connection_id":174990,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:19:25] local.INFO: Acknowledgment sent {"connection_id":174990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:19:44] local.INFO: TCP Data received {"connection_id":174987,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0749ddd500100000000000000000000000000..."} 
[2026-09-06 08:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749ddd500100000000000000000000000000..."} 
[2026-09-06 08:19:44] local.INFO: Processing buffer {"connection_id":174987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749ddd500100000000000000000000000000..."} 
[2026-09-06 08:19:44] local.INFO: Packet analysis {"connection_id":174987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:19:44] local.INFO: Extracted packet for processing {"connection_id":174987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:19:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18117400415174656,"note":"Value kept but may cause issues"} 
[2026-09-06 08:19:44] 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-09-06 08:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788662898000,"timestamp_ms":1788662898000,"timestamp_seconds":1788662898,"priority":1,"record_length":96,"hex_timestamp":"000001a0749ddd50"} 
[2026-09-06 08:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-06 08:19:44] 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-09-06 08: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-09-06 08:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":174987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":174987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":174987,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 08:19:44] local.INFO: GPS data processed {"connection_id":174987,"processed":0,"errors":0,"total":1} 
[2026-09-06 08:19:44] local.INFO: Acknowledgment sent {"connection_id":174987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:19:48] local.INFO: TCP Data received {"connection_id":172531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:19:48] local.INFO: Processing buffer {"connection_id":172531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:19:48] local.INFO: IMEI packet received {"connection_id":172531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":172531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:19:53] local.INFO: TCP Data received {"connection_id":172531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:19:53] local.INFO: Processing buffer {"connection_id":172531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:19:53] local.INFO: IMEI packet received {"connection_id":172531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":172531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:19:54] local.INFO: TCP Data received {"connection_id":172531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:19:54] local.INFO: Processing buffer {"connection_id":172531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:19:54] local.INFO: Packet analysis {"connection_id":172531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:19:54] local.INFO: Extracted packet for processing {"connection_id":172531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:19:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897614848001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:19:54] 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-09-06 08:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788662859000,"timestamp_ms":1788662859000,"timestamp_seconds":1788662859,"priority":1,"record_length":96,"hex_timestamp":"000001a0749d44f8"} 
[2026-09-06 08:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:19: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-09-06 08:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:19:54] 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-09-06 08:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:19: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-09-06 08:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897614848001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897614848001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:19:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:19:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897614848001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":172531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:19:54] local.INFO: GPS data processed {"connection_id":172531,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:19:54] local.INFO: Acknowledgment sent {"connection_id":172531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:20:09] local.INFO: TCP Data received {"connection_id":174993,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:20:09] local.INFO: Processing buffer {"connection_id":174993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:20:09] local.INFO: IMEI packet received {"connection_id":174993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":174993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:20:15] local.INFO: TCP Data received {"connection_id":174993,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:20:15] local.INFO: Processing buffer {"connection_id":174993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:20:15] local.INFO: IMEI packet received {"connection_id":174993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":174993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:20:16] local.INFO: TCP Data received {"connection_id":174993,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0749f2d40012d18c440072154300036004206..."} 
[2026-09-06 08:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749f2d40012d18c440072154300036004206..."} 
[2026-09-06 08:20:16] local.INFO: Processing buffer {"connection_id":174993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749f2d40012d18c440072154300036004206..."} 
[2026-09-06 08:20:16] local.INFO: Packet analysis {"connection_id":174993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749f"} 
[2026-09-06 08:20:16] local.INFO: Extracted packet for processing {"connection_id":174993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749f"} 
[2026-09-06 08:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119624752,"longitude_deg":75.6597824,"latitude_deg":11.9624752,"altitude":54,"angle":66,"satellites":6,"speed":10,"hex_longitude":"2d18c440","hex_latitude":"07215430","is_valid_coordinates":true} 
[2026-09-06 08:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897723648001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18118147739484160,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014225301504,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:16] 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-09-06 08:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788662984000,"timestamp_ms":1788662984000,"timestamp_seconds":1788662984,"priority":1,"record_length":96,"hex_timestamp":"000001a0749f2d40"} 
[2026-09-06 08:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-06 08:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:16] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2667982849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-06 08:20:16] local.WARNING: Large IO value detected {"io_id":230,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:16] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2147950891,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:16] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,94,160,37,45,192,55,6,10,66,33,64,81,57,25,1,240,82,227,116,4,113,205,30,230,206,80,239,56,2,7,62],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-06 08:20:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963216076368314368,"timestamp_seconds":3963216076368314.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897723648001,"66":14080,"103":206,"83":41984,"24":10,"16":18118147739484160,"45":1784481014225301504},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 08:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897723648001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:20:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 08:20:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18118147739484160,"km_value":18118147739484.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014225301504,"description":"Unknown IO ID 45"} 
[2026-09-06 08:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897723648001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1784481014225301504}} 
[2026-09-06 08:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":174993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:20:16] local.INFO: GPS data processed {"connection_id":174993,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:20:16] local.INFO: Acknowledgment sent {"connection_id":174993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:20:25] local.INFO: TCP Data received {"connection_id":172531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:20:25] local.INFO: Processing buffer {"connection_id":172531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:20:25] local.INFO: Packet analysis {"connection_id":172531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:20:25] local.INFO: Extracted packet for processing {"connection_id":172531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:20:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897614848001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:25] 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-09-06 08:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788662859000,"timestamp_ms":1788662859000,"timestamp_seconds":1788662859,"priority":1,"record_length":96,"hex_timestamp":"000001a0749d44f8"} 
[2026-09-06 08:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:20:25] 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-09-06 08: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-09-06 08:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:20: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-09-06 08:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897614848001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897614848001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:20:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:20:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897614848001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":172531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:20:25] local.INFO: GPS data processed {"connection_id":172531,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:20:25] local.INFO: Acknowledgment sent {"connection_id":172531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:20:47] local.INFO: TCP Data received {"connection_id":174993,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0749f3128012d18c580072154200036005306..."} 
[2026-09-06 08:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749f3128012d18c580072154200036005306..."} 
[2026-09-06 08:20:47] local.INFO: Processing buffer {"connection_id":174993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749f3128012d18c580072154200036005306..."} 
[2026-09-06 08:20:47] local.INFO: Packet analysis {"connection_id":174993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749f"} 
[2026-09-06 08:20:47] local.INFO: Extracted packet for processing {"connection_id":174993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749f"} 
[2026-09-06 08:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119624736,"longitude_deg":75.6598144,"latitude_deg":11.9624736,"altitude":54,"angle":83,"satellites":6,"speed":10,"hex_longitude":"2d18c580","hex_latitude":"07215420","is_valid_coordinates":true} 
[2026-09-06 08:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897723904001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18118160624386048,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713673216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:47] 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-09-06 08:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788662985000,"timestamp_ms":1788662985000,"timestamp_seconds":1788662985,"priority":1,"record_length":96,"hex_timestamp":"000001a0749f3128"} 
[2026-09-06 08:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-06 08:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:47] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2669262849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-06 08:20:47] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3221692736,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:47] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,94,160,41,45,192,55,6,10,66,37,33,64,1,240,137,227,116,4,113,205,22,194,176,239,56,2,7,63,30],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-06 08:20:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891182671586000896,"timestamp_seconds":3891182671586001.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897723904001,"66":13656,"103":206,"83":41984,"24":10,"16":18118160624386048,"45":1784621751713673216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 08:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897723904001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:20:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 08:20:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18118160624386048,"km_value":18118160624386.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713673216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897723904001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1784621751713673216}} 
[2026-09-06 08:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":174993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:20:47] local.INFO: GPS data processed {"connection_id":174993,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:20:47] local.INFO: Acknowledgment sent {"connection_id":174993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:20:48] local.INFO: TCP Data received {"connection_id":174994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:20:48] local.INFO: Processing buffer {"connection_id":174994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:20:48] local.INFO: IMEI packet received {"connection_id":174994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":174994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:20:53] local.INFO: TCP Data received {"connection_id":174994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:20:53] local.INFO: Processing buffer {"connection_id":174994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:20:53] local.INFO: IMEI packet received {"connection_id":174994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":174994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:20:54] local.INFO: TCP Data received {"connection_id":174994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:20:54] local.INFO: Processing buffer {"connection_id":174994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:20:54] local.INFO: Packet analysis {"connection_id":174994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:20:54] local.INFO: Extracted packet for processing {"connection_id":174994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:20:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897614848001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:20:54] 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-09-06 08:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788662859000,"timestamp_ms":1788662859000,"timestamp_seconds":1788662859,"priority":1,"record_length":96,"hex_timestamp":"000001a0749d44f8"} 
[2026-09-06 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-09-06 08: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-09-06 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:20:54] 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-09-06 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-09-06 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-09-06 08:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:20: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-09-06 08:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897614848001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897614848001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:20:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:20:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897614848001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":174994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:20:54] local.INFO: GPS data processed {"connection_id":174994,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:20:54] local.INFO: Acknowledgment sent {"connection_id":174994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:21:18] local.INFO: TCP Data received {"connection_id":174993,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a08cd0012d18dd0007215348003c008f0d..."} 
[2026-09-06 08:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a08cd0012d18dd0007215348003c008f0d..."} 
[2026-09-06 08:21:18] local.INFO: Processing buffer {"connection_id":174993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a08cd0012d18dd0007215348003c008f0d..."} 
[2026-09-06 08:21:18] local.INFO: Packet analysis {"connection_id":174993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a0"} 
[2026-09-06 08:21:18] local.INFO: Extracted packet for processing {"connection_id":174993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a0"} 
[2026-09-06 08:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756604160,"raw_latitude":119624520,"longitude_deg":75.660416,"latitude_deg":11.962452,"altitude":60,"angle":143,"satellites":13,"speed":4,"hex_longitude":"2d18dd00","hex_latitude":"07215348","is_valid_coordinates":true} 
[2026-09-06 08:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897746688001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18118560056344576,"note":"Value kept but may cause issues"} 
[2026-09-06 08:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791517888643051520,"note":"Value kept but may cause issues"} 
[2026-09-06 08:21:18] 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-09-06 08:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788663074000,"timestamp_ms":1788663074000,"timestamp_seconds":1788663074,"priority":1,"record_length":96,"hex_timestamp":"000001a074a08cd0"} 
[2026-09-06 08:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:21:18] 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-09-06 08:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 08:21:18] 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-09-06 08:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897746688001,"66":13993,"106":206,"83":41984,"24":4,"16":18118560056344576,"45":1791517888643051520},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 08:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897746688001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:21:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 08:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18118560056344576,"km_value":18118560056344.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791517888643051520,"description":"Unknown IO ID 45"} 
[2026-09-06 08:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897746688001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1791517888643051520}} 
[2026-09-06 08:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":174993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:21:18] local.INFO: GPS data processed {"connection_id":174993,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:21:18] local.INFO: Acknowledgment sent {"connection_id":174993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:21:25] local.INFO: TCP Data received {"connection_id":174994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:21:25] local.INFO: Processing buffer {"connection_id":174994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:21:25] local.INFO: Packet analysis {"connection_id":174994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:21:25] local.INFO: Extracted packet for processing {"connection_id":174994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:21:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897614848001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:21:25] 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-09-06 08:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788662859000,"timestamp_ms":1788662859000,"timestamp_seconds":1788662859,"priority":1,"record_length":96,"hex_timestamp":"000001a0749d44f8"} 
[2026-09-06 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-09-06 08:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:21:25] 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-09-06 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-09-06 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-09-06 08:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:21: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-09-06 08:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897614848001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897614848001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:21:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:21:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897614848001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":174994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:21:25] local.INFO: GPS data processed {"connection_id":174994,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:21:25] local.INFO: Acknowledgment sent {"connection_id":174994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:21:48] local.INFO: TCP Data received {"connection_id":172532,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:21:48] local.INFO: Processing buffer {"connection_id":172532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:21:48] local.INFO: IMEI packet received {"connection_id":172532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":172532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:21:49] local.INFO: TCP Data received {"connection_id":174993,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a090b8012d18dd0007215308003c00840d..."} 
[2026-09-06 08:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a090b8012d18dd0007215308003c00840d..."} 
[2026-09-06 08:21:49] local.INFO: Processing buffer {"connection_id":174993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a090b8012d18dd0007215308003c00840d..."} 
[2026-09-06 08:21:49] local.INFO: Packet analysis {"connection_id":174993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a0"} 
[2026-09-06 08:21:49] local.INFO: Extracted packet for processing {"connection_id":174993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a0"} 
[2026-09-06 08:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756604160,"raw_latitude":119624456,"longitude_deg":75.660416,"latitude_deg":11.9624456,"altitude":60,"angle":132,"satellites":13,"speed":2,"hex_longitude":"2d18dd00","hex_latitude":"07215308","is_valid_coordinates":true} 
[2026-09-06 08:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897746944001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18118564351311872,"note":"Value kept but may cause issues"} 
[2026-09-06 08:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791588257387202560,"note":"Value kept but may cause issues"} 
[2026-09-06 08:21:49] 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-09-06 08:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788663075000,"timestamp_ms":1788663075000,"timestamp_seconds":1788663075,"priority":1,"record_length":96,"hex_timestamp":"000001a074a090b8"} 
[2026-09-06 08:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:21:49] 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-09-06 08:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 08:21:49] 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-09-06 08:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897746944001,"66":14428,"106":206,"83":41984,"24":2,"16":18118564351311872,"45":1791588257387202560},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 08:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897746944001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:21:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 08:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18118564351311872,"km_value":18118564351311.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791588257387202560,"description":"Unknown IO ID 45"} 
[2026-09-06 08:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897746944001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1791588257387202560}} 
[2026-09-06 08:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":174993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:21:49] local.INFO: GPS data processed {"connection_id":174993,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:21:49] local.INFO: Acknowledgment sent {"connection_id":174993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:21:53] local.INFO: TCP Data received {"connection_id":172532,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:21:53] local.INFO: Processing buffer {"connection_id":172532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:21:53] local.INFO: IMEI packet received {"connection_id":172532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":172532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:21:54] local.INFO: TCP Data received {"connection_id":172532,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:21:54] local.INFO: Processing buffer {"connection_id":172532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:21:54] local.INFO: Packet analysis {"connection_id":172532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:21:54] local.INFO: Extracted packet for processing {"connection_id":172532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:21:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897614848001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:21:54] 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-09-06 08:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788662859000,"timestamp_ms":1788662859000,"timestamp_seconds":1788662859,"priority":1,"record_length":96,"hex_timestamp":"000001a0749d44f8"} 
[2026-09-06 08:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:21: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-09-06 08:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:21:54] 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-09-06 08:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:21: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-09-06 08:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897614848001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897614848001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:21:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:21:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897614848001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":172532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:21:54] local.INFO: GPS data processed {"connection_id":172532,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:21:54] local.INFO: Acknowledgment sent {"connection_id":172532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:22:09] local.INFO: TCP Data received {"connection_id":172304,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:22:09] local.INFO: Processing buffer {"connection_id":172304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:22:09] local.INFO: IMEI packet received {"connection_id":172304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":172304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:22:17] local.INFO: TCP Data received {"connection_id":172304,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:22:17] local.INFO: Processing buffer {"connection_id":172304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:22:17] local.INFO: IMEI packet received {"connection_id":172304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":172304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:22:18] local.INFO: TCP Data received {"connection_id":172304,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a094a0012d18dd00072152f0003c00720d..."} 
[2026-09-06 08:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a094a0012d18dd00072152f0003c00720d..."} 
[2026-09-06 08:22:18] local.INFO: Processing buffer {"connection_id":172304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a094a0012d18dd00072152f0003c00720d..."} 
[2026-09-06 08:22:18] local.INFO: Packet analysis {"connection_id":172304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a0"} 
[2026-09-06 08:22:18] local.INFO: Extracted packet for processing {"connection_id":172304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a0"} 
[2026-09-06 08:22:18] local.INFO: GPS Element Parsed {"raw_longitude":756604160,"raw_latitude":119624432,"longitude_deg":75.660416,"latitude_deg":11.9624432,"altitude":60,"angle":114,"satellites":13,"speed":2,"hex_longitude":"2d18dd00","hex_latitude":"072152f0","is_valid_coordinates":true} 
[2026-09-06 08:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897747200001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18118564351311872,"note":"Value kept but may cause issues"} 
[2026-09-06 08:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791588257387186176,"note":"Value kept but may cause issues"} 
[2026-09-06 08:22:18] 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-09-06 08:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788663076000,"timestamp_ms":1788663076000,"timestamp_seconds":1788663076,"priority":1,"record_length":96,"hex_timestamp":"000001a074a094a0"} 
[2026-09-06 08:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:22:18] 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-09-06 08:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":172304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":172304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":172304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897747200001,"66":14428,"106":206,"83":41984,"24":2,"16":18118564351311872,"45":1791588257387186176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 08:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897747200001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:22:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 08:22:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18118564351311872,"km_value":18118564351311.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791588257387186176,"description":"Unknown IO ID 45"} 
[2026-09-06 08:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897747200001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1791588257387186176}} 
[2026-09-06 08:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":172304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:22:18] local.INFO: GPS data processed {"connection_id":172304,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:22:18] local.INFO: Acknowledgment sent {"connection_id":172304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:22:25] local.INFO: TCP Data received {"connection_id":172532,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:22:25] local.INFO: Processing buffer {"connection_id":172532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:22:25] local.INFO: Packet analysis {"connection_id":172532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:22:25] local.INFO: Extracted packet for processing {"connection_id":172532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:22:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897614848001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:22:25] 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-09-06 08:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788662859000,"timestamp_ms":1788662859000,"timestamp_seconds":1788662859,"priority":1,"record_length":96,"hex_timestamp":"000001a0749d44f8"} 
[2026-09-06 08:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:22: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-09-06 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:22:25] 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-09-06 08: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-09-06 08:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:22: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-09-06 08:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897614848001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897614848001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:22:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:22:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897614848001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":172532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:22:25] local.INFO: GPS data processed {"connection_id":172532,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:22:25] local.INFO: Acknowledgment sent {"connection_id":172532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:22:47] local.INFO: TCP Data received {"connection_id":172306,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:22:47] local.INFO: Processing buffer {"connection_id":172306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:22:47] local.INFO: IMEI packet received {"connection_id":172306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":172306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:22:49] local.INFO: TCP Data received {"connection_id":172304,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a1c550012d18a4c0072174f80040012210..."} 
[2026-09-06 08:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a1c550012d18a4c0072174f80040012210..."} 
[2026-09-06 08:22:49] local.INFO: Processing buffer {"connection_id":172304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a1c550012d18a4c0072174f80040012210..."} 
[2026-09-06 08:22:49] local.INFO: Packet analysis {"connection_id":172304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:22:49] local.INFO: Extracted packet for processing {"connection_id":172304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756589760,"raw_latitude":119633144,"longitude_deg":75.658976,"latitude_deg":11.9633144,"altitude":64,"angle":290,"satellites":16,"speed":16,"hex_longitude":"2d18a4c0","hex_latitude":"072174f8","is_valid_coordinates":true} 
[2026-09-06 08:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897766912001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18119444819607552,"note":"Value kept but may cause issues"} 
[2026-09-06 08:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776318239902795776,"note":"Value kept but may cause issues"} 
[2026-09-06 08:22:49] 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-09-06 08:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788663154000,"timestamp_ms":1788663154000,"timestamp_seconds":1788663154,"priority":1,"record_length":96,"hex_timestamp":"000001a074a1c550"} 
[2026-09-06 08:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 08:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897766912001,"66":14483,"106":206,"83":41984,"24":16,"16":18119444819607552,"45":1776318239902795776},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 08:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897766912001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:22:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 08:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18119444819607552,"km_value":18119444819607.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776318239902795776,"description":"Unknown IO ID 45"} 
[2026-09-06 08:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897766912001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1776318239902795776}} 
[2026-09-06 08:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":172304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:22:50] local.INFO: GPS data processed {"connection_id":172304,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:22:50] local.INFO: Acknowledgment sent {"connection_id":172304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:22:53] local.INFO: TCP Data received {"connection_id":172307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:22:53] local.INFO: Processing buffer {"connection_id":172307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:22:53] local.INFO: IMEI packet received {"connection_id":172307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":172307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:22:54] local.INFO: TCP Data received {"connection_id":172306,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a19670012d7d1d0005c83b400002016015..."} 
[2026-09-06 08:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a19670012d7d1d0005c83b400002016015..."} 
[2026-09-06 08:22:54] local.INFO: Processing buffer {"connection_id":172306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a19670012d7d1d0005c83b400002016015..."} 
[2026-09-06 08:22:54] local.INFO: Packet analysis {"connection_id":172306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:22:54] local.INFO: Extracted packet for processing {"connection_id":172306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":97008448,"longitude_deg":76.3174144,"latitude_deg":9.7008448,"altitude":2,"angle":352,"satellites":21,"speed":49,"hex_longitude":"2d7d1d00","hex_latitude":"05c83b40","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897762048001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:22:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 08:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128763759484207104,"note":"Value kept but may cause issues"} 
[2026-09-06 08:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016769428780853248,"note":"Value kept but may cause issues"} 
[2026-09-06 08:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 08:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788663142000,"timestamp_ms":1788663142000,"timestamp_seconds":1788663142,"priority":1,"record_length":96,"hex_timestamp":"000001a074a19670"} 
[2026-09-06 08:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:22: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-09-06 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 08:22:54] 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-09-06 08: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-09-06 08:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:22:54] 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-09-06 08:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897762048001,"66":13319,"200":0,"85":12288,"24":49,"16":128763759484207104,"45":9016769428780853248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-06 08:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897762048001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:22:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128763759484207104,"km_value":128763759484207.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016769428780853248,"description":"Unknown IO ID 45"} 
[2026-09-06 08:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897762048001,"power":13319,"gsm_signal":0,"unknown_85":12288,"ignition":49,"odometer":null,"unknown_45":9016769428780853248}} 
[2026-09-06 08:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":172306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:22:54] local.INFO: GPS data processed {"connection_id":172306,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:22:54] local.INFO: Acknowledgment sent {"connection_id":172306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:22:58] local.INFO: TCP Data received {"connection_id":172307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:22:58] local.INFO: Processing buffer {"connection_id":172307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:22:58] local.INFO: IMEI packet received {"connection_id":172307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":172307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:22:59] local.INFO: TCP Data received {"connection_id":172307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:22:59] local.INFO: Processing buffer {"connection_id":172307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:22:59] local.INFO: Packet analysis {"connection_id":172307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:22:59] local.INFO: Extracted packet for processing {"connection_id":172307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:22:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897614848001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:22:59] 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-09-06 08:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788662859000,"timestamp_ms":1788662859000,"timestamp_seconds":1788662859,"priority":1,"record_length":96,"hex_timestamp":"000001a0749d44f8"} 
[2026-09-06 08:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08: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-09-06 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:22:59] 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-09-06 08: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-09-06 08:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897614848001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897614848001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:22:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:22:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897614848001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":172307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:22:59] local.INFO: GPS data processed {"connection_id":172307,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:22:59] local.INFO: Acknowledgment sent {"connection_id":172307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:23:04] local.INFO: TCP Data received {"connection_id":172307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:23:04] local.INFO: Processing buffer {"connection_id":172307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0749d44f8012d532d00064970480006014727..."} 
[2026-09-06 08:23:04] local.INFO: Packet analysis {"connection_id":172307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:23:04] local.INFO: Extracted packet for processing {"connection_id":172307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0749d"} 
[2026-09-06 08:23:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897614848001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788662859000,"timestamp_ms":1788662859000,"timestamp_seconds":1788662859,"priority":1,"record_length":96,"hex_timestamp":"000001a0749d44f8"} 
[2026-09-06 08:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08: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-09-06 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:23:04] 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-09-06 08: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-09-06 08:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897614848001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897614848001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:23:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:23:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897614848001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":172307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:23:04] local.INFO: GPS data processed {"connection_id":172307,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:23:04] local.INFO: Acknowledgment sent {"connection_id":172307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:23:15] local.INFO: TCP Data received {"connection_id":172308,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:23:15] local.INFO: Processing buffer {"connection_id":172308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:23:15] local.INFO: IMEI packet received {"connection_id":172308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":172308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:23:15] local.INFO: TCP Data received {"connection_id":172308,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:23:15] local.INFO: Processing buffer {"connection_id":172308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:23:15] local.INFO: IMEI packet received {"connection_id":172308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":172308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:23:19] local.INFO: TCP Data received {"connection_id":172308,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:23:19] local.INFO: Processing buffer {"connection_id":172308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:23:19] local.INFO: IMEI packet received {"connection_id":172308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":172308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:23:21] local.INFO: TCP Data received {"connection_id":172308,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a1f430012d188100072181a80040011510..."} 
[2026-09-06 08:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a1f430012d188100072181a80040011510..."} 
[2026-09-06 08:23:21] local.INFO: Processing buffer {"connection_id":172308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a1f430012d188100072181a80040011510..."} 
[2026-09-06 08:23:21] local.INFO: Packet analysis {"connection_id":172308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:23:21] local.INFO: Extracted packet for processing {"connection_id":172308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:23:21] local.INFO: GPS Element Parsed {"raw_longitude":756580608,"raw_latitude":119636392,"longitude_deg":75.6580608,"latitude_deg":11.9636392,"altitude":64,"angle":277,"satellites":16,"speed":35,"hex_longitude":"2d188100","hex_latitude":"072181a8","is_valid_coordinates":true} 
[2026-09-06 08:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897767424001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18119908676075520,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775755289949435904,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:21] 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-09-06 08:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788663166000,"timestamp_ms":1788663166000,"timestamp_seconds":1788663166,"priority":1,"record_length":96,"hex_timestamp":"000001a074a1f430"} 
[2026-09-06 08:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-06 08:23:21] 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-09-06 08:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897767424001,"66":14374,"106":206,"83":41984,"24":35,"16":18119908676075520,"45":1775755289949435904},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 08:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897767424001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:23:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 08:23:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18119908676075520,"km_value":18119908676075.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775755289949435904,"description":"Unknown IO ID 45"} 
[2026-09-06 08:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897767424001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1775755289949435904}} 
[2026-09-06 08:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":172308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:23:21] local.INFO: GPS data processed {"connection_id":172308,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:23:21] local.INFO: Acknowledgment sent {"connection_id":172308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:23:22] local.INFO: TCP Data received {"connection_id":172309,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:23:22] local.INFO: Processing buffer {"connection_id":172309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:23:22] local.INFO: IMEI packet received {"connection_id":172309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":172309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:23:25] local.INFO: TCP Data received {"connection_id":172308,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a1f430012d188100072181a80040011510..."} 
[2026-09-06 08:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a1f430012d188100072181a80040011510..."} 
[2026-09-06 08:23:25] local.INFO: Processing buffer {"connection_id":172308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a1f430012d188100072181a80040011510..."} 
[2026-09-06 08:23:25] local.INFO: Packet analysis {"connection_id":172308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:23:25] local.INFO: Extracted packet for processing {"connection_id":172308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:23:25] local.INFO: GPS Element Parsed {"raw_longitude":756580608,"raw_latitude":119636392,"longitude_deg":75.6580608,"latitude_deg":11.9636392,"altitude":64,"angle":277,"satellites":16,"speed":35,"hex_longitude":"2d188100","hex_latitude":"072181a8","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897770496001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18119908676075520,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765692559532861440,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788663166000,"timestamp_ms":1788663166000,"timestamp_seconds":1788663166,"priority":1,"record_length":96,"hex_timestamp":"000001a074a1f430"} 
[2026-09-06 08:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-06 08:23:25] 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-09-06 08: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-09-06 08:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897770496001,"66":14374,"106":206,"83":41984,"24":35,"16":18119908676075520,"45":1765692559532861440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 08:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897770496001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:23:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 08:23:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18119908676075520,"km_value":18119908676075.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765692559532861440,"description":"Unknown IO ID 45"} 
[2026-09-06 08:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897770496001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1765692559532861440}} 
[2026-09-06 08:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":172308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:23:26] local.INFO: GPS data processed {"connection_id":172308,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:23:26] local.INFO: Acknowledgment sent {"connection_id":172308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:23:27] local.INFO: TCP Data received {"connection_id":172309,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:23:27] local.INFO: Processing buffer {"connection_id":172309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:23:27] local.INFO: IMEI packet received {"connection_id":172309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":172309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:23:28] local.INFO: TCP Data received {"connection_id":172309,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a1b1c8012d7d180005c85fb00002015f15..."} 
[2026-09-06 08:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a1b1c8012d7d180005c85fb00002015f15..."} 
[2026-09-06 08:23:28] local.INFO: Processing buffer {"connection_id":172309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a1b1c8012d7d180005c85fb00002015f15..."} 
[2026-09-06 08:23:28] local.INFO: Packet analysis {"connection_id":172309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:23:28] local.INFO: Extracted packet for processing {"connection_id":172309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:23:28] local.INFO: GPS Element Parsed {"raw_longitude":763172864,"raw_latitude":97017776,"longitude_deg":76.3172864,"latitude_deg":9.7017776,"altitude":2,"angle":351,"satellites":21,"speed":55,"hex_longitude":"2d7d1800","hex_latitude":"05c85fb0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897764352001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 08:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128764214750740480,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362053899763712,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 08:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788663149000,"timestamp_ms":1788663149000,"timestamp_seconds":1788663149,"priority":1,"record_length":96,"hex_timestamp":"000001a074a1b1c8"} 
[2026-09-06 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-09-06 08:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-06 08:23:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 08:23:28] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57783016840123696,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:28] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4517111721144090629,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:28] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2699726849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:28] local.WARNING: Large IO value detected {"io_id":199,"raw_value":7174234227896095744,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814902478,"corrected_to":0} 
[2026-09-06 08:23:28] local.WARNING: Large IO value detected {"io_id":86,"raw_value":3221604248,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3346843648,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,200,85,24,241,157,16,117,160,115,45,21,3,10,66,76,64,2,41,1,240,7,227,116,199,4,113,205,15,156,86,8,239,50,89,201,5],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":200,"original":206,"validated":0},{"io_id":205,"original":2814902478,"validated":0}]} 
[2026-09-06 08:23:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144502306366357504,"timestamp_seconds":144502306366357.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 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-09-06 08:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:23:28] 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-09-06 08:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897764352001,"66":13048,"200":0,"85":12288,"24":55,"16":128764214750740480,"45":9015362053899763712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-06 08:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897764352001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:23:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128764214750740480,"km_value":128764214750740.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362053899763712,"description":"Unknown IO ID 45"} 
[2026-09-06 08:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897764352001,"power":13048,"gsm_signal":0,"unknown_85":12288,"ignition":55,"odometer":null,"unknown_45":9015362053899763712}} 
[2026-09-06 08:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":172309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:23:28] local.INFO: GPS data processed {"connection_id":172309,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:23:28] local.INFO: Acknowledgment sent {"connection_id":172309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:23:29] local.INFO: TCP Data received {"connection_id":172309,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a1cd20012d7d12c005c883400001016115..."} 
[2026-09-06 08:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a1cd20012d7d12c005c883400001016115..."} 
[2026-09-06 08:23:29] local.INFO: Processing buffer {"connection_id":172309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a1cd20012d7d12c005c883400001016115..."} 
[2026-09-06 08:23:29] local.INFO: Packet analysis {"connection_id":172309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:23:29] local.INFO: Extracted packet for processing {"connection_id":172309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763171520,"raw_latitude":97026880,"longitude_deg":76.317152,"latitude_deg":9.702688,"altitude":1,"angle":353,"satellites":21,"speed":48,"hex_longitude":"2d7d12c0","hex_latitude":"05c88340","is_valid_coordinates":true} 
[2026-09-06 08:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897766144001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 08:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128764661427339264,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013954679018598400,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 08:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788663156000,"timestamp_ms":1788663156000,"timestamp_seconds":1788663156,"priority":1,"record_length":96,"hex_timestamp":"000001a074a1cd20"} 
[2026-09-06 08:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-06 08:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:23:29] 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-09-06 08:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897766144001,"66":13319,"200":0,"85":12288,"24":48,"16":128764661427339264,"45":9013954679018598400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-06 08:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897766144001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128764661427339264,"km_value":128764661427339.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013954679018598400,"description":"Unknown IO ID 45"} 
[2026-09-06 08:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897766144001,"power":13319,"gsm_signal":0,"unknown_85":12288,"ignition":48,"odometer":null,"unknown_45":9013954679018598400}} 
[2026-09-06 08:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":172309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:23:29] local.INFO: GPS data processed {"connection_id":172309,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:23:29] local.INFO: Acknowledgment sent {"connection_id":172309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:23:46] local.INFO: TCP Data received {"connection_id":172533,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:23:46] local.INFO: Processing buffer {"connection_id":172533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:23:46] local.INFO: IMEI packet received {"connection_id":172533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 08:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":172533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:23:48] local.INFO: TCP Data received {"connection_id":172310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:23:48] local.INFO: Processing buffer {"connection_id":172310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:23:48] local.INFO: IMEI packet received {"connection_id":172310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":172310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:23:53] local.INFO: TCP Data received {"connection_id":172310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:23:53] local.INFO: Processing buffer {"connection_id":172310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:23:53] local.INFO: IMEI packet received {"connection_id":172310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":172310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:23:54] local.INFO: TCP Data received {"connection_id":172310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:23:54] local.INFO: Processing buffer {"connection_id":172310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:23:54] local.INFO: Packet analysis {"connection_id":172310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:23:54] local.INFO: Extracted packet for processing {"connection_id":172310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:23:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897691904001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:23:54] 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-09-06 08:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788663160000,"timestamp_ms":1788663160000,"timestamp_seconds":1788663160,"priority":1,"record_length":96,"hex_timestamp":"000001a074a1dcc0"} 
[2026-09-06 08:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:23: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-09-06 08:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:23:54] 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-09-06 08:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:23: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-09-06 08:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897691904001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897691904001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:23:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:23:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897691904001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":172310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:23:54] local.INFO: GPS data processed {"connection_id":172310,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:23:54] local.INFO: Acknowledgment sent {"connection_id":172310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:24:00] local.INFO: TCP Data received {"connection_id":172309,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a1f818012d7d0d8005c8a7a80001016114..."} 
[2026-09-06 08:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a1f818012d7d0d8005c8a7a80001016114..."} 
[2026-09-06 08:24:00] local.INFO: Processing buffer {"connection_id":172309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a1f818012d7d0d8005c8a7a80001016114..."} 
[2026-09-06 08:24:00] local.INFO: Packet analysis {"connection_id":172309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:24:00] local.INFO: Extracted packet for processing {"connection_id":172309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763170176,"raw_latitude":97036200,"longitude_deg":76.3170176,"latitude_deg":9.70362,"altitude":1,"angle":353,"satellites":20,"speed":28,"hex_longitude":"2d7d0d80","hex_latitude":"05c8a7a8","is_valid_coordinates":true} 
[2026-09-06 08:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897767936001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 08:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128765120988839936,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012476935393198080,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 08:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788663167000,"timestamp_ms":1788663167000,"timestamp_seconds":1788663167,"priority":1,"record_length":96,"hex_timestamp":"000001a074a1f818"} 
[2026-09-06 08:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-06 08:24:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13522224,"corrected_to":0} 
[2026-09-06 08:24:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-7174232911513206779,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:00] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2264924160,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:00] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13477832,"corrected_to":0} 
[2026-09-06 08:24:00] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2706126849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:00] local.WARNING: Large IO value detected {"io_id":199,"raw_value":-7491737971519646464,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814902478,"corrected_to":0} 
[2026-09-06 08:24:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3350267904,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:00] local.WARNING: Large IO value detected {"io_id":144,"raw_value":57886847674504496,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,200,85,24,241,157,16,118,160,177,45,95,2,21,10,66,150,59,117,115,1,240,247,227,116,199,4,113,205,43,41,54,64,239,52,201,5,15,144],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":200,"original":13522224,"validated":0},{"io_id":247,"original":13477832,"validated":0},{"io_id":205,"original":2814902478,"validated":0}]} 
[2026-09-06 08:24:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72445811839991808,"timestamp_seconds":72445811839991.81,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:24:00] 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-09-06 08:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897767936001,"66":13363,"200":0,"85":12288,"24":28,"16":128765120988839936,"45":9012476935393198080},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-06 08:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897767936001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128765120988839936,"km_value":128765120988839.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012476935393198080,"description":"Unknown IO ID 45"} 
[2026-09-06 08:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897767936001,"power":13363,"gsm_signal":0,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9012476935393198080}} 
[2026-09-06 08:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":172309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:24:00] local.INFO: GPS data processed {"connection_id":172309,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:24:00] local.INFO: Acknowledgment sent {"connection_id":172309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:24:09] local.INFO: TCP Data received {"connection_id":174995,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:24:09] local.INFO: Processing buffer {"connection_id":174995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:24:09] local.INFO: IMEI packet received {"connection_id":174995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":174995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:24:11] local.INFO: TCP Data received {"connection_id":172311,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:24:11] local.INFO: Processing buffer {"connection_id":172311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:24:11] local.INFO: IMEI packet received {"connection_id":172311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 08:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":172311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:24:14] local.INFO: TCP Data received {"connection_id":174995,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:24:14] local.INFO: Processing buffer {"connection_id":174995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:24:14] local.INFO: IMEI packet received {"connection_id":174995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":174995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:24:15] local.INFO: TCP Data received {"connection_id":174995,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a2ee30012d1827400721b7600047002a10..."} 
[2026-09-06 08:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a2ee30012d1827400721b7600047002a10..."} 
[2026-09-06 08:24:15] local.INFO: Processing buffer {"connection_id":174995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a2ee30012d1827400721b7600047002a10..."} 
[2026-09-06 08:24:15] local.INFO: Packet analysis {"connection_id":174995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a2"} 
[2026-09-06 08:24:15] local.INFO: Extracted packet for processing {"connection_id":174995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a2"} 
[2026-09-06 08:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119650144,"longitude_deg":75.6557632,"latitude_deg":11.9650144,"altitude":71,"angle":42,"satellites":16,"speed":9,"hex_longitude":"2d182740","hex_latitude":"0721b760","is_valid_coordinates":true} 
[2026-09-06 08:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897783040001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18121476339138560,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050541568,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788663230000,"timestamp_ms":1788663230000,"timestamp_seconds":1788663230,"priority":1,"record_length":96,"hex_timestamp":"000001a074a2ee30"} 
[2026-09-06 08:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:24:15] 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-09-06 08:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 08:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897783040001,"66":14515,"105":206,"83":41984,"24":9,"16":18121476339138560,"45":1738319118050541568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 08:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897783040001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:24:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 08:24:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18121476339138560,"km_value":18121476339138.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050541568,"description":"Unknown IO ID 45"} 
[2026-09-06 08:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897783040001,"power":14515,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738319118050541568}} 
[2026-09-06 08:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":174995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:24:15] local.INFO: GPS data processed {"connection_id":174995,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:24:15] local.INFO: Acknowledgment sent {"connection_id":174995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:24:23] local.INFO: TCP Data received {"connection_id":174996,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:24:23] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:24:23] local.INFO: IMEI packet received {"connection_id":174996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":174996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:24:25] local.INFO: TCP Data received {"connection_id":172310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:24:25] local.INFO: Processing buffer {"connection_id":172310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:24:25] local.INFO: Packet analysis {"connection_id":172310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:24:25] local.INFO: Extracted packet for processing {"connection_id":172310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:24:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897691904001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:25] 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-09-06 08:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788663160000,"timestamp_ms":1788663160000,"timestamp_seconds":1788663160,"priority":1,"record_length":96,"hex_timestamp":"000001a074a1dcc0"} 
[2026-09-06 08:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:24: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-09-06 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:24:25] 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-09-06 08: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-09-06 08:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:24: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-09-06 08:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897691904001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897691904001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:24:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:24:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897691904001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":172310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:24:25] local.INFO: GPS data processed {"connection_id":172310,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:24:25] local.INFO: Acknowledgment sent {"connection_id":172310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:24:26] local.INFO: TCP Data received {"connection_id":174996,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:24:26] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:24:26] local.INFO: IMEI packet received {"connection_id":174996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":174996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:24:27] local.INFO: TCP Data received {"connection_id":174996,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:24:27] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:24:27] local.INFO: IMEI packet received {"connection_id":174996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":174996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:24:27] local.INFO: TCP Data received {"connection_id":174996,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a22310012d7d0b4005c8cb780001016614..."} 
[2026-09-06 08:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a22310012d7d0b4005c8cb780001016614..."} 
[2026-09-06 08:24:27] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a22310012d7d0b4005c8cb780001016614..."} 
[2026-09-06 08:24:27] local.INFO: Packet analysis {"connection_id":174996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a2"} 
[2026-09-06 08:24:27] local.INFO: Extracted packet for processing {"connection_id":174996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a2"} 
[2026-09-06 08:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763169600,"raw_latitude":97045368,"longitude_deg":76.31696,"latitude_deg":9.7045368,"altitude":1,"angle":358,"satellites":20,"speed":39,"hex_longitude":"2d7d0b40","hex_latitude":"05c8cb78","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897770752001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 08:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128765563370471424,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010999191767853056,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 08:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788663178000,"timestamp_ms":1788663178000,"timestamp_seconds":1788663178,"priority":1,"record_length":96,"hex_timestamp":"000001a074a22310"} 
[2026-09-06 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-09-06 08:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":51,"data_length":795,"current_offset":136} 
[2026-09-06 08:24:27] 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-09-06 08:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 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-09-06 08:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 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-09-06 08:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897770752001,"66":13406,"200":0,"85":12288,"24":39,"16":128765563370471424,"45":9010999191767853056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-06 08:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897770752001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:24:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128765563370471424,"km_value":128765563370471.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010999191767853056,"description":"Unknown IO ID 45"} 
[2026-09-06 08:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897770752001,"power":13406,"gsm_signal":0,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9010999191767853056}} 
[2026-09-06 08:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":174996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:24:27] local.INFO: GPS data processed {"connection_id":174996,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:24:27] local.INFO: Acknowledgment sent {"connection_id":174996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:24:31] local.INFO: TCP Data received {"connection_id":174996,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a24250012d7d0a0005c8ef800001016413..."} 
[2026-09-06 08:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a24250012d7d0a0005c8ef800001016413..."} 
[2026-09-06 08:24:31] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a24250012d7d0a0005c8ef800001016413..."} 
[2026-09-06 08:24:31] local.INFO: Packet analysis {"connection_id":174996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a2"} 
[2026-09-06 08:24:31] local.INFO: Extracted packet for processing {"connection_id":174996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a2"} 
[2026-09-06 08:24:31] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":97054592,"longitude_deg":76.316928,"latitude_deg":9.7054592,"altitude":1,"angle":356,"satellites":19,"speed":46,"hex_longitude":"2d7d0a00","hex_latitude":"05c8ef80","is_valid_coordinates":true} 
[2026-09-06 08:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897773568001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128766014342037504,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010365873072601088,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788663186000,"timestamp_ms":1788663186000,"timestamp_seconds":1788663186,"priority":1,"record_length":96,"hex_timestamp":"000001a074a24250"} 
[2026-09-06 08:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-06 08:24:31] 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-09-06 08:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:24:31] 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-09-06 08:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897773568001,"66":13352,"199":206,"85":12288,"24":46,"16":128766014342037504,"45":9010365873072601088},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 08:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897773568001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:24:31] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 08:24:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 08:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128766014342037504,"km_value":128766014342037.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010365873072601088,"description":"Unknown IO ID 45"} 
[2026-09-06 08:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897773568001,"power":13352,"trip_odometer":0.206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9010365873072601088}} 
[2026-09-06 08:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":174996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:24:31] local.INFO: GPS data processed {"connection_id":174996,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:24:31] local.INFO: Acknowledgment sent {"connection_id":174996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:24:46] local.INFO: TCP Data received {"connection_id":174995,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a31158012d182b400721bd380048001d10..."} 
[2026-09-06 08:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a31158012d182b400721bd380048001d10..."} 
[2026-09-06 08:24:46] local.INFO: Processing buffer {"connection_id":174995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a31158012d182b400721bd380048001d10..."} 
[2026-09-06 08:24:46] local.INFO: Packet analysis {"connection_id":174995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:24:46] local.INFO: Extracted packet for processing {"connection_id":174995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119651640,"longitude_deg":75.6558656,"latitude_deg":11.965164,"altitude":72,"angle":29,"satellites":16,"speed":7,"hex_longitude":"2d182b40","hex_latitude":"0721bd38","is_valid_coordinates":true} 
[2026-09-06 08:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897786880001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18121566533451776,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740430180376600576,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788663239000,"timestamp_ms":1788663239000,"timestamp_seconds":1788663239,"priority":1,"record_length":96,"hex_timestamp":"000001a074a31158"} 
[2026-09-06 08:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:24:46] 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-09-06 08:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 08:24:46] 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-09-06 08:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897786880001,"66":14461,"105":206,"83":41984,"24":7,"16":18121566533451776,"45":1740430180376600576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 08:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897786880001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:24:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 08:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18121566533451776,"km_value":18121566533451.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740430180376600576,"description":"Unknown IO ID 45"} 
[2026-09-06 08:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897786880001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1740430180376600576}} 
[2026-09-06 08:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":174995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:24:46] local.INFO: GPS data processed {"connection_id":174995,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:24:46] local.INFO: Acknowledgment sent {"connection_id":174995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:24:48] local.INFO: TCP Data received {"connection_id":172534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:24:48] local.INFO: Processing buffer {"connection_id":172534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:24:48] local.INFO: IMEI packet received {"connection_id":172534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":172534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:24:53] local.INFO: TCP Data received {"connection_id":172534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:24:53] local.INFO: Processing buffer {"connection_id":172534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:24:53] local.INFO: IMEI packet received {"connection_id":172534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":172534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:24:54] local.INFO: TCP Data received {"connection_id":172534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:24:54] local.INFO: Processing buffer {"connection_id":172534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:24:54] local.INFO: Packet analysis {"connection_id":172534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:24:54] local.INFO: Extracted packet for processing {"connection_id":172534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:24:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897691904001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:24:54] 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-09-06 08:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788663160000,"timestamp_ms":1788663160000,"timestamp_seconds":1788663160,"priority":1,"record_length":96,"hex_timestamp":"000001a074a1dcc0"} 
[2026-09-06 08:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:24: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-09-06 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:24:54] 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-09-06 08: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-09-06 08:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:24: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-09-06 08:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897691904001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897691904001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:24:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:24:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897691904001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":172534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:24:54] local.INFO: GPS data processed {"connection_id":172534,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:24:54] local.INFO: Acknowledgment sent {"connection_id":172534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:25:10] local.INFO: TCP Data received {"connection_id":172536,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:25:10] local.INFO: Processing buffer {"connection_id":172536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:25:10] local.INFO: IMEI packet received {"connection_id":172536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":172536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:25:14] local.INFO: TCP Data received {"connection_id":172536,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:25:14] local.INFO: Processing buffer {"connection_id":172536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:25:14] local.INFO: IMEI packet received {"connection_id":172536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":172536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:25:15] local.INFO: TCP Data received {"connection_id":172536,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a31d10012d182c800721bee80049002910..."} 
[2026-09-06 08:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a31d10012d182c800721bee80049002910..."} 
[2026-09-06 08:25:15] local.INFO: Processing buffer {"connection_id":172536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a31d10012d182c800721bee80049002910..."} 
[2026-09-06 08:25:15] local.INFO: Packet analysis {"connection_id":172536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:25:15] local.INFO: Extracted packet for processing {"connection_id":172536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119652072,"longitude_deg":75.6558976,"latitude_deg":11.9652072,"altitude":73,"angle":41,"satellites":16,"speed":6,"hex_longitude":"2d182c80","hex_latitude":"0721bee8","is_valid_coordinates":true} 
[2026-09-06 08:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897789184001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18121592303255552,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080283826176,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788663242000,"timestamp_ms":1788663242000,"timestamp_seconds":1788663242,"priority":1,"record_length":96,"hex_timestamp":"000001a074a31d10"} 
[2026-09-06 08:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 08:25:15] 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-09-06 08:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897789184001,"66":14461,"105":206,"83":41984,"24":6,"16":18121592303255552,"45":1741556080283826176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 08:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897789184001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:25:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 08:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18121592303255552,"km_value":18121592303255.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080283826176,"description":"Unknown IO ID 45"} 
[2026-09-06 08:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897789184001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1741556080283826176}} 
[2026-09-06 08:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":172536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:25:15] local.INFO: GPS data processed {"connection_id":172536,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:25:15] local.INFO: Acknowledgment sent {"connection_id":172536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:25:22] local.INFO: TCP Data received {"connection_id":174997,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:25:22] local.INFO: Processing buffer {"connection_id":174997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:25:22] local.INFO: IMEI packet received {"connection_id":174997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":174997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:25:23] local.INFO: TCP Data received {"connection_id":174997,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:25:23] local.INFO: Processing buffer {"connection_id":174997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:25:23] local.INFO: IMEI packet received {"connection_id":174997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":174997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:25:24] local.INFO: TCP Data received {"connection_id":174997,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a3c120012d7d250005caca680003000516..."} 
[2026-09-06 08:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a3c120012d7d250005caca680003000516..."} 
[2026-09-06 08:25:24] local.INFO: Processing buffer {"connection_id":174997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a3c120012d7d250005caca680003000516..."} 
[2026-09-06 08:25:24] local.INFO: Packet analysis {"connection_id":174997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:25:24] local.INFO: Extracted packet for processing {"connection_id":174997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:25:24] local.INFO: GPS Element Parsed {"raw_longitude":763176192,"raw_latitude":97176168,"longitude_deg":76.3176192,"latitude_deg":9.7176168,"altitude":3,"angle":5,"satellites":22,"speed":72,"hex_longitude":"2d7d2500","hex_latitude":"05caca68","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897799424001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128771928512004096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016699060079730688,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788663284000,"timestamp_ms":1788663284000,"timestamp_seconds":1788663284,"priority":1,"record_length":96,"hex_timestamp":"000001a074a3c120"} 
[2026-09-06 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-09-06 08:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-06 08:25:24] 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-09-06 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-09-06 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-09-06 08:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:25:24] 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-09-06 08:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897799424001,"66":13406,"131":206,"85":15104,"24":72,"16":128771928512004096,"45":9016699060079730688},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-06 08:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897799424001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:25:24] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-06 08:25:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128771928512004096,"km_value":128771928512004.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016699060079730688,"description":"Unknown IO ID 45"} 
[2026-09-06 08:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897799424001,"power":13406,"unknown_131":206,"unknown_85":15104,"ignition":72,"odometer":null,"unknown_45":9016699060079730688}} 
[2026-09-06 08:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":174997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:25:24] local.INFO: GPS data processed {"connection_id":174997,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:25:24] local.INFO: Acknowledgment sent {"connection_id":174997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:25:25] local.INFO: TCP Data received {"connection_id":172534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:25:25] local.INFO: Processing buffer {"connection_id":172534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:25:25] local.INFO: Packet analysis {"connection_id":172534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:25:25] local.INFO: Extracted packet for processing {"connection_id":172534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:25:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897691904001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:25] 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-09-06 08:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788663160000,"timestamp_ms":1788663160000,"timestamp_seconds":1788663160,"priority":1,"record_length":96,"hex_timestamp":"000001a074a1dcc0"} 
[2026-09-06 08:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:25:25] 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-09-06 08: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-09-06 08:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:25: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-09-06 08:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897691904001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897691904001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:25:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:25:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897691904001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":172534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:25:25] local.INFO: GPS data processed {"connection_id":172534,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:25:25] local.INFO: Acknowledgment sent {"connection_id":172534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:25:27] local.INFO: TCP Data received {"connection_id":174997,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a3d890012d7d280005caf1880004000316..."} 
[2026-09-06 08:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a3d890012d7d280005caf1880004000316..."} 
[2026-09-06 08:25:27] local.INFO: Processing buffer {"connection_id":174997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a3d890012d7d280005caf1880004000316..."} 
[2026-09-06 08:25:27] local.INFO: Packet analysis {"connection_id":174997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:25:27] local.INFO: Extracted packet for processing {"connection_id":174997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":97186184,"longitude_deg":76.317696,"latitude_deg":9.7186184,"altitude":4,"angle":3,"satellites":22,"speed":61,"hex_longitude":"2d7d2800","hex_latitude":"05caf188","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897800704001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128772418138275840,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017613853756385280,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788663290000,"timestamp_ms":1788663290000,"timestamp_seconds":1788663290,"priority":1,"record_length":96,"hex_timestamp":"000001a074a3d890"} 
[2026-09-06 08:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-06 08:25: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-09-06 08: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-09-06 08:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:25: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-09-06 08:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897800704001,"66":13374,"131":206,"85":15104,"24":61,"16":128772418138275840,"45":9017613853756385280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-06 08:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897800704001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:25:27] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-06 08:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128772418138275840,"km_value":128772418138275.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017613853756385280,"description":"Unknown IO ID 45"} 
[2026-09-06 08:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897800704001,"power":13374,"unknown_131":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":9017613853756385280}} 
[2026-09-06 08:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":174997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:25:27] local.INFO: GPS data processed {"connection_id":174997,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:25:27] local.INFO: Acknowledgment sent {"connection_id":174997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:25:46] local.INFO: TCP Data received {"connection_id":172536,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a36b30012d1830800721c4e8004e000f10..."} 
[2026-09-06 08:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a36b30012d1830800721c4e8004e000f10..."} 
[2026-09-06 08:25:46] local.INFO: Processing buffer {"connection_id":172536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a36b30012d1830800721c4e8004e000f10..."} 
[2026-09-06 08:25:46] local.INFO: Packet analysis {"connection_id":172536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:25:46] local.INFO: Extracted packet for processing {"connection_id":172536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756560000,"raw_latitude":119653608,"longitude_deg":75.656,"latitude_deg":11.9653608,"altitude":78,"angle":15,"satellites":16,"speed":3,"hex_longitude":"2d183080","hex_latitude":"0721c4e8","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897789952001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18121682497568768,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924004825088,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788663262000,"timestamp_ms":1788663262000,"timestamp_seconds":1788663262,"priority":1,"record_length":96,"hex_timestamp":"000001a074a36b30"} 
[2026-09-06 08:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:25:46] 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-09-06 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 08:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897789952001,"66":14407,"105":206,"83":41984,"24":3,"16":18121682497568768,"45":1741907924004825088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 08:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897789952001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:25:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 08:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18121682497568768,"km_value":18121682497568.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924004825088,"description":"Unknown IO ID 45"} 
[2026-09-06 08:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897789952001,"power":14407,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1741907924004825088}} 
[2026-09-06 08:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":172536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:25:46] local.INFO: GPS data processed {"connection_id":172536,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:25:46] local.INFO: Acknowledgment sent {"connection_id":172536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:25:48] local.INFO: TCP Data received {"connection_id":173686,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:25:48] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:25:48] local.INFO: IMEI packet received {"connection_id":173686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":173686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:25:53] local.INFO: TCP Data received {"connection_id":173686,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:25:53] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:25:53] local.INFO: IMEI packet received {"connection_id":173686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":173686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:25:54] local.INFO: TCP Data received {"connection_id":173686,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:25:54] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:25:54] local.INFO: Packet analysis {"connection_id":173686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:25:54] local.INFO: Extracted packet for processing {"connection_id":173686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:25:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897691904001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:25:54] 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-09-06 08:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788663160000,"timestamp_ms":1788663160000,"timestamp_seconds":1788663160,"priority":1,"record_length":96,"hex_timestamp":"000001a074a1dcc0"} 
[2026-09-06 08:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:25: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-09-06 08:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:25:54] 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-09-06 08:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:25: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-09-06 08:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897691904001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897691904001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:25:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:25:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897691904001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":173686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:25:54] local.INFO: GPS data processed {"connection_id":173686,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:25:54] local.INFO: Acknowledgment sent {"connection_id":173686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:26:09] local.INFO: TCP Data received {"connection_id":173687,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:26:09] local.INFO: Processing buffer {"connection_id":173687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:26:09] local.INFO: IMEI packet received {"connection_id":173687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":173687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:26:10] local.INFO: TCP Data received {"connection_id":173687,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:26:10] local.INFO: Processing buffer {"connection_id":173687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:26:10] local.INFO: IMEI packet received {"connection_id":173687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":173687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:26:10] local.INFO: TCP Data received {"connection_id":174997,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a3f000012d7d2a0005cb16700004000217..."} 
[2026-09-06 08:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a3f000012d7d2a0005cb16700004000217..."} 
[2026-09-06 08:26:10] local.INFO: Processing buffer {"connection_id":174997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a3f000012d7d2a0005cb16700004000217..."} 
[2026-09-06 08:26:10] local.INFO: Packet analysis {"connection_id":174997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:26:10] local.INFO: Extracted packet for processing {"connection_id":174997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763177472,"raw_latitude":97195632,"longitude_deg":76.3177472,"latitude_deg":9.7195632,"altitude":4,"angle":2,"satellites":23,"speed":61,"hex_longitude":"2d7d2a00","hex_latitude":"05cb1670","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897802240001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128772873404809216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018458278689081344,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788663296000,"timestamp_ms":1788663296000,"timestamp_seconds":1788663296,"priority":1,"record_length":96,"hex_timestamp":"000001a074a3f000"} 
[2026-09-06 08:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-06 08:26:10] 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-09-06 08: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-09-06 08:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:26:10] 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-09-06 08:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897802240001,"66":12917,"131":206,"85":15104,"24":61,"16":128772873404809216,"45":9018458278689081344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-06 08:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897802240001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:26:10] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-06 08:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128772873404809216,"km_value":128772873404809.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018458278689081344,"description":"Unknown IO ID 45"} 
[2026-09-06 08:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897802240001,"power":12917,"unknown_131":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":9018458278689081344}} 
[2026-09-06 08:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":174997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:26:10] local.INFO: GPS data processed {"connection_id":174997,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:26:10] local.INFO: Acknowledgment sent {"connection_id":174997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:26:15] local.INFO: TCP Data received {"connection_id":173687,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:26:15] local.INFO: Processing buffer {"connection_id":173687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:26:15] local.INFO: IMEI packet received {"connection_id":173687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":173687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:26:15] local.INFO: TCP Data received {"connection_id":172537,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:26:15] local.INFO: Processing buffer {"connection_id":172537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:26:15] local.INFO: IMEI packet received {"connection_id":172537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":172537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:26:15] local.INFO: TCP Data received {"connection_id":173687,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a382a0012d1833000721cbc0004e001c10..."} 
[2026-09-06 08:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a382a0012d1833000721cbc0004e001c10..."} 
[2026-09-06 08:26:15] local.INFO: Processing buffer {"connection_id":173687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a382a0012d1833000721cbc0004e001c10..."} 
[2026-09-06 08:26:15] local.INFO: Packet analysis {"connection_id":173687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:26:15] local.INFO: Extracted packet for processing {"connection_id":173687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756560640,"raw_latitude":119655360,"longitude_deg":75.656064,"latitude_deg":11.965536,"altitude":78,"angle":28,"satellites":16,"speed":20,"hex_longitude":"2d183300","hex_latitude":"0721cbc0","is_valid_coordinates":true} 
[2026-09-06 08:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897795072001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18121772691881984,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743033823912060928,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788663268000,"timestamp_ms":1788663268000,"timestamp_seconds":1788663268,"priority":1,"record_length":96,"hex_timestamp":"000001a074a382a0"} 
[2026-09-06 08:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:26:15] 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-09-06 08:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-06 08:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897795072001,"66":14363,"105":206,"83":41984,"24":20,"16":18121772691881984,"45":1743033823912060928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 08:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897795072001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:26:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 08:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18121772691881984,"km_value":18121772691881.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743033823912060928,"description":"Unknown IO ID 45"} 
[2026-09-06 08:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897795072001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1743033823912060928}} 
[2026-09-06 08:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":173687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:26:15] local.INFO: GPS data processed {"connection_id":173687,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:26:15] local.INFO: Acknowledgment sent {"connection_id":173687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:26:18] local.INFO: TCP Data received {"connection_id":172537,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:26:18] local.INFO: Processing buffer {"connection_id":172537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:26:18] local.INFO: IMEI packet received {"connection_id":172537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":172537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:26:21] local.INFO: TCP Data received {"connection_id":172537,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:26:21] local.INFO: Processing buffer {"connection_id":172537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:26:21] local.INFO: IMEI packet received {"connection_id":172537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":172537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:26:21] local.INFO: TCP Data received {"connection_id":172537,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a4f5b8012d7d54c005ccb4f80005016618..."} 
[2026-09-06 08:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a4f5b8012d7d54c005ccb4f80005016618..."} 
[2026-09-06 08:26:21] local.INFO: Processing buffer {"connection_id":172537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a4f5b8012d7d54c005ccb4f80005016618..."} 
[2026-09-06 08:26:21] local.INFO: Packet analysis {"connection_id":172537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a4"} 
[2026-09-06 08:26:21] local.INFO: Extracted packet for processing {"connection_id":172537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a4"} 
[2026-09-06 08:26:21] local.INFO: GPS Element Parsed {"raw_longitude":763188416,"raw_latitude":97301752,"longitude_deg":76.3188416,"latitude_deg":9.7301752,"altitude":5,"angle":358,"satellites":24,"speed":71,"hex_longitude":"2d7d54c0","hex_latitude":"05ccb4f8","is_valid_coordinates":true} 
[2026-09-06 08:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897819648001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128778053135368192,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031054283924183040,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788663363000,"timestamp_ms":1788663363000,"timestamp_seconds":1788663363,"priority":1,"record_length":96,"hex_timestamp":"000001a074a4f5b8"} 
[2026-09-06 08:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-06 08:26:21] 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-09-06 08:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:26:21] 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-09-06 08:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897819648001,"66":13276,"130":206,"85":15104,"24":71,"16":128778053135368192,"45":9031054283924183040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-09-06 08:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897819648001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:26:21] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-06 08:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128778053135368192,"km_value":128778053135368.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031054283924183040,"description":"Unknown IO ID 45"} 
[2026-09-06 08:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897819648001,"power":13276,"unknown_130":206,"unknown_85":15104,"ignition":71,"odometer":null,"unknown_45":9031054283924183040}} 
[2026-09-06 08:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":172537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:26:21] local.INFO: GPS data processed {"connection_id":172537,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:26:21] local.INFO: Acknowledgment sent {"connection_id":172537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:26:22] local.INFO: TCP Data received {"connection_id":172537,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a50940012d7d534005ccd8180005016418..."} 
[2026-09-06 08:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a50940012d7d534005ccd8180005016418..."} 
[2026-09-06 08:26:22] local.INFO: Processing buffer {"connection_id":172537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a50940012d7d534005ccd8180005016418..."} 
[2026-09-06 08:26:22] local.INFO: Packet analysis {"connection_id":172537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a5"} 
[2026-09-06 08:26:22] local.INFO: Extracted packet for processing {"connection_id":172537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a5"} 
[2026-09-06 08:26:22] local.INFO: GPS Element Parsed {"raw_longitude":763188032,"raw_latitude":97310744,"longitude_deg":76.3188032,"latitude_deg":9.7310744,"altitude":5,"angle":356,"satellites":24,"speed":71,"hex_longitude":"2d7d5340","hex_latitude":"05ccd818","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897820928001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128778491222032384,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031054283926468608,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788663368000,"timestamp_ms":1788663368000,"timestamp_seconds":1788663368,"priority":1,"record_length":96,"hex_timestamp":"000001a074a50940"} 
[2026-09-06 08:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-06 08:26: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-09-06 08: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-09-06 08:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:26: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-09-06 08:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897820928001,"66":13059,"130":206,"85":15104,"24":71,"16":128778491222032384,"45":9031054283926468608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-09-06 08:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897820928001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:26:22] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-06 08:26:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128778491222032384,"km_value":128778491222032.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031054283926468608,"description":"Unknown IO ID 45"} 
[2026-09-06 08:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897820928001,"power":13059,"unknown_130":206,"unknown_85":15104,"ignition":71,"odometer":null,"unknown_45":9031054283926468608}} 
[2026-09-06 08:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":172537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:26:22] local.INFO: GPS data processed {"connection_id":172537,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:26:22] local.INFO: Acknowledgment sent {"connection_id":172537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:26:25] local.INFO: TCP Data received {"connection_id":173686,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:26:25] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:26:25] local.INFO: Packet analysis {"connection_id":173686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:26:25] local.INFO: Extracted packet for processing {"connection_id":173686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:26:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897691904001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:25] 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-09-06 08:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788663160000,"timestamp_ms":1788663160000,"timestamp_seconds":1788663160,"priority":1,"record_length":96,"hex_timestamp":"000001a074a1dcc0"} 
[2026-09-06 08:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:26: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-09-06 08:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:26:25] 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-09-06 08:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:26: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-09-06 08:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897691904001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897691904001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:26:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:26:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897691904001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":173686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:26:25] local.INFO: GPS data processed {"connection_id":173686,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:26:25] local.INFO: Acknowledgment sent {"connection_id":173686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:26:47] local.INFO: TCP Data received {"connection_id":173687,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a3b950012d1847800721eb000051002210..."} 
[2026-09-06 08:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a3b950012d1847800721eb000051002210..."} 
[2026-09-06 08:26:47] local.INFO: Processing buffer {"connection_id":173687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a3b950012d1847800721eb000051002210..."} 
[2026-09-06 08:26:47] local.INFO: Packet analysis {"connection_id":173687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:26:47] local.INFO: Extracted packet for processing {"connection_id":173687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:26:47] local.INFO: GPS Element Parsed {"raw_longitude":756565888,"raw_latitude":119663360,"longitude_deg":75.6565888,"latitude_deg":11.966336,"altitude":81,"angle":34,"satellites":16,"speed":32,"hex_longitude":"2d184780","hex_latitude":"0721eb00","is_valid_coordinates":true} 
[2026-09-06 08:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897796608001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18122232253382656,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743737511354286080,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788663282000,"timestamp_ms":1788663282000,"timestamp_seconds":1788663282,"priority":1,"record_length":96,"hex_timestamp":"000001a074a3b950"} 
[2026-09-06 08:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:26:47] 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-09-06 08:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-06 08:26:47] 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-09-06 08:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897796608001,"66":14363,"105":206,"83":41984,"24":32,"16":18122232253382656,"45":1743737511354286080},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 08:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897796608001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:26:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 08:26:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18122232253382656,"km_value":18122232253382.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743737511354286080,"description":"Unknown IO ID 45"} 
[2026-09-06 08:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897796608001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1743737511354286080}} 
[2026-09-06 08:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":173687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:26:47] local.INFO: GPS data processed {"connection_id":173687,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:26:47] local.INFO: Acknowledgment sent {"connection_id":173687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:26:48] local.INFO: TCP Data received {"connection_id":173689,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:26:48] local.INFO: Processing buffer {"connection_id":173689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:26:48] local.INFO: IMEI packet received {"connection_id":173689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":173689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:26:53] local.INFO: TCP Data received {"connection_id":173689,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:26:53] local.INFO: Processing buffer {"connection_id":173689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:26:53] local.INFO: IMEI packet received {"connection_id":173689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":173689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:26:53] local.INFO: TCP Data received {"connection_id":172537,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a51cc8012d7d50c005ccfac80005016418..."} 
[2026-09-06 08:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a51cc8012d7d50c005ccfac80005016418..."} 
[2026-09-06 08:26:53] local.INFO: Processing buffer {"connection_id":172537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a51cc8012d7d50c005ccfac80005016418..."} 
[2026-09-06 08:26:53] local.INFO: Packet analysis {"connection_id":172537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a5"} 
[2026-09-06 08:26:53] local.INFO: Extracted packet for processing {"connection_id":172537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a5"} 
[2026-09-06 08:26:53] local.INFO: GPS Element Parsed {"raw_longitude":763187392,"raw_latitude":97319624,"longitude_deg":76.3187392,"latitude_deg":9.7319624,"altitude":5,"angle":356,"satellites":24,"speed":70,"hex_longitude":"2d7d50c0","hex_latitude":"05ccfac8","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897822208001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128778920718761984,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030632071463704576,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788663373000,"timestamp_ms":1788663373000,"timestamp_seconds":1788663373,"priority":1,"record_length":96,"hex_timestamp":"000001a074a51cc8"} 
[2026-09-06 08:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 08:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937516,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:53] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58077557095399488,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3421878272,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:53] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":49153,"corrected_to":0} 
[2026-09-06 08:26:53] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2763214849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:53] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1095237637,"corrected_to":0} 
[2026-09-06 08:26:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894201038,"corrected_to":0} 
[2026-09-06 08:26:53] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3758173565,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:53] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2167799808,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:53] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,130,85,24,241,157,16,131,160,245,45,192,180,5,10,66,226,146,6,202,1,240,106,227,116,204,4,113,205,67,155,69,48,239,52,2,201,8,64],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":202,"original":49153,"validated":0},{"io_id":204,"original":1095237637,"validated":0},{"io_id":205,"original":2894201038,"validated":0}]} 
[2026-09-06 08:26:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360679499412996096,"timestamp_seconds":360679499412996.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:26:53] 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-09-06 08:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897822208001,"66":12613,"130":206,"85":15104,"24":70,"16":128778920718761984,"45":9030632071463704576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-09-06 08:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897822208001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:26:53] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-06 08:26:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128778920718761984,"km_value":128778920718761.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030632071463704576,"description":"Unknown IO ID 45"} 
[2026-09-06 08:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897822208001,"power":12613,"unknown_130":206,"unknown_85":15104,"ignition":70,"odometer":null,"unknown_45":9030632071463704576}} 
[2026-09-06 08:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":172537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:26:54] local.INFO: GPS data processed {"connection_id":172537,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:26:54] local.INFO: Acknowledgment sent {"connection_id":172537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:26:55] local.INFO: TCP Data received {"connection_id":173689,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:26:55] local.INFO: Processing buffer {"connection_id":173689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:26:55] local.INFO: Packet analysis {"connection_id":173689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:26:55] local.INFO: Extracted packet for processing {"connection_id":173689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:26:55] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897691904001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788663160000,"timestamp_ms":1788663160000,"timestamp_seconds":1788663160,"priority":1,"record_length":96,"hex_timestamp":"000001a074a1dcc0"} 
[2026-09-06 08:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:26:55] 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-09-06 08:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897691904001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897691904001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:26:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:26:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897691904001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":173689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:26:55] local.INFO: GPS data processed {"connection_id":173689,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:26:55] local.INFO: Acknowledgment sent {"connection_id":173689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:27:09] local.INFO: TCP Data received {"connection_id":173690,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:27:09] local.INFO: Processing buffer {"connection_id":173690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:27:09] local.INFO: IMEI packet received {"connection_id":173690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":173690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:27:13] local.INFO: TCP Data received {"connection_id":173690,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:27:13] local.INFO: Processing buffer {"connection_id":173690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:27:13] local.INFO: IMEI packet received {"connection_id":173690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":173690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:27:14] local.INFO: TCP Data received {"connection_id":173690,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a3e448012d185b00072208500054002012..."} 
[2026-09-06 08:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a3e448012d185b00072208500054002012..."} 
[2026-09-06 08:27:14] local.INFO: Processing buffer {"connection_id":173690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a3e448012d185b00072208500054002012..."} 
[2026-09-06 08:27:14] local.INFO: Packet analysis {"connection_id":173690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:27:14] local.INFO: Extracted packet for processing {"connection_id":173690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a3"} 
[2026-09-06 08:27:14] local.INFO: GPS Element Parsed {"raw_longitude":756570880,"raw_latitude":119670864,"longitude_deg":75.657088,"latitude_deg":11.9670864,"altitude":84,"angle":32,"satellites":18,"speed":35,"hex_longitude":"2d185b00","hex_latitude":"07220850","is_valid_coordinates":true} 
[2026-09-06 08:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897800192001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18122670340046848,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749507748378902528,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788663293000,"timestamp_ms":1788663293000,"timestamp_seconds":1788663293,"priority":1,"record_length":96,"hex_timestamp":"000001a074a3e448"} 
[2026-09-06 08:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:27:14] 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-09-06 08:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-06 08:27:14] 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-09-06 08:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897800192001,"66":14374,"105":206,"83":41984,"24":35,"16":18122670340046848,"45":1749507748378902528},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 08:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897800192001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:27:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 08:27:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18122670340046848,"km_value":18122670340046.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749507748378902528,"description":"Unknown IO ID 45"} 
[2026-09-06 08:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897800192001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1749507748378902528}} 
[2026-09-06 08:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":173690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:27:14] local.INFO: GPS data processed {"connection_id":173690,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:27:14] local.INFO: Acknowledgment sent {"connection_id":173690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:27:16] local.INFO: TCP Data received {"connection_id":172539,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:27:16] local.INFO: Processing buffer {"connection_id":172539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:27:16] local.INFO: IMEI packet received {"connection_id":172539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":172539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:27:17] local.INFO: TCP Data received {"connection_id":172539,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:27:17] local.INFO: Processing buffer {"connection_id":172539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:27:17] local.INFO: IMEI packet received {"connection_id":172539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":172539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:27:22] local.INFO: TCP Data received {"connection_id":172539,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:27:22] local.INFO: Processing buffer {"connection_id":172539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:27:22] local.INFO: IMEI packet received {"connection_id":172539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":172539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:27:23] local.INFO: TCP Data received {"connection_id":172539,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a53438012d7d4dc005cd22800006016319..."} 
[2026-09-06 08:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a53438012d7d4dc005cd22800006016319..."} 
[2026-09-06 08:27:23] local.INFO: Processing buffer {"connection_id":172539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a53438012d7d4dc005cd22800006016319..."} 
[2026-09-06 08:27:23] local.INFO: Packet analysis {"connection_id":172539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a5"} 
[2026-09-06 08:27:23] local.INFO: Extracted packet for processing {"connection_id":172539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a5"} 
[2026-09-06 08:27:23] local.INFO: GPS Element Parsed {"raw_longitude":763186624,"raw_latitude":97329792,"longitude_deg":76.3186624,"latitude_deg":9.7329792,"altitude":6,"angle":355,"satellites":25,"speed":63,"hex_longitude":"2d7d4dc0","hex_latitude":"05cd2280","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897823488001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128779414640001024,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029928384024201216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788663379000,"timestamp_ms":1788663379000,"timestamp_seconds":1788663379,"priority":1,"record_length":96,"hex_timestamp":"000001a074a53438"} 
[2026-09-06 08:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:27: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-09-06 08: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-06 08:27:23] 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-09-06 08: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-09-06 08:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:27: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-09-06 08:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897823488001,"66":13276,"129":206,"85":15104,"24":63,"16":128779414640001024,"45":9029928384024201216},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-06 08:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897823488001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:27:23] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-06 08:27:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128779414640001024,"km_value":128779414640001.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029928384024201216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897823488001,"power":13276,"unknown_129":206,"unknown_85":15104,"ignition":63,"odometer":null,"unknown_45":9029928384024201216}} 
[2026-09-06 08:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":172539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:27:23] local.INFO: GPS data processed {"connection_id":172539,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:27:23] local.INFO: Acknowledgment sent {"connection_id":172539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:27:26] local.INFO: TCP Data received {"connection_id":173689,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:27:26] local.INFO: Processing buffer {"connection_id":173689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:27:26] local.INFO: Packet analysis {"connection_id":173689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:27:26] local.INFO: Extracted packet for processing {"connection_id":173689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:27:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897691904001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27: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-09-06 08:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788663160000,"timestamp_ms":1788663160000,"timestamp_seconds":1788663160,"priority":1,"record_length":96,"hex_timestamp":"000001a074a1dcc0"} 
[2026-09-06 08:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:27: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-09-06 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:27:26] 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-09-06 08: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-09-06 08:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:27: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-09-06 08:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897691904001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897691904001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:27:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:27:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897691904001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":173689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:27:26] local.INFO: GPS data processed {"connection_id":173689,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:27:26] local.INFO: Acknowledgment sent {"connection_id":173689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:27:45] local.INFO: TCP Data received {"connection_id":173690,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a40b58012d186f00072226200056002013..."} 
[2026-09-06 08:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a40b58012d186f00072226200056002013..."} 
[2026-09-06 08:27:45] local.INFO: Processing buffer {"connection_id":173690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a40b58012d186f00072226200056002013..."} 
[2026-09-06 08:27:45] local.INFO: Packet analysis {"connection_id":173690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a4"} 
[2026-09-06 08:27:45] local.INFO: Extracted packet for processing {"connection_id":173690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a4"} 
[2026-09-06 08:27:45] local.INFO: GPS Element Parsed {"raw_longitude":756576000,"raw_latitude":119678496,"longitude_deg":75.6576,"latitude_deg":11.9678496,"altitude":86,"angle":32,"satellites":19,"speed":35,"hex_longitude":"2d186f00","hex_latitude":"07222620","is_valid_coordinates":true} 
[2026-09-06 08:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897803008001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18123112721678336,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754996510426681344,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27: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-09-06 08:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788663303000,"timestamp_ms":1788663303000,"timestamp_seconds":1788663303,"priority":1,"record_length":96,"hex_timestamp":"000001a074a40b58"} 
[2026-09-06 08:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:27:45] 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-09-06 08:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-06 08:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897803008001,"66":14428,"105":206,"83":41984,"24":35,"16":18123112721678336,"45":1754996510426681344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 08:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897803008001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:27:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 08:27:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18123112721678336,"km_value":18123112721678.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754996510426681344,"description":"Unknown IO ID 45"} 
[2026-09-06 08:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897803008001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1754996510426681344}} 
[2026-09-06 08:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":173690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:27:45] local.INFO: GPS data processed {"connection_id":173690,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:27:45] local.INFO: Acknowledgment sent {"connection_id":173690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:27:48] local.INFO: TCP Data received {"connection_id":172540,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:27:48] local.INFO: Processing buffer {"connection_id":172540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:27:48] local.INFO: IMEI packet received {"connection_id":172540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":172540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:27:53] local.INFO: TCP Data received {"connection_id":172540,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:27:53] local.INFO: Processing buffer {"connection_id":172540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:27:53] local.INFO: IMEI packet received {"connection_id":172540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":172540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:27:54] local.INFO: TCP Data received {"connection_id":172539,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a54ba8012d7d4ac005cd45200006016219..."} 
[2026-09-06 08:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a54ba8012d7d4ac005cd45200006016219..."} 
[2026-09-06 08:27:54] local.INFO: Processing buffer {"connection_id":172539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a54ba8012d7d4ac005cd45200006016219..."} 
[2026-09-06 08:27:54] local.INFO: Packet analysis {"connection_id":172539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a5"} 
[2026-09-06 08:27:54] local.INFO: Extracted packet for processing {"connection_id":172539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a5"} 
[2026-09-06 08:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763185856,"raw_latitude":97338656,"longitude_deg":76.3185856,"latitude_deg":9.7338656,"altitude":6,"angle":354,"satellites":25,"speed":55,"hex_longitude":"2d7d4ac0","hex_latitude":"05cd4520","is_valid_coordinates":true} 
[2026-09-06 08:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897825024001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128779848431697920,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029083959096672256,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788663385000,"timestamp_ms":1788663385000,"timestamp_seconds":1788663385,"priority":1,"record_length":96,"hex_timestamp":"000001a074a54ba8"} 
[2026-09-06 08:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-06 08:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:27:54] 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-09-06 08:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897825024001,"66":13396,"129":206,"85":15104,"24":55,"16":128779848431697920,"45":9029083959096672256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-06 08:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897825024001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:27:54] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-06 08:27:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128779848431697920,"km_value":128779848431697.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029083959096672256,"description":"Unknown IO ID 45"} 
[2026-09-06 08:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897825024001,"power":13396,"unknown_129":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9029083959096672256}} 
[2026-09-06 08:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":172539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:27:54] local.INFO: GPS data processed {"connection_id":172539,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:27:54] local.INFO: Acknowledgment sent {"connection_id":172539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:27:54] local.INFO: TCP Data received {"connection_id":172540,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:27:54] local.INFO: Processing buffer {"connection_id":172540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a1dcc0012d532d0006497048000601472a..."} 
[2026-09-06 08:27:54] local.INFO: Packet analysis {"connection_id":172540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:27:54] local.INFO: Extracted packet for processing {"connection_id":172540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a1"} 
[2026-09-06 08:27:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897691904001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:27:54] 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-09-06 08:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788663160000,"timestamp_ms":1788663160000,"timestamp_seconds":1788663160,"priority":1,"record_length":96,"hex_timestamp":"000001a074a1dcc0"} 
[2026-09-06 08:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:27: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-09-06 08:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:27:54] 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-09-06 08:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:27: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-09-06 08:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897691904001,"66":25191,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897691904001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:27:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:27:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897691904001,"power":25191,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":172540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:27:54] local.INFO: GPS data processed {"connection_id":172540,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:27:54] local.INFO: Acknowledgment sent {"connection_id":172540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:28:09] local.INFO: TCP Data received {"connection_id":172312,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:28:09] local.INFO: Processing buffer {"connection_id":172312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:28:09] local.INFO: IMEI packet received {"connection_id":172312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":172312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:28:15] local.INFO: TCP Data received {"connection_id":172312,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:28:15] local.INFO: Processing buffer {"connection_id":172312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:28:15] local.INFO: IMEI packet received {"connection_id":172312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":172312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:28:15] local.INFO: TCP Data received {"connection_id":172312,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a43268012d18830007224450005a002014..."} 
[2026-09-06 08:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a43268012d18830007224450005a002014..."} 
[2026-09-06 08:28:15] local.INFO: Processing buffer {"connection_id":172312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a43268012d18830007224450005a002014..."} 
[2026-09-06 08:28:15] local.INFO: Packet analysis {"connection_id":172312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a4"} 
[2026-09-06 08:28:15] local.INFO: Extracted packet for processing {"connection_id":172312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a4"} 
[2026-09-06 08:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756581120,"raw_latitude":119686224,"longitude_deg":75.658112,"latitude_deg":11.9686224,"altitude":90,"angle":32,"satellites":20,"speed":36,"hex_longitude":"2d188300","hex_latitude":"07224450","is_valid_coordinates":true} 
[2026-09-06 08:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897805568001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18123559398277120,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760626009962848256,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788663313000,"timestamp_ms":1788663313000,"timestamp_seconds":1788663313,"priority":1,"record_length":96,"hex_timestamp":"000001a074a43268"} 
[2026-09-06 08:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:28:15] 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-09-06 08:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897805568001,"66":14363,"105":206,"83":41984,"24":36,"16":18123559398277120,"45":1760626009962848256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 08:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897805568001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:28:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 08:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18123559398277120,"km_value":18123559398277.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760626009962848256,"description":"Unknown IO ID 45"} 
[2026-09-06 08:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897805568001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1760626009962848256}} 
[2026-09-06 08:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":172312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:28:15] local.INFO: GPS data processed {"connection_id":172312,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:28:15] local.INFO: Acknowledgment sent {"connection_id":172312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:28:17] local.INFO: TCP Data received {"connection_id":172313,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:28:17] local.INFO: Processing buffer {"connection_id":172313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:28:17] local.INFO: IMEI packet received {"connection_id":172313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":172313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:28:19] local.INFO: TCP Data received {"connection_id":172313,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:28:19] local.INFO: Processing buffer {"connection_id":172313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:28:19] local.INFO: IMEI packet received {"connection_id":172313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":172313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:28:22] local.INFO: TCP Data received {"connection_id":172313,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:28:22] local.INFO: Processing buffer {"connection_id":172313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:28:22] local.INFO: IMEI packet received {"connection_id":172313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":172313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:28:22] local.INFO: TCP Data received {"connection_id":172313,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a6a368012d7d494005ced9d0000801671c..."} 
[2026-09-06 08:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a6a368012d7d494005ced9d0000801671c..."} 
[2026-09-06 08:28:22] local.INFO: Processing buffer {"connection_id":172313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a6a368012d7d494005ced9d0000801671c..."} 
[2026-09-06 08:28:22] local.INFO: Packet analysis {"connection_id":172313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:28:22] local.INFO: Extracted packet for processing {"connection_id":172313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:28:22] local.INFO: GPS Element Parsed {"raw_longitude":763185472,"raw_latitude":97442256,"longitude_deg":76.3185472,"latitude_deg":9.7442256,"altitude":8,"angle":359,"satellites":28,"speed":54,"hex_longitude":"2d7d4940","hex_latitude":"05ced9d0","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897847040001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128784882133368832,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027958059216179200,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788663473000,"timestamp_ms":1788663473000,"timestamp_seconds":1788663473,"priority":1,"record_length":96,"hex_timestamp":"000001a074a6a368"} 
[2026-09-06 08:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-06 08:28:22] 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-09-06 08: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-09-06 08:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:28: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-09-06 08:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897847040001,"66":13559,"235":206,"85":15104,"24":54,"16":128784882133368832,"45":9027958059216179200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-06 08:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897847040001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:28:22] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-06 08:28:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128784882133368832,"km_value":128784882133368.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027958059216179200,"description":"Unknown IO ID 45"} 
[2026-09-06 08:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897847040001,"power":13559,"unknown_235":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9027958059216179200}} 
[2026-09-06 08:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":172313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:28:22] local.INFO: GPS data processed {"connection_id":172313,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:28:22] local.INFO: Acknowledgment sent {"connection_id":172313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:28:25] local.INFO: TCP Data received {"connection_id":172540,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:28:25] local.INFO: Processing buffer {"connection_id":172540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:28:25] local.INFO: Packet analysis {"connection_id":172540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:28:25] local.INFO: Extracted packet for processing {"connection_id":172540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:28:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897768960001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:25] 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-09-06 08:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788663461000,"timestamp_ms":1788663461000,"timestamp_seconds":1788663461,"priority":1,"record_length":96,"hex_timestamp":"000001a074a67488"} 
[2026-09-06 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-09-06 08:28: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-09-06 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:28:25] 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-09-06 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-09-06 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-09-06 08:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:28: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-09-06 08:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897768960001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897768960001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:28:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:28:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897768960001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":172540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:28:25] local.INFO: GPS data processed {"connection_id":172540,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:28:25] local.INFO: Acknowledgment sent {"connection_id":172540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:28:31] local.INFO: TCP Data received {"connection_id":172313,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a6bad8012d7d494005cefd40000700001c..."} 
[2026-09-06 08:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a6bad8012d7d494005cefd40000700001c..."} 
[2026-09-06 08:28:31] local.INFO: Processing buffer {"connection_id":172313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a6bad8012d7d494005cefd40000700001c..."} 
[2026-09-06 08:28:31] local.INFO: Packet analysis {"connection_id":172313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:28:31] local.INFO: Extracted packet for processing {"connection_id":172313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763185472,"raw_latitude":97451328,"longitude_deg":76.3185472,"latitude_deg":9.7451328,"altitude":7,"angle":0,"satellites":28,"speed":64,"hex_longitude":"2d7d4940","hex_latitude":"05cefd40","is_valid_coordinates":true} 
[2026-09-06 08:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897849088001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128785324515000320,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027817321730265088,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788663479000,"timestamp_ms":1788663479000,"timestamp_seconds":1788663479,"priority":1,"record_length":96,"hex_timestamp":"000001a074a6bad8"} 
[2026-09-06 08:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 08:28:31] 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-09-06 08:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:28:31] 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-09-06 08:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897849088001,"66":13678,"235":206,"85":15104,"24":64,"16":128785324515000320,"45":9027817321730265088},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-06 08:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897849088001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:28:31] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-06 08:28:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128785324515000320,"km_value":128785324515000.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027817321730265088,"description":"Unknown IO ID 45"} 
[2026-09-06 08:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897849088001,"power":13678,"unknown_235":206,"unknown_85":15104,"ignition":64,"odometer":null,"unknown_45":9027817321730265088}} 
[2026-09-06 08:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":172313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:28:31] local.INFO: GPS data processed {"connection_id":172313,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:28:31] local.INFO: Acknowledgment sent {"connection_id":172313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:28:46] local.INFO: TCP Data received {"connection_id":172312,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a6a368012d18a4000722a718006e015220..."} 
[2026-09-06 08:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a6a368012d18a4000722a718006e015220..."} 
[2026-09-06 08:28:46] local.INFO: Processing buffer {"connection_id":172312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a6a368012d18a4000722a718006e015220..."} 
[2026-09-06 08:28:46] local.INFO: Packet analysis {"connection_id":172312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:28:46] local.INFO: Extracted packet for processing {"connection_id":172312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756589568,"raw_latitude":119711512,"longitude_deg":75.6589568,"latitude_deg":11.9711512,"altitude":110,"angle":338,"satellites":32,"speed":0,"hex_longitude":"2d18a400","hex_latitude":"0722a718","is_valid_coordinates":true} 
[2026-09-06 08:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897843712001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18124903723040768,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775544183736965120,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788663473000,"timestamp_ms":1788663473000,"timestamp_seconds":1788663473,"priority":1,"record_length":96,"hex_timestamp":"000001a074a6a368"} 
[2026-09-06 08:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:28:46] 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-09-06 08:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 08:28:46] 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-09-06 08:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897843712001,"66":12798,"105":206,"83":41984,"24":0,"16":18124903723040768,"45":1775544183736965120},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 08:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897843712001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:28:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 08:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18124903723040768,"km_value":18124903723040.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775544183736965120,"description":"Unknown IO ID 45"} 
[2026-09-06 08:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897843712001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1775544183736965120}} 
[2026-09-06 08:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":172312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:28:47] local.INFO: GPS data processed {"connection_id":172312,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:28:47] local.INFO: Acknowledgment sent {"connection_id":172312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:28:53] local.INFO: TCP Data received {"connection_id":172542,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:28:53] local.INFO: Processing buffer {"connection_id":172542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:28:53] local.INFO: IMEI packet received {"connection_id":172542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":172542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:28:58] local.INFO: TCP Data received {"connection_id":172542,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:28:58] local.INFO: Processing buffer {"connection_id":172542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:28:58] local.INFO: IMEI packet received {"connection_id":172542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":172542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:28:59] local.INFO: TCP Data received {"connection_id":172542,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:28:59] local.INFO: Processing buffer {"connection_id":172542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:28:59] local.INFO: Packet analysis {"connection_id":172542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:28:59] local.INFO: Extracted packet for processing {"connection_id":172542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:28:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897768960001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:28:59] 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-09-06 08:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788663461000,"timestamp_ms":1788663461000,"timestamp_seconds":1788663461,"priority":1,"record_length":96,"hex_timestamp":"000001a074a67488"} 
[2026-09-06 08:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:28: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-09-06 08:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:28:59] 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-09-06 08:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897768960001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897768960001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:28:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:28:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897768960001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":172542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:28:59] local.INFO: GPS data processed {"connection_id":172542,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:28:59] local.INFO: Acknowledgment sent {"connection_id":172542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:29:09] local.INFO: TCP Data received {"connection_id":174999,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:29:09] local.INFO: Processing buffer {"connection_id":174999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:29:09] local.INFO: IMEI packet received {"connection_id":174999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":174999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:29:15] local.INFO: TCP Data received {"connection_id":174999,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:29:15] local.INFO: Processing buffer {"connection_id":174999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:29:15] local.INFO: IMEI packet received {"connection_id":174999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":174999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:29:15] local.INFO: TCP Data received {"connection_id":174999,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a6f570012d18a4000722a718006e015220..."} 
[2026-09-06 08:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a6f570012d18a4000722a718006e015220..."} 
[2026-09-06 08:29:15] local.INFO: Processing buffer {"connection_id":174999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a6f570012d18a4000722a718006e015220..."} 
[2026-09-06 08:29:15] local.INFO: Packet analysis {"connection_id":174999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:29:15] local.INFO: Extracted packet for processing {"connection_id":174999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:29:15] local.INFO: GPS Element Parsed {"raw_longitude":756589568,"raw_latitude":119711512,"longitude_deg":75.6589568,"latitude_deg":11.9711512,"altitude":110,"angle":338,"satellites":32,"speed":0,"hex_longitude":"2d18a400","hex_latitude":"0722a718","is_valid_coordinates":true} 
[2026-09-06 08:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897849088001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18124903723040768,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775544183736965120,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788663494000,"timestamp_ms":1788663494000,"timestamp_seconds":1788663494,"priority":1,"record_length":96,"hex_timestamp":"000001a074a6f570"} 
[2026-09-06 08:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:29:15] 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-09-06 08:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-06 08:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897849088001,"66":12776,"105":206,"83":41984,"24":0,"16":18124903723040768,"45":1775544183736965120},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 08:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897849088001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:29:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 08:29:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18124903723040768,"km_value":18124903723040.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775544183736965120,"description":"Unknown IO ID 45"} 
[2026-09-06 08:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897849088001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1775544183736965120}} 
[2026-09-06 08:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":174999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:29:15] local.INFO: GPS data processed {"connection_id":174999,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:29:15] local.INFO: Acknowledgment sent {"connection_id":174999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:29:17] local.INFO: TCP Data received {"connection_id":172544,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:29:17] local.INFO: Processing buffer {"connection_id":172544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:29:17] local.INFO: IMEI packet received {"connection_id":172544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":172544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:29:19] local.INFO: TCP Data received {"connection_id":172544,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:29:19] local.INFO: Processing buffer {"connection_id":172544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:29:19] local.INFO: IMEI packet received {"connection_id":172544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":172544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:29:23] local.INFO: TCP Data received {"connection_id":172544,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:29:23] local.INFO: Processing buffer {"connection_id":172544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:29:23] local.INFO: IMEI packet received {"connection_id":172544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":172544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:29:24] local.INFO: TCP Data received {"connection_id":172544,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a79d68012d7d4a4005d03390000400021c..."} 
[2026-09-06 08:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a79d68012d7d4a4005d03390000400021c..."} 
[2026-09-06 08:29:24] local.INFO: Processing buffer {"connection_id":172544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a79d68012d7d4a4005d03390000400021c..."} 
[2026-09-06 08:29:24] local.INFO: Packet analysis {"connection_id":172544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a7"} 
[2026-09-06 08:29:24] local.INFO: Extracted packet for processing {"connection_id":172544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a7"} 
[2026-09-06 08:29:24] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":97530768,"longitude_deg":76.3185728,"latitude_deg":9.7530768,"altitude":4,"angle":2,"satellites":28,"speed":14,"hex_longitude":"2d7d4a40","hex_latitude":"05d03390","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897865216001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128789181395632128,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427985375232,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788663537000,"timestamp_ms":1788663537000,"timestamp_seconds":1788663537,"priority":1,"record_length":96,"hex_timestamp":"000001a074a79d68"} 
[2026-09-06 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-09-06 08:29: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-09-06 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 08:29:24] 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-09-06 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-09-06 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-09-06 08:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:29:24] 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-09-06 08:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897865216001,"66":13580,"198":206,"85":15104,"24":14,"16":128789181395632128,"45":9028028427985375232},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 08:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897865216001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:29:24] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 08:29:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128789181395632128,"km_value":128789181395632.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427985375232,"description":"Unknown IO ID 45"} 
[2026-09-06 08:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897865216001,"power":13580,"unknown_198":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9028028427985375232}} 
[2026-09-06 08:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":172544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:29:24] local.INFO: GPS data processed {"connection_id":172544,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:29:24] local.INFO: Acknowledgment sent {"connection_id":172544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:29:30] local.INFO: TCP Data received {"connection_id":172542,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:29:30] local.INFO: Processing buffer {"connection_id":172542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:29:30] local.INFO: Packet analysis {"connection_id":172542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:29:30] local.INFO: Extracted packet for processing {"connection_id":172542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:29:30] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897768960001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:30] 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-09-06 08:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788663461000,"timestamp_ms":1788663461000,"timestamp_seconds":1788663461,"priority":1,"record_length":96,"hex_timestamp":"000001a074a67488"} 
[2026-09-06 08:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:29:30] 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-09-06 08:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897768960001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897768960001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:29:30] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:29:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897768960001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":172542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:29:30] local.INFO: GPS data processed {"connection_id":172542,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:29:30] local.INFO: Acknowledgment sent {"connection_id":172542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:29:42] local.INFO: TCP Data received {"connection_id":172543,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:29:42] local.INFO: Processing buffer {"connection_id":172543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:29:42] local.INFO: IMEI packet received {"connection_id":172543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 08:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":172543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:29:46] local.INFO: TCP Data received {"connection_id":174999,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a74778012d18a4000722a718006e015220..."} 
[2026-09-06 08:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a74778012d18a4000722a718006e015220..."} 
[2026-09-06 08:29:46] local.INFO: Processing buffer {"connection_id":174999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a74778012d18a4000722a718006e015220..."} 
[2026-09-06 08:29:46] local.INFO: Packet analysis {"connection_id":174999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a7"} 
[2026-09-06 08:29:46] local.INFO: Extracted packet for processing {"connection_id":174999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a7"} 
[2026-09-06 08:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756589568,"raw_latitude":119711512,"longitude_deg":75.6589568,"latitude_deg":11.9711512,"altitude":110,"angle":338,"satellites":32,"speed":0,"hex_longitude":"2d18a400","hex_latitude":"0722a718","is_valid_coordinates":true} 
[2026-09-06 08:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897854464001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18124903723040768,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775544183736965120,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788663515000,"timestamp_ms":1788663515000,"timestamp_seconds":1788663515,"priority":1,"record_length":96,"hex_timestamp":"000001a074a74778"} 
[2026-09-06 08:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:29:46] 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-09-06 08:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 08:29:46] 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-09-06 08:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897854464001,"66":12711,"105":206,"83":41984,"24":0,"16":18124903723040768,"45":1775544183736965120},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 08:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897854464001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:29:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 08:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18124903723040768,"km_value":18124903723040.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775544183736965120,"description":"Unknown IO ID 45"} 
[2026-09-06 08:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897854464001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1775544183736965120}} 
[2026-09-06 08:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":174999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:29:47] local.INFO: GPS data processed {"connection_id":174999,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:29:47] local.INFO: Acknowledgment sent {"connection_id":174999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:29:48] local.INFO: TCP Data received {"connection_id":172314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:29:48] local.INFO: Processing buffer {"connection_id":172314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:29:48] local.INFO: IMEI packet received {"connection_id":172314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":172314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:29:53] local.INFO: TCP Data received {"connection_id":172314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:29:53] local.INFO: Processing buffer {"connection_id":172314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:29:53] local.INFO: IMEI packet received {"connection_id":172314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":172314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:29:54] local.INFO: TCP Data received {"connection_id":172314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:29:54] local.INFO: Processing buffer {"connection_id":172314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:29:54] local.INFO: Packet analysis {"connection_id":172314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:29:54] local.INFO: Extracted packet for processing {"connection_id":172314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:29:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897768960001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:54] 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-09-06 08:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788663461000,"timestamp_ms":1788663461000,"timestamp_seconds":1788663461,"priority":1,"record_length":96,"hex_timestamp":"000001a074a67488"} 
[2026-09-06 08:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08: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-09-06 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:29:54] 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-09-06 08: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-09-06 08:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:29: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-09-06 08:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897768960001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897768960001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:29:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:29:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897768960001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":172314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:29:54] local.INFO: GPS data processed {"connection_id":172314,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:29:54] local.INFO: Acknowledgment sent {"connection_id":172314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:29:56] local.INFO: TCP Data received {"connection_id":172544,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a7cc48012d7d470005d056c0000401621c..."} 
[2026-09-06 08:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a7cc48012d7d470005d056c0000401621c..."} 
[2026-09-06 08:29:56] local.INFO: Processing buffer {"connection_id":172544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a7cc48012d7d470005d056c0000401621c..."} 
[2026-09-06 08:29:56] local.INFO: Packet analysis {"connection_id":172544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a7"} 
[2026-09-06 08:29:56] local.INFO: Extracted packet for processing {"connection_id":172544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a7"} 
[2026-09-06 08:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763184896,"raw_latitude":97539776,"longitude_deg":76.3184896,"latitude_deg":9.7539776,"altitude":4,"angle":354,"satellites":28,"speed":41,"hex_longitude":"2d7d4700","hex_latitude":"05d056c0","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897865472001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128789619482296320,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796729634816,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788663549000,"timestamp_ms":1788663549000,"timestamp_seconds":1788663549,"priority":1,"record_length":96,"hex_timestamp":"000001a074a7cc48"} 
[2026-09-06 08:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 08:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630731,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:56] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549775083,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3923841439695372288,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:56] local.WARNING: Large IO value detected {"io_id":140,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:56] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2808014849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2800419022,"corrected_to":0} 
[2026-09-06 08:29:56] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629275056459349,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:56] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:56] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2351235072,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3485175808,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:56] local.WARNING: Large IO value detected {"io_id":125,"raw_value":5314253949421748232,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:56] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755678614061297,"note":"Value kept but may cause issues"} 
[2026-09-06 08:29:56] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,198,85,24,241,157,16,141,160,153,45,50,4,28,10,66,192,48,126,128,1,240,34,227,140,116,208,113,205,58,71,75,136,239,52,235,2,201,5,7,64,125,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2800419022,"validated":0}]} 
[2026-09-06 08:29:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288232695434969088,"timestamp_seconds":288232695434969.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:29:56] 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-09-06 08:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897865472001,"66":13765,"198":206,"85":15104,"24":41,"16":128789619482296320,"45":9028098796729634816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 08:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897865472001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:29:56] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 08:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128789619482296320,"km_value":128789619482296.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796729634816,"description":"Unknown IO ID 45"} 
[2026-09-06 08:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897865472001,"power":13765,"unknown_198":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9028098796729634816}} 
[2026-09-06 08:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":172544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:29:56] local.INFO: GPS data processed {"connection_id":172544,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:29:56] local.INFO: Acknowledgment sent {"connection_id":172544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:30:09] local.INFO: TCP Data received {"connection_id":172545,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:30:09] local.INFO: Processing buffer {"connection_id":172545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:30:09] local.INFO: IMEI packet received {"connection_id":172545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":172545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:30:15] local.INFO: TCP Data received {"connection_id":172545,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:30:15] local.INFO: Processing buffer {"connection_id":172545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:30:15] local.INFO: IMEI packet received {"connection_id":172545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":172545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:30:15] local.INFO: TCP Data received {"connection_id":172545,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a79598012d18a4000722a718006e015220..."} 
[2026-09-06 08:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a79598012d18a4000722a718006e015220..."} 
[2026-09-06 08:30:15] local.INFO: Processing buffer {"connection_id":172545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a79598012d18a4000722a718006e015220..."} 
[2026-09-06 08:30:15] local.INFO: Packet analysis {"connection_id":172545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a7"} 
[2026-09-06 08:30:15] local.INFO: Extracted packet for processing {"connection_id":172545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a7"} 
[2026-09-06 08:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756589568,"raw_latitude":119711512,"longitude_deg":75.6589568,"latitude_deg":11.9711512,"altitude":110,"angle":338,"satellites":32,"speed":0,"hex_longitude":"2d18a400","hex_latitude":"0722a718","is_valid_coordinates":true} 
[2026-09-06 08:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897859840001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18124903723040768,"note":"Value kept but may cause issues"} 
[2026-09-06 08:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775544183736965120,"note":"Value kept but may cause issues"} 
[2026-09-06 08:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788663535000,"timestamp_ms":1788663535000,"timestamp_seconds":1788663535,"priority":1,"record_length":96,"hex_timestamp":"000001a074a79598"} 
[2026-09-06 08:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:30:15] 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-09-06 08:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-06 08:30:15] 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-09-06 08:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897859840001,"66":12613,"105":206,"83":41984,"24":0,"16":18124903723040768,"45":1775544183736965120},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 08:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897859840001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:30:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 08:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18124903723040768,"km_value":18124903723040.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775544183736965120,"description":"Unknown IO ID 45"} 
[2026-09-06 08:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897859840001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1775544183736965120}} 
[2026-09-06 08:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":172545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:30:15] local.INFO: GPS data processed {"connection_id":172545,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:30:15] local.INFO: Acknowledgment sent {"connection_id":172545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:30:16] local.INFO: TCP Data received {"connection_id":173691,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:30:16] local.INFO: Processing buffer {"connection_id":173691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:30:16] local.INFO: IMEI packet received {"connection_id":173691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 08:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":173691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:30:18] local.INFO: TCP Data received {"connection_id":175000,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:30:18] local.INFO: Processing buffer {"connection_id":175000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:30:18] local.INFO: IMEI packet received {"connection_id":175000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":175000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:30:22] local.INFO: TCP Data received {"connection_id":175000,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:30:22] local.INFO: Processing buffer {"connection_id":175000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:30:22] local.INFO: IMEI packet received {"connection_id":175000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":175000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:30:24] local.INFO: TCP Data received {"connection_id":175000,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:30:24] local.INFO: Processing buffer {"connection_id":175000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:30:24] local.INFO: IMEI packet received {"connection_id":175000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":175000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:30:25] local.INFO: TCP Data received {"connection_id":172314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:30:25] local.INFO: Processing buffer {"connection_id":172314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:30:25] local.INFO: Packet analysis {"connection_id":172314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:30:25] local.INFO: Extracted packet for processing {"connection_id":172314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897768960001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:30:25] 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-09-06 08:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788663461000,"timestamp_ms":1788663461000,"timestamp_seconds":1788663461,"priority":1,"record_length":96,"hex_timestamp":"000001a074a67488"} 
[2026-09-06 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-09-06 08:30: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-09-06 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:30:25] 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-09-06 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-09-06 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-09-06 08:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:30: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-09-06 08:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897768960001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897768960001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:30:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:30:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897768960001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":172314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:30:25] local.INFO: GPS data processed {"connection_id":172314,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:30:25] local.INFO: Acknowledgment sent {"connection_id":172314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:30:25] local.INFO: TCP Data received {"connection_id":175000,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a7eb88012d7d43c005d07a40000501621c..."} 
[2026-09-06 08:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a7eb88012d7d43c005d07a40000501621c..."} 
[2026-09-06 08:30:25] local.INFO: Processing buffer {"connection_id":175000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a7eb88012d7d43c005d07a40000501621c..."} 
[2026-09-06 08:30:25] local.INFO: Packet analysis {"connection_id":175000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a7"} 
[2026-09-06 08:30:25] local.INFO: Extracted packet for processing {"connection_id":175000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a7"} 
[2026-09-06 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":97548864,"longitude_deg":76.3184064,"latitude_deg":9.7548864,"altitude":5,"angle":354,"satellites":28,"speed":51,"hex_longitude":"2d7d43c0","hex_latitude":"05d07a40","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897868544001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128790061863927808,"note":"Value kept but may cause issues"} 
[2026-09-06 08:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027184003057631232,"note":"Value kept but may cause issues"} 
[2026-09-06 08:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788663557000,"timestamp_ms":1788663557000,"timestamp_seconds":1788663557,"priority":1,"record_length":96,"hex_timestamp":"000001a074a7eb88"} 
[2026-09-06 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-09-06 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-06 08:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 08:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:30:25] 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-09-06 08:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897868544001,"66":13015,"198":206,"85":15104,"24":51,"16":128790061863927808,"45":9027184003057631232},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 08:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897868544001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:30:25] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 08:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128790061863927808,"km_value":128790061863927.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027184003057631232,"description":"Unknown IO ID 45"} 
[2026-09-06 08:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897868544001,"power":13015,"unknown_198":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9027184003057631232}} 
[2026-09-06 08:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":175000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:30:25] local.INFO: GPS data processed {"connection_id":175000,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:30:25] local.INFO: Acknowledgment sent {"connection_id":175000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:30:29] local.INFO: TCP Data received {"connection_id":175000,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a80eb0012d7d400005d09d10000501631b..."} 
[2026-09-06 08:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a80eb0012d7d400005d09d10000501631b..."} 
[2026-09-06 08:30:29] local.INFO: Processing buffer {"connection_id":175000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a80eb0012d7d400005d09d10000501631b..."} 
[2026-09-06 08:30:29] local.INFO: Packet analysis {"connection_id":175000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a8"} 
[2026-09-06 08:30:29] local.INFO: Extracted packet for processing {"connection_id":175000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a8"} 
[2026-09-06 08:30:29] local.INFO: GPS Element Parsed {"raw_longitude":763183104,"raw_latitude":97557776,"longitude_deg":76.3183104,"latitude_deg":9.7557776,"altitude":5,"angle":355,"satellites":27,"speed":33,"hex_longitude":"2d7d4000","hex_latitude":"05d09d10","is_valid_coordinates":true} 
[2026-09-06 08:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897870592001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128790495655624704,"note":"Value kept but may cause issues"} 
[2026-09-06 08:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209385648128,"note":"Value kept but may cause issues"} 
[2026-09-06 08:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788663566000,"timestamp_ms":1788663566000,"timestamp_seconds":1788663566,"priority":1,"record_length":96,"hex_timestamp":"000001a074a80eb0"} 
[2026-09-06 08:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:30:29] 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-09-06 08:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-06 08:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:30:29] 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-09-06 08:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897870592001,"66":13102,"198":206,"85":15104,"24":33,"16":128790495655624704,"45":9026269209385648128},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 08:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897870592001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:30:29] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 08:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128790495655624704,"km_value":128790495655624.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209385648128,"description":"Unknown IO ID 45"} 
[2026-09-06 08:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897870592001,"power":13102,"unknown_198":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9026269209385648128}} 
[2026-09-06 08:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":175000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:30:29] local.INFO: GPS data processed {"connection_id":175000,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:30:29] local.INFO: Acknowledgment sent {"connection_id":175000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:30:48] local.INFO: TCP Data received {"connection_id":172315,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:30:48] local.INFO: Processing buffer {"connection_id":172315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:30:48] local.INFO: IMEI packet received {"connection_id":172315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":172315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:30:53] local.INFO: TCP Data received {"connection_id":172315,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:30:53] local.INFO: Processing buffer {"connection_id":172315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:30:53] local.INFO: IMEI packet received {"connection_id":172315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":172315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:30:54] local.INFO: TCP Data received {"connection_id":172315,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:30:54] local.INFO: Processing buffer {"connection_id":172315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:30:54] local.INFO: Packet analysis {"connection_id":172315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:30:54] local.INFO: Extracted packet for processing {"connection_id":172315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:30:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897768960001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:30:54] 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-09-06 08:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788663461000,"timestamp_ms":1788663461000,"timestamp_seconds":1788663461,"priority":1,"record_length":96,"hex_timestamp":"000001a074a67488"} 
[2026-09-06 08:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:30: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-09-06 08: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":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:30:54] 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-09-06 08: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-09-06 08:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:30: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-09-06 08:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897768960001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897768960001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:30:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:30:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897768960001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":172315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:30:54] local.INFO: GPS data processed {"connection_id":172315,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:30:54] local.INFO: Acknowledgment sent {"connection_id":172315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:31:02] local.INFO: TCP Data received {"connection_id":172545,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a7e3b8012d18a4000722a718006e015220..."} 
[2026-09-06 08:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a7e3b8012d18a4000722a718006e015220..."} 
[2026-09-06 08:31:02] local.INFO: Processing buffer {"connection_id":172545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a7e3b8012d18a4000722a718006e015220..."} 
[2026-09-06 08:31:02] local.INFO: Packet analysis {"connection_id":172545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a7"} 
[2026-09-06 08:31:02] local.INFO: Extracted packet for processing {"connection_id":172545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a7"} 
[2026-09-06 08:31:02] local.INFO: GPS Element Parsed {"raw_longitude":756589568,"raw_latitude":119711512,"longitude_deg":75.6589568,"latitude_deg":11.9711512,"altitude":110,"angle":338,"satellites":32,"speed":0,"hex_longitude":"2d18a400","hex_latitude":"0722a718","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897864960001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18124903723040768,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775544183736965120,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788663555000,"timestamp_ms":1788663555000,"timestamp_seconds":1788663555,"priority":1,"record_length":96,"hex_timestamp":"000001a074a7e3b8"} 
[2026-09-06 08:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:31:02] 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-09-06 08: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-06 08:31:02] 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-09-06 08: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-09-06 08:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897864960001,"66":12613,"105":206,"83":41984,"24":0,"16":18124903723040768,"45":1775544183736965120},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 08:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897864960001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:31:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 08:31:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18124903723040768,"km_value":18124903723040.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775544183736965120,"description":"Unknown IO ID 45"} 
[2026-09-06 08:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897864960001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1775544183736965120}} 
[2026-09-06 08:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":172545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:31:02] local.INFO: GPS data processed {"connection_id":172545,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:31:02] local.INFO: Acknowledgment sent {"connection_id":172545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:31:12] local.INFO: TCP Data received {"connection_id":173692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:31:12] local.INFO: Processing buffer {"connection_id":173692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:31:12] local.INFO: IMEI packet received {"connection_id":173692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":173692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:31:14] local.INFO: TCP Data received {"connection_id":173692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:31:14] local.INFO: Processing buffer {"connection_id":173692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:31:14] local.INFO: IMEI packet received {"connection_id":173692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":173692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:31:20] local.INFO: TCP Data received {"connection_id":173692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:31:20] local.INFO: Processing buffer {"connection_id":173692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:31:20] local.INFO: IMEI packet received {"connection_id":173692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":173692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:31:21] local.INFO: TCP Data received {"connection_id":173692,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a979f8012d18c300072308580065000b1f..."} 
[2026-09-06 08:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a979f8012d18c300072308580065000b1f..."} 
[2026-09-06 08:31:21] local.INFO: Processing buffer {"connection_id":173692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a979f8012d18c300072308580065000b1f..."} 
[2026-09-06 08:31:21] local.INFO: Packet analysis {"connection_id":173692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a9"} 
[2026-09-06 08:31:21] local.INFO: Extracted packet for processing {"connection_id":173692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a9"} 
[2026-09-06 08:31:21] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119736408,"longitude_deg":75.6597504,"latitude_deg":11.9736408,"altitude":101,"angle":11,"satellites":31,"speed":16,"hex_longitude":"2d18c300","hex_latitude":"07230858","is_valid_coordinates":true} 
[2026-09-06 08:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897896448001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18126226572967936,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784129170532907008,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:21] 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-09-06 08:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788663659000,"timestamp_ms":1788663659000,"timestamp_seconds":1788663659,"priority":1,"record_length":96,"hex_timestamp":"000001a074a979f8"} 
[2026-09-06 08:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:31:21] 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-09-06 08:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-06 08:31: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-09-06 08:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897896448001,"66":14004,"137":206,"83":42752,"24":16,"16":18126226572967936,"45":1784129170532907008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-06 08:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897896448001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:31:21] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-06 08:31:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 08:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18126226572967936,"km_value":18126226572967.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784129170532907008,"description":"Unknown IO ID 45"} 
[2026-09-06 08:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897896448001,"power":14004,"unknown_137":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1784129170532907008}} 
[2026-09-06 08:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":173692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:31:21] local.INFO: GPS data processed {"connection_id":173692,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:31:21] local.INFO: Acknowledgment sent {"connection_id":173692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:31:25] local.INFO: TCP Data received {"connection_id":172315,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:31:25] local.INFO: Processing buffer {"connection_id":172315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:31:25] local.INFO: Packet analysis {"connection_id":172315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:31:25] local.INFO: Extracted packet for processing {"connection_id":172315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:31:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897768960001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:25] 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-09-06 08:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788663461000,"timestamp_ms":1788663461000,"timestamp_seconds":1788663461,"priority":1,"record_length":96,"hex_timestamp":"000001a074a67488"} 
[2026-09-06 08:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:31: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-09-06 08: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":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:31:25] 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-09-06 08: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-09-06 08:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:31: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-09-06 08:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897768960001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897768960001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:31:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:31:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897768960001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":172315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:31:25] local.INFO: GPS data processed {"connection_id":172315,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:31:25] local.INFO: Acknowledgment sent {"connection_id":172315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:31:29] local.INFO: TCP Data received {"connection_id":175000,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a831d8012d7d3e0005d0c028000601651c..."} 
[2026-09-06 08:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a831d8012d7d3e0005d0c028000601651c..."} 
[2026-09-06 08:31:29] local.INFO: Processing buffer {"connection_id":175000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a831d8012d7d3e0005d0c028000601651c..."} 
[2026-09-06 08:31:29] local.INFO: Packet analysis {"connection_id":175000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a8"} 
[2026-09-06 08:31:29] local.INFO: Extracted packet for processing {"connection_id":175000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a8"} 
[2026-09-06 08:31:29] local.INFO: GPS Element Parsed {"raw_longitude":763182592,"raw_latitude":97566760,"longitude_deg":76.3182592,"latitude_deg":9.756676,"altitude":6,"angle":357,"satellites":28,"speed":46,"hex_longitude":"2d7d3e00","hex_latitude":"05d0c028","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897872896001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128790933742288896,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025213678225264640,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788663575000,"timestamp_ms":1788663575000,"timestamp_seconds":1788663575,"priority":1,"record_length":96,"hex_timestamp":"000001a074a831d8"} 
[2026-09-06 08:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:31:29] 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-09-06 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 08:31:29] 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-09-06 08: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-09-06 08:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:31:29] 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-09-06 08:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897872896001,"66":13363,"198":206,"85":15104,"24":46,"16":128790933742288896,"45":9025213678225264640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 08:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897872896001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:31:29] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 08:31:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128790933742288896,"km_value":128790933742288.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025213678225264640,"description":"Unknown IO ID 45"} 
[2026-09-06 08:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897872896001,"power":13363,"unknown_198":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9025213678225264640}} 
[2026-09-06 08:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":175000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:31:29] local.INFO: GPS data processed {"connection_id":175000,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:31:29] local.INFO: Acknowledgment sent {"connection_id":175000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:31:32] local.INFO: TCP Data received {"connection_id":172316,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:31:32] local.INFO: Processing buffer {"connection_id":172316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:31:32] local.INFO: IMEI packet received {"connection_id":172316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":172316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:31:35] local.INFO: TCP Data received {"connection_id":172316,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:31:35] local.INFO: Processing buffer {"connection_id":172316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:31:35] local.INFO: IMEI packet received {"connection_id":172316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":172316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:31:37] local.INFO: TCP Data received {"connection_id":172316,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:31:37] local.INFO: Processing buffer {"connection_id":172316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:31:37] local.INFO: IMEI packet received {"connection_id":172316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":172316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:31:38] local.INFO: TCP Data received {"connection_id":172316,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a96670012d7d2ec005d24b680004000b19..."} 
[2026-09-06 08:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a96670012d7d2ec005d24b680004000b19..."} 
[2026-09-06 08:31:38] local.INFO: Processing buffer {"connection_id":172316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a96670012d7d2ec005d24b680004000b19..."} 
[2026-09-06 08:31:38] local.INFO: Packet analysis {"connection_id":172316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a9"} 
[2026-09-06 08:31:38] local.INFO: Extracted packet for processing {"connection_id":172316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a9"} 
[2026-09-06 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":97667944,"longitude_deg":76.3178688,"latitude_deg":9.7667944,"altitude":4,"angle":11,"satellites":25,"speed":48,"hex_longitude":"2d7d2ec0","hex_latitude":"05d24b68","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897893376001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128795872954679296,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016298274816,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:38] 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-09-06 08:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788663654000,"timestamp_ms":1788663654000,"timestamp_seconds":1788663654,"priority":1,"record_length":96,"hex_timestamp":"000001a074a96670"} 
[2026-09-06 08:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 08:31:38] 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-09-06 08: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-09-06 08:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:31:38] 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-09-06 08:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897893376001,"66":13091,"197":206,"85":15104,"24":48,"16":128795872954679296,"45":9018599016298274816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-06 08:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897893376001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:31:38] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-06 08:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128795872954679296,"km_value":128795872954679.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016298274816,"description":"Unknown IO ID 45"} 
[2026-09-06 08:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897893376001,"power":13091,"unknown_197":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9018599016298274816}} 
[2026-09-06 08:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":172316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:31:38] local.INFO: GPS data processed {"connection_id":172316,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:31:38] local.INFO: Acknowledgment sent {"connection_id":172316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:31:42] local.INFO: TCP Data received {"connection_id":172316,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a985b0012d7d344005d26dc8000400061b..."} 
[2026-09-06 08:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a985b0012d7d344005d26dc8000400061b..."} 
[2026-09-06 08:31:42] local.INFO: Processing buffer {"connection_id":172316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a985b0012d7d344005d26dc8000400061b..."} 
[2026-09-06 08:31:42] local.INFO: Packet analysis {"connection_id":172316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a9"} 
[2026-09-06 08:31:42] local.INFO: Extracted packet for processing {"connection_id":172316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a9"} 
[2026-09-06 08:31:42] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":97676744,"longitude_deg":76.3180096,"latitude_deg":9.7676744,"altitude":4,"angle":6,"satellites":27,"speed":40,"hex_longitude":"2d7d3440","hex_latitude":"05d26dc8","is_valid_coordinates":true} 
[2026-09-06 08:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897895424001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128796306746376192,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358234905208832,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:42] 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-09-06 08:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788663662000,"timestamp_ms":1788663662000,"timestamp_seconds":1788663662,"priority":1,"record_length":96,"hex_timestamp":"000001a074a985b0"} 
[2026-09-06 08:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:31: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-09-06 08:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-06 08:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":172316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":172316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":172316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:31: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-09-06 08:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897895424001,"66":13189,"197":206,"85":15104,"24":40,"16":128796306746376192,"45":9020358234905208832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-06 08:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897895424001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:31:42] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-06 08:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128796306746376192,"km_value":128796306746376.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358234905208832,"description":"Unknown IO ID 45"} 
[2026-09-06 08:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897895424001,"power":13189,"unknown_197":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9020358234905208832}} 
[2026-09-06 08:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":172316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:31:42] local.INFO: GPS data processed {"connection_id":172316,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:31:42] local.INFO: Acknowledgment sent {"connection_id":172316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:31:48] local.INFO: TCP Data received {"connection_id":172546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:31:48] local.INFO: Processing buffer {"connection_id":172546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:31:48] local.INFO: IMEI packet received {"connection_id":172546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":172546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:31:53] local.INFO: TCP Data received {"connection_id":172546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:31:53] local.INFO: Processing buffer {"connection_id":172546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:31:53] local.INFO: IMEI packet received {"connection_id":172546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":172546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:31:54] local.INFO: TCP Data received {"connection_id":172546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:31:54] local.INFO: Processing buffer {"connection_id":172546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:31:54] local.INFO: Packet analysis {"connection_id":172546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:31:54] local.INFO: Extracted packet for processing {"connection_id":172546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:31:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897768960001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:54] 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-09-06 08:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788663461000,"timestamp_ms":1788663461000,"timestamp_seconds":1788663461,"priority":1,"record_length":96,"hex_timestamp":"000001a074a67488"} 
[2026-09-06 08:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:31: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-09-06 08:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:31:54] 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-09-06 08:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:31: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-09-06 08:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897768960001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897768960001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:31:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:31:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897768960001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":172546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:31:54] local.INFO: GPS data processed {"connection_id":172546,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:31:54] local.INFO: Acknowledgment sent {"connection_id":172546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:31:55] local.INFO: TCP Data received {"connection_id":173692,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a97de0012d18c300072309c00065015d1e..."} 
[2026-09-06 08:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a97de0012d18c300072309c00065015d1e..."} 
[2026-09-06 08:31:55] local.INFO: Processing buffer {"connection_id":173692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a97de0012d18c300072309c00065015d1e..."} 
[2026-09-06 08:31:55] local.INFO: Packet analysis {"connection_id":173692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a9"} 
[2026-09-06 08:31:55] local.INFO: Extracted packet for processing {"connection_id":173692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a9"} 
[2026-09-06 08:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119736768,"longitude_deg":75.6597504,"latitude_deg":11.9736768,"altitude":101,"angle":349,"satellites":30,"speed":12,"hex_longitude":"2d18c300","hex_latitude":"072309c0","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897896704001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18126248047804416,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269908021368832,"note":"Value kept but may cause issues"} 
[2026-09-06 08:31:55] 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-09-06 08:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788663660000,"timestamp_ms":1788663660000,"timestamp_seconds":1788663660,"priority":1,"record_length":96,"hex_timestamp":"000001a074a97de0"} 
[2026-09-06 08:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:31:55] 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-09-06 08:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-06 08:31:55] 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-09-06 08: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-09-06 08:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897896704001,"66":14004,"137":206,"83":42752,"24":12,"16":18126248047804416,"45":1784269908021368832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-06 08:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897896704001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:31:55] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-06 08:31:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 08:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18126248047804416,"km_value":18126248047804.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269908021368832,"description":"Unknown IO ID 45"} 
[2026-09-06 08:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897896704001,"power":14004,"unknown_137":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1784269908021368832}} 
[2026-09-06 08:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":173692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:31:55] local.INFO: GPS data processed {"connection_id":173692,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:31:55] local.INFO: Acknowledgment sent {"connection_id":173692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:32:10] local.INFO: TCP Data received {"connection_id":172317,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:32:10] local.INFO: Processing buffer {"connection_id":172317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:32:10] local.INFO: IMEI packet received {"connection_id":172317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":172317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:32:10] local.INFO: TCP Data received {"connection_id":172317,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:32:10] local.INFO: Processing buffer {"connection_id":172317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:32:10] local.INFO: IMEI packet received {"connection_id":172317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":172317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:32:11] local.INFO: TCP Data received {"connection_id":172317,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:32:11] local.INFO: Processing buffer {"connection_id":172317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:32:11] local.INFO: IMEI packet received {"connection_id":172317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":172317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:32:13] local.INFO: TCP Data received {"connection_id":172317,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:32:13] local.INFO: Processing buffer {"connection_id":172317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:32:13] local.INFO: IMEI packet received {"connection_id":172317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":172317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:32:14] local.INFO: TCP Data received {"connection_id":172317,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a98d80012d18c28007230d000063000020..."} 
[2026-09-06 08:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a98d80012d18c28007230d000063000020..."} 
[2026-09-06 08:32:14] local.INFO: Processing buffer {"connection_id":172317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a98d80012d18c28007230d000063000020..."} 
[2026-09-06 08:32:14] local.INFO: Packet analysis {"connection_id":172317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a9"} 
[2026-09-06 08:32:14] local.INFO: Extracted packet for processing {"connection_id":172317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a9"} 
[2026-09-06 08:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756597376,"raw_latitude":119737600,"longitude_deg":75.6597376,"latitude_deg":11.97376,"altitude":99,"angle":0,"satellites":32,"speed":8,"hex_longitude":"2d18c280","hex_latitude":"07230d00","is_valid_coordinates":true} 
[2026-09-06 08:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897896960001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18126286702510080,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269908021460992,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:14] 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-09-06 08:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788663664000,"timestamp_ms":1788663664000,"timestamp_seconds":1788663664,"priority":1,"record_length":96,"hex_timestamp":"000001a074a98d80"} 
[2026-09-06 08:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-06 08:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897896960001,"66":14080,"137":206,"83":42752,"24":8,"16":18126286702510080,"45":1784269908021460992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-06 08:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897896960001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:32:14] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-06 08:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 08:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18126286702510080,"km_value":18126286702510.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269908021460992,"description":"Unknown IO ID 45"} 
[2026-09-06 08:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897896960001,"power":14080,"unknown_137":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1784269908021460992}} 
[2026-09-06 08:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":172317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:32:14] local.INFO: GPS data processed {"connection_id":172317,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:32:14] local.INFO: Acknowledgment sent {"connection_id":172317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:32:15] local.INFO: TCP Data received {"connection_id":172317,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074a9df88012d18c2c007231470006001651d..."} 
[2026-09-06 08:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a9df88012d18c2c007231470006001651d..."} 
[2026-09-06 08:32:15] local.INFO: Processing buffer {"connection_id":172317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a9df88012d18c2c007231470006001651d..."} 
[2026-09-06 08:32:15] local.INFO: Packet analysis {"connection_id":172317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a9"} 
[2026-09-06 08:32:15] local.INFO: Extracted packet for processing {"connection_id":172317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a9"} 
[2026-09-06 08:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119739504,"longitude_deg":75.659744,"latitude_deg":11.9739504,"altitude":96,"angle":357,"satellites":29,"speed":0,"hex_longitude":"2d18c2c0","hex_latitude":"07231470","is_valid_coordinates":true} 
[2026-09-06 08:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897897984001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18126385486757888,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784129170533318656,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:15] 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-09-06 08:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788663685000,"timestamp_ms":1788663685000,"timestamp_seconds":1788663685,"priority":1,"record_length":96,"hex_timestamp":"000001a074a9df88"} 
[2026-09-06 08:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:32:15] 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-09-06 08:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-06 08:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:15] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:15] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2842318849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-09-06 08:32:15] local.WARNING: Large IO value detected {"io_id":98,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:15] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3221693181,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:15] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402075,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:15] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,137,83,24,241,157,16,101,160,125,45,9,30,10,66,121,8,31,118,128,1,240,109,227,116,35,4,113,205,28,98,185,33,239,54,2,64,7,108,43],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-09-06 08:32:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7133701947194343424,"timestamp_seconds":7133701947194343.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897897984001,"66":14102,"137":206,"83":42752,"24":0,"16":18126385486757888,"45":1784129170533318656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-06 08:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897897984001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:32:15] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-06 08:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 08:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18126385486757888,"km_value":18126385486757.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784129170533318656,"description":"Unknown IO ID 45"} 
[2026-09-06 08:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897897984001,"power":14102,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1784129170533318656}} 
[2026-09-06 08:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":172317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:32:15] local.INFO: GPS data processed {"connection_id":172317,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:32:15] local.INFO: Acknowledgment sent {"connection_id":172317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:32:16] local.INFO: TCP Data received {"connection_id":172317,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074aa2da8012d18c2c007231470006001651f..."} 
[2026-09-06 08:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074aa2da8012d18c2c007231470006001651f..."} 
[2026-09-06 08:32:16] local.INFO: Processing buffer {"connection_id":172317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074aa2da8012d18c2c007231470006001651f..."} 
[2026-09-06 08:32:16] local.INFO: Packet analysis {"connection_id":172317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074aa"} 
[2026-09-06 08:32:16] local.INFO: Extracted packet for processing {"connection_id":172317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074aa"} 
[2026-09-06 08:32:16] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119739504,"longitude_deg":75.659744,"latitude_deg":11.9739504,"altitude":96,"angle":357,"satellites":31,"speed":0,"hex_longitude":"2d18c2c0","hex_latitude":"07231470","is_valid_coordinates":true} 
[2026-09-06 08:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897903360001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18126385486757888,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539277983744,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:16] 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-09-06 08:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788663705000,"timestamp_ms":1788663705000,"timestamp_seconds":1788663705,"priority":1,"record_length":96,"hex_timestamp":"000001a074aa2da8"} 
[2026-09-06 08:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:32:16] 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-09-06 08:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-06 08:32:16] 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-09-06 08:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897903360001,"66":14428,"137":206,"83":42752,"24":0,"16":18126385486757888,"45":1784199539277983744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-06 08:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897903360001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:32:16] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-06 08:32:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 08:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18126385486757888,"km_value":18126385486757.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539277983744,"description":"Unknown IO ID 45"} 
[2026-09-06 08:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897903360001,"power":14428,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1784199539277983744}} 
[2026-09-06 08:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":172317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:32:16] local.INFO: GPS data processed {"connection_id":172317,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:32:16] local.INFO: Acknowledgment sent {"connection_id":172317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:32:17] local.INFO: TCP Data received {"connection_id":175002,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:32:17] local.INFO: Processing buffer {"connection_id":175002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:32:17] local.INFO: IMEI packet received {"connection_id":175002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":175002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:32:21] local.INFO: TCP Data received {"connection_id":175002,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:32:21] local.INFO: Processing buffer {"connection_id":175002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:32:21] local.INFO: IMEI packet received {"connection_id":175002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":175002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:32:22] local.INFO: TCP Data received {"connection_id":175002,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:32:22] local.INFO: Processing buffer {"connection_id":175002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:32:22] local.INFO: IMEI packet received {"connection_id":175002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":175002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:32:23] local.INFO: TCP Data received {"connection_id":175002,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a9cc00012d7d368005d28c880005015f1c..."} 
[2026-09-06 08:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a9cc00012d7d368005d28c880005015f1c..."} 
[2026-09-06 08:32:23] local.INFO: Processing buffer {"connection_id":175002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a9cc00012d7d368005d28c880005015f1c..."} 
[2026-09-06 08:32:23] local.INFO: Packet analysis {"connection_id":175002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a9"} 
[2026-09-06 08:32:23] local.INFO: Extracted packet for processing {"connection_id":175002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a9"} 
[2026-09-06 08:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":97684616,"longitude_deg":76.3180672,"latitude_deg":9.7684616,"altitude":5,"angle":351,"satellites":28,"speed":11,"hex_longitude":"2d7d3680","hex_latitude":"05d28c88","is_valid_coordinates":true} 
[2026-09-06 08:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897897472001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128796693293432832,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347279370240,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:23] 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-09-06 08:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788663680000,"timestamp_ms":1788663680000,"timestamp_seconds":1788663680,"priority":1,"record_length":96,"hex_timestamp":"000001a074a9cc00"} 
[2026-09-06 08:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:32:23] 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-09-06 08:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-06 08:32:23] 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-09-06 08:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:32: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-09-06 08:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897897472001,"66":13580,"197":206,"85":15104,"24":11,"16":128796693293432832,"45":9021906347279370240},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-06 08:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897897472001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:32:23] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-06 08:32:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128796693293432832,"km_value":128796693293432.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347279370240,"description":"Unknown IO ID 45"} 
[2026-09-06 08:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897897472001,"power":13580,"unknown_197":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9021906347279370240}} 
[2026-09-06 08:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":175002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:32:23] local.INFO: GPS data processed {"connection_id":175002,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:32:23] local.INFO: Acknowledgment sent {"connection_id":175002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:32:24] local.INFO: TCP Data received {"connection_id":175002,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074a9d3d0012d7d364005d28eb00004014d1c..."} 
[2026-09-06 08:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a9d3d0012d7d364005d28eb00004014d1c..."} 
[2026-09-06 08:32:24] local.INFO: Processing buffer {"connection_id":175002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a9d3d0012d7d364005d28eb00004014d1c..."} 
[2026-09-06 08:32:24] local.INFO: Packet analysis {"connection_id":175002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a9"} 
[2026-09-06 08:32:24] local.INFO: Extracted packet for processing {"connection_id":175002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a9"} 
[2026-09-06 08:32:24] local.INFO: GPS Element Parsed {"raw_longitude":763180608,"raw_latitude":97685168,"longitude_deg":76.3180608,"latitude_deg":9.7685168,"altitude":4,"angle":333,"satellites":28,"speed":12,"hex_longitude":"2d7d3640","hex_latitude":"05d28eb0","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897902080001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128796719063236608,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539665978984448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] 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-09-06 08:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788663682000,"timestamp_ms":1788663682000,"timestamp_seconds":1788663682,"priority":1,"record_length":96,"hex_timestamp":"000001a074a9d3d0"} 
[2026-09-06 08:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:32:24] 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-09-06 08:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630737,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039055896,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6348949750779215882,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3137339392,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2837966849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4274520065,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2009399502,"corrected_to":0} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":8,"raw_value":2952867197,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2447048704,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3518263296,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3422742114650816513,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3675163210224291413,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755575534846193,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:24] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,197,85,24,241,157,16,147,160,133,45,64,109,4,27,10,66,102,192,75,25,71,128,1,240,78,227,146,116,209,113,205,48,8,37,28,239,49,2,201,5,41,125,52,59],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2009399502,"validated":0}]} 
[2026-09-06 08:32:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360674019030794240,"timestamp_seconds":360674019030794.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:32:24] 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-09-06 08:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897902080001,"66":13580,"197":206,"85":15104,"24":12,"16":128796719063236608,"45":9022539665978984448},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-06 08:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897902080001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:32:24] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-06 08:32:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128796719063236608,"km_value":128796719063236.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539665978984448,"description":"Unknown IO ID 45"} 
[2026-09-06 08:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897902080001,"power":13580,"unknown_197":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9022539665978984448}} 
[2026-09-06 08:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":175002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:32:24] local.INFO: GPS data processed {"connection_id":175002,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:32:24] local.INFO: Acknowledgment sent {"connection_id":175002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:32:25] local.INFO: TCP Data received {"connection_id":172546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:32:25] local.INFO: Processing buffer {"connection_id":172546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:32:25] local.INFO: Packet analysis {"connection_id":172546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:32:25] local.INFO: Extracted packet for processing {"connection_id":172546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:32:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897768960001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:25] 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-09-06 08:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788663461000,"timestamp_ms":1788663461000,"timestamp_seconds":1788663461,"priority":1,"record_length":96,"hex_timestamp":"000001a074a67488"} 
[2026-09-06 08:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:32: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-09-06 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:32:25] 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-09-06 08: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-09-06 08:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:32: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-09-06 08:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897768960001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897768960001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:32:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:32:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897768960001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":172546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:32:25] local.INFO: GPS data processed {"connection_id":172546,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:32:25] local.INFO: Acknowledgment sent {"connection_id":172546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:32:47] local.INFO: TCP Data received {"connection_id":172317,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074aa5c88012d18c18007231630006001591d..."} 
[2026-09-06 08:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074aa5c88012d18c18007231630006001591d..."} 
[2026-09-06 08:32:47] local.INFO: Processing buffer {"connection_id":172317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074aa5c88012d18c18007231630006001591d..."} 
[2026-09-06 08:32:47] local.INFO: Packet analysis {"connection_id":172317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074aa"} 
[2026-09-06 08:32:47] local.INFO: Extracted packet for processing {"connection_id":172317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074aa"} 
[2026-09-06 08:32:47] local.INFO: GPS Element Parsed {"raw_longitude":756597120,"raw_latitude":119739952,"longitude_deg":75.659712,"latitude_deg":11.9739952,"altitude":96,"angle":345,"satellites":29,"speed":6,"hex_longitude":"2d18c180","hex_latitude":"07231630","is_valid_coordinates":true} 
[2026-09-06 08:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897908480001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18126411256561664,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539277983744,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:47] 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-09-06 08:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788663717000,"timestamp_ms":1788663717000,"timestamp_seconds":1788663717,"priority":1,"record_length":96,"hex_timestamp":"000001a074aa5c88"} 
[2026-09-06 08:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:32:47] 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-09-06 08:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":172317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":172317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":172317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897908480001,"66":14341,"137":206,"83":42752,"24":6,"16":18126411256561664,"45":1784199539277983744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-06 08:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897908480001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:32:47] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-06 08:32:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 08:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18126411256561664,"km_value":18126411256561.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539277983744,"description":"Unknown IO ID 45"} 
[2026-09-06 08:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897908480001,"power":14341,"unknown_137":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1784199539277983744}} 
[2026-09-06 08:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":172317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:32:47] local.INFO: GPS data processed {"connection_id":172317,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:32:47] local.INFO: Acknowledgment sent {"connection_id":172317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:32:48] local.INFO: TCP Data received {"connection_id":172318,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:32:48] local.INFO: Processing buffer {"connection_id":172318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:32:48] local.INFO: IMEI packet received {"connection_id":172318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":172318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:32:53] local.INFO: TCP Data received {"connection_id":172318,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:32:53] local.INFO: Processing buffer {"connection_id":172318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:32:53] local.INFO: IMEI packet received {"connection_id":172318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":172318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:32:54] local.INFO: TCP Data received {"connection_id":172318,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:32:54] local.INFO: Processing buffer {"connection_id":172318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074a67488012d532d0006497048000601472b..."} 
[2026-09-06 08:32:54] local.INFO: Packet analysis {"connection_id":172318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:32:54] local.INFO: Extracted packet for processing {"connection_id":172318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074a6"} 
[2026-09-06 08:32:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897768960001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:54] 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-09-06 08:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788663461000,"timestamp_ms":1788663461000,"timestamp_seconds":1788663461,"priority":1,"record_length":96,"hex_timestamp":"000001a074a67488"} 
[2026-09-06 08:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:32: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-09-06 08:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-06 08:32:54] 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-09-06 08:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:32: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-09-06 08:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897768960001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897768960001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:32:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:32:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897768960001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":172318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:32:54] local.INFO: GPS data processed {"connection_id":172318,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:32:54] local.INFO: Acknowledgment sent {"connection_id":172318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:32:55] local.INFO: TCP Data received {"connection_id":175002,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074aae928012d7c738005d29e400005012619..."} 
[2026-09-06 08:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074aae928012d7c738005d29e400005012619..."} 
[2026-09-06 08:32:55] local.INFO: Processing buffer {"connection_id":175002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074aae928012d7c738005d29e400005012619..."} 
[2026-09-06 08:32:55] local.INFO: Packet analysis {"connection_id":175002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074aa"} 
[2026-09-06 08:32:55] local.INFO: Extracted packet for processing {"connection_id":175002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074aa"} 
[2026-09-06 08:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763130752,"raw_latitude":97689152,"longitude_deg":76.3130752,"latitude_deg":9.7689152,"altitude":5,"angle":294,"satellites":25,"speed":42,"hex_longitude":"2d7c7380","hex_latitude":"05d29e40","is_valid_coordinates":true} 
[2026-09-06 08:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897918208001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128799180079497216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976448138542678016,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:55] 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-09-06 08:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788663753000,"timestamp_ms":1788663753000,"timestamp_seconds":1788663753,"priority":1,"record_length":96,"hex_timestamp":"000001a074aae928"} 
[2026-09-06 08:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-06 08:32:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:55] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2858190849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:55] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-7921831727346476032,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792685774,"corrected_to":0} 
[2026-09-06 08:32:55] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2415996285,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:55] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2492203008,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3532787712,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:55] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57885391680591163,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:55] local.WARNING: Large IO value detected {"io_id":169,"raw_value":-1776668758112239611,"note":"Value kept but may cause issues"} 
[2026-09-06 08:32:55] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,117,85,24,241,157,16,149,160,186,45,128,140,3,25,10,66,174,192,4,147,64,1,240,227,116,210,113,205,49,8,26,239,52,2,201,5,6,22,12,169],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2792685774,"validated":0}]} 
[2026-09-06 08:32:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216492847373221888,"timestamp_seconds":216492847373221.88,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:32:55] 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-09-06 08:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897918208001,"66":13580,"117":206,"85":15104,"24":42,"16":128799180079497216,"45":8976448138542678016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 08:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897918208001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:32:55] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 08:32:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128799180079497216,"km_value":128799180079497.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976448138542678016,"description":"Unknown IO ID 45"} 
[2026-09-06 08:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897918208001,"power":13580,"unknown_117":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8976448138542678016}} 
[2026-09-06 08:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":175002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:32:55] local.INFO: GPS data processed {"connection_id":175002,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:32:55] local.INFO: Acknowledgment sent {"connection_id":175002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:33:10] local.INFO: TCP Data received {"connection_id":172547,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:33:10] local.INFO: Processing buffer {"connection_id":172547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:33:10] local.INFO: IMEI packet received {"connection_id":172547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":172547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:33:15] local.INFO: TCP Data received {"connection_id":172547,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:33:15] local.INFO: Processing buffer {"connection_id":172547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:33:15] local.INFO: IMEI packet received {"connection_id":172547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":172547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:33:15] local.INFO: TCP Data received {"connection_id":172547,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074aae158012d18ba0007234408005f001220..."} 
[2026-09-06 08:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074aae158012d18ba0007234408005f001220..."} 
[2026-09-06 08:33:15] local.INFO: Processing buffer {"connection_id":172547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074aae158012d18ba0007234408005f001220..."} 
[2026-09-06 08:33:15] local.INFO: Packet analysis {"connection_id":172547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074aa"} 
[2026-09-06 08:33:15] local.INFO: Extracted packet for processing {"connection_id":172547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074aa"} 
[2026-09-06 08:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756595200,"raw_latitude":119751688,"longitude_deg":75.65952,"latitude_deg":11.9751688,"altitude":95,"angle":18,"satellites":32,"speed":19,"hex_longitude":"2d18ba00","hex_latitude":"07234408","is_valid_coordinates":true} 
[2026-09-06 08:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897918464001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18127141401001984,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780258889606477824,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:15] 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-09-06 08:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788663751000,"timestamp_ms":1788663751000,"timestamp_seconds":1788663751,"priority":1,"record_length":96,"hex_timestamp":"000001a074aae158"} 
[2026-09-06 08:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-06 08:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897918464001,"66":14428,"137":206,"83":42752,"24":19,"16":18127141401001984,"45":1780258889606477824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-06 08:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897918464001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:33:15] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-06 08:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 08:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18127141401001984,"km_value":18127141401001.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780258889606477824,"description":"Unknown IO ID 45"} 
[2026-09-06 08:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897918464001,"power":14428,"unknown_137":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1780258889606477824}} 
[2026-09-06 08:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":172547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:33:16] local.INFO: GPS data processed {"connection_id":172547,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:33:16] local.INFO: Acknowledgment sent {"connection_id":172547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:33:20] local.INFO: TCP Data received {"connection_id":172319,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:33:20] local.INFO: Processing buffer {"connection_id":172319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:33:20] local.INFO: IMEI packet received {"connection_id":172319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":172319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:33:25] local.INFO: TCP Data received {"connection_id":172318,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:33:25] local.INFO: Processing buffer {"connection_id":172318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:33:25] local.INFO: Packet analysis {"connection_id":172318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:33:25] local.INFO: Extracted packet for processing {"connection_id":172318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:33:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897846016001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:25] 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-09-06 08:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788663762000,"timestamp_ms":1788663762000,"timestamp_seconds":1788663762,"priority":1,"record_length":96,"hex_timestamp":"000001a074ab0c50"} 
[2026-09-06 08:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08: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-09-06 08: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:33: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-09-06 08:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897846016001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897846016001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:33:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:33:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897846016001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":172318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:33:25] local.INFO: GPS data processed {"connection_id":172318,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:33:25] local.INFO: Acknowledgment sent {"connection_id":172318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:33:32] local.INFO: TCP Data received {"connection_id":172319,"ip":"42.109.136.3","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-06 08:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172319,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-06 08:33:32] local.INFO: Processing buffer {"connection_id":172319,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-06 08:33:32] local.INFO: IMEI packet received {"connection_id":172319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":172319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:33:33] local.INFO: TCP Data received {"connection_id":172319,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074aaf0f8012d7c6b4005d2a0d80005011b1a..."} 
[2026-09-06 08:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074aaf0f8012d7c6b4005d2a0d80005011b1a..."} 
[2026-09-06 08:33:33] local.INFO: Processing buffer {"connection_id":172319,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a074..."} 
[2026-09-06 08:33:33] local.INFO: IMEI packet received {"connection_id":172319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":172319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:33:35] local.INFO: TCP Data received {"connection_id":172319,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074ab1420012d7c484005d2a468000301111b..."} 
[2026-09-06 08:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ab1420012d7c484005d2a468000301111b..."} 
[2026-09-06 08:33:35] local.INFO: Processing buffer {"connection_id":172319,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a074aaf0f8012d7c6b4005d2a0d80005011b1a..."} 
[2026-09-06 08:33:35] local.INFO: Packet analysis {"connection_id":172319,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a074aa"} 
[2026-09-06 08:33:35] local.INFO: Extracted packet for processing {"connection_id":172319,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074aa"} 
[2026-09-06 08:33:35] local.INFO: GPS Element Parsed {"raw_longitude":763128640,"raw_latitude":97689816,"longitude_deg":76.312864,"latitude_deg":9.7689816,"altitude":5,"angle":283,"satellites":26,"speed":42,"hex_longitude":"2d7c6b40","hex_latitude":"05d2a0d8","is_valid_coordinates":true} 
[2026-09-06 08:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897920768001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128799283158712320,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967652045521567744,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] 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-09-06 08:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788663755000,"timestamp_ms":1788663755000,"timestamp_seconds":1788663755,"priority":1,"record_length":96,"hex_timestamp":"000001a074aaf0f8"} 
[2026-09-06 08:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:33: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-09-06 08:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630740,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":149,"raw_value":2650800128,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":728457334216458250,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2861774849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2393899010,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634926807950965,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792685774,"corrected_to":0} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":92,"raw_value":2281778556,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917243266387541,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2499018752,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3532785664,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2594079787317198854,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755493930467569,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,117,85,24,241,157,16,150,160,194,45,192,141,3,25,10,66,149,186,128,140,174,1,240,227,116,210,4,113,205,33,92,220,120,27,239,53,2,201,5,7,35,125,59],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2792685774,"validated":0}]} 
[2026-09-06 08:33:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360611333985140736,"timestamp_seconds":360611333985140.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:33:35] 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-09-06 08:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897920768001,"66":13363,"117":206,"85":15104,"24":42,"16":128799283158712320,"45":8967652045521567744},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 08:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897920768001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:33:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 08:33:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128799283158712320,"km_value":128799283158712.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967652045521567744,"description":"Unknown IO ID 45"} 
[2026-09-06 08:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897920768001,"power":13363,"unknown_117":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8967652045521567744}} 
[2026-09-06 08:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":172319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:33:35] local.INFO: GPS data processed {"connection_id":172319,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:33:35] local.INFO: Acknowledgment sent {"connection_id":172319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:33:35] local.INFO: Packet analysis {"connection_id":172319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:33:35] local.INFO: Extracted packet for processing {"connection_id":172319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:33:35] local.INFO: GPS Element Parsed {"raw_longitude":763119680,"raw_latitude":97690728,"longitude_deg":76.311968,"latitude_deg":9.7690728,"altitude":3,"angle":273,"satellites":27,"speed":33,"hex_longitude":"2d7c4840","hex_latitude":"05d2a468","is_valid_coordinates":true} 
[2026-09-06 08:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897921280001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128799712655441920,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965329876963874816,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:35] 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-09-06 08:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788663764000,"timestamp_ms":1788663764000,"timestamp_seconds":1788663764,"priority":1,"record_length":96,"hex_timestamp":"000001a074ab1420"} 
[2026-09-06 08:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:33: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-09-06 08:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-06 08:33:35] 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-09-06 08:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:33:35] 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-09-06 08:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897921280001,"66":13374,"117":206,"85":15104,"24":33,"16":128799712655441920,"45":8965329876963874816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 08:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897921280001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:33:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 08:33:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128799712655441920,"km_value":128799712655441.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965329876963874816,"description":"Unknown IO ID 45"} 
[2026-09-06 08:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897921280001,"power":13374,"unknown_117":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8965329876963874816}} 
[2026-09-06 08:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":172319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:33:36] local.INFO: GPS data processed {"connection_id":172319,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:33:36] local.INFO: Acknowledgment sent {"connection_id":172319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:33:36] local.INFO: TCP Data received {"connection_id":172319,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074ab6240012d7c29c005d2a6d8000701111b..."} 
[2026-09-06 08:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ab6240012d7c29c005d2a6d8000701111b..."} 
[2026-09-06 08:33:36] local.INFO: Processing buffer {"connection_id":172319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ab6240012d7c29c005d2a6d8000701111b..."} 
[2026-09-06 08:33:36] local.INFO: Packet analysis {"connection_id":172319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:33:36] local.INFO: Extracted packet for processing {"connection_id":172319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:33:36] local.INFO: GPS Element Parsed {"raw_longitude":763111872,"raw_latitude":97691352,"longitude_deg":76.3111872,"latitude_deg":9.7691352,"altitude":7,"angle":273,"satellites":27,"speed":10,"hex_longitude":"2d7c29c0","hex_latitude":"05d2a6d8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897923584001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128800086317596672,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955478252779235328,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:36] 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-09-06 08:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788663784000,"timestamp_ms":1788663784000,"timestamp_seconds":1788663784,"priority":1,"record_length":96,"hex_timestamp":"000001a074ab6240"} 
[2026-09-06 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-09-06 08:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-06 08:33:36] 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-09-06 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-09-06 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-09-06 08:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:33:36] 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-09-06 08:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897923584001,"66":13352,"117":206,"85":15104,"24":10,"16":128800086317596672,"45":8955478252779235328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 08:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897923584001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:33:36] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 08:33:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128800086317596672,"km_value":128800086317596.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955478252779235328,"description":"Unknown IO ID 45"} 
[2026-09-06 08:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897923584001,"power":13352,"unknown_117":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8955478252779235328}} 
[2026-09-06 08:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":172319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:33:36] local.INFO: GPS data processed {"connection_id":172319,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:33:36] local.INFO: Acknowledgment sent {"connection_id":172319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:33:51] local.INFO: TCP Data received {"connection_id":172547,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ab27a8012d18cac0072367e8006200201e..."} 
[2026-09-06 08:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ab27a8012d18cac0072367e8006200201e..."} 
[2026-09-06 08:33:51] local.INFO: Processing buffer {"connection_id":172547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ab27a8012d18cac0072367e8006200201e..."} 
[2026-09-06 08:33:51] local.INFO: Packet analysis {"connection_id":172547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:33:51] local.INFO: Extracted packet for processing {"connection_id":172547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756599488,"raw_latitude":119760872,"longitude_deg":75.6599488,"latitude_deg":11.9760872,"altitude":98,"angle":32,"satellites":30,"speed":23,"hex_longitude":"2d18cac0","hex_latitude":"072367e8","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897920256001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18127326084595712,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781736633234884608,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:51] 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-09-06 08:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788663769000,"timestamp_ms":1788663769000,"timestamp_seconds":1788663769,"priority":1,"record_length":96,"hex_timestamp":"000001a074ab27a8"} 
[2026-09-06 08:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:33:51] 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-09-06 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897920256001,"66":14363,"137":206,"83":42752,"24":23,"16":18127326084595712,"45":1781736633234884608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-06 08:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897920256001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:33:51] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-06 08:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 08:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18127326084595712,"km_value":18127326084595.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781736633234884608,"description":"Unknown IO ID 45"} 
[2026-09-06 08:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897920256001,"power":14363,"unknown_137":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1781736633234884608}} 
[2026-09-06 08:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":172547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:33:51] local.INFO: GPS data processed {"connection_id":172547,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:33:51] local.INFO: Acknowledgment sent {"connection_id":172547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:33:53] local.INFO: TCP Data received {"connection_id":175003,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:33:53] local.INFO: Processing buffer {"connection_id":175003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:33:53] local.INFO: IMEI packet received {"connection_id":175003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":175003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:33:58] local.INFO: TCP Data received {"connection_id":175003,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:33:58] local.INFO: Processing buffer {"connection_id":175003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:33:58] local.INFO: IMEI packet received {"connection_id":175003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":175003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:33:59] local.INFO: TCP Data received {"connection_id":175003,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:33:59] local.INFO: Processing buffer {"connection_id":175003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:33:59] local.INFO: Packet analysis {"connection_id":175003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:33:59] local.INFO: Extracted packet for processing {"connection_id":175003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:33:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897846016001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:33:59] 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-09-06 08:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788663762000,"timestamp_ms":1788663762000,"timestamp_seconds":1788663762,"priority":1,"record_length":96,"hex_timestamp":"000001a074ab0c50"} 
[2026-09-06 08:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:33: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-09-06 08:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897846016001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897846016001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:33:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:33:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897846016001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":175003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:33:59] local.INFO: GPS data processed {"connection_id":175003,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:33:59] local.INFO: Acknowledgment sent {"connection_id":175003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:34:18] local.INFO: TCP Data received {"connection_id":173695,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:34:18] local.INFO: Processing buffer {"connection_id":173695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:34:18] local.INFO: IMEI packet received {"connection_id":173695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":173695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:34:19] local.INFO: TCP Data received {"connection_id":173696,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:34:19] local.INFO: Processing buffer {"connection_id":173696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:34:19] local.INFO: IMEI packet received {"connection_id":173696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":173696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:34:21] local.INFO: TCP Data received {"connection_id":173695,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:34:21] local.INFO: Processing buffer {"connection_id":173695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:34:21] local.INFO: IMEI packet received {"connection_id":173695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":173695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:34:23] local.INFO: TCP Data received {"connection_id":173695,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074ab98f0012d7c04c005d2a790000b01101a..."} 
[2026-09-06 08:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ab98f0012d7c04c005d2a790000b01101a..."} 
[2026-09-06 08:34:23] local.INFO: Processing buffer {"connection_id":173695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ab98f0012d7c04c005d2a790000b01101a..."} 
[2026-09-06 08:34:23] local.INFO: Packet analysis {"connection_id":173695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:34:23] local.INFO: Extracted packet for processing {"connection_id":173695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:34:23] local.INFO: GPS Element Parsed {"raw_longitude":763102400,"raw_latitude":97691536,"longitude_deg":76.31024,"latitude_deg":9.7691536,"altitude":11,"angle":272,"satellites":26,"speed":34,"hex_longitude":"2d7c04c0","hex_latitude":"05d2a790","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897928704001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128800541584130048,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946893265989720064,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34: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-09-06 08:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788663798000,"timestamp_ms":1788663798000,"timestamp_seconds":1788663798,"priority":1,"record_length":96,"hex_timestamp":"000001a074ab98f0"} 
[2026-09-06 08:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-06 08:34:23] 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-09-06 08: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-09-06 08:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:34: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-09-06 08:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897928704001,"66":12461,"117":206,"85":15104,"24":34,"16":128800541584130048,"45":8946893265989720064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 08:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897928704001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:34:23] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 08:34:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128800541584130048,"km_value":128800541584130.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946893265989720064,"description":"Unknown IO ID 45"} 
[2026-09-06 08:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897928704001,"power":12461,"unknown_117":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8946893265989720064}} 
[2026-09-06 08:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":173695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:34:23] local.INFO: GPS data processed {"connection_id":173695,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:34:23] local.INFO: Acknowledgment sent {"connection_id":173695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:34:25] local.INFO: TCP Data received {"connection_id":173696,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:34:25] local.INFO: Processing buffer {"connection_id":173696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:34:25] local.INFO: IMEI packet received {"connection_id":173696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":173696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:34:25] local.INFO: TCP Data received {"connection_id":173696,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ab6628012d18e18007238580005f001a21..."} 
[2026-09-06 08:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ab6628012d18e18007238580005f001a21..."} 
[2026-09-06 08:34:25] local.INFO: Processing buffer {"connection_id":173696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ab6628012d18e18007238580005f001a21..."} 
[2026-09-06 08:34:25] local.INFO: Packet analysis {"connection_id":173696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:34:25] local.INFO: Extracted packet for processing {"connection_id":173696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:34:25] local.INFO: GPS Element Parsed {"raw_longitude":756605312,"raw_latitude":119768448,"longitude_deg":75.6605312,"latitude_deg":11.9768448,"altitude":95,"angle":26,"satellites":33,"speed":27,"hex_longitude":"2d18e180","hex_latitude":"07238580","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897924864001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18127785646096384,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786451339097139200,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:25] 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-09-06 08:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788663785000,"timestamp_ms":1788663785000,"timestamp_seconds":1788663785,"priority":1,"record_length":96,"hex_timestamp":"000001a074ab6628"} 
[2026-09-06 08:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:34:25] 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-09-06 08:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-06 08:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897924864001,"66":14080,"137":206,"83":42752,"24":27,"16":18127785646096384,"45":1786451339097139200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-06 08:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897924864001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:34:25] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-06 08:34:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 08:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18127785646096384,"km_value":18127785646096.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786451339097139200,"description":"Unknown IO ID 45"} 
[2026-09-06 08:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897924864001,"power":14080,"unknown_137":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1786451339097139200}} 
[2026-09-06 08:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":173696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:34:25] local.INFO: GPS data processed {"connection_id":173696,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:34:25] local.INFO: Acknowledgment sent {"connection_id":173696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:34:30] local.INFO: TCP Data received {"connection_id":175003,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:34:30] local.INFO: Processing buffer {"connection_id":175003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:34:30] local.INFO: Packet analysis {"connection_id":175003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:34:30] local.INFO: Extracted packet for processing {"connection_id":175003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:34:30] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897846016001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:30] 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-09-06 08:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788663762000,"timestamp_ms":1788663762000,"timestamp_seconds":1788663762,"priority":1,"record_length":96,"hex_timestamp":"000001a074ab0c50"} 
[2026-09-06 08:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897846016001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897846016001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:34:30] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:34:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897846016001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":175003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:34:30] local.INFO: GPS data processed {"connection_id":175003,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:34:30] local.INFO: Acknowledgment sent {"connection_id":175003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:34:48] local.INFO: TCP Data received {"connection_id":172549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:34:48] local.INFO: Processing buffer {"connection_id":172549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:34:48] local.INFO: IMEI packet received {"connection_id":172549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":172549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:34:53] local.INFO: TCP Data received {"connection_id":172549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:34:53] local.INFO: Processing buffer {"connection_id":172549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:34:53] local.INFO: IMEI packet received {"connection_id":172549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":172549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:34:54] local.INFO: TCP Data received {"connection_id":173695,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074acc1d0012d7b930005d34ac8000201241c..."} 
[2026-09-06 08:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074acc1d0012d7b930005d34ac8000201241c..."} 
[2026-09-06 08:34:54] local.INFO: Processing buffer {"connection_id":173695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074acc1d0012d7b930005d34ac8000201241c..."} 
[2026-09-06 08:34:54] local.INFO: Packet analysis {"connection_id":173695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ac"} 
[2026-09-06 08:34:54] local.INFO: Extracted packet for processing {"connection_id":173695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ac"} 
[2026-09-06 08:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763073280,"raw_latitude":97733320,"longitude_deg":76.307328,"latitude_deg":9.773332,"altitude":2,"angle":292,"satellites":28,"speed":38,"hex_longitude":"2d7b9300","hex_latitude":"05d34ac8","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897950976001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128803479341760512,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907416400516448256,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:54] 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-09-06 08:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788663874000,"timestamp_ms":1788663874000,"timestamp_seconds":1788663874,"priority":1,"record_length":96,"hex_timestamp":"000001a074acc1d0"} 
[2026-09-06 08:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-06 08:34:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:54] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:54] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2895310849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1673199822,"corrected_to":0} 
[2026-09-06 08:34:54] local.WARNING: Large IO value detected {"io_id":168,"raw_value":3221607196,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:54] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926179,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:54] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2574450688,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3539533824,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:54] local.WARNING: Large IO value detected {"io_id":149,"raw_value":57812025049240891,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:54] local.WARNING: Large IO value detected {"io_id":172,"raw_value":4395514531174481925,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:54] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-1855483029273634304,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:54] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,189,85,24,241,157,16,153,160,174,45,192,65,1,28,10,66,166,59,27,162,128,240,51,227,116,211,4,113,205,42,135,168,232,26,239,52,187,2,201,5,149,172,210],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1673199822,"validated":0}]} 
[2026-09-06 08:34:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72391965834346496,"timestamp_seconds":72391965834346.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:34:54] 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-09-06 08:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897950976001,"66":13319,"189":206,"85":15104,"24":38,"16":128803479341760512,"45":8907416400516448256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-09-06 08:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897950976001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:34:54] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-06 08:34:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128803479341760512,"km_value":128803479341760.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907416400516448256,"description":"Unknown IO ID 45"} 
[2026-09-06 08:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897950976001,"power":13319,"unknown_189":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8907416400516448256}} 
[2026-09-06 08:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":173695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:34:54] local.INFO: GPS data processed {"connection_id":173695,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:34:54] local.INFO: Acknowledgment sent {"connection_id":173695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:34:54] local.INFO: TCP Data received {"connection_id":172549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:34:54] local.INFO: Processing buffer {"connection_id":172549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:34:54] local.INFO: Packet analysis {"connection_id":172549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:34:54] local.INFO: Extracted packet for processing {"connection_id":172549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:34:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897846016001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:34:54] 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-09-06 08:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788663762000,"timestamp_ms":1788663762000,"timestamp_seconds":1788663762,"priority":1,"record_length":96,"hex_timestamp":"000001a074ab0c50"} 
[2026-09-06 08:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:34: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-09-06 08: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":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08: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-09-06 08:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897846016001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897846016001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:34:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:34:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897846016001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":172549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:34:54] local.INFO: GPS data processed {"connection_id":172549,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:34:54] local.INFO: Acknowledgment sent {"connection_id":172549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:35:10] local.INFO: TCP Data received {"connection_id":172550,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:35:10] local.INFO: Processing buffer {"connection_id":172550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:35:10] local.INFO: IMEI packet received {"connection_id":172550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":172550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:35:15] local.INFO: TCP Data received {"connection_id":172550,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:35:15] local.INFO: Processing buffer {"connection_id":172550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:35:15] local.INFO: IMEI packet received {"connection_id":172550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":172550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:35:15] local.INFO: TCP Data received {"connection_id":172550,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074acbde8012d19234007241e20005a000b21..."} 
[2026-09-06 08:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074acbde8012d19234007241e20005a000b21..."} 
[2026-09-06 08:35:15] local.INFO: Processing buffer {"connection_id":172550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074acbde8012d19234007241e20005a000b21..."} 
[2026-09-06 08:35:15] local.INFO: Packet analysis {"connection_id":172550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ac"} 
[2026-09-06 08:35:15] local.INFO: Extracted packet for processing {"connection_id":172550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ac"} 
[2026-09-06 08:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756622144,"raw_latitude":119807520,"longitude_deg":75.6622144,"latitude_deg":11.980752,"altitude":90,"angle":11,"satellites":33,"speed":19,"hex_longitude":"2d192340","hex_latitude":"07241e20","is_valid_coordinates":true} 
[2026-09-06 08:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897950976001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18129903064973312,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811080399571009536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:15] 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-09-06 08:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788663873000,"timestamp_ms":1788663873000,"timestamp_seconds":1788663873,"priority":1,"record_length":96,"hex_timestamp":"000001a074acbde8"} 
[2026-09-06 08:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-06 08:35:15] 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-09-06 08:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897950976001,"66":14070,"186":206,"83":42752,"24":19,"16":18129903064973312,"45":1811080399571009536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-06 08:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897950976001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:35:15] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 08:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 08:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18129903064973312,"km_value":18129903064973.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811080399571009536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897950976001,"power":14070,"unknown_186":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1811080399571009536}} 
[2026-09-06 08:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":172550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:35:15] local.INFO: GPS data processed {"connection_id":172550,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:35:15] local.INFO: Acknowledgment sent {"connection_id":172550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:35:17] local.INFO: TCP Data received {"connection_id":175004,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:35:17] local.INFO: Processing buffer {"connection_id":175004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:35:17] local.INFO: IMEI packet received {"connection_id":175004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":175004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:35:19] local.INFO: TCP Data received {"connection_id":175004,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:35:19] local.INFO: Processing buffer {"connection_id":175004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:35:19] local.INFO: IMEI packet received {"connection_id":175004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":175004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:35:22] local.INFO: TCP Data received {"connection_id":175004,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:35:22] local.INFO: Processing buffer {"connection_id":175004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:35:22] local.INFO: IMEI packet received {"connection_id":175004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":175004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:35:22] local.INFO: TCP Data received {"connection_id":175004,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074acdd28012d7b788005d35798000401331b..."} 
[2026-09-06 08:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074acdd28012d7b788005d35798000401331b..."} 
[2026-09-06 08:35:22] local.INFO: Processing buffer {"connection_id":175004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074acdd28012d7b788005d35798000401331b..."} 
[2026-09-06 08:35:22] local.INFO: Packet analysis {"connection_id":175004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ac"} 
[2026-09-06 08:35:22] local.INFO: Extracted packet for processing {"connection_id":175004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ac"} 
[2026-09-06 08:35:22] local.INFO: GPS Element Parsed {"raw_longitude":763066496,"raw_latitude":97736600,"longitude_deg":76.3066496,"latitude_deg":9.77366,"altitude":4,"angle":307,"satellites":27,"speed":38,"hex_longitude":"2d7b7880","hex_latitude":"05d35798","is_valid_coordinates":true} 
[2026-09-06 08:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897951744001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128803844413980672,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904460913261332480,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:22] 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-09-06 08:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788663881000,"timestamp_ms":1788663881000,"timestamp_seconds":1788663881,"priority":1,"record_length":96,"hex_timestamp":"000001a074acdd28"} 
[2026-09-06 08:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-06 08:35:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:22] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:22] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2896334849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1673330894,"corrected_to":0} 
[2026-09-06 08:35:22] local.WARNING: Large IO value detected {"io_id":146,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:22] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2147865385,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:22] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2576875520,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3541886976,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:22] local.WARNING: Large IO value detected {"io_id":225,"raw_value":57812025049240891,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:22] local.WARNING: Large IO value detected {"io_id":172,"raw_value":6365839368148811781,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:22] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-504403153948238848,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:22] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,189,85,24,241,157,16,154,160,182,45,128,69,1,28,10,66,153,174,192,65,166,240,248,227,116,211,4,113,205,33,146,167,144,27,239,51,187,2,201,5,43,225,172,210],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1673330894,"validated":0}]} 
[2026-09-06 08:35:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144436365732741120,"timestamp_seconds":144436365732741.12,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:35: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-09-06 08:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897951744001,"66":13135,"189":206,"85":15104,"24":38,"16":128803844413980672,"45":8904460913261332480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-09-06 08:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897951744001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:35:22] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-06 08:35:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128803844413980672,"km_value":128803844413980.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904460913261332480,"description":"Unknown IO ID 45"} 
[2026-09-06 08:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897951744001,"power":13135,"unknown_189":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8904460913261332480}} 
[2026-09-06 08:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":175004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:35:22] local.INFO: GPS data processed {"connection_id":175004,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:35:22] local.INFO: Acknowledgment sent {"connection_id":175004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:35:25] local.INFO: TCP Data received {"connection_id":172549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:35:25] local.INFO: Processing buffer {"connection_id":172549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:35:25] local.INFO: Packet analysis {"connection_id":172549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:35:25] local.INFO: Extracted packet for processing {"connection_id":172549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:35:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897846016001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:25] 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-09-06 08:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788663762000,"timestamp_ms":1788663762000,"timestamp_seconds":1788663762,"priority":1,"record_length":96,"hex_timestamp":"000001a074ab0c50"} 
[2026-09-06 08:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08: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":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08: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-09-06 08:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897846016001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897846016001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:35:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:35:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897846016001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":172549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:35:25] local.INFO: GPS data processed {"connection_id":172549,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:35:25] local.INFO: Acknowledgment sent {"connection_id":172549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:35:42] local.INFO: TCP Data received {"connection_id":172320,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:35:42] local.INFO: Processing buffer {"connection_id":172320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:35:42] local.INFO: IMEI packet received {"connection_id":172320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 08:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":172320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:35:47] local.INFO: TCP Data received {"connection_id":172550,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ad8cf0012d191600072459b80045012221..."} 
[2026-09-06 08:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ad8cf0012d191600072459b80045012221..."} 
[2026-09-06 08:35:47] local.INFO: Processing buffer {"connection_id":172550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ad8cf0012d191600072459b80045012221..."} 
[2026-09-06 08:35:47] local.INFO: Packet analysis {"connection_id":172550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ad"} 
[2026-09-06 08:35:47] local.INFO: Extracted packet for processing {"connection_id":172550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ad"} 
[2026-09-06 08:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756618752,"raw_latitude":119822776,"longitude_deg":75.6618752,"latitude_deg":11.9822776,"altitude":69,"angle":290,"satellites":33,"speed":7,"hex_longitude":"2d191600","hex_latitude":"072459b8","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897964800001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18130912382287872,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807773068598794240,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:47] 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-09-06 08:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788663926000,"timestamp_ms":1788663926000,"timestamp_seconds":1788663926,"priority":1,"record_length":96,"hex_timestamp":"000001a074ad8cf0"} 
[2026-09-06 08:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:35:47] 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-09-06 08: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-06 08:35:47] 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-09-06 08: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-09-06 08:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":172550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":172550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":172550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897964800001,"66":13993,"186":206,"83":42752,"24":7,"16":18130912382287872,"45":1807773068598794240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-06 08:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897964800001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:35:47] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 08:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 08:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18130912382287872,"km_value":18130912382287.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807773068598794240,"description":"Unknown IO ID 45"} 
[2026-09-06 08:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897964800001,"power":13993,"unknown_186":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1807773068598794240}} 
[2026-09-06 08:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":172550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:35:47] local.INFO: GPS data processed {"connection_id":172550,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:35:47] local.INFO: Acknowledgment sent {"connection_id":172550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:35:48] local.INFO: TCP Data received {"connection_id":175005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:35:48] local.INFO: Processing buffer {"connection_id":175005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:35:48] local.INFO: IMEI packet received {"connection_id":175005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":175005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:35:53] local.INFO: TCP Data received {"connection_id":175005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:35:53] local.INFO: Processing buffer {"connection_id":175005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:35:53] local.INFO: IMEI packet received {"connection_id":175005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":175005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:35:54] local.INFO: TCP Data received {"connection_id":175005,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:35:54] local.INFO: Processing buffer {"connection_id":175005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:35:54] local.INFO: Packet analysis {"connection_id":175005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:35:54] local.INFO: Extracted packet for processing {"connection_id":175005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:35:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897846016001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:54] 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-09-06 08:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788663762000,"timestamp_ms":1788663762000,"timestamp_seconds":1788663762,"priority":1,"record_length":96,"hex_timestamp":"000001a074ab0c50"} 
[2026-09-06 08:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:35: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-09-06 08: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:35: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-09-06 08:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897846016001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897846016001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:35:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:35:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897846016001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":175005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:35:54] local.INFO: GPS data processed {"connection_id":175005,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:35:54] local.INFO: Acknowledgment sent {"connection_id":175005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:35:54] local.INFO: TCP Data received {"connection_id":175004,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074ace4f8012d7b730005d35ce00003013e1b..."} 
[2026-09-06 08:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ace4f8012d7b730005d35ce00003013e1b..."} 
[2026-09-06 08:35:54] local.INFO: Processing buffer {"connection_id":175004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ace4f8012d7b730005d35ce00003013e1b..."} 
[2026-09-06 08:35:54] local.INFO: Packet analysis {"connection_id":175004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ac"} 
[2026-09-06 08:35:54] local.INFO: Extracted packet for processing {"connection_id":175004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ac"} 
[2026-09-06 08:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763065088,"raw_latitude":97737952,"longitude_deg":76.3065088,"latitude_deg":9.7737952,"altitude":3,"angle":318,"satellites":27,"speed":35,"hex_longitude":"2d7b7300","hex_latitude":"05d35ce0","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897953536001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128803934608293888,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897001826379339776,"note":"Value kept but may cause issues"} 
[2026-09-06 08:35:54] 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-09-06 08:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788663883000,"timestamp_ms":1788663883000,"timestamp_seconds":1788663883,"priority":1,"record_length":96,"hex_timestamp":"000001a074ace4f8"} 
[2026-09-06 08:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 08:35:54] 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-09-06 08: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-09-06 08:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:35:54] 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-09-06 08:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897953536001,"66":13396,"189":206,"85":15104,"24":35,"16":128803934608293888,"45":8897001826379339776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-09-06 08:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897953536001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:35:54] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-06 08:35:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128803934608293888,"km_value":128803934608293.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897001826379339776,"description":"Unknown IO ID 45"} 
[2026-09-06 08:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897953536001,"power":13396,"unknown_189":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8897001826379339776}} 
[2026-09-06 08:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":175004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:35:54] local.INFO: GPS data processed {"connection_id":175004,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:35:54] local.INFO: Acknowledgment sent {"connection_id":175004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:36:10] local.INFO: TCP Data received {"connection_id":172321,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:36:10] local.INFO: Processing buffer {"connection_id":172321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:36:10] local.INFO: IMEI packet received {"connection_id":172321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":172321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:36:11] local.INFO: TCP Data received {"connection_id":175006,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:36:11] local.INFO: Processing buffer {"connection_id":175006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:36:11] local.INFO: IMEI packet received {"connection_id":175006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 08:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":175006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:36:15] local.INFO: TCP Data received {"connection_id":172321,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:36:15] local.INFO: Processing buffer {"connection_id":172321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:36:15] local.INFO: IMEI packet received {"connection_id":172321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":172321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:36:16] local.INFO: TCP Data received {"connection_id":172321,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ad90d8012d191540072459e00045011321..."} 
[2026-09-06 08:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ad90d8012d191540072459e00045011321..."} 
[2026-09-06 08:36:16] local.INFO: Processing buffer {"connection_id":172321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ad90d8012d191540072459e00045011321..."} 
[2026-09-06 08:36:16] local.INFO: Packet analysis {"connection_id":172321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ad"} 
[2026-09-06 08:36:16] local.INFO: Extracted packet for processing {"connection_id":172321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ad"} 
[2026-09-06 08:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756618560,"raw_latitude":119822816,"longitude_deg":75.661856,"latitude_deg":11.9822816,"altitude":69,"angle":275,"satellites":33,"speed":7,"hex_longitude":"2d191540","hex_latitude":"072459e0","is_valid_coordinates":true} 
[2026-09-06 08:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897965056001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18130920972222464,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807632331110463488,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36: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-09-06 08:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788663927000,"timestamp_ms":1788663927000,"timestamp_seconds":1788663927,"priority":1,"record_length":96,"hex_timestamp":"000001a074ad90d8"} 
[2026-09-06 08:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:36:16] 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-09-06 08:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 08:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897965056001,"66":13993,"186":206,"83":42752,"24":7,"16":18130920972222464,"45":1807632331110463488},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-06 08:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897965056001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:36:16] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 08:36:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 08:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18130920972222464,"km_value":18130920972222.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807632331110463488,"description":"Unknown IO ID 45"} 
[2026-09-06 08:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897965056001,"power":13993,"unknown_186":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1807632331110463488}} 
[2026-09-06 08:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":172321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:36:16] local.INFO: GPS data processed {"connection_id":172321,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:36:16] local.INFO: Acknowledgment sent {"connection_id":172321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:36:17] local.INFO: TCP Data received {"connection_id":172322,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:36:17] local.INFO: Processing buffer {"connection_id":172322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:36:17] local.INFO: IMEI packet received {"connection_id":172322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":172322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:36:22] local.INFO: TCP Data received {"connection_id":172322,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:36:22] local.INFO: Processing buffer {"connection_id":172322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:36:22] local.INFO: IMEI packet received {"connection_id":172322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":172322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:36:23] local.INFO: TCP Data received {"connection_id":172322,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074adf280012d7b254005d45f180007015e1b..."} 
[2026-09-06 08:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074adf280012d7b254005d45f180007015e1b..."} 
[2026-09-06 08:36:23] local.INFO: Processing buffer {"connection_id":172322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074adf280012d7b254005d45f180007015e1b..."} 
[2026-09-06 08:36:23] local.INFO: Packet analysis {"connection_id":172322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ad"} 
[2026-09-06 08:36:23] local.INFO: Extracted packet for processing {"connection_id":172322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ad"} 
[2026-09-06 08:36:23] local.INFO: GPS Element Parsed {"raw_longitude":763045184,"raw_latitude":97804056,"longitude_deg":76.3045184,"latitude_deg":9.7804056,"altitude":7,"angle":350,"satellites":27,"speed":37,"hex_longitude":"2d7b2540","hex_latitude":"05d45f18","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897969664001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128807417826770944,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877157840536827904,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:23] 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-09-06 08:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788663952000,"timestamp_ms":1788663952000,"timestamp_seconds":1788663952,"priority":1,"record_length":96,"hex_timestamp":"000001a074adf280"} 
[2026-09-06 08:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-06 08:36:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:23] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:23] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2911182849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:23] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-9110782011788289280,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2815557838,"corrected_to":0} 
[2026-09-06 08:36:23] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:23] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2616066048,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3550957568,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:23] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57886890624177467,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:23] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2837269060097310725,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:23] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,210,85,24,241,157,16,160,199,45,128,60,3,27,10,66,183,64,4,148,1,240,62,227,156,116,211,113,205,58,105,104,239,52,2,201,5,8,46,230,173],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2815557838,"validated":0}]} 
[2026-09-06 08:36:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288599932320022528,"timestamp_seconds":288599932320022.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:36: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-09-06 08:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897969664001,"66":13341,"5":206,"85":15104,"24":37,"16":128807417826770944,"45":8877157840536827904},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-09-06 08:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897969664001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:36:23] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-06 08:36:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128807417826770944,"km_value":128807417826770.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877157840536827904,"description":"Unknown IO ID 45"} 
[2026-09-06 08:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897969664001,"power":13341,"unknown_5":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8877157840536827904}} 
[2026-09-06 08:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":172322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:36:23] local.INFO: GPS data processed {"connection_id":172322,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:36:23] local.INFO: Acknowledgment sent {"connection_id":172322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:36:25] local.INFO: TCP Data received {"connection_id":175005,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:36:25] local.INFO: Processing buffer {"connection_id":175005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:36:25] local.INFO: Packet analysis {"connection_id":175005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:36:25] local.INFO: Extracted packet for processing {"connection_id":175005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:36:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897846016001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:25] 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-09-06 08:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788663762000,"timestamp_ms":1788663762000,"timestamp_seconds":1788663762,"priority":1,"record_length":96,"hex_timestamp":"000001a074ab0c50"} 
[2026-09-06 08:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:36: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-09-06 08: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:36: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-09-06 08:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897846016001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897846016001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:36:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:36:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897846016001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":175005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:36:25] local.INFO: GPS data processed {"connection_id":175005,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:36:25] local.INFO: Acknowledgment sent {"connection_id":175005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:36:48] local.INFO: TCP Data received {"connection_id":173697,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:36:48] local.INFO: Processing buffer {"connection_id":173697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:36:48] local.INFO: IMEI packet received {"connection_id":173697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":173697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:36:49] local.INFO: TCP Data received {"connection_id":172321,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ad94c0012d191480072459d80045010321..."} 
[2026-09-06 08:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ad94c0012d191480072459d80045010321..."} 
[2026-09-06 08:36:49] local.INFO: Processing buffer {"connection_id":172321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ad94c0012d191480072459d80045010321..."} 
[2026-09-06 08:36:49] local.INFO: Packet analysis {"connection_id":172321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ad"} 
[2026-09-06 08:36:49] local.INFO: Extracted packet for processing {"connection_id":172321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ad"} 
[2026-09-06 08:36:49] local.INFO: GPS Element Parsed {"raw_longitude":756618368,"raw_latitude":119822808,"longitude_deg":75.6618368,"latitude_deg":11.9822808,"altitude":69,"angle":259,"satellites":33,"speed":8,"hex_longitude":"2d191480","hex_latitude":"072459d8","is_valid_coordinates":true} 
[2026-09-06 08:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897965312001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18130929562157056,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807421224877940736,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:49] 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-09-06 08:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788663928000,"timestamp_ms":1788663928000,"timestamp_seconds":1788663928,"priority":1,"record_length":96,"hex_timestamp":"000001a074ad94c0"} 
[2026-09-06 08:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 08:36:49] 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-09-06 08:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897965312001,"66":13993,"186":206,"83":42752,"24":8,"16":18130929562157056,"45":1807421224877940736},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-06 08:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897965312001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:36:49] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 08:36:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 08:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18130929562157056,"km_value":18130929562157.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807421224877940736,"description":"Unknown IO ID 45"} 
[2026-09-06 08:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897965312001,"power":13993,"unknown_186":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1807421224877940736}} 
[2026-09-06 08:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":172321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:36:49] local.INFO: GPS data processed {"connection_id":172321,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:36:49] local.INFO: Acknowledgment sent {"connection_id":172321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:36:53] local.INFO: TCP Data received {"connection_id":173697,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:36:53] local.INFO: Processing buffer {"connection_id":173697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:36:53] local.INFO: IMEI packet received {"connection_id":173697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":173697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:36:54] local.INFO: TCP Data received {"connection_id":172322,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074adfa50012d7b254005d466c8000700021b..."} 
[2026-09-06 08:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074adfa50012d7b254005d466c8000700021b..."} 
[2026-09-06 08:36:54] local.INFO: Processing buffer {"connection_id":172322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074adfa50012d7b254005d466c8000700021b..."} 
[2026-09-06 08:36:54] local.INFO: Packet analysis {"connection_id":172322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ad"} 
[2026-09-06 08:36:54] local.INFO: Extracted packet for processing {"connection_id":172322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ad"} 
[2026-09-06 08:36:54] local.INFO: GPS Element Parsed {"raw_longitude":763045184,"raw_latitude":97806024,"longitude_deg":76.3045184,"latitude_deg":9.7806024,"altitude":7,"angle":2,"satellites":27,"speed":40,"hex_longitude":"2d7b2540","hex_latitude":"05d466c8","is_valid_coordinates":true} 
[2026-09-06 08:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897971712001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128807512316051456,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873569034585446400,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:54] 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-09-06 08:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788663954000,"timestamp_ms":1788663954000,"timestamp_seconds":1788663954,"priority":1,"record_length":96,"hex_timestamp":"000001a074adfa50"} 
[2026-09-06 08:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-06 08:36:54] 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-09-06 08:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:36:54] 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-09-06 08:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897971712001,"66":13374,"5":206,"85":15104,"24":40,"16":128807512316051456,"45":8873569034585446400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-09-06 08:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897971712001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:36:54] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-06 08:36:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128807512316051456,"km_value":128807512316051.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873569034585446400,"description":"Unknown IO ID 45"} 
[2026-09-06 08:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897971712001,"power":13374,"unknown_5":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8873569034585446400}} 
[2026-09-06 08:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":172322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:36:54] local.INFO: GPS data processed {"connection_id":172322,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:36:54] local.INFO: Acknowledgment sent {"connection_id":172322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:36:56] local.INFO: TCP Data received {"connection_id":173697,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:36:56] local.INFO: Processing buffer {"connection_id":173697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:36:56] local.INFO: Packet analysis {"connection_id":173697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:36:56] local.INFO: Extracted packet for processing {"connection_id":173697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:36:56] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897846016001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:36:56] 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-09-06 08:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788663762000,"timestamp_ms":1788663762000,"timestamp_seconds":1788663762,"priority":1,"record_length":96,"hex_timestamp":"000001a074ab0c50"} 
[2026-09-06 08:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:36: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-09-06 08: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":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:36: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-09-06 08:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897846016001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897846016001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:36:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:36:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897846016001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":173697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:36:56] local.INFO: GPS data processed {"connection_id":173697,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:36:56] local.INFO: Acknowledgment sent {"connection_id":173697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:37:09] local.INFO: TCP Data received {"connection_id":172323,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:37:09] local.INFO: Processing buffer {"connection_id":172323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:37:09] local.INFO: IMEI packet received {"connection_id":172323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":172323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:37:15] local.INFO: TCP Data received {"connection_id":172323,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:37:15] local.INFO: Processing buffer {"connection_id":172323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:37:15] local.INFO: IMEI packet received {"connection_id":172323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":172323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:37:15] local.INFO: TCP Data received {"connection_id":172323,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ade2e0012d190f40072459b8004501071c..."} 
[2026-09-06 08:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ade2e0012d190f40072459b8004501071c..."} 
[2026-09-06 08:37:15] local.INFO: Processing buffer {"connection_id":172323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ade2e0012d190f40072459b8004501071c..."} 
[2026-09-06 08:37:15] local.INFO: Packet analysis {"connection_id":172323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ad"} 
[2026-09-06 08:37:15] local.INFO: Extracted packet for processing {"connection_id":172323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ad"} 
[2026-09-06 08:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756617024,"raw_latitude":119822776,"longitude_deg":75.6617024,"latitude_deg":11.9822776,"altitude":69,"angle":263,"satellites":28,"speed":0,"hex_longitude":"2d190f40","hex_latitude":"072459b8","is_valid_coordinates":true} 
[2026-09-06 08:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897965568001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18130993986666496,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807210118645405696,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37:15] 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-09-06 08:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788663948000,"timestamp_ms":1788663948000,"timestamp_seconds":1788663948,"priority":1,"record_length":96,"hex_timestamp":"000001a074ade2e0"} 
[2026-09-06 08:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:37:15] 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-09-06 08:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 08:37:15] 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-09-06 08:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897965568001,"66":14048,"186":206,"83":42752,"24":0,"16":18130993986666496,"45":1807210118645405696},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-06 08:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897965568001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:37:15] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 08:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 08:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18130993986666496,"km_value":18130993986666.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807210118645405696,"description":"Unknown IO ID 45"} 
[2026-09-06 08:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897965568001,"power":14048,"unknown_186":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1807210118645405696}} 
[2026-09-06 08:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":172323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:37:15] local.INFO: GPS data processed {"connection_id":172323,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:37:15] local.INFO: Acknowledgment sent {"connection_id":172323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:37:17] local.INFO: TCP Data received {"connection_id":172551,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:37:17] local.INFO: Processing buffer {"connection_id":172551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:37:17] local.INFO: IMEI packet received {"connection_id":172551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":172551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:37:22] local.INFO: TCP Data received {"connection_id":172551,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:37:22] local.INFO: Processing buffer {"connection_id":172551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:37:22] local.INFO: IMEI packet received {"connection_id":172551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":172551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:37:23] local.INFO: TCP Data received {"connection_id":172551,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074ae1d78012d7b26c005d48c98000701631a..."} 
[2026-09-06 08:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ae1d78012d7b26c005d48c98000701631a..."} 
[2026-09-06 08:37:23] local.INFO: Processing buffer {"connection_id":172551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ae1d78012d7b26c005d48c98000701631a..."} 
[2026-09-06 08:37:23] local.INFO: Packet analysis {"connection_id":172551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ae"} 
[2026-09-06 08:37:23] local.INFO: Extracted packet for processing {"connection_id":172551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ae"} 
[2026-09-06 08:37:23] local.INFO: GPS Element Parsed {"raw_longitude":763045568,"raw_latitude":97815704,"longitude_deg":76.3045568,"latitude_deg":9.7815704,"altitude":7,"angle":355,"satellites":26,"speed":41,"hex_longitude":"2d7b26c0","hex_latitude":"05d48c98","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897972224001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128807980467486720,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873569034585950208,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37:23] 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-09-06 08:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788663963000,"timestamp_ms":1788663963000,"timestamp_seconds":1788663963,"priority":1,"record_length":96,"hex_timestamp":"000001a074ae1d78"} 
[2026-09-06 08:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-06 08:37: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-09-06 08: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-09-06 08:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:37: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-09-06 08:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897972224001,"66":13352,"5":206,"85":15104,"24":41,"16":128807980467486720,"45":8873569034585950208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-09-06 08:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897972224001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:37:23] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-06 08:37:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128807980467486720,"km_value":128807980467486.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873569034585950208,"description":"Unknown IO ID 45"} 
[2026-09-06 08:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897972224001,"power":13352,"unknown_5":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8873569034585950208}} 
[2026-09-06 08:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":172551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:37:23] local.INFO: GPS data processed {"connection_id":172551,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:37:23] local.INFO: Acknowledgment sent {"connection_id":172551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:37:26] local.INFO: TCP Data received {"connection_id":173697,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:37:26] local.INFO: Processing buffer {"connection_id":173697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:37:26] local.INFO: Packet analysis {"connection_id":173697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:37:26] local.INFO: Extracted packet for processing {"connection_id":173697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:37:26] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897846016001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37: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-09-06 08:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788663762000,"timestamp_ms":1788663762000,"timestamp_seconds":1788663762,"priority":1,"record_length":96,"hex_timestamp":"000001a074ab0c50"} 
[2026-09-06 08:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:37: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-09-06 08:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:37: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-09-06 08:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897846016001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897846016001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:37:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:37:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897846016001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":173697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:37:26] local.INFO: GPS data processed {"connection_id":173697,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:37:26] local.INFO: Acknowledgment sent {"connection_id":173697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:37:46] local.INFO: TCP Data received {"connection_id":172323,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074af03f0012d18d40007244930003300d31e..."} 
[2026-09-06 08:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074af03f0012d18d40007244930003300d31e..."} 
[2026-09-06 08:37:46] local.INFO: Processing buffer {"connection_id":172323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074af03f0012d18d40007244930003300d31e..."} 
[2026-09-06 08:37:46] local.INFO: Packet analysis {"connection_id":172323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:37:46] local.INFO: Extracted packet for processing {"connection_id":172323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756601856,"raw_latitude":119818544,"longitude_deg":75.6601856,"latitude_deg":11.9818544,"altitude":51,"angle":211,"satellites":30,"speed":0,"hex_longitude":"2d18d400","hex_latitude":"07244930","is_valid_coordinates":true} 
[2026-09-06 08:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897989120001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18131767080779776,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351390664704,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37:46] 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-09-06 08:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788664022000,"timestamp_ms":1788664022000,"timestamp_seconds":1788664022,"priority":1,"record_length":96,"hex_timestamp":"000001a074af03f0"} 
[2026-09-06 08:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:37:46] 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-09-06 08:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-06 08:37:46] 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-09-06 08:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897989120001,"66":14113,"187":206,"83":42752,"24":0,"16":18131767080779776,"45":1789125351390664704},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-09-06 08:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897989120001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:37:47] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 08:37:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 08:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18131767080779776,"km_value":18131767080779.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351390664704,"description":"Unknown IO ID 45"} 
[2026-09-06 08:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897989120001,"power":14113,"unknown_187":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1789125351390664704}} 
[2026-09-06 08:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":172323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:37:47] local.INFO: GPS data processed {"connection_id":172323,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:37:47] local.INFO: Acknowledgment sent {"connection_id":172323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:37:48] local.INFO: TCP Data received {"connection_id":172324,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:37:48] local.INFO: Processing buffer {"connection_id":172324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:37:48] local.INFO: IMEI packet received {"connection_id":172324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":172324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:37:53] local.INFO: TCP Data received {"connection_id":172324,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:37:53] local.INFO: Processing buffer {"connection_id":172324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:37:53] local.INFO: IMEI packet received {"connection_id":172324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":172324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:37:54] local.INFO: TCP Data received {"connection_id":172551,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074ae4488012d7b238005d4afe80004015f1a..."} 
[2026-09-06 08:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ae4488012d7b238005d4afe80004015f1a..."} 
[2026-09-06 08:37:54] local.INFO: Processing buffer {"connection_id":172551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ae4488012d7b238005d4afe80004015f1a..."} 
[2026-09-06 08:37:54] local.INFO: Packet analysis {"connection_id":172551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ae"} 
[2026-09-06 08:37:54] local.INFO: Extracted packet for processing {"connection_id":172551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ae"} 
[2026-09-06 08:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763044736,"raw_latitude":97824744,"longitude_deg":76.3044736,"latitude_deg":9.7824744,"altitude":4,"angle":351,"satellites":26,"speed":20,"hex_longitude":"2d7b2380","hex_latitude":"05d4afe8","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897974528001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128808422849118208,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873991247053494272,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37:54] 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-09-06 08:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788663973000,"timestamp_ms":1788663973000,"timestamp_seconds":1788663973,"priority":1,"record_length":96,"hex_timestamp":"000001a074ae4488"} 
[2026-09-06 08:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-06 08:37:54] 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-09-06 08: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-09-06 08:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:37:54] 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-09-06 08:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897974528001,"66":13341,"5":206,"85":15104,"24":20,"16":128808422849118208,"45":8873991247053494272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-09-06 08:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897974528001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:37:54] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-06 08:37:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128808422849118208,"km_value":128808422849118.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873991247053494272,"description":"Unknown IO ID 45"} 
[2026-09-06 08:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897974528001,"power":13341,"unknown_5":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8873991247053494272}} 
[2026-09-06 08:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":172551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:37:54] local.INFO: GPS data processed {"connection_id":172551,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:37:54] local.INFO: Acknowledgment sent {"connection_id":172551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:37:54] local.INFO: TCP Data received {"connection_id":172324,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:37:54] local.INFO: Processing buffer {"connection_id":172324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ab0c50012d532d00064970480006014727..."} 
[2026-09-06 08:37:54] local.INFO: Packet analysis {"connection_id":172324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:37:54] local.INFO: Extracted packet for processing {"connection_id":172324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ab"} 
[2026-09-06 08:37:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897846016001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:37:54] 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-09-06 08:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788663762000,"timestamp_ms":1788663762000,"timestamp_seconds":1788663762,"priority":1,"record_length":96,"hex_timestamp":"000001a074ab0c50"} 
[2026-09-06 08:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:37: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-09-06 08: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:37: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-09-06 08:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897846016001,"66":25125,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897846016001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:37:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:37:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897846016001,"power":25125,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":172324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:37:54] local.INFO: GPS data processed {"connection_id":172324,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:37:54] local.INFO: Acknowledgment sent {"connection_id":172324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:38:09] local.INFO: TCP Data received {"connection_id":172325,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:38:09] local.INFO: Processing buffer {"connection_id":172325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:38:09] local.INFO: IMEI packet received {"connection_id":172325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":172325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:38:10] local.INFO: TCP Data received {"connection_id":172325,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:38:10] local.INFO: Processing buffer {"connection_id":172325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:38:10] local.INFO: IMEI packet received {"connection_id":172325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":172325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:38:12] local.INFO: TCP Data received {"connection_id":172325,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:38:12] local.INFO: Processing buffer {"connection_id":172325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:38:12] local.INFO: IMEI packet received {"connection_id":172325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":172325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:38:12] local.INFO: TCP Data received {"connection_id":172325,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:38:12] local.INFO: Processing buffer {"connection_id":172325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:38:12] local.INFO: IMEI packet received {"connection_id":172325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":172325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:38:22] local.INFO: TCP Data received {"connection_id":172552,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:38:22] local.INFO: Processing buffer {"connection_id":172552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:38:22] local.INFO: IMEI packet received {"connection_id":172552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":172552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:38:24] local.INFO: TCP Data received {"connection_id":172552,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:38:24] local.INFO: Processing buffer {"connection_id":172552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:38:24] local.INFO: IMEI packet received {"connection_id":172552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":172552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:38:25] local.INFO: TCP Data received {"connection_id":172552,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074afabe8012d7afe4005d5aaa00007015d1c..."} 
[2026-09-06 08:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074afabe8012d7afe4005d5aaa00007015d1c..."} 
[2026-09-06 08:38:25] local.INFO: Processing buffer {"connection_id":172552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074afabe8012d7afe4005d5aaa00007015d1c..."} 
[2026-09-06 08:38:25] local.INFO: Packet analysis {"connection_id":172552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:38:25] local.INFO: Extracted packet for processing {"connection_id":172552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763035200,"raw_latitude":97888928,"longitude_deg":76.30352,"latitude_deg":9.7888928,"altitude":7,"angle":349,"satellites":28,"speed":38,"hex_longitude":"2d7afe40","hex_latitude":"05d5aaa0","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897998336001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128811622599753728,"note":"Value kept but may cause issues"} 
[2026-09-06 08:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864350729117566976,"note":"Value kept but may cause issues"} 
[2026-09-06 08:38:25] 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-09-06 08:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664065000,"timestamp_ms":1788664065000,"timestamp_seconds":1788664065,"priority":1,"record_length":96,"hex_timestamp":"000001a074afabe8"} 
[2026-09-06 08:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 08:38:25] 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-09-06 08: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-09-06 08:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:38:25] 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-09-06 08:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897998336001,"66":13243,"5":206,"85":15104,"24":38,"16":128811622599753728,"45":8864350729117566976},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-09-06 08:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897998336001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:38:25] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-06 08:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128811622599753728,"km_value":128811622599753.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864350729117566976,"description":"Unknown IO ID 45"} 
[2026-09-06 08:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897998336001,"power":13243,"unknown_5":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8864350729117566976}} 
[2026-09-06 08:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":172552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:38:25] local.INFO: GPS data processed {"connection_id":172552,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:38:25] local.INFO: Acknowledgment sent {"connection_id":172552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:38:25] local.INFO: TCP Data received {"connection_id":172324,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:38:25] local.INFO: Processing buffer {"connection_id":172324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:38:25] local.INFO: Packet analysis {"connection_id":172324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:38:25] local.INFO: Extracted packet for processing {"connection_id":172324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:38:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897923072001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:38:25] 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-09-06 08:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664063000,"timestamp_ms":1788664063000,"timestamp_seconds":1788664063,"priority":1,"record_length":96,"hex_timestamp":"000001a074afa418"} 
[2026-09-06 08:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:38: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-09-06 08: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 08:38:25] 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-09-06 08: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-09-06 08:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897923072001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897923072001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:38:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:38:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897923072001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":172324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:38:25] local.INFO: GPS data processed {"connection_id":172324,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:38:25] local.INFO: Acknowledgment sent {"connection_id":172324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:38:28] local.INFO: TCP Data received {"connection_id":172552,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074afd6e0012d7af48005d5cf78000801561d..."} 
[2026-09-06 08:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074afd6e0012d7af48005d5cf78000801561d..."} 
[2026-09-06 08:38:28] local.INFO: Processing buffer {"connection_id":172552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074afd6e0012d7af48005d5cf78000801561d..."} 
[2026-09-06 08:38:28] local.INFO: Packet analysis {"connection_id":172552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:38:28] local.INFO: Extracted packet for processing {"connection_id":172552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:38:28] local.INFO: GPS Element Parsed {"raw_longitude":763032704,"raw_latitude":97898360,"longitude_deg":76.3032704,"latitude_deg":9.789836,"altitude":8,"angle":342,"satellites":29,"speed":38,"hex_longitude":"2d7af480","hex_latitude":"05d5cf78","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898000640001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128812095046156288,"note":"Value kept but may cause issues"} 
[2026-09-06 08:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862591510515458048,"note":"Value kept but may cause issues"} 
[2026-09-06 08:38:28] 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-09-06 08:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788664076000,"timestamp_ms":1788664076000,"timestamp_seconds":1788664076,"priority":1,"record_length":96,"hex_timestamp":"000001a074afd6e0"} 
[2026-09-06 08:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:38: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-09-06 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-06 08:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:38:28] 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-09-06 08:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898000640001,"66":13624,"5":206,"85":15104,"24":38,"16":128812095046156288,"45":8862591510515458048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-09-06 08:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898000640001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:38:28] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-06 08:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128812095046156288,"km_value":128812095046156.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862591510515458048,"description":"Unknown IO ID 45"} 
[2026-09-06 08:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898000640001,"power":13624,"unknown_5":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8862591510515458048}} 
[2026-09-06 08:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":172552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:38:28] local.INFO: GPS data processed {"connection_id":172552,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:38:28] local.INFO: Acknowledgment sent {"connection_id":172552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:38:53] local.INFO: TCP Data received {"connection_id":172326,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:38:53] local.INFO: Processing buffer {"connection_id":172326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:38:53] local.INFO: IMEI packet received {"connection_id":172326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":172326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:38:58] local.INFO: TCP Data received {"connection_id":172326,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:38:58] local.INFO: Processing buffer {"connection_id":172326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:38:58] local.INFO: IMEI packet received {"connection_id":172326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":172326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:38:59] local.INFO: TCP Data received {"connection_id":172326,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:38:59] local.INFO: Processing buffer {"connection_id":172326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:38:59] local.INFO: Packet analysis {"connection_id":172326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:38:59] local.INFO: Extracted packet for processing {"connection_id":172326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:38:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897923072001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:38:59] 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-09-06 08:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788664063000,"timestamp_ms":1788664063000,"timestamp_seconds":1788664063,"priority":1,"record_length":96,"hex_timestamp":"000001a074afa418"} 
[2026-09-06 08:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:38: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-09-06 08:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 08:38:59] 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-09-06 08:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897923072001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897923072001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:38:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:38:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897923072001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":172326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:38:59] local.INFO: GPS data processed {"connection_id":172326,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:38:59] local.INFO: Acknowledgment sent {"connection_id":172326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:38:59] local.INFO: TCP Data received {"connection_id":172552,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b005c0012d7aea0005d5f2a00009015b1d..."} 
[2026-09-06 08:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b005c0012d7aea0005d5f2a00009015b1d..."} 
[2026-09-06 08:38:59] local.INFO: Processing buffer {"connection_id":172552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b005c0012d7aea0005d5f2a00009015b1d..."} 
[2026-09-06 08:38:59] local.INFO: Packet analysis {"connection_id":172552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b0"} 
[2026-09-06 08:38:59] local.INFO: Extracted packet for processing {"connection_id":172552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b0"} 
[2026-09-06 08:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763030016,"raw_latitude":97907360,"longitude_deg":76.3030016,"latitude_deg":9.790736,"altitude":9,"angle":347,"satellites":29,"speed":34,"hex_longitude":"2d7aea00","hex_latitude":"05d5f2a0","is_valid_coordinates":true} 
[2026-09-06 08:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898003456001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128812550312689664,"note":"Value kept but may cause issues"} 
[2026-09-06 08:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859847129494943744,"note":"Value kept but may cause issues"} 
[2026-09-06 08:38:59] 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-09-06 08:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788664088000,"timestamp_ms":1788664088000,"timestamp_seconds":1788664088,"priority":1,"record_length":96,"hex_timestamp":"000001a074b005c0"} 
[2026-09-06 08:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-06 08:38:59] 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-09-06 08:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:38:59] 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-09-06 08:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898003456001,"66":13406,"5":206,"85":15104,"24":34,"16":128812550312689664,"45":8859847129494943744},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-09-06 08:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898003456001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:38:59] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-06 08:38:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128812550312689664,"km_value":128812550312689.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859847129494943744,"description":"Unknown IO ID 45"} 
[2026-09-06 08:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898003456001,"power":13406,"unknown_5":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8859847129494943744}} 
[2026-09-06 08:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":172552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:38:59] local.INFO: GPS data processed {"connection_id":172552,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:38:59] local.INFO: Acknowledgment sent {"connection_id":172552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:39:14] local.INFO: TCP Data received {"connection_id":173700,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:39:14] local.INFO: Processing buffer {"connection_id":173700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:39:14] local.INFO: IMEI packet received {"connection_id":173700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":173700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:39:17] local.INFO: TCP Data received {"connection_id":173700,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:39:17] local.INFO: Processing buffer {"connection_id":173700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:39:17] local.INFO: IMEI packet received {"connection_id":173700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":173700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:39:22] local.INFO: TCP Data received {"connection_id":173700,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:39:22] local.INFO: Processing buffer {"connection_id":173700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:39:22] local.INFO: IMEI packet received {"connection_id":173700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":173700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:39:23] local.INFO: TCP Data received {"connection_id":173700,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b01560012d7ae8c005d60030000a01671c..."} 
[2026-09-06 08:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b01560012d7ae8c005d60030000a01671c..."} 
[2026-09-06 08:39:23] local.INFO: Processing buffer {"connection_id":173700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b01560012d7ae8c005d60030000a01671c..."} 
[2026-09-06 08:39:23] local.INFO: Packet analysis {"connection_id":173700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b0"} 
[2026-09-06 08:39:23] local.INFO: Extracted packet for processing {"connection_id":173700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b0"} 
[2026-09-06 08:39:23] local.INFO: GPS Element Parsed {"raw_longitude":763029696,"raw_latitude":97910832,"longitude_deg":76.3029696,"latitude_deg":9.7910832,"altitude":10,"angle":359,"satellites":28,"speed":34,"hex_longitude":"2d7ae8c0","hex_latitude":"05d60030","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898006528001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128812717816414208,"note":"Value kept but may cause issues"} 
[2026-09-06 08:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856891642241785856,"note":"Value kept but may cause issues"} 
[2026-09-06 08:39:23] 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-09-06 08:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788664092000,"timestamp_ms":1788664092000,"timestamp_seconds":1788664092,"priority":1,"record_length":96,"hex_timestamp":"000001a074b01560"} 
[2026-09-06 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-09-06 08:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-06 08:39:23] 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-09-06 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-09-06 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-09-06 08:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:39: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-09-06 08:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898006528001,"66":13559,"5":206,"85":15104,"24":34,"16":128812717816414208,"45":8856891642241785856},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-09-06 08:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898006528001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:39:23] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-06 08:39:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128812717816414208,"km_value":128812717816414.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856891642241785856,"description":"Unknown IO ID 45"} 
[2026-09-06 08:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898006528001,"power":13559,"unknown_5":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8856891642241785856}} 
[2026-09-06 08:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":173700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:39:23] local.INFO: GPS data processed {"connection_id":173700,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:39:23] local.INFO: Acknowledgment sent {"connection_id":173700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:39:30] local.INFO: TCP Data received {"connection_id":172326,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:39:30] local.INFO: Processing buffer {"connection_id":172326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:39:30] local.INFO: Packet analysis {"connection_id":172326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:39:30] local.INFO: Extracted packet for processing {"connection_id":172326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:39:30] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897923072001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:39:30] 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-09-06 08:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788664063000,"timestamp_ms":1788664063000,"timestamp_seconds":1788664063,"priority":1,"record_length":96,"hex_timestamp":"000001a074afa418"} 
[2026-09-06 08:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 08:39:30] 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-09-06 08:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897923072001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897923072001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:39:30] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:39:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897923072001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":172326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:39:30] local.INFO: GPS data processed {"connection_id":172326,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:39:30] local.INFO: Acknowledgment sent {"connection_id":172326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:39:48] local.INFO: TCP Data received {"connection_id":175009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:39:48] local.INFO: Processing buffer {"connection_id":175009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:39:48] local.INFO: IMEI packet received {"connection_id":175009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":175009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:39:53] local.INFO: TCP Data received {"connection_id":175009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:39:53] local.INFO: Processing buffer {"connection_id":175009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:39:53] local.INFO: IMEI packet received {"connection_id":175009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":175009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:39:54] local.INFO: TCP Data received {"connection_id":173700,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b03c70012d7aea0005d623f8000a01601d..."} 
[2026-09-06 08:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b03c70012d7aea0005d623f8000a01601d..."} 
[2026-09-06 08:39:54] local.INFO: Processing buffer {"connection_id":173700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b03c70012d7aea0005d623f8000a01601d..."} 
[2026-09-06 08:39:54] local.INFO: Packet analysis {"connection_id":173700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b0"} 
[2026-09-06 08:39:54] local.INFO: Extracted packet for processing {"connection_id":173700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b0"} 
[2026-09-06 08:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763030016,"raw_latitude":97919992,"longitude_deg":76.3030016,"latitude_deg":9.7919992,"altitude":10,"angle":352,"satellites":29,"speed":38,"hex_longitude":"2d7aea00","hex_latitude":"05d623f8","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898007552001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128813164493012992,"note":"Value kept but may cause issues"} 
[2026-09-06 08:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856539798521786368,"note":"Value kept but may cause issues"} 
[2026-09-06 08:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664102000,"timestamp_ms":1788664102000,"timestamp_seconds":1788664102,"priority":1,"record_length":96,"hex_timestamp":"000001a074b03c70"} 
[2026-09-06 08:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 08:39:54] 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-09-06 08: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-09-06 08:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:39:54] 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-09-06 08:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898007552001,"66":13559,"3":206,"85":15104,"24":38,"16":128813164493012992,"45":8856539798521786368},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,45]} 
[2026-09-06 08:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898007552001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:39:54] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-06 08:39:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128813164493012992,"km_value":128813164493012.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856539798521786368,"description":"Unknown IO ID 45"} 
[2026-09-06 08:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898007552001,"power":13559,"unknown_3":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8856539798521786368}} 
[2026-09-06 08:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":173700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:39:54] local.INFO: GPS data processed {"connection_id":173700,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:39:54] local.INFO: Acknowledgment sent {"connection_id":173700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:39:54] local.INFO: TCP Data received {"connection_id":175009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:39:54] local.INFO: Processing buffer {"connection_id":175009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:39:54] local.INFO: Packet analysis {"connection_id":175009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:39:54] local.INFO: Extracted packet for processing {"connection_id":175009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:39:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897923072001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:39:54] 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-09-06 08:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664063000,"timestamp_ms":1788664063000,"timestamp_seconds":1788664063,"priority":1,"record_length":96,"hex_timestamp":"000001a074afa418"} 
[2026-09-06 08:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:39: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-09-06 08: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 08:39:54] 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-09-06 08: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-09-06 08:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:39: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-09-06 08:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897923072001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897923072001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:39:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:39:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897923072001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":175009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:39:54] local.INFO: GPS data processed {"connection_id":175009,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:39:54] local.INFO: Acknowledgment sent {"connection_id":175009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:40:14] local.INFO: TCP Data received {"connection_id":175011,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:40:14] local.INFO: Processing buffer {"connection_id":175011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:40:14] local.INFO: IMEI packet received {"connection_id":175011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":175011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:40:17] local.INFO: TCP Data received {"connection_id":175011,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:40:17] local.INFO: Processing buffer {"connection_id":175011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:40:17] local.INFO: IMEI packet received {"connection_id":175011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":175011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:40:22] local.INFO: TCP Data received {"connection_id":175011,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:40:22] local.INFO: Processing buffer {"connection_id":175011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:40:22] local.INFO: IMEI packet received {"connection_id":175011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":175011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:40:23] local.INFO: TCP Data received {"connection_id":175011,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b1b758012d7abec005d72988000800011c..."} 
[2026-09-06 08:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b1b758012d7abec005d72988000800011c..."} 
[2026-09-06 08:40:23] local.INFO: Processing buffer {"connection_id":175011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b1b758012d7abec005d72988000800011c..."} 
[2026-09-06 08:40:23] local.INFO: Packet analysis {"connection_id":175011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b1"} 
[2026-09-06 08:40:23] local.INFO: Extracted packet for processing {"connection_id":175011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b1"} 
[2026-09-06 08:40:23] local.INFO: GPS Element Parsed {"raw_longitude":763018944,"raw_latitude":97986952,"longitude_deg":76.3018944,"latitude_deg":9.7986952,"altitude":8,"angle":1,"satellites":28,"speed":36,"hex_longitude":"2d7abec0","hex_latitude":"05d72988","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898031616001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128816505977569280,"note":"Value kept but may cause issues"} 
[2026-09-06 08:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843662318354325504,"note":"Value kept but may cause issues"} 
[2026-09-06 08:40:23] 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-09-06 08:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788664199000,"timestamp_ms":1788664199000,"timestamp_seconds":1788664199,"priority":1,"record_length":96,"hex_timestamp":"000001a074b1b758"} 
[2026-09-06 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-09-06 08:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 08:40:23] 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-09-06 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-09-06 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-09-06 08:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:40: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-09-06 08:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898031616001,"66":13602,"245":206,"85":15104,"24":36,"16":128816505977569280,"45":8843662318354325504},"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-09-06 08:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898031616001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:40:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128816505977569280,"km_value":128816505977569.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843662318354325504,"description":"Unknown IO ID 45"} 
[2026-09-06 08:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898031616001,"power":13602,"geofence_id":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8843662318354325504}} 
[2026-09-06 08:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":175011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:40:23] local.INFO: GPS data processed {"connection_id":175011,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:40:23] local.INFO: Acknowledgment sent {"connection_id":175011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:40:25] local.INFO: TCP Data received {"connection_id":175009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:40:25] local.INFO: Processing buffer {"connection_id":175009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:40:25] local.INFO: Packet analysis {"connection_id":175009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:40:25] local.INFO: Extracted packet for processing {"connection_id":175009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:40:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897923072001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:40:25] 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-09-06 08:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664063000,"timestamp_ms":1788664063000,"timestamp_seconds":1788664063,"priority":1,"record_length":96,"hex_timestamp":"000001a074afa418"} 
[2026-09-06 08:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:40: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-09-06 08: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 08:40:25] 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-09-06 08: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-09-06 08:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:40: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-09-06 08:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897923072001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897923072001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:40:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:40:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897923072001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":175009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:40:25] local.INFO: GPS data processed {"connection_id":175009,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:40:25] local.INFO: Acknowledgment sent {"connection_id":175009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:40:48] local.INFO: TCP Data received {"connection_id":173701,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:40:48] local.INFO: Processing buffer {"connection_id":173701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:40:48] local.INFO: IMEI packet received {"connection_id":173701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":173701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:40:53] local.INFO: TCP Data received {"connection_id":173701,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:40:53] local.INFO: Processing buffer {"connection_id":173701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:40:53] local.INFO: IMEI packet received {"connection_id":173701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":173701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:40:53] local.INFO: TCP Data received {"connection_id":175011,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b1cae0012d7abd4005d73ca00008015d1c..."} 
[2026-09-06 08:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b1cae0012d7abd4005d73ca00008015d1c..."} 
[2026-09-06 08:40:54] local.INFO: Processing buffer {"connection_id":175011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b1cae0012d7abd4005d73ca00008015d1c..."} 
[2026-09-06 08:40:54] local.INFO: Packet analysis {"connection_id":175011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b1"} 
[2026-09-06 08:40:54] local.INFO: Extracted packet for processing {"connection_id":175011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b1"} 
[2026-09-06 08:40:54] local.INFO: GPS Element Parsed {"raw_longitude":763018560,"raw_latitude":97991840,"longitude_deg":76.301856,"latitude_deg":9.799184,"altitude":8,"angle":349,"satellites":28,"speed":38,"hex_longitude":"2d7abd40","hex_latitude":"05d73ca0","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898034944001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128816742200770560,"note":"Value kept but may cause issues"} 
[2026-09-06 08:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8844717849519425536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:40:54] 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-09-06 08:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664204000,"timestamp_ms":1788664204000,"timestamp_seconds":1788664204,"priority":1,"record_length":96,"hex_timestamp":"000001a074b1cae0"} 
[2026-09-06 08:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-06 08:40:54] 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-09-06 08: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-09-06 08:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:40:54] 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-09-06 08:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898034944001,"66":13602,"245":206,"85":15104,"24":38,"16":128816742200770560,"45":8844717849519425536},"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-09-06 08:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898034944001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:40:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128816742200770560,"km_value":128816742200770.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8844717849519425536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898034944001,"power":13602,"geofence_id":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8844717849519425536}} 
[2026-09-06 08:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":175011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:40:54] local.INFO: GPS data processed {"connection_id":175011,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:40:54] local.INFO: Acknowledgment sent {"connection_id":175011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:40:54] local.INFO: TCP Data received {"connection_id":173701,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:40:54] local.INFO: Processing buffer {"connection_id":173701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:40:54] local.INFO: Packet analysis {"connection_id":173701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:40:54] local.INFO: Extracted packet for processing {"connection_id":173701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:40:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897923072001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:40:54] 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-09-06 08:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664063000,"timestamp_ms":1788664063000,"timestamp_seconds":1788664063,"priority":1,"record_length":96,"hex_timestamp":"000001a074afa418"} 
[2026-09-06 08:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:40: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-09-06 08: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":37,"data_length":795,"current_offset":136} 
[2026-09-06 08:40:54] 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-09-06 08: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-09-06 08:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:40: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-09-06 08:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897923072001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897923072001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:40:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:40:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897923072001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":173701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:40:54] local.INFO: GPS data processed {"connection_id":173701,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:40:54] local.INFO: Acknowledgment sent {"connection_id":173701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:41:17] local.INFO: TCP Data received {"connection_id":172328,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:41:17] local.INFO: Processing buffer {"connection_id":172328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:41:17] local.INFO: IMEI packet received {"connection_id":172328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":172328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:41:17] local.INFO: TCP Data received {"connection_id":173702,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:41:17] local.INFO: Processing buffer {"connection_id":173702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:41:17] local.INFO: IMEI packet received {"connection_id":173702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 08:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":173702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:41:25] local.INFO: TCP Data received {"connection_id":173701,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:41:25] local.INFO: Processing buffer {"connection_id":173701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:41:25] local.INFO: Packet analysis {"connection_id":173701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:41:25] local.INFO: Extracted packet for processing {"connection_id":173701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:41:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897923072001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:41:25] 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-09-06 08:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664063000,"timestamp_ms":1788664063000,"timestamp_seconds":1788664063,"priority":1,"record_length":96,"hex_timestamp":"000001a074afa418"} 
[2026-09-06 08:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:41: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-09-06 08: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":37,"data_length":795,"current_offset":136} 
[2026-09-06 08:41:25] 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-09-06 08: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-09-06 08:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:41: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-09-06 08:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897923072001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897923072001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:41:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:41:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897923072001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":173701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:41:25] local.INFO: GPS data processed {"connection_id":173701,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:41:25] local.INFO: Acknowledgment sent {"connection_id":173701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:41:30] local.INFO: TCP Data received {"connection_id":172328,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:41:30] local.INFO: Processing buffer {"connection_id":172328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:41:30] local.INFO: IMEI packet received {"connection_id":172328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":172328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:41:30] local.INFO: TCP Data received {"connection_id":172328,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:41:30] local.INFO: Processing buffer {"connection_id":172328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:41:30] local.INFO: IMEI packet received {"connection_id":172328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":172328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:41:31] local.INFO: TCP Data received {"connection_id":172328,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b29218012d7a9b8005d7de68000301671c..."} 
[2026-09-06 08:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b29218012d7a9b8005d7de68000301671c..."} 
[2026-09-06 08:41:31] local.INFO: Processing buffer {"connection_id":172328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b29218012d7a9b8005d7de68000301671c..."} 
[2026-09-06 08:41:31] local.INFO: Packet analysis {"connection_id":172328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b2"} 
[2026-09-06 08:41:31] local.INFO: Extracted packet for processing {"connection_id":172328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b2"} 
[2026-09-06 08:41:31] local.INFO: GPS Element Parsed {"raw_longitude":763009920,"raw_latitude":98033256,"longitude_deg":76.300992,"latitude_deg":9.8033256,"altitude":3,"angle":359,"satellites":28,"speed":29,"hex_longitude":"2d7a9b80","hex_latitude":"05d7de68","is_valid_coordinates":true} 
[2026-09-06 08:41: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-09-06 08:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898046976001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128818859619647488,"note":"Value kept but may cause issues"} 
[2026-09-06 08:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832755163019235328,"note":"Value kept but may cause issues"} 
[2026-09-06 08:41:31] 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-09-06 08:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788664255000,"timestamp_ms":1788664255000,"timestamp_seconds":1788664255,"priority":1,"record_length":96,"hex_timestamp":"000001a074b29218"} 
[2026-09-06 08:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:41:31] local.INFO: IO Element 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-09-06 08:41:31] 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-09-06 08:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:41:31] 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-09-06 08:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898046976001,"66":13656,"245":206,"85":15104,"24":29,"16":128818859619647488,"45":8832755163019235328},"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-09-06 08:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898046976001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:41:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128818859619647488,"km_value":128818859619647.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832755163019235328,"description":"Unknown IO ID 45"} 
[2026-09-06 08:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898046976001,"power":13656,"geofence_id":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8832755163019235328}} 
[2026-09-06 08:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":172328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:41:31] local.INFO: GPS data processed {"connection_id":172328,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:41:31] local.INFO: Acknowledgment sent {"connection_id":172328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:41:32] local.INFO: TCP Data received {"connection_id":172328,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b2b928012d7a9b8005d80348000400091c..."} 
[2026-09-06 08:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b2b928012d7a9b8005d80348000400091c..."} 
[2026-09-06 08:41:32] local.INFO: Processing buffer {"connection_id":172328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b2b928012d7a9b8005d80348000400091c..."} 
[2026-09-06 08:41:32] local.INFO: Packet analysis {"connection_id":172328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b2"} 
[2026-09-06 08:41:32] local.INFO: Extracted packet for processing {"connection_id":172328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b2"} 
[2026-09-06 08:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763009920,"raw_latitude":98042696,"longitude_deg":76.300992,"latitude_deg":9.8042696,"altitude":4,"angle":9,"satellites":28,"speed":45,"hex_longitude":"2d7a9b80","hex_latitude":"05d80348","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898049280001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128819319181148160,"note":"Value kept but may cause issues"} 
[2026-09-06 08:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834795856602228736,"note":"Value kept but may cause issues"} 
[2026-09-06 08:41:32] 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-09-06 08:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788664265000,"timestamp_ms":1788664265000,"timestamp_seconds":1788664265,"priority":1,"record_length":96,"hex_timestamp":"000001a074b2b928"} 
[2026-09-06 08:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:41: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-09-06 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 08:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:41:32] 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-09-06 08:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898049280001,"66":13624,"245":206,"85":15104,"24":45,"16":128819319181148160,"45":8834795856602228736},"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-09-06 08:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898049280001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:41:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128819319181148160,"km_value":128819319181148.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834795856602228736,"description":"Unknown IO ID 45"} 
[2026-09-06 08:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898049280001,"power":13624,"geofence_id":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8834795856602228736}} 
[2026-09-06 08:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":172328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:41:32] local.INFO: GPS data processed {"connection_id":172328,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:41:32] local.INFO: Acknowledgment sent {"connection_id":172328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:41:48] local.INFO: TCP Data received {"connection_id":175013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:41:48] local.INFO: Processing buffer {"connection_id":175013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:41:48] local.INFO: IMEI packet received {"connection_id":175013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":175013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:41:53] local.INFO: TCP Data received {"connection_id":175013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:41:53] local.INFO: Processing buffer {"connection_id":175013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:41:53] local.INFO: IMEI packet received {"connection_id":175013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":175013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:41:54] local.INFO: TCP Data received {"connection_id":175013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:41:54] local.INFO: Processing buffer {"connection_id":175013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:41:54] local.INFO: Packet analysis {"connection_id":175013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:41:54] local.INFO: Extracted packet for processing {"connection_id":175013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:41:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897923072001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:41:54] 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-09-06 08:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664063000,"timestamp_ms":1788664063000,"timestamp_seconds":1788664063,"priority":1,"record_length":96,"hex_timestamp":"000001a074afa418"} 
[2026-09-06 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-09-06 08:41: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-09-06 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 08:41:54] 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-09-06 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-09-06 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-09-06 08:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:41: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-09-06 08:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897923072001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897923072001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:41:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:41:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897923072001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":175013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:41:54] local.INFO: GPS data processed {"connection_id":175013,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:41:54] local.INFO: Acknowledgment sent {"connection_id":175013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:42:17] local.INFO: TCP Data received {"connection_id":172329,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:42:17] local.INFO: Processing buffer {"connection_id":172329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:42:17] local.INFO: IMEI packet received {"connection_id":172329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":172329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:42:22] local.INFO: TCP Data received {"connection_id":172329,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:42:22] local.INFO: Processing buffer {"connection_id":172329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:42:22] local.INFO: IMEI packet received {"connection_id":172329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":172329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:42:23] local.INFO: TCP Data received {"connection_id":172329,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b2d480012d7a9e8005d82440000401661d..."} 
[2026-09-06 08:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b2d480012d7a9e8005d82440000401661d..."} 
[2026-09-06 08:42:23] local.INFO: Processing buffer {"connection_id":172329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b2d480012d7a9e8005d82440000401661d..."} 
[2026-09-06 08:42:23] local.INFO: Packet analysis {"connection_id":172329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b2"} 
[2026-09-06 08:42:23] local.INFO: Extracted packet for processing {"connection_id":172329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b2"} 
[2026-09-06 08:42:23] local.INFO: GPS Element Parsed {"raw_longitude":763010688,"raw_latitude":98051136,"longitude_deg":76.3010688,"latitude_deg":9.8051136,"altitude":4,"angle":358,"satellites":29,"speed":49,"hex_longitude":"2d7a9e80","hex_latitude":"05d82440","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898051840001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128819731498008576,"note":"Value kept but may cause issues"} 
[2026-09-06 08:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834795856604645376,"note":"Value kept but may cause issues"} 
[2026-09-06 08:42:23] 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-09-06 08:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788664272000,"timestamp_ms":1788664272000,"timestamp_seconds":1788664272,"priority":1,"record_length":96,"hex_timestamp":"000001a074b2d480"} 
[2026-09-06 08:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-06 08:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:42: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-09-06 08:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898051840001,"66":13559,"245":206,"85":15104,"24":49,"16":128819731498008576,"45":8834795856604645376},"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-09-06 08:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898051840001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:42:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128819731498008576,"km_value":128819731498008.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834795856604645376,"description":"Unknown IO ID 45"} 
[2026-09-06 08:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898051840001,"power":13559,"geofence_id":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8834795856604645376}} 
[2026-09-06 08:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":172329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:42:23] local.INFO: GPS data processed {"connection_id":172329,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:42:23] local.INFO: Acknowledgment sent {"connection_id":172329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:42:25] local.INFO: TCP Data received {"connection_id":175013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:42:25] local.INFO: Processing buffer {"connection_id":175013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:42:25] local.INFO: Packet analysis {"connection_id":175013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:42:25] local.INFO: Extracted packet for processing {"connection_id":175013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:42:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897923072001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:42:25] 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-09-06 08:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664063000,"timestamp_ms":1788664063000,"timestamp_seconds":1788664063,"priority":1,"record_length":96,"hex_timestamp":"000001a074afa418"} 
[2026-09-06 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-09-06 08:42: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-09-06 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 08:42:25] 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-09-06 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-09-06 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-09-06 08:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:42: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-09-06 08:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897923072001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897923072001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:42:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:42:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897923072001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":175013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:42:25] local.INFO: GPS data processed {"connection_id":175013,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:42:25] local.INFO: Acknowledgment sent {"connection_id":175013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:42:48] local.INFO: TCP Data received {"connection_id":172330,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:42:48] local.INFO: Processing buffer {"connection_id":172330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:42:48] local.INFO: IMEI packet received {"connection_id":172330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":172330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:42:53] local.INFO: TCP Data received {"connection_id":172330,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:42:53] local.INFO: Processing buffer {"connection_id":172330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:42:53] local.INFO: IMEI packet received {"connection_id":172330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":172330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:42:54] local.INFO: TCP Data received {"connection_id":172329,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b40d00012d7a674005d990d8000801661d..."} 
[2026-09-06 08:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b40d00012d7a674005d990d8000801661d..."} 
[2026-09-06 08:42:54] local.INFO: Processing buffer {"connection_id":172329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b40d00012d7a674005d990d8000801661d..."} 
[2026-09-06 08:42:54] local.INFO: Packet analysis {"connection_id":172329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:42:54] local.INFO: Extracted packet for processing {"connection_id":172329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:42:54] local.INFO: GPS Element Parsed {"raw_longitude":762996544,"raw_latitude":98144472,"longitude_deg":76.2996544,"latitude_deg":9.8144472,"altitude":8,"angle":358,"satellites":29,"speed":57,"hex_longitude":"2d7a6740","hex_latitude":"05d990d8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898072832001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128824391537524736,"note":"Value kept but may cause issues"} 
[2026-09-06 08:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821073951514314752,"note":"Value kept but may cause issues"} 
[2026-09-06 08:42:54] 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-09-06 08:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664352000,"timestamp_ms":1788664352000,"timestamp_seconds":1788664352,"priority":1,"record_length":96,"hex_timestamp":"000001a074b40d00"} 
[2026-09-06 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-09-06 08:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-06 08:42:54] 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-09-06 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-09-06 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-09-06 08:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:42:54] 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-09-06 08:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898072832001,"66":13298,"231":206,"85":15104,"24":57,"16":128824391537524736,"45":8821073951514314752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,45]} 
[2026-09-06 08:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898072832001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:42:54] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-06 08:42:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128824391537524736,"km_value":128824391537524.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821073951514314752,"description":"Unknown IO ID 45"} 
[2026-09-06 08:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898072832001,"power":13298,"unknown_231":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8821073951514314752}} 
[2026-09-06 08:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":172329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:42:54] local.INFO: GPS data processed {"connection_id":172329,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:42:54] local.INFO: Acknowledgment sent {"connection_id":172329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:42:54] local.INFO: TCP Data received {"connection_id":172330,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:42:54] local.INFO: Processing buffer {"connection_id":172330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074afa418012d532d00064970480006014728..."} 
[2026-09-06 08:42:54] local.INFO: Packet analysis {"connection_id":172330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:42:54] local.INFO: Extracted packet for processing {"connection_id":172330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074af"} 
[2026-09-06 08:42:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457897923072001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:42:54] 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-09-06 08:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664063000,"timestamp_ms":1788664063000,"timestamp_seconds":1788664063,"priority":1,"record_length":96,"hex_timestamp":"000001a074afa418"} 
[2026-09-06 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-09-06 08:42: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-09-06 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-06 08:42:54] 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-09-06 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-09-06 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-09-06 08:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:42: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-09-06 08:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457897923072001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457897923072001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:42:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:42:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457897923072001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":172330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:42:54] local.INFO: GPS data processed {"connection_id":172330,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:42:54] local.INFO: Acknowledgment sent {"connection_id":172330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:43:14] local.INFO: TCP Data received {"connection_id":172331,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:43:14] local.INFO: Processing buffer {"connection_id":172331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:43:14] local.INFO: IMEI packet received {"connection_id":172331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":172331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:43:15] local.INFO: TCP Data received {"connection_id":172331,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b11b18012d18b18007246b300029015722..."} 
[2026-09-06 08:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b11b18012d18b18007246b300029015722..."} 
[2026-09-06 08:43:15] local.INFO: Processing buffer {"connection_id":172331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b11b18012d18b18007246b300029015722..."} 
[2026-09-06 08:43:15] local.INFO: Packet analysis {"connection_id":172331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b1"} 
[2026-09-06 08:43:15] local.INFO: Extracted packet for processing {"connection_id":172331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b1"} 
[2026-09-06 08:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827248,"longitude_deg":75.6593024,"latitude_deg":11.9827248,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b30","is_valid_coordinates":true} 
[2026-09-06 08:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898023680001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779414464696324096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788664159000,"timestamp_ms":1788664159000,"timestamp_seconds":1788664159,"priority":1,"record_length":96,"hex_timestamp":"000001a074b11b18"} 
[2026-09-06 08:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:43:15] 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-09-06 08:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 08:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898023680001,"66":13243,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779414464696324096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898023680001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:43:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779414464696324096,"description":"Unknown IO ID 45"} 
[2026-09-06 08:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898023680001,"power":13243,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779414464696324096}} 
[2026-09-06 08:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":172331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:43:15] local.INFO: GPS data processed {"connection_id":172331,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:43:15] local.INFO: Acknowledgment sent {"connection_id":172331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:43:22] local.INFO: TCP Data received {"connection_id":175015,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:43:22] local.INFO: Processing buffer {"connection_id":175015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:43:22] local.INFO: IMEI packet received {"connection_id":175015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":175015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:43:25] local.INFO: TCP Data received {"connection_id":172330,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:43:25] local.INFO: Processing buffer {"connection_id":172330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:43:25] local.INFO: Packet analysis {"connection_id":172330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:43:25] local.INFO: Extracted packet for processing {"connection_id":172330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:43:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898000128001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:25] 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-09-06 08:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664364000,"timestamp_ms":1788664364000,"timestamp_seconds":1788664364,"priority":1,"record_length":96,"hex_timestamp":"000001a074b43be0"} 
[2026-09-06 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-09-06 08:43: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-09-06 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:43:25] 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-09-06 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-09-06 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-09-06 08:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:43: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-09-06 08:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898000128001,"66":24962,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898000128001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:43:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:43:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898000128001,"power":24962,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":172330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:43:25] local.INFO: GPS data processed {"connection_id":172330,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:43:25] local.INFO: Acknowledgment sent {"connection_id":172330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:43:26] local.INFO: TCP Data received {"connection_id":175015,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:43:26] local.INFO: Processing buffer {"connection_id":175015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:43:26] local.INFO: IMEI packet received {"connection_id":175015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":175015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:43:28] local.INFO: TCP Data received {"connection_id":175015,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b42858012d7a654005d9b3c00008015f1d..."} 
[2026-09-06 08:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b42858012d7a654005d9b3c00008015f1d..."} 
[2026-09-06 08:43:28] local.INFO: Processing buffer {"connection_id":175015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b42858012d7a654005d9b3c00008015f1d..."} 
[2026-09-06 08:43:28] local.INFO: Packet analysis {"connection_id":175015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:43:28] local.INFO: Extracted packet for processing {"connection_id":175015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:43:28] local.INFO: GPS Element Parsed {"raw_longitude":762996032,"raw_latitude":98153408,"longitude_deg":76.2996032,"latitude_deg":9.8153408,"altitude":8,"angle":351,"satellites":29,"speed":43,"hex_longitude":"2d7a6540","hex_latitude":"05d9b3c0","is_valid_coordinates":true} 
[2026-09-06 08:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898074112001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128824825329221632,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820088789097568256,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:28] 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-09-06 08:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788664359000,"timestamp_ms":1788664359000,"timestamp_seconds":1788664359,"priority":1,"record_length":96,"hex_timestamp":"000001a074b42858"} 
[2026-09-06 08:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:43: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-09-06 08:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-06 08:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:43:28] 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-09-06 08:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898074112001,"66":13646,"231":206,"85":15104,"24":43,"16":128824825329221632,"45":8820088789097568256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,45]} 
[2026-09-06 08:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898074112001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:43:28] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-06 08:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128824825329221632,"km_value":128824825329221.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820088789097568256,"description":"Unknown IO ID 45"} 
[2026-09-06 08:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898074112001,"power":13646,"unknown_231":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8820088789097568256}} 
[2026-09-06 08:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":175015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:43:28] local.INFO: GPS data processed {"connection_id":175015,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:43:28] local.INFO: Acknowledgment sent {"connection_id":175015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:43:29] local.INFO: TCP Data received {"connection_id":175015,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b44f68012d7a5d0005d9d6280008015a1d..."} 
[2026-09-06 08:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b44f68012d7a5d0005d9d6280008015a1d..."} 
[2026-09-06 08:43:29] local.INFO: Processing buffer {"connection_id":175015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b44f68012d7a5d0005d9d6280008015a1d..."} 
[2026-09-06 08:43:29] local.INFO: Packet analysis {"connection_id":175015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:43:29] local.INFO: Extracted packet for processing {"connection_id":175015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:43:29] local.INFO: GPS Element Parsed {"raw_longitude":762993920,"raw_latitude":98162216,"longitude_deg":76.299392,"latitude_deg":9.8162216,"altitude":8,"angle":346,"satellites":29,"speed":32,"hex_longitude":"2d7a5d00","hex_latitude":"05d9d628","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898075904001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128825263415885824,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819525839146434560,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:29] 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-09-06 08:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788664369000,"timestamp_ms":1788664369000,"timestamp_seconds":1788664369,"priority":1,"record_length":96,"hex_timestamp":"000001a074b44f68"} 
[2026-09-06 08:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 08:43:29] 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-09-06 08: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-09-06 08:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:43:29] 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-09-06 08:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898075904001,"66":13972,"231":206,"85":15104,"24":32,"16":128825263415885824,"45":8819525839146434560},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,45]} 
[2026-09-06 08:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898075904001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:43:29] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-06 08:43:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128825263415885824,"km_value":128825263415885.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819525839146434560,"description":"Unknown IO ID 45"} 
[2026-09-06 08:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898075904001,"power":13972,"unknown_231":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8819525839146434560}} 
[2026-09-06 08:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":175015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:43:29] local.INFO: GPS data processed {"connection_id":175015,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:43:29] local.INFO: Acknowledgment sent {"connection_id":175015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:43:46] local.INFO: TCP Data received {"connection_id":172331,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b16938012d18b18007246b480029015723..."} 
[2026-09-06 08:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b16938012d18b18007246b480029015723..."} 
[2026-09-06 08:43:46] local.INFO: Processing buffer {"connection_id":172331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b16938012d18b18007246b480029015723..."} 
[2026-09-06 08:43:46] local.INFO: Packet analysis {"connection_id":172331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b1"} 
[2026-09-06 08:43:46] local.INFO: Extracted packet for processing {"connection_id":172331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b1"} 
[2026-09-06 08:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898024704001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952187392,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788664179000,"timestamp_ms":1788664179000,"timestamp_seconds":1788664179,"priority":1,"record_length":96,"hex_timestamp":"000001a074b16938"} 
[2026-09-06 08:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:43:46] 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-09-06 08:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-06 08:43:46] 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-09-06 08:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898024704001,"66":13156,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952187392},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898024704001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:43:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952187392,"description":"Unknown IO ID 45"} 
[2026-09-06 08:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898024704001,"power":13156,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952187392}} 
[2026-09-06 08:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":172331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:43:46] local.INFO: GPS data processed {"connection_id":172331,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:43:46] local.INFO: Acknowledgment sent {"connection_id":172331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:43:53] local.INFO: TCP Data received {"connection_id":172553,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:43:53] local.INFO: Processing buffer {"connection_id":172553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:43:53] local.INFO: IMEI packet received {"connection_id":172553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":172553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:43:58] local.INFO: TCP Data received {"connection_id":172553,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:43:58] local.INFO: Processing buffer {"connection_id":172553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:43:58] local.INFO: IMEI packet received {"connection_id":172553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":172553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:43:59] local.INFO: TCP Data received {"connection_id":172553,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:43:59] local.INFO: Processing buffer {"connection_id":172553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:43:59] local.INFO: Packet analysis {"connection_id":172553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:43:59] local.INFO: Extracted packet for processing {"connection_id":172553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:43:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898000128001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:43:59] 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-09-06 08:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788664364000,"timestamp_ms":1788664364000,"timestamp_seconds":1788664364,"priority":1,"record_length":96,"hex_timestamp":"000001a074b43be0"} 
[2026-09-06 08:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:43: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-09-06 08: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:43:59] 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-09-06 08: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-09-06 08:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898000128001,"66":24962,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898000128001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:43:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:43:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898000128001,"power":24962,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":172553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:43:59] local.INFO: GPS data processed {"connection_id":172553,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:43:59] local.INFO: Acknowledgment sent {"connection_id":172553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:44:01] local.INFO: TCP Data received {"connection_id":175015,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b47a60012d7a528005d9f768000801591c..."} 
[2026-09-06 08:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b47a60012d7a528005d9f768000801591c..."} 
[2026-09-06 08:44:01] local.INFO: Processing buffer {"connection_id":175015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b47a60012d7a528005d9f768000801591c..."} 
[2026-09-06 08:44:01] local.INFO: Packet analysis {"connection_id":175015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:44:01] local.INFO: Extracted packet for processing {"connection_id":175015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:44:01] local.INFO: GPS Element Parsed {"raw_longitude":762991232,"raw_latitude":98170728,"longitude_deg":76.2991232,"latitude_deg":9.8170728,"altitude":8,"angle":345,"satellites":28,"speed":32,"hex_longitude":"2d7a5280","hex_latitude":"05d9f768","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898078464001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128825697207582720,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817203670590826496,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:01] 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-09-06 08:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788664380000,"timestamp_ms":1788664380000,"timestamp_seconds":1788664380,"priority":1,"record_length":96,"hex_timestamp":"000001a074b47a60"} 
[2026-09-06 08:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-06 08:44:01] 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-09-06 08: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-09-06 08:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:44:01] 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-09-06 08:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898078464001,"66":13678,"231":206,"85":15104,"24":32,"16":128825697207582720,"45":8817203670590826496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,45]} 
[2026-09-06 08:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898078464001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:44:01] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-06 08:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128825697207582720,"km_value":128825697207582.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817203670590826496,"description":"Unknown IO ID 45"} 
[2026-09-06 08:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898078464001,"power":13678,"unknown_231":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8817203670590826496}} 
[2026-09-06 08:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":175015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:44:01] local.INFO: GPS data processed {"connection_id":175015,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:44:01] local.INFO: Acknowledgment sent {"connection_id":175015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:44:03] local.INFO: TCP Data received {"connection_id":172553,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:44:03] local.INFO: Processing buffer {"connection_id":172553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:44:03] local.INFO: Packet analysis {"connection_id":172553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:44:03] local.INFO: Extracted packet for processing {"connection_id":172553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:44:03] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898000128001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:03] 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-09-06 08:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788664364000,"timestamp_ms":1788664364000,"timestamp_seconds":1788664364,"priority":1,"record_length":96,"hex_timestamp":"000001a074b43be0"} 
[2026-09-06 08:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:44:03] 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-09-06 08:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898000128001,"66":24962,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898000128001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:44:03] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:44:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898000128001,"power":24962,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":172553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:44:03] local.INFO: GPS data processed {"connection_id":172553,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:44:03] local.INFO: Acknowledgment sent {"connection_id":172553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:44:09] local.INFO: TCP Data received {"connection_id":172332,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:44:09] local.INFO: Processing buffer {"connection_id":172332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:44:09] local.INFO: IMEI packet received {"connection_id":172332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":172332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:44:10] local.INFO: TCP Data received {"connection_id":172332,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:44:10] local.INFO: Processing buffer {"connection_id":172332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:44:10] local.INFO: IMEI packet received {"connection_id":172332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":172332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:44:14] local.INFO: TCP Data received {"connection_id":172332,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:44:14] local.INFO: Processing buffer {"connection_id":172332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:44:14] local.INFO: IMEI packet received {"connection_id":172332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":172332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:44:15] local.INFO: TCP Data received {"connection_id":172332,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b1b758012d18b18007246b480029015723..."} 
[2026-09-06 08:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b1b758012d18b18007246b480029015723..."} 
[2026-09-06 08:44:15] local.INFO: Processing buffer {"connection_id":172332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b1b758012d18b18007246b480029015723..."} 
[2026-09-06 08:44:15] local.INFO: Packet analysis {"connection_id":172332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b1"} 
[2026-09-06 08:44:15] local.INFO: Extracted packet for processing {"connection_id":172332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b1"} 
[2026-09-06 08:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898029824001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788664199000,"timestamp_ms":1788664199000,"timestamp_seconds":1788664199,"priority":1,"record_length":96,"hex_timestamp":"000001a074b1b758"} 
[2026-09-06 08:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:44:15] 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-09-06 08:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-06 08:44:15] 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-09-06 08:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898029824001,"66":13102,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898029824001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:44:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898029824001,"power":13102,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":172332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:44:15] local.INFO: GPS data processed {"connection_id":172332,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:44:15] local.INFO: Acknowledgment sent {"connection_id":172332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:44:16] local.INFO: TCP Data received {"connection_id":172333,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:44:16] local.INFO: Processing buffer {"connection_id":172333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:44:16] local.INFO: IMEI packet received {"connection_id":172333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":172333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:44:17] local.INFO: TCP Data received {"connection_id":172333,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:44:17] local.INFO: Processing buffer {"connection_id":172333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:44:17] local.INFO: IMEI packet received {"connection_id":172333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":172333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:44:18] local.INFO: TCP Data received {"connection_id":172333,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:44:18] local.INFO: Processing buffer {"connection_id":172333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:44:18] local.INFO: IMEI packet received {"connection_id":172333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":172333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:44:19] local.INFO: TCP Data received {"connection_id":172333,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b48618012d7a510005da00b8000901651d..."} 
[2026-09-06 08:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b48618012d7a510005da00b8000901651d..."} 
[2026-09-06 08:44:19] local.INFO: Processing buffer {"connection_id":172333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b48618012d7a510005da00b8000901651d..."} 
[2026-09-06 08:44:19] local.INFO: Packet analysis {"connection_id":172333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:44:19] local.INFO: Extracted packet for processing {"connection_id":172333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:44:19] local.INFO: GPS Element Parsed {"raw_longitude":762990848,"raw_latitude":98173112,"longitude_deg":76.2990848,"latitude_deg":9.8173112,"altitude":9,"angle":357,"satellites":29,"speed":33,"hex_longitude":"2d7a5100","hex_latitude":"05da00b8","is_valid_coordinates":true} 
[2026-09-06 08:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898081280001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128825813171699712,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814248183337543680,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:19] 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-09-06 08:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788664383000,"timestamp_ms":1788664383000,"timestamp_seconds":1788664383,"priority":1,"record_length":96,"hex_timestamp":"000001a074b48618"} 
[2026-09-06 08:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 08:44:19] 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-09-06 08:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":172333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":172333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":172333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:44:19] 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-09-06 08:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898081280001,"66":13602,"231":206,"85":15104,"24":33,"16":128825813171699712,"45":8814248183337543680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,45]} 
[2026-09-06 08:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898081280001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:44:19] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-06 08:44:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128825813171699712,"km_value":128825813171699.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814248183337543680,"description":"Unknown IO ID 45"} 
[2026-09-06 08:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898081280001,"power":13602,"unknown_231":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8814248183337543680}} 
[2026-09-06 08:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":172333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:44:19] local.INFO: GPS data processed {"connection_id":172333,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:44:19] local.INFO: Acknowledgment sent {"connection_id":172333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:44:46] local.INFO: TCP Data received {"connection_id":172332,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b20578012d18b18007246b480029015722..."} 
[2026-09-06 08:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b20578012d18b18007246b480029015722..."} 
[2026-09-06 08:44:46] local.INFO: Processing buffer {"connection_id":172332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b20578012d18b18007246b480029015722..."} 
[2026-09-06 08:44:46] local.INFO: Packet analysis {"connection_id":172332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b2"} 
[2026-09-06 08:44:46] local.INFO: Extracted packet for processing {"connection_id":172332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b2"} 
[2026-09-06 08:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898034944001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788664219000,"timestamp_ms":1788664219000,"timestamp_seconds":1788664219,"priority":1,"record_length":96,"hex_timestamp":"000001a074b20578"} 
[2026-09-06 08:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:44:46] 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-09-06 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 08:44:46] 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-09-06 08: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-09-06 08:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898034944001,"66":13048,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898034944001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:44:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898034944001,"power":13048,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":172332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:44:46] local.INFO: GPS data processed {"connection_id":172332,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:44:46] local.INFO: Acknowledgment sent {"connection_id":172332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:44:48] local.INFO: TCP Data received {"connection_id":175017,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:44:48] local.INFO: Processing buffer {"connection_id":175017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:44:48] local.INFO: IMEI packet received {"connection_id":175017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":175017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:44:49] local.INFO: TCP Data received {"connection_id":172333,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b5c668012d7a320005daa740000500651d..."} 
[2026-09-06 08:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b5c668012d7a320005daa740000500651d..."} 
[2026-09-06 08:44:50] local.INFO: Processing buffer {"connection_id":172333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b5c668012d7a320005daa740000500651d..."} 
[2026-09-06 08:44:50] local.INFO: Packet analysis {"connection_id":172333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b5"} 
[2026-09-06 08:44:50] local.INFO: Extracted packet for processing {"connection_id":172333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b5"} 
[2026-09-06 08:44:50] local.INFO: GPS Element Parsed {"raw_longitude":762982912,"raw_latitude":98215744,"longitude_deg":76.2982912,"latitude_deg":9.8215744,"altitude":5,"angle":101,"satellites":29,"speed":3,"hex_longitude":"2d7a3200","hex_latitude":"05daa740","is_valid_coordinates":true} 
[2026-09-06 08:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898102528001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128828029374824448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804889140373448704,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:50] 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-09-06 08:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788664465000,"timestamp_ms":1788664465000,"timestamp_seconds":1788664465,"priority":1,"record_length":96,"hex_timestamp":"000001a074b5c668"} 
[2026-09-06 08:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 08:44:50] 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-09-06 08:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:44:50] 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-09-06 08:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898102528001,"66":13189,"229":206,"85":15104,"24":3,"16":128828029374824448,"45":8804889140373448704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-06 08:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898102528001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:44:50] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-06 08:44:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128828029374824448,"km_value":128828029374824.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804889140373448704,"description":"Unknown IO ID 45"} 
[2026-09-06 08:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898102528001,"power":13189,"unknown_229":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8804889140373448704}} 
[2026-09-06 08:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":172333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:44:50] local.INFO: GPS data processed {"connection_id":172333,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:44:50] local.INFO: Acknowledgment sent {"connection_id":172333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:44:53] local.INFO: TCP Data received {"connection_id":175017,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:44:53] local.INFO: Processing buffer {"connection_id":175017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:44:53] local.INFO: IMEI packet received {"connection_id":175017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":175017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:44:54] local.INFO: TCP Data received {"connection_id":175017,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:44:54] local.INFO: Processing buffer {"connection_id":175017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:44:54] local.INFO: Packet analysis {"connection_id":175017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:44:54] local.INFO: Extracted packet for processing {"connection_id":175017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:44:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898000128001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:44:54] 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-09-06 08:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664364000,"timestamp_ms":1788664364000,"timestamp_seconds":1788664364,"priority":1,"record_length":96,"hex_timestamp":"000001a074b43be0"} 
[2026-09-06 08:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08: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-09-06 08: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:44:54] 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-09-06 08: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-09-06 08:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:44: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-09-06 08:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898000128001,"66":24962,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898000128001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:44:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:44:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898000128001,"power":24962,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":175017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:44:54] local.INFO: GPS data processed {"connection_id":175017,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:44:54] local.INFO: Acknowledgment sent {"connection_id":175017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:45:09] local.INFO: TCP Data received {"connection_id":172554,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:45:09] local.INFO: Processing buffer {"connection_id":172554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:45:09] local.INFO: IMEI packet received {"connection_id":172554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":172554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:45:12] local.INFO: TCP Data received {"connection_id":172554,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:45:12] local.INFO: Processing buffer {"connection_id":172554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:45:12] local.INFO: IMEI packet received {"connection_id":172554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":172554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:45:14] local.INFO: TCP Data received {"connection_id":172554,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:45:14] local.INFO: Processing buffer {"connection_id":172554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:45:14] local.INFO: IMEI packet received {"connection_id":172554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":172554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:45:15] local.INFO: TCP Data received {"connection_id":172554,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b564c0012d18b18007246b480029015722..."} 
[2026-09-06 08:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b564c0012d18b18007246b480029015722..."} 
[2026-09-06 08:45:15] local.INFO: Processing buffer {"connection_id":172554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b564c0012d18b18007246b480029015722..."} 
[2026-09-06 08:45:15] local.INFO: Packet analysis {"connection_id":172554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b5"} 
[2026-09-06 08:45:15] local.INFO: Extracted packet for processing {"connection_id":172554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b5"} 
[2026-09-06 08:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898091520001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788664440000,"timestamp_ms":1788664440000,"timestamp_seconds":1788664440,"priority":1,"record_length":96,"hex_timestamp":"000001a074b564c0"} 
[2026-09-06 08:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:45:15] 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-09-06 08:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-06 08:45:15] 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-09-06 08:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898091520001,"66":12558,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898091520001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:45:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898091520001,"power":12558,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":172554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:45:15] local.INFO: GPS data processed {"connection_id":172554,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:45:15] local.INFO: Acknowledgment sent {"connection_id":172554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:45:17] local.INFO: TCP Data received {"connection_id":173706,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:45:17] local.INFO: Processing buffer {"connection_id":173706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:45:17] local.INFO: IMEI packet received {"connection_id":173706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":173706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:45:23] local.INFO: TCP Data received {"connection_id":173706,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:45:23] local.INFO: Processing buffer {"connection_id":173706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:45:23] local.INFO: IMEI packet received {"connection_id":173706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":173706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:45:24] local.INFO: TCP Data received {"connection_id":173706,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b5d220012d7a32c005daa690000500891d..."} 
[2026-09-06 08:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b5d220012d7a32c005daa690000500891d..."} 
[2026-09-06 08:45:24] local.INFO: Processing buffer {"connection_id":173706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b5d220012d7a32c005daa690000500891d..."} 
[2026-09-06 08:45:24] local.INFO: Packet analysis {"connection_id":173706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b5"} 
[2026-09-06 08:45:24] local.INFO: Extracted packet for processing {"connection_id":173706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b5"} 
[2026-09-06 08:45:24] local.INFO: GPS Element Parsed {"raw_longitude":762983104,"raw_latitude":98215568,"longitude_deg":76.2983104,"latitude_deg":9.8215568,"altitude":5,"angle":137,"satellites":29,"speed":3,"hex_longitude":"2d7a32c0","hex_latitude":"05daa690","is_valid_coordinates":true} 
[2026-09-06 08:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898103040001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128828042259726336,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805100246605971456,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:24] 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-09-06 08:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788664468000,"timestamp_ms":1788664468000,"timestamp_seconds":1788664468,"priority":1,"record_length":96,"hex_timestamp":"000001a074b5d220"} 
[2026-09-06 08:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-06 08:45:24] 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-09-06 08:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:45:24] 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-09-06 08:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898103040001,"66":13678,"229":206,"85":15104,"24":3,"16":128828042259726336,"45":8805100246605971456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-06 08:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898103040001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:45:24] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-06 08:45:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128828042259726336,"km_value":128828042259726.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805100246605971456,"description":"Unknown IO ID 45"} 
[2026-09-06 08:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898103040001,"power":13678,"unknown_229":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8805100246605971456}} 
[2026-09-06 08:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":173706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:45:24] local.INFO: GPS data processed {"connection_id":173706,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:45:24] local.INFO: Acknowledgment sent {"connection_id":173706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:45:25] local.INFO: TCP Data received {"connection_id":175017,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:45:25] local.INFO: Processing buffer {"connection_id":175017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:45:25] local.INFO: Packet analysis {"connection_id":175017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:45:25] local.INFO: Extracted packet for processing {"connection_id":175017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:45:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898000128001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:25] 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-09-06 08:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664364000,"timestamp_ms":1788664364000,"timestamp_seconds":1788664364,"priority":1,"record_length":96,"hex_timestamp":"000001a074b43be0"} 
[2026-09-06 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-09-06 08: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-09-06 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:45:25] 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-09-06 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-09-06 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-09-06 08:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:45: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-09-06 08:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898000128001,"66":24962,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898000128001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:45:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:45:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898000128001,"power":24962,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":175017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:45:25] local.INFO: GPS data processed {"connection_id":175017,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:45:25] local.INFO: Acknowledgment sent {"connection_id":175017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:45:46] local.INFO: TCP Data received {"connection_id":172554,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b5b2e0012d18b18007246b48002901571d..."} 
[2026-09-06 08:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b5b2e0012d18b18007246b48002901571d..."} 
[2026-09-06 08:45:46] local.INFO: Processing buffer {"connection_id":172554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b5b2e0012d18b18007246b48002901571d..."} 
[2026-09-06 08:45:46] local.INFO: Packet analysis {"connection_id":172554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b5"} 
[2026-09-06 08:45:46] local.INFO: Extracted packet for processing {"connection_id":172554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b5"} 
[2026-09-06 08:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":29,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898096640001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788664460000,"timestamp_ms":1788664460000,"timestamp_seconds":1788664460,"priority":1,"record_length":96,"hex_timestamp":"000001a074b5b2e0"} 
[2026-09-06 08:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:45: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-09-06 08:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-06 08:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":32769,"corrected_to":0} 
[2026-09-06 08:45:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249542294581570376,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:46] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3022798849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712521422,"corrected_to":0} 
[2026-09-06 08:45:46] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2147951723,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:46] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366694,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:46] local.WARNING: Large IO value detected {"io_id":102,"raw_value":1369321145349707776,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:46] local.WARNING: Large IO value detected {"io_id":48,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,19,83,24,241,157,16,107,160,22,45,128,41,35,10,66,200,34,122,1,240,145,227,116,36,4,113,205,218,177,72,33,239,49,2,64,7,102,48,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":200,"original":32769,"validated":0},{"io_id":205,"original":1712521422,"validated":0}]} 
[2026-09-06 08:45:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954738634072260608,"timestamp_seconds":2954738634072260.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898096640001,"66":12548,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898096640001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:45:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898096640001,"power":12548,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":172554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:45:46] local.INFO: GPS data processed {"connection_id":172554,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:45:46] local.INFO: Acknowledgment sent {"connection_id":172554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:45:48] local.INFO: TCP Data received {"connection_id":175018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:45:48] local.INFO: Processing buffer {"connection_id":175018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:45:48] local.INFO: IMEI packet received {"connection_id":175018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":175018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:45:53] local.INFO: TCP Data received {"connection_id":175018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:45:53] local.INFO: Processing buffer {"connection_id":175018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:45:53] local.INFO: IMEI packet received {"connection_id":175018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":175018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:45:54] local.INFO: TCP Data received {"connection_id":175018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:45:54] local.INFO: Processing buffer {"connection_id":175018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:45:54] local.INFO: Packet analysis {"connection_id":175018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:45:54] local.INFO: Extracted packet for processing {"connection_id":175018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:45:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898000128001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:54] 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-09-06 08:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664364000,"timestamp_ms":1788664364000,"timestamp_seconds":1788664364,"priority":1,"record_length":96,"hex_timestamp":"000001a074b43be0"} 
[2026-09-06 08:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:45: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-09-06 08:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:45:54] 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-09-06 08:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:45: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-09-06 08:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898000128001,"66":24962,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898000128001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:45:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:45:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898000128001,"power":24962,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":175018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:45:54] local.INFO: GPS data processed {"connection_id":175018,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:45:54] local.INFO: Acknowledgment sent {"connection_id":175018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:45:55] local.INFO: TCP Data received {"connection_id":173706,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b6e778012d7a3d8005da96c0000600901c..."} 
[2026-09-06 08:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b6e778012d7a3d8005da96c0000600901c..."} 
[2026-09-06 08:45:55] local.INFO: Processing buffer {"connection_id":173706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b6e778012d7a3d8005da96c0000600901c..."} 
[2026-09-06 08:45:55] local.INFO: Packet analysis {"connection_id":173706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b6"} 
[2026-09-06 08:45:55] local.INFO: Extracted packet for processing {"connection_id":173706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b6"} 
[2026-09-06 08:45:55] local.INFO: GPS Element Parsed {"raw_longitude":762985856,"raw_latitude":98211520,"longitude_deg":76.2985856,"latitude_deg":9.821152,"altitude":6,"angle":144,"satellites":28,"speed":12,"hex_longitude":"2d7a3d80","hex_latitude":"05da96c0","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898120448001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128828368677240832,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807914996372707328,"note":"Value kept but may cause issues"} 
[2026-09-06 08:45:55] 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-09-06 08:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788664539000,"timestamp_ms":1788664539000,"timestamp_seconds":1788664539,"priority":1,"record_length":96,"hex_timestamp":"000001a074b6e778"} 
[2026-09-06 08:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 08:45:55] 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-09-06 08: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-09-06 08:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:45:55] 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-09-06 08:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898120448001,"66":12722,"229":206,"85":15104,"24":12,"16":128828368677240832,"45":8807914996372707328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-06 08:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898120448001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:45:55] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-06 08:45:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128828368677240832,"km_value":128828368677240.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807914996372707328,"description":"Unknown IO ID 45"} 
[2026-09-06 08:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898120448001,"power":12722,"unknown_229":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8807914996372707328}} 
[2026-09-06 08:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":173706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:45:55] local.INFO: GPS data processed {"connection_id":173706,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:45:55] local.INFO: Acknowledgment sent {"connection_id":173706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:46:09] local.INFO: TCP Data received {"connection_id":175019,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:46:09] local.INFO: Processing buffer {"connection_id":175019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:46:09] local.INFO: IMEI packet received {"connection_id":175019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":175019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:46:14] local.INFO: TCP Data received {"connection_id":175019,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:46:14] local.INFO: Processing buffer {"connection_id":175019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:46:14] local.INFO: IMEI packet received {"connection_id":175019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":175019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:46:15] local.INFO: TCP Data received {"connection_id":175019,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b60100012d18b18007246b48002901571f..."} 
[2026-09-06 08:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b60100012d18b18007246b48002901571f..."} 
[2026-09-06 08:46:15] local.INFO: Processing buffer {"connection_id":175019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b60100012d18b18007246b48002901571f..."} 
[2026-09-06 08:46:15] local.INFO: Packet analysis {"connection_id":175019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b6"} 
[2026-09-06 08:46:15] local.INFO: Extracted packet for processing {"connection_id":175019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b6"} 
[2026-09-06 08:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":31,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898101760001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788664480000,"timestamp_ms":1788664480000,"timestamp_seconds":1788664480,"priority":1,"record_length":96,"hex_timestamp":"000001a074b60100"} 
[2026-09-06 08:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:46: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-09-06 08: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":4,"data_length":795,"current_offset":136} 
[2026-09-06 08:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":32769,"corrected_to":0} 
[2026-09-06 08:46:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184211972301,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:15] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3027918849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712521422,"corrected_to":0} 
[2026-09-06 08:46:15] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2147951723,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:15] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748902,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:15] local.WARNING: Large IO value detected {"io_id":102,"raw_value":1369321145349707776,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:15] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,19,83,24,241,157,16,107,160,100,45,128,41,34,10,66,22,35,200,1,240,69,227,116,36,4,113,205,44,177,72,33,239,49,2,64,7,102],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":200,"original":32769,"validated":0},{"io_id":205,"original":1712521422,"validated":0}]} 
[2026-09-06 08:46:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954738612597424128,"timestamp_seconds":2954738612597424.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898101760001,"66":12461,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898101760001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:46:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898101760001,"power":12461,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":175019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:46:15] local.INFO: GPS data processed {"connection_id":175019,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:46:15] local.INFO: Acknowledgment sent {"connection_id":175019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:46:17] local.INFO: TCP Data received {"connection_id":172555,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:46:17] local.INFO: Processing buffer {"connection_id":172555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:46:17] local.INFO: IMEI packet received {"connection_id":172555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":172555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:46:22] local.INFO: TCP Data received {"connection_id":172555,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:46:22] local.INFO: Processing buffer {"connection_id":172555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:46:22] local.INFO: IMEI packet received {"connection_id":172555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":172555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:46:23] local.INFO: TCP Data received {"connection_id":172555,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b6eb60012d7a3e4005da95f8000600801c..."} 
[2026-09-06 08:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b6eb60012d7a3e4005da95f8000600801c..."} 
[2026-09-06 08:46:23] local.INFO: Processing buffer {"connection_id":172555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b6eb60012d7a3e4005da95f8000600801c..."} 
[2026-09-06 08:46:23] local.INFO: Packet analysis {"connection_id":172555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b6"} 
[2026-09-06 08:46:23] local.INFO: Extracted packet for processing {"connection_id":172555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b6"} 
[2026-09-06 08:46:23] local.INFO: GPS Element Parsed {"raw_longitude":762986048,"raw_latitude":98211320,"longitude_deg":76.2986048,"latitude_deg":9.821132,"altitude":6,"angle":128,"satellites":28,"speed":10,"hex_longitude":"2d7a3e40","hex_latitude":"05da95f8","is_valid_coordinates":true} 
[2026-09-06 08:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898121984001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128828385857110016,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808337208837062656,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:23] 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-09-06 08:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788664540000,"timestamp_ms":1788664540000,"timestamp_seconds":1788664540,"priority":1,"record_length":96,"hex_timestamp":"000001a074b6eb60"} 
[2026-09-06 08:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 08:46:23] 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-09-06 08:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:46: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-09-06 08:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898121984001,"66":12722,"229":206,"85":15104,"24":10,"16":128828385857110016,"45":8808337208837062656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-06 08:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898121984001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:46:23] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-06 08:46:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128828385857110016,"km_value":128828385857110.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808337208837062656,"description":"Unknown IO ID 45"} 
[2026-09-06 08:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898121984001,"power":12722,"unknown_229":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8808337208837062656}} 
[2026-09-06 08:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":172555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:46:23] local.INFO: GPS data processed {"connection_id":172555,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:46:23] local.INFO: Acknowledgment sent {"connection_id":172555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:46:25] local.INFO: TCP Data received {"connection_id":175018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:46:25] local.INFO: Processing buffer {"connection_id":175018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:46:25] local.INFO: Packet analysis {"connection_id":175018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:46:25] local.INFO: Extracted packet for processing {"connection_id":175018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:46:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898000128001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:25] 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-09-06 08:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664364000,"timestamp_ms":1788664364000,"timestamp_seconds":1788664364,"priority":1,"record_length":96,"hex_timestamp":"000001a074b43be0"} 
[2026-09-06 08:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:46: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-09-06 08: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:46:25] 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-09-06 08: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-09-06 08:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:46: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-09-06 08:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898000128001,"66":24962,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898000128001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:46:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:46:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898000128001,"power":24962,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":175018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:46:25] local.INFO: GPS data processed {"connection_id":175018,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:46:25] local.INFO: Acknowledgment sent {"connection_id":175018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:46:46] local.INFO: TCP Data received {"connection_id":175019,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b64f20012d18b18007246b480029015723..."} 
[2026-09-06 08:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b64f20012d18b18007246b480029015723..."} 
[2026-09-06 08:46:46] local.INFO: Processing buffer {"connection_id":175019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b64f20012d18b18007246b480029015723..."} 
[2026-09-06 08:46:46] local.INFO: Packet analysis {"connection_id":175019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b6"} 
[2026-09-06 08:46:46] local.INFO: Extracted packet for processing {"connection_id":175019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b6"} 
[2026-09-06 08:46:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898106880001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788664500000,"timestamp_ms":1788664500000,"timestamp_seconds":1788664500,"priority":1,"record_length":96,"hex_timestamp":"000001a074b64f20"} 
[2026-09-06 08:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:46: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-09-06 08: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 08:46:46] 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-09-06 08: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-09-06 08:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898106880001,"66":12504,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898106880001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:46:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898106880001,"power":12504,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":175019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:46:46] local.INFO: GPS data processed {"connection_id":175019,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:46:46] local.INFO: Acknowledgment sent {"connection_id":175019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:46:48] local.INFO: TCP Data received {"connection_id":172335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:46:48] local.INFO: Processing buffer {"connection_id":172335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:46:48] local.INFO: IMEI packet received {"connection_id":172335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":172335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:46:53] local.INFO: TCP Data received {"connection_id":172334,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:46:53] local.INFO: Processing buffer {"connection_id":172334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:46:53] local.INFO: IMEI packet received {"connection_id":172334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 08:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":172334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:46:53] local.INFO: TCP Data received {"connection_id":172335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:46:53] local.INFO: Processing buffer {"connection_id":172335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:46:53] local.INFO: IMEI packet received {"connection_id":172335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":172335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:46:54] local.INFO: TCP Data received {"connection_id":172335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:46:54] local.INFO: Processing buffer {"connection_id":172335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:46:54] local.INFO: Packet analysis {"connection_id":172335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:46:54] local.INFO: Extracted packet for processing {"connection_id":172335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:46:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898000128001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:54] 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-09-06 08:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664364000,"timestamp_ms":1788664364000,"timestamp_seconds":1788664364,"priority":1,"record_length":96,"hex_timestamp":"000001a074b43be0"} 
[2026-09-06 08:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:46: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-09-06 08: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:46:54] 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-09-06 08: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-09-06 08:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:46: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-09-06 08:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898000128001,"66":24962,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898000128001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:46:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:46:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898000128001,"power":24962,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":172335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:46:54] local.INFO: GPS data processed {"connection_id":172335,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:46:54] local.INFO: Acknowledgment sent {"connection_id":172335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:46:54] local.INFO: TCP Data received {"connection_id":172555,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b6ef48012d7a3f4005da9580000600721c..."} 
[2026-09-06 08:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b6ef48012d7a3f4005da9580000600721c..."} 
[2026-09-06 08:46:54] local.INFO: Processing buffer {"connection_id":172555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b6ef48012d7a3f4005da9580000600721c..."} 
[2026-09-06 08:46:54] local.INFO: Packet analysis {"connection_id":172555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b6"} 
[2026-09-06 08:46:54] local.INFO: Extracted packet for processing {"connection_id":172555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b6"} 
[2026-09-06 08:46:54] local.INFO: GPS Element Parsed {"raw_longitude":762986304,"raw_latitude":98211200,"longitude_deg":76.2986304,"latitude_deg":9.82112,"altitude":6,"angle":114,"satellites":28,"speed":7,"hex_longitude":"2d7a3f40","hex_latitude":"05da9580","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898122240001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128828394447044608,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808548315069544448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:46:54] 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-09-06 08:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664541000,"timestamp_ms":1788664541000,"timestamp_seconds":1788664541,"priority":1,"record_length":96,"hex_timestamp":"000001a074b6ef48"} 
[2026-09-06 08:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 08:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:46:54] 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-09-06 08:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898122240001,"66":12863,"229":206,"85":15104,"24":7,"16":128828394447044608,"45":8808548315069544448},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-06 08:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898122240001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:46:54] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-06 08:46:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128828394447044608,"km_value":128828394447044.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808548315069544448,"description":"Unknown IO ID 45"} 
[2026-09-06 08:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898122240001,"power":12863,"unknown_229":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8808548315069544448}} 
[2026-09-06 08:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":172555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:46:54] local.INFO: GPS data processed {"connection_id":172555,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:46:54] local.INFO: Acknowledgment sent {"connection_id":172555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:47:14] local.INFO: TCP Data received {"connection_id":175020,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:47:14] local.INFO: Processing buffer {"connection_id":175020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:47:14] local.INFO: IMEI packet received {"connection_id":175020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":175020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:47:16] local.INFO: TCP Data received {"connection_id":173707,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:47:16] local.INFO: Processing buffer {"connection_id":173707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:47:16] local.INFO: IMEI packet received {"connection_id":173707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 08:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":173707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:47:17] local.INFO: TCP Data received {"connection_id":173708,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:47:17] local.INFO: Processing buffer {"connection_id":173708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:47:17] local.INFO: IMEI packet received {"connection_id":173708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":173708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:47:18] local.INFO: TCP Data received {"connection_id":175020,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:47:18] local.INFO: Processing buffer {"connection_id":175020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:47:18] local.INFO: IMEI packet received {"connection_id":175020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":175020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:47:19] local.INFO: TCP Data received {"connection_id":175020,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b69d40012d18b18007246b480029015721..."} 
[2026-09-06 08:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b69d40012d18b18007246b480029015721..."} 
[2026-09-06 08:47:19] local.INFO: Processing buffer {"connection_id":175020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b69d40012d18b18007246b480029015721..."} 
[2026-09-06 08:47:19] local.INFO: Packet analysis {"connection_id":175020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b6"} 
[2026-09-06 08:47:19] local.INFO: Extracted packet for processing {"connection_id":175020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b6"} 
[2026-09-06 08:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":33,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898112000001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788664520000,"timestamp_ms":1788664520000,"timestamp_seconds":1788664520,"priority":1,"record_length":96,"hex_timestamp":"000001a074b69d40"} 
[2026-09-06 08:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:47: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-09-06 08:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 08:47:19] 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-09-06 08:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898112000001,"66":12461,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898112000001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:47:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:47:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898112000001,"power":12461,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":175020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:47:19] local.INFO: GPS data processed {"connection_id":175020,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:47:19] local.INFO: Acknowledgment sent {"connection_id":175020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:47:19] local.INFO: TCP Data received {"connection_id":175020,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b6eb60012d18b18007246b480029015721..."} 
[2026-09-06 08:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b6eb60012d18b18007246b480029015721..."} 
[2026-09-06 08:47:19] local.INFO: Processing buffer {"connection_id":175020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b6eb60012d18b18007246b480029015721..."} 
[2026-09-06 08:47:19] local.INFO: Packet analysis {"connection_id":175020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b6"} 
[2026-09-06 08:47:19] local.INFO: Extracted packet for processing {"connection_id":175020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b6"} 
[2026-09-06 08:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":33,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898117120001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788664540000,"timestamp_ms":1788664540000,"timestamp_seconds":1788664540,"priority":1,"record_length":96,"hex_timestamp":"000001a074b6eb60"} 
[2026-09-06 08:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:47: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-09-06 08:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 08:47:19] 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-09-06 08:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898117120001,"66":12439,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898117120001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:47:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:47:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898117120001,"power":12439,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":175020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:47:20] local.INFO: GPS data processed {"connection_id":175020,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:47:20] local.INFO: Acknowledgment sent {"connection_id":175020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:47:22] local.INFO: TCP Data received {"connection_id":173708,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:47:22] local.INFO: Processing buffer {"connection_id":173708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:47:22] local.INFO: IMEI packet received {"connection_id":173708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":173708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:47:23] local.INFO: TCP Data received {"connection_id":173708,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b73d68012d7a400005da9520000500721c..."} 
[2026-09-06 08:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b73d68012d7a400005da9520000500721c..."} 
[2026-09-06 08:47:23] local.INFO: Processing buffer {"connection_id":173708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b73d68012d7a400005da9520000500721c..."} 
[2026-09-06 08:47:23] local.INFO: Packet analysis {"connection_id":173708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b7"} 
[2026-09-06 08:47:23] local.INFO: Extracted packet for processing {"connection_id":173708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b7"} 
[2026-09-06 08:47:23] local.INFO: GPS Element Parsed {"raw_longitude":762986496,"raw_latitude":98211104,"longitude_deg":76.2986496,"latitude_deg":9.8211104,"altitude":5,"angle":114,"satellites":28,"speed":0,"hex_longitude":"2d7a4000","hex_latitude":"05da9520","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898122496001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128828407331946496,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808829790046224384,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:23] 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-09-06 08:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788664561000,"timestamp_ms":1788664561000,"timestamp_seconds":1788664561,"priority":1,"record_length":96,"hex_timestamp":"000001a074b73d68"} 
[2026-09-06 08:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 08:47:23] 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-09-06 08: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-09-06 08:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:47: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-09-06 08:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898122496001,"66":13243,"229":206,"85":15104,"24":0,"16":128828407331946496,"45":8808829790046224384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-06 08:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898122496001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:47:23] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-06 08:47:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128828407331946496,"km_value":128828407331946.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808829790046224384,"description":"Unknown IO ID 45"} 
[2026-09-06 08:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898122496001,"power":13243,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8808829790046224384}} 
[2026-09-06 08:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":173708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:47:23] local.INFO: GPS data processed {"connection_id":173708,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:47:23] local.INFO: Acknowledgment sent {"connection_id":173708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:47:25] local.INFO: TCP Data received {"connection_id":172335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:47:25] local.INFO: Processing buffer {"connection_id":172335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:47:25] local.INFO: Packet analysis {"connection_id":172335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:47:25] local.INFO: Extracted packet for processing {"connection_id":172335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:47:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898000128001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:25] 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-09-06 08:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664364000,"timestamp_ms":1788664364000,"timestamp_seconds":1788664364,"priority":1,"record_length":96,"hex_timestamp":"000001a074b43be0"} 
[2026-09-06 08:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:47:25] 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-09-06 08:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:47: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-09-06 08:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898000128001,"66":24962,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898000128001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:47:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:47:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898000128001,"power":24962,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":172335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:47:25] local.INFO: GPS data processed {"connection_id":172335,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:47:25] local.INFO: Acknowledgment sent {"connection_id":172335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:47:48] local.INFO: TCP Data received {"connection_id":172556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:47:48] local.INFO: Processing buffer {"connection_id":172556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:47:48] local.INFO: IMEI packet received {"connection_id":172556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":172556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:47:51] local.INFO: TCP Data received {"connection_id":175020,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b73980012d18b18007246b48002901571f..."} 
[2026-09-06 08:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b73980012d18b18007246b48002901571f..."} 
[2026-09-06 08:47:51] local.INFO: Processing buffer {"connection_id":175020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b73980012d18b18007246b48002901571f..."} 
[2026-09-06 08:47:51] local.INFO: Packet analysis {"connection_id":175020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b7"} 
[2026-09-06 08:47:51] local.INFO: Extracted packet for processing {"connection_id":175020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b7"} 
[2026-09-06 08:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":31,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898122240001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788664560000,"timestamp_ms":1788664560000,"timestamp_seconds":1788664560,"priority":1,"record_length":96,"hex_timestamp":"000001a074b73980"} 
[2026-09-06 08:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-06 08:47:51] 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-09-06 08: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-09-06 08:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898122240001,"66":12439,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898122240001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:47:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898122240001,"power":12439,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":175020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:47:51] local.INFO: GPS data processed {"connection_id":175020,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:47:51] local.INFO: Acknowledgment sent {"connection_id":175020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:47:53] local.INFO: TCP Data received {"connection_id":172556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:47:53] local.INFO: Processing buffer {"connection_id":172556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:47:53] local.INFO: IMEI packet received {"connection_id":172556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":172556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:47:54] local.INFO: TCP Data received {"connection_id":173708,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b78f70012d7a400005da9520000500721f..."} 
[2026-09-06 08:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b78f70012d7a400005da9520000500721f..."} 
[2026-09-06 08:47:54] local.INFO: Processing buffer {"connection_id":173708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b78f70012d7a400005da9520000500721f..."} 
[2026-09-06 08:47:54] local.INFO: Packet analysis {"connection_id":173708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b7"} 
[2026-09-06 08:47:54] local.INFO: Extracted packet for processing {"connection_id":173708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b7"} 
[2026-09-06 08:47:54] local.INFO: GPS Element Parsed {"raw_longitude":762986496,"raw_latitude":98211104,"longitude_deg":76.2986496,"latitude_deg":9.8211104,"altitude":5,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d7a4000","hex_latitude":"05da9520","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898127616001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128828407331946496,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040896278732800,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:54] 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-09-06 08:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664582000,"timestamp_ms":1788664582000,"timestamp_seconds":1788664582,"priority":1,"record_length":96,"hex_timestamp":"000001a074b78f70"} 
[2026-09-06 08:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-06 08:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:47:54] 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-09-06 08:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898127616001,"66":13406,"229":206,"85":15104,"24":0,"16":128828407331946496,"45":8809040896278732800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-06 08:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898127616001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:47:54] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-06 08:47:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128828407331946496,"km_value":128828407331946.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809040896278732800,"description":"Unknown IO ID 45"} 
[2026-09-06 08:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898127616001,"power":13406,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8809040896278732800}} 
[2026-09-06 08:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":173708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:47:54] local.INFO: GPS data processed {"connection_id":173708,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:47:54] local.INFO: Acknowledgment sent {"connection_id":173708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:47:54] local.INFO: TCP Data received {"connection_id":172556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:47:54] local.INFO: Processing buffer {"connection_id":172556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b43be0012d532d00064970480006014727..."} 
[2026-09-06 08:47:54] local.INFO: Packet analysis {"connection_id":172556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:47:54] local.INFO: Extracted packet for processing {"connection_id":172556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b4"} 
[2026-09-06 08:47:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898000128001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:47:54] 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-09-06 08:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664364000,"timestamp_ms":1788664364000,"timestamp_seconds":1788664364,"priority":1,"record_length":96,"hex_timestamp":"000001a074b43be0"} 
[2026-09-06 08:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:47: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-09-06 08: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 08:47:54] 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-09-06 08: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-09-06 08:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:47: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-09-06 08:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898000128001,"66":24962,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898000128001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:47:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:47:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898000128001,"power":24962,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":172556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:47:54] local.INFO: GPS data processed {"connection_id":172556,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:47:54] local.INFO: Acknowledgment sent {"connection_id":172556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:48:10] local.INFO: TCP Data received {"connection_id":175021,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:48:10] local.INFO: Processing buffer {"connection_id":175021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:48:10] local.INFO: IMEI packet received {"connection_id":175021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":175021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:48:14] local.INFO: TCP Data received {"connection_id":175021,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:48:14] local.INFO: Processing buffer {"connection_id":175021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:48:14] local.INFO: IMEI packet received {"connection_id":175021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":175021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:48:17] local.INFO: TCP Data received {"connection_id":172558,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:48:17] local.INFO: Processing buffer {"connection_id":172558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:48:17] local.INFO: IMEI packet received {"connection_id":172558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":172558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:48:18] local.INFO: TCP Data received {"connection_id":175021,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b787a0012d18b18007246b48002901571d..."} 
[2026-09-06 08:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b787a0012d18b18007246b48002901571d..."} 
[2026-09-06 08:48:18] local.INFO: Processing buffer {"connection_id":175021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b787a0012d18b18007246b48002901571d..."} 
[2026-09-06 08:48:18] local.INFO: Packet analysis {"connection_id":175021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b7"} 
[2026-09-06 08:48:18] local.INFO: Extracted packet for processing {"connection_id":175021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b7"} 
[2026-09-06 08:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":29,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898127360001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788664580000,"timestamp_ms":1788664580000,"timestamp_seconds":1788664580,"priority":1,"record_length":96,"hex_timestamp":"000001a074b787a0"} 
[2026-09-06 08:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:48:18] 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-09-06 08:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-06 08:48:18] 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-09-06 08:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898127360001,"66":12341,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898127360001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:48:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898127360001,"power":12341,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":175021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:48:18] local.INFO: GPS data processed {"connection_id":175021,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:48:18] local.INFO: Acknowledgment sent {"connection_id":175021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:48:21] local.INFO: TCP Data received {"connection_id":172558,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:48:21] local.INFO: Processing buffer {"connection_id":172558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:48:21] local.INFO: IMEI packet received {"connection_id":172558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":172558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:48:22] local.INFO: TCP Data received {"connection_id":172558,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b7a6e0012d7a424005da95000006005420..."} 
[2026-09-06 08:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b7a6e0012d7a424005da95000006005420..."} 
[2026-09-06 08:48:22] local.INFO: Processing buffer {"connection_id":172558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b7a6e0012d7a424005da95000006005420..."} 
[2026-09-06 08:48:22] local.INFO: Packet analysis {"connection_id":172558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b7"} 
[2026-09-06 08:48:22] local.INFO: Extracted packet for processing {"connection_id":172558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b7"} 
[2026-09-06 08:48:22] local.INFO: GPS Element Parsed {"raw_longitude":762987072,"raw_latitude":98211072,"longitude_deg":76.2987072,"latitude_deg":9.8211072,"altitude":6,"angle":84,"satellites":32,"speed":7,"hex_longitude":"2d7a4240","hex_latitude":"05da9500","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898132992001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128828433101750272,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040896278732800,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:22] 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-09-06 08:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788664588000,"timestamp_ms":1788664588000,"timestamp_seconds":1788664588,"priority":1,"record_length":96,"hex_timestamp":"000001a074b7a6e0"} 
[2026-09-06 08:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-06 08:48:22] 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-09-06 08: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-09-06 08:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:48: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-09-06 08:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898132992001,"66":13559,"229":206,"85":15104,"24":7,"16":128828433101750272,"45":8809040896278732800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-06 08:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898132992001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:48:22] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-06 08:48:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128828433101750272,"km_value":128828433101750.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809040896278732800,"description":"Unknown IO ID 45"} 
[2026-09-06 08:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898132992001,"power":13559,"unknown_229":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8809040896278732800}} 
[2026-09-06 08:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":172558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:48:22] local.INFO: GPS data processed {"connection_id":172558,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:48:22] local.INFO: Acknowledgment sent {"connection_id":172558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:48:25] local.INFO: TCP Data received {"connection_id":172556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:48:25] local.INFO: Processing buffer {"connection_id":172556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:48:25] local.INFO: Packet analysis {"connection_id":172556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:48:25] local.INFO: Extracted packet for processing {"connection_id":172556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:48:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898077184001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:25] 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-09-06 08:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664665000,"timestamp_ms":1788664665000,"timestamp_seconds":1788664665,"priority":1,"record_length":96,"hex_timestamp":"000001a074b8d3a8"} 
[2026-09-06 08:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:48: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-09-06 08: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-06 08:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:48: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-09-06 08:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898077184001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898077184001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:48:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:48:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898077184001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":172556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:48:25] local.INFO: GPS data processed {"connection_id":172556,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:48:25] local.INFO: Acknowledgment sent {"connection_id":172556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:48:48] local.INFO: TCP Data received {"connection_id":172336,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:48:48] local.INFO: Processing buffer {"connection_id":172336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:48:48] local.INFO: IMEI packet received {"connection_id":172336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":172336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:48:49] local.INFO: TCP Data received {"connection_id":175021,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b7d5c0012d18b18007246b480029015721..."} 
[2026-09-06 08:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b7d5c0012d18b18007246b480029015721..."} 
[2026-09-06 08:48:49] local.INFO: Processing buffer {"connection_id":175021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b7d5c0012d18b18007246b480029015721..."} 
[2026-09-06 08:48:49] local.INFO: Packet analysis {"connection_id":175021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b7"} 
[2026-09-06 08:48:49] local.INFO: Extracted packet for processing {"connection_id":175021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b7"} 
[2026-09-06 08:48:49] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":33,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898132480001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788664600000,"timestamp_ms":1788664600000,"timestamp_seconds":1788664600,"priority":1,"record_length":96,"hex_timestamp":"000001a074b7d5c0"} 
[2026-09-06 08:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:48:49] 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-09-06 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-06 08:48:49] 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-09-06 08: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-09-06 08:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898132480001,"66":12406,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898132480001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:48:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898132480001,"power":12406,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":175021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:48:49] local.INFO: GPS data processed {"connection_id":175021,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:48:49] local.INFO: Acknowledgment sent {"connection_id":175021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:48:53] local.INFO: TCP Data received {"connection_id":172336,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:48:53] local.INFO: Processing buffer {"connection_id":172336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:48:53] local.INFO: IMEI packet received {"connection_id":172336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":172336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:48:53] local.INFO: TCP Data received {"connection_id":172558,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b7e948012d7a68c005da97e8000500521e..."} 
[2026-09-06 08:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b7e948012d7a68c005da97e8000500521e..."} 
[2026-09-06 08:48:53] local.INFO: Processing buffer {"connection_id":172558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b7e948012d7a68c005da97e8000500521e..."} 
[2026-09-06 08:48:53] local.INFO: Packet analysis {"connection_id":172558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b7"} 
[2026-09-06 08:48:53] local.INFO: Extracted packet for processing {"connection_id":172558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b7"} 
[2026-09-06 08:48:53] local.INFO: GPS Element Parsed {"raw_longitude":762996928,"raw_latitude":98211816,"longitude_deg":76.2996928,"latitude_deg":9.8211816,"altitude":5,"angle":82,"satellites":30,"speed":37,"hex_longitude":"2d7a68c0","hex_latitude":"05da97e8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898134528001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128828905548152832,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809674214976323584,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:53] 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-09-06 08:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788664605000,"timestamp_ms":1788664605000,"timestamp_seconds":1788664605,"priority":1,"record_length":96,"hex_timestamp":"000001a074b7e948"} 
[2026-09-06 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-09-06 08:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 08:48:53] 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-09-06 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-09-06 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-09-06 08:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:48:53] 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-09-06 08:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898134528001,"66":13406,"229":206,"85":15104,"24":37,"16":128828905548152832,"45":8809674214976323584},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-06 08:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898134528001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:48:53] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-06 08:48:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128828905548152832,"km_value":128828905548152.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809674214976323584,"description":"Unknown IO ID 45"} 
[2026-09-06 08:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898134528001,"power":13406,"unknown_229":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8809674214976323584}} 
[2026-09-06 08:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":172558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:48:53] local.INFO: GPS data processed {"connection_id":172558,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:48:53] local.INFO: Acknowledgment sent {"connection_id":172558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:48:54] local.INFO: TCP Data received {"connection_id":172336,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:48:54] local.INFO: Processing buffer {"connection_id":172336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:48:54] local.INFO: Packet analysis {"connection_id":172336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:48:54] local.INFO: Extracted packet for processing {"connection_id":172336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:48:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898077184001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:48:54] 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-09-06 08:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664665000,"timestamp_ms":1788664665000,"timestamp_seconds":1788664665,"priority":1,"record_length":96,"hex_timestamp":"000001a074b8d3a8"} 
[2026-09-06 08:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:48: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-09-06 08: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-06 08:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:48: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-09-06 08:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898077184001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898077184001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:48:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:48:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898077184001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":172336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:48:54] local.INFO: GPS data processed {"connection_id":172336,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:48:54] local.INFO: Acknowledgment sent {"connection_id":172336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:49:10] local.INFO: TCP Data received {"connection_id":175022,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:49:10] local.INFO: Processing buffer {"connection_id":175022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:49:10] local.INFO: IMEI packet received {"connection_id":175022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":175022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:49:15] local.INFO: TCP Data received {"connection_id":175022,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:49:15] local.INFO: Processing buffer {"connection_id":175022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:49:15] local.INFO: IMEI packet received {"connection_id":175022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":175022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:49:15] local.INFO: TCP Data received {"connection_id":175022,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b827c8012d18b18007246b480029015722..."} 
[2026-09-06 08:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b827c8012d18b18007246b480029015722..."} 
[2026-09-06 08:49:15] local.INFO: Processing buffer {"connection_id":175022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b827c8012d18b18007246b480029015722..."} 
[2026-09-06 08:49:15] local.INFO: Packet analysis {"connection_id":175022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:49:15] local.INFO: Extracted packet for processing {"connection_id":175022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898137600001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788664621000,"timestamp_ms":1788664621000,"timestamp_seconds":1788664621,"priority":1,"record_length":96,"hex_timestamp":"000001a074b827c8"} 
[2026-09-06 08:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:49:15] 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-09-06 08:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 08:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898137600001,"66":12385,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898137600001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:49:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898137600001,"power":12385,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":175022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:49:15] local.INFO: GPS data processed {"connection_id":175022,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:49:15] local.INFO: Acknowledgment sent {"connection_id":175022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:49:17] local.INFO: TCP Data received {"connection_id":172338,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:49:17] local.INFO: Processing buffer {"connection_id":172338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:49:17] local.INFO: IMEI packet received {"connection_id":172338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":172338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:49:17] local.INFO: TCP Data received {"connection_id":172338,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:49:17] local.INFO: Processing buffer {"connection_id":172338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:49:17] local.INFO: IMEI packet received {"connection_id":172338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":172338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:49:22] local.INFO: TCP Data received {"connection_id":172338,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:49:22] local.INFO: Processing buffer {"connection_id":172338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:49:22] local.INFO: IMEI packet received {"connection_id":172338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":172338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:49:23] local.INFO: TCP Data received {"connection_id":172338,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b81440012d7a8c0005daa1e80005004820..."} 
[2026-09-06 08:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b81440012d7a8c0005daa1e80005004820..."} 
[2026-09-06 08:49:23] local.INFO: Processing buffer {"connection_id":172338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b81440012d7a8c0005daa1e80005004820..."} 
[2026-09-06 08:49:23] local.INFO: Packet analysis {"connection_id":172338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:49:23] local.INFO: Extracted packet for processing {"connection_id":172338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:49:23] local.INFO: GPS Element Parsed {"raw_longitude":763005952,"raw_latitude":98214376,"longitude_deg":76.3005952,"latitude_deg":9.8214376,"altitude":5,"angle":72,"satellites":32,"speed":32,"hex_longitude":"2d7a8c00","hex_latitude":"05daa1e8","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898138880001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128829356519718912,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820511001579874304,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:23] 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-09-06 08:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788664616000,"timestamp_ms":1788664616000,"timestamp_seconds":1788664616,"priority":1,"record_length":96,"hex_timestamp":"000001a074b81440"} 
[2026-09-06 08:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-06 08:49:23] 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-09-06 08: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-09-06 08:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:49: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-09-06 08:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898138880001,"66":13526,"229":206,"85":15104,"24":32,"16":128829356519718912,"45":8820511001579874304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-06 08:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898138880001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:49:23] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-06 08:49:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128829356519718912,"km_value":128829356519718.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820511001579874304,"description":"Unknown IO ID 45"} 
[2026-09-06 08:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898138880001,"power":13526,"unknown_229":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8820511001579874304}} 
[2026-09-06 08:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":172338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:49:23] local.INFO: GPS data processed {"connection_id":172338,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:49:23] local.INFO: Acknowledgment sent {"connection_id":172338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:49:25] local.INFO: TCP Data received {"connection_id":172336,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:49:25] local.INFO: Processing buffer {"connection_id":172336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:49:25] local.INFO: Packet analysis {"connection_id":172336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:49:25] local.INFO: Extracted packet for processing {"connection_id":172336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:49:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898077184001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:25] 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-09-06 08:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664665000,"timestamp_ms":1788664665000,"timestamp_seconds":1788664665,"priority":1,"record_length":96,"hex_timestamp":"000001a074b8d3a8"} 
[2026-09-06 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-09-06 08:49: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-09-06 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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-06 08:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 08:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:49: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-09-06 08:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898077184001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898077184001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:49:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:49:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898077184001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":172336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:49:25] local.INFO: GPS data processed {"connection_id":172336,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:49:25] local.INFO: Acknowledgment sent {"connection_id":172336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:49:46] local.INFO: TCP Data received {"connection_id":175022,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b87db8012d18b18007246b480029015722..."} 
[2026-09-06 08:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b87db8012d18b18007246b480029015722..."} 
[2026-09-06 08:49:46] local.INFO: Processing buffer {"connection_id":175022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b87db8012d18b18007246b480029015722..."} 
[2026-09-06 08:49:46] local.INFO: Packet analysis {"connection_id":175022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:49:46] local.INFO: Extracted packet for processing {"connection_id":175022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898142976001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788664643000,"timestamp_ms":1788664643000,"timestamp_seconds":1788664643,"priority":1,"record_length":96,"hex_timestamp":"000001a074b87db8"} 
[2026-09-06 08:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:49: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-09-06 08:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 08:49:46] 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-09-06 08:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898142976001,"66":12374,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898142976001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:49:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898142976001,"power":12374,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":175022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:49:46] local.INFO: GPS data processed {"connection_id":175022,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:49:46] local.INFO: Acknowledgment sent {"connection_id":175022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:49:50] local.INFO: TCP Data received {"connection_id":175023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:49:50] local.INFO: Processing buffer {"connection_id":175023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:49:50] local.INFO: IMEI packet received {"connection_id":175023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":175023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:49:53] local.INFO: TCP Data received {"connection_id":175023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:49:53] local.INFO: Processing buffer {"connection_id":175023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:49:53] local.INFO: IMEI packet received {"connection_id":175023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":175023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:49:54] local.INFO: TCP Data received {"connection_id":172338,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074b84ed8012d7aae8005daabb00005004c20..."} 
[2026-09-06 08:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b84ed8012d7aae8005daabb00005004c20..."} 
[2026-09-06 08:49:54] local.INFO: Processing buffer {"connection_id":172338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b84ed8012d7aae8005daabb00005004c20..."} 
[2026-09-06 08:49:54] local.INFO: Packet analysis {"connection_id":172338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:49:54] local.INFO: Extracted packet for processing {"connection_id":172338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763014784,"raw_latitude":98216880,"longitude_deg":76.3014784,"latitude_deg":9.821688,"altitude":5,"angle":76,"satellites":32,"speed":18,"hex_longitude":"2d7aae80","hex_latitude":"05daabb0","is_valid_coordinates":true} 
[2026-09-06 08:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898141696001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128829794606383104,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830432994509580288,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:54] 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-09-06 08:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664631000,"timestamp_ms":1788664631000,"timestamp_seconds":1788664631,"priority":1,"record_length":96,"hex_timestamp":"000001a074b84ed8"} 
[2026-09-06 08:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-06 08:49:54] 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-09-06 08:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:49:54] 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-09-06 08:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898141696001,"66":13254,"229":206,"85":15104,"24":18,"16":128829794606383104,"45":8830432994509580288},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-09-06 08:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898141696001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:49:54] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-06 08:49:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128829794606383104,"km_value":128829794606383.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830432994509580288,"description":"Unknown IO ID 45"} 
[2026-09-06 08:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898141696001,"power":13254,"unknown_229":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8830432994509580288}} 
[2026-09-06 08:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":172338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:49:54] local.INFO: GPS data processed {"connection_id":172338,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:49:54] local.INFO: Acknowledgment sent {"connection_id":172338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:49:54] local.INFO: TCP Data received {"connection_id":175023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:49:54] local.INFO: Processing buffer {"connection_id":175023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:49:54] local.INFO: Packet analysis {"connection_id":175023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:49:54] local.INFO: Extracted packet for processing {"connection_id":175023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:49:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898077184001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:49:54] 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-09-06 08:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664665000,"timestamp_ms":1788664665000,"timestamp_seconds":1788664665,"priority":1,"record_length":96,"hex_timestamp":"000001a074b8d3a8"} 
[2026-09-06 08:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:49: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-09-06 08:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-06 08:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:49: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-09-06 08:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898077184001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898077184001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:49:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:49:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898077184001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":175023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:49:54] local.INFO: GPS data processed {"connection_id":175023,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:49:54] local.INFO: Acknowledgment sent {"connection_id":175023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:50:09] local.INFO: TCP Data received {"connection_id":172559,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:50:09] local.INFO: Processing buffer {"connection_id":172559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:50:09] local.INFO: IMEI packet received {"connection_id":172559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":172559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:50:15] local.INFO: TCP Data received {"connection_id":172559,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:50:15] local.INFO: Processing buffer {"connection_id":172559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:50:15] local.INFO: IMEI packet received {"connection_id":172559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":172559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:50:15] local.INFO: TCP Data received {"connection_id":172559,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b8cfc0012d18b18007246b480029015724..."} 
[2026-09-06 08:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b8cfc0012d18b18007246b480029015724..."} 
[2026-09-06 08:50:15] local.INFO: Processing buffer {"connection_id":172559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b8cfc0012d18b18007246b480029015724..."} 
[2026-09-06 08:50:15] local.INFO: Packet analysis {"connection_id":172559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:50:15] local.INFO: Extracted packet for processing {"connection_id":172559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898148608001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788664664000,"timestamp_ms":1788664664000,"timestamp_seconds":1788664664,"priority":1,"record_length":96,"hex_timestamp":"000001a074b8cfc0"} 
[2026-09-06 08:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:50:15] 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-09-06 08:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-06 08:50:15] 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-09-06 08:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898148608001,"66":12374,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898148608001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:50:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:50:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898148608001,"power":12374,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":172559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:50:15] local.INFO: GPS data processed {"connection_id":172559,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:50:15] local.INFO: Acknowledgment sent {"connection_id":172559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:50:17] local.INFO: TCP Data received {"connection_id":175024,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:50:17] local.INFO: Processing buffer {"connection_id":175024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:50:17] local.INFO: IMEI packet received {"connection_id":175024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":175024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:50:17] local.INFO: TCP Data received {"connection_id":175024,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:50:17] local.INFO: Processing buffer {"connection_id":175024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:50:17] local.INFO: IMEI packet received {"connection_id":175024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":175024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:50:22] local.INFO: TCP Data received {"connection_id":175024,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:50:22] local.INFO: Processing buffer {"connection_id":175024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:50:22] local.INFO: IMEI packet received {"connection_id":175024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":175024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:50:23] local.INFO: TCP Data received {"connection_id":175024,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074baa098012d7bfc8005daf0300004006020..."} 
[2026-09-06 08:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074baa098012d7bfc8005daf0300004006020..."} 
[2026-09-06 08:50:23] local.INFO: Processing buffer {"connection_id":175024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074baa098012d7bfc8005daf0300004006020..."} 
[2026-09-06 08:50:23] local.INFO: Packet analysis {"connection_id":175024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ba"} 
[2026-09-06 08:50:23] local.INFO: Extracted packet for processing {"connection_id":175024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ba"} 
[2026-09-06 08:50:23] local.INFO: GPS Element Parsed {"raw_longitude":763100288,"raw_latitude":98234416,"longitude_deg":76.3100288,"latitude_deg":9.8234416,"altitude":4,"angle":96,"satellites":32,"speed":10,"hex_longitude":"2d7bfc80","hex_latitude":"05daf030","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898182400001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128833995084398592,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933382467246655488,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788664783000,"timestamp_ms":1788664783000,"timestamp_seconds":1788664783,"priority":1,"record_length":96,"hex_timestamp":"000001a074baa098"} 
[2026-09-06 08:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-06 08:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:50: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-09-06 08:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898182400001,"66":13276,"188":206,"85":15104,"24":10,"16":128833995084398592,"45":8933382467246655488},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-06 08:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898182400001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:50:23] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-06 08:50:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128833995084398592,"km_value":128833995084398.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933382467246655488,"description":"Unknown IO ID 45"} 
[2026-09-06 08:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898182400001,"power":13276,"unknown_188":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8933382467246655488}} 
[2026-09-06 08:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":175024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:50:23] local.INFO: GPS data processed {"connection_id":175024,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:50:23] local.INFO: Acknowledgment sent {"connection_id":175024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:50:25] local.INFO: TCP Data received {"connection_id":175023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:50:25] local.INFO: Processing buffer {"connection_id":175023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:50:25] local.INFO: Packet analysis {"connection_id":175023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:50:25] local.INFO: Extracted packet for processing {"connection_id":175023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:50:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898077184001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:25] 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-09-06 08:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664665000,"timestamp_ms":1788664665000,"timestamp_seconds":1788664665,"priority":1,"record_length":96,"hex_timestamp":"000001a074b8d3a8"} 
[2026-09-06 08:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-06 08:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:50: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-09-06 08:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898077184001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898077184001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:50:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:50:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898077184001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":175023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:50:25] local.INFO: GPS data processed {"connection_id":175023,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:50:25] local.INFO: Acknowledgment sent {"connection_id":175023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:50:46] local.INFO: TCP Data received {"connection_id":172559,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b921c8012d18b18007246b480029015724..."} 
[2026-09-06 08:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b921c8012d18b18007246b480029015724..."} 
[2026-09-06 08:50:46] local.INFO: Processing buffer {"connection_id":172559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b921c8012d18b18007246b480029015724..."} 
[2026-09-06 08:50:46] local.INFO: Packet analysis {"connection_id":172559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b9"} 
[2026-09-06 08:50:46] local.INFO: Extracted packet for processing {"connection_id":172559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b9"} 
[2026-09-06 08:50:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898153984001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788664685000,"timestamp_ms":1788664685000,"timestamp_seconds":1788664685,"priority":1,"record_length":96,"hex_timestamp":"000001a074b921c8"} 
[2026-09-06 08:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:50: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-09-06 08:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-06 08:50:46] 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-09-06 08:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898153984001,"66":12341,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898153984001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:50:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:50:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898153984001,"power":12341,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":172559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:50:47] local.INFO: GPS data processed {"connection_id":172559,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:50:47] local.INFO: Acknowledgment sent {"connection_id":172559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:50:53] local.INFO: TCP Data received {"connection_id":175025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:50:53] local.INFO: Processing buffer {"connection_id":175025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:50:53] local.INFO: IMEI packet received {"connection_id":175025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":175025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:50:54] local.INFO: TCP Data received {"connection_id":175024,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074bae6e8012d7c1f0005daf058000500491f..."} 
[2026-09-06 08:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bae6e8012d7c1f0005daf058000500491f..."} 
[2026-09-06 08:50:54] local.INFO: Processing buffer {"connection_id":175024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bae6e8012d7c1f0005daf058000500491f..."} 
[2026-09-06 08:50:54] local.INFO: Packet analysis {"connection_id":175024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ba"} 
[2026-09-06 08:50:54] local.INFO: Extracted packet for processing {"connection_id":175024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ba"} 
[2026-09-06 08:50:54] local.INFO: GPS Element Parsed {"raw_longitude":763109120,"raw_latitude":98234456,"longitude_deg":76.310912,"latitude_deg":9.8234456,"altitude":5,"angle":73,"satellites":31,"speed":8,"hex_longitude":"2d7c1f00","hex_latitude":"05daf058","is_valid_coordinates":true} 
[2026-09-06 08:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898184448001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128834415991193600,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934156523432587264,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664801000,"timestamp_ms":1788664801000,"timestamp_seconds":1788664801,"priority":1,"record_length":96,"hex_timestamp":"000001a074bae6e8"} 
[2026-09-06 08:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-06 08:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:50:54] 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-09-06 08:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898184448001,"66":13363,"188":206,"85":15104,"24":8,"16":128834415991193600,"45":8934156523432587264},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-06 08:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898184448001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:50:54] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-06 08:50:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128834415991193600,"km_value":128834415991193.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934156523432587264,"description":"Unknown IO ID 45"} 
[2026-09-06 08:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898184448001,"power":13363,"unknown_188":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8934156523432587264}} 
[2026-09-06 08:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":175024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:50:54] local.INFO: GPS data processed {"connection_id":175024,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:50:54] local.INFO: Acknowledgment sent {"connection_id":175024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:50:58] local.INFO: TCP Data received {"connection_id":175025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:50:58] local.INFO: Processing buffer {"connection_id":175025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:50:58] local.INFO: IMEI packet received {"connection_id":175025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":175025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:50:59] local.INFO: TCP Data received {"connection_id":175025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:50:59] local.INFO: Processing buffer {"connection_id":175025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:50:59] local.INFO: Packet analysis {"connection_id":175025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:50:59] local.INFO: Extracted packet for processing {"connection_id":175025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:50:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898077184001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:50:59] 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-09-06 08:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788664665000,"timestamp_ms":1788664665000,"timestamp_seconds":1788664665,"priority":1,"record_length":96,"hex_timestamp":"000001a074b8d3a8"} 
[2026-09-06 08:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:50: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-09-06 08:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-06 08:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898077184001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898077184001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:50:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:50:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898077184001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":175025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:50:59] local.INFO: GPS data processed {"connection_id":175025,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:50:59] local.INFO: Acknowledgment sent {"connection_id":175025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:51:09] local.INFO: TCP Data received {"connection_id":172561,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:51:09] local.INFO: Processing buffer {"connection_id":172561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:51:09] local.INFO: IMEI packet received {"connection_id":172561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":172561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:51:10] local.INFO: TCP Data received {"connection_id":172561,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:51:10] local.INFO: Processing buffer {"connection_id":172561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:51:10] local.INFO: IMEI packet received {"connection_id":172561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":172561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:51:15] local.INFO: TCP Data received {"connection_id":172561,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:51:15] local.INFO: Processing buffer {"connection_id":172561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:51:15] local.INFO: IMEI packet received {"connection_id":172561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":172561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:51:15] local.INFO: TCP Data received {"connection_id":172561,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b96fe8012d18b18007246b480029015723..."} 
[2026-09-06 08:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b96fe8012d18b18007246b480029015723..."} 
[2026-09-06 08:51:15] local.INFO: Processing buffer {"connection_id":172561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b96fe8012d18b18007246b480029015723..."} 
[2026-09-06 08:51:15] local.INFO: Packet analysis {"connection_id":172561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b9"} 
[2026-09-06 08:51:15] local.INFO: Extracted packet for processing {"connection_id":172561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b9"} 
[2026-09-06 08:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898159360001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788664705000,"timestamp_ms":1788664705000,"timestamp_seconds":1788664705,"priority":1,"record_length":96,"hex_timestamp":"000001a074b96fe8"} 
[2026-09-06 08:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:51:15] 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-09-06 08:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-06 08:51:15] 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-09-06 08:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898159360001,"66":12287,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898159360001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:51:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898159360001,"power":12287,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":172561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:51:15] local.INFO: GPS data processed {"connection_id":172561,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:51:15] local.INFO: Acknowledgment sent {"connection_id":172561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:51:22] local.INFO: TCP Data received {"connection_id":172339,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:51:22] local.INFO: Processing buffer {"connection_id":172339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:51:22] local.INFO: IMEI packet received {"connection_id":172339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":172339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:51:26] local.INFO: TCP Data received {"connection_id":172339,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:51:26] local.INFO: Processing buffer {"connection_id":172339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:51:26] local.INFO: IMEI packet received {"connection_id":172339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":172339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:51:26] local.INFO: TCP Data received {"connection_id":172339,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074bafa70012d7c224005daf188000500581f..."} 
[2026-09-06 08:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bafa70012d7c224005daf188000500581f..."} 
[2026-09-06 08:51:26] local.INFO: Processing buffer {"connection_id":172339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bafa70012d7c224005daf188000500581f..."} 
[2026-09-06 08:51:26] local.INFO: Packet analysis {"connection_id":172339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ba"} 
[2026-09-06 08:51:26] local.INFO: Extracted packet for processing {"connection_id":172339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ba"} 
[2026-09-06 08:51:26] local.INFO: GPS Element Parsed {"raw_longitude":763109952,"raw_latitude":98234760,"longitude_deg":76.3109952,"latitude_deg":9.823476,"altitude":5,"angle":88,"satellites":31,"speed":8,"hex_longitude":"2d7c2240","hex_latitude":"05daf188","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898189056001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128834458940866560,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943867410129115136,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788664806000,"timestamp_ms":1788664806000,"timestamp_seconds":1788664806,"priority":1,"record_length":96,"hex_timestamp":"000001a074bafa70"} 
[2026-09-06 08:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-06 08:51:26] 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-09-06 08: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-09-06 08:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:51:26] 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-09-06 08:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898189056001,"66":13537,"188":206,"85":15104,"24":8,"16":128834458940866560,"45":8943867410129115136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-06 08:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898189056001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:51:26] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-06 08:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128834458940866560,"km_value":128834458940866.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943867410129115136,"description":"Unknown IO ID 45"} 
[2026-09-06 08:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898189056001,"power":13537,"unknown_188":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8943867410129115136}} 
[2026-09-06 08:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":172339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:51:27] local.INFO: GPS data processed {"connection_id":172339,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:51:27] local.INFO: Acknowledgment sent {"connection_id":172339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:51:27] local.INFO: TCP Data received {"connection_id":172339,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074bb0a10012d7c268005daf168000500661f..."} 
[2026-09-06 08:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bb0a10012d7c268005daf168000500661f..."} 
[2026-09-06 08:51:27] local.INFO: Processing buffer {"connection_id":172339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bb0a10012d7c268005daf168000500661f..."} 
[2026-09-06 08:51:27] local.INFO: Packet analysis {"connection_id":172339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bb"} 
[2026-09-06 08:51:27] local.INFO: Extracted packet for processing {"connection_id":172339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bb"} 
[2026-09-06 08:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98234728,"longitude_deg":76.311104,"latitude_deg":9.8234728,"altitude":5,"angle":102,"satellites":31,"speed":10,"hex_longitude":"2d7c2680","hex_latitude":"05daf168","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898190336001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128834510480474112,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944782203803502592,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788664810000,"timestamp_ms":1788664810000,"timestamp_seconds":1788664810,"priority":1,"record_length":96,"hex_timestamp":"000001a074bb0a10"} 
[2026-09-06 08:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-06 08:51:27] 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-09-06 08: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-09-06 08:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:51: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-09-06 08:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898190336001,"66":13526,"187":206,"85":15104,"24":10,"16":128834510480474112,"45":8944782203803502592},"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-09-06 08:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898190336001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:51:27] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 08:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128834510480474112,"km_value":128834510480474.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944782203803502592,"description":"Unknown IO ID 45"} 
[2026-09-06 08:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898190336001,"power":13526,"unknown_187":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8944782203803502592}} 
[2026-09-06 08:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":172339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:51:27] local.INFO: GPS data processed {"connection_id":172339,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:51:27] local.INFO: Acknowledgment sent {"connection_id":172339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:51:30] local.INFO: TCP Data received {"connection_id":175025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:51:30] local.INFO: Processing buffer {"connection_id":175025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:51:30] local.INFO: Packet analysis {"connection_id":175025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:51:30] local.INFO: Extracted packet for processing {"connection_id":175025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:51:30] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898077184001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:30] 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-09-06 08:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788664665000,"timestamp_ms":1788664665000,"timestamp_seconds":1788664665,"priority":1,"record_length":96,"hex_timestamp":"000001a074b8d3a8"} 
[2026-09-06 08:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-06 08:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898077184001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898077184001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:51:30] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:51:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898077184001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":175025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:51:30] local.INFO: GPS data processed {"connection_id":175025,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:51:30] local.INFO: Acknowledgment sent {"connection_id":175025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:51:46] local.INFO: TCP Data received {"connection_id":172561,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074b9c5d8012d18b18007246b480029015723..."} 
[2026-09-06 08:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b9c5d8012d18b18007246b480029015723..."} 
[2026-09-06 08:51:46] local.INFO: Processing buffer {"connection_id":172561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b9c5d8012d18b18007246b480029015723..."} 
[2026-09-06 08:51:46] local.INFO: Packet analysis {"connection_id":172561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b9"} 
[2026-09-06 08:51:46] local.INFO: Extracted packet for processing {"connection_id":172561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b9"} 
[2026-09-06 08:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898164480001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788664727000,"timestamp_ms":1788664727000,"timestamp_seconds":1788664727,"priority":1,"record_length":96,"hex_timestamp":"000001a074b9c5d8"} 
[2026-09-06 08:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:51:46] 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-09-06 08:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 08:51:46] 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-09-06 08:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898164480001,"66":12319,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898164480001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:51:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898164480001,"power":12319,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":172561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:51:47] local.INFO: GPS data processed {"connection_id":172561,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:51:47] local.INFO: Acknowledgment sent {"connection_id":172561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:51:48] local.INFO: TCP Data received {"connection_id":175027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:51:48] local.INFO: Processing buffer {"connection_id":175027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:51:48] local.INFO: IMEI packet received {"connection_id":175027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":175027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:51:53] local.INFO: TCP Data received {"connection_id":175027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:51:53] local.INFO: Processing buffer {"connection_id":175027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:51:53] local.INFO: IMEI packet received {"connection_id":175027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":175027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:51:54] local.INFO: TCP Data received {"connection_id":175027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:51:54] local.INFO: Processing buffer {"connection_id":175027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:51:54] local.INFO: Packet analysis {"connection_id":175027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:51:54] local.INFO: Extracted packet for processing {"connection_id":175027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:51:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898077184001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:54] 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-09-06 08:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664665000,"timestamp_ms":1788664665000,"timestamp_seconds":1788664665,"priority":1,"record_length":96,"hex_timestamp":"000001a074b8d3a8"} 
[2026-09-06 08:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-06 08:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:51: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-09-06 08:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898077184001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898077184001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:51:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:51:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898077184001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":175027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:51:54] local.INFO: GPS data processed {"connection_id":175027,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:51:54] local.INFO: Acknowledgment sent {"connection_id":175027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:51:58] local.INFO: TCP Data received {"connection_id":172339,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074bb0df8012d7c278005daf0c00005007a1f..."} 
[2026-09-06 08:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bb0df8012d7c278005daf0c00005007a1f..."} 
[2026-09-06 08:51:58] local.INFO: Processing buffer {"connection_id":172339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bb0df8012d7c278005daf0c00005007a1f..."} 
[2026-09-06 08:51:58] local.INFO: Packet analysis {"connection_id":172339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bb"} 
[2026-09-06 08:51:58] local.INFO: Extracted packet for processing {"connection_id":172339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bb"} 
[2026-09-06 08:51:58] local.INFO: GPS Element Parsed {"raw_longitude":763111296,"raw_latitude":98234560,"longitude_deg":76.3111296,"latitude_deg":9.823456,"altitude":5,"angle":122,"satellites":31,"speed":13,"hex_longitude":"2d7c2780","hex_latitude":"05daf0c0","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898191360001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128834523365376000,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472454514688,"note":"Value kept but may cause issues"} 
[2026-09-06 08:51:58] 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-09-06 08:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788664811000,"timestamp_ms":1788664811000,"timestamp_seconds":1788664811,"priority":1,"record_length":96,"hex_timestamp":"000001a074bb0df8"} 
[2026-09-06 08:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-06 08:51:58] 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-09-06 08: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-09-06 08:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:51:58] 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-09-06 08:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898191360001,"66":13624,"187":206,"85":15104,"24":13,"16":128834523365376000,"45":8945978472454514688},"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-09-06 08:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898191360001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:51:58] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 08:51:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128834523365376000,"km_value":128834523365376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472454514688,"description":"Unknown IO ID 45"} 
[2026-09-06 08:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898191360001,"power":13624,"unknown_187":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8945978472454514688}} 
[2026-09-06 08:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":172339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:51:58] local.INFO: GPS data processed {"connection_id":172339,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:51:58] local.INFO: Acknowledgment sent {"connection_id":172339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:52:09] local.INFO: TCP Data received {"connection_id":172340,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:52:09] local.INFO: Processing buffer {"connection_id":172340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:52:09] local.INFO: IMEI packet received {"connection_id":172340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":172340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:52:12] local.INFO: TCP Data received {"connection_id":172340,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:52:12] local.INFO: Processing buffer {"connection_id":172340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:52:12] local.INFO: IMEI packet received {"connection_id":172340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":172340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:52:14] local.INFO: TCP Data received {"connection_id":172340,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:52:14] local.INFO: Processing buffer {"connection_id":172340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:52:14] local.INFO: IMEI packet received {"connection_id":172340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":172340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:52:15] local.INFO: TCP Data received {"connection_id":172340,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ba17e0012d18b18007246b480029015722..."} 
[2026-09-06 08:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ba17e0012d18b18007246b480029015722..."} 
[2026-09-06 08:52:15] local.INFO: Processing buffer {"connection_id":172340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ba17e0012d18b18007246b480029015722..."} 
[2026-09-06 08:52:15] local.INFO: Packet analysis {"connection_id":172340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ba"} 
[2026-09-06 08:52:15] local.INFO: Extracted packet for processing {"connection_id":172340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ba"} 
[2026-09-06 08:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898170112001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788664748000,"timestamp_ms":1788664748000,"timestamp_seconds":1788664748,"priority":1,"record_length":96,"hex_timestamp":"000001a074ba17e0"} 
[2026-09-06 08:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 08:52:15] 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-09-06 08:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898170112001,"66":12319,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898170112001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:52:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898170112001,"power":12319,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":172340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:52:15] local.INFO: GPS data processed {"connection_id":172340,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:52:15] local.INFO: Acknowledgment sent {"connection_id":172340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:52:17] local.INFO: TCP Data received {"connection_id":175028,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:52:17] local.INFO: Processing buffer {"connection_id":175028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:52:17] local.INFO: IMEI packet received {"connection_id":175028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":175028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:52:18] local.INFO: TCP Data received {"connection_id":175028,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:52:18] local.INFO: Processing buffer {"connection_id":175028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:52:18] local.INFO: IMEI packet received {"connection_id":175028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":175028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:52:18] local.INFO: TCP Data received {"connection_id":175028,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074bcb7c0012d7c50c005da7cc00002009e1f..."} 
[2026-09-06 08:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bcb7c0012d7c50c005da7cc00002009e1f..."} 
[2026-09-06 08:52:18] local.INFO: Processing buffer {"connection_id":175028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bcb7c0012d7c50c005da7cc00002009e1f..."} 
[2026-09-06 08:52:18] local.INFO: Packet analysis {"connection_id":175028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bc"} 
[2026-09-06 08:52:18] local.INFO: Extracted packet for processing {"connection_id":175028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bc"} 
[2026-09-06 08:52:18] local.INFO: GPS Element Parsed {"raw_longitude":763121856,"raw_latitude":98204864,"longitude_deg":76.3121856,"latitude_deg":9.8204864,"altitude":2,"angle":158,"satellites":31,"speed":36,"hex_longitude":"2d7c50c0","hex_latitude":"05da7cc0","is_valid_coordinates":true} 
[2026-09-06 08:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898215424001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128836095323406336,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954704196727226368,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:18] 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-09-06 08:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788664920000,"timestamp_ms":1788664920000,"timestamp_seconds":1788664920,"priority":1,"record_length":96,"hex_timestamp":"000001a074bcb7c0"} 
[2026-09-06 08:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 08:52:18] 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-09-06 08:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:52: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-09-06 08:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898215424001,"66":12961,"187":206,"85":15104,"24":36,"16":128836095323406336,"45":8954704196727226368},"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-09-06 08:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898215424001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:52:18] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 08:52:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128836095323406336,"km_value":128836095323406.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954704196727226368,"description":"Unknown IO ID 45"} 
[2026-09-06 08:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898215424001,"power":12961,"unknown_187":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8954704196727226368}} 
[2026-09-06 08:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":175028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:52:18] local.INFO: GPS data processed {"connection_id":175028,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:52:18] local.INFO: Acknowledgment sent {"connection_id":175028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:52:22] local.INFO: TCP Data received {"connection_id":175028,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074bcdae8012d7c5b8005da59e0000200a01f..."} 
[2026-09-06 08:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bcdae8012d7c5b8005da59e0000200a01f..."} 
[2026-09-06 08:52:22] local.INFO: Processing buffer {"connection_id":175028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bcdae8012d7c5b8005da59e0000200a01f..."} 
[2026-09-06 08:52:22] local.INFO: Packet analysis {"connection_id":175028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bc"} 
[2026-09-06 08:52:22] local.INFO: Extracted packet for processing {"connection_id":175028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bc"} 
[2026-09-06 08:52:22] local.INFO: GPS Element Parsed {"raw_longitude":763124608,"raw_latitude":98195936,"longitude_deg":76.3124608,"latitude_deg":9.8195936,"altitude":2,"angle":160,"satellites":31,"speed":45,"hex_longitude":"2d7c5b80","hex_latitude":"05da59e0","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898219520001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128836546294972416,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957870790212894720,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:22] 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-09-06 08:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788664929000,"timestamp_ms":1788664929000,"timestamp_seconds":1788664929,"priority":1,"record_length":96,"hex_timestamp":"000001a074bcdae8"} 
[2026-09-06 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-09-06 08:52: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-09-06 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 08:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 08:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:52: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-09-06 08:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898219520001,"66":13678,"187":206,"85":15104,"24":45,"16":128836546294972416,"45":8957870790212894720},"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-09-06 08:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898219520001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:52:22] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 08:52:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128836546294972416,"km_value":128836546294972.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957870790212894720,"description":"Unknown IO ID 45"} 
[2026-09-06 08:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898219520001,"power":13678,"unknown_187":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8957870790212894720}} 
[2026-09-06 08:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":175028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:52:22] local.INFO: GPS data processed {"connection_id":175028,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:52:22] local.INFO: Acknowledgment sent {"connection_id":175028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:52:25] local.INFO: TCP Data received {"connection_id":175027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:52:25] local.INFO: Processing buffer {"connection_id":175027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:52:25] local.INFO: Packet analysis {"connection_id":175027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:52:25] local.INFO: Extracted packet for processing {"connection_id":175027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:52:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898077184001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:25] 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-09-06 08:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664665000,"timestamp_ms":1788664665000,"timestamp_seconds":1788664665,"priority":1,"record_length":96,"hex_timestamp":"000001a074b8d3a8"} 
[2026-09-06 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-09-06 08:52: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-09-06 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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-06 08:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 08:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:52: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-09-06 08:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898077184001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898077184001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:52:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:52:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898077184001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":175027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:52:25] local.INFO: GPS data processed {"connection_id":175027,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:52:25] local.INFO: Acknowledgment sent {"connection_id":175027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:52:46] local.INFO: TCP Data received {"connection_id":172340,"ip":"42.106.6.38","data_length":93,"data_hex":"00000000000000518e01000001a074ba6600012d18b18007246b480029015721..."} 
[2026-09-06 08:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172340,"packet_length":93,"packet_hex":"00000000000000518e01000001a074ba6600012d18b18007246b480029015721..."} 
[2026-09-06 08:52:46] local.INFO: Processing buffer {"connection_id":172340,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a074ba6600012d18b18007246b480029015721..."} 
[2026-09-06 08:52:46] local.INFO: Packet analysis {"connection_id":172340,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a074ba"} 
[2026-09-06 08:52:46] local.INFO: Extracted packet for processing {"connection_id":172340,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a074ba"} 
[2026-09-06 08:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":33,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-06 08:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:52:46] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:52:46] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 08:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172340,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-06 08:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172340,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-06 08:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172340,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-06 08:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 08:52:46] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 08:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":172340,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 08:52:46] local.ERROR: GPS data processing failed {"connection_id":172340,"error":"No valid data to process"} 
[2026-09-06 08:52:46] local.INFO: Acknowledgment sent {"connection_id":172340,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 08:52:48] local.INFO: TCP Data received {"connection_id":172562,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:52:48] local.INFO: Processing buffer {"connection_id":172562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:52:48] local.INFO: IMEI packet received {"connection_id":172562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":172562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:52:51] local.INFO: TCP Data received {"connection_id":173709,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:52:51] local.INFO: Processing buffer {"connection_id":173709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:52:51] local.INFO: IMEI packet received {"connection_id":173709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 08:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":173709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:52:53] local.INFO: TCP Data received {"connection_id":172562,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:52:53] local.INFO: Processing buffer {"connection_id":172562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:52:53] local.INFO: IMEI packet received {"connection_id":172562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":172562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:52:53] local.INFO: TCP Data received {"connection_id":175028,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074bcf640012d7c664005da3850000100a31a..."} 
[2026-09-06 08:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bcf640012d7c664005da3850000100a31a..."} 
[2026-09-06 08:52:53] local.INFO: Processing buffer {"connection_id":175028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bcf640012d7c664005da3850000100a31a..."} 
[2026-09-06 08:52:53] local.INFO: Packet analysis {"connection_id":175028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bc"} 
[2026-09-06 08:52:53] local.INFO: Extracted packet for processing {"connection_id":175028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bc"} 
[2026-09-06 08:52:53] local.INFO: GPS Element Parsed {"raw_longitude":763127360,"raw_latitude":98187344,"longitude_deg":76.312736,"latitude_deg":9.8187344,"altitude":1,"angle":163,"satellites":26,"speed":52,"hex_longitude":"2d7c6640","hex_latitude":"05da3850","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898221824001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128836984381636608,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960896646210248704,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:53] 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-09-06 08:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788664936000,"timestamp_ms":1788664936000,"timestamp_seconds":1788664936,"priority":1,"record_length":96,"hex_timestamp":"000001a074bcf640"} 
[2026-09-06 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-09-06 08:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 08:52:53] 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-09-06 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-09-06 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-09-06 08:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:52:53] 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-09-06 08:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898221824001,"66":13515,"187":206,"85":15104,"24":52,"16":128836984381636608,"45":8960896646210248704},"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-09-06 08:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898221824001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:52:53] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 08:52:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128836984381636608,"km_value":128836984381636.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960896646210248704,"description":"Unknown IO ID 45"} 
[2026-09-06 08:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898221824001,"power":13515,"unknown_187":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8960896646210248704}} 
[2026-09-06 08:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":175028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:52:53] local.INFO: GPS data processed {"connection_id":175028,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:52:53] local.INFO: Acknowledgment sent {"connection_id":175028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:52:54] local.INFO: TCP Data received {"connection_id":172562,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:52:54] local.INFO: Processing buffer {"connection_id":172562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074b8d3a8012d532d00064970480006014729..."} 
[2026-09-06 08:52:54] local.INFO: Packet analysis {"connection_id":172562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:52:54] local.INFO: Extracted packet for processing {"connection_id":172562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074b8"} 
[2026-09-06 08:52:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898077184001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:52:54] 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-09-06 08:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664665000,"timestamp_ms":1788664665000,"timestamp_seconds":1788664665,"priority":1,"record_length":96,"hex_timestamp":"000001a074b8d3a8"} 
[2026-09-06 08:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:52: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-09-06 08: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-06 08:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:52: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-09-06 08:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898077184001,"66":25147,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898077184001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:52:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:52:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898077184001,"power":25147,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":172562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:52:54] local.INFO: GPS data processed {"connection_id":172562,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:52:54] local.INFO: Acknowledgment sent {"connection_id":172562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:53:09] local.INFO: TCP Data received {"connection_id":172563,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:53:09] local.INFO: Processing buffer {"connection_id":172563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:53:09] local.INFO: IMEI packet received {"connection_id":172563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":172563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:53:11] local.INFO: TCP Data received {"connection_id":172564,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:53:11] local.INFO: Processing buffer {"connection_id":172564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:53:11] local.INFO: IMEI packet received {"connection_id":172564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 08:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":172564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:53:15] local.INFO: TCP Data received {"connection_id":172563,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:53:15] local.INFO: Processing buffer {"connection_id":172563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:53:15] local.INFO: IMEI packet received {"connection_id":172563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":172563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:53:15] local.INFO: TCP Data received {"connection_id":172563,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074bab808012d18b18007246b480029015724..."} 
[2026-09-06 08:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bab808012d18b18007246b480029015724..."} 
[2026-09-06 08:53:15] local.INFO: Processing buffer {"connection_id":172563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bab808012d18b18007246b480029015724..."} 
[2026-09-06 08:53:15] local.INFO: Packet analysis {"connection_id":172563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ba"} 
[2026-09-06 08:53:15] local.INFO: Extracted packet for processing {"connection_id":172563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ba"} 
[2026-09-06 08:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898180608001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788664789000,"timestamp_ms":1788664789000,"timestamp_seconds":1788664789,"priority":1,"record_length":96,"hex_timestamp":"000001a074bab808"} 
[2026-09-06 08:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:53:15] 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-09-06 08:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 08:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898180608001,"66":12298,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898180608001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:53:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898180608001,"power":12298,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":172563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:53:15] local.INFO: GPS data processed {"connection_id":172563,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:53:15] local.INFO: Acknowledgment sent {"connection_id":172563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:53:17] local.INFO: TCP Data received {"connection_id":172565,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:53:17] local.INFO: Processing buffer {"connection_id":172565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:53:17] local.INFO: IMEI packet received {"connection_id":172565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":172565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:53:22] local.INFO: TCP Data received {"connection_id":172565,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:53:22] local.INFO: Processing buffer {"connection_id":172565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:53:22] local.INFO: IMEI packet received {"connection_id":172565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":172565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:53:22] local.INFO: TCP Data received {"connection_id":172565,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074bdb5a8012d7c804005d979300000012616..."} 
[2026-09-06 08:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bdb5a8012d7c804005d979300000012616..."} 
[2026-09-06 08:53:22] local.INFO: Processing buffer {"connection_id":172565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bdb5a8012d7c804005d979300000012616..."} 
[2026-09-06 08:53:22] local.INFO: Packet analysis {"connection_id":172565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:53:22] local.INFO: Extracted packet for processing {"connection_id":172565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:53:22] local.INFO: GPS Element Parsed {"raw_longitude":763134016,"raw_latitude":98138416,"longitude_deg":76.3134016,"latitude_deg":9.8138416,"altitude":0,"angle":294,"satellites":22,"speed":10,"hex_longitude":"2d7c8040","hex_latitude":"05d97930","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898235648001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128839458282799104,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971803801543032832,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53: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-09-06 08:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788664985000,"timestamp_ms":1788664985000,"timestamp_seconds":1788664985,"priority":1,"record_length":96,"hex_timestamp":"000001a074bdb5a8"} 
[2026-09-06 08:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:53: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-09-06 08: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-06 08:53:22] 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-09-06 08: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-09-06 08:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:53: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-09-06 08:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898235648001,"66":13646,"245":206,"85":15104,"24":10,"16":128839458282799104,"45":8971803801543032832},"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-09-06 08:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898235648001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:53:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128839458282799104,"km_value":128839458282799.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971803801543032832,"description":"Unknown IO ID 45"} 
[2026-09-06 08:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898235648001,"power":13646,"geofence_id":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8971803801543032832}} 
[2026-09-06 08:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":172565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:53:22] local.INFO: GPS data processed {"connection_id":172565,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:53:22] local.INFO: Acknowledgment sent {"connection_id":172565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:53:25] local.INFO: TCP Data received {"connection_id":172562,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:53:25] local.INFO: Processing buffer {"connection_id":172562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:53:25] local.INFO: Packet analysis {"connection_id":172562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:53:25] local.INFO: Extracted packet for processing {"connection_id":172562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:53:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898154240001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:25] 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-09-06 08:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664966000,"timestamp_ms":1788664966000,"timestamp_seconds":1788664966,"priority":1,"record_length":96,"hex_timestamp":"000001a074bd6b70"} 
[2026-09-06 08:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:53: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-09-06 08: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":59,"data_length":795,"current_offset":136} 
[2026-09-06 08:53:25] 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-09-06 08: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-09-06 08:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:53: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-09-06 08:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898154240001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898154240001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:53:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:53:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898154240001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":172562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:53:25] local.INFO: GPS data processed {"connection_id":172562,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:53:25] local.INFO: Acknowledgment sent {"connection_id":172562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:53:46] local.INFO: TCP Data received {"connection_id":172563,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074bb0a10012d18b18007246b480029015722..."} 
[2026-09-06 08:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bb0a10012d18b18007246b480029015722..."} 
[2026-09-06 08:53:46] local.INFO: Processing buffer {"connection_id":172563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bb0a10012d18b18007246b480029015722..."} 
[2026-09-06 08:53:46] local.INFO: Packet analysis {"connection_id":172563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bb"} 
[2026-09-06 08:53:46] local.INFO: Extracted packet for processing {"connection_id":172563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bb"} 
[2026-09-06 08:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898185984001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788664810000,"timestamp_ms":1788664810000,"timestamp_seconds":1788664810,"priority":1,"record_length":96,"hex_timestamp":"000001a074bb0a10"} 
[2026-09-06 08:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:53:46] 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-09-06 08:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 08:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:46] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185664,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:46] local.WARNING: Large IO value detected {"io_id":107,"raw_value":7566047373982433281,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8410610533361588401,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:46] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514654214411583831,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:46] local.WARNING: Large IO value detected {"io_id":41,"raw_value":96585499430354944,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:46] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832564,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:46] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972243998474446,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:46] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3111118849,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712521422,"corrected_to":0} 
[2026-09-06 08:53:46] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2147951723,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:46] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,19,83,24,241,157,16,107,160,102,45,128,41,33,10,66,23,34,197,1,240,31,227,116,36,4,113,205,177,72,239,48,2,64,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1712521422,"validated":0}]} 
[2026-09-06 08:53:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954738642662195200,"timestamp_seconds":2954738642662195.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 08:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898185984001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898185984001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:53:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898185984001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":172563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:53:47] local.INFO: GPS data processed {"connection_id":172563,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:53:47] local.INFO: Acknowledgment sent {"connection_id":172563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:53:48] local.INFO: TCP Data received {"connection_id":172341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:53:48] local.INFO: Processing buffer {"connection_id":172341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:53:48] local.INFO: IMEI packet received {"connection_id":172341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":172341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:53:53] local.INFO: TCP Data received {"connection_id":172565,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074bdbd78012d7c7e0005d97b580000013a18..."} 
[2026-09-06 08:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bdbd78012d7c7e0005d97b580000013a18..."} 
[2026-09-06 08:53:53] local.INFO: Processing buffer {"connection_id":172565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bdbd78012d7c7e0005d97b580000013a18..."} 
[2026-09-06 08:53:53] local.INFO: Packet analysis {"connection_id":172565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:53:53] local.INFO: Extracted packet for processing {"connection_id":172565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:53:53] local.INFO: GPS Element Parsed {"raw_longitude":763133440,"raw_latitude":98138968,"longitude_deg":76.313344,"latitude_deg":9.8138968,"altitude":0,"angle":314,"satellites":24,"speed":13,"hex_longitude":"2d7c7e00","hex_latitude":"05d97b58","is_valid_coordinates":true} 
[2026-09-06 08:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898236160001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128839496937504768,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971240851589640192,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:53] 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-09-06 08:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788664987000,"timestamp_ms":1788664987000,"timestamp_seconds":1788664987,"priority":1,"record_length":96,"hex_timestamp":"000001a074bdbd78"} 
[2026-09-06 08:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 08:53:53] 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-09-06 08:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:53:53] 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-09-06 08:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898236160001,"66":13493,"245":206,"85":15104,"24":13,"16":128839496937504768,"45":8971240851589640192},"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-09-06 08:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898236160001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:53:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128839496937504768,"km_value":128839496937504.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971240851589640192,"description":"Unknown IO ID 45"} 
[2026-09-06 08:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898236160001,"power":13493,"geofence_id":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8971240851589640192}} 
[2026-09-06 08:53:53] local.INFO: TCP Data received {"connection_id":172341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:53:53] local.INFO: Processing buffer {"connection_id":172341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:53:53] local.INFO: IMEI packet received {"connection_id":172341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":172341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":172565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:53:53] local.INFO: GPS data processed {"connection_id":172565,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:53:53] local.INFO: Acknowledgment sent {"connection_id":172565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:53:54] local.INFO: TCP Data received {"connection_id":172341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:53:54] local.INFO: Processing buffer {"connection_id":172341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:53:54] local.INFO: Packet analysis {"connection_id":172341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:53:54] local.INFO: Extracted packet for processing {"connection_id":172341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:53:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898154240001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:53:54] 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-09-06 08:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664966000,"timestamp_ms":1788664966000,"timestamp_seconds":1788664966,"priority":1,"record_length":96,"hex_timestamp":"000001a074bd6b70"} 
[2026-09-06 08:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:53: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-09-06 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 08:53:54] 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-09-06 08: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-09-06 08:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:53: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-09-06 08:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898154240001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898154240001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:53:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:53:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898154240001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":172341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:53:54] local.INFO: GPS data processed {"connection_id":172341,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:53:54] local.INFO: Acknowledgment sent {"connection_id":172341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:54:14] local.INFO: TCP Data received {"connection_id":173710,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:54:14] local.INFO: Processing buffer {"connection_id":173710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:54:14] local.INFO: IMEI packet received {"connection_id":173710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":173710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:54:17] local.INFO: TCP Data received {"connection_id":175030,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:54:17] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:54:17] local.INFO: IMEI packet received {"connection_id":175030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":175030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:54:18] local.INFO: TCP Data received {"connection_id":175030,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:54:18] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:54:18] local.INFO: IMEI packet received {"connection_id":175030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":175030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:54:19] local.INFO: TCP Data received {"connection_id":173710,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:54:19] local.INFO: Processing buffer {"connection_id":173710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:54:19] local.INFO: IMEI packet received {"connection_id":173710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":173710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:54:19] local.INFO: TCP Data received {"connection_id":173710,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074bb5c18012d18b18007246b48002901571e..."} 
[2026-09-06 08:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bb5c18012d18b18007246b48002901571e..."} 
[2026-09-06 08:54:19] local.INFO: Processing buffer {"connection_id":173710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bb5c18012d18b18007246b48002901571e..."} 
[2026-09-06 08:54:19] local.INFO: Packet analysis {"connection_id":173710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bb"} 
[2026-09-06 08:54:19] local.INFO: Extracted packet for processing {"connection_id":173710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bb"} 
[2026-09-06 08:54:19] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":30,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898191360001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788664831000,"timestamp_ms":1788664831000,"timestamp_seconds":1788664831,"priority":1,"record_length":96,"hex_timestamp":"000001a074bb5c18"} 
[2026-09-06 08:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:54:19] 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-09-06 08: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 08:54:19] 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-09-06 08: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-09-06 08:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898191360001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898191360001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:54:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:54:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898191360001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":173710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:54:20] local.INFO: GPS data processed {"connection_id":173710,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:54:20] local.INFO: Acknowledgment sent {"connection_id":173710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:54:20] local.INFO: TCP Data received {"connection_id":173710,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074bbae20012d18b18007246b480029015722..."} 
[2026-09-06 08:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bbae20012d18b18007246b480029015722..."} 
[2026-09-06 08:54:20] local.INFO: Processing buffer {"connection_id":173710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bbae20012d18b18007246b480029015722..."} 
[2026-09-06 08:54:20] local.INFO: Packet analysis {"connection_id":173710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bb"} 
[2026-09-06 08:54:20] local.INFO: Extracted packet for processing {"connection_id":173710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bb"} 
[2026-09-06 08:54:20] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898196736001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788664852000,"timestamp_ms":1788664852000,"timestamp_seconds":1788664852,"priority":1,"record_length":96,"hex_timestamp":"000001a074bbae20"} 
[2026-09-06 08:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:54:20] 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-09-06 08: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 08:54:20] 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-09-06 08: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-09-06 08:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898196736001,"66":12287,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898196736001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:54:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:54:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898196736001,"power":12287,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":173710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:54:20] local.INFO: GPS data processed {"connection_id":173710,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:54:20] local.INFO: Acknowledgment sent {"connection_id":173710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:54:22] local.INFO: TCP Data received {"connection_id":175030,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:54:22] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:54:22] local.INFO: IMEI packet received {"connection_id":175030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":175030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:54:23] local.INFO: TCP Data received {"connection_id":175030,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074be9838012d7c318005d989780000014721..."} 
[2026-09-06 08:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074be9838012d7c318005d989780000014721..."} 
[2026-09-06 08:54:23] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074be9838012d7c318005d989780000014721..."} 
[2026-09-06 08:54:23] local.INFO: Packet analysis {"connection_id":175030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074be"} 
[2026-09-06 08:54:23] local.INFO: Extracted packet for processing {"connection_id":175030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074be"} 
[2026-09-06 08:54:23] local.INFO: GPS Element Parsed {"raw_longitude":763113856,"raw_latitude":98142584,"longitude_deg":76.3113856,"latitude_deg":9.8142584,"altitude":0,"angle":327,"satellites":33,"speed":9,"hex_longitude":"2d7c3180","hex_latitude":"05d98978","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898250752001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840751067955200,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949356172151402496,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:23] 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-09-06 08:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788665043000,"timestamp_ms":1788665043000,"timestamp_seconds":1788665043,"priority":1,"record_length":96,"hex_timestamp":"000001a074be9838"} 
[2026-09-06 08:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 08:54:23] 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-09-06 08: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-09-06 08:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:54: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-09-06 08:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898250752001,"66":13102,"245":206,"85":15104,"24":9,"16":128840751067955200,"45":8949356172151402496},"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-09-06 08:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898250752001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:54:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840751067955200,"km_value":128840751067955.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949356172151402496,"description":"Unknown IO ID 45"} 
[2026-09-06 08:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898250752001,"power":13102,"geofence_id":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8949356172151402496}} 
[2026-09-06 08:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":175030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:54:23] local.INFO: GPS data processed {"connection_id":175030,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:54:23] local.INFO: Acknowledgment sent {"connection_id":175030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:54:25] local.INFO: TCP Data received {"connection_id":172341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:54:25] local.INFO: Processing buffer {"connection_id":172341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:54:25] local.INFO: Packet analysis {"connection_id":172341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:54:25] local.INFO: Extracted packet for processing {"connection_id":172341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:54:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898154240001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:25] 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-09-06 08:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664966000,"timestamp_ms":1788664966000,"timestamp_seconds":1788664966,"priority":1,"record_length":96,"hex_timestamp":"000001a074bd6b70"} 
[2026-09-06 08:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:54: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-09-06 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 08:54:25] 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-09-06 08: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-09-06 08:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:54: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-09-06 08:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898154240001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898154240001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:54:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:54:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898154240001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":172341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:54:25] local.INFO: GPS data processed {"connection_id":172341,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:54:25] local.INFO: Acknowledgment sent {"connection_id":172341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:54:48] local.INFO: TCP Data received {"connection_id":172566,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:54:48] local.INFO: Processing buffer {"connection_id":172566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:54:48] local.INFO: IMEI packet received {"connection_id":172566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":172566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:54:51] local.INFO: TCP Data received {"connection_id":173710,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074bc0028012d18b18007246b480029015724..."} 
[2026-09-06 08:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bc0028012d18b18007246b480029015724..."} 
[2026-09-06 08:54:51] local.INFO: Processing buffer {"connection_id":173710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bc0028012d18b18007246b480029015724..."} 
[2026-09-06 08:54:51] local.INFO: Packet analysis {"connection_id":173710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bc"} 
[2026-09-06 08:54:51] local.INFO: Extracted packet for processing {"connection_id":173710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bc"} 
[2026-09-06 08:54:51] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898202112001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788664873000,"timestamp_ms":1788664873000,"timestamp_seconds":1788664873,"priority":1,"record_length":96,"hex_timestamp":"000001a074bc0028"} 
[2026-09-06 08:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:54:51] 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-09-06 08:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 08:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898202112001,"66":12254,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898202112001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:54:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:54:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898202112001,"power":12254,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":173710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:54:51] local.INFO: GPS data processed {"connection_id":173710,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:54:51] local.INFO: Acknowledgment sent {"connection_id":173710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:54:53] local.INFO: TCP Data received {"connection_id":172566,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:54:53] local.INFO: Processing buffer {"connection_id":172566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:54:53] local.INFO: IMEI packet received {"connection_id":172566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":172566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:54:54] local.INFO: TCP Data received {"connection_id":175030,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074be9c20012d7c314005d98a480000015621..."} 
[2026-09-06 08:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074be9c20012d7c314005d98a480000015621..."} 
[2026-09-06 08:54:54] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074be9c20012d7c314005d98a480000015621..."} 
[2026-09-06 08:54:54] local.INFO: Packet analysis {"connection_id":175030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074be"} 
[2026-09-06 08:54:54] local.INFO: Extracted packet for processing {"connection_id":175030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074be"} 
[2026-09-06 08:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763113792,"raw_latitude":98142792,"longitude_deg":76.3113792,"latitude_deg":9.8142792,"altitude":0,"angle":342,"satellites":33,"speed":7,"hex_longitude":"2d7c3140","hex_latitude":"05d98a48","is_valid_coordinates":true} 
[2026-09-06 08:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898251008001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840759657889792,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949074697174743040,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:54] 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-09-06 08:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788665044000,"timestamp_ms":1788665044000,"timestamp_seconds":1788665044,"priority":1,"record_length":96,"hex_timestamp":"000001a074be9c20"} 
[2026-09-06 08:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 08:54:54] 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-09-06 08:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:54:54] 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-09-06 08:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898251008001,"66":13102,"245":206,"85":15104,"24":7,"16":128840759657889792,"45":8949074697174743040},"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-09-06 08:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898251008001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:54:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840759657889792,"km_value":128840759657889.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949074697174743040,"description":"Unknown IO ID 45"} 
[2026-09-06 08:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898251008001,"power":13102,"geofence_id":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8949074697174743040}} 
[2026-09-06 08:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":175030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:54:54] local.INFO: GPS data processed {"connection_id":175030,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:54:54] local.INFO: Acknowledgment sent {"connection_id":175030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:54:54] local.INFO: TCP Data received {"connection_id":172566,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:54:54] local.INFO: Processing buffer {"connection_id":172566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:54:54] local.INFO: Packet analysis {"connection_id":172566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:54:54] local.INFO: Extracted packet for processing {"connection_id":172566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:54:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898154240001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:54:54] 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-09-06 08:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664966000,"timestamp_ms":1788664966000,"timestamp_seconds":1788664966,"priority":1,"record_length":96,"hex_timestamp":"000001a074bd6b70"} 
[2026-09-06 08:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:54: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-09-06 08:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 08:54:54] 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-09-06 08:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:54: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-09-06 08:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898154240001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898154240001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:54:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:54:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898154240001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":172566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:54:54] local.INFO: GPS data processed {"connection_id":172566,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:54:54] local.INFO: Acknowledgment sent {"connection_id":172566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:55:10] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:55:10] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:55:10] local.INFO: IMEI packet received {"connection_id":173711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":173711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:55:14] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:55:14] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:55:14] local.INFO: IMEI packet received {"connection_id":173711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":173711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:55:15] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074bc5230012d18b18007246b480029015723..."} 
[2026-09-06 08:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bc5230012d18b18007246b480029015723..."} 
[2026-09-06 08:55:15] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bc5230012d18b18007246b480029015723..."} 
[2026-09-06 08:55:15] local.INFO: Packet analysis {"connection_id":173711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bc"} 
[2026-09-06 08:55:15] local.INFO: Extracted packet for processing {"connection_id":173711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bc"} 
[2026-09-06 08:55:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898207488001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788664894000,"timestamp_ms":1788664894000,"timestamp_seconds":1788664894,"priority":1,"record_length":96,"hex_timestamp":"000001a074bc5230"} 
[2026-09-06 08:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-06 08:55:15] 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-09-06 08: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-09-06 08:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898207488001,"66":11678,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898207488001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:55:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:55:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898207488001,"power":11678,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":173711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:55:15] local.INFO: GPS data processed {"connection_id":173711,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:55:15] local.INFO: Acknowledgment sent {"connection_id":173711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:55:17] local.INFO: TCP Data received {"connection_id":175031,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:55:17] local.INFO: Processing buffer {"connection_id":175031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:55:17] local.INFO: IMEI packet received {"connection_id":175031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":175031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:55:20] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074bca438012d18b18007246b480029015723..."} 
[2026-09-06 08:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bca438012d18b18007246b480029015723..."} 
[2026-09-06 08:55:20] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bca438012d18b18007246b480029015723..."} 
[2026-09-06 08:55:20] local.INFO: Packet analysis {"connection_id":173711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bc"} 
[2026-09-06 08:55:20] local.INFO: Extracted packet for processing {"connection_id":173711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bc"} 
[2026-09-06 08:55:20] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898212864001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788664915000,"timestamp_ms":1788664915000,"timestamp_seconds":1788664915,"priority":1,"record_length":96,"hex_timestamp":"000001a074bca438"} 
[2026-09-06 08:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:55:20] 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-09-06 08:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-06 08:55:20] 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-09-06 08:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898212864001,"66":11124,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898212864001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:55:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:55:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898212864001,"power":11124,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":173711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:55:20] local.INFO: GPS data processed {"connection_id":173711,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:55:20] local.INFO: Acknowledgment sent {"connection_id":173711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:55:22] local.INFO: TCP Data received {"connection_id":175031,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:55:22] local.INFO: Processing buffer {"connection_id":175031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:55:22] local.INFO: IMEI packet received {"connection_id":175031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":175031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:55:22] local.INFO: TCP Data received {"connection_id":175031,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074becb00012d7c31c005d98808000000a021..."} 
[2026-09-06 08:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074becb00012d7c31c005d98808000000a021..."} 
[2026-09-06 08:55:22] local.INFO: Processing buffer {"connection_id":175031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074becb00012d7c31c005d98808000000a021..."} 
[2026-09-06 08:55:22] local.INFO: Packet analysis {"connection_id":175031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074be"} 
[2026-09-06 08:55:22] local.INFO: Extracted packet for processing {"connection_id":175031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074be"} 
[2026-09-06 08:55:22] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142216,"longitude_deg":76.311392,"latitude_deg":9.8142216,"altitude":0,"angle":160,"satellites":33,"speed":4,"hex_longitude":"2d7c31c0","hex_latitude":"05d98808","is_valid_coordinates":true} 
[2026-09-06 08:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898251264001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840806902530048,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949004328430618624,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55: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-09-06 08:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788665056000,"timestamp_ms":1788665056000,"timestamp_seconds":1788665056,"priority":1,"record_length":96,"hex_timestamp":"000001a074becb00"} 
[2026-09-06 08:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 08:55:22] 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-09-06 08:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:55: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-09-06 08:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898251264001,"66":13243,"245":206,"85":15104,"24":4,"16":128840806902530048,"45":8949004328430618624},"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-09-06 08:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898251264001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:55:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840806902530048,"km_value":128840806902530.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949004328430618624,"description":"Unknown IO ID 45"} 
[2026-09-06 08:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898251264001,"power":13243,"geofence_id":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8949004328430618624}} 
[2026-09-06 08:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":175031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:55:22] local.INFO: GPS data processed {"connection_id":175031,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:55:22] local.INFO: Acknowledgment sent {"connection_id":175031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:55:25] local.INFO: TCP Data received {"connection_id":172566,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:55:25] local.INFO: Processing buffer {"connection_id":172566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:55:25] local.INFO: Packet analysis {"connection_id":172566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:55:25] local.INFO: Extracted packet for processing {"connection_id":172566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:55:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898154240001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:25] 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-09-06 08:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664966000,"timestamp_ms":1788664966000,"timestamp_seconds":1788664966,"priority":1,"record_length":96,"hex_timestamp":"000001a074bd6b70"} 
[2026-09-06 08:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:55: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-09-06 08:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 08:55:25] 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-09-06 08:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:55: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-09-06 08:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898154240001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898154240001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:55:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:55:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898154240001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":172566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:55:25] local.INFO: GPS data processed {"connection_id":172566,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:55:25] local.INFO: Acknowledgment sent {"connection_id":172566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:55:51] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074bcfa28012d18b18007246b480029015724..."} 
[2026-09-06 08:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bcfa28012d18b18007246b480029015724..."} 
[2026-09-06 08:55:51] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bcfa28012d18b18007246b480029015724..."} 
[2026-09-06 08:55:51] local.INFO: Packet analysis {"connection_id":173711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bc"} 
[2026-09-06 08:55:51] local.INFO: Extracted packet for processing {"connection_id":173711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bc"} 
[2026-09-06 08:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898218240001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788664937000,"timestamp_ms":1788664937000,"timestamp_seconds":1788664937,"priority":1,"record_length":96,"hex_timestamp":"000001a074bcfa28"} 
[2026-09-06 08:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-06 08:55:51] 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-09-06 08:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898218240001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898218240001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:55:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898218240001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":173711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:55:51] local.INFO: GPS data processed {"connection_id":173711,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:55:51] local.INFO: Acknowledgment sent {"connection_id":173711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:55:53] local.INFO: TCP Data received {"connection_id":172343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:55:53] local.INFO: Processing buffer {"connection_id":172343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:55:53] local.INFO: IMEI packet received {"connection_id":172343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":172343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:55:53] local.INFO: TCP Data received {"connection_id":175031,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074bf1920012d7c31c005d987a0000000a81b..."} 
[2026-09-06 08:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bf1920012d7c31c005d987a0000000a81b..."} 
[2026-09-06 08:55:53] local.INFO: Processing buffer {"connection_id":175031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bf1920012d7c31c005d987a0000000a81b..."} 
[2026-09-06 08:55:53] local.INFO: Packet analysis {"connection_id":175031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bf"} 
[2026-09-06 08:55:53] local.INFO: Extracted packet for processing {"connection_id":175031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bf"} 
[2026-09-06 08:55:53] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":27,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898254336001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918826496,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:53] 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-09-06 08:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788665076000,"timestamp_ms":1788665076000,"timestamp_seconds":1788665076,"priority":1,"record_length":96,"hex_timestamp":"000001a074bf1920"} 
[2026-09-06 08:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-06 08:55:53] 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-09-06 08: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-09-06 08:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:55:53] 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-09-06 08:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898254336001,"66":13678,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918826496},"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-09-06 08:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898254336001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:55:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918826496,"description":"Unknown IO ID 45"} 
[2026-09-06 08:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898254336001,"power":13678,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918826496}} 
[2026-09-06 08:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":175031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:55:53] local.INFO: GPS data processed {"connection_id":175031,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:55:53] local.INFO: Acknowledgment sent {"connection_id":175031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:55:58] local.INFO: TCP Data received {"connection_id":172343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:55:58] local.INFO: Processing buffer {"connection_id":172343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:55:58] local.INFO: IMEI packet received {"connection_id":172343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":172343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:55:59] local.INFO: TCP Data received {"connection_id":172343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:55:59] local.INFO: Processing buffer {"connection_id":172343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:55:59] local.INFO: Packet analysis {"connection_id":172343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:55:59] local.INFO: Extracted packet for processing {"connection_id":172343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:55:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898154240001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:55:59] 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-09-06 08:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788664966000,"timestamp_ms":1788664966000,"timestamp_seconds":1788664966,"priority":1,"record_length":96,"hex_timestamp":"000001a074bd6b70"} 
[2026-09-06 08:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 08:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898154240001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898154240001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:55:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:55:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898154240001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":172343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:55:59] local.INFO: GPS data processed {"connection_id":172343,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:55:59] local.INFO: Acknowledgment sent {"connection_id":172343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:56:03] local.INFO: TCP Data received {"connection_id":172343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:56:03] local.INFO: Processing buffer {"connection_id":172343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:56:03] local.INFO: Packet analysis {"connection_id":172343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:56:03] local.INFO: Extracted packet for processing {"connection_id":172343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:56:03] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898154240001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:03] 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-09-06 08:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788664966000,"timestamp_ms":1788664966000,"timestamp_seconds":1788664966,"priority":1,"record_length":96,"hex_timestamp":"000001a074bd6b70"} 
[2026-09-06 08:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 08:56:03] 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-09-06 08:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898154240001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898154240001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:56:03] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:56:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898154240001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":172343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:56:03] local.INFO: GPS data processed {"connection_id":172343,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:56:03] local.INFO: Acknowledgment sent {"connection_id":172343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:56:10] local.INFO: TCP Data received {"connection_id":173712,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:56:10] local.INFO: Processing buffer {"connection_id":173712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:56:10] local.INFO: IMEI packet received {"connection_id":173712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":173712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:56:15] local.INFO: TCP Data received {"connection_id":173712,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:56:15] local.INFO: Processing buffer {"connection_id":173712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:56:15] local.INFO: IMEI packet received {"connection_id":173712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":173712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:56:15] local.INFO: TCP Data received {"connection_id":173712,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074bd4c30012d18b18007246b480029015724..."} 
[2026-09-06 08:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bd4c30012d18b18007246b480029015724..."} 
[2026-09-06 08:56:15] local.INFO: Processing buffer {"connection_id":173712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bd4c30012d18b18007246b480029015724..."} 
[2026-09-06 08:56:15] local.INFO: Packet analysis {"connection_id":173712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:56:15] local.INFO: Extracted packet for processing {"connection_id":173712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898223872001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788664958000,"timestamp_ms":1788664958000,"timestamp_seconds":1788664958,"priority":1,"record_length":96,"hex_timestamp":"000001a074bd4c30"} 
[2026-09-06 08:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 08:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898223872001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898223872001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:56:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898223872001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":173712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:56:15] local.INFO: GPS data processed {"connection_id":173712,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:56:15] local.INFO: Acknowledgment sent {"connection_id":173712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:56:17] local.INFO: TCP Data received {"connection_id":173714,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:56:17] local.INFO: Processing buffer {"connection_id":173714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:56:17] local.INFO: IMEI packet received {"connection_id":173714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":173714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:56:22] local.INFO: TCP Data received {"connection_id":173714,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:56:22] local.INFO: Processing buffer {"connection_id":173714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:56:22] local.INFO: IMEI packet received {"connection_id":173714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":173714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:56:23] local.INFO: TCP Data received {"connection_id":173714,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074bf6b28012d7c31c005d987a0000000a81f..."} 
[2026-09-06 08:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bf6b28012d7c31c005d987a0000000a81f..."} 
[2026-09-06 08:56:23] local.INFO: Processing buffer {"connection_id":173714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bf6b28012d7c31c005d987a0000000a81f..."} 
[2026-09-06 08:56:23] local.INFO: Packet analysis {"connection_id":173714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bf"} 
[2026-09-06 08:56:23] local.INFO: Extracted packet for processing {"connection_id":173714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bf"} 
[2026-09-06 08:56:23] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":31,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898259456001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918799872,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:23] 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-09-06 08:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788665097000,"timestamp_ms":1788665097000,"timestamp_seconds":1788665097,"priority":1,"record_length":96,"hex_timestamp":"000001a074bf6b28"} 
[2026-09-06 08:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 08:56:23] 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-09-06 08: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-09-06 08:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:56: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-09-06 08:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898259456001,"66":13602,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918799872},"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-09-06 08:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898259456001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:56:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918799872,"description":"Unknown IO ID 45"} 
[2026-09-06 08:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898259456001,"power":13602,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918799872}} 
[2026-09-06 08:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":173714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:56:23] local.INFO: GPS data processed {"connection_id":173714,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:56:23] local.INFO: Acknowledgment sent {"connection_id":173714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:56:46] local.INFO: TCP Data received {"connection_id":173712,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074bd9a50012d18b18007246b480029015724..."} 
[2026-09-06 08:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bd9a50012d18b18007246b480029015724..."} 
[2026-09-06 08:56:46] local.INFO: Processing buffer {"connection_id":173712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bd9a50012d18b18007246b480029015724..."} 
[2026-09-06 08:56:46] local.INFO: Packet analysis {"connection_id":173712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:56:46] local.INFO: Extracted packet for processing {"connection_id":173712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898229248001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788664978000,"timestamp_ms":1788664978000,"timestamp_seconds":1788664978,"priority":1,"record_length":96,"hex_timestamp":"000001a074bd9a50"} 
[2026-09-06 08:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:56:46] 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-09-06 08:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 08:56:46] 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-09-06 08:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898229248001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898229248001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:56:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898229248001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":173712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:56:46] local.INFO: GPS data processed {"connection_id":173712,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:56:46] local.INFO: Acknowledgment sent {"connection_id":173712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:56:48] local.INFO: TCP Data received {"connection_id":172567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:56:48] local.INFO: Processing buffer {"connection_id":172567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:56:48] local.INFO: IMEI packet received {"connection_id":172567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":172567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:56:53] local.INFO: TCP Data received {"connection_id":172567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:56:53] local.INFO: Processing buffer {"connection_id":172567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:56:53] local.INFO: IMEI packet received {"connection_id":172567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":172567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:56:54] local.INFO: TCP Data received {"connection_id":173714,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074bfbd30012d7c31c005d987a0000000a81f..."} 
[2026-09-06 08:56:54] local.INFO: TCP Data received {"connection_id":172567,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bfbd30012d7c31c005d987a0000000a81f..."} 
[2026-09-06 08:56:54] local.INFO: Processing buffer {"connection_id":173714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bfbd30012d7c31c005d987a0000000a81f..."} 
[2026-09-06 08:56:54] local.INFO: Packet analysis {"connection_id":173714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bf"} 
[2026-09-06 08:56:54] local.INFO: Extracted packet for processing {"connection_id":173714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bf"} 
[2026-09-06 08:56:54] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":31,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 08:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898264832001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918799872,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:54] 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-09-06 08:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788665118000,"timestamp_ms":1788665118000,"timestamp_seconds":1788665118,"priority":1,"record_length":96,"hex_timestamp":"000001a074bfbd30"} 
[2026-09-06 08:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-06 08:56:54] 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-09-06 08:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:56:54] 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-09-06 08:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:56:54] local.INFO: Processing buffer {"connection_id":172567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:56:54] local.INFO: Packet analysis {"connection_id":172567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:56:54] local.INFO: Extracted packet for processing {"connection_id":172567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:56:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898154240001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:56:54] 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-09-06 08:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664966000,"timestamp_ms":1788664966000,"timestamp_seconds":1788664966,"priority":1,"record_length":96,"hex_timestamp":"000001a074bd6b70"} 
[2026-09-06 08:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:56: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-09-06 08:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 08:56:54] 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-09-06 08:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:56: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-09-06 08:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898264832001,"66":13200,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918799872},"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-09-06 08:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898264832001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:56:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918799872,"description":"Unknown IO ID 45"} 
[2026-09-06 08:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898264832001,"power":13200,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918799872}} 
[2026-09-06 08:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898154240001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898154240001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:56:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:56:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898154240001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":172567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:56:54] local.INFO: GPS data processed {"connection_id":172567,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:56:54] local.INFO: Acknowledgment sent {"connection_id":172567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":173714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:56:54] local.INFO: GPS data processed {"connection_id":173714,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:56:54] local.INFO: Acknowledgment sent {"connection_id":173714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:57:06] local.INFO: TCP Data received {"connection_id":173715,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:57:06] local.INFO: Processing buffer {"connection_id":173715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:57:06] local.INFO: IMEI packet received {"connection_id":173715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":173715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:57:10] local.INFO: TCP Data received {"connection_id":173715,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:57:10] local.INFO: Processing buffer {"connection_id":173715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:57:10] local.INFO: IMEI packet received {"connection_id":173715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":173715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:57:14] local.INFO: TCP Data received {"connection_id":173715,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:57:14] local.INFO: Processing buffer {"connection_id":173715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:57:14] local.INFO: IMEI packet received {"connection_id":173715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":173715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:57:15] local.INFO: TCP Data received {"connection_id":173715,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074bdf040012d18b18007246b480029015722..."} 
[2026-09-06 08:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bdf040012d18b18007246b480029015722..."} 
[2026-09-06 08:57:15] local.INFO: Processing buffer {"connection_id":173715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bdf040012d18b18007246b480029015722..."} 
[2026-09-06 08:57:15] local.INFO: Packet analysis {"connection_id":173715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:57:15] local.INFO: Extracted packet for processing {"connection_id":173715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898234368001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788665000000,"timestamp_ms":1788665000000,"timestamp_seconds":1788665000,"priority":1,"record_length":96,"hex_timestamp":"000001a074bdf040"} 
[2026-09-06 08:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 08:57:15] 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-09-06 08:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898234368001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898234368001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:57:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898234368001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":173715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:57:15] local.INFO: GPS data processed {"connection_id":173715,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:57:15] local.INFO: Acknowledgment sent {"connection_id":173715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:57:17] local.INFO: TCP Data received {"connection_id":172568,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:57:17] local.INFO: Processing buffer {"connection_id":172568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:57:17] local.INFO: IMEI packet received {"connection_id":172568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":172568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:57:22] local.INFO: TCP Data received {"connection_id":172568,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:57:22] local.INFO: Processing buffer {"connection_id":172568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:57:22] local.INFO: IMEI packet received {"connection_id":172568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":172568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:57:23] local.INFO: TCP Data received {"connection_id":172568,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c00f38012d7c31c005d987a0000000a820..."} 
[2026-09-06 08:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c00f38012d7c31c005d987a0000000a820..."} 
[2026-09-06 08:57:23] local.INFO: Processing buffer {"connection_id":172568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c00f38012d7c31c005d987a0000000a820..."} 
[2026-09-06 08:57:23] local.INFO: Packet analysis {"connection_id":172568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c0"} 
[2026-09-06 08:57:23] local.INFO: Extracted packet for processing {"connection_id":172568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c0"} 
[2026-09-06 08:57:23] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":32,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898270208001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918799872,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:23] 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-09-06 08:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788665139000,"timestamp_ms":1788665139000,"timestamp_seconds":1788665139,"priority":1,"record_length":96,"hex_timestamp":"000001a074c00f38"} 
[2026-09-06 08:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-06 08:57:23] 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-09-06 08: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-09-06 08:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:57: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-09-06 08:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898270208001,"66":13515,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918799872},"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-09-06 08:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898270208001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:57:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918799872,"description":"Unknown IO ID 45"} 
[2026-09-06 08:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898270208001,"power":13515,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918799872}} 
[2026-09-06 08:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":172568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:57:23] local.INFO: GPS data processed {"connection_id":172568,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:57:23] local.INFO: Acknowledgment sent {"connection_id":172568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:57:25] local.INFO: TCP Data received {"connection_id":172567,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:57:25] local.INFO: Processing buffer {"connection_id":172567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:57:25] local.INFO: Packet analysis {"connection_id":172567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:57:25] local.INFO: Extracted packet for processing {"connection_id":172567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:57:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898154240001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:25] 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-09-06 08:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664966000,"timestamp_ms":1788664966000,"timestamp_seconds":1788664966,"priority":1,"record_length":96,"hex_timestamp":"000001a074bd6b70"} 
[2026-09-06 08:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:57: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-09-06 08: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":59,"data_length":795,"current_offset":136} 
[2026-09-06 08:57:25] 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-09-06 08: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-09-06 08:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:57: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-09-06 08:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898154240001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898154240001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:57:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:57:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898154240001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":172567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:57:25] local.INFO: GPS data processed {"connection_id":172567,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:57:25] local.INFO: Acknowledgment sent {"connection_id":172567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:57:46] local.INFO: TCP Data received {"connection_id":173715,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074be3e60012d18b18007246b480029015723..."} 
[2026-09-06 08:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074be3e60012d18b18007246b480029015723..."} 
[2026-09-06 08:57:46] local.INFO: Processing buffer {"connection_id":173715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074be3e60012d18b18007246b480029015723..."} 
[2026-09-06 08:57:46] local.INFO: Packet analysis {"connection_id":173715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074be"} 
[2026-09-06 08:57:46] local.INFO: Extracted packet for processing {"connection_id":173715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074be"} 
[2026-09-06 08:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898240000001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788665020000,"timestamp_ms":1788665020000,"timestamp_seconds":1788665020,"priority":1,"record_length":96,"hex_timestamp":"000001a074be3e60"} 
[2026-09-06 08:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:57:46] 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-09-06 08:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 08:57:46] 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-09-06 08:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898240000001,"66":12178,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898240000001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:57:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898240000001,"power":12178,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":173715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:57:46] local.INFO: GPS data processed {"connection_id":173715,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:57:46] local.INFO: Acknowledgment sent {"connection_id":173715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:57:48] local.INFO: TCP Data received {"connection_id":172345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:57:48] local.INFO: Processing buffer {"connection_id":172345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:57:48] local.INFO: IMEI packet received {"connection_id":172345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":172345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:57:53] local.INFO: TCP Data received {"connection_id":172345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:57:53] local.INFO: Processing buffer {"connection_id":172345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:57:53] local.INFO: IMEI packet received {"connection_id":172345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":172345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:57:54] local.INFO: TCP Data received {"connection_id":172568,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c06140012d7c31c005d987a0000000a821..."} 
[2026-09-06 08:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c06140012d7c31c005d987a0000000a821..."} 
[2026-09-06 08:57:54] local.INFO: Processing buffer {"connection_id":172568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c06140012d7c31c005d987a0000000a821..."} 
[2026-09-06 08:57:54] local.INFO: Packet analysis {"connection_id":172568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c0"} 
[2026-09-06 08:57:54] local.INFO: Extracted packet for processing {"connection_id":172568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c0"} 
[2026-09-06 08:57:54] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":33,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 08:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898275584001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918799872,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:54] 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-09-06 08:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788665160000,"timestamp_ms":1788665160000,"timestamp_seconds":1788665160,"priority":1,"record_length":96,"hex_timestamp":"000001a074c06140"} 
[2026-09-06 08:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-06 08:57:54] 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-09-06 08:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:57:54] 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-09-06 08:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898275584001,"66":13646,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918799872},"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-09-06 08:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898275584001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:57:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918799872,"description":"Unknown IO ID 45"} 
[2026-09-06 08:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898275584001,"power":13646,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918799872}} 
[2026-09-06 08:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":172568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:57:54] local.INFO: GPS data processed {"connection_id":172568,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:57:54] local.INFO: Acknowledgment sent {"connection_id":172568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:57:54] local.INFO: TCP Data received {"connection_id":172345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:57:54] local.INFO: Processing buffer {"connection_id":172345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:57:54] local.INFO: Packet analysis {"connection_id":172345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:57:54] local.INFO: Extracted packet for processing {"connection_id":172345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:57:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898154240001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:57:54] 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-09-06 08:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788664966000,"timestamp_ms":1788664966000,"timestamp_seconds":1788664966,"priority":1,"record_length":96,"hex_timestamp":"000001a074bd6b70"} 
[2026-09-06 08:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:57: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-09-06 08:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 08:57:54] 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-09-06 08:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:57: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-09-06 08:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898154240001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898154240001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:57:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:57:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898154240001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":172345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:57:54] local.INFO: GPS data processed {"connection_id":172345,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:57:54] local.INFO: Acknowledgment sent {"connection_id":172345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:58:10] local.INFO: TCP Data received {"connection_id":172569,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:58:10] local.INFO: Processing buffer {"connection_id":172569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:58:10] local.INFO: IMEI packet received {"connection_id":172569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":172569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:58:10] local.INFO: TCP Data received {"connection_id":172569,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:58:10] local.INFO: Processing buffer {"connection_id":172569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:58:10] local.INFO: IMEI packet received {"connection_id":172569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":172569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:58:15] local.INFO: TCP Data received {"connection_id":172569,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:58:15] local.INFO: Processing buffer {"connection_id":172569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:58:15] local.INFO: IMEI packet received {"connection_id":172569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":172569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:58:15] local.INFO: TCP Data received {"connection_id":172569,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074be9068012d18b18007246b480029015723..."} 
[2026-09-06 08:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074be9068012d18b18007246b480029015723..."} 
[2026-09-06 08:58:15] local.INFO: Processing buffer {"connection_id":172569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074be9068012d18b18007246b480029015723..."} 
[2026-09-06 08:58:15] local.INFO: Packet analysis {"connection_id":172569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074be"} 
[2026-09-06 08:58:15] local.INFO: Extracted packet for processing {"connection_id":172569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074be"} 
[2026-09-06 08:58:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898245120001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788665041000,"timestamp_ms":1788665041000,"timestamp_seconds":1788665041,"priority":1,"record_length":96,"hex_timestamp":"000001a074be9068"} 
[2026-09-06 08:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 08:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898245120001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898245120001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:58:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:58:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898245120001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":172569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:58:15] local.INFO: GPS data processed {"connection_id":172569,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:58:15] local.INFO: Acknowledgment sent {"connection_id":172569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:58:22] local.INFO: TCP Data received {"connection_id":172570,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:58:22] local.INFO: Processing buffer {"connection_id":172570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:58:22] local.INFO: IMEI packet received {"connection_id":172570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":172570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:58:25] local.INFO: TCP Data received {"connection_id":172345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:58:25] local.INFO: Processing buffer {"connection_id":172345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bd6b70012d532d00064970480006014726..."} 
[2026-09-06 08:58:25] local.INFO: Packet analysis {"connection_id":172345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:58:25] local.INFO: Extracted packet for processing {"connection_id":172345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bd"} 
[2026-09-06 08:58:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":38,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898154240001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58:25] 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-09-06 08:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788664966000,"timestamp_ms":1788664966000,"timestamp_seconds":1788664966,"priority":1,"record_length":96,"hex_timestamp":"000001a074bd6b70"} 
[2026-09-06 08:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:58: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-09-06 08:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-06 08:58:25] 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-09-06 08:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:58: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-09-06 08:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898154240001,"66":25158,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898154240001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:58:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:58:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898154240001,"power":25158,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":172345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:58:25] local.INFO: GPS data processed {"connection_id":172345,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:58:25] local.INFO: Acknowledgment sent {"connection_id":172345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:58:27] local.INFO: TCP Data received {"connection_id":172570,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:58:27] local.INFO: Processing buffer {"connection_id":172570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:58:27] local.INFO: IMEI packet received {"connection_id":172570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":172570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:58:28] local.INFO: TCP Data received {"connection_id":172570,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c0b348012d7c31c005d987a0000000a821..."} 
[2026-09-06 08:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c0b348012d7c31c005d987a0000000a821..."} 
[2026-09-06 08:58:28] local.INFO: Processing buffer {"connection_id":172570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c0b348012d7c31c005d987a0000000a821..."} 
[2026-09-06 08:58:28] local.INFO: Packet analysis {"connection_id":172570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c0"} 
[2026-09-06 08:58:28] local.INFO: Extracted packet for processing {"connection_id":172570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c0"} 
[2026-09-06 08:58:28] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":33,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898280960001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918799872,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58: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-09-06 08:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788665181000,"timestamp_ms":1788665181000,"timestamp_seconds":1788665181,"priority":1,"record_length":96,"hex_timestamp":"000001a074c0b348"} 
[2026-09-06 08:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 08:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:58:28] 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-09-06 08:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898280960001,"66":13515,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918799872},"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-09-06 08:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898280960001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918799872,"description":"Unknown IO ID 45"} 
[2026-09-06 08:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898280960001,"power":13515,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918799872}} 
[2026-09-06 08:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":172570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:58:28] local.INFO: GPS data processed {"connection_id":172570,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:58:28] local.INFO: Acknowledgment sent {"connection_id":172570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:58:31] local.INFO: TCP Data received {"connection_id":173716,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:58:31] local.INFO: Processing buffer {"connection_id":173716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 08:58:31] local.INFO: IMEI packet received {"connection_id":173716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 08:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":173716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:58:46] local.INFO: TCP Data received {"connection_id":172569,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074bee270012d18b18007246b480029015723..."} 
[2026-09-06 08:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bee270012d18b18007246b480029015723..."} 
[2026-09-06 08:58:46] local.INFO: Processing buffer {"connection_id":172569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bee270012d18b18007246b480029015723..."} 
[2026-09-06 08:58:46] local.INFO: Packet analysis {"connection_id":172569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074be"} 
[2026-09-06 08:58:46] local.INFO: Extracted packet for processing {"connection_id":172569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074be"} 
[2026-09-06 08:58:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898250496001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788665062000,"timestamp_ms":1788665062000,"timestamp_seconds":1788665062,"priority":1,"record_length":96,"hex_timestamp":"000001a074bee270"} 
[2026-09-06 08:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:58:46] 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-09-06 08:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 08:58:46] 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-09-06 08:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898250496001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898250496001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:58:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898250496001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":172569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:58:47] local.INFO: GPS data processed {"connection_id":172569,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:58:47] local.INFO: Acknowledgment sent {"connection_id":172569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:58:48] local.INFO: TCP Data received {"connection_id":173717,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:58:48] local.INFO: Processing buffer {"connection_id":173717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:58:48] local.INFO: IMEI packet received {"connection_id":173717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":173717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:58:53] local.INFO: TCP Data received {"connection_id":173717,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:58:53] local.INFO: Processing buffer {"connection_id":173717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:58:53] local.INFO: IMEI packet received {"connection_id":173717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":173717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:58:54] local.INFO: TCP Data received {"connection_id":173717,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 08:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 08:58:54] local.INFO: Processing buffer {"connection_id":173717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 08:58:54] local.INFO: Packet analysis {"connection_id":173717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 08:58:54] local.INFO: Extracted packet for processing {"connection_id":173717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 08:58:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898231296001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58:54] 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-09-06 08:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788665267000,"timestamp_ms":1788665267000,"timestamp_seconds":1788665267,"priority":1,"record_length":96,"hex_timestamp":"000001a074c20338"} 
[2026-09-06 08:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:58: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-09-06 08:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:58: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-09-06 08:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898231296001,"66":24995,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898231296001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:58:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:58:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898231296001,"power":24995,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":173717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:58:54] local.INFO: GPS data processed {"connection_id":173717,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:58:54] local.INFO: Acknowledgment sent {"connection_id":173717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:58:59] local.INFO: TCP Data received {"connection_id":172570,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c10550012d7c31c005d987a0000000a821..."} 
[2026-09-06 08:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c10550012d7c31c005d987a0000000a821..."} 
[2026-09-06 08:58:59] local.INFO: Processing buffer {"connection_id":172570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c10550012d7c31c005d987a0000000a821..."} 
[2026-09-06 08:58:59] local.INFO: Packet analysis {"connection_id":172570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c1"} 
[2026-09-06 08:58:59] local.INFO: Extracted packet for processing {"connection_id":172570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c1"} 
[2026-09-06 08:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":33,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 08:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898286336001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918799872,"note":"Value kept but may cause issues"} 
[2026-09-06 08:58:59] 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-09-06 08:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788665202000,"timestamp_ms":1788665202000,"timestamp_seconds":1788665202,"priority":1,"record_length":96,"hex_timestamp":"000001a074c10550"} 
[2026-09-06 08:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-06 08:58:59] 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-09-06 08:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:58:59] 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-09-06 08:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898286336001,"66":13689,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918799872},"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-09-06 08:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898286336001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:58:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918799872,"description":"Unknown IO ID 45"} 
[2026-09-06 08:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898286336001,"power":13689,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918799872}} 
[2026-09-06 08:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":172570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:58:59] local.INFO: GPS data processed {"connection_id":172570,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:58:59] local.INFO: Acknowledgment sent {"connection_id":172570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:59:09] local.INFO: TCP Data received {"connection_id":172346,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:59:09] local.INFO: Processing buffer {"connection_id":172346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:59:09] local.INFO: IMEI packet received {"connection_id":172346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 08:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":172346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:59:12] local.INFO: TCP Data received {"connection_id":172346,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:59:12] local.INFO: Processing buffer {"connection_id":172346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 08:59:12] local.INFO: IMEI packet received {"connection_id":172346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 08:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":172346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:59:13] local.INFO: TCP Data received {"connection_id":172346,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074bf3478012d18b18007246b480029015724..."} 
[2026-09-06 08:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bf3478012d18b18007246b480029015724..."} 
[2026-09-06 08:59:13] local.INFO: Processing buffer {"connection_id":172346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bf3478012d18b18007246b480029015724..."} 
[2026-09-06 08:59:13] local.INFO: Packet analysis {"connection_id":172346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bf"} 
[2026-09-06 08:59:13] local.INFO: Extracted packet for processing {"connection_id":172346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bf"} 
[2026-09-06 08:59:13] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898255872001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788665083000,"timestamp_ms":1788665083000,"timestamp_seconds":1788665083,"priority":1,"record_length":96,"hex_timestamp":"000001a074bf3478"} 
[2026-09-06 08:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 08:59:13] 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-09-06 08:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898255872001,"66":12178,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898255872001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:59:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:59:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898255872001,"power":12178,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":172346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:59:13] local.INFO: GPS data processed {"connection_id":172346,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:59:13] local.INFO: Acknowledgment sent {"connection_id":172346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:59:17] local.INFO: TCP Data received {"connection_id":172571,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:59:17] local.INFO: Processing buffer {"connection_id":172571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:59:17] local.INFO: IMEI packet received {"connection_id":172571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 08:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":172571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:59:22] local.INFO: TCP Data received {"connection_id":172571,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:59:22] local.INFO: Processing buffer {"connection_id":172571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 08:59:22] local.INFO: IMEI packet received {"connection_id":172571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 08:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":172571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:59:23] local.INFO: TCP Data received {"connection_id":172571,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c15758012d7c31c005d987a0000000a821..."} 
[2026-09-06 08:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c15758012d7c31c005d987a0000000a821..."} 
[2026-09-06 08:59:23] local.INFO: Processing buffer {"connection_id":172571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c15758012d7c31c005d987a0000000a821..."} 
[2026-09-06 08:59:23] local.INFO: Packet analysis {"connection_id":172571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c1"} 
[2026-09-06 08:59:23] local.INFO: Extracted packet for processing {"connection_id":172571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c1"} 
[2026-09-06 08:59:23] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":33,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898291712001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918799872,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:23] 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-09-06 08:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788665223000,"timestamp_ms":1788665223000,"timestamp_seconds":1788665223,"priority":1,"record_length":96,"hex_timestamp":"000001a074c15758"} 
[2026-09-06 08:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-06 08:59:23] 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-09-06 08: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-09-06 08:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:59: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-09-06 08:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898291712001,"66":12722,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918799872},"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-09-06 08:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898291712001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:59:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918799872,"description":"Unknown IO ID 45"} 
[2026-09-06 08:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898291712001,"power":12722,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918799872}} 
[2026-09-06 08:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":172571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:59:23] local.INFO: GPS data processed {"connection_id":172571,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:59:23] local.INFO: Acknowledgment sent {"connection_id":172571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:59:25] local.INFO: TCP Data received {"connection_id":173717,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 08:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 08:59:25] local.INFO: Processing buffer {"connection_id":173717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 08:59:25] local.INFO: Packet analysis {"connection_id":173717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 08:59:25] local.INFO: Extracted packet for processing {"connection_id":173717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 08:59:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898231296001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:25] 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-09-06 08:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788665267000,"timestamp_ms":1788665267000,"timestamp_seconds":1788665267,"priority":1,"record_length":96,"hex_timestamp":"000001a074c20338"} 
[2026-09-06 08:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 08:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:59: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-09-06 08:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898231296001,"66":24995,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898231296001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:59:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:59:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898231296001,"power":24995,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":173717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:59:25] local.INFO: GPS data processed {"connection_id":173717,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:59:25] local.INFO: Acknowledgment sent {"connection_id":173717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:59:44] local.INFO: TCP Data received {"connection_id":172346,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074bf8680012d18b18007246b480029015724..."} 
[2026-09-06 08:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bf8680012d18b18007246b480029015724..."} 
[2026-09-06 08:59:44] local.INFO: Processing buffer {"connection_id":172346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bf8680012d18b18007246b480029015724..."} 
[2026-09-06 08:59:44] local.INFO: Packet analysis {"connection_id":172346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bf"} 
[2026-09-06 08:59:44] local.INFO: Extracted packet for processing {"connection_id":172346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bf"} 
[2026-09-06 08:59:44] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 08: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-09-06 08:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898261248001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 08:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788665104000,"timestamp_ms":1788665104000,"timestamp_seconds":1788665104,"priority":1,"record_length":96,"hex_timestamp":"000001a074bf8680"} 
[2026-09-06 08:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 08: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 08:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08: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-09-06 08:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":172346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":172346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":172346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 08:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 08:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 08:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898261248001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 08:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 08:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 08:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898261248001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:59:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 08:59:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 08:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 08:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898261248001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 08:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":172346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:59:44] local.INFO: GPS data processed {"connection_id":172346,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:59:44] local.INFO: Acknowledgment sent {"connection_id":172346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:59:53] local.INFO: TCP Data received {"connection_id":172572,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:59:53] local.INFO: Processing buffer {"connection_id":172572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:59:53] local.INFO: IMEI packet received {"connection_id":172572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 08:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":172572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 08:59:53] local.INFO: TCP Data received {"connection_id":172571,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c1a960012d7c31c005d987a0000000a821..."} 
[2026-09-06 08:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c1a960012d7c31c005d987a0000000a821..."} 
[2026-09-06 08:59:53] local.INFO: Processing buffer {"connection_id":172571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c1a960012d7c31c005d987a0000000a821..."} 
[2026-09-06 08:59:53] local.INFO: Packet analysis {"connection_id":172571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c1"} 
[2026-09-06 08:59:53] local.INFO: Extracted packet for processing {"connection_id":172571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c1"} 
[2026-09-06 08:59:53] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":33,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 08:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898297088001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918799872,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:53] 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-09-06 08:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788665244000,"timestamp_ms":1788665244000,"timestamp_seconds":1788665244,"priority":1,"record_length":96,"hex_timestamp":"000001a074c1a960"} 
[2026-09-06 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-09-06 08:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 08:59:53] 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-09-06 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-09-06 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-09-06 08:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 08:59:53] 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-09-06 08:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 08:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 08:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898297088001,"66":13624,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918799872},"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-09-06 08:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 08:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 08:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898297088001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:59:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 08:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918799872,"description":"Unknown IO ID 45"} 
[2026-09-06 08:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898297088001,"power":13624,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918799872}} 
[2026-09-06 08:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":172571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:59:53] local.INFO: GPS data processed {"connection_id":172571,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:59:53] local.INFO: Acknowledgment sent {"connection_id":172571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 08:59:58] local.INFO: TCP Data received {"connection_id":172572,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:59:58] local.INFO: Processing buffer {"connection_id":172572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 08:59:58] local.INFO: IMEI packet received {"connection_id":172572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 08:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":172572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 08:59:59] local.INFO: TCP Data received {"connection_id":172572,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 08:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 08:59:59] local.INFO: Processing buffer {"connection_id":172572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 08:59:59] local.INFO: Packet analysis {"connection_id":172572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 08:59:59] local.INFO: Extracted packet for processing {"connection_id":172572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 08:59:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 08:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 08:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898231296001,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 08:59:59] 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-09-06 08:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788665267000,"timestamp_ms":1788665267000,"timestamp_seconds":1788665267,"priority":1,"record_length":96,"hex_timestamp":"000001a074c20338"} 
[2026-09-06 08:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 08:59: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-09-06 08:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 08:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 08:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 08:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 08:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 08:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 08:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 08:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 08:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 08:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 08:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898231296001,"66":24995,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 08:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 08:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 08:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898231296001,"description":"Unknown IO ID 0"} 
[2026-09-06 08:59:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 08:59:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 08:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 08:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 08:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898231296001,"power":24995,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 08:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":172572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 08:59:59] local.INFO: GPS data processed {"connection_id":172572,"processed":1,"errors":0,"total":1} 
[2026-09-06 08:59:59] local.INFO: Acknowledgment sent {"connection_id":172572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:00:04] local.INFO: TCP Data received {"connection_id":172572,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:00:04] local.INFO: Processing buffer {"connection_id":172572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:00:04] local.INFO: Packet analysis {"connection_id":172572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:00:04] local.INFO: Extracted packet for processing {"connection_id":172572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:00:04] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 09:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898231296001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788665267000,"timestamp_ms":1788665267000,"timestamp_seconds":1788665267,"priority":1,"record_length":96,"hex_timestamp":"000001a074c20338"} 
[2026-09-06 09:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:00: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-09-06 09:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 09:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898231296001,"66":24995,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 09:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898231296001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:00:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 09:00:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 09:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 09:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898231296001,"power":24995,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 09:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":172572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:00:04] local.INFO: GPS data processed {"connection_id":172572,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:00:04] local.INFO: Acknowledgment sent {"connection_id":172572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:00:09] local.INFO: TCP Data received {"connection_id":172573,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:00:09] local.INFO: Processing buffer {"connection_id":172573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:00:09] local.INFO: IMEI packet received {"connection_id":172573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":172573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:00:14] local.INFO: TCP Data received {"connection_id":172573,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:00:14] local.INFO: Processing buffer {"connection_id":172573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:00:14] local.INFO: IMEI packet received {"connection_id":172573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":172573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:00:15] local.INFO: TCP Data received {"connection_id":172573,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074bfd888012d18b18007246b480029015722..."} 
[2026-09-06 09:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074bfd888012d18b18007246b480029015722..."} 
[2026-09-06 09:00:15] local.INFO: Processing buffer {"connection_id":172573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074bfd888012d18b18007246b480029015722..."} 
[2026-09-06 09:00:15] local.INFO: Packet analysis {"connection_id":172573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074bf"} 
[2026-09-06 09:00:15] local.INFO: Extracted packet for processing {"connection_id":172573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074bf"} 
[2026-09-06 09:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898266624001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788665125000,"timestamp_ms":1788665125000,"timestamp_seconds":1788665125,"priority":1,"record_length":96,"hex_timestamp":"000001a074bfd888"} 
[2026-09-06 09:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 09:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898266624001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898266624001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:00:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898266624001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":172573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:00:15] local.INFO: GPS data processed {"connection_id":172573,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:00:15] local.INFO: Acknowledgment sent {"connection_id":172573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:00:22] local.INFO: TCP Data received {"connection_id":173718,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:00:22] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:00:22] local.INFO: IMEI packet received {"connection_id":173718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":173718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:00:27] local.INFO: TCP Data received {"connection_id":173718,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:00:27] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:00:27] local.INFO: IMEI packet received {"connection_id":173718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":173718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:00:28] local.INFO: TCP Data received {"connection_id":173718,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c1fb68012d7c31c005d987a0000000a81e..."} 
[2026-09-06 09:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c1fb68012d7c31c005d987a0000000a81e..."} 
[2026-09-06 09:00:28] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c1fb68012d7c31c005d987a0000000a81e..."} 
[2026-09-06 09:00:28] local.INFO: Packet analysis {"connection_id":173718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c1"} 
[2026-09-06 09:00:28] local.INFO: Extracted packet for processing {"connection_id":173718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c1"} 
[2026-09-06 09:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":30,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 09:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898302464001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918799872,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00: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-09-06 09:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788665265000,"timestamp_ms":1788665265000,"timestamp_seconds":1788665265,"priority":1,"record_length":96,"hex_timestamp":"000001a074c1fb68"} 
[2026-09-06 09:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-06 09:00:28] 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-09-06 09:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:00:28] 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-09-06 09:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898302464001,"66":13580,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918799872},"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-09-06 09:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898302464001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:00:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918799872,"description":"Unknown IO ID 45"} 
[2026-09-06 09:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898302464001,"power":13580,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918799872}} 
[2026-09-06 09:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":173718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:00:28] local.INFO: GPS data processed {"connection_id":173718,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:00:28] local.INFO: Acknowledgment sent {"connection_id":173718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:00:32] local.INFO: TCP Data received {"connection_id":173718,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c24d70012d7c31c005d987a0000000a820..."} 
[2026-09-06 09:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c24d70012d7c31c005d987a0000000a820..."} 
[2026-09-06 09:00:32] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c24d70012d7c31c005d987a0000000a820..."} 
[2026-09-06 09:00:32] local.INFO: Packet analysis {"connection_id":173718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:00:32] local.INFO: Extracted packet for processing {"connection_id":173718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":32,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 09:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898307840001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918799872,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:32] 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-09-06 09:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788665286000,"timestamp_ms":1788665286000,"timestamp_seconds":1788665286,"priority":1,"record_length":96,"hex_timestamp":"000001a074c24d70"} 
[2026-09-06 09:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 09:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630780,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3649544192,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3910239381348155392,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:32] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3232974849,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:32] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2275409920,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959386869,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2834628814,"corrected_to":0} 
[2026-09-06 09:00:32] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3221608839,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:32] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:32] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3154771968,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:32] local.WARNING: Large IO value detected {"io_id":124,"raw_value":3584871735228366848,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:32] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8070224406699258283,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:32] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:32] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,245,85,24,241,157,16,188,160,169,45,192,135,33,10,66,87,5,1,240,121,227,116,217,4,113,205,97,49,239,53,2,201,124,51,59],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2834628814,"validated":0}]} 
[2026-09-06 09:00:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":184846802485248,"timestamp_seconds":184846802485.248,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 09:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:00:32] 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-09-06 09:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898307840001,"66":13646,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918799872},"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-09-06 09:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898307840001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:00:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918799872,"description":"Unknown IO ID 45"} 
[2026-09-06 09:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898307840001,"power":13646,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918799872}} 
[2026-09-06 09:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":173718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:00:32] local.INFO: GPS data processed {"connection_id":173718,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:00:32] local.INFO: Acknowledgment sent {"connection_id":173718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:00:46] local.INFO: TCP Data received {"connection_id":172573,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c35ee0012d18b18007246b480029015724..."} 
[2026-09-06 09:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c35ee0012d18b18007246b480029015724..."} 
[2026-09-06 09:00:46] local.INFO: Processing buffer {"connection_id":172573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c35ee0012d18b18007246b480029015724..."} 
[2026-09-06 09:00:46] local.INFO: Packet analysis {"connection_id":172573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c3"} 
[2026-09-06 09:00:46] local.INFO: Extracted packet for processing {"connection_id":172573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c3"} 
[2026-09-06 09:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898325760001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788665356000,"timestamp_ms":1788665356000,"timestamp_seconds":1788665356,"priority":1,"record_length":96,"hex_timestamp":"000001a074c35ee0"} 
[2026-09-06 09:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:00:46] 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-09-06 09:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 09:00:46] 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-09-06 09:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898325760001,"66":12178,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898325760001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:00:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898325760001,"power":12178,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":172573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:00:47] local.INFO: GPS data processed {"connection_id":172573,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:00:47] local.INFO: Acknowledgment sent {"connection_id":172573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:00:48] local.INFO: TCP Data received {"connection_id":172348,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:00:48] local.INFO: Processing buffer {"connection_id":172348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:00:48] local.INFO: IMEI packet received {"connection_id":172348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":172348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:00:53] local.INFO: TCP Data received {"connection_id":172348,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:00:53] local.INFO: Processing buffer {"connection_id":172348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:00:53] local.INFO: IMEI packet received {"connection_id":172348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":172348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:00:54] local.INFO: TCP Data received {"connection_id":172348,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:00:54] local.INFO: Processing buffer {"connection_id":172348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:00:54] local.INFO: Packet analysis {"connection_id":172348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:00:54] local.INFO: Extracted packet for processing {"connection_id":172348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:00:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898231296001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 09:00:54] 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-09-06 09:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788665267000,"timestamp_ms":1788665267000,"timestamp_seconds":1788665267,"priority":1,"record_length":96,"hex_timestamp":"000001a074c20338"} 
[2026-09-06 09:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:00: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-09-06 09: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 09:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:00: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-09-06 09:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898231296001,"66":24995,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 09:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898231296001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:00:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 09:00:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 09:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 09:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898231296001,"power":24995,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 09:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":172348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:00:54] local.INFO: GPS data processed {"connection_id":172348,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:00:54] local.INFO: Acknowledgment sent {"connection_id":172348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:01:09] local.INFO: TCP Data received {"connection_id":172574,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:01:09] local.INFO: Processing buffer {"connection_id":172574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:01:09] local.INFO: IMEI packet received {"connection_id":172574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":172574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:01:14] local.INFO: TCP Data received {"connection_id":172574,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:01:14] local.INFO: Processing buffer {"connection_id":172574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:01:14] local.INFO: IMEI packet received {"connection_id":172574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":172574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:01:15] local.INFO: TCP Data received {"connection_id":172574,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c3b0e8012d18b18007246b480029015723..."} 
[2026-09-06 09:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c3b0e8012d18b18007246b480029015723..."} 
[2026-09-06 09:01:15] local.INFO: Processing buffer {"connection_id":172574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c3b0e8012d18b18007246b480029015723..."} 
[2026-09-06 09:01:15] local.INFO: Packet analysis {"connection_id":172574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c3"} 
[2026-09-06 09:01:15] local.INFO: Extracted packet for processing {"connection_id":172574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c3"} 
[2026-09-06 09:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898331136001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788665377000,"timestamp_ms":1788665377000,"timestamp_seconds":1788665377,"priority":1,"record_length":96,"hex_timestamp":"000001a074c3b0e8"} 
[2026-09-06 09:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:01:15] 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-09-06 09:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 09:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898331136001,"66":12156,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898331136001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:01:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898331136001,"power":12156,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":172574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:01:15] local.INFO: GPS data processed {"connection_id":172574,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:01:15] local.INFO: Acknowledgment sent {"connection_id":172574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:01:17] local.INFO: TCP Data received {"connection_id":175034,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:01:17] local.INFO: Processing buffer {"connection_id":175034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:01:17] local.INFO: IMEI packet received {"connection_id":175034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":175034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:01:17] local.INFO: TCP Data received {"connection_id":175034,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:01:17] local.INFO: Processing buffer {"connection_id":175034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:01:17] local.INFO: IMEI packet received {"connection_id":175034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":175034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:01:22] local.INFO: TCP Data received {"connection_id":175034,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:01:22] local.INFO: Processing buffer {"connection_id":175034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:01:22] local.INFO: IMEI packet received {"connection_id":175034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":175034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:01:23] local.INFO: TCP Data received {"connection_id":175034,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c29f78012d7c31c005d987a0000000a81e..."} 
[2026-09-06 09:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c29f78012d7c31c005d987a0000000a81e..."} 
[2026-09-06 09:01:23] local.INFO: Processing buffer {"connection_id":175034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c29f78012d7c31c005d987a0000000a81e..."} 
[2026-09-06 09:01:23] local.INFO: Packet analysis {"connection_id":175034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:01:23] local.INFO: Extracted packet for processing {"connection_id":175034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:01:23] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":30,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898313216001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918799872,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:23] 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-09-06 09:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788665307000,"timestamp_ms":1788665307000,"timestamp_seconds":1788665307,"priority":1,"record_length":96,"hex_timestamp":"000001a074c29f78"} 
[2026-09-06 09:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 09:01:23] 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-09-06 09: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-09-06 09:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:01: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-09-06 09:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898313216001,"66":13526,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918799872},"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-09-06 09:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898313216001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:01:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918799872,"description":"Unknown IO ID 45"} 
[2026-09-06 09:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898313216001,"power":13526,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918799872}} 
[2026-09-06 09:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":175034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:01:23] local.INFO: GPS data processed {"connection_id":175034,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:01:23] local.INFO: Acknowledgment sent {"connection_id":175034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:01:25] local.INFO: TCP Data received {"connection_id":172348,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:01:25] local.INFO: Processing buffer {"connection_id":172348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:01:25] local.INFO: Packet analysis {"connection_id":172348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:01:25] local.INFO: Extracted packet for processing {"connection_id":172348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:01:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 09:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898231296001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:25] 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-09-06 09:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788665267000,"timestamp_ms":1788665267000,"timestamp_seconds":1788665267,"priority":1,"record_length":96,"hex_timestamp":"000001a074c20338"} 
[2026-09-06 09:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:01: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-09-06 09:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 09:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:01: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-09-06 09:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898231296001,"66":24995,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 09:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898231296001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:01:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 09:01:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 09:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 09:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898231296001,"power":24995,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 09:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":172348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:01:25] local.INFO: GPS data processed {"connection_id":172348,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:01:25] local.INFO: Acknowledgment sent {"connection_id":172348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:01:27] local.INFO: TCP Data received {"connection_id":175034,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c2f180012d7c31c005d987a0000000a81e..."} 
[2026-09-06 09:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c2f180012d7c31c005d987a0000000a81e..."} 
[2026-09-06 09:01:27] local.INFO: Processing buffer {"connection_id":175034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c2f180012d7c31c005d987a0000000a81e..."} 
[2026-09-06 09:01:27] local.INFO: Packet analysis {"connection_id":175034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:01:27] local.INFO: Extracted packet for processing {"connection_id":175034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:01:27] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":30,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 09:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898318592001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918799872,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:27] 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-09-06 09:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788665328000,"timestamp_ms":1788665328000,"timestamp_seconds":1788665328,"priority":1,"record_length":96,"hex_timestamp":"000001a074c2f180"} 
[2026-09-06 09:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-06 09:01:27] 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-09-06 09:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:01: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-09-06 09:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898318592001,"66":13526,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918799872},"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-09-06 09:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898318592001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:01:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918799872,"description":"Unknown IO ID 45"} 
[2026-09-06 09:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898318592001,"power":13526,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918799872}} 
[2026-09-06 09:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":175034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:01:27] local.INFO: GPS data processed {"connection_id":175034,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:01:27] local.INFO: Acknowledgment sent {"connection_id":175034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:01:46] local.INFO: TCP Data received {"connection_id":172574,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c402f0012d18b18007246b480029015725..."} 
[2026-09-06 09:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c402f0012d18b18007246b480029015725..."} 
[2026-09-06 09:01:46] local.INFO: Processing buffer {"connection_id":172574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c402f0012d18b18007246b480029015725..."} 
[2026-09-06 09:01:46] local.INFO: Packet analysis {"connection_id":172574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c4"} 
[2026-09-06 09:01:46] local.INFO: Extracted packet for processing {"connection_id":172574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c4"} 
[2026-09-06 09:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898336512001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788665398000,"timestamp_ms":1788665398000,"timestamp_seconds":1788665398,"priority":1,"record_length":96,"hex_timestamp":"000001a074c402f0"} 
[2026-09-06 09:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:01:46] 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-09-06 09:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 09:01:46] 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-09-06 09:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898336512001,"66":12178,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898336512001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:01:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898336512001,"power":12178,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":172574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:01:46] local.INFO: GPS data processed {"connection_id":172574,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:01:46] local.INFO: Acknowledgment sent {"connection_id":172574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:01:48] local.INFO: TCP Data received {"connection_id":173719,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:01:48] local.INFO: Processing buffer {"connection_id":173719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:01:48] local.INFO: IMEI packet received {"connection_id":173719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":173719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:01:53] local.INFO: TCP Data received {"connection_id":173719,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:01:53] local.INFO: Processing buffer {"connection_id":173719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:01:53] local.INFO: IMEI packet received {"connection_id":173719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":173719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:01:54] local.INFO: TCP Data received {"connection_id":173719,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:01:54] local.INFO: Processing buffer {"connection_id":173719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:01:54] local.INFO: Packet analysis {"connection_id":173719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:01:54] local.INFO: Extracted packet for processing {"connection_id":173719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:01:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 09:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898231296001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:54] 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-09-06 09:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788665267000,"timestamp_ms":1788665267000,"timestamp_seconds":1788665267,"priority":1,"record_length":96,"hex_timestamp":"000001a074c20338"} 
[2026-09-06 09:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:01: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-09-06 09:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 09:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:01: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-09-06 09:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898231296001,"66":24995,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 09:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898231296001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:01:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 09:01:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 09:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 09:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898231296001,"power":24995,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 09:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":173719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:01:54] local.INFO: GPS data processed {"connection_id":173719,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:01:54] local.INFO: Acknowledgment sent {"connection_id":173719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:01:58] local.INFO: TCP Data received {"connection_id":175034,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c34388012d7c31c005d987a0000000a81f..."} 
[2026-09-06 09:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c34388012d7c31c005d987a0000000a81f..."} 
[2026-09-06 09:01:58] local.INFO: Processing buffer {"connection_id":175034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c34388012d7c31c005d987a0000000a81f..."} 
[2026-09-06 09:01:58] local.INFO: Packet analysis {"connection_id":175034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c3"} 
[2026-09-06 09:01:58] local.INFO: Extracted packet for processing {"connection_id":175034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c3"} 
[2026-09-06 09:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":31,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 09:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898323968001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918799872,"note":"Value kept but may cause issues"} 
[2026-09-06 09:01:58] 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-09-06 09:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788665349000,"timestamp_ms":1788665349000,"timestamp_seconds":1788665349,"priority":1,"record_length":96,"hex_timestamp":"000001a074c34388"} 
[2026-09-06 09:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-06 09:01:58] 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-09-06 09:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:01:58] 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-09-06 09:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898323968001,"66":13798,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918799872},"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-09-06 09:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898323968001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:01:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918799872,"description":"Unknown IO ID 45"} 
[2026-09-06 09:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898323968001,"power":13798,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918799872}} 
[2026-09-06 09:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":175034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:01:58] local.INFO: GPS data processed {"connection_id":175034,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:01:58] local.INFO: Acknowledgment sent {"connection_id":175034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:02:09] local.INFO: TCP Data received {"connection_id":172349,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:02:09] local.INFO: Processing buffer {"connection_id":172349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:02:09] local.INFO: IMEI packet received {"connection_id":172349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":172349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:02:14] local.INFO: TCP Data received {"connection_id":172349,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:02:14] local.INFO: Processing buffer {"connection_id":172349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:02:14] local.INFO: IMEI packet received {"connection_id":172349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":172349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:02:15] local.INFO: TCP Data received {"connection_id":172349,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c454f8012d18b18007246b480029015723..."} 
[2026-09-06 09:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c454f8012d18b18007246b480029015723..."} 
[2026-09-06 09:02:15] local.INFO: Processing buffer {"connection_id":172349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c454f8012d18b18007246b480029015723..."} 
[2026-09-06 09:02:15] local.INFO: Packet analysis {"connection_id":172349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c4"} 
[2026-09-06 09:02:15] local.INFO: Extracted packet for processing {"connection_id":172349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c4"} 
[2026-09-06 09:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898341888001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788665419000,"timestamp_ms":1788665419000,"timestamp_seconds":1788665419,"priority":1,"record_length":96,"hex_timestamp":"000001a074c454f8"} 
[2026-09-06 09:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:02:15] 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-09-06 09:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 09:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898341888001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898341888001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:02:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898341888001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":172349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:02:15] local.INFO: GPS data processed {"connection_id":172349,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:02:15] local.INFO: Acknowledgment sent {"connection_id":172349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:02:17] local.INFO: TCP Data received {"connection_id":172575,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:02:17] local.INFO: Processing buffer {"connection_id":172575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:02:17] local.INFO: IMEI packet received {"connection_id":172575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":172575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:02:20] local.INFO: TCP Data received {"connection_id":172575,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:02:20] local.INFO: Processing buffer {"connection_id":172575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:02:20] local.INFO: IMEI packet received {"connection_id":172575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":172575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:02:21] local.INFO: TCP Data received {"connection_id":172575,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c39590012d7c31c005d987a0000000a81d..."} 
[2026-09-06 09:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c39590012d7c31c005d987a0000000a81d..."} 
[2026-09-06 09:02:21] local.INFO: Processing buffer {"connection_id":172575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c39590012d7c31c005d987a0000000a81d..."} 
[2026-09-06 09:02:21] local.INFO: Packet analysis {"connection_id":172575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c3"} 
[2026-09-06 09:02:21] local.INFO: Extracted packet for processing {"connection_id":172575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c3"} 
[2026-09-06 09:02:21] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":29,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 09:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898329344001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918799872,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:21] 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-09-06 09:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788665370000,"timestamp_ms":1788665370000,"timestamp_seconds":1788665370,"priority":1,"record_length":96,"hex_timestamp":"000001a074c39590"} 
[2026-09-06 09:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 09:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:02:21] 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-09-06 09:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898329344001,"66":13624,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918799872},"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-09-06 09:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898329344001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:02:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918799872,"description":"Unknown IO ID 45"} 
[2026-09-06 09:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898329344001,"power":13624,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918799872}} 
[2026-09-06 09:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":172575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:02:21] local.INFO: GPS data processed {"connection_id":172575,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:02:21] local.INFO: Acknowledgment sent {"connection_id":172575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:02:25] local.INFO: TCP Data received {"connection_id":173719,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:02:25] local.INFO: Processing buffer {"connection_id":173719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:02:25] local.INFO: Packet analysis {"connection_id":173719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:02:25] local.INFO: Extracted packet for processing {"connection_id":173719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:02:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898231296001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:25] 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-09-06 09:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788665267000,"timestamp_ms":1788665267000,"timestamp_seconds":1788665267,"priority":1,"record_length":96,"hex_timestamp":"000001a074c20338"} 
[2026-09-06 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-09-06 09:02: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-09-06 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 09:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 09:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 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-09-06 09:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898231296001,"66":24995,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 09:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898231296001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:02:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 09:02:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 09:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 09:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898231296001,"power":24995,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 09:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":173719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:02:25] local.INFO: GPS data processed {"connection_id":173719,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:02:25] local.INFO: Acknowledgment sent {"connection_id":173719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:02:46] local.INFO: TCP Data received {"connection_id":172349,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c4a700012d18b18007246b480029015722..."} 
[2026-09-06 09:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c4a700012d18b18007246b480029015722..."} 
[2026-09-06 09:02:46] local.INFO: Processing buffer {"connection_id":172349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c4a700012d18b18007246b480029015722..."} 
[2026-09-06 09:02:46] local.INFO: Packet analysis {"connection_id":172349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c4"} 
[2026-09-06 09:02:46] local.INFO: Extracted packet for processing {"connection_id":172349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c4"} 
[2026-09-06 09:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898347264001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788665440000,"timestamp_ms":1788665440000,"timestamp_seconds":1788665440,"priority":1,"record_length":96,"hex_timestamp":"000001a074c4a700"} 
[2026-09-06 09:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:02:46] 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-09-06 09:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 09:02:46] 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-09-06 09:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898347264001,"66":12178,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898347264001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:02:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898347264001,"power":12178,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":172349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:02:46] local.INFO: GPS data processed {"connection_id":172349,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:02:46] local.INFO: Acknowledgment sent {"connection_id":172349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:02:48] local.INFO: TCP Data received {"connection_id":175036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:02:48] local.INFO: Processing buffer {"connection_id":175036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:02:48] local.INFO: IMEI packet received {"connection_id":175036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":175036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:02:52] local.INFO: TCP Data received {"connection_id":172575,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c3e798012d7c31c005d987a0000000a81f..."} 
[2026-09-06 09:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c3e798012d7c31c005d987a0000000a81f..."} 
[2026-09-06 09:02:52] local.INFO: Processing buffer {"connection_id":172575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c3e798012d7c31c005d987a0000000a81f..."} 
[2026-09-06 09:02:52] local.INFO: Packet analysis {"connection_id":172575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c3"} 
[2026-09-06 09:02:52] local.INFO: Extracted packet for processing {"connection_id":172575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c3"} 
[2026-09-06 09:02:52] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":31,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898334720001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918799872,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:52] 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-09-06 09:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788665391000,"timestamp_ms":1788665391000,"timestamp_seconds":1788665391,"priority":1,"record_length":96,"hex_timestamp":"000001a074c3e798"} 
[2026-09-06 09:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-06 09:02:52] 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-09-06 09: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-09-06 09:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:02: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-09-06 09:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898334720001,"66":13678,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918799872},"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-09-06 09:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898334720001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:02:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918799872,"description":"Unknown IO ID 45"} 
[2026-09-06 09:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898334720001,"power":13678,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918799872}} 
[2026-09-06 09:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":172575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:02:52] local.INFO: GPS data processed {"connection_id":172575,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:02:52] local.INFO: Acknowledgment sent {"connection_id":172575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:02:53] local.INFO: TCP Data received {"connection_id":175036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:02:53] local.INFO: Processing buffer {"connection_id":175036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:02:53] local.INFO: IMEI packet received {"connection_id":175036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":175036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:02:54] local.INFO: TCP Data received {"connection_id":175036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:02:54] local.INFO: Processing buffer {"connection_id":175036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:02:54] local.INFO: Packet analysis {"connection_id":175036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:02:54] local.INFO: Extracted packet for processing {"connection_id":175036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:02:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898231296001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 09:02:54] 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-09-06 09:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788665267000,"timestamp_ms":1788665267000,"timestamp_seconds":1788665267,"priority":1,"record_length":96,"hex_timestamp":"000001a074c20338"} 
[2026-09-06 09:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:02: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-09-06 09: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 09:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:02: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-09-06 09:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898231296001,"66":24995,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 09:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898231296001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:02:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 09:02:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 09:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 09:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898231296001,"power":24995,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 09:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":175036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:02:54] local.INFO: GPS data processed {"connection_id":175036,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:02:54] local.INFO: Acknowledgment sent {"connection_id":175036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:03:14] local.INFO: TCP Data received {"connection_id":175037,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:03:14] local.INFO: Processing buffer {"connection_id":175037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:03:14] local.INFO: IMEI packet received {"connection_id":175037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":175037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:03:17] local.INFO: TCP Data received {"connection_id":173720,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:03:17] local.INFO: Processing buffer {"connection_id":173720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:03:17] local.INFO: IMEI packet received {"connection_id":173720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":173720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:03:17] local.INFO: TCP Data received {"connection_id":173720,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:03:17] local.INFO: Processing buffer {"connection_id":173720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:03:17] local.INFO: IMEI packet received {"connection_id":173720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":173720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:03:18] local.INFO: TCP Data received {"connection_id":173720,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:03:18] local.INFO: Processing buffer {"connection_id":173720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:03:18] local.INFO: IMEI packet received {"connection_id":173720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":173720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:03:19] local.INFO: TCP Data received {"connection_id":175037,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:03:19] local.INFO: Processing buffer {"connection_id":175037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:03:19] local.INFO: IMEI packet received {"connection_id":175037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":175037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:03:22] local.INFO: TCP Data received {"connection_id":173720,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:03:22] local.INFO: Processing buffer {"connection_id":173720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:03:22] local.INFO: IMEI packet received {"connection_id":173720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":173720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:03:23] local.INFO: TCP Data received {"connection_id":175037,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c4f908012d18b18007246b480029015725..."} 
[2026-09-06 09:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c4f908012d18b18007246b480029015725..."} 
[2026-09-06 09:03:23] local.INFO: Processing buffer {"connection_id":175037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c4f908012d18b18007246b480029015725..."} 
[2026-09-06 09:03:23] local.INFO: Packet analysis {"connection_id":175037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c4"} 
[2026-09-06 09:03:23] local.INFO: Extracted packet for processing {"connection_id":175037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c4"} 
[2026-09-06 09:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898352640001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788665461000,"timestamp_ms":1788665461000,"timestamp_seconds":1788665461,"priority":1,"record_length":96,"hex_timestamp":"000001a074c4f908"} 
[2026-09-06 09:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 09:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898352640001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898352640001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:03:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:03:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898352640001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:03:23] local.INFO: TCP Data received {"connection_id":173720,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c439a0012d7c31c005d987a0000000a81c..."} 
[2026-09-06 09:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c439a0012d7c31c005d987a0000000a81c..."} 
[2026-09-06 09:03:23] local.INFO: Processing buffer {"connection_id":173720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c439a0012d7c31c005d987a0000000a81c..."} 
[2026-09-06 09:03:23] local.INFO: Packet analysis {"connection_id":173720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c4"} 
[2026-09-06 09:03:23] local.INFO: Extracted packet for processing {"connection_id":173720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c4"} 
[2026-09-06 09:03:23] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":28,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898340096001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918799872,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:23] 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-09-06 09:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788665412000,"timestamp_ms":1788665412000,"timestamp_seconds":1788665412,"priority":1,"record_length":96,"hex_timestamp":"000001a074c439a0"} 
[2026-09-06 09:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 09:03:23] 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-09-06 09: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-09-06 09:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:03: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-09-06 09:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898340096001,"66":13646,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918799872},"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-09-06 09:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898340096001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:03:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918799872,"description":"Unknown IO ID 45"} 
[2026-09-06 09:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898340096001,"power":13646,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918799872}} 
[2026-09-06 09:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":173720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:03:23] local.INFO: GPS data processed {"connection_id":173720,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:03:23] local.INFO: Acknowledgment sent {"connection_id":173720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":175037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:03:23] local.INFO: GPS data processed {"connection_id":175037,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:03:23] local.INFO: Acknowledgment sent {"connection_id":175037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:03:24] local.INFO: TCP Data received {"connection_id":175037,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c54b10012d18b18007246b480029015725..."} 
[2026-09-06 09:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c54b10012d18b18007246b480029015725..."} 
[2026-09-06 09:03:24] local.INFO: Processing buffer {"connection_id":175037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c54b10012d18b18007246b480029015725..."} 
[2026-09-06 09:03:24] local.INFO: Packet analysis {"connection_id":175037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c5"} 
[2026-09-06 09:03:24] local.INFO: Extracted packet for processing {"connection_id":175037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c5"} 
[2026-09-06 09:03:24] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898358016001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788665482000,"timestamp_ms":1788665482000,"timestamp_seconds":1788665482,"priority":1,"record_length":96,"hex_timestamp":"000001a074c54b10"} 
[2026-09-06 09:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 09:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898358016001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898358016001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:03:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:03:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898358016001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":175037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:03:25] local.INFO: GPS data processed {"connection_id":175037,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:03:25] local.INFO: Acknowledgment sent {"connection_id":175037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:03:25] local.INFO: TCP Data received {"connection_id":175036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:03:25] local.INFO: Processing buffer {"connection_id":175036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c20338012d532d00064970480006014727..."} 
[2026-09-06 09:03:25] local.INFO: Packet analysis {"connection_id":175036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:03:25] local.INFO: Extracted packet for processing {"connection_id":175036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c2"} 
[2026-09-06 09:03:25] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898231296001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:25] 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-09-06 09:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788665267000,"timestamp_ms":1788665267000,"timestamp_seconds":1788665267,"priority":1,"record_length":96,"hex_timestamp":"000001a074c20338"} 
[2026-09-06 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-09-06 09:03: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-09-06 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 09:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 09:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:03: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-09-06 09:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898231296001,"66":24995,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 09:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898231296001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:03:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 09:03:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 09:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 09:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898231296001,"power":24995,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 09:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":175036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:03:25] local.INFO: GPS data processed {"connection_id":175036,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:03:25] local.INFO: Acknowledgment sent {"connection_id":175036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:03:53] local.INFO: TCP Data received {"connection_id":175039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:03:53] local.INFO: Processing buffer {"connection_id":175039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:03:53] local.INFO: IMEI packet received {"connection_id":175039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":175039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:03:54] local.INFO: TCP Data received {"connection_id":173720,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c48ba8012d7c31c005d987a0000000a81c..."} 
[2026-09-06 09:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c48ba8012d7c31c005d987a0000000a81c..."} 
[2026-09-06 09:03:54] local.INFO: Processing buffer {"connection_id":173720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c48ba8012d7c31c005d987a0000000a81c..."} 
[2026-09-06 09:03:54] local.INFO: Packet analysis {"connection_id":173720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c4"} 
[2026-09-06 09:03:54] local.INFO: Extracted packet for processing {"connection_id":173720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c4"} 
[2026-09-06 09:03:54] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142112,"longitude_deg":76.311392,"latitude_deg":9.8142112,"altitude":0,"angle":168,"satellites":28,"speed":0,"hex_longitude":"2d7c31c0","hex_latitude":"05d987a0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898345472001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128840815492464640,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918799872,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:54] 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-09-06 09:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788665433000,"timestamp_ms":1788665433000,"timestamp_seconds":1788665433,"priority":1,"record_length":96,"hex_timestamp":"000001a074c48ba8"} 
[2026-09-06 09:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 09:03:54] 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-09-06 09: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-09-06 09:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:03:54] 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-09-06 09:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898345472001,"66":13602,"245":206,"85":15104,"24":0,"16":128840815492464640,"45":8949145065918799872},"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-09-06 09:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898345472001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:03:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128840815492464640,"km_value":128840815492464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918799872,"description":"Unknown IO ID 45"} 
[2026-09-06 09:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898345472001,"power":13602,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949145065918799872}} 
[2026-09-06 09:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":173720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:03:54] local.INFO: GPS data processed {"connection_id":173720,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:03:54] local.INFO: Acknowledgment sent {"connection_id":173720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:03:58] local.INFO: TCP Data received {"connection_id":175039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:03:58] local.INFO: Processing buffer {"connection_id":175039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:03:58] local.INFO: IMEI packet received {"connection_id":175039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":175039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:03:59] local.INFO: TCP Data received {"connection_id":175039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c69b00012d532d00064970480006014729..."} 
[2026-09-06 09:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c69b00012d532d00064970480006014729..."} 
[2026-09-06 09:03:59] local.INFO: Processing buffer {"connection_id":175039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c69b00012d532d00064970480006014729..."} 
[2026-09-06 09:03:59] local.INFO: Packet analysis {"connection_id":175039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c6"} 
[2026-09-06 09:03:59] local.INFO: Extracted packet for processing {"connection_id":175039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c6"} 
[2026-09-06 09:03:59] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 09:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898308352001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 09:03:59] 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-09-06 09:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788665568000,"timestamp_ms":1788665568000,"timestamp_seconds":1788665568,"priority":1,"record_length":96,"hex_timestamp":"000001a074c69b00"} 
[2026-09-06 09:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:03: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-09-06 09:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-06 09:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898308352001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 09:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898308352001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:03:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 09:03:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 09:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 09:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898308352001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 09:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":175039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:03:59] local.INFO: GPS data processed {"connection_id":175039,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:03:59] local.INFO: Acknowledgment sent {"connection_id":175039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:04:06] local.INFO: TCP Data received {"connection_id":173721,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:04:06] local.INFO: Processing buffer {"connection_id":173721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:04:06] local.INFO: IMEI packet received {"connection_id":173721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":173721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:04:10] local.INFO: TCP Data received {"connection_id":173721,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:04:10] local.INFO: Processing buffer {"connection_id":173721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:04:10] local.INFO: IMEI packet received {"connection_id":173721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":173721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:04:11] local.INFO: TCP Data received {"connection_id":173722,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:04:11] local.INFO: Processing buffer {"connection_id":173722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:04:11] local.INFO: IMEI packet received {"connection_id":173722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 09:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":173722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:04:15] local.INFO: TCP Data received {"connection_id":173721,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:04:15] local.INFO: Processing buffer {"connection_id":173721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:04:15] local.INFO: IMEI packet received {"connection_id":173721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":173721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:04:15] local.INFO: TCP Data received {"connection_id":173721,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c59d18012d18b18007246b480029015724..."} 
[2026-09-06 09:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c59d18012d18b18007246b480029015724..."} 
[2026-09-06 09:04:15] local.INFO: Processing buffer {"connection_id":173721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c59d18012d18b18007246b480029015724..."} 
[2026-09-06 09:04:15] local.INFO: Packet analysis {"connection_id":173721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c5"} 
[2026-09-06 09:04:15] local.INFO: Extracted packet for processing {"connection_id":173721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c5"} 
[2026-09-06 09:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898363392001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788665503000,"timestamp_ms":1788665503000,"timestamp_seconds":1788665503,"priority":1,"record_length":96,"hex_timestamp":"000001a074c59d18"} 
[2026-09-06 09:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:04:15] 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-09-06 09:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 09:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898363392001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898363392001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:04:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898363392001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":173721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:04:15] local.INFO: GPS data processed {"connection_id":173721,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:04:15] local.INFO: Acknowledgment sent {"connection_id":173721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:04:17] local.INFO: TCP Data received {"connection_id":175040,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:04:17] local.INFO: Processing buffer {"connection_id":175040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:04:17] local.INFO: IMEI packet received {"connection_id":175040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":175040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:04:20] local.INFO: TCP Data received {"connection_id":175040,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:04:20] local.INFO: Processing buffer {"connection_id":175040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:04:20] local.INFO: IMEI packet received {"connection_id":175040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":175040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:04:22] local.INFO: TCP Data received {"connection_id":175040,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:04:22] local.INFO: Processing buffer {"connection_id":175040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:04:22] local.INFO: IMEI packet received {"connection_id":175040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":175040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:04:23] local.INFO: TCP Data received {"connection_id":175040,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c775c0012d7c594005d994480000004b1f..."} 
[2026-09-06 09:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c775c0012d7c594005d994480000004b1f..."} 
[2026-09-06 09:04:23] local.INFO: Processing buffer {"connection_id":175040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c775c0012d7c594005d994480000004b1f..."} 
[2026-09-06 09:04:23] local.INFO: Packet analysis {"connection_id":175040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:04:23] local.INFO: Extracted packet for processing {"connection_id":175040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:04:23] local.INFO: GPS Element Parsed {"raw_longitude":763124032,"raw_latitude":98145352,"longitude_deg":76.3124032,"latitude_deg":9.8145352,"altitude":0,"angle":75,"satellites":31,"speed":18,"hex_longitude":"2d7c5940","hex_latitude":"05d99448","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898394624001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128841322298605568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951959815686080512,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:23] 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-09-06 09:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788665624000,"timestamp_ms":1788665624000,"timestamp_seconds":1788665624,"priority":1,"record_length":96,"hex_timestamp":"000001a074c775c0"} 
[2026-09-06 09:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 09:04:23] 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-09-06 09: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-09-06 09:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:04: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-09-06 09:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898394624001,"66":13928,"245":206,"85":15104,"24":18,"16":128841322298605568,"45":8951959815686080512},"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-09-06 09:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898394624001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:04:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128841322298605568,"km_value":128841322298605.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951959815686080512,"description":"Unknown IO ID 45"} 
[2026-09-06 09:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898394624001,"power":13928,"geofence_id":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8951959815686080512}} 
[2026-09-06 09:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":175040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:04:23] local.INFO: GPS data processed {"connection_id":175040,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:04:23] local.INFO: Acknowledgment sent {"connection_id":175040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:04:27] local.INFO: TCP Data received {"connection_id":175040,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c79cd0012d7c6c8005d99720000000571f..."} 
[2026-09-06 09:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c79cd0012d7c6c8005d99720000000571f..."} 
[2026-09-06 09:04:27] local.INFO: Processing buffer {"connection_id":175040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c79cd0012d7c6c8005d99720000000571f..."} 
[2026-09-06 09:04:27] local.INFO: Packet analysis {"connection_id":175040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:04:27] local.INFO: Extracted packet for processing {"connection_id":175040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:04:27] local.INFO: GPS Element Parsed {"raw_longitude":763128960,"raw_latitude":98146080,"longitude_deg":76.312896,"latitude_deg":9.814608,"altitude":0,"angle":87,"satellites":31,"speed":19,"hex_longitude":"2d7c6c80","hex_latitude":"05d99720","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898399744001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128841562816774144,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960263327499700224,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:27] 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-09-06 09:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788665634000,"timestamp_ms":1788665634000,"timestamp_seconds":1788665634,"priority":1,"record_length":96,"hex_timestamp":"000001a074c79cd0"} 
[2026-09-06 09:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:04:27] 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-09-06 09: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 09:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:04: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-09-06 09:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898399744001,"66":13722,"245":206,"85":15104,"24":19,"16":128841562816774144,"45":8960263327499700224},"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-09-06 09:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898399744001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:04:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128841562816774144,"km_value":128841562816774.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960263327499700224,"description":"Unknown IO ID 45"} 
[2026-09-06 09:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898399744001,"power":13722,"geofence_id":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8960263327499700224}} 
[2026-09-06 09:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":175040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:04:27] local.INFO: GPS data processed {"connection_id":175040,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:04:27] local.INFO: Acknowledgment sent {"connection_id":175040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:04:30] local.INFO: TCP Data received {"connection_id":175039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c69b00012d532d00064970480006014729..."} 
[2026-09-06 09:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c69b00012d532d00064970480006014729..."} 
[2026-09-06 09:04:30] local.INFO: Processing buffer {"connection_id":175039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c69b00012d532d00064970480006014729..."} 
[2026-09-06 09:04:30] local.INFO: Packet analysis {"connection_id":175039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c6"} 
[2026-09-06 09:04:30] local.INFO: Extracted packet for processing {"connection_id":175039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c6"} 
[2026-09-06 09:04:30] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 09:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898308352001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:30] 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-09-06 09:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788665568000,"timestamp_ms":1788665568000,"timestamp_seconds":1788665568,"priority":1,"record_length":96,"hex_timestamp":"000001a074c69b00"} 
[2026-09-06 09:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 09:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-06 09:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898308352001,"66":25223,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 09:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898308352001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:04:30] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 09:04:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 09:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 09:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898308352001,"power":25223,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 09:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":175039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:04:30] local.INFO: GPS data processed {"connection_id":175039,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:04:30] local.INFO: Acknowledgment sent {"connection_id":175039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:04:45] local.INFO: TCP Data received {"connection_id":172350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:04:45] local.INFO: Processing buffer {"connection_id":172350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:04:45] local.INFO: IMEI packet received {"connection_id":172350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":172350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:04:46] local.INFO: TCP Data received {"connection_id":173721,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c5ef20012d18b18007246b480029015723..."} 
[2026-09-06 09:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c5ef20012d18b18007246b480029015723..."} 
[2026-09-06 09:04:46] local.INFO: Processing buffer {"connection_id":173721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c5ef20012d18b18007246b480029015723..."} 
[2026-09-06 09:04:46] local.INFO: Packet analysis {"connection_id":173721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c5"} 
[2026-09-06 09:04:46] local.INFO: Extracted packet for processing {"connection_id":173721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c5"} 
[2026-09-06 09:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898368768001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788665524000,"timestamp_ms":1788665524000,"timestamp_seconds":1788665524,"priority":1,"record_length":96,"hex_timestamp":"000001a074c5ef20"} 
[2026-09-06 09:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:04:46] 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-09-06 09:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 09:04:46] 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-09-06 09:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898368768001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898368768001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:04:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898368768001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":173721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:04:46] local.INFO: GPS data processed {"connection_id":173721,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:04:46] local.INFO: Acknowledgment sent {"connection_id":173721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:04:48] local.INFO: TCP Data received {"connection_id":172350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:04:48] local.INFO: Processing buffer {"connection_id":172350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:04:48] local.INFO: IMEI packet received {"connection_id":172350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":172350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:04:53] local.INFO: TCP Data received {"connection_id":172350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:04:53] local.INFO: Processing buffer {"connection_id":172350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:04:53] local.INFO: IMEI packet received {"connection_id":172350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":172350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:04:54] local.INFO: TCP Data received {"connection_id":172350,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c7cf98012d532d00064970480006014729..."} 
[2026-09-06 09:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c7cf98012d532d00064970480006014729..."} 
[2026-09-06 09:04:54] local.INFO: Processing buffer {"connection_id":172350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c7cf98012d532d00064970480006014729..."} 
[2026-09-06 09:04:54] local.INFO: Packet analysis {"connection_id":172350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:04:54] local.INFO: Extracted packet for processing {"connection_id":172350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:04:54] local.INFO: GPS Element Parsed {"raw_longitude":760425728,"raw_latitude":105476168,"longitude_deg":76.0425728,"latitude_deg":10.5476168,"altitude":6,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d532d00","hex_latitude":"06497048","is_valid_coordinates":true} 
[2026-09-06 09:04: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-09-06 09:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898385408001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:54] 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-09-06 09:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788665647000,"timestamp_ms":1788665647000,"timestamp_seconds":1788665647,"priority":1,"record_length":96,"hex_timestamp":"000001a074c7cf98"} 
[2026-09-06 09:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:04: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-09-06 09: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-09-06 09:04:54] 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-09-06 09: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-09-06 09:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:04: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-09-06 09:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898385408001,"66":25180,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 09:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898385408001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:04:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 09:04:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 09:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 09:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898385408001,"power":25180,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 09:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":172350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:04:54] local.INFO: GPS data processed {"connection_id":172350,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:04:54] local.INFO: Acknowledgment sent {"connection_id":172350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:04:58] local.INFO: TCP Data received {"connection_id":175040,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c7bc10012d7c784005d998f8000000461e..."} 
[2026-09-06 09:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c7bc10012d7c784005d998f8000000461e..."} 
[2026-09-06 09:04:58] local.INFO: Processing buffer {"connection_id":175040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c7bc10012d7c784005d998f8000000461e..."} 
[2026-09-06 09:04:58] local.INFO: Packet analysis {"connection_id":175040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:04:58] local.INFO: Extracted packet for processing {"connection_id":175040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763131968,"raw_latitude":98146552,"longitude_deg":76.3131968,"latitude_deg":9.8146552,"altitude":0,"angle":70,"satellites":30,"speed":7,"hex_longitude":"2d7c7840","hex_latitude":"05d998f8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898402304001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128841708845662208,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965681720801566720,"note":"Value kept but may cause issues"} 
[2026-09-06 09:04:58] 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-09-06 09:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788665642000,"timestamp_ms":1788665642000,"timestamp_seconds":1788665642,"priority":1,"record_length":96,"hex_timestamp":"000001a074c7bc10"} 
[2026-09-06 09:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-06 09:04:58] 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-09-06 09: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-09-06 09:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:04:58] 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-09-06 09:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898402304001,"66":13722,"245":206,"85":15104,"24":7,"16":128841708845662208,"45":8965681720801566720},"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-09-06 09:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898402304001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:04:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128841708845662208,"km_value":128841708845662.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965681720801566720,"description":"Unknown IO ID 45"} 
[2026-09-06 09:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898402304001,"power":13722,"geofence_id":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8965681720801566720}} 
[2026-09-06 09:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":175040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:04:58] local.INFO: GPS data processed {"connection_id":175040,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:04:58] local.INFO: Acknowledgment sent {"connection_id":175040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:05:10] local.INFO: TCP Data received {"connection_id":172576,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:05:10] local.INFO: Processing buffer {"connection_id":172576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:05:10] local.INFO: IMEI packet received {"connection_id":172576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":172576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:05:10] local.INFO: TCP Data received {"connection_id":172576,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:05:10] local.INFO: Processing buffer {"connection_id":172576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:05:10] local.INFO: IMEI packet received {"connection_id":172576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":172576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:05:15] local.INFO: TCP Data received {"connection_id":172576,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:05:15] local.INFO: Processing buffer {"connection_id":172576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:05:15] local.INFO: IMEI packet received {"connection_id":172576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":172576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:05:15] local.INFO: TCP Data received {"connection_id":172576,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c64128012d18b18007246b480029015723..."} 
[2026-09-06 09:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c64128012d18b18007246b480029015723..."} 
[2026-09-06 09:05:15] local.INFO: Processing buffer {"connection_id":172576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c64128012d18b18007246b480029015723..."} 
[2026-09-06 09:05:15] local.INFO: Packet analysis {"connection_id":172576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c6"} 
[2026-09-06 09:05:15] local.INFO: Extracted packet for processing {"connection_id":172576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c6"} 
[2026-09-06 09:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898374144001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788665545000,"timestamp_ms":1788665545000,"timestamp_seconds":1788665545,"priority":1,"record_length":96,"hex_timestamp":"000001a074c64128"} 
[2026-09-06 09:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:05:15] 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-09-06 09:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 09:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898374144001,"66":12200,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898374144001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:05:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898374144001,"power":12200,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":172576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:05:15] local.INFO: GPS data processed {"connection_id":172576,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:05:15] local.INFO: Acknowledgment sent {"connection_id":172576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:05:22] local.INFO: TCP Data received {"connection_id":172351,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:05:22] local.INFO: Processing buffer {"connection_id":172351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:05:22] local.INFO: IMEI packet received {"connection_id":172351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":172351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:05:22] local.INFO: TCP Data received {"connection_id":172351,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:05:22] local.INFO: Processing buffer {"connection_id":172351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:05:22] local.INFO: IMEI packet received {"connection_id":172351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":172351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:05:25] local.INFO: TCP Data received {"connection_id":172350,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c82d58012d532880064974b00006013e2a..."} 
[2026-09-06 09:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c82d58012d532880064974b00006013e2a..."} 
[2026-09-06 09:05:25] local.INFO: Processing buffer {"connection_id":172350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c82d58012d532880064974b00006013e2a..."} 
[2026-09-06 09:05:25] local.INFO: Packet analysis {"connection_id":172350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:05:25] local.INFO: Extracted packet for processing {"connection_id":172350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:05:25] local.INFO: GPS Element Parsed {"raw_longitude":760424576,"raw_latitude":105477296,"longitude_deg":76.0424576,"latitude_deg":10.5477296,"altitude":6,"angle":318,"satellites":42,"speed":0,"hex_longitude":"2d532880","hex_latitude":"064974b0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898405632001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993446706101897216,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:25] 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-09-06 09:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788665671000,"timestamp_ms":1788665671000,"timestamp_seconds":1788665671,"priority":1,"record_length":96,"hex_timestamp":"000001a074c82d58"} 
[2026-09-06 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-09-06 09:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 09:05:25] 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-09-06 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-09-06 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-09-06 09:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:05: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-09-06 09:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898405632001,"66":27658,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5993446706101897216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 09:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898405632001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:05:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 09:05:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 09:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993446706101897216,"description":"Unknown IO ID 45"} 
[2026-09-06 09:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898405632001,"power":27658,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5993446706101897216}} 
[2026-09-06 09:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":172350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:05:25] local.INFO: GPS data processed {"connection_id":172350,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:05:25] local.INFO: Acknowledgment sent {"connection_id":172350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:05:27] local.INFO: TCP Data received {"connection_id":172351,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:05:27] local.INFO: Processing buffer {"connection_id":172351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:05:27] local.INFO: IMEI packet received {"connection_id":172351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":172351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:05:27] local.INFO: TCP Data received {"connection_id":172351,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c7e708012d7c7c8005d99d680000001112..."} 
[2026-09-06 09:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c7e708012d7c7c8005d99d680000001112..."} 
[2026-09-06 09:05:27] local.INFO: Processing buffer {"connection_id":172351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c7e708012d7c7c8005d99d680000001112..."} 
[2026-09-06 09:05:27] local.INFO: Packet analysis {"connection_id":172351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:05:27] local.INFO: Extracted packet for processing {"connection_id":172351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763133056,"raw_latitude":98147688,"longitude_deg":76.3133056,"latitude_deg":9.8147688,"altitude":0,"angle":17,"satellites":18,"speed":8,"hex_longitude":"2d7c7c80","hex_latitude":"05d99d68","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898404352001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128841803334942720,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968989051778037760,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:27] 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-09-06 09:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788665653000,"timestamp_ms":1788665653000,"timestamp_seconds":1788665653,"priority":1,"record_length":96,"hex_timestamp":"000001a074c7e708"} 
[2026-09-06 09:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:05:27] 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-09-06 09: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-06 09:05:27] 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-09-06 09: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-09-06 09:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:05: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-09-06 09:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898404352001,"66":13798,"245":206,"85":15104,"24":8,"16":128841803334942720,"45":8968989051778037760},"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-09-06 09:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898404352001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128841803334942720,"km_value":128841803334942.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968989051778037760,"description":"Unknown IO ID 45"} 
[2026-09-06 09:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898404352001,"power":13798,"geofence_id":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8968989051778037760}} 
[2026-09-06 09:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":172351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:05:27] local.INFO: GPS data processed {"connection_id":172351,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:05:27] local.INFO: Acknowledgment sent {"connection_id":172351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:05:30] local.INFO: TCP Data received {"connection_id":172351,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c7fa90012d7c7d0005d9a6a8000000050f..."} 
[2026-09-06 09:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c7fa90012d7c7d0005d9a6a8000000050f..."} 
[2026-09-06 09:05:30] local.INFO: Processing buffer {"connection_id":172351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c7fa90012d7c7d0005d9a6a8000000050f..."} 
[2026-09-06 09:05:30] local.INFO: Packet analysis {"connection_id":172351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:05:30] local.INFO: Extracted packet for processing {"connection_id":172351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:05:30] local.INFO: GPS Element Parsed {"raw_longitude":763133184,"raw_latitude":98150056,"longitude_deg":76.3133184,"latitude_deg":9.8150056,"altitude":0,"angle":5,"satellites":15,"speed":16,"hex_longitude":"2d7c7d00","hex_latitude":"05d9a6a8","is_valid_coordinates":true} 
[2026-09-06 09:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898407168001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128841919299059712,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970185320429348864,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:30] 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-09-06 09:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788665658000,"timestamp_ms":1788665658000,"timestamp_seconds":1788665658,"priority":1,"record_length":96,"hex_timestamp":"000001a074c7fa90"} 
[2026-09-06 09:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 09:05:30] 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-09-06 09:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:05:30] 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-09-06 09:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898407168001,"66":13678,"245":206,"85":15104,"24":16,"16":128841919299059712,"45":8970185320429348864},"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-09-06 09:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898407168001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:05:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128841919299059712,"km_value":128841919299059.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970185320429348864,"description":"Unknown IO ID 45"} 
[2026-09-06 09:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898407168001,"power":13678,"geofence_id":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8970185320429348864}} 
[2026-09-06 09:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":172351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:05:30] local.INFO: GPS data processed {"connection_id":172351,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:05:30] local.INFO: Acknowledgment sent {"connection_id":172351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:05:46] local.INFO: TCP Data received {"connection_id":172576,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c69330012d18b18007246b480029015723..."} 
[2026-09-06 09:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c69330012d18b18007246b480029015723..."} 
[2026-09-06 09:05:46] local.INFO: Processing buffer {"connection_id":172576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c69330012d18b18007246b480029015723..."} 
[2026-09-06 09:05:46] local.INFO: Packet analysis {"connection_id":172576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c6"} 
[2026-09-06 09:05:46] local.INFO: Extracted packet for processing {"connection_id":172576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c6"} 
[2026-09-06 09:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898379520001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788665566000,"timestamp_ms":1788665566000,"timestamp_seconds":1788665566,"priority":1,"record_length":96,"hex_timestamp":"000001a074c69330"} 
[2026-09-06 09:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:05:46] 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-09-06 09:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-09-06 09:05:46] 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-09-06 09:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898379520001,"66":12145,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898379520001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:05:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898379520001,"power":12145,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":172576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:05:46] local.INFO: GPS data processed {"connection_id":172576,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:05:46] local.INFO: Acknowledgment sent {"connection_id":172576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:05:48] local.INFO: TCP Data received {"connection_id":172577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:05:48] local.INFO: Processing buffer {"connection_id":172577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:05:48] local.INFO: IMEI packet received {"connection_id":172577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":172577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:05:53] local.INFO: TCP Data received {"connection_id":172577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:05:53] local.INFO: Processing buffer {"connection_id":172577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:05:53] local.INFO: IMEI packet received {"connection_id":172577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":172577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:05:54] local.INFO: TCP Data received {"connection_id":172577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c87f60012d532880064974b00006013e2a..."} 
[2026-09-06 09:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c87f60012d532880064974b00006013e2a..."} 
[2026-09-06 09:05:54] local.INFO: Processing buffer {"connection_id":172577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c87f60012d532880064974b00006013e2a..."} 
[2026-09-06 09:05:54] local.INFO: Packet analysis {"connection_id":172577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:05:54] local.INFO: Extracted packet for processing {"connection_id":172577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:05:54] local.INFO: GPS Element Parsed {"raw_longitude":760424576,"raw_latitude":105477296,"longitude_deg":76.0424576,"latitude_deg":10.5477296,"altitude":6,"angle":318,"satellites":42,"speed":0,"hex_longitude":"2d532880","hex_latitude":"064974b0","is_valid_coordinates":true} 
[2026-09-06 09:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898411776001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252245741928448,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5992180068706988032,"note":"Value kept but may cause issues"} 
[2026-09-06 09:05:54] 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-09-06 09:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788665692000,"timestamp_ms":1788665692000,"timestamp_seconds":1788665692,"priority":1,"record_length":96,"hex_timestamp":"000001a074c87f60"} 
[2026-09-06 09:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:05:54] 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-09-06 09:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 09:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:05: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-09-06 09:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898411776001,"66":27745,"93":206,"78":38912,"24":0,"16":400252245741928448,"45":5992180068706988032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 09:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898411776001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:05:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 09:05:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 09:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252245741928448,"km_value":400252245741928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5992180068706988032,"description":"Unknown IO ID 45"} 
[2026-09-06 09:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898411776001,"power":27745,"unknown_93":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":5992180068706988032}} 
[2026-09-06 09:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":172577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:05:54] local.INFO: GPS data processed {"connection_id":172577,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:05:54] local.INFO: Acknowledgment sent {"connection_id":172577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:06:01] local.INFO: TCP Data received {"connection_id":172351,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c819d0012d7c7ac005d9c558000001630f..."} 
[2026-09-06 09:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c819d0012d7c7ac005d9c558000001630f..."} 
[2026-09-06 09:06:01] local.INFO: Processing buffer {"connection_id":172351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c819d0012d7c7ac005d9c558000001630f..."} 
[2026-09-06 09:06:01] local.INFO: Packet analysis {"connection_id":172351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:06:01] local.INFO: Extracted packet for processing {"connection_id":172351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763132608,"raw_latitude":98157912,"longitude_deg":76.3132608,"latitude_deg":9.8157912,"altitude":0,"angle":355,"satellites":15,"speed":36,"hex_longitude":"2d7c7ac0","hex_latitude":"05d9c558","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898408448001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128842301551149056,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970326057918310400,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:01] 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-09-06 09:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788665666000,"timestamp_ms":1788665666000,"timestamp_seconds":1788665666,"priority":1,"record_length":96,"hex_timestamp":"000001a074c819d0"} 
[2026-09-06 09:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:06:01] 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-09-06 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 09:06:01] 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-09-06 09: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-09-06 09:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:06:01] 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-09-06 09:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898408448001,"66":14070,"245":206,"85":15104,"24":36,"16":128842301551149056,"45":8970326057918310400},"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-09-06 09:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898408448001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128842301551149056,"km_value":128842301551149.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970326057918310400,"description":"Unknown IO ID 45"} 
[2026-09-06 09:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898408448001,"power":14070,"geofence_id":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8970326057918310400}} 
[2026-09-06 09:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":172351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:06:01] local.INFO: GPS data processed {"connection_id":172351,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:06:01] local.INFO: Acknowledgment sent {"connection_id":172351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:06:09] local.INFO: TCP Data received {"connection_id":172578,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:06:09] local.INFO: Processing buffer {"connection_id":172578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:06:09] local.INFO: IMEI packet received {"connection_id":172578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":172578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:06:12] local.INFO: TCP Data received {"connection_id":172578,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:06:12] local.INFO: Processing buffer {"connection_id":172578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:06:12] local.INFO: IMEI packet received {"connection_id":172578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":172578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:06:13] local.INFO: TCP Data received {"connection_id":172578,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c6e538012d18b18007246b480029015722..."} 
[2026-09-06 09:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c6e538012d18b18007246b480029015722..."} 
[2026-09-06 09:06:13] local.INFO: Processing buffer {"connection_id":172578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c6e538012d18b18007246b480029015722..."} 
[2026-09-06 09:06:13] local.INFO: Packet analysis {"connection_id":172578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c6"} 
[2026-09-06 09:06:13] local.INFO: Extracted packet for processing {"connection_id":172578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c6"} 
[2026-09-06 09:06:13] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898384896001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788665587000,"timestamp_ms":1788665587000,"timestamp_seconds":1788665587,"priority":1,"record_length":96,"hex_timestamp":"000001a074c6e538"} 
[2026-09-06 09:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:06: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-09-06 09:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 09:06:13] 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-09-06 09:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898384896001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898384896001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:06:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:06:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898384896001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":172578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:06:13] local.INFO: GPS data processed {"connection_id":172578,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:06:13] local.INFO: Acknowledgment sent {"connection_id":172578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:06:17] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:06:17] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:06:17] local.INFO: IMEI packet received {"connection_id":173724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":173724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:06:22] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:06:22] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:06:22] local.INFO: IMEI packet received {"connection_id":173724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":173724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:06:23] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c83528012d7c748005d9e7e80000016011..."} 
[2026-09-06 09:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c83528012d7c748005d9e7e80000016011..."} 
[2026-09-06 09:06:23] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c83528012d7c748005d9e7e80000016011..."} 
[2026-09-06 09:06:23] local.INFO: Packet analysis {"connection_id":173724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:06:23] local.INFO: Extracted packet for processing {"connection_id":173724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:06:23] local.INFO: GPS Element Parsed {"raw_longitude":763131008,"raw_latitude":98166760,"longitude_deg":76.3131008,"latitude_deg":9.816676,"altitude":0,"angle":352,"satellites":17,"speed":34,"hex_longitude":"2d7c7480","hex_latitude":"05d9e7e8","is_valid_coordinates":true} 
[2026-09-06 09:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898410496001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128842739637813248,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969692739222722560,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:23] 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-09-06 09:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788665673000,"timestamp_ms":1788665673000,"timestamp_seconds":1788665673,"priority":1,"record_length":96,"hex_timestamp":"000001a074c83528"} 
[2026-09-06 09:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-06 09:06:23] 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-09-06 09:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:06: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-09-06 09:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898410496001,"66":13820,"245":206,"85":15104,"24":34,"16":128842739637813248,"45":8969692739222722560},"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-09-06 09:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898410496001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:06:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128842739637813248,"km_value":128842739637813.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969692739222722560,"description":"Unknown IO ID 45"} 
[2026-09-06 09:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898410496001,"power":13820,"geofence_id":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8969692739222722560}} 
[2026-09-06 09:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":173724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:06:23] local.INFO: GPS data processed {"connection_id":173724,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:06:23] local.INFO: Acknowledgment sent {"connection_id":173724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:06:25] local.INFO: TCP Data received {"connection_id":172577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c89ea0012d53268006497700000a014b2a..."} 
[2026-09-06 09:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c89ea0012d53268006497700000a014b2a..."} 
[2026-09-06 09:06:25] local.INFO: Processing buffer {"connection_id":172577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c89ea0012d53268006497700000a014b2a..."} 
[2026-09-06 09:06:25] local.INFO: Packet analysis {"connection_id":172577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:06:25] local.INFO: Extracted packet for processing {"connection_id":172577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:06:25] local.INFO: GPS Element Parsed {"raw_longitude":760424064,"raw_latitude":105477888,"longitude_deg":76.0424064,"latitude_deg":10.5477888,"altitude":10,"angle":331,"satellites":42,"speed":10,"hex_longitude":"2d532680","hex_latitude":"06497700","is_valid_coordinates":true} 
[2026-09-06 09:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898417152001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252284396634112,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5992180068706988032,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:25] 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-09-06 09:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788665700000,"timestamp_ms":1788665700000,"timestamp_seconds":1788665700,"priority":1,"record_length":96,"hex_timestamp":"000001a074c89ea0"} 
[2026-09-06 09:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:06: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-09-06 09:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:06: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-09-06 09:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898417152001,"66":27745,"93":206,"78":38912,"24":10,"16":400252284396634112,"45":5992180068706988032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 09:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898417152001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:06:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 09:06:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 09:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252284396634112,"km_value":400252284396634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5992180068706988032,"description":"Unknown IO ID 45"} 
[2026-09-06 09:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898417152001,"power":27745,"unknown_93":206,"unknown_78":38912,"ignition":10,"odometer":null,"unknown_45":5992180068706988032}} 
[2026-09-06 09:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":172577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:06:25] local.INFO: GPS data processed {"connection_id":172577,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:06:25] local.INFO: Acknowledgment sent {"connection_id":172577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:06:44] local.INFO: TCP Data received {"connection_id":172578,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c73740012d18b18007246b480029015722..."} 
[2026-09-06 09:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c73740012d18b18007246b480029015722..."} 
[2026-09-06 09:06:44] local.INFO: Processing buffer {"connection_id":172578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c73740012d18b18007246b480029015722..."} 
[2026-09-06 09:06:44] local.INFO: Packet analysis {"connection_id":172578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:06:44] local.INFO: Extracted packet for processing {"connection_id":172578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898390272001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788665608000,"timestamp_ms":1788665608000,"timestamp_seconds":1788665608,"priority":1,"record_length":96,"hex_timestamp":"000001a074c73740"} 
[2026-09-06 09:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:06:44] 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-09-06 09:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 09:06: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-09-06 09:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":172578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":172578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":172578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898390272001,"66":12200,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898390272001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:06:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:06:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898390272001,"power":12200,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":172578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:06:44] local.INFO: GPS data processed {"connection_id":172578,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:06:44] local.INFO: Acknowledgment sent {"connection_id":172578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:06:48] local.INFO: TCP Data received {"connection_id":173725,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:06:48] local.INFO: Processing buffer {"connection_id":173725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:06:48] local.INFO: IMEI packet received {"connection_id":173725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":173725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:06:53] local.INFO: TCP Data received {"connection_id":173725,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:06:53] local.INFO: Processing buffer {"connection_id":173725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:06:53] local.INFO: IMEI packet received {"connection_id":173725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":173725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:06:55] local.INFO: TCP Data received {"connection_id":173725,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c8e4f0012d5311c006499550000901422a..."} 
[2026-09-06 09:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c8e4f0012d5311c006499550000901422a..."} 
[2026-09-06 09:06:55] local.INFO: Processing buffer {"connection_id":173725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c8e4f0012d5311c006499550000901422a..."} 
[2026-09-06 09:06:55] local.INFO: Packet analysis {"connection_id":173725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:06:55] local.INFO: Extracted packet for processing {"connection_id":173725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:06:55] local.INFO: GPS Element Parsed {"raw_longitude":760418752,"raw_latitude":105485648,"longitude_deg":76.0418752,"latitude_deg":10.5485648,"altitude":9,"angle":322,"satellites":42,"speed":28,"hex_longitude":"2d5311c0","hex_latitude":"06499550","is_valid_coordinates":true} 
[2026-09-06 09:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898419200001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400252739663167488,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5991617118753718272,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788665718000,"timestamp_ms":1788665718000,"timestamp_seconds":1788665718,"priority":1,"record_length":96,"hex_timestamp":"000001a074c8e4f0"} 
[2026-09-06 09:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898419200001,"66":27658,"93":206,"78":38912,"24":28,"16":400252739663167488,"45":5991617118753718272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 09:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898419200001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:06:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 09:06:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 09:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400252739663167488,"km_value":400252739663167.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5991617118753718272,"description":"Unknown IO ID 45"} 
[2026-09-06 09:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898419200001,"power":27658,"unknown_93":206,"unknown_78":38912,"ignition":28,"odometer":null,"unknown_45":5991617118753718272}} 
[2026-09-06 09:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":173725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:06:55] local.INFO: GPS data processed {"connection_id":173725,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:06:55] local.INFO: Acknowledgment sent {"connection_id":173725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:06:55] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c88348012d7c6e4005d9f8900000015916..."} 
[2026-09-06 09:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c88348012d7c6e4005d9f8900000015916..."} 
[2026-09-06 09:06:55] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c88348012d7c6e4005d9f8900000015916..."} 
[2026-09-06 09:06:55] local.INFO: Packet analysis {"connection_id":173724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:06:55] local.INFO: Extracted packet for processing {"connection_id":173724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763129408,"raw_latitude":98171024,"longitude_deg":76.3129408,"latitude_deg":9.8171024,"altitude":0,"angle":345,"satellites":22,"speed":0,"hex_longitude":"2d7c6e40","hex_latitude":"05d9f890","is_valid_coordinates":true} 
[2026-09-06 09:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898412288001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128842962976112640,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967933520620546048,"note":"Value kept but may cause issues"} 
[2026-09-06 09:06:55] 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-09-06 09:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788665693000,"timestamp_ms":1788665693000,"timestamp_seconds":1788665693,"priority":1,"record_length":96,"hex_timestamp":"000001a074c88348"} 
[2026-09-06 09:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 09:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:06:55] 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-09-06 09:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898412288001,"66":13820,"245":206,"85":15104,"24":0,"16":128842962976112640,"45":8967933520620546048},"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-09-06 09:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898412288001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:06:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128842962976112640,"km_value":128842962976112.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967933520620546048,"description":"Unknown IO ID 45"} 
[2026-09-06 09:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898412288001,"power":13820,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8967933520620546048}} 
[2026-09-06 09:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":173724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:06:55] local.INFO: GPS data processed {"connection_id":173724,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:06:55] local.INFO: Acknowledgment sent {"connection_id":173724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:07:09] local.INFO: TCP Data received {"connection_id":175041,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:07:09] local.INFO: Processing buffer {"connection_id":175041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:07:09] local.INFO: IMEI packet received {"connection_id":175041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":175041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:07:15] local.INFO: TCP Data received {"connection_id":175041,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:07:15] local.INFO: Processing buffer {"connection_id":175041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:07:15] local.INFO: IMEI packet received {"connection_id":175041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":175041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:07:15] local.INFO: TCP Data received {"connection_id":175041,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c78948012d18b18007246b480029015723..."} 
[2026-09-06 09:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c78948012d18b18007246b480029015723..."} 
[2026-09-06 09:07:15] local.INFO: Processing buffer {"connection_id":175041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c78948012d18b18007246b480029015723..."} 
[2026-09-06 09:07:15] local.INFO: Packet analysis {"connection_id":175041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:07:15] local.INFO: Extracted packet for processing {"connection_id":175041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898395648001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788665629000,"timestamp_ms":1788665629000,"timestamp_seconds":1788665629,"priority":1,"record_length":96,"hex_timestamp":"000001a074c78948"} 
[2026-09-06 09:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:07:15] 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-09-06 09:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-09-06 09:07:15] 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-09-06 09:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898395648001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898395648001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:07:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:07:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898395648001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":175041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:07:15] local.INFO: GPS data processed {"connection_id":175041,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:07:15] local.INFO: Acknowledgment sent {"connection_id":175041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:07:17] local.INFO: TCP Data received {"connection_id":175043,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:07:17] local.INFO: Processing buffer {"connection_id":175043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:07:17] local.INFO: IMEI packet received {"connection_id":175043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":175043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:07:22] local.INFO: TCP Data received {"connection_id":175043,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:07:22] local.INFO: Processing buffer {"connection_id":175043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:07:22] local.INFO: IMEI packet received {"connection_id":175043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":175043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:07:22] local.INFO: TCP Data received {"connection_id":175043,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074c8c998012d7c674005da1ba00000015b13..."} 
[2026-09-06 09:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c8c998012d7c674005da1ba00000015b13..."} 
[2026-09-06 09:07:22] local.INFO: Processing buffer {"connection_id":175043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c8c998012d7c674005da1ba00000015b13..."} 
[2026-09-06 09:07:22] local.INFO: Packet analysis {"connection_id":175043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:07:22] local.INFO: Extracted packet for processing {"connection_id":175043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:07:22] local.INFO: GPS Element Parsed {"raw_longitude":763127616,"raw_latitude":98180000,"longitude_deg":76.3127616,"latitude_deg":9.818,"altitude":0,"angle":347,"satellites":19,"speed":34,"hex_longitude":"2d7c6740","hex_latitude":"05da1ba0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898417408001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128843409652711424,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966174302017196032,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:22] 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-09-06 09:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788665711000,"timestamp_ms":1788665711000,"timestamp_seconds":1788665711,"priority":1,"record_length":96,"hex_timestamp":"000001a074c8c998"} 
[2026-09-06 09:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 09:07:22] 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-09-06 09: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-09-06 09:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:07: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-09-06 09:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898417408001,"66":13961,"187":206,"85":15104,"24":34,"16":128843409652711424,"45":8966174302017196032},"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-09-06 09:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898417408001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:07:22] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 09:07:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128843409652711424,"km_value":128843409652711.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966174302017196032,"description":"Unknown IO ID 45"} 
[2026-09-06 09:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898417408001,"power":13961,"unknown_187":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8966174302017196032}} 
[2026-09-06 09:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":175043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:07:22] local.INFO: GPS data processed {"connection_id":175043,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:07:22] local.INFO: Acknowledgment sent {"connection_id":175043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:07:25] local.INFO: TCP Data received {"connection_id":173725,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c90fe8012d52fb800649b0f8000a01402b..."} 
[2026-09-06 09:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c90fe8012d52fb800649b0f8000a01402b..."} 
[2026-09-06 09:07:25] local.INFO: Processing buffer {"connection_id":173725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c90fe8012d52fb800649b0f8000a01402b..."} 
[2026-09-06 09:07:25] local.INFO: Packet analysis {"connection_id":173725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c9"} 
[2026-09-06 09:07:25] local.INFO: Extracted packet for processing {"connection_id":173725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c9"} 
[2026-09-06 09:07:25] local.INFO: GPS Element Parsed {"raw_longitude":760413056,"raw_latitude":105492728,"longitude_deg":76.0413056,"latitude_deg":10.5492728,"altitude":10,"angle":320,"satellites":43,"speed":35,"hex_longitude":"2d52fb80","hex_latitude":"0649b0f8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898423808001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400253177749831680,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5985776512988958720,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:25] 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-09-06 09:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788665729000,"timestamp_ms":1788665729000,"timestamp_seconds":1788665729,"priority":1,"record_length":96,"hex_timestamp":"000001a074c90fe8"} 
[2026-09-06 09:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:07:25] 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-09-06 09:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 09:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09: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-09-06 09:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898423808001,"66":27800,"93":206,"78":38912,"24":35,"16":400253177749831680,"45":5985776512988958720},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 09:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898423808001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:07:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 09:07:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 09:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400253177749831680,"km_value":400253177749831.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5985776512988958720,"description":"Unknown IO ID 45"} 
[2026-09-06 09:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898423808001,"power":27800,"unknown_93":206,"unknown_78":38912,"ignition":35,"odometer":null,"unknown_45":5985776512988958720}} 
[2026-09-06 09:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":173725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:07:25] local.INFO: GPS data processed {"connection_id":173725,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:07:25] local.INFO: Acknowledgment sent {"connection_id":173725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:07:46] local.INFO: TCP Data received {"connection_id":175041,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c7db50012d18b18007246b480029015723..."} 
[2026-09-06 09:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c7db50012d18b18007246b480029015723..."} 
[2026-09-06 09:07:46] local.INFO: Processing buffer {"connection_id":175041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c7db50012d18b18007246b480029015723..."} 
[2026-09-06 09:07:46] local.INFO: Packet analysis {"connection_id":175041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:07:46] local.INFO: Extracted packet for processing {"connection_id":175041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c7"} 
[2026-09-06 09:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898401024001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788665650000,"timestamp_ms":1788665650000,"timestamp_seconds":1788665650,"priority":1,"record_length":96,"hex_timestamp":"000001a074c7db50"} 
[2026-09-06 09:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:07:46] 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-09-06 09:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:07:46] 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-09-06 09:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898401024001,"66":12189,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898401024001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:07:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898401024001,"power":12189,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":175041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:07:46] local.INFO: GPS data processed {"connection_id":175041,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:07:46] local.INFO: Acknowledgment sent {"connection_id":175041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:07:53] local.INFO: TCP Data received {"connection_id":172580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:07:53] local.INFO: Processing buffer {"connection_id":172580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:07:53] local.INFO: IMEI packet received {"connection_id":172580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":172580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:07:53] local.INFO: TCP Data received {"connection_id":175043,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074cac180012d7c0b4005db49980000000221..."} 
[2026-09-06 09:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cac180012d7c0b4005db49980000000221..."} 
[2026-09-06 09:07:53] local.INFO: Processing buffer {"connection_id":175043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cac180012d7c0b4005db49980000000221..."} 
[2026-09-06 09:07:53] local.INFO: Packet analysis {"connection_id":175043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ca"} 
[2026-09-06 09:07:53] local.INFO: Extracted packet for processing {"connection_id":175043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ca"} 
[2026-09-06 09:07:53] local.INFO: GPS Element Parsed {"raw_longitude":763104064,"raw_latitude":98257304,"longitude_deg":76.3104064,"latitude_deg":9.8257304,"altitude":0,"angle":2,"satellites":33,"speed":0,"hex_longitude":"2d7c0b40","hex_latitude":"05db4998","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898449664001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128847343842754560,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938308279344928768,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] 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-09-06 09:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788665840000,"timestamp_ms":1788665840000,"timestamp_seconds":1788665840,"priority":1,"record_length":96,"hex_timestamp":"000001a074cac180"} 
[2026-09-06 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-09-06 09:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630783,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":24577,"corrected_to":0} 
[2026-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755601304649969,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6202301313682767882,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3381454849,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4146593792,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636142283695803,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3221609169,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221302652,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3230531584,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3668779008,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":124,"raw_value":4881908432222289920,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] local.WARNING: Large IO value detected {"io_id":53,"raw_value":7926561460157730389,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:53] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,185,85,24,241,157,16,193,160,29,45,64,72,26,10,66,186,246,59,21,176,128,1,240,181,227,116,218,4,113,205,44,105,22,239,54,187,2,201,5,48,124,53],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":246,"original":24577,"validated":0},{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-09-06 09:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":2336462209024,"timestamp_ms":2336462209024,"timestamp_seconds":2336462209.024,"priority":0,"record_length":601,"hex_timestamp":"0000022000000000"} 
[2026-09-06 09:07:53] local.INFO: AVL Record successfully parsed {"record_number":2,"total_expected":10,"successful_records":2,"record_length":601,"new_offset":707} 
[2026-09-06 09:07:53] local.WARNING: Invalid longitude detected, setting to null {"longitude":195.9332864,"raw_longitude":1959332864,"hex_longitude":"74c90c00"} 
[2026-09-06 09:07:53] local.INFO: GPS Element Parsed {"raw_longitude":null,"raw_latitude":19758160,"longitude_deg":0.0,"latitude_deg":1.975816,"altitude":16389,"angle":55909,"satellites":48,"speed":0,"hex_longitude":"74c90c00","hex_latitude":"012d7c50","is_valid_coordinates":false} 
[2026-09-06 09:07:53] local.INFO: IO Element Header Parsed {"event_io_id":1,"total_io":87,"n1_one_byte":20,"n2_two_byte":0,"n4_four_byte":48,"n8_eight_byte":0,"data_length":795,"current_offset":737} 
[2026-09-06 09:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":737,"expected_size":280,"max_length":795,"available_bytes":58,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":731,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:07:53] local.WARNING: AVL Record parsing failed {"record_number":3,"total_expected":10,"offset":707,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":2,"records_with_valid_data":2} 
[2026-09-06 09:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175043,"avl_records_parsed":2,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175043,"device_imei":"862567072406932","avl_records_count":2} 
[2026-09-06 09:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175043,"device_imei":"862567072406932","avl_records_count":2} 
[2026-09-06 09:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":2,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898449664001,"66":13515,"185":206,"85":15104,"24":0,"16":128847343842754560,"45":8938308279344928768},"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-09-06 09:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898449664001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128847343842754560,"km_value":128847343842754.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938308279344928768,"description":"Unknown IO ID 45"} 
[2026-09-06 09:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898449664001,"power":13515,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8938308279344928768}} 
[2026-09-06 09:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":44441160751630783,"185":206,"85":989861888,"24":2228226,"241":0,"157":3808432129,"16":29999358,"193":1677721600,"160":1959348864,"29":28673,"45":2082684933,"64":1499,"72":30720,"26":5,"10":262383,"66":13722,"186":206,"246":0,"59":6755601304649969,"21":26,"176":4097,"128":346,"1":6202301313682767882,"240":72133464635473986,"181":13477563,"227":1049033,"116":3381454849,"218":4146593792,"4":18636142283695803,"113":1510010881,"205":0,"44":3221609169,"105":3221302652,"22":2949120,"239":16806234,"54":1375784358,"187":13522235,"2":67835472036167696,"201":3230531584,"5":3668779008,"48":10,"124":4881908432222289920,"53":7926561460157730389},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":6202301313682767882,"io_data_keys":[0,185,85,24,241,157,16,193,160,29,45,64,72,26,10,66,186,246,59,21,176,128,1,240,181,227,116,218,4,113,205,44,105,22,239,54,187,2,201,5,48,124,53]} 
[2026-09-06 09:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":44441160751630783,"description":"Unknown IO ID 0"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":989861888,"description":"Unknown IO ID 85"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":0,"description":"Unknown IO ID 241"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":157,"value":3808432129,"description":"Unknown IO ID 157"} 
[2026-09-06 09:07:53] local.INFO: Odometer value processed {"io_id":16,"raw_meters":29999358,"kilometers":29999.358} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":193,"value":1677721600,"description":"Unknown IO ID 193"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":160,"value":1959348864,"description":"Unknown IO ID 160"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":29,"value":28673,"description":"Unknown IO ID 29"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2082684933,"description":"Unknown IO ID 45"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":64,"value":1499,"description":"Unknown IO ID 64"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":72,"value":30720,"description":"Unknown IO ID 72"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":26,"value":5,"description":"Unknown IO ID 26"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":10,"value":262383,"description":"Unknown IO ID 10"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":59,"value":6755601304649969,"description":"Unknown IO ID 59"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":21,"value":26,"description":"Unknown IO ID 21"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":176,"value":4097,"description":"Unknown IO ID 176"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":128,"value":346,"description":"Unknown IO ID 128"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":240,"value":72133464635473986,"description":"Power Status (1-byte)"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":181,"value":13477563,"description":"Unknown IO ID 181"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":227,"value":1049033,"description":"Unknown IO ID 227"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":116,"value":3381454849,"description":"Unknown IO ID 116"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":218,"value":4146593792,"description":"Unknown IO ID 218"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":4,"value":18636142283695803,"description":"Unknown IO ID 4"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":1510010881,"description":"Unknown IO ID 113"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":3221609169,"description":"Unknown IO ID 44"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":3221302652,"description":"Unknown IO ID 105"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":22,"value":2949120,"description":"Unknown IO ID 22"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":239,"value":16806234,"description":"Ignition (1-byte)"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":54,"value":1375784358,"description":"Unknown IO ID 54"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":187,"value":13522235,"description":"Unknown IO ID 187"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":201,"value":3230531584,"description":"Unknown IO ID 201"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":5,"value":3668779008,"description":"Unknown IO ID 5"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":48,"value":10,"description":"Unknown IO ID 48"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":124,"value":4881908432222289920,"description":"Unknown IO ID 124"} 
[2026-09-06 09:07:53] local.INFO: Unknown IO ID detected {"io_id":53,"value":7926561460157730389,"description":"Unknown IO ID 53"} 
[2026-09-06 09:07:53] local.INFO: IO Data Validated and Processed {"original_count":43,"validated_count":43,"validated_data":{"unknown_0":44441160751630783,"unknown_185":206,"unknown_85":989861888,"ignition":2228226,"unknown_241":0,"unknown_157":3808432129,"odometer":29999.358,"unknown_193":1677721600,"unknown_160":1959348864,"unknown_29":28673,"unknown_45":2082684933,"unknown_64":1499,"unknown_72":30720,"unknown_26":5,"unknown_10":262383,"power":13722,"unknown_186":206,"main_input_voltage":0,"unknown_59":6755601304649969,"unknown_21":26,"unknown_176":4097,"unknown_128":346,"imei":6202301313682767882,"unknown_240":72133464635473986,"unknown_181":13477563,"unknown_227":1049033,"unknown_116":3381454849,"unknown_218":4146593792,"unknown_4":18636142283695803,"unknown_113":1510010881,"cell_id":0,"unknown_44":3221609169,"unknown_105":3221302652,"unknown_22":2949120,"unknown_239":16806234,"unknown_54":1375784358,"unknown_187":13522235,"power_alt":67835472036167696,"unknown_201":3230531584,"unknown_5":3668779008,"unknown_48":10,"unknown_124":4881908432222289920,"unknown_53":7926561460157730389}} 
[2026-09-06 09:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":175043,"result":{"success":true,"processed":1,"errors":1,"skipped":0,"total":2,"results":[{"success":true,"position_id":773325,"device_id":194233,"message":"Position recorded successfully"},{"success":false,"message":"SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: '2044-01-15 14:46:49' for column 'devicetime' at row 1 (Connection: mysql, SQL: insert into `tc_positions` (`deviceid`, `devicetime`, `latitude`, `longitude`, `altitude`, `speed`, `mode`, `attributes`, `network`, `ignition`, `power`, `gnss_fix`, `gsm_signal_strength`, `alert_id`, `gf_id`, `main_input_voltage`, `internal_battery_voltage`, `packet`, `kilometer`, `created_at`, `updated_at`) values (194233, 2044-01-15 14:46:49, -28.5147023, 16.7773184, 23040, 17665, H, {\"header\":\"NRM\",\"imei\":\"862567072406932\",\"alert_id\":\"00\",\"packet_status\":\"L\",\"GNSS_fix\":\"0\",\"date\":\"15\\/01\\/44\",\"time\":\"14:46:49\",\"latitude\":\"28.514702\",\"latitude_dir\":\"S\",\"longitude\":\"16.777318\",\"longitude_dir\":\"E\",\"mcc\":\"000\",\"mnc\":\"x00\",\"lac\":\"0000\",\"cell_id\":\"000000000\",\"speed\":\"017665\",\"heading\":\"061441\",\"no_of_satellite\":\"00\",\"hdop\":\"00\",\"signal_strength\":\"00\",\"ignition\":\"1\",\"power\":\"1\",\"vehicle_mode\":\"H\",\"altitude\":\"023040\",\"network_operator\":\"00000\",\"odometer\":\"029999.358\"}, 00000, 1, 1, 0, ?, ?, ?, 0, ?, NRM, 186976.47, 2026-09-06 09:07:53, 2026-09-06 09:07:53))","record":{"timestamp":2336462209024,"priority":0,"gps":{"longitude":167773184,"latitude":4009820273,"longitudeDeg":16.7773184,"latitudeDeg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665},"io":{"eventIoId":0,"totalIo":4,"n1":0,"n2":66,"n4":53,"n8":12,"ioData":{"0":44441160751630783,"185":206,"85":989861888,"24":2228226,"241":0,"157":3808432129,"16":29999358,"193":1677721600,"160":1959348864,"29":28673,"45":2082684933,"64":1499,"72":30720,"26":5,"10":262383,"66":13722,"186":206,"246":0,"59":6755601304649969,"21":26,"176":4097,"128":346,"1":6202301313682767882,"240":72133464635473986,"181":13477563,"227":1049033,"116":3381454849,"218":4146593792,"4":18636142283695803,"113":1510010881,"205":0,"44":3221609169,"105":3221302652,"22":2949120,"239":16806234,"54":1375784358,"187":13522235,"2":67835472036167696,"201":3230531584,"5":3668779008,"48":10,"124":4881908432222289920,"53":7926561460157730389},"length":577},"recordLength":601,"parser_version":"v2.0-fixed","parsing_timestamp":"2026-09-06T03:37:53.772113Z"}}]}} 
[2026-09-06 09:07:53] local.INFO: GPS data processed {"connection_id":175043,"processed":1,"errors":1,"total":2} 
[2026-09-06 09:07:53] local.INFO: Acknowledgment sent {"connection_id":175043,"records_acknowledged":2,"records_expected":10,"ack_packet":"00000000000000028e02000061e4"} 
[2026-09-06 09:07:54] local.INFO: TCP Data received {"connection_id":172580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:07:54] local.INFO: Processing buffer {"connection_id":172580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:07:54] local.INFO: IMEI packet received {"connection_id":172580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":172580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:07:58] local.INFO: TCP Data received {"connection_id":172580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:07:58] local.INFO: Processing buffer {"connection_id":172580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:07:58] local.INFO: IMEI packet received {"connection_id":172580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":172580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:07:59] local.INFO: TCP Data received {"connection_id":172580,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c936f8012d52e3400649cc30000a013c2a..."} 
[2026-09-06 09:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c936f8012d52e3400649cc30000a013c2a..."} 
[2026-09-06 09:07:59] local.INFO: Processing buffer {"connection_id":172580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c936f8012d52e3400649cc30000a013c2a..."} 
[2026-09-06 09:07:59] local.INFO: Packet analysis {"connection_id":172580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c9"} 
[2026-09-06 09:07:59] local.INFO: Extracted packet for processing {"connection_id":172580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c9"} 
[2026-09-06 09:07:59] local.INFO: GPS Element Parsed {"raw_longitude":760406848,"raw_latitude":105499696,"longitude_deg":76.0406848,"latitude_deg":10.5499696,"altitude":10,"angle":316,"satellites":42,"speed":38,"hex_longitude":"2d52e340","hex_latitude":"0649cc30","is_valid_coordinates":true} 
[2026-09-06 09:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898426624001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400253628721397760,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5979513694758959104,"note":"Value kept but may cause issues"} 
[2026-09-06 09:07:59] 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-09-06 09:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788665739000,"timestamp_ms":1788665739000,"timestamp_seconds":1788665739,"priority":1,"record_length":96,"hex_timestamp":"000001a074c936f8"} 
[2026-09-06 09:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:07: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-09-06 09:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 09:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898426624001,"66":27745,"93":206,"78":38912,"24":38,"16":400253628721397760,"45":5979513694758959104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 09:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898426624001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:07:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 09:07:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 09:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400253628721397760,"km_value":400253628721397.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5979513694758959104,"description":"Unknown IO ID 45"} 
[2026-09-06 09:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898426624001,"power":27745,"unknown_93":206,"unknown_78":38912,"ignition":38,"odometer":null,"unknown_45":5979513694758959104}} 
[2026-09-06 09:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":172580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:07:59] local.INFO: GPS data processed {"connection_id":172580,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:07:59] local.INFO: Acknowledgment sent {"connection_id":172580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:08:03] local.INFO: TCP Data received {"connection_id":172580,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074c95a20012d52cb400649e598000a013a2a..."} 
[2026-09-06 09:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c95a20012d52cb400649e598000a013a2a..."} 
[2026-09-06 09:08:03] local.INFO: Processing buffer {"connection_id":172580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c95a20012d52cb400649e598000a013a2a..."} 
[2026-09-06 09:08:03] local.INFO: Packet analysis {"connection_id":172580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c9"} 
[2026-09-06 09:08:03] local.INFO: Extracted packet for processing {"connection_id":172580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c9"} 
[2026-09-06 09:08:03] local.INFO: GPS Element Parsed {"raw_longitude":760400704,"raw_latitude":105506200,"longitude_deg":76.0400704,"latitude_deg":10.55062,"altitude":10,"angle":314,"satellites":42,"speed":39,"hex_longitude":"2d52cb40","hex_latitude":"0649e598","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898429184001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400254058218127360,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5972687926575509504,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:03] 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-09-06 09:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788665748000,"timestamp_ms":1788665748000,"timestamp_seconds":1788665748,"priority":1,"record_length":96,"hex_timestamp":"000001a074c95a20"} 
[2026-09-06 09:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:08: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-09-06 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898429184001,"66":27713,"93":206,"78":38912,"24":39,"16":400254058218127360,"45":5972687926575509504},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-09-06 09:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898429184001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:08:03] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-06 09:08:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-09-06 09:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400254058218127360,"km_value":400254058218127.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5972687926575509504,"description":"Unknown IO ID 45"} 
[2026-09-06 09:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898429184001,"power":27713,"unknown_93":206,"unknown_78":38912,"ignition":39,"odometer":null,"unknown_45":5972687926575509504}} 
[2026-09-06 09:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":172580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:08:03] local.INFO: GPS data processed {"connection_id":172580,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:08:03] local.INFO: Acknowledgment sent {"connection_id":172580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:08:09] local.INFO: TCP Data received {"connection_id":175044,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:08:09] local.INFO: Processing buffer {"connection_id":175044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:08:09] local.INFO: IMEI packet received {"connection_id":175044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":175044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:08:14] local.INFO: TCP Data received {"connection_id":175044,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:08:14] local.INFO: Processing buffer {"connection_id":175044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:08:14] local.INFO: IMEI packet received {"connection_id":175044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":175044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:08:15] local.INFO: TCP Data received {"connection_id":172581,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:08:15] local.INFO: Processing buffer {"connection_id":172581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:08:15] local.INFO: IMEI packet received {"connection_id":172581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":172581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:08:15] local.INFO: TCP Data received {"connection_id":175044,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c82d58012d18b18007246b480029015722..."} 
[2026-09-06 09:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c82d58012d18b18007246b480029015722..."} 
[2026-09-06 09:08:15] local.INFO: Processing buffer {"connection_id":175044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c82d58012d18b18007246b480029015722..."} 
[2026-09-06 09:08:15] local.INFO: Packet analysis {"connection_id":175044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:08:15] local.INFO: Extracted packet for processing {"connection_id":175044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898406400001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788665671000,"timestamp_ms":1788665671000,"timestamp_seconds":1788665671,"priority":1,"record_length":96,"hex_timestamp":"000001a074c82d58"} 
[2026-09-06 09:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:08:15] 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-09-06 09:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-06 09:08:15] 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-09-06 09:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898406400001,"66":12156,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898406400001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:08:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:08:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898406400001,"power":12156,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":175044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:08:15] local.INFO: GPS data processed {"connection_id":175044,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:08:15] local.INFO: Acknowledgment sent {"connection_id":175044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:08:17] local.INFO: TCP Data received {"connection_id":172581,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:08:17] local.INFO: Processing buffer {"connection_id":172581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:08:17] local.INFO: IMEI packet received {"connection_id":172581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":172581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:08:22] local.INFO: TCP Data received {"connection_id":172581,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:08:22] local.INFO: Processing buffer {"connection_id":172581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:08:22] local.INFO: IMEI packet received {"connection_id":172581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":172581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:08:23] local.INFO: TCP Data received {"connection_id":172581,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074cb7148012d7c094005db71b8000000801f..."} 
[2026-09-06 09:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cb7148012d7c094005db71b8000000801f..."} 
[2026-09-06 09:08:23] local.INFO: Processing buffer {"connection_id":172581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cb7148012d7c094005db71b8000000801f..."} 
[2026-09-06 09:08:23] local.INFO: Packet analysis {"connection_id":172581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:08:23] local.INFO: Extracted packet for processing {"connection_id":172581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:08:23] local.INFO: GPS Element Parsed {"raw_longitude":763103552,"raw_latitude":98267576,"longitude_deg":76.3103552,"latitude_deg":9.8267576,"altitude":0,"angle":128,"satellites":31,"speed":13,"hex_longitude":"2d7c0940","hex_latitude":"05db71b8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898466304001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128848022447587328,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937252748185034752,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:23] 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-09-06 09:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788665885000,"timestamp_ms":1788665885000,"timestamp_seconds":1788665885,"priority":1,"record_length":96,"hex_timestamp":"000001a074cb7148"} 
[2026-09-06 09:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:08: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-09-06 09: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 09:08:23] 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-09-06 09: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-09-06 09:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:08: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-09-06 09:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898466304001,"66":13678,"185":206,"85":15104,"24":13,"16":128848022447587328,"45":8937252748185034752},"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-09-06 09:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898466304001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:08:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-06 09:08:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128848022447587328,"km_value":128848022447587.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937252748185034752,"description":"Unknown IO ID 45"} 
[2026-09-06 09:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898466304001,"power":13678,"unknown_185":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8937252748185034752}} 
[2026-09-06 09:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":172581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:08:23] local.INFO: GPS data processed {"connection_id":172581,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:08:23] local.INFO: Acknowledgment sent {"connection_id":172581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:08:46] local.INFO: TCP Data received {"connection_id":175044,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c87f60012d18b18007246b480029015724..."} 
[2026-09-06 09:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c87f60012d18b18007246b480029015724..."} 
[2026-09-06 09:08:46] local.INFO: Processing buffer {"connection_id":175044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c87f60012d18b18007246b480029015724..."} 
[2026-09-06 09:08:46] local.INFO: Packet analysis {"connection_id":175044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:08:46] local.INFO: Extracted packet for processing {"connection_id":175044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898411776001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788665692000,"timestamp_ms":1788665692000,"timestamp_seconds":1788665692,"priority":1,"record_length":96,"hex_timestamp":"000001a074c87f60"} 
[2026-09-06 09:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:08:46] 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-09-06 09: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 09:08:46] 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-09-06 09: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-09-06 09:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898411776001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898411776001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:08:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:08:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898411776001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":175044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:08:46] local.INFO: GPS data processed {"connection_id":175044,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:08:46] local.INFO: Acknowledgment sent {"connection_id":175044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:08:48] local.INFO: TCP Data received {"connection_id":172582,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:08:48] local.INFO: Processing buffer {"connection_id":172582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:08:48] local.INFO: IMEI packet received {"connection_id":172582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":172582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:08:49] local.INFO: TCP Data received {"connection_id":172582,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:08:49] local.INFO: Processing buffer {"connection_id":172582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:08:49] local.INFO: IMEI packet received {"connection_id":172582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":172582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:08:53] local.INFO: TCP Data received {"connection_id":172582,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:08:53] local.INFO: Processing buffer {"connection_id":172582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:08:53] local.INFO: IMEI packet received {"connection_id":172582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":172582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:08:54] local.INFO: TCP Data received {"connection_id":172582,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074caf448012d51f740064b34b8000901462b..."} 
[2026-09-06 09:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074caf448012d51f740064b34b8000901462b..."} 
[2026-09-06 09:08:54] local.INFO: Processing buffer {"connection_id":172582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074caf448012d51f740064b34b8000901462b..."} 
[2026-09-06 09:08:54] local.INFO: Packet analysis {"connection_id":172582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ca"} 
[2026-09-06 09:08:54] local.INFO: Extracted packet for processing {"connection_id":172582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ca"} 
[2026-09-06 09:08:54] local.INFO: GPS Element Parsed {"raw_longitude":760346432,"raw_latitude":105591992,"longitude_deg":76.0346432,"latitude_deg":10.5591992,"altitude":9,"angle":326,"satellites":43,"speed":40,"hex_longitude":"2d51f740","hex_latitude":"064b34b8","is_valid_coordinates":true} 
[2026-09-06 09:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898456064001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400258988840583168,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5911467119162558464,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:54] 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-09-06 09:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788665853000,"timestamp_ms":1788665853000,"timestamp_seconds":1788665853,"priority":1,"record_length":96,"hex_timestamp":"000001a074caf448"} 
[2026-09-06 09:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:08: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-09-06 09:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:08: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-09-06 09:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898456064001,"66":27800,"50":206,"78":62464,"24":40,"16":400258988840583168,"45":5911467119162558464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-09-06 09:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898456064001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:08:54] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-06 09:08:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400258988840583168,"km_value":400258988840583.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5911467119162558464,"description":"Unknown IO ID 45"} 
[2026-09-06 09:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898456064001,"power":27800,"unknown_50":206,"unknown_78":62464,"ignition":40,"odometer":null,"unknown_45":5911467119162558464}} 
[2026-09-06 09:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":172582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:08:54] local.INFO: GPS data processed {"connection_id":172582,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:08:54] local.INFO: Acknowledgment sent {"connection_id":172582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:08:54] local.INFO: TCP Data received {"connection_id":172581,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074cb7918012d7c0c0005db6dd00000008f1e..."} 
[2026-09-06 09:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cb7918012d7c0c0005db6dd00000008f1e..."} 
[2026-09-06 09:08:54] local.INFO: Processing buffer {"connection_id":172581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cb7918012d7c0c0005db6dd00000008f1e..."} 
[2026-09-06 09:08:54] local.INFO: Packet analysis {"connection_id":172581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:08:54] local.INFO: Extracted packet for processing {"connection_id":172581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763104256,"raw_latitude":98266576,"longitude_deg":76.3104256,"latitude_deg":9.8266576,"altitude":0,"angle":143,"satellites":30,"speed":17,"hex_longitude":"2d7c0c00","hex_latitude":"05db6dd0","is_valid_coordinates":true} 
[2026-09-06 09:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898466560001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128848082577129472,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937745329394137088,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:54] 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-09-06 09:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788665887000,"timestamp_ms":1788665887000,"timestamp_seconds":1788665887,"priority":1,"record_length":96,"hex_timestamp":"000001a074cb7918"} 
[2026-09-06 09:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 09:08:54] 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-09-06 09:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:08:54] 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-09-06 09:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898466560001,"66":13906,"168":206,"85":15104,"24":17,"16":128848082577129472,"45":8937745329394137088},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 09:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898466560001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:08:54] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 09:08:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128848082577129472,"km_value":128848082577129.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937745329394137088,"description":"Unknown IO ID 45"} 
[2026-09-06 09:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898466560001,"power":13906,"unknown_168":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8937745329394137088}} 
[2026-09-06 09:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":172581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:08:54] local.INFO: GPS data processed {"connection_id":172581,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:08:54] local.INFO: Acknowledgment sent {"connection_id":172581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:08:57] local.INFO: TCP Data received {"connection_id":172582,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074cb1770012d51e140064b50d00009013e2a..."} 
[2026-09-06 09:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cb1770012d51e140064b50d00009013e2a..."} 
[2026-09-06 09:08:57] local.INFO: Processing buffer {"connection_id":172582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cb1770012d51e140064b50d00009013e2a..."} 
[2026-09-06 09:08:57] local.INFO: Packet analysis {"connection_id":172582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:08:57] local.INFO: Extracted packet for processing {"connection_id":172582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:08:57] local.INFO: GPS Element Parsed {"raw_longitude":760340800,"raw_latitude":105599184,"longitude_deg":76.03408,"latitude_deg":10.5599184,"altitude":9,"angle":318,"satellites":42,"speed":39,"hex_longitude":"2d51e140","hex_latitude":"064b50d0","is_valid_coordinates":true} 
[2026-09-06 09:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898458368001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400259426927247360,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5906259832095422464,"note":"Value kept but may cause issues"} 
[2026-09-06 09:08:57] 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-09-06 09:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788665862000,"timestamp_ms":1788665862000,"timestamp_seconds":1788665862,"priority":1,"record_length":96,"hex_timestamp":"000001a074cb1770"} 
[2026-09-06 09:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 09:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:08: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-09-06 09:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898458368001,"66":27832,"50":206,"78":62464,"24":39,"16":400259426927247360,"45":5906259832095422464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-09-06 09:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898458368001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:08:57] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-06 09:08:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400259426927247360,"km_value":400259426927247.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5906259832095422464,"description":"Unknown IO ID 45"} 
[2026-09-06 09:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898458368001,"power":27832,"unknown_50":206,"unknown_78":62464,"ignition":39,"odometer":null,"unknown_45":5906259832095422464}} 
[2026-09-06 09:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":172582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:08:57] local.INFO: GPS data processed {"connection_id":172582,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:08:57] local.INFO: Acknowledgment sent {"connection_id":172582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:09:14] local.INFO: TCP Data received {"connection_id":175045,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:09:14] local.INFO: Processing buffer {"connection_id":175045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:09:14] local.INFO: IMEI packet received {"connection_id":175045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":175045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:09:16] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:09:16] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:09:16] local.INFO: IMEI packet received {"connection_id":173726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":173726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:09:17] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:09:17] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:09:17] local.INFO: IMEI packet received {"connection_id":173726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":173726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:09:19] local.INFO: TCP Data received {"connection_id":175045,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:09:19] local.INFO: Processing buffer {"connection_id":175045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:09:19] local.INFO: IMEI packet received {"connection_id":175045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":175045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:09:20] local.INFO: TCP Data received {"connection_id":175045,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c8d168012d18b18007246b480029015724..."} 
[2026-09-06 09:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c8d168012d18b18007246b480029015724..."} 
[2026-09-06 09:09:20] local.INFO: Processing buffer {"connection_id":175045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c8d168012d18b18007246b480029015724..."} 
[2026-09-06 09:09:20] local.INFO: Packet analysis {"connection_id":175045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:09:20] local.INFO: Extracted packet for processing {"connection_id":175045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c8"} 
[2026-09-06 09:09:20] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898417152001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788665713000,"timestamp_ms":1788665713000,"timestamp_seconds":1788665713,"priority":1,"record_length":96,"hex_timestamp":"000001a074c8d168"} 
[2026-09-06 09:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:09:20] 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-09-06 09:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:09:20] 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-09-06 09:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898417152001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898417152001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:09:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:09:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898417152001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":175045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:09:20] local.INFO: GPS data processed {"connection_id":175045,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:09:20] local.INFO: Acknowledgment sent {"connection_id":175045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:09:21] local.INFO: TCP Data received {"connection_id":175045,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c92370012d18b18007246b480029015724..."} 
[2026-09-06 09:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c92370012d18b18007246b480029015724..."} 
[2026-09-06 09:09:21] local.INFO: Processing buffer {"connection_id":175045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c92370012d18b18007246b480029015724..."} 
[2026-09-06 09:09:21] local.INFO: Packet analysis {"connection_id":175045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c9"} 
[2026-09-06 09:09:21] local.INFO: Extracted packet for processing {"connection_id":175045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c9"} 
[2026-09-06 09:09:21] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898422528001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788665734000,"timestamp_ms":1788665734000,"timestamp_seconds":1788665734,"priority":1,"record_length":96,"hex_timestamp":"000001a074c92370"} 
[2026-09-06 09:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:09:21] 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-09-06 09:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 09:09:21] 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-09-06 09:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898422528001,"66":12178,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898422528001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:09:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:09:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898422528001,"power":12178,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":175045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:09:22] local.INFO: GPS data processed {"connection_id":175045,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:09:22] local.INFO: Acknowledgment sent {"connection_id":175045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:09:22] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:09:22] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:09:22] local.INFO: IMEI packet received {"connection_id":173726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":173726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:09:23] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074cb80e8012d7c0e0005db67a80000009c1e..."} 
[2026-09-06 09:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cb80e8012d7c0e0005db67a80000009c1e..."} 
[2026-09-06 09:09:23] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cb80e8012d7c0e0005db67a80000009c1e..."} 
[2026-09-06 09:09:23] local.INFO: Packet analysis {"connection_id":173726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:09:23] local.INFO: Extracted packet for processing {"connection_id":173726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:09:23] local.INFO: GPS Element Parsed {"raw_longitude":763104768,"raw_latitude":98265000,"longitude_deg":76.3104768,"latitude_deg":9.8265,"altitude":0,"angle":156,"satellites":30,"speed":25,"hex_longitude":"2d7c0e00","hex_latitude":"05db67a8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898467072001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128848164181508096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938519385579835392,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:23] 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-09-06 09:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788665889000,"timestamp_ms":1788665889000,"timestamp_seconds":1788665889,"priority":1,"record_length":96,"hex_timestamp":"000001a074cb80e8"} 
[2026-09-06 09:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-06 09:09:23] 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-09-06 09: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-09-06 09:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:09: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-09-06 09:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898467072001,"66":13559,"168":206,"85":15104,"24":25,"16":128848164181508096,"45":8938519385579835392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 09:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898467072001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:09:23] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 09:09:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128848164181508096,"km_value":128848164181508.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938519385579835392,"description":"Unknown IO ID 45"} 
[2026-09-06 09:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898467072001,"power":13559,"unknown_168":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8938519385579835392}} 
[2026-09-06 09:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":173726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:09:23] local.INFO: GPS data processed {"connection_id":173726,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:09:23] local.INFO: Acknowledgment sent {"connection_id":173726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:09:28] local.INFO: TCP Data received {"connection_id":172582,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074cb3e80012d51cc00064b6e280009014529..."} 
[2026-09-06 09:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cb3e80012d51cc00064b6e280009014529..."} 
[2026-09-06 09:09:28] local.INFO: Processing buffer {"connection_id":172582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cb3e80012d51cc00064b6e280009014529..."} 
[2026-09-06 09:09:28] local.INFO: Packet analysis {"connection_id":172582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:09:28] local.INFO: Extracted packet for processing {"connection_id":172582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:09:28] local.INFO: GPS Element Parsed {"raw_longitude":760335360,"raw_latitude":105606696,"longitude_deg":76.033536,"latitude_deg":10.5606696,"altitude":9,"angle":325,"satellites":41,"speed":38,"hex_longitude":"2d51cc00","hex_latitude":"064b6e28","is_valid_coordinates":true} 
[2026-09-06 09:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898460672001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400259873603846144,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5900067382609629184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:28] 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-09-06 09:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788665872000,"timestamp_ms":1788665872000,"timestamp_seconds":1788665872,"priority":1,"record_length":96,"hex_timestamp":"000001a074cb3e80"} 
[2026-09-06 09:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:09: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-09-06 09:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-06 09:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898460672001,"66":27626,"50":206,"78":62464,"24":38,"16":400259873603846144,"45":5900067382609629184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-09-06 09:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898460672001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:09:28] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-09-06 09:09:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400259873603846144,"km_value":400259873603846.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5900067382609629184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898460672001,"power":27626,"unknown_50":206,"unknown_78":62464,"ignition":38,"odometer":null,"unknown_45":5900067382609629184}} 
[2026-09-06 09:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":172582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:09:28] local.INFO: GPS data processed {"connection_id":172582,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:09:28] local.INFO: Acknowledgment sent {"connection_id":172582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:09:47] local.INFO: TCP Data received {"connection_id":173727,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:09:47] local.INFO: Processing buffer {"connection_id":173727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:09:47] local.INFO: IMEI packet received {"connection_id":173727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":173727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:09:48] local.INFO: TCP Data received {"connection_id":173727,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:09:48] local.INFO: Processing buffer {"connection_id":173727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:09:48] local.INFO: IMEI packet received {"connection_id":173727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":173727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:09:49] local.INFO: TCP Data received {"connection_id":173727,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:09:49] local.INFO: Processing buffer {"connection_id":173727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:09:49] local.INFO: IMEI packet received {"connection_id":173727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":173727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:09:52] local.INFO: TCP Data received {"connection_id":173727,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:09:52] local.INFO: Processing buffer {"connection_id":173727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:09:52] local.INFO: IMEI packet received {"connection_id":173727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":173727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:09:52] local.INFO: TCP Data received {"connection_id":175045,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c97578012d18b18007246b480029015723..."} 
[2026-09-06 09:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c97578012d18b18007246b480029015723..."} 
[2026-09-06 09:09:52] local.INFO: Processing buffer {"connection_id":175045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c97578012d18b18007246b480029015723..."} 
[2026-09-06 09:09:52] local.INFO: Packet analysis {"connection_id":175045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c9"} 
[2026-09-06 09:09:52] local.INFO: Extracted packet for processing {"connection_id":175045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c9"} 
[2026-09-06 09:09:52] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898427904001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788665755000,"timestamp_ms":1788665755000,"timestamp_seconds":1788665755,"priority":1,"record_length":96,"hex_timestamp":"000001a074c97578"} 
[2026-09-06 09:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:09: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-09-06 09: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 09:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898427904001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898427904001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:09:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:09:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898427904001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":175045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:09:52] local.INFO: GPS data processed {"connection_id":175045,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:09:52] local.INFO: Acknowledgment sent {"connection_id":175045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:09:53] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074cb9088012d7c124005db5798000000a719..."} 
[2026-09-06 09:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cb9088012d7c124005db5798000000a719..."} 
[2026-09-06 09:09:53] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cb9088012d7c124005db5798000000a719..."} 
[2026-09-06 09:09:53] local.INFO: Packet analysis {"connection_id":173726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:09:53] local.INFO: Extracted packet for processing {"connection_id":173726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:09:53] local.INFO: GPS Element Parsed {"raw_longitude":763105856,"raw_latitude":98260888,"longitude_deg":76.3105856,"latitude_deg":9.8260888,"altitude":0,"angle":167,"satellites":25,"speed":40,"hex_longitude":"2d7c1240","hex_latitude":"05db5798","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898467584001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128848370339938304,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939082335532853248,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:53] 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-09-06 09:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788665893000,"timestamp_ms":1788665893000,"timestamp_seconds":1788665893,"priority":1,"record_length":96,"hex_timestamp":"000001a074cb9088"} 
[2026-09-06 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-09-06 09:09: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-09-06 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 09:09:53] 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-09-06 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-09-06 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-09-06 09:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:09:53] 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-09-06 09:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898467584001,"66":13830,"168":206,"85":15104,"24":40,"16":128848370339938304,"45":8939082335532853248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 09:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898467584001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:09:53] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 09:09:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128848370339938304,"km_value":128848370339938.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939082335532853248,"description":"Unknown IO ID 45"} 
[2026-09-06 09:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898467584001,"power":13830,"unknown_168":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8939082335532853248}} 
[2026-09-06 09:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":173726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:09:54] local.INFO: GPS data processed {"connection_id":173726,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:09:54] local.INFO: Acknowledgment sent {"connection_id":173726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:09:59] local.INFO: TCP Data received {"connection_id":173727,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074cc6760012d516e40064c3e100005001624..."} 
[2026-09-06 09:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cc6760012d516e40064c3e100005001624..."} 
[2026-09-06 09:09:59] local.INFO: Processing buffer {"connection_id":173727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cc6760012d516e40064c3e100005001624..."} 
[2026-09-06 09:09:59] local.INFO: Packet analysis {"connection_id":173727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:09:59] local.INFO: Extracted packet for processing {"connection_id":173727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:09:59] local.INFO: GPS Element Parsed {"raw_longitude":760311360,"raw_latitude":105659920,"longitude_deg":76.031136,"latitude_deg":10.565992,"altitude":5,"angle":22,"satellites":36,"speed":14,"hex_longitude":"2d516e40","hex_latitude":"064c3e10","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898481920001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400262755526901760,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5866994072861501440,"note":"Value kept but may cause issues"} 
[2026-09-06 09:09: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-09-06 09:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788665948000,"timestamp_ms":1788665948000,"timestamp_seconds":1788665948,"priority":1,"record_length":96,"hex_timestamp":"000001a074cc6760"} 
[2026-09-06 09:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09: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-09-06 09: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 09:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898481920001,"66":27767,"49":206,"78":62464,"24":14,"16":400262755526901760,"45":5866994072861501440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-09-06 09:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898481920001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:09:59] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-06 09:09:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400262755526901760,"km_value":400262755526901.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5866994072861501440,"description":"Unknown IO ID 45"} 
[2026-09-06 09:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898481920001,"power":27767,"unknown_49":206,"unknown_78":62464,"ignition":14,"odometer":null,"unknown_45":5866994072861501440}} 
[2026-09-06 09:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":173727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:09:59] local.INFO: GPS data processed {"connection_id":173727,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:09:59] local.INFO: Acknowledgment sent {"connection_id":173727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:10:03] local.INFO: TCP Data received {"connection_id":173727,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074cc6f30012d516f80064c41780005000524..."} 
[2026-09-06 09:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cc6f30012d516f80064c41780005000524..."} 
[2026-09-06 09:10:03] local.INFO: Processing buffer {"connection_id":173727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cc6f30012d516f80064c41780005000524..."} 
[2026-09-06 09:10:03] local.INFO: Packet analysis {"connection_id":173727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:10:03] local.INFO: Extracted packet for processing {"connection_id":173727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:10:03] local.INFO: GPS Element Parsed {"raw_longitude":760311680,"raw_latitude":105660792,"longitude_deg":76.031168,"latitude_deg":10.5660792,"altitude":5,"angle":5,"satellites":36,"speed":19,"hex_longitude":"2d516f80","hex_latitude":"064c4178","is_valid_coordinates":true} 
[2026-09-06 09:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898482688001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400262802771542016,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5867697760303452160,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:03] 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-09-06 09:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788665950000,"timestamp_ms":1788665950000,"timestamp_seconds":1788665950,"priority":1,"record_length":96,"hex_timestamp":"000001a074cc6f30"} 
[2026-09-06 09:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:10: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-09-06 09:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:10: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-09-06 09:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898482688001,"66":27484,"49":206,"78":62464,"24":19,"16":400262802771542016,"45":5867697760303452160},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-09-06 09:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898482688001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:10:03] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-06 09:10:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400262802771542016,"km_value":400262802771542.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5867697760303452160,"description":"Unknown IO ID 45"} 
[2026-09-06 09:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898482688001,"power":27484,"unknown_49":206,"unknown_78":62464,"ignition":19,"odometer":null,"unknown_45":5867697760303452160}} 
[2026-09-06 09:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":173727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:10:03] local.INFO: GPS data processed {"connection_id":173727,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:10:03] local.INFO: Acknowledgment sent {"connection_id":173727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:10:09] local.INFO: TCP Data received {"connection_id":173728,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:10:09] local.INFO: Processing buffer {"connection_id":173728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:10:09] local.INFO: IMEI packet received {"connection_id":173728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":173728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:10:14] local.INFO: TCP Data received {"connection_id":173728,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:10:14] local.INFO: Processing buffer {"connection_id":173728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:10:14] local.INFO: IMEI packet received {"connection_id":173728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":173728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:10:15] local.INFO: TCP Data received {"connection_id":173728,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074c9c780012d18b18007246b480029015722..."} 
[2026-09-06 09:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074c9c780012d18b18007246b480029015722..."} 
[2026-09-06 09:10:15] local.INFO: Processing buffer {"connection_id":173728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074c9c780012d18b18007246b480029015722..."} 
[2026-09-06 09:10:15] local.INFO: Packet analysis {"connection_id":173728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074c9"} 
[2026-09-06 09:10:15] local.INFO: Extracted packet for processing {"connection_id":173728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074c9"} 
[2026-09-06 09:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898433280001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788665776000,"timestamp_ms":1788665776000,"timestamp_seconds":1788665776,"priority":1,"record_length":96,"hex_timestamp":"000001a074c9c780"} 
[2026-09-06 09:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:10:15] 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-09-06 09:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 09:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898433280001,"66":12156,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898433280001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:10:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898433280001,"power":12156,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":173728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:10:15] local.INFO: GPS data processed {"connection_id":173728,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:10:15] local.INFO: Acknowledgment sent {"connection_id":173728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:10:17] local.INFO: TCP Data received {"connection_id":172352,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:10:17] local.INFO: Processing buffer {"connection_id":172352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:10:17] local.INFO: IMEI packet received {"connection_id":172352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":172352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:10:20] local.INFO: TCP Data received {"connection_id":173728,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ca1988012d18b18007246b480029015722..."} 
[2026-09-06 09:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ca1988012d18b18007246b480029015722..."} 
[2026-09-06 09:10:20] local.INFO: Processing buffer {"connection_id":173728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ca1988012d18b18007246b480029015722..."} 
[2026-09-06 09:10:20] local.INFO: Packet analysis {"connection_id":173728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ca"} 
[2026-09-06 09:10:20] local.INFO: Extracted packet for processing {"connection_id":173728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ca"} 
[2026-09-06 09:10:20] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898438656001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788665797000,"timestamp_ms":1788665797000,"timestamp_seconds":1788665797,"priority":1,"record_length":96,"hex_timestamp":"000001a074ca1988"} 
[2026-09-06 09:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:10:20] 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-09-06 09:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 09:10:20] 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-09-06 09:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898438656001,"66":12178,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898438656001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:10:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:10:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898438656001,"power":12178,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":173728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:10:20] local.INFO: GPS data processed {"connection_id":173728,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:10:20] local.INFO: Acknowledgment sent {"connection_id":173728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:10:21] local.INFO: TCP Data received {"connection_id":172352,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:10:21] local.INFO: Processing buffer {"connection_id":172352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:10:21] local.INFO: IMEI packet received {"connection_id":172352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":172352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:10:22] local.INFO: TCP Data received {"connection_id":172352,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074cd1b10012d7c24c005daf868000001471f..."} 
[2026-09-06 09:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cd1b10012d7c24c005daf868000001471f..."} 
[2026-09-06 09:10:22] local.INFO: Processing buffer {"connection_id":172352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cd1b10012d7c24c005daf868000001471f..."} 
[2026-09-06 09:10:22] local.INFO: Packet analysis {"connection_id":172352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:10:22] local.INFO: Extracted packet for processing {"connection_id":172352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:10:22] local.INFO: GPS Element Parsed {"raw_longitude":763110592,"raw_latitude":98236520,"longitude_deg":76.3110592,"latitude_deg":9.823652,"altitude":0,"angle":327,"satellites":31,"speed":10,"hex_longitude":"2d7c24c0","hex_latitude":"05daf868","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898494208001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128849688894898176,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628734040064,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:22] 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-09-06 09:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788665994000,"timestamp_ms":1788665994000,"timestamp_seconds":1788665994,"priority":1,"record_length":96,"hex_timestamp":"000001a074cd1b10"} 
[2026-09-06 09:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 09:10:22] 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-09-06 09: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-09-06 09:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:10: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-09-06 09:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898494208001,"66":13656,"187":206,"85":15104,"24":10,"16":128849688894898176,"45":8945626628734040064},"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-09-06 09:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898494208001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:10:22] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 09:10:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128849688894898176,"km_value":128849688894898.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628734040064,"description":"Unknown IO ID 45"} 
[2026-09-06 09:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898494208001,"power":13656,"unknown_187":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8945626628734040064}} 
[2026-09-06 09:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":172352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:10:22] local.INFO: GPS data processed {"connection_id":172352,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:10:22] local.INFO: Acknowledgment sent {"connection_id":172352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:10:48] local.INFO: TCP Data received {"connection_id":173729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:10:48] local.INFO: Processing buffer {"connection_id":173729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:10:48] local.INFO: IMEI packet received {"connection_id":173729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":173729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:10:51] local.INFO: TCP Data received {"connection_id":173728,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ca6b90012d18b18007246b480029015724..."} 
[2026-09-06 09:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ca6b90012d18b18007246b480029015724..."} 
[2026-09-06 09:10:51] local.INFO: Processing buffer {"connection_id":173728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ca6b90012d18b18007246b480029015724..."} 
[2026-09-06 09:10:51] local.INFO: Packet analysis {"connection_id":173728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ca"} 
[2026-09-06 09:10:51] local.INFO: Extracted packet for processing {"connection_id":173728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ca"} 
[2026-09-06 09:10:51] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898444032001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788665818000,"timestamp_ms":1788665818000,"timestamp_seconds":1788665818,"priority":1,"record_length":96,"hex_timestamp":"000001a074ca6b90"} 
[2026-09-06 09:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:10:51] 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-09-06 09:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 09:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898444032001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898444032001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:10:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:10:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898444032001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":173728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:10:51] local.INFO: GPS data processed {"connection_id":173728,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:10:51] local.INFO: Acknowledgment sent {"connection_id":173728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:10:52] local.INFO: TCP Data received {"connection_id":173729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:10:52] local.INFO: Processing buffer {"connection_id":173729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:10:52] local.INFO: IMEI packet received {"connection_id":173729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":173729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:10:53] local.INFO: TCP Data received {"connection_id":172352,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074cd1ef8012d7c23c005dafa200000015320..."} 
[2026-09-06 09:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cd1ef8012d7c23c005dafa200000015320..."} 
[2026-09-06 09:10:53] local.INFO: Processing buffer {"connection_id":172352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cd1ef8012d7c23c005dafa200000015320..."} 
[2026-09-06 09:10:53] local.INFO: Packet analysis {"connection_id":172352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:10:53] local.INFO: Extracted packet for processing {"connection_id":172352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:10:53] local.INFO: GPS Element Parsed {"raw_longitude":763110336,"raw_latitude":98236960,"longitude_deg":76.3110336,"latitude_deg":9.823696,"altitude":0,"angle":339,"satellites":32,"speed":17,"hex_longitude":"2d7c23c0","hex_latitude":"05dafa20","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898494464001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128849710369734656,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945485891245729792,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:53] 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-09-06 09:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788665995000,"timestamp_ms":1788665995000,"timestamp_seconds":1788665995,"priority":1,"record_length":96,"hex_timestamp":"000001a074cd1ef8"} 
[2026-09-06 09:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 09:10:53] 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-09-06 09: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-09-06 09:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:10:53] 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-09-06 09:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898494464001,"66":13602,"187":206,"85":15104,"24":17,"16":128849710369734656,"45":8945485891245729792},"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-09-06 09:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898494464001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:10:53] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 09:10:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128849710369734656,"km_value":128849710369734.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945485891245729792,"description":"Unknown IO ID 45"} 
[2026-09-06 09:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898494464001,"power":13602,"unknown_187":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8945485891245729792}} 
[2026-09-06 09:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":172352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:10:53] local.INFO: GPS data processed {"connection_id":172352,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:10:53] local.INFO: Acknowledgment sent {"connection_id":172352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:10:55] local.INFO: TCP Data received {"connection_id":173729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074cc7700012d516f80064c45b80006015d24..."} 
[2026-09-06 09:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cc7700012d516f80064c45b80006015d24..."} 
[2026-09-06 09:10:55] local.INFO: Processing buffer {"connection_id":173729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cc7700012d516f80064c45b80006015d24..."} 
[2026-09-06 09:10:55] local.INFO: Packet analysis {"connection_id":173729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:10:55] local.INFO: Extracted packet for processing {"connection_id":173729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":760311680,"raw_latitude":105661880,"longitude_deg":76.031168,"latitude_deg":10.566188,"altitude":6,"angle":349,"satellites":36,"speed":21,"hex_longitude":"2d516f80","hex_latitude":"064c45b8","is_valid_coordinates":true} 
[2026-09-06 09:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898483200001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400262854311149568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868049604024563712,"note":"Value kept but may cause issues"} 
[2026-09-06 09:10: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-09-06 09:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788665952000,"timestamp_ms":1788665952000,"timestamp_seconds":1788665952,"priority":1,"record_length":96,"hex_timestamp":"000001a074cc7700"} 
[2026-09-06 09:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:10: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-09-06 09:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 09:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898483200001,"66":27745,"49":206,"78":62464,"24":21,"16":400262854311149568,"45":5868049604024563712},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-09-06 09:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898483200001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:10:55] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-06 09:10:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400262854311149568,"km_value":400262854311149.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868049604024563712,"description":"Unknown IO ID 45"} 
[2026-09-06 09:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898483200001,"power":27745,"unknown_49":206,"unknown_78":62464,"ignition":21,"odometer":null,"unknown_45":5868049604024563712}} 
[2026-09-06 09:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":173729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:10:55] local.INFO: GPS data processed {"connection_id":173729,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:10:55] local.INFO: Acknowledgment sent {"connection_id":173729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:11:06] local.INFO: TCP Data received {"connection_id":172583,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:11:06] local.INFO: Processing buffer {"connection_id":172583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:11:06] local.INFO: IMEI packet received {"connection_id":172583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":172583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:11:09] local.INFO: TCP Data received {"connection_id":172583,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:11:09] local.INFO: Processing buffer {"connection_id":172583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:11:09] local.INFO: IMEI packet received {"connection_id":172583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":172583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:11:14] local.INFO: TCP Data received {"connection_id":172583,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:11:14] local.INFO: Processing buffer {"connection_id":172583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:11:14] local.INFO: IMEI packet received {"connection_id":172583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":172583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:11:15] local.INFO: TCP Data received {"connection_id":172583,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074cac180012d18b18007246b480029015723..."} 
[2026-09-06 09:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cac180012d18b18007246b480029015723..."} 
[2026-09-06 09:11:15] local.INFO: Processing buffer {"connection_id":172583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cac180012d18b18007246b480029015723..."} 
[2026-09-06 09:11:15] local.INFO: Packet analysis {"connection_id":172583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ca"} 
[2026-09-06 09:11:15] local.INFO: Extracted packet for processing {"connection_id":172583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ca"} 
[2026-09-06 09:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898449408001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788665840000,"timestamp_ms":1788665840000,"timestamp_seconds":1788665840,"priority":1,"record_length":96,"hex_timestamp":"000001a074cac180"} 
[2026-09-06 09:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:11:15] 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-09-06 09:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 09:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898449408001,"66":12200,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898449408001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:11:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:11:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898449408001,"power":12200,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":172583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:11:15] local.INFO: GPS data processed {"connection_id":172583,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:11:15] local.INFO: Acknowledgment sent {"connection_id":172583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:11:27] local.INFO: TCP Data received {"connection_id":173729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074cc82b8012d516dc0064c4bc00006015023..."} 
[2026-09-06 09:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cc82b8012d516dc0064c4bc00006015023..."} 
[2026-09-06 09:11:27] local.INFO: Processing buffer {"connection_id":173729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cc82b8012d516dc0064c4bc00006015023..."} 
[2026-09-06 09:11:27] local.INFO: Packet analysis {"connection_id":173729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:11:27] local.INFO: Extracted packet for processing {"connection_id":173729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:11:27] local.INFO: GPS Element Parsed {"raw_longitude":760311232,"raw_latitude":105663424,"longitude_deg":76.0311232,"latitude_deg":10.5663424,"altitude":6,"angle":336,"satellites":35,"speed":22,"hex_longitude":"2d516dc0","hex_latitude":"064c4bc0","is_valid_coordinates":true} 
[2026-09-06 09:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898483712001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400262931620560896,"note":"Value kept but may cause issues"} 
[2026-09-06 09:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868049604024842240,"note":"Value kept but may cause issues"} 
[2026-09-06 09:11: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-09-06 09:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788665955000,"timestamp_ms":1788665955000,"timestamp_seconds":1788665955,"priority":1,"record_length":96,"hex_timestamp":"000001a074cc82b8"} 
[2026-09-06 09:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:11: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-09-06 09:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:11: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-09-06 09:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898483712001,"66":26723,"49":206,"78":62464,"24":22,"16":400262931620560896,"45":5868049604024842240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-09-06 09:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898483712001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:11:27] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-06 09:11:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400262931620560896,"km_value":400262931620560.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868049604024842240,"description":"Unknown IO ID 45"} 
[2026-09-06 09:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898483712001,"power":26723,"unknown_49":206,"unknown_78":62464,"ignition":22,"odometer":null,"unknown_45":5868049604024842240}} 
[2026-09-06 09:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":173729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:11:28] local.INFO: GPS data processed {"connection_id":173729,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:11:28] local.INFO: Acknowledgment sent {"connection_id":173729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:11:46] local.INFO: TCP Data received {"connection_id":172583,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074cb0fa0012d18b18007246b480029015725..."} 
[2026-09-06 09:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cb0fa0012d18b18007246b480029015725..."} 
[2026-09-06 09:11:46] local.INFO: Processing buffer {"connection_id":172583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cb0fa0012d18b18007246b480029015725..."} 
[2026-09-06 09:11:46] local.INFO: Packet analysis {"connection_id":172583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:11:46] local.INFO: Extracted packet for processing {"connection_id":172583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:11:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898455040001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788665860000,"timestamp_ms":1788665860000,"timestamp_seconds":1788665860,"priority":1,"record_length":96,"hex_timestamp":"000001a074cb0fa0"} 
[2026-09-06 09:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:11:46] 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-09-06 09:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-09-06 09:11:46] 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-09-06 09:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898455040001,"66":12156,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898455040001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:11:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:11:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898455040001,"power":12156,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":172583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:11:46] local.INFO: GPS data processed {"connection_id":172583,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:11:46] local.INFO: Acknowledgment sent {"connection_id":172583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:11:48] local.INFO: TCP Data received {"connection_id":175046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:11:48] local.INFO: Processing buffer {"connection_id":175046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:11:48] local.INFO: IMEI packet received {"connection_id":175046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":175046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:11:53] local.INFO: TCP Data received {"connection_id":175046,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:11:53] local.INFO: Processing buffer {"connection_id":175046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:11:53] local.INFO: IMEI packet received {"connection_id":175046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":175046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:11:57] local.INFO: TCP Data received {"connection_id":175046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074ccb580012d515d80064c6d780009014b26..."} 
[2026-09-06 09:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ccb580012d515d80064c6d780009014b26..."} 
[2026-09-06 09:11:57] local.INFO: Processing buffer {"connection_id":175046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ccb580012d515d80064c6d780009014b26..."} 
[2026-09-06 09:11:57] local.INFO: Packet analysis {"connection_id":175046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:11:57] local.INFO: Extracted packet for processing {"connection_id":175046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:11:57] local.INFO: GPS Element Parsed {"raw_longitude":760307072,"raw_latitude":105672056,"longitude_deg":76.0307072,"latitude_deg":10.5672056,"altitude":9,"angle":331,"satellites":38,"speed":33,"hex_longitude":"2d515d80","hex_latitude":"064c6d78","is_valid_coordinates":true} 
[2026-09-06 09:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898484480001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400263395477028864,"note":"Value kept but may cause issues"} 
[2026-09-06 09:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5867557022815993856,"note":"Value kept but may cause issues"} 
[2026-09-06 09:11:57] 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-09-06 09:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788665968000,"timestamp_ms":1788665968000,"timestamp_seconds":1788665968,"priority":1,"record_length":96,"hex_timestamp":"000001a074ccb580"} 
[2026-09-06 09:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09: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-09-06 09:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-09-06 09:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1609,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:11: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-09-06 09:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898484480001,"66":27658,"49":206,"78":62464,"24":33,"16":400263395477028864,"45":5867557022815993856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-09-06 09:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898484480001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:11:57] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-06 09:11:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400263395477028864,"km_value":400263395477028.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5867557022815993856,"description":"Unknown IO ID 45"} 
[2026-09-06 09:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898484480001,"power":27658,"unknown_49":206,"unknown_78":62464,"ignition":33,"odometer":null,"unknown_45":5867557022815993856}} 
[2026-09-06 09:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":175046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:11:57] local.INFO: GPS data processed {"connection_id":175046,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:11:57] local.INFO: Acknowledgment sent {"connection_id":175046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:12:10] local.INFO: TCP Data received {"connection_id":172353,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:12:10] local.INFO: Processing buffer {"connection_id":172353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:12:10] local.INFO: IMEI packet received {"connection_id":172353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":172353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:12:10] local.INFO: TCP Data received {"connection_id":172353,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:12:10] local.INFO: Processing buffer {"connection_id":172353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:12:10] local.INFO: IMEI packet received {"connection_id":172353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":172353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:12:14] local.INFO: TCP Data received {"connection_id":172353,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:12:14] local.INFO: Processing buffer {"connection_id":172353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:12:14] local.INFO: IMEI packet received {"connection_id":172353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":172353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:12:15] local.INFO: TCP Data received {"connection_id":172353,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074cb61a8012d18b18007246b480029015725..."} 
[2026-09-06 09:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cb61a8012d18b18007246b480029015725..."} 
[2026-09-06 09:12:15] local.INFO: Processing buffer {"connection_id":172353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cb61a8012d18b18007246b480029015725..."} 
[2026-09-06 09:12:15] local.INFO: Packet analysis {"connection_id":172353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:12:15] local.INFO: Extracted packet for processing {"connection_id":172353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898460160001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788665881000,"timestamp_ms":1788665881000,"timestamp_seconds":1788665881,"priority":1,"record_length":96,"hex_timestamp":"000001a074cb61a8"} 
[2026-09-06 09:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:12:15] 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-09-06 09:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 09:12:15] 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-09-06 09:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898460160001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898460160001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:12:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898460160001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":172353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:12:15] local.INFO: GPS data processed {"connection_id":172353,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:12:15] local.INFO: Acknowledgment sent {"connection_id":172353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:12:28] local.INFO: TCP Data received {"connection_id":175046,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074cce078012d514b00064c8c58000a014229..."} 
[2026-09-06 09:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cce078012d514b00064c8c58000a014229..."} 
[2026-09-06 09:12:28] local.INFO: Processing buffer {"connection_id":175046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cce078012d514b00064c8c58000a014229..."} 
[2026-09-06 09:12:28] local.INFO: Packet analysis {"connection_id":175046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:12:28] local.INFO: Extracted packet for processing {"connection_id":175046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:12:28] local.INFO: GPS Element Parsed {"raw_longitude":760302336,"raw_latitude":105679960,"longitude_deg":76.0302336,"latitude_deg":10.567996,"altitude":10,"angle":322,"satellites":41,"speed":31,"hex_longitude":"2d514b00","hex_latitude":"064c8c58","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898487808001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400263842153627648,"note":"Value kept but may cause issues"} 
[2026-09-06 09:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5862983054446655488,"note":"Value kept but may cause issues"} 
[2026-09-06 09:12:28] 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-09-06 09:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788665979000,"timestamp_ms":1788665979000,"timestamp_seconds":1788665979,"priority":1,"record_length":96,"hex_timestamp":"000001a074cce078"} 
[2026-09-06 09:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 09:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898487808001,"66":27767,"49":206,"78":62464,"24":31,"16":400263842153627648,"45":5862983054446655488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-09-06 09:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898487808001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:12:28] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-06 09:12:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400263842153627648,"km_value":400263842153627.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5862983054446655488,"description":"Unknown IO ID 45"} 
[2026-09-06 09:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898487808001,"power":27767,"unknown_49":206,"unknown_78":62464,"ignition":31,"odometer":null,"unknown_45":5862983054446655488}} 
[2026-09-06 09:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":175046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:12:28] local.INFO: GPS data processed {"connection_id":175046,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:12:28] local.INFO: Acknowledgment sent {"connection_id":175046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:12:39] local.INFO: TCP Data received {"connection_id":172584,"ip":"117.224.56.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:12:39] local.INFO: Processing buffer {"connection_id":172584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:12:39] local.INFO: IMEI packet received {"connection_id":172584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 09:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":172584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:12:46] local.INFO: TCP Data received {"connection_id":172353,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074cbb3b0012d18b18007246b480029015724..."} 
[2026-09-06 09:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cbb3b0012d18b18007246b480029015724..."} 
[2026-09-06 09:12:46] local.INFO: Processing buffer {"connection_id":172353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cbb3b0012d18b18007246b480029015724..."} 
[2026-09-06 09:12:46] local.INFO: Packet analysis {"connection_id":172353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:12:46] local.INFO: Extracted packet for processing {"connection_id":172353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cb"} 
[2026-09-06 09:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898465536001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788665902000,"timestamp_ms":1788665902000,"timestamp_seconds":1788665902,"priority":1,"record_length":96,"hex_timestamp":"000001a074cbb3b0"} 
[2026-09-06 09:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:12:46] 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-09-06 09:12:46] 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-09-06 09:12:46] 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-09-06 09:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898465536001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898465536001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:12:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:12:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898465536001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":172353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:12:46] local.INFO: GPS data processed {"connection_id":172353,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:12:46] local.INFO: Acknowledgment sent {"connection_id":172353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:12:48] local.INFO: TCP Data received {"connection_id":173730,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:12:48] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:12:48] local.INFO: IMEI packet received {"connection_id":173730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":173730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:12:53] local.INFO: TCP Data received {"connection_id":173730,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:12:53] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:12:53] local.INFO: IMEI packet received {"connection_id":173730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":173730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:12:54] local.INFO: TCP Data received {"connection_id":173730,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074cd0b70012d513600064ca938000a014829..."} 
[2026-09-06 09:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cd0b70012d513600064ca938000a014829..."} 
[2026-09-06 09:12:54] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cd0b70012d513600064ca938000a014829..."} 
[2026-09-06 09:12:54] local.INFO: Packet analysis {"connection_id":173730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:12:54] local.INFO: Extracted packet for processing {"connection_id":173730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:12:54] local.INFO: GPS Element Parsed {"raw_longitude":760296960,"raw_latitude":105687352,"longitude_deg":76.029696,"latitude_deg":10.5687352,"altitude":10,"angle":328,"satellites":41,"speed":30,"hex_longitude":"2d513600","hex_latitude":"064ca938","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898490624001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400264284535259136,"note":"Value kept but may cause issues"} 
[2026-09-06 09:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5857775767379531776,"note":"Value kept but may cause issues"} 
[2026-09-06 09:12: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-09-06 09:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788665990000,"timestamp_ms":1788665990000,"timestamp_seconds":1788665990,"priority":1,"record_length":96,"hex_timestamp":"000001a074cd0b70"} 
[2026-09-06 09:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:12: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-09-06 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:12: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-09-06 09: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-09-06 09:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:12: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-09-06 09:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898490624001,"66":27745,"49":206,"78":62464,"24":30,"16":400264284535259136,"45":5857775767379531776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-09-06 09:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898490624001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:12:54] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-06 09:12:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400264284535259136,"km_value":400264284535259.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5857775767379531776,"description":"Unknown IO ID 45"} 
[2026-09-06 09:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898490624001,"power":27745,"unknown_49":206,"unknown_78":62464,"ignition":30,"odometer":null,"unknown_45":5857775767379531776}} 
[2026-09-06 09:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":173730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:12:54] local.INFO: GPS data processed {"connection_id":173730,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:12:54] local.INFO: Acknowledgment sent {"connection_id":173730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:13:06] local.INFO: TCP Data received {"connection_id":172584,"ip":"117.224.56.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:13:06] local.INFO: Processing buffer {"connection_id":172584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:13:06] local.INFO: IMEI packet received {"connection_id":172584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 09:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":172584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:13:07] local.INFO: TCP Data received {"connection_id":172584,"ip":"117.224.56.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:13:07] local.INFO: Processing buffer {"connection_id":172584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:13:07] local.INFO: IMEI packet received {"connection_id":172584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 09:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":172584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:13:09] local.INFO: TCP Data received {"connection_id":175047,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:13:09] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:13:09] local.INFO: IMEI packet received {"connection_id":175047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":175047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:13:12] local.INFO: TCP Data received {"connection_id":175047,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:13:12] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:13:12] local.INFO: IMEI packet received {"connection_id":175047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":175047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:13:13] local.INFO: TCP Data received {"connection_id":175047,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074cc05b8012d18b18007246b480029015725..."} 
[2026-09-06 09:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cc05b8012d18b18007246b480029015725..."} 
[2026-09-06 09:13:13] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cc05b8012d18b18007246b480029015725..."} 
[2026-09-06 09:13:13] local.INFO: Packet analysis {"connection_id":175047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:13:13] local.INFO: Extracted packet for processing {"connection_id":175047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:13:13] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898470912001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788665923000,"timestamp_ms":1788665923000,"timestamp_seconds":1788665923,"priority":1,"record_length":96,"hex_timestamp":"000001a074cc05b8"} 
[2026-09-06 09:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:13: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-09-06 09: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:13:13] 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-09-06 09: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-09-06 09:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898470912001,"66":12156,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898470912001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:13:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898470912001,"power":12156,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":175047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:13:13] local.INFO: GPS data processed {"connection_id":175047,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:13:13] local.INFO: Acknowledgment sent {"connection_id":175047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:13:20] local.INFO: TCP Data received {"connection_id":172585,"ip":"117.224.56.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:13:20] local.INFO: Processing buffer {"connection_id":172585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:13:20] local.INFO: IMEI packet received {"connection_id":172585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 09:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":172585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:13:25] local.INFO: TCP Data received {"connection_id":173730,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074cd3a50012d5125c0064cc978000a01501e..."} 
[2026-09-06 09:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cd3a50012d5125c0064cc978000a01501e..."} 
[2026-09-06 09:13:25] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cd3a50012d5125c0064cc978000a01501e..."} 
[2026-09-06 09:13:25] local.INFO: Packet analysis {"connection_id":173730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:13:25] local.INFO: Extracted packet for processing {"connection_id":173730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:13:25] local.INFO: GPS Element Parsed {"raw_longitude":760292800,"raw_latitude":105695608,"longitude_deg":76.02928,"latitude_deg":10.5695608,"altitude":10,"angle":336,"satellites":30,"speed":30,"hex_longitude":"2d5125c0","hex_latitude":"064cc978","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898493440001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400264731211857920,"note":"Value kept but may cause issues"} 
[2026-09-06 09:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5851864792870500352,"note":"Value kept but may cause issues"} 
[2026-09-06 09:13:25] 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-09-06 09:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788666002000,"timestamp_ms":1788666002000,"timestamp_seconds":1788666002,"priority":1,"record_length":96,"hex_timestamp":"000001a074cd3a50"} 
[2026-09-06 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-09-06 09:13: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-09-06 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 09:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:13: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-09-06 09:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898493440001,"66":27800,"49":206,"78":62464,"24":30,"16":400264731211857920,"45":5851864792870500352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-09-06 09:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898493440001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:13:25] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-06 09:13:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400264731211857920,"km_value":400264731211857.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5851864792870500352,"description":"Unknown IO ID 45"} 
[2026-09-06 09:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898493440001,"power":27800,"unknown_49":206,"unknown_78":62464,"ignition":30,"odometer":null,"unknown_45":5851864792870500352}} 
[2026-09-06 09:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":173730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:13:25] local.INFO: GPS data processed {"connection_id":173730,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:13:25] local.INFO: Acknowledgment sent {"connection_id":173730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:13:44] local.INFO: TCP Data received {"connection_id":175047,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074cc57c0012d18b18007246b480029015725..."} 
[2026-09-06 09:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cc57c0012d18b18007246b480029015725..."} 
[2026-09-06 09:13:44] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cc57c0012d18b18007246b480029015725..."} 
[2026-09-06 09:13:44] local.INFO: Packet analysis {"connection_id":175047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:13:44] local.INFO: Extracted packet for processing {"connection_id":175047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:13:44] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898476288001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788665944000,"timestamp_ms":1788665944000,"timestamp_seconds":1788665944,"priority":1,"record_length":96,"hex_timestamp":"000001a074cc57c0"} 
[2026-09-06 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-09-06 09:13:44] 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-09-06 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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 09:13:44] 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-09-06 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-09-06 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-09-06 09:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898476288001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898476288001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:13:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:13:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898476288001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":175047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:13:44] local.INFO: GPS data processed {"connection_id":175047,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:13:44] local.INFO: Acknowledgment sent {"connection_id":175047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:13:48] local.INFO: TCP Data received {"connection_id":175048,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:13:48] local.INFO: Processing buffer {"connection_id":175048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:13:48] local.INFO: IMEI packet received {"connection_id":175048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":175048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:13:49] local.INFO: TCP Data received {"connection_id":175048,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:13:49] local.INFO: Processing buffer {"connection_id":175048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:13:49] local.INFO: IMEI packet received {"connection_id":175048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":175048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:13:53] local.INFO: TCP Data received {"connection_id":175048,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:13:53] local.INFO: Processing buffer {"connection_id":175048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:13:53] local.INFO: IMEI packet received {"connection_id":175048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":175048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:13:54] local.INFO: TCP Data received {"connection_id":175048,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074cd6930012d511680064ce8d00009014d24..."} 
[2026-09-06 09:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cd6930012d511680064ce8d00009014d24..."} 
[2026-09-06 09:13:54] local.INFO: Processing buffer {"connection_id":175048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cd6930012d511680064ce8d00009014d24..."} 
[2026-09-06 09:13:54] local.INFO: Packet analysis {"connection_id":175048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:13:54] local.INFO: Extracted packet for processing {"connection_id":175048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:13:54] local.INFO: GPS Element Parsed {"raw_longitude":760288896,"raw_latitude":105703632,"longitude_deg":76.0288896,"latitude_deg":10.5703632,"altitude":9,"angle":333,"satellites":36,"speed":20,"hex_longitude":"2d511680","hex_latitude":"064ce8d0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898496512001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400265165003554816,"note":"Value kept but may cause issues"} 
[2026-09-06 09:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5847290824501065728,"note":"Value kept but may cause issues"} 
[2026-09-06 09:13: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-09-06 09:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788666014000,"timestamp_ms":1788666014000,"timestamp_seconds":1788666014,"priority":1,"record_length":96,"hex_timestamp":"000001a074cd6930"} 
[2026-09-06 09:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:13: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-09-06 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 09:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:13: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-09-06 09:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898496512001,"66":27876,"49":206,"78":62464,"24":20,"16":400265165003554816,"45":5847290824501065728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-09-06 09:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898496512001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:13:54] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-06 09:13:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400265165003554816,"km_value":400265165003554.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5847290824501065728,"description":"Unknown IO ID 45"} 
[2026-09-06 09:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898496512001,"power":27876,"unknown_49":206,"unknown_78":62464,"ignition":20,"odometer":null,"unknown_45":5847290824501065728}} 
[2026-09-06 09:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":175048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:13:54] local.INFO: GPS data processed {"connection_id":175048,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:13:54] local.INFO: Acknowledgment sent {"connection_id":175048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:14:09] local.INFO: TCP Data received {"connection_id":173731,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:14:09] local.INFO: Processing buffer {"connection_id":173731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:14:09] local.INFO: IMEI packet received {"connection_id":173731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":173731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:14:14] local.INFO: TCP Data received {"connection_id":173731,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:14:14] local.INFO: Processing buffer {"connection_id":173731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:14:14] local.INFO: IMEI packet received {"connection_id":173731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":173731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:14:15] local.INFO: TCP Data received {"connection_id":173731,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074cca9c8012d18b18007246b480029015724..."} 
[2026-09-06 09:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cca9c8012d18b18007246b480029015724..."} 
[2026-09-06 09:14:15] local.INFO: Processing buffer {"connection_id":173731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cca9c8012d18b18007246b480029015724..."} 
[2026-09-06 09:14:15] local.INFO: Packet analysis {"connection_id":173731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:14:15] local.INFO: Extracted packet for processing {"connection_id":173731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cc"} 
[2026-09-06 09:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898481664001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788665965000,"timestamp_ms":1788665965000,"timestamp_seconds":1788665965,"priority":1,"record_length":96,"hex_timestamp":"000001a074cca9c8"} 
[2026-09-06 09:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:14:15] 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-09-06 09:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:14:15] 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-09-06 09:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898481664001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898481664001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:14:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898481664001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":173731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:14:15] local.INFO: GPS data processed {"connection_id":173731,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:14:15] local.INFO: Acknowledgment sent {"connection_id":173731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:14:25] local.INFO: TCP Data received {"connection_id":175048,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d06ab8012d50a400064ddd40000501512c..."} 
[2026-09-06 09:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d06ab8012d50a400064ddd40000501512c..."} 
[2026-09-06 09:14:25] local.INFO: Processing buffer {"connection_id":175048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d06ab8012d50a400064ddd40000501512c..."} 
[2026-09-06 09:14:25] local.INFO: Packet analysis {"connection_id":175048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d0"} 
[2026-09-06 09:14:25] local.INFO: Extracted packet for processing {"connection_id":175048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d0"} 
[2026-09-06 09:14:25] local.INFO: GPS Element Parsed {"raw_longitude":760259584,"raw_latitude":105766208,"longitude_deg":76.0259584,"latitude_deg":10.5766208,"altitude":5,"angle":337,"satellites":44,"speed":9,"hex_longitude":"2d50a400","hex_latitude":"064ddd40","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898544640001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400268545142816768,"note":"Value kept but may cause issues"} 
[2026-09-06 09:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5813654564800993280,"note":"Value kept but may cause issues"} 
[2026-09-06 09:14: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-09-06 09:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788666211000,"timestamp_ms":1788666211000,"timestamp_seconds":1788666211,"priority":1,"record_length":96,"hex_timestamp":"000001a074d06ab8"} 
[2026-09-06 09:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:14: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-09-06 09: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 09:14:25] 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-09-06 09: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-09-06 09:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:14: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-09-06 09:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898544640001,"66":27789,"53":206,"78":62464,"24":9,"16":400268545142816768,"45":5813654564800993280},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-09-06 09:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898544640001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:14:25] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-06 09:14:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400268545142816768,"km_value":400268545142816.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5813654564800993280,"description":"Unknown IO ID 45"} 
[2026-09-06 09:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898544640001,"power":27789,"unknown_53":206,"unknown_78":62464,"ignition":9,"odometer":null,"unknown_45":5813654564800993280}} 
[2026-09-06 09:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":175048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:14:25] local.INFO: GPS data processed {"connection_id":175048,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:14:25] local.INFO: Acknowledgment sent {"connection_id":175048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:14:46] local.INFO: TCP Data received {"connection_id":173731,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d03020012d18b18007246b480029015725..."} 
[2026-09-06 09:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d03020012d18b18007246b480029015725..."} 
[2026-09-06 09:14:46] local.INFO: Processing buffer {"connection_id":173731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d03020012d18b18007246b480029015725..."} 
[2026-09-06 09:14:46] local.INFO: Packet analysis {"connection_id":173731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d0"} 
[2026-09-06 09:14:46] local.INFO: Extracted packet for processing {"connection_id":173731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d0"} 
[2026-09-06 09:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898540800001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788666196000,"timestamp_ms":1788666196000,"timestamp_seconds":1788666196,"priority":1,"record_length":96,"hex_timestamp":"000001a074d03020"} 
[2026-09-06 09:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:14:46] 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-09-06 09:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 09:14:46] 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-09-06 09:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898540800001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898540800001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:14:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898540800001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":173731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:14:46] local.INFO: GPS data processed {"connection_id":173731,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:14:46] local.INFO: Acknowledgment sent {"connection_id":173731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:14:58] local.INFO: TCP Data received {"connection_id":172586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:14:58] local.INFO: Processing buffer {"connection_id":172586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:14:58] local.INFO: IMEI packet received {"connection_id":172586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":172586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:15:06] local.INFO: TCP Data received {"connection_id":172586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:15:06] local.INFO: Processing buffer {"connection_id":172586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:15:06] local.INFO: IMEI packet received {"connection_id":172586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":172586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:15:07] local.INFO: TCP Data received {"connection_id":172586,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d09998012d509fc0064de6b80008015e2b..."} 
[2026-09-06 09:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d09998012d509fc0064de6b80008015e2b..."} 
[2026-09-06 09:15:07] local.INFO: Processing buffer {"connection_id":172586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d09998012d509fc0064de6b80008015e2b..."} 
[2026-09-06 09:15:07] local.INFO: Packet analysis {"connection_id":172586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d0"} 
[2026-09-06 09:15:07] local.INFO: Extracted packet for processing {"connection_id":172586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d0"} 
[2026-09-06 09:15:07] local.INFO: GPS Element Parsed {"raw_longitude":760258496,"raw_latitude":105768632,"longitude_deg":76.0258496,"latitude_deg":10.5768632,"altitude":8,"angle":350,"satellites":43,"speed":6,"hex_longitude":"2d509fc0","hex_latitude":"064de6b8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898550016001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400268673991835648,"note":"Value kept but may cause issues"} 
[2026-09-06 09:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810769446290931712,"note":"Value kept but may cause issues"} 
[2026-09-06 09:15:07] 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-09-06 09:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788666223000,"timestamp_ms":1788666223000,"timestamp_seconds":1788666223,"priority":1,"record_length":96,"hex_timestamp":"000001a074d09998"} 
[2026-09-06 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-09-06 09:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-06 09:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 09:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898550016001,"66":27767,"53":206,"78":62464,"24":6,"16":400268673991835648,"45":5810769446290931712},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-09-06 09:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898550016001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:15:07] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-06 09:15:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400268673991835648,"km_value":400268673991835.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810769446290931712,"description":"Unknown IO ID 45"} 
[2026-09-06 09:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898550016001,"power":27767,"unknown_53":206,"unknown_78":62464,"ignition":6,"odometer":null,"unknown_45":5810769446290931712}} 
[2026-09-06 09:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":172586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:15:07] local.INFO: GPS data processed {"connection_id":172586,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:15:07] local.INFO: Acknowledgment sent {"connection_id":172586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:15:09] local.INFO: TCP Data received {"connection_id":173732,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:15:09] local.INFO: Processing buffer {"connection_id":173732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:15:09] local.INFO: IMEI packet received {"connection_id":173732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":173732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:15:15] local.INFO: TCP Data received {"connection_id":173732,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:15:15] local.INFO: Processing buffer {"connection_id":173732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:15:15] local.INFO: IMEI packet received {"connection_id":173732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":173732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:15:15] local.INFO: TCP Data received {"connection_id":173732,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d08228012d18b18007246b480029015724..."} 
[2026-09-06 09:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d08228012d18b18007246b480029015724..."} 
[2026-09-06 09:15:15] local.INFO: Processing buffer {"connection_id":173732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d08228012d18b18007246b480029015724..."} 
[2026-09-06 09:15:15] local.INFO: Packet analysis {"connection_id":173732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d0"} 
[2026-09-06 09:15:15] local.INFO: Extracted packet for processing {"connection_id":173732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d0"} 
[2026-09-06 09:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898546176001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788666217000,"timestamp_ms":1788666217000,"timestamp_seconds":1788666217,"priority":1,"record_length":96,"hex_timestamp":"000001a074d08228"} 
[2026-09-06 09:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:15:15] 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-09-06 09:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:15:15] 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-09-06 09:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898546176001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898546176001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:15:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898546176001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":173732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:15:15] local.INFO: GPS data processed {"connection_id":173732,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:15:15] local.INFO: Acknowledgment sent {"connection_id":173732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:15:42] local.INFO: TCP Data received {"connection_id":172354,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:15:42] local.INFO: Processing buffer {"connection_id":172354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:15:42] local.INFO: IMEI packet received {"connection_id":172354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":172354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:15:46] local.INFO: TCP Data received {"connection_id":173732,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d0d430012d18b18007246b480029015725..."} 
[2026-09-06 09:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d0d430012d18b18007246b480029015725..."} 
[2026-09-06 09:15:46] local.INFO: Processing buffer {"connection_id":173732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d0d430012d18b18007246b480029015725..."} 
[2026-09-06 09:15:46] local.INFO: Packet analysis {"connection_id":173732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d0"} 
[2026-09-06 09:15:46] local.INFO: Extracted packet for processing {"connection_id":173732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d0"} 
[2026-09-06 09:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898551552001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788666238000,"timestamp_ms":1788666238000,"timestamp_seconds":1788666238,"priority":1,"record_length":96,"hex_timestamp":"000001a074d0d430"} 
[2026-09-06 09:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:15:46] 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-09-06 09:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 09:15:46] 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-09-06 09:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898551552001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898551552001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:15:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898551552001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":173732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:15:46] local.INFO: GPS data processed {"connection_id":173732,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:15:46] local.INFO: Acknowledgment sent {"connection_id":173732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:15:47] local.INFO: TCP Data received {"connection_id":172354,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:15:47] local.INFO: Processing buffer {"connection_id":172354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:15:47] local.INFO: IMEI packet received {"connection_id":172354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":172354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:15:48] local.INFO: TCP Data received {"connection_id":172354,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a074cd3280012d7c208005db07100000015e22..."} 
[2026-09-06 09:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cd3280012d7c208005db07100000015e22..."} 
[2026-09-06 09:15:48] local.INFO: Processing buffer {"connection_id":172354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cd3280012d7c208005db07100000015e22..."} 
[2026-09-06 09:15:48] local.INFO: Packet analysis {"connection_id":172354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:15:48] local.INFO: Extracted packet for processing {"connection_id":172354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:15:48] local.INFO: GPS Element Parsed {"raw_longitude":763109504,"raw_latitude":98240272,"longitude_deg":76.3109504,"latitude_deg":9.8240272,"altitude":0,"angle":350,"satellites":34,"speed":31,"hex_longitude":"2d7c2080","hex_latitude":"05db0710","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898494720001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128849877873459200,"note":"Value kept but may cause issues"} 
[2026-09-06 09:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945204416269131776,"note":"Value kept but may cause issues"} 
[2026-09-06 09:15:48] 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-09-06 09:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788666000000,"timestamp_ms":1788666000000,"timestamp_seconds":1788666000,"priority":1,"record_length":96,"hex_timestamp":"000001a074cd3280"} 
[2026-09-06 09:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:15: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-09-06 09: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-06 09:15:48] 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-09-06 09: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-09-06 09:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":172354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":172354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":172354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:15: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-09-06 09:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898494720001,"66":13678,"187":206,"85":15104,"24":31,"16":128849877873459200,"45":8945204416269131776},"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-09-06 09:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898494720001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:15:48] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 09:15:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128849877873459200,"km_value":128849877873459.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945204416269131776,"description":"Unknown IO ID 45"} 
[2026-09-06 09:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898494720001,"power":13678,"unknown_187":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8945204416269131776}} 
[2026-09-06 09:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":172354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:15:48] local.INFO: GPS data processed {"connection_id":172354,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:15:48] local.INFO: Acknowledgment sent {"connection_id":172354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:15:48] local.INFO: TCP Data received {"connection_id":173733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:15:48] local.INFO: Processing buffer {"connection_id":173733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:15:48] local.INFO: IMEI packet received {"connection_id":173733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":173733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:15:55] local.INFO: TCP Data received {"connection_id":173733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:15:55] local.INFO: Processing buffer {"connection_id":173733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:15:55] local.INFO: IMEI packet received {"connection_id":173733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":173733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:15:56] local.INFO: TCP Data received {"connection_id":173733,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d09d80012d509fc0064de748000801502b..."} 
[2026-09-06 09:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d09d80012d509fc0064de748000801502b..."} 
[2026-09-06 09:15:56] local.INFO: Processing buffer {"connection_id":173733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d09d80012d509fc0064de748000801502b..."} 
[2026-09-06 09:15:56] local.INFO: Packet analysis {"connection_id":173733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d0"} 
[2026-09-06 09:15:56] local.INFO: Extracted packet for processing {"connection_id":173733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d0"} 
[2026-09-06 09:15:56] local.INFO: GPS Element Parsed {"raw_longitude":760258496,"raw_latitude":105768776,"longitude_deg":76.0258496,"latitude_deg":10.5768776,"altitude":8,"angle":336,"satellites":43,"speed":6,"hex_longitude":"2d509fc0","hex_latitude":"064de748","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898553088001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400268682581770240,"note":"Value kept but may cause issues"} 
[2026-09-06 09:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5809573177640531968,"note":"Value kept but may cause issues"} 
[2026-09-06 09:15:56] 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-09-06 09:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788666224000,"timestamp_ms":1788666224000,"timestamp_seconds":1788666224,"priority":1,"record_length":96,"hex_timestamp":"000001a074d09d80"} 
[2026-09-06 09:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:15: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-09-06 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898553088001,"66":27767,"53":206,"78":62464,"24":6,"16":400268682581770240,"45":5809573177640531968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-09-06 09:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898553088001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:15:56] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-06 09:15:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400268682581770240,"km_value":400268682581770.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5809573177640531968,"description":"Unknown IO ID 45"} 
[2026-09-06 09:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898553088001,"power":27767,"unknown_53":206,"unknown_78":62464,"ignition":6,"odometer":null,"unknown_45":5809573177640531968}} 
[2026-09-06 09:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":173733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:15:56] local.INFO: GPS data processed {"connection_id":173733,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:15:56] local.INFO: Acknowledgment sent {"connection_id":173733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:16:14] local.INFO: TCP Data received {"connection_id":172587,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:16:14] local.INFO: Processing buffer {"connection_id":172587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:16:14] local.INFO: IMEI packet received {"connection_id":172587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":172587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:16:17] local.INFO: TCP Data received {"connection_id":172588,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:16:17] local.INFO: Processing buffer {"connection_id":172588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:16:17] local.INFO: IMEI packet received {"connection_id":172588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":172588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:16:19] local.INFO: TCP Data received {"connection_id":172587,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:16:19] local.INFO: Processing buffer {"connection_id":172587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:16:19] local.INFO: IMEI packet received {"connection_id":172587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":172587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:16:20] local.INFO: TCP Data received {"connection_id":172587,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d12638012d18b18007246b480029015722..."} 
[2026-09-06 09:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d12638012d18b18007246b480029015722..."} 
[2026-09-06 09:16:20] local.INFO: Processing buffer {"connection_id":172587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d12638012d18b18007246b480029015722..."} 
[2026-09-06 09:16:20] local.INFO: Packet analysis {"connection_id":172587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d1"} 
[2026-09-06 09:16:20] local.INFO: Extracted packet for processing {"connection_id":172587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d1"} 
[2026-09-06 09:16:20] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898556928001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788666259000,"timestamp_ms":1788666259000,"timestamp_seconds":1788666259,"priority":1,"record_length":96,"hex_timestamp":"000001a074d12638"} 
[2026-09-06 09:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:16:20] 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-09-06 09:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:16:20] 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-09-06 09:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898556928001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898556928001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:16:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:16:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898556928001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":172587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:16:20] local.INFO: GPS data processed {"connection_id":172587,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:16:20] local.INFO: Acknowledgment sent {"connection_id":172587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:16:21] local.INFO: TCP Data received {"connection_id":172587,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d17840012d18b18007246b480029015726..."} 
[2026-09-06 09:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d17840012d18b18007246b480029015726..."} 
[2026-09-06 09:16:21] local.INFO: Processing buffer {"connection_id":172587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d17840012d18b18007246b480029015726..."} 
[2026-09-06 09:16:21] local.INFO: Packet analysis {"connection_id":172587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d1"} 
[2026-09-06 09:16:21] local.INFO: Extracted packet for processing {"connection_id":172587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d1"} 
[2026-09-06 09:16:21] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898562304001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788666280000,"timestamp_ms":1788666280000,"timestamp_seconds":1788666280,"priority":1,"record_length":96,"hex_timestamp":"000001a074d17840"} 
[2026-09-06 09:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:16:21] 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-09-06 09: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 09:16:21] 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-09-06 09: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-09-06 09:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898562304001,"66":12189,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898562304001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:16:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:16:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898562304001,"power":12189,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":172587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:16:22] local.INFO: GPS data processed {"connection_id":172587,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:16:22] local.INFO: Acknowledgment sent {"connection_id":172587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:16:22] local.INFO: TCP Data received {"connection_id":172588,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:16:22] local.INFO: Processing buffer {"connection_id":172588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:16:22] local.INFO: IMEI packet received {"connection_id":172588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":172588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:16:23] local.INFO: TCP Data received {"connection_id":172588,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074cd5990012d7c174005db2a880000015b20..."} 
[2026-09-06 09:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cd5990012d7c174005db2a880000015b20..."} 
[2026-09-06 09:16:23] local.INFO: Processing buffer {"connection_id":172588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cd5990012d7c174005db2a880000015b20..."} 
[2026-09-06 09:16:23] local.INFO: Packet analysis {"connection_id":172588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:16:23] local.INFO: Extracted packet for processing {"connection_id":172588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:16:23] local.INFO: GPS Element Parsed {"raw_longitude":763107136,"raw_latitude":98249352,"longitude_deg":76.3107136,"latitude_deg":9.8249352,"altitude":0,"angle":347,"satellites":32,"speed":39,"hex_longitude":"2d7c1740","hex_latitude":"05db2a88","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898496000001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128850333139992576,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944289622595670016,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:23] 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-09-06 09:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788666010000,"timestamp_ms":1788666010000,"timestamp_seconds":1788666010,"priority":1,"record_length":96,"hex_timestamp":"000001a074cd5990"} 
[2026-09-06 09:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:16: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-09-06 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 09:16:23] 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-09-06 09: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-09-06 09:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:16:23] 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-09-06 09:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898496000001,"66":13656,"187":206,"85":15104,"24":39,"16":128850333139992576,"45":8944289622595670016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 09:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898496000001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:16:23] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 09:16:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128850333139992576,"km_value":128850333139992.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944289622595670016,"description":"Unknown IO ID 45"} 
[2026-09-06 09:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898496000001,"power":13656,"unknown_187":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8944289622595670016}} 
[2026-09-06 09:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":172588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:16:23] local.INFO: GPS data processed {"connection_id":172588,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:16:23] local.INFO: Acknowledgment sent {"connection_id":172588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:16:28] local.INFO: TCP Data received {"connection_id":173733,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d0ef88012d509840064df7d0000701532a..."} 
[2026-09-06 09:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d0ef88012d509840064df7d0000701532a..."} 
[2026-09-06 09:16:28] local.INFO: Processing buffer {"connection_id":173733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d0ef88012d509840064df7d0000701532a..."} 
[2026-09-06 09:16:28] local.INFO: Packet analysis {"connection_id":173733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d0"} 
[2026-09-06 09:16:28] local.INFO: Extracted packet for processing {"connection_id":173733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d0"} 
[2026-09-06 09:16:28] local.INFO: GPS Element Parsed {"raw_longitude":760256576,"raw_latitude":105773008,"longitude_deg":76.0256576,"latitude_deg":10.5773008,"altitude":7,"angle":339,"satellites":42,"speed":11,"hex_longitude":"2d509840","hex_latitude":"064df7d0","is_valid_coordinates":true} 
[2026-09-06 09:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898553344001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400268910215036928,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5809573177640568832,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:28] 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-09-06 09:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788666245000,"timestamp_ms":1788666245000,"timestamp_seconds":1788666245,"priority":1,"record_length":96,"hex_timestamp":"000001a074d0ef88"} 
[2026-09-06 09:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:16:28] 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-09-06 09:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898553344001,"66":27800,"53":206,"78":62464,"24":11,"16":400268910215036928,"45":5809573177640568832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-09-06 09:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898553344001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:16:28] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-06 09:16:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400268910215036928,"km_value":400268910215036.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5809573177640568832,"description":"Unknown IO ID 45"} 
[2026-09-06 09:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898553344001,"power":27800,"unknown_53":206,"unknown_78":62464,"ignition":11,"odometer":null,"unknown_45":5809573177640568832}} 
[2026-09-06 09:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":173733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:16:28] local.INFO: GPS data processed {"connection_id":173733,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:16:28] local.INFO: Acknowledgment sent {"connection_id":173733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:16:48] local.INFO: TCP Data received {"connection_id":172355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:16:48] local.INFO: Processing buffer {"connection_id":172355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:16:48] local.INFO: IMEI packet received {"connection_id":172355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":172355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:16:52] local.INFO: TCP Data received {"connection_id":172587,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d1ca48012d18b18007246b480029015726..."} 
[2026-09-06 09:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d1ca48012d18b18007246b480029015726..."} 
[2026-09-06 09:16:52] local.INFO: Processing buffer {"connection_id":172587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d1ca48012d18b18007246b480029015726..."} 
[2026-09-06 09:16:52] local.INFO: Packet analysis {"connection_id":172587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d1"} 
[2026-09-06 09:16:52] local.INFO: Extracted packet for processing {"connection_id":172587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d1"} 
[2026-09-06 09:16:52] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898567680001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788666301000,"timestamp_ms":1788666301000,"timestamp_seconds":1788666301,"priority":1,"record_length":96,"hex_timestamp":"000001a074d1ca48"} 
[2026-09-06 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-09-06 09:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-06 09:16:52] 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-09-06 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-09-06 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-09-06 09:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898567680001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898567680001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:16:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:16:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898567680001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":172587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:16:52] local.INFO: GPS data processed {"connection_id":172587,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:16:52] local.INFO: Acknowledgment sent {"connection_id":172587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:16:53] local.INFO: TCP Data received {"connection_id":172355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:16:53] local.INFO: Processing buffer {"connection_id":172355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:16:53] local.INFO: IMEI packet received {"connection_id":172355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":172355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:16:54] local.INFO: TCP Data received {"connection_id":172588,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074cd7cb8012d7c0ec005db4278000001491e..."} 
[2026-09-06 09:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cd7cb8012d7c0ec005db4278000001491e..."} 
[2026-09-06 09:16:54] local.INFO: Processing buffer {"connection_id":172588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cd7cb8012d7c0ec005db4278000001491e..."} 
[2026-09-06 09:16:54] local.INFO: Packet analysis {"connection_id":172588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:16:54] local.INFO: Extracted packet for processing {"connection_id":172588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:16:54] local.INFO: GPS Element Parsed {"raw_longitude":763104960,"raw_latitude":98255480,"longitude_deg":76.310496,"latitude_deg":9.825548,"altitude":0,"angle":329,"satellites":30,"speed":13,"hex_longitude":"2d7c0ec0","hex_latitude":"05db4278","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898498560001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128850646672605184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941685979063420928,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:54] 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-09-06 09:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788666019000,"timestamp_ms":1788666019000,"timestamp_seconds":1788666019,"priority":1,"record_length":96,"hex_timestamp":"000001a074cd7cb8"} 
[2026-09-06 09:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 09:16:54] 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-09-06 09: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-09-06 09:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:16:54] 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-09-06 09:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898498560001,"66":13646,"186":206,"85":15104,"24":13,"16":128850646672605184,"45":8941685979063420928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-09-06 09:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898498560001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:16:54] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 09:16:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128850646672605184,"km_value":128850646672605.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941685979063420928,"description":"Unknown IO ID 45"} 
[2026-09-06 09:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898498560001,"power":13646,"unknown_186":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8941685979063420928}} 
[2026-09-06 09:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":172588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:16:54] local.INFO: GPS data processed {"connection_id":172588,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:16:54] local.INFO: Acknowledgment sent {"connection_id":172588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:16:54] local.INFO: TCP Data received {"connection_id":172355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d14190012d509480064e02a0000a01542a..."} 
[2026-09-06 09:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d14190012d509480064e02a0000a01542a..."} 
[2026-09-06 09:16:54] local.INFO: Processing buffer {"connection_id":172355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d14190012d509480064e02a0000a01542a..."} 
[2026-09-06 09:16:54] local.INFO: Packet analysis {"connection_id":172355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d1"} 
[2026-09-06 09:16:54] local.INFO: Extracted packet for processing {"connection_id":172355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d1"} 
[2026-09-06 09:16:54] local.INFO: GPS Element Parsed {"raw_longitude":760255616,"raw_latitude":105775776,"longitude_deg":76.0255616,"latitude_deg":10.5775776,"altitude":10,"angle":340,"satellites":42,"speed":3,"hex_longitude":"2d509480","hex_latitude":"064e02a0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898558720001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400269056243924992,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5807462115316322304,"note":"Value kept but may cause issues"} 
[2026-09-06 09:16: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-09-06 09:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788666266000,"timestamp_ms":1788666266000,"timestamp_seconds":1788666266,"priority":1,"record_length":96,"hex_timestamp":"000001a074d14190"} 
[2026-09-06 09:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:16: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-09-06 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 09:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:16: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-09-06 09:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898558720001,"66":27745,"53":206,"78":62464,"24":3,"16":400269056243924992,"45":5807462115316322304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-09-06 09:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898558720001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:16:54] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-06 09:16:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400269056243924992,"km_value":400269056243925.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5807462115316322304,"description":"Unknown IO ID 45"} 
[2026-09-06 09:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898558720001,"power":27745,"unknown_53":206,"unknown_78":62464,"ignition":3,"odometer":null,"unknown_45":5807462115316322304}} 
[2026-09-06 09:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":172355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:16:54] local.INFO: GPS data processed {"connection_id":172355,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:16:54] local.INFO: Acknowledgment sent {"connection_id":172355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:17:09] local.INFO: TCP Data received {"connection_id":175049,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:17:09] local.INFO: Processing buffer {"connection_id":175049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:17:09] local.INFO: IMEI packet received {"connection_id":175049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":175049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:17:14] local.INFO: TCP Data received {"connection_id":175049,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:17:14] local.INFO: Processing buffer {"connection_id":175049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:17:14] local.INFO: IMEI packet received {"connection_id":175049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":175049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:17:15] local.INFO: TCP Data received {"connection_id":175049,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d21c50012d18b18007246b480029015726..."} 
[2026-09-06 09:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d21c50012d18b18007246b480029015726..."} 
[2026-09-06 09:17:15] local.INFO: Processing buffer {"connection_id":175049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d21c50012d18b18007246b480029015726..."} 
[2026-09-06 09:17:15] local.INFO: Packet analysis {"connection_id":175049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d2"} 
[2026-09-06 09:17:15] local.INFO: Extracted packet for processing {"connection_id":175049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d2"} 
[2026-09-06 09:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898573056001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788666322000,"timestamp_ms":1788666322000,"timestamp_seconds":1788666322,"priority":1,"record_length":96,"hex_timestamp":"000001a074d21c50"} 
[2026-09-06 09:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:17:15] 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-09-06 09:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:17:15] 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-09-06 09:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898573056001,"66":12254,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898573056001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:17:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:17:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898573056001,"power":12254,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":175049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:17:15] local.INFO: GPS data processed {"connection_id":175049,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:17:15] local.INFO: Acknowledgment sent {"connection_id":175049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:17:16] local.INFO: TCP Data received {"connection_id":172356,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:17:16] local.INFO: Processing buffer {"connection_id":172356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:17:16] local.INFO: IMEI packet received {"connection_id":172356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":172356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:17:20] local.INFO: TCP Data received {"connection_id":175049,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d26e58012d18b18007246b480029015723..."} 
[2026-09-06 09:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d26e58012d18b18007246b480029015723..."} 
[2026-09-06 09:17:20] local.INFO: Processing buffer {"connection_id":175049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d26e58012d18b18007246b480029015723..."} 
[2026-09-06 09:17:20] local.INFO: Packet analysis {"connection_id":175049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d2"} 
[2026-09-06 09:17:20] local.INFO: Extracted packet for processing {"connection_id":175049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d2"} 
[2026-09-06 09:17:20] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898578432001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788666343000,"timestamp_ms":1788666343000,"timestamp_seconds":1788666343,"priority":1,"record_length":96,"hex_timestamp":"000001a074d26e58"} 
[2026-09-06 09:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:17:20] 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-09-06 09:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-06 09:17:20] 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-09-06 09:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898578432001,"66":11754,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898578432001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:17:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:17:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898578432001,"power":11754,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":175049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:17:20] local.INFO: GPS data processed {"connection_id":175049,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:17:20] local.INFO: Acknowledgment sent {"connection_id":175049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:17:22] local.INFO: TCP Data received {"connection_id":172356,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:17:22] local.INFO: Processing buffer {"connection_id":172356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:17:22] local.INFO: IMEI packet received {"connection_id":172356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":172356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:17:23] local.INFO: TCP Data received {"connection_id":172356,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074cdb368012d7c0c8005db45b00000000220..."} 
[2026-09-06 09:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cdb368012d7c0c8005db45b00000000220..."} 
[2026-09-06 09:17:23] local.INFO: Processing buffer {"connection_id":172356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cdb368012d7c0c8005db45b00000000220..."} 
[2026-09-06 09:17:23] local.INFO: Packet analysis {"connection_id":172356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:17:23] local.INFO: Extracted packet for processing {"connection_id":172356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:17:23] local.INFO: GPS Element Parsed {"raw_longitude":763104384,"raw_latitude":98256304,"longitude_deg":76.3104384,"latitude_deg":9.8256304,"altitude":0,"angle":2,"satellites":32,"speed":4,"hex_longitude":"2d7c0c80","hex_latitude":"05db45b0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898500864001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128850698212212736,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939293441762949120,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:23] 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-09-06 09:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788666033000,"timestamp_ms":1788666033000,"timestamp_seconds":1788666033,"priority":1,"record_length":96,"hex_timestamp":"000001a074cdb368"} 
[2026-09-06 09:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:17: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-09-06 09:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 09:17:23] 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-09-06 09: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-09-06 09:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:17: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-09-06 09:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898500864001,"66":13906,"186":206,"85":15104,"24":4,"16":128850698212212736,"45":8939293441762949120},"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-09-06 09:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898500864001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:17:23] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 09:17:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128850698212212736,"km_value":128850698212212.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939293441762949120,"description":"Unknown IO ID 45"} 
[2026-09-06 09:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898500864001,"power":13906,"unknown_186":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8939293441762949120}} 
[2026-09-06 09:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":172356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:17:23] local.INFO: GPS data processed {"connection_id":172356,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:17:23] local.INFO: Acknowledgment sent {"connection_id":172356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:17:25] local.INFO: TCP Data received {"connection_id":172355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d2faf8012d502fc0064e7060000b00f129..."} 
[2026-09-06 09:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d2faf8012d502fc0064e7060000b00f129..."} 
[2026-09-06 09:17:25] local.INFO: Processing buffer {"connection_id":172355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d2faf8012d502fc0064e7060000b00f129..."} 
[2026-09-06 09:17:25] local.INFO: Packet analysis {"connection_id":172355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d2"} 
[2026-09-06 09:17:25] local.INFO: Extracted packet for processing {"connection_id":172355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d2"} 
[2026-09-06 09:17:25] local.INFO: GPS Element Parsed {"raw_longitude":760229824,"raw_latitude":105803872,"longitude_deg":76.0229824,"latitude_deg":10.5803872,"altitude":11,"angle":241,"satellites":41,"speed":18,"hex_longitude":"2d502fc0","hex_latitude":"064e7060","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898592768001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400270950324502528,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5778540561467242496,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:25] 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-09-06 09:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788666379000,"timestamp_ms":1788666379000,"timestamp_seconds":1788666379,"priority":1,"record_length":96,"hex_timestamp":"000001a074d2faf8"} 
[2026-09-06 09:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:17: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-09-06 09: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 09:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:17: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-09-06 09:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898592768001,"66":27821,"7":206,"78":62464,"24":18,"16":400270950324502528,"45":5778540561467242496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-09-06 09:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898592768001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:17:25] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-06 09:17:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400270950324502528,"km_value":400270950324502.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5778540561467242496,"description":"Unknown IO ID 45"} 
[2026-09-06 09:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898592768001,"power":27821,"unknown_7":206,"unknown_78":62464,"ignition":18,"odometer":null,"unknown_45":5778540561467242496}} 
[2026-09-06 09:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":172355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:17:25] local.INFO: GPS data processed {"connection_id":172355,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:17:25] local.INFO: Acknowledgment sent {"connection_id":172355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:17:51] local.INFO: TCP Data received {"connection_id":175049,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d2c060012d18b18007246b480029015725..."} 
[2026-09-06 09:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d2c060012d18b18007246b480029015725..."} 
[2026-09-06 09:17:51] local.INFO: Processing buffer {"connection_id":175049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d2c060012d18b18007246b480029015725..."} 
[2026-09-06 09:17:51] local.INFO: Packet analysis {"connection_id":175049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d2"} 
[2026-09-06 09:17:51] local.INFO: Extracted packet for processing {"connection_id":175049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d2"} 
[2026-09-06 09:17:51] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898583808001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788666364000,"timestamp_ms":1788666364000,"timestamp_seconds":1788666364,"priority":1,"record_length":96,"hex_timestamp":"000001a074d2c060"} 
[2026-09-06 09:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-06 09:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2529,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898583808001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898583808001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:17:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:17:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898583808001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":175049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:17:51] local.INFO: GPS data processed {"connection_id":175049,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:17:51] local.INFO: Acknowledgment sent {"connection_id":175049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:17:53] local.INFO: TCP Data received {"connection_id":175050,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:17:53] local.INFO: Processing buffer {"connection_id":175050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:17:53] local.INFO: IMEI packet received {"connection_id":175050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":175050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:17:54] local.INFO: TCP Data received {"connection_id":172356,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074cdd2a8012d7c0a8005db53080000015e21..."} 
[2026-09-06 09:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074cdd2a8012d7c0a8005db53080000015e21..."} 
[2026-09-06 09:17:54] local.INFO: Processing buffer {"connection_id":172356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074cdd2a8012d7c0a8005db53080000015e21..."} 
[2026-09-06 09:17:54] local.INFO: Packet analysis {"connection_id":172356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:17:54] local.INFO: Extracted packet for processing {"connection_id":172356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074cd"} 
[2026-09-06 09:17:54] local.INFO: GPS Element Parsed {"raw_longitude":763103872,"raw_latitude":98259720,"longitude_deg":76.3103872,"latitude_deg":9.825972,"altitude":0,"angle":350,"satellites":33,"speed":20,"hex_longitude":"2d7c0a80","hex_latitude":"05db5308","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898504448001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128850865715937280,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938660123065561088,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:54] 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-09-06 09:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788666041000,"timestamp_ms":1788666041000,"timestamp_seconds":1788666041,"priority":1,"record_length":96,"hex_timestamp":"000001a074cdd2a8"} 
[2026-09-06 09:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-06 09:17:54] 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-09-06 09: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-09-06 09:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:17:54] 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-09-06 09:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898504448001,"66":13896,"186":206,"85":15104,"24":20,"16":128850865715937280,"45":8938660123065561088},"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-09-06 09:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898504448001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:17:54] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 09:17:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128850865715937280,"km_value":128850865715937.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938660123065561088,"description":"Unknown IO ID 45"} 
[2026-09-06 09:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898504448001,"power":13896,"unknown_186":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8938660123065561088}} 
[2026-09-06 09:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":172356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:17:54] local.INFO: GPS data processed {"connection_id":172356,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:17:54] local.INFO: Acknowledgment sent {"connection_id":172356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:17:56] local.INFO: TCP Data received {"connection_id":175050,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:17:56] local.INFO: Processing buffer {"connection_id":175050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:17:56] local.INFO: IMEI packet received {"connection_id":175050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":175050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:17:57] local.INFO: TCP Data received {"connection_id":175050,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d31a38012d502100064e66f8000b00e52b..."} 
[2026-09-06 09:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d31a38012d502100064e66f8000b00e52b..."} 
[2026-09-06 09:17:57] local.INFO: Processing buffer {"connection_id":175050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d31a38012d502100064e66f8000b00e52b..."} 
[2026-09-06 09:17:57] local.INFO: Packet analysis {"connection_id":175050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d3"} 
[2026-09-06 09:17:57] local.INFO: Extracted packet for processing {"connection_id":175050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d3"} 
[2026-09-06 09:17:57] local.INFO: GPS Element Parsed {"raw_longitude":760226048,"raw_latitude":105801464,"longitude_deg":76.0226048,"latitude_deg":10.5801464,"altitude":11,"angle":229,"satellites":43,"speed":24,"hex_longitude":"2d502100","hex_latitude":"064e66f8","is_valid_coordinates":true} 
[2026-09-06 09:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898593024001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400271160777900032,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5778047980257959936,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:57] 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-09-06 09:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788666387000,"timestamp_ms":1788666387000,"timestamp_seconds":1788666387,"priority":1,"record_length":96,"hex_timestamp":"000001a074d31a38"} 
[2026-09-06 09:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:17: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-09-06 09:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 09:17:57] 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-09-06 09:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:17: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-09-06 09:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898593024001,"66":27767,"7":206,"78":62464,"24":24,"16":400271160777900032,"45":5778047980257959936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-09-06 09:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898593024001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:17:57] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-06 09:17:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400271160777900032,"km_value":400271160777900.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5778047980257959936,"description":"Unknown IO ID 45"} 
[2026-09-06 09:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898593024001,"power":27767,"unknown_7":206,"unknown_78":62464,"ignition":24,"odometer":null,"unknown_45":5778047980257959936}} 
[2026-09-06 09:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":175050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:17:57] local.INFO: GPS data processed {"connection_id":175050,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:17:57] local.INFO: Acknowledgment sent {"connection_id":175050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:17:59] local.INFO: TCP Data received {"connection_id":175050,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d350e8012d500480064e5200000f00e62c..."} 
[2026-09-06 09:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d350e8012d500480064e5200000f00e62c..."} 
[2026-09-06 09:17:59] local.INFO: Processing buffer {"connection_id":175050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d350e8012d500480064e5200000f00e62c..."} 
[2026-09-06 09:17:59] local.INFO: Packet analysis {"connection_id":175050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d3"} 
[2026-09-06 09:17:59] local.INFO: Extracted packet for processing {"connection_id":175050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d3"} 
[2026-09-06 09:17:59] local.INFO: GPS Element Parsed {"raw_longitude":760218752,"raw_latitude":105796096,"longitude_deg":76.0218752,"latitude_deg":10.5796096,"altitude":15,"angle":230,"satellites":44,"speed":22,"hex_longitude":"2d500480","hex_latitude":"064e5200","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898595072001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400271598864564224,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5773896224350861312,"note":"Value kept but may cause issues"} 
[2026-09-06 09:17:59] 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-09-06 09:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788666401000,"timestamp_ms":1788666401000,"timestamp_seconds":1788666401,"priority":1,"record_length":96,"hex_timestamp":"000001a074d350e8"} 
[2026-09-06 09:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:17: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-09-06 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:17:59] 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-09-06 09: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-09-06 09:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898595072001,"66":27593,"7":206,"78":62464,"24":22,"16":400271598864564224,"45":5773896224350861312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-09-06 09:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898595072001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:17:59] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-06 09:17:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400271598864564224,"km_value":400271598864564.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5773896224350861312,"description":"Unknown IO ID 45"} 
[2026-09-06 09:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898595072001,"power":27593,"unknown_7":206,"unknown_78":62464,"ignition":22,"odometer":null,"unknown_45":5773896224350861312}} 
[2026-09-06 09:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":175050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:17:59] local.INFO: GPS data processed {"connection_id":175050,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:17:59] local.INFO: Acknowledgment sent {"connection_id":175050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:18:06] local.INFO: TCP Data received {"connection_id":175051,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:18:06] local.INFO: Processing buffer {"connection_id":175051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:18:06] local.INFO: IMEI packet received {"connection_id":175051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":175051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:18:09] local.INFO: TCP Data received {"connection_id":175051,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:18:09] local.INFO: Processing buffer {"connection_id":175051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:18:09] local.INFO: IMEI packet received {"connection_id":175051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":175051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:18:14] local.INFO: TCP Data received {"connection_id":175051,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:18:14] local.INFO: Processing buffer {"connection_id":175051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:18:14] local.INFO: IMEI packet received {"connection_id":175051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":175051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:18:15] local.INFO: TCP Data received {"connection_id":175051,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d31268012d18b18007246b480029015725..."} 
[2026-09-06 09:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d31268012d18b18007246b480029015725..."} 
[2026-09-06 09:18:15] local.INFO: Processing buffer {"connection_id":175051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d31268012d18b18007246b480029015725..."} 
[2026-09-06 09:18:15] local.INFO: Packet analysis {"connection_id":175051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d3"} 
[2026-09-06 09:18:15] local.INFO: Extracted packet for processing {"connection_id":175051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d3"} 
[2026-09-06 09:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898589184001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788666385000,"timestamp_ms":1788666385000,"timestamp_seconds":1788666385,"priority":1,"record_length":96,"hex_timestamp":"000001a074d31268"} 
[2026-09-06 09:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:18:15] 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-09-06 09:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:18:15] 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-09-06 09:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898589184001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898589184001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:18:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:18:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898589184001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":175051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:18:15] local.INFO: GPS data processed {"connection_id":175051,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:18:15] local.INFO: Acknowledgment sent {"connection_id":175051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:18:22] local.INFO: TCP Data received {"connection_id":172589,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:18:22] local.INFO: Processing buffer {"connection_id":172589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:18:22] local.INFO: IMEI packet received {"connection_id":172589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":172589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:18:27] local.INFO: TCP Data received {"connection_id":172589,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:18:27] local.INFO: Processing buffer {"connection_id":172589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:18:27] local.INFO: IMEI packet received {"connection_id":172589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":172589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:18:28] local.INFO: TCP Data received {"connection_id":172589,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074ce0188012d7c04c005db67280000015020..."} 
[2026-09-06 09:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ce0188012d7c04c005db67280000015020..."} 
[2026-09-06 09:18:28] local.INFO: Processing buffer {"connection_id":172589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ce0188012d7c04c005db67280000015020..."} 
[2026-09-06 09:18:28] local.INFO: Packet analysis {"connection_id":172589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ce"} 
[2026-09-06 09:18:28] local.INFO: Extracted packet for processing {"connection_id":172589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ce"} 
[2026-09-06 09:18:28] local.INFO: GPS Element Parsed {"raw_longitude":763102400,"raw_latitude":98264872,"longitude_deg":76.31024,"latitude_deg":9.8264872,"altitude":0,"angle":336,"satellites":32,"speed":6,"hex_longitude":"2d7c04c0","hex_latitude":"05db6728","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898506496001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128851127708942336,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938097173113014272,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788666053000,"timestamp_ms":1788666053000,"timestamp_seconds":1788666053,"priority":1,"record_length":96,"hex_timestamp":"000001a074ce0188"} 
[2026-09-06 09:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-06 09:18:28] 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-09-06 09: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-09-06 09:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:18:28] 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-09-06 09:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898506496001,"66":13613,"185":206,"85":15104,"24":6,"16":128851127708942336,"45":8938097173113014272},"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-09-06 09:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898506496001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:18:28] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-06 09:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128851127708942336,"km_value":128851127708942.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938097173113014272,"description":"Unknown IO ID 45"} 
[2026-09-06 09:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898506496001,"power":13613,"unknown_185":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8938097173113014272}} 
[2026-09-06 09:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":172589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:18:28] local.INFO: GPS data processed {"connection_id":172589,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:18:28] local.INFO: Acknowledgment sent {"connection_id":172589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:18:30] local.INFO: TCP Data received {"connection_id":175050,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d44ed0012d4f9000064e2e380008016228..."} 
[2026-09-06 09:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d44ed0012d4f9000064e2e380008016228..."} 
[2026-09-06 09:18:30] local.INFO: Processing buffer {"connection_id":175050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d44ed0012d4f9000064e2e380008016228..."} 
[2026-09-06 09:18:30] local.INFO: Packet analysis {"connection_id":175050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:18:30] local.INFO: Extracted packet for processing {"connection_id":175050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:18:30] local.INFO: GPS Element Parsed {"raw_longitude":760188928,"raw_latitude":105786936,"longitude_deg":76.0188928,"latitude_deg":10.5786936,"altitude":8,"angle":354,"satellites":40,"speed":15,"hex_longitude":"2d4f9000","hex_latitude":"064e2e38","is_valid_coordinates":true} 
[2026-09-06 09:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898613760001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400273321146449920,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5734067515141840896,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:30] 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-09-06 09:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788666466000,"timestamp_ms":1788666466000,"timestamp_seconds":1788666466,"priority":1,"record_length":96,"hex_timestamp":"000001a074d44ed0"} 
[2026-09-06 09:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 09:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898613760001,"66":27745,"7":206,"78":62464,"24":15,"16":400273321146449920,"45":5734067515141840896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-09-06 09:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898613760001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:18:30] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-06 09:18:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400273321146449920,"km_value":400273321146449.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5734067515141840896,"description":"Unknown IO ID 45"} 
[2026-09-06 09:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898613760001,"power":27745,"unknown_7":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":5734067515141840896}} 
[2026-09-06 09:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":175050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:18:30] local.INFO: GPS data processed {"connection_id":175050,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:18:30] local.INFO: Acknowledgment sent {"connection_id":175050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:18:32] local.INFO: TCP Data received {"connection_id":172589,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074ce1128012d7c044005db68a00000015020..."} 
[2026-09-06 09:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ce1128012d7c044005db68a00000015020..."} 
[2026-09-06 09:18:32] local.INFO: Processing buffer {"connection_id":172589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ce1128012d7c044005db68a00000015020..."} 
[2026-09-06 09:18:32] local.INFO: Packet analysis {"connection_id":172589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ce"} 
[2026-09-06 09:18:32] local.INFO: Extracted packet for processing {"connection_id":172589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ce"} 
[2026-09-06 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98265248,"longitude_deg":76.3102272,"latitude_deg":9.8265248,"altitude":0,"angle":336,"satellites":32,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db68a0","is_valid_coordinates":true} 
[2026-09-06 09:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898509568001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128851149183778816,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936478691998246912,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:32] 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-09-06 09:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788666057000,"timestamp_ms":1788666057000,"timestamp_seconds":1788666057,"priority":1,"record_length":96,"hex_timestamp":"000001a074ce1128"} 
[2026-09-06 09:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-06 09:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:18:32] 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-09-06 09:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898509568001,"66":13472,"185":206,"85":15104,"24":0,"16":128851149183778816,"45":8936478691998246912},"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-09-06 09:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898509568001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:18:32] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-06 09:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128851149183778816,"km_value":128851149183778.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936478691998246912,"description":"Unknown IO ID 45"} 
[2026-09-06 09:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898509568001,"power":13472,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936478691998246912}} 
[2026-09-06 09:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":172589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:18:32] local.INFO: GPS data processed {"connection_id":172589,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:18:32] local.INFO: Acknowledgment sent {"connection_id":172589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:18:46] local.INFO: TCP Data received {"connection_id":175051,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d36470012d18b18007246b480029015724..."} 
[2026-09-06 09:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d36470012d18b18007246b480029015724..."} 
[2026-09-06 09:18:46] local.INFO: Processing buffer {"connection_id":175051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d36470012d18b18007246b480029015724..."} 
[2026-09-06 09:18:46] local.INFO: Packet analysis {"connection_id":175051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d3"} 
[2026-09-06 09:18:46] local.INFO: Extracted packet for processing {"connection_id":175051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d3"} 
[2026-09-06 09:18:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898594560001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788666406000,"timestamp_ms":1788666406000,"timestamp_seconds":1788666406,"priority":1,"record_length":96,"hex_timestamp":"000001a074d36470"} 
[2026-09-06 09:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:18:46] 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-09-06 09:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:18:46] 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-09-06 09:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898594560001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898594560001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:18:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:18:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898594560001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":175051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:18:46] local.INFO: GPS data processed {"connection_id":175051,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:18:46] local.INFO: Acknowledgment sent {"connection_id":175051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:18:48] local.INFO: TCP Data received {"connection_id":173734,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:18:48] local.INFO: Processing buffer {"connection_id":173734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:18:48] local.INFO: IMEI packet received {"connection_id":173734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":173734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:18:51] local.INFO: TCP Data received {"connection_id":173734,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:18:51] local.INFO: Processing buffer {"connection_id":173734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:18:51] local.INFO: IMEI packet received {"connection_id":173734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":173734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:18:52] local.INFO: TCP Data received {"connection_id":173734,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d456a0012d4f9000064e3108000800062a..."} 
[2026-09-06 09:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d456a0012d4f9000064e3108000800062a..."} 
[2026-09-06 09:18:52] local.INFO: Processing buffer {"connection_id":173734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d456a0012d4f9000064e3108000800062a..."} 
[2026-09-06 09:18:52] local.INFO: Packet analysis {"connection_id":173734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:18:52] local.INFO: Extracted packet for processing {"connection_id":173734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:18:52] local.INFO: GPS Element Parsed {"raw_longitude":760188928,"raw_latitude":105787656,"longitude_deg":76.0188928,"latitude_deg":10.5787656,"altitude":8,"angle":6,"satellites":42,"speed":13,"hex_longitude":"2d4f9000","hex_latitude":"064e3108","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898615296001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400273355506188288,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5733082352724097024,"note":"Value kept but may cause issues"} 
[2026-09-06 09:18:52] 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-09-06 09:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788666468000,"timestamp_ms":1788666468000,"timestamp_seconds":1788666468,"priority":1,"record_length":96,"hex_timestamp":"000001a074d456a0"} 
[2026-09-06 09:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:18: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-09-06 09:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898615296001,"66":27691,"7":206,"78":62464,"24":13,"16":400273355506188288,"45":5733082352724097024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-09-06 09:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898615296001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:18:52] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-06 09:18:52] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400273355506188288,"km_value":400273355506188.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5733082352724097024,"description":"Unknown IO ID 45"} 
[2026-09-06 09:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898615296001,"power":27691,"unknown_7":206,"unknown_78":62464,"ignition":13,"odometer":null,"unknown_45":5733082352724097024}} 
[2026-09-06 09:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":173734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:18:52] local.INFO: GPS data processed {"connection_id":173734,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:18:52] local.INFO: Acknowledgment sent {"connection_id":173734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:19:09] local.INFO: TCP Data received {"connection_id":172590,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:19:09] local.INFO: Processing buffer {"connection_id":172590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:19:09] local.INFO: IMEI packet received {"connection_id":172590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":172590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:19:10] local.INFO: TCP Data received {"connection_id":172590,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:19:10] local.INFO: Processing buffer {"connection_id":172590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:19:10] local.INFO: IMEI packet received {"connection_id":172590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":172590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:19:14] local.INFO: TCP Data received {"connection_id":172590,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:19:14] local.INFO: Processing buffer {"connection_id":172590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:19:14] local.INFO: IMEI packet received {"connection_id":172590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":172590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:19:15] local.INFO: TCP Data received {"connection_id":172590,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d3b678012d18b18007246b480029015724..."} 
[2026-09-06 09:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d3b678012d18b18007246b480029015724..."} 
[2026-09-06 09:19:15] local.INFO: Processing buffer {"connection_id":172590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d3b678012d18b18007246b480029015724..."} 
[2026-09-06 09:19:15] local.INFO: Packet analysis {"connection_id":172590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d3"} 
[2026-09-06 09:19:15] local.INFO: Extracted packet for processing {"connection_id":172590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d3"} 
[2026-09-06 09:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898599936001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788666427000,"timestamp_ms":1788666427000,"timestamp_seconds":1788666427,"priority":1,"record_length":96,"hex_timestamp":"000001a074d3b678"} 
[2026-09-06 09:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:19:15] 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-09-06 09:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 09:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898599936001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898599936001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:19:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:19:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898599936001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":172590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:19:15] local.INFO: GPS data processed {"connection_id":172590,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:19:15] local.INFO: Acknowledgment sent {"connection_id":172590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:19:17] local.INFO: TCP Data received {"connection_id":172357,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:19:17] local.INFO: Processing buffer {"connection_id":172357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:19:17] local.INFO: IMEI packet received {"connection_id":172357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":172357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:19:22] local.INFO: TCP Data received {"connection_id":172357,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:19:22] local.INFO: Processing buffer {"connection_id":172357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:19:22] local.INFO: IMEI packet received {"connection_id":172357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":172357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:19:23] local.INFO: TCP Data received {"connection_id":172357,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074ce1128012d7c044005db68a00000015020..."} 
[2026-09-06 09:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ce1128012d7c044005db68a00000015020..."} 
[2026-09-06 09:19:23] local.INFO: Processing buffer {"connection_id":172357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ce1128012d7c044005db68a00000015020..."} 
[2026-09-06 09:19:23] local.INFO: Packet analysis {"connection_id":172357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ce"} 
[2026-09-06 09:19:23] local.INFO: Extracted packet for processing {"connection_id":172357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ce"} 
[2026-09-06 09:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98265248,"longitude_deg":76.3102272,"latitude_deg":9.8265248,"altitude":0,"angle":336,"satellites":32,"speed":0,"hex_longitude":"2d7c0440","hex_latitude":"05db68a0","is_valid_coordinates":true} 
[2026-09-06 09:19:23] 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-09-06 09:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898510592001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128851149183778816,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954509987840,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:23] 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-09-06 09:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788666057000,"timestamp_ms":1788666057000,"timestamp_seconds":1788666057,"priority":1,"record_length":96,"hex_timestamp":"000001a074ce1128"} 
[2026-09-06 09:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:19: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-09-06 09: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 09:19:23] 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-09-06 09: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-09-06 09:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:19: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-09-06 09:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898510592001,"66":13472,"185":206,"85":15104,"24":0,"16":128851149183778816,"45":8936337954509987840},"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-09-06 09:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898510592001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:19:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-06 09:19:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128851149183778816,"km_value":128851149183778.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954509987840,"description":"Unknown IO ID 45"} 
[2026-09-06 09:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898510592001,"power":13472,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954509987840}} 
[2026-09-06 09:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":172357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:19:23] local.INFO: GPS data processed {"connection_id":172357,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:19:23] local.INFO: Acknowledgment sent {"connection_id":172357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:19:26] local.INFO: TCP Data received {"connection_id":173734,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d46258012d4f9000064e34a0000701632b..."} 
[2026-09-06 09:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d46258012d4f9000064e34a0000701632b..."} 
[2026-09-06 09:19:26] local.INFO: Processing buffer {"connection_id":173734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d46258012d4f9000064e34a0000701632b..."} 
[2026-09-06 09:19:26] local.INFO: Packet analysis {"connection_id":173734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:19:26] local.INFO: Extracted packet for processing {"connection_id":173734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:19:26] local.INFO: GPS Element Parsed {"raw_longitude":760188928,"raw_latitude":105788576,"longitude_deg":76.0188928,"latitude_deg":10.5788576,"altitude":7,"angle":355,"satellites":43,"speed":11,"hex_longitude":"2d4f9000","hex_latitude":"064e34a0","is_valid_coordinates":true} 
[2026-09-06 09:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898615808001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400273402750828544,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5733082352724281344,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:26] 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-09-06 09:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788666471000,"timestamp_ms":1788666471000,"timestamp_seconds":1788666471,"priority":1,"record_length":96,"hex_timestamp":"000001a074d46258"} 
[2026-09-06 09:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:19: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-09-06 09:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 09:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:19: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-09-06 09:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898615808001,"66":27691,"7":206,"78":62464,"24":11,"16":400273402750828544,"45":5733082352724281344},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-09-06 09:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898615808001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:19:26] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-06 09:19:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400273402750828544,"km_value":400273402750828.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5733082352724281344,"description":"Unknown IO ID 45"} 
[2026-09-06 09:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898615808001,"power":27691,"unknown_7":206,"unknown_78":62464,"ignition":11,"odometer":null,"unknown_45":5733082352724281344}} 
[2026-09-06 09:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":173734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:19:26] local.INFO: GPS data processed {"connection_id":173734,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:19:26] local.INFO: Acknowledgment sent {"connection_id":173734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:19:46] local.INFO: TCP Data received {"connection_id":172590,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d40880012d18b18007246b480029015723..."} 
[2026-09-06 09:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d40880012d18b18007246b480029015723..."} 
[2026-09-06 09:19:46] local.INFO: Processing buffer {"connection_id":172590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d40880012d18b18007246b480029015723..."} 
[2026-09-06 09:19:46] local.INFO: Packet analysis {"connection_id":172590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:19:46] local.INFO: Extracted packet for processing {"connection_id":172590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898605312001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788666448000,"timestamp_ms":1788666448000,"timestamp_seconds":1788666448,"priority":1,"record_length":96,"hex_timestamp":"000001a074d40880"} 
[2026-09-06 09:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:19:46] 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-09-06 09:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:19:46] 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-09-06 09:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898605312001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898605312001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:19:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898605312001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":172590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:19:46] local.INFO: GPS data processed {"connection_id":172590,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:19:46] local.INFO: Acknowledgment sent {"connection_id":172590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:19:48] local.INFO: TCP Data received {"connection_id":175052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:19:48] local.INFO: Processing buffer {"connection_id":175052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:19:48] local.INFO: IMEI packet received {"connection_id":175052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":175052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:19:53] local.INFO: TCP Data received {"connection_id":175052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:19:53] local.INFO: Processing buffer {"connection_id":175052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:19:53] local.INFO: IMEI packet received {"connection_id":175052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":175052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:19:54] local.INFO: TCP Data received {"connection_id":172357,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a074ce20c8012d7c040005db68e00000015020..."} 
[2026-09-06 09:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ce20c8012d7c040005db68e00000015020..."} 
[2026-09-06 09:19:54] local.INFO: Processing buffer {"connection_id":172357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ce20c8012d7c040005db68e00000015020..."} 
[2026-09-06 09:19:54] local.INFO: Packet analysis {"connection_id":172357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ce"} 
[2026-09-06 09:19:54] local.INFO: Extracted packet for processing {"connection_id":172357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ce"} 
[2026-09-06 09:19:54] local.INFO: GPS Element Parsed {"raw_longitude":763102208,"raw_latitude":98265312,"longitude_deg":76.3102208,"latitude_deg":9.8265312,"altitude":0,"angle":336,"satellites":32,"speed":0,"hex_longitude":"2d7c0400","hex_latitude":"05db68e0","is_valid_coordinates":true} 
[2026-09-06 09:19:54] 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-09-06 09:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898510592001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128851149183778816,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936337954509987840,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:54] 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-09-06 09:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788666061000,"timestamp_ms":1788666061000,"timestamp_seconds":1788666061,"priority":1,"record_length":96,"hex_timestamp":"000001a074ce20c8"} 
[2026-09-06 09:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:19: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-09-06 09: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 09:19:54] 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-09-06 09: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-09-06 09:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:19:54] 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-09-06 09:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898510592001,"66":13363,"185":206,"85":15104,"24":0,"16":128851149183778816,"45":8936337954509987840},"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-09-06 09:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898510592001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:19:54] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-06 09:19:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128851149183778816,"km_value":128851149183778.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936337954509987840,"description":"Unknown IO ID 45"} 
[2026-09-06 09:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898510592001,"power":13363,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936337954509987840}} 
[2026-09-06 09:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":172357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:19:54] local.INFO: GPS data processed {"connection_id":172357,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:19:54] local.INFO: Acknowledgment sent {"connection_id":172357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:19:55] local.INFO: TCP Data received {"connection_id":175052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d46640012d4f9000064e35a8000701542b..."} 
[2026-09-06 09:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d46640012d4f9000064e35a8000701542b..."} 
[2026-09-06 09:19:55] local.INFO: Processing buffer {"connection_id":175052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d46640012d4f9000064e35a8000701542b..."} 
[2026-09-06 09:19:55] local.INFO: Packet analysis {"connection_id":175052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:19:55] local.INFO: Extracted packet for processing {"connection_id":175052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:19:55] local.INFO: GPS Element Parsed {"raw_longitude":760188928,"raw_latitude":105788840,"longitude_deg":76.0188928,"latitude_deg":10.578884,"altitude":7,"angle":340,"satellites":43,"speed":9,"hex_longitude":"2d4f9000","hex_latitude":"064e35a8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898616576001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400273415635730432,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5733082352724516864,"note":"Value kept but may cause issues"} 
[2026-09-06 09:19:55] 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-09-06 09:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788666472000,"timestamp_ms":1788666472000,"timestamp_seconds":1788666472,"priority":1,"record_length":96,"hex_timestamp":"000001a074d46640"} 
[2026-09-06 09:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09: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-09-06 09:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 09:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898616576001,"66":27691,"7":206,"78":62464,"24":9,"16":400273415635730432,"45":5733082352724516864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-09-06 09:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898616576001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:19:55] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-06 09:19:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400273415635730432,"km_value":400273415635730.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5733082352724516864,"description":"Unknown IO ID 45"} 
[2026-09-06 09:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898616576001,"power":27691,"unknown_7":206,"unknown_78":62464,"ignition":9,"odometer":null,"unknown_45":5733082352724516864}} 
[2026-09-06 09:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":175052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:19:55] local.INFO: GPS data processed {"connection_id":175052,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:19:55] local.INFO: Acknowledgment sent {"connection_id":175052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:20:09] local.INFO: TCP Data received {"connection_id":172358,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:20:09] local.INFO: Processing buffer {"connection_id":172358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:20:09] local.INFO: IMEI packet received {"connection_id":172358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":172358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:20:12] local.INFO: TCP Data received {"connection_id":172358,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:20:12] local.INFO: Processing buffer {"connection_id":172358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:20:12] local.INFO: IMEI packet received {"connection_id":172358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":172358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:20:12] local.INFO: TCP Data received {"connection_id":173735,"ip":"117.224.39.92","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:20:12] local.INFO: Processing buffer {"connection_id":173735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:20:12] local.INFO: IMEI packet received {"connection_id":173735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 09:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":173735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:20:14] local.INFO: TCP Data received {"connection_id":172358,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:20:14] local.INFO: Processing buffer {"connection_id":172358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:20:14] local.INFO: IMEI packet received {"connection_id":172358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":172358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:20:15] local.INFO: TCP Data received {"connection_id":172358,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d45a88012d18b18007246b480029015722..."} 
[2026-09-06 09:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d45a88012d18b18007246b480029015722..."} 
[2026-09-06 09:20:15] local.INFO: Processing buffer {"connection_id":172358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d45a88012d18b18007246b480029015722..."} 
[2026-09-06 09:20:15] local.INFO: Packet analysis {"connection_id":172358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:20:15] local.INFO: Extracted packet for processing {"connection_id":172358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898610688001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788666469000,"timestamp_ms":1788666469000,"timestamp_seconds":1788666469,"priority":1,"record_length":96,"hex_timestamp":"000001a074d45a88"} 
[2026-09-06 09:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:20:15] 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-09-06 09:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 09:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898610688001,"66":12254,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898610688001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:20:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:20:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898610688001,"power":12254,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":172358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:20:15] local.INFO: GPS data processed {"connection_id":172358,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:20:15] local.INFO: Acknowledgment sent {"connection_id":172358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:20:17] local.INFO: TCP Data received {"connection_id":172591,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:20:17] local.INFO: Processing buffer {"connection_id":172591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:20:17] local.INFO: IMEI packet received {"connection_id":172591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":172591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:20:18] local.INFO: TCP Data received {"connection_id":173735,"ip":"117.224.39.92","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:20:18] local.INFO: Processing buffer {"connection_id":173735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:20:18] local.INFO: IMEI packet received {"connection_id":173735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 09:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":173735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:20:20] local.INFO: TCP Data received {"connection_id":172358,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d4ac90012d18b18007246b480029015723..."} 
[2026-09-06 09:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d4ac90012d18b18007246b480029015723..."} 
[2026-09-06 09:20:20] local.INFO: Processing buffer {"connection_id":172358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d4ac90012d18b18007246b480029015723..."} 
[2026-09-06 09:20:20] local.INFO: Packet analysis {"connection_id":172358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:20:20] local.INFO: Extracted packet for processing {"connection_id":172358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:20:20] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898616064001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788666490000,"timestamp_ms":1788666490000,"timestamp_seconds":1788666490,"priority":1,"record_length":96,"hex_timestamp":"000001a074d4ac90"} 
[2026-09-06 09:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:20:20] 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-09-06 09:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-06 09:20:20] 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-09-06 09:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898616064001,"66":12156,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898616064001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:20:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:20:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898616064001,"power":12156,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":172358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:20:20] local.INFO: GPS data processed {"connection_id":172358,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:20:20] local.INFO: Acknowledgment sent {"connection_id":172358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:20:22] local.INFO: TCP Data received {"connection_id":172591,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:20:22] local.INFO: Processing buffer {"connection_id":172591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:20:22] local.INFO: IMEI packet received {"connection_id":172591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":172591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:20:26] local.INFO: TCP Data received {"connection_id":175052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d4b848012d4f8b40064e3dd80009014d2a..."} 
[2026-09-06 09:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d4b848012d4f8b40064e3dd80009014d2a..."} 
[2026-09-06 09:20:26] local.INFO: Processing buffer {"connection_id":175052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d4b848012d4f8b40064e3dd80009014d2a..."} 
[2026-09-06 09:20:26] local.INFO: Packet analysis {"connection_id":175052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:20:26] local.INFO: Extracted packet for processing {"connection_id":175052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:20:26] local.INFO: GPS Element Parsed {"raw_longitude":760187712,"raw_latitude":105790936,"longitude_deg":76.0187712,"latitude_deg":10.5790936,"altitude":9,"angle":333,"satellites":42,"speed":0,"hex_longitude":"2d4f8b40","hex_latitude":"064e3dd8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898616832001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400273535894814720,"note":"Value kept but may cause issues"} 
[2026-09-06 09:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5733082352724584448,"note":"Value kept but may cause issues"} 
[2026-09-06 09:20:26] 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-09-06 09:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788666493000,"timestamp_ms":1788666493000,"timestamp_seconds":1788666493,"priority":1,"record_length":96,"hex_timestamp":"000001a074d4b848"} 
[2026-09-06 09:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:20: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-09-06 09: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 09:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:20: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-09-06 09:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898616832001,"66":27713,"7":206,"78":62464,"24":0,"16":400273535894814720,"45":5733082352724584448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-09-06 09:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898616832001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:20:26] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-09-06 09:20:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400273535894814720,"km_value":400273535894814.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5733082352724584448,"description":"Unknown IO ID 45"} 
[2026-09-06 09:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898616832001,"power":27713,"unknown_7":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5733082352724584448}} 
[2026-09-06 09:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":175052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:20:26] local.INFO: GPS data processed {"connection_id":175052,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:20:26] local.INFO: Acknowledgment sent {"connection_id":175052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:20:51] local.INFO: TCP Data received {"connection_id":172358,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d4fe98012d18b18007246b480029015725..."} 
[2026-09-06 09:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d4fe98012d18b18007246b480029015725..."} 
[2026-09-06 09:20:51] local.INFO: Processing buffer {"connection_id":172358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d4fe98012d18b18007246b480029015725..."} 
[2026-09-06 09:20:51] local.INFO: Packet analysis {"connection_id":172358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:20:51] local.INFO: Extracted packet for processing {"connection_id":172358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d4"} 
[2026-09-06 09:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898621440001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788666511000,"timestamp_ms":1788666511000,"timestamp_seconds":1788666511,"priority":1,"record_length":96,"hex_timestamp":"000001a074d4fe98"} 
[2026-09-06 09:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 09:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898621440001,"66":12178,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898621440001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:20:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898621440001,"power":12178,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":172358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:20:51] local.INFO: GPS data processed {"connection_id":172358,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:20:51] local.INFO: Acknowledgment sent {"connection_id":172358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:20:53] local.INFO: TCP Data received {"connection_id":172359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:20:53] local.INFO: Processing buffer {"connection_id":172359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:20:53] local.INFO: IMEI packet received {"connection_id":172359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":172359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:20:54] local.INFO: TCP Data received {"connection_id":172359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:20:54] local.INFO: Processing buffer {"connection_id":172359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:20:54] local.INFO: IMEI packet received {"connection_id":172359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":172359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:20:58] local.INFO: TCP Data received {"connection_id":172359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:20:58] local.INFO: Processing buffer {"connection_id":172359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:20:58] local.INFO: IMEI packet received {"connection_id":172359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":172359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:20:59] local.INFO: TCP Data received {"connection_id":172359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d50a50012d4f8200064e50200008015128..."} 
[2026-09-06 09:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d50a50012d4f8200064e50200008015128..."} 
[2026-09-06 09:20:59] local.INFO: Processing buffer {"connection_id":172359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d50a50012d4f8200064e50200008015128..."} 
[2026-09-06 09:20:59] local.INFO: Packet analysis {"connection_id":172359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d5"} 
[2026-09-06 09:20:59] local.INFO: Extracted packet for processing {"connection_id":172359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d5"} 
[2026-09-06 09:20:59] local.INFO: GPS Element Parsed {"raw_longitude":760185344,"raw_latitude":105795616,"longitude_deg":76.0185344,"latitude_deg":10.5795616,"altitude":8,"angle":337,"satellites":40,"speed":10,"hex_longitude":"2d4f8200","hex_latitude":"064e5020","is_valid_coordinates":true} 
[2026-09-06 09:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898622208001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400273789297885184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5731745346585745408,"note":"Value kept but may cause issues"} 
[2026-09-06 09:20:59] 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-09-06 09:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788666514000,"timestamp_ms":1788666514000,"timestamp_seconds":1788666514,"priority":1,"record_length":96,"hex_timestamp":"000001a074d50a50"} 
[2026-09-06 09:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:20: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-09-06 09:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-06 09:20: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-09-06 09:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898622208001,"66":27745,"240":206,"78":62464,"24":10,"16":400273789297885184,"45":5731745346585745408},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-09-06 09:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898622208001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:20:59] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-06 09:20:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400273789297885184,"km_value":400273789297885.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5731745346585745408,"description":"Unknown IO ID 45"} 
[2026-09-06 09:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898622208001,"power":27745,"unknown_240":206,"unknown_78":62464,"ignition":10,"odometer":null,"unknown_45":5731745346585745408}} 
[2026-09-06 09:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":172359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:20:59] local.INFO: GPS data processed {"connection_id":172359,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:20:59] local.INFO: Acknowledgment sent {"connection_id":172359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:21:09] local.INFO: TCP Data received {"connection_id":175053,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:21:09] local.INFO: Processing buffer {"connection_id":175053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:21:09] local.INFO: IMEI packet received {"connection_id":175053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":175053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:21:14] local.INFO: TCP Data received {"connection_id":175053,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:21:14] local.INFO: Processing buffer {"connection_id":175053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:21:14] local.INFO: IMEI packet received {"connection_id":175053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":175053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:21:15] local.INFO: TCP Data received {"connection_id":175053,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d550a0012d18b18007246b480029015724..."} 
[2026-09-06 09:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d550a0012d18b18007246b480029015724..."} 
[2026-09-06 09:21:15] local.INFO: Processing buffer {"connection_id":175053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d550a0012d18b18007246b480029015724..."} 
[2026-09-06 09:21:15] local.INFO: Packet analysis {"connection_id":175053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d5"} 
[2026-09-06 09:21:15] local.INFO: Extracted packet for processing {"connection_id":175053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d5"} 
[2026-09-06 09:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898626816001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788666532000,"timestamp_ms":1788666532000,"timestamp_seconds":1788666532,"priority":1,"record_length":96,"hex_timestamp":"000001a074d550a0"} 
[2026-09-06 09:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 09:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898626816001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898626816001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:21:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:21:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898626816001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":175053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:21:15] local.INFO: GPS data processed {"connection_id":175053,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:21:15] local.INFO: Acknowledgment sent {"connection_id":175053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:21:30] local.INFO: TCP Data received {"connection_id":172359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d6df10012d4eb8c0064fad180010014b2b..."} 
[2026-09-06 09:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d6df10012d4eb8c0064fad180010014b2b..."} 
[2026-09-06 09:21:30] local.INFO: Processing buffer {"connection_id":172359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d6df10012d4eb8c0064fad180010014b2b..."} 
[2026-09-06 09:21:30] local.INFO: Packet analysis {"connection_id":172359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d6"} 
[2026-09-06 09:21:30] local.INFO: Extracted packet for processing {"connection_id":172359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d6"} 
[2026-09-06 09:21:30] local.INFO: GPS Element Parsed {"raw_longitude":760133824,"raw_latitude":105884952,"longitude_deg":76.0133824,"latitude_deg":10.5884952,"altitude":16,"angle":331,"satellites":43,"speed":42,"hex_longitude":"2d4eb8c0","hex_latitude":"064fad18","is_valid_coordinates":true} 
[2026-09-06 09:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898656000001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400278775754915840,"note":"Value kept but may cause issues"} 
[2026-09-06 09:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5677631782335019008,"note":"Value kept but may cause issues"} 
[2026-09-06 09:21:30] 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-09-06 09:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788666634000,"timestamp_ms":1788666634000,"timestamp_seconds":1788666634,"priority":1,"record_length":96,"hex_timestamp":"000001a074d6df10"} 
[2026-09-06 09:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-06 09:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898656000001,"66":27484,"60":206,"78":62464,"24":42,"16":400278775754915840,"45":5677631782335019008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-09-06 09:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898656000001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:21:30] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-06 09:21:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400278775754915840,"km_value":400278775754915.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5677631782335019008,"description":"Unknown IO ID 45"} 
[2026-09-06 09:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898656000001,"power":27484,"unknown_60":206,"unknown_78":62464,"ignition":42,"odometer":null,"unknown_45":5677631782335019008}} 
[2026-09-06 09:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":172359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:21:30] local.INFO: GPS data processed {"connection_id":172359,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:21:30] local.INFO: Acknowledgment sent {"connection_id":172359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:21:46] local.INFO: TCP Data received {"connection_id":175053,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d5a2a8012d18b18007246b480029015724..."} 
[2026-09-06 09:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d5a2a8012d18b18007246b480029015724..."} 
[2026-09-06 09:21:46] local.INFO: Processing buffer {"connection_id":175053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d5a2a8012d18b18007246b480029015724..."} 
[2026-09-06 09:21:46] local.INFO: Packet analysis {"connection_id":175053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d5"} 
[2026-09-06 09:21:46] local.INFO: Extracted packet for processing {"connection_id":175053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d5"} 
[2026-09-06 09:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898632192001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788666553000,"timestamp_ms":1788666553000,"timestamp_seconds":1788666553,"priority":1,"record_length":96,"hex_timestamp":"000001a074d5a2a8"} 
[2026-09-06 09:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:21:46] 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-09-06 09:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:21:46] 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-09-06 09:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898632192001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898632192001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:21:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:21:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898632192001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":175053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:21:46] local.INFO: GPS data processed {"connection_id":175053,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:21:46] local.INFO: Acknowledgment sent {"connection_id":175053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:21:48] local.INFO: TCP Data received {"connection_id":172360,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:21:48] local.INFO: Processing buffer {"connection_id":172360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:21:48] local.INFO: IMEI packet received {"connection_id":172360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":172360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:21:51] local.INFO: TCP Data received {"connection_id":172360,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:21:51] local.INFO: Processing buffer {"connection_id":172360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:21:51] local.INFO: IMEI packet received {"connection_id":172360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":172360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:21:52] local.INFO: TCP Data received {"connection_id":172360,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d70238012d4ea680064fcf380010014b28..."} 
[2026-09-06 09:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d70238012d4ea680064fcf380010014b28..."} 
[2026-09-06 09:21:52] local.INFO: Processing buffer {"connection_id":172360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d70238012d4ea680064fcf380010014b28..."} 
[2026-09-06 09:21:52] local.INFO: Packet analysis {"connection_id":172360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d7"} 
[2026-09-06 09:21:52] local.INFO: Extracted packet for processing {"connection_id":172360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d7"} 
[2026-09-06 09:21:52] local.INFO: GPS Element Parsed {"raw_longitude":760129152,"raw_latitude":105893688,"longitude_deg":76.0129152,"latitude_deg":10.5893688,"altitude":16,"angle":331,"satellites":40,"speed":45,"hex_longitude":"2d4ea680","hex_latitude":"064fcf38","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898658304001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400279252496285696,"note":"Value kept but may cause issues"} 
[2026-09-06 09:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5672494864012220416,"note":"Value kept but may cause issues"} 
[2026-09-06 09:21:52] 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-09-06 09:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788666643000,"timestamp_ms":1788666643000,"timestamp_seconds":1788666643,"priority":1,"record_length":96,"hex_timestamp":"000001a074d70238"} 
[2026-09-06 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-09-06 09:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 09:21: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-09-06 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-09-06 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-09-06 09:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:21: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-09-06 09:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898658304001,"66":27745,"60":206,"78":62464,"24":45,"16":400279252496285696,"45":5672494864012220416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-09-06 09:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898658304001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:21:52] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-06 09:21:52] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400279252496285696,"km_value":400279252496285.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5672494864012220416,"description":"Unknown IO ID 45"} 
[2026-09-06 09:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898658304001,"power":27745,"unknown_60":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":5672494864012220416}} 
[2026-09-06 09:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":172360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:21:52] local.INFO: GPS data processed {"connection_id":172360,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:21:52] local.INFO: Acknowledgment sent {"connection_id":172360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:22:09] local.INFO: TCP Data received {"connection_id":173736,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:22:09] local.INFO: Processing buffer {"connection_id":173736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:22:09] local.INFO: IMEI packet received {"connection_id":173736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":173736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:22:14] local.INFO: TCP Data received {"connection_id":173736,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:22:14] local.INFO: Processing buffer {"connection_id":173736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:22:14] local.INFO: IMEI packet received {"connection_id":173736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":173736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:22:21] local.INFO: TCP Data received {"connection_id":173736,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d5f4b0012d18b18007246b480029015725..."} 
[2026-09-06 09:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d5f4b0012d18b18007246b480029015725..."} 
[2026-09-06 09:22:21] local.INFO: Processing buffer {"connection_id":173736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d5f4b0012d18b18007246b480029015725..."} 
[2026-09-06 09:22:21] local.INFO: Packet analysis {"connection_id":173736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d5"} 
[2026-09-06 09:22:21] local.INFO: Extracted packet for processing {"connection_id":173736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d5"} 
[2026-09-06 09:22:21] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898637568001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788666574000,"timestamp_ms":1788666574000,"timestamp_seconds":1788666574,"priority":1,"record_length":96,"hex_timestamp":"000001a074d5f4b0"} 
[2026-09-06 09:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:22: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-09-06 09:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898637568001,"66":12211,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898637568001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:22:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:22:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898637568001,"power":12211,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":173736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:22:22] local.INFO: GPS data processed {"connection_id":173736,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:22:22] local.INFO: Acknowledgment sent {"connection_id":173736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:22:23] local.INFO: TCP Data received {"connection_id":172360,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d72178012d4e94c0064fefa0000e014c2c..."} 
[2026-09-06 09:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d72178012d4e94c0064fefa0000e014c2c..."} 
[2026-09-06 09:22:23] local.INFO: Processing buffer {"connection_id":172360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d72178012d4e94c0064fefa0000e014c2c..."} 
[2026-09-06 09:22:23] local.INFO: Packet analysis {"connection_id":172360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d7"} 
[2026-09-06 09:22:23] local.INFO: Extracted packet for processing {"connection_id":172360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d7"} 
[2026-09-06 09:22:23] local.INFO: GPS Element Parsed {"raw_longitude":760124608,"raw_latitude":105901984,"longitude_deg":76.0124608,"latitude_deg":10.5901984,"altitude":14,"angle":332,"satellites":44,"speed":48,"hex_longitude":"2d4e94c0","hex_latitude":"064fefa0","is_valid_coordinates":true} 
[2026-09-06 09:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898660608001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400279712057786368,"note":"Value kept but may cause issues"} 
[2026-09-06 09:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5667357945689487360,"note":"Value kept but may cause issues"} 
[2026-09-06 09:22:23] 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-09-06 09:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788666651000,"timestamp_ms":1788666651000,"timestamp_seconds":1788666651,"priority":1,"record_length":96,"hex_timestamp":"000001a074d72178"} 
[2026-09-06 09:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:22: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-09-06 09:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:22: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-09-06 09:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898660608001,"66":27745,"60":206,"78":62464,"24":48,"16":400279712057786368,"45":5667357945689487360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-09-06 09:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898660608001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:22:23] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-06 09:22:23] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400279712057786368,"km_value":400279712057786.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5667357945689487360,"description":"Unknown IO ID 45"} 
[2026-09-06 09:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898660608001,"power":27745,"unknown_60":206,"unknown_78":62464,"ignition":48,"odometer":null,"unknown_45":5667357945689487360}} 
[2026-09-06 09:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":172360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:22:23] local.INFO: GPS data processed {"connection_id":172360,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:22:23] local.INFO: Acknowledgment sent {"connection_id":172360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:22:48] local.INFO: TCP Data received {"connection_id":173737,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:22:48] local.INFO: Processing buffer {"connection_id":173737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:22:48] local.INFO: IMEI packet received {"connection_id":173737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":173737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:22:53] local.INFO: TCP Data received {"connection_id":173736,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d646b8012d18b18007246b480029015726..."} 
[2026-09-06 09:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d646b8012d18b18007246b480029015726..."} 
[2026-09-06 09:22:53] local.INFO: Processing buffer {"connection_id":173736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d646b8012d18b18007246b480029015726..."} 
[2026-09-06 09:22:53] local.INFO: Packet analysis {"connection_id":173736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d6"} 
[2026-09-06 09:22:53] local.INFO: Extracted packet for processing {"connection_id":173736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d6"} 
[2026-09-06 09:22:53] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898642944001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788666595000,"timestamp_ms":1788666595000,"timestamp_seconds":1788666595,"priority":1,"record_length":96,"hex_timestamp":"000001a074d646b8"} 
[2026-09-06 09:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 09:22:53] 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-09-06 09: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-09-06 09:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898642944001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898642944001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:22:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:22:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898642944001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":173736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:22:53] local.INFO: GPS data processed {"connection_id":173736,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:22:53] local.INFO: Acknowledgment sent {"connection_id":173736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:22:53] local.INFO: TCP Data received {"connection_id":173737,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:22:53] local.INFO: Processing buffer {"connection_id":173737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:22:53] local.INFO: IMEI packet received {"connection_id":173737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":173737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:22:54] local.INFO: TCP Data received {"connection_id":173737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d740b8012d4e830006501350000c014e2c..."} 
[2026-09-06 09:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d740b8012d4e830006501350000c014e2c..."} 
[2026-09-06 09:22:54] local.INFO: Processing buffer {"connection_id":173737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d740b8012d4e830006501350000c014e2c..."} 
[2026-09-06 09:22:54] local.INFO: Packet analysis {"connection_id":173737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d7"} 
[2026-09-06 09:22:54] local.INFO: Extracted packet for processing {"connection_id":173737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d7"} 
[2026-09-06 09:22:54] local.INFO: GPS Element Parsed {"raw_longitude":760120064,"raw_latitude":105911120,"longitude_deg":76.0120064,"latitude_deg":10.591112,"altitude":12,"angle":334,"satellites":44,"speed":52,"hex_longitude":"2d4e8300","hex_latitude":"06501350","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898662656001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400280205979025408,"note":"Value kept but may cause issues"} 
[2026-09-06 09:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5662361764854996992,"note":"Value kept but may cause issues"} 
[2026-09-06 09:22:54] 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-09-06 09:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788666659000,"timestamp_ms":1788666659000,"timestamp_seconds":1788666659,"priority":1,"record_length":96,"hex_timestamp":"000001a074d740b8"} 
[2026-09-06 09:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09: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-09-06 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:22: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-09-06 09:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898662656001,"66":27745,"60":206,"78":62464,"24":52,"16":400280205979025408,"45":5662361764854996992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-09-06 09:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898662656001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:22:54] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-06 09:22:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400280205979025408,"km_value":400280205979025.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5662361764854996992,"description":"Unknown IO ID 45"} 
[2026-09-06 09:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898662656001,"power":27745,"unknown_60":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5662361764854996992}} 
[2026-09-06 09:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":173737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:22:54] local.INFO: GPS data processed {"connection_id":173737,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:22:54] local.INFO: Acknowledgment sent {"connection_id":173737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:23:09] local.INFO: TCP Data received {"connection_id":172361,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:23:09] local.INFO: Processing buffer {"connection_id":172361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:23:09] local.INFO: IMEI packet received {"connection_id":172361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":172361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:23:14] local.INFO: TCP Data received {"connection_id":172361,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:23:14] local.INFO: Processing buffer {"connection_id":172361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:23:14] local.INFO: IMEI packet received {"connection_id":172361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":172361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:23:15] local.INFO: TCP Data received {"connection_id":172361,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d698c0012d18b18007246b480029015725..."} 
[2026-09-06 09:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d698c0012d18b18007246b480029015725..."} 
[2026-09-06 09:23:15] local.INFO: Processing buffer {"connection_id":172361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d698c0012d18b18007246b480029015725..."} 
[2026-09-06 09:23:15] local.INFO: Packet analysis {"connection_id":172361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d6"} 
[2026-09-06 09:23:15] local.INFO: Extracted packet for processing {"connection_id":172361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d6"} 
[2026-09-06 09:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756593024,"raw_latitude":119827272,"longitude_deg":75.6593024,"latitude_deg":11.9827272,"altitude":41,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d18b180","hex_latitude":"07246b48","is_valid_coordinates":true} 
[2026-09-06 09:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898648320001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132497225220096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095952193536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788666616000,"timestamp_ms":1788666616000,"timestamp_seconds":1788666616,"priority":1,"record_length":96,"hex_timestamp":"000001a074d698c0"} 
[2026-09-06 09:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:23:15] 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-09-06 09:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898648320001,"66":12232,"19":206,"83":41984,"24":0,"16":18132497225220096,"45":1779344095952193536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 09:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898648320001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:23:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132497225220096,"km_value":18132497225220.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095952193536,"description":"Unknown IO ID 45"} 
[2026-09-06 09:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898648320001,"power":12232,"unknown_19":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779344095952193536}} 
[2026-09-06 09:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":172361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:23:15] local.INFO: GPS data processed {"connection_id":172361,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:23:15] local.INFO: Acknowledgment sent {"connection_id":172361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:23:24] local.INFO: TCP Data received {"connection_id":173737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d884f0012d4de58006518a98000a01512b..."} 
[2026-09-06 09:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d884f0012d4de58006518a98000a01512b..."} 
[2026-09-06 09:23:24] local.INFO: Processing buffer {"connection_id":173737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d884f0012d4de58006518a98000a01512b..."} 
[2026-09-06 09:23:24] local.INFO: Packet analysis {"connection_id":173737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d8"} 
[2026-09-06 09:23:24] local.INFO: Extracted packet for processing {"connection_id":173737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d8"} 
[2026-09-06 09:23:24] local.INFO: GPS Element Parsed {"raw_longitude":760079744,"raw_latitude":106007192,"longitude_deg":76.0079744,"latitude_deg":10.6007192,"altitude":10,"angle":337,"satellites":43,"speed":50,"hex_longitude":"2d4de580","hex_latitude":"06518a98","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898684160001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400285243975663616,"note":"Value kept but may cause issues"} 
[2026-09-06 09:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616903556141031424,"note":"Value kept but may cause issues"} 
[2026-09-06 09:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788666742000,"timestamp_ms":1788666742000,"timestamp_seconds":1788666742,"priority":1,"record_length":96,"hex_timestamp":"000001a074d884f0"} 
[2026-09-06 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-09-06 09:23: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-09-06 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-06 09:23: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-09-06 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-09-06 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-09-06 09:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:23: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-09-06 09:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898684160001,"66":27158,"218":206,"78":62464,"24":50,"16":400285243975663616,"45":5616903556141031424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,78,24,16,45]} 
[2026-09-06 09:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898684160001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:23:24] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-06 09:23:24] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400285243975663616,"km_value":400285243975663.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616903556141031424,"description":"Unknown IO ID 45"} 
[2026-09-06 09:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898684160001,"power":27158,"unknown_218":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5616903556141031424}} 
[2026-09-06 09:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":173737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:23:25] local.INFO: GPS data processed {"connection_id":173737,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:23:25] local.INFO: Acknowledgment sent {"connection_id":173737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:23:46] local.INFO: TCP Data received {"connection_id":172361,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d91d48012d18c54007246010002c009925..."} 
[2026-09-06 09:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d91d48012d18c54007246010002c009925..."} 
[2026-09-06 09:23:46] local.INFO: Processing buffer {"connection_id":172361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d91d48012d18c54007246010002c009925..."} 
[2026-09-06 09:23:46] local.INFO: Packet analysis {"connection_id":172361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d9"} 
[2026-09-06 09:23:46] local.INFO: Extracted packet for processing {"connection_id":172361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d9"} 
[2026-09-06 09:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119824400,"longitude_deg":75.659808,"latitude_deg":11.98244,"altitude":44,"angle":153,"satellites":37,"speed":7,"hex_longitude":"2d18c540","hex_latitude":"07246010","is_valid_coordinates":true} 
[2026-09-06 09:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898695680001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132827937701888,"note":"Value kept but may cause issues"} 
[2026-09-06 09:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489253179392,"note":"Value kept but may cause issues"} 
[2026-09-06 09:23:46] 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-09-06 09:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788666781000,"timestamp_ms":1788666781000,"timestamp_seconds":1788666781,"priority":1,"record_length":96,"hex_timestamp":"000001a074d91d48"} 
[2026-09-06 09:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:23:46] 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-09-06 09:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-06 09:23:46] 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-09-06 09:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898695680001,"66":13276,"187":206,"83":42752,"24":7,"16":18132827937701888,"45":1784762489253179392},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-09-06 09:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898695680001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:23:46] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 09:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 09:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132827937701888,"km_value":18132827937701.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489253179392,"description":"Unknown IO ID 45"} 
[2026-09-06 09:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898695680001,"power":13276,"unknown_187":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1784762489253179392}} 
[2026-09-06 09:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":172361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:23:46] local.INFO: GPS data processed {"connection_id":172361,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:23:46] local.INFO: Acknowledgment sent {"connection_id":172361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:23:48] local.INFO: TCP Data received {"connection_id":173738,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:23:48] local.INFO: Processing buffer {"connection_id":173738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:23:48] local.INFO: IMEI packet received {"connection_id":173738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":173738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:23:49] local.INFO: TCP Data received {"connection_id":173738,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:23:49] local.INFO: Processing buffer {"connection_id":173738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:23:49] local.INFO: IMEI packet received {"connection_id":173738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":173738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:23:53] local.INFO: TCP Data received {"connection_id":173738,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:23:53] local.INFO: Processing buffer {"connection_id":173738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:23:53] local.INFO: IMEI packet received {"connection_id":173738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":173738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:23:54] local.INFO: TCP Data received {"connection_id":173738,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d8a430012d4dd7400651adb8000d01522b..."} 
[2026-09-06 09:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d8a430012d4dd7400651adb8000d01522b..."} 
[2026-09-06 09:23:54] local.INFO: Processing buffer {"connection_id":173738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d8a430012d4dd7400651adb8000d01522b..."} 
[2026-09-06 09:23:54] local.INFO: Packet analysis {"connection_id":173738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d8"} 
[2026-09-06 09:23:54] local.INFO: Extracted packet for processing {"connection_id":173738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d8"} 
[2026-09-06 09:23:54] local.INFO: GPS Element Parsed {"raw_longitude":760076096,"raw_latitude":106016184,"longitude_deg":76.0076096,"latitude_deg":10.6016184,"altitude":13,"angle":338,"satellites":43,"speed":46,"hex_longitude":"2d4dd740","hex_latitude":"0651adb8","is_valid_coordinates":true} 
[2026-09-06 09:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898685952001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400285716422066176,"note":"Value kept but may cause issues"} 
[2026-09-06 09:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613033275213387776,"note":"Value kept but may cause issues"} 
[2026-09-06 09:23:54] 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-09-06 09:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788666750000,"timestamp_ms":1788666750000,"timestamp_seconds":1788666750,"priority":1,"record_length":96,"hex_timestamp":"000001a074d8a430"} 
[2026-09-06 09:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-06 09:23:54] 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-09-06 09:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:23: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-09-06 09:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898685952001,"66":27767,"246":206,"78":62464,"24":46,"16":400285716422066176,"45":5613033275213387776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,78,24,16,45]} 
[2026-09-06 09:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898685952001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:23:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400285716422066176,"km_value":400285716422066.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613033275213387776,"description":"Unknown IO ID 45"} 
[2026-09-06 09:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898685952001,"power":27767,"main_input_voltage":206,"unknown_78":62464,"ignition":46,"odometer":null,"unknown_45":5613033275213387776}} 
[2026-09-06 09:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":173738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:23:54] local.INFO: GPS data processed {"connection_id":173738,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:23:54] local.INFO: Acknowledgment sent {"connection_id":173738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:24:13] local.INFO: TCP Data received {"connection_id":172362,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:24:13] local.INFO: Processing buffer {"connection_id":172362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:24:13] local.INFO: IMEI packet received {"connection_id":172362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":172362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:24:14] local.INFO: TCP Data received {"connection_id":172362,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:24:14] local.INFO: Processing buffer {"connection_id":172362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:24:14] local.INFO: IMEI packet received {"connection_id":172362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":172362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:24:19] local.INFO: TCP Data received {"connection_id":172362,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:24:19] local.INFO: Processing buffer {"connection_id":172362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:24:19] local.INFO: IMEI packet received {"connection_id":172362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":172362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:24:20] local.INFO: TCP Data received {"connection_id":172362,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d92518012d18c5c007245ea8002d00aa24..."} 
[2026-09-06 09:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d92518012d18c5c007245ea8002d00aa24..."} 
[2026-09-06 09:24:20] local.INFO: Processing buffer {"connection_id":172362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d92518012d18c5c007245ea8002d00aa24..."} 
[2026-09-06 09:24:20] local.INFO: Packet analysis {"connection_id":172362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d9"} 
[2026-09-06 09:24:20] local.INFO: Extracted packet for processing {"connection_id":172362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d9"} 
[2026-09-06 09:24:20] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119824040,"longitude_deg":75.6598208,"latitude_deg":11.982404,"altitude":45,"angle":170,"satellites":36,"speed":7,"hex_longitude":"2d18c5c0","hex_latitude":"07245ea8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898695936001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132845117571072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226741493760,"note":"Value kept but may cause issues"} 
[2026-09-06 09:24:20] 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-09-06 09:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788666783000,"timestamp_ms":1788666783000,"timestamp_seconds":1788666783,"priority":1,"record_length":96,"hex_timestamp":"000001a074d92518"} 
[2026-09-06 09:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:24:20] 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-09-06 09: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-06 09:24:20] 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-09-06 09: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-09-06 09:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898695936001,"66":14102,"187":206,"83":42752,"24":7,"16":18132845117571072,"45":1784903226741493760},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-09-06 09:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898695936001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:24:20] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 09:24:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 09:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132845117571072,"km_value":18132845117571.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226741493760,"description":"Unknown IO ID 45"} 
[2026-09-06 09:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898695936001,"power":14102,"unknown_187":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1784903226741493760}} 
[2026-09-06 09:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":172362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:24:21] local.INFO: GPS data processed {"connection_id":172362,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:24:21] local.INFO: Acknowledgment sent {"connection_id":172362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:24:25] local.INFO: TCP Data received {"connection_id":172362,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074d934b8012d18c6c007245bf0002e009d24..."} 
[2026-09-06 09:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d934b8012d18c6c007245bf0002e009d24..."} 
[2026-09-06 09:24:25] local.INFO: Processing buffer {"connection_id":172362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d934b8012d18c6c007245bf0002e009d24..."} 
[2026-09-06 09:24:25] local.INFO: Packet analysis {"connection_id":172362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d9"} 
[2026-09-06 09:24:25] local.INFO: Extracted packet for processing {"connection_id":172362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d9"} 
[2026-09-06 09:24:25] local.INFO: GPS Element Parsed {"raw_longitude":756598464,"raw_latitude":119823344,"longitude_deg":75.6598464,"latitude_deg":11.9823344,"altitude":46,"angle":157,"satellites":36,"speed":6,"hex_longitude":"2d18c6c0","hex_latitude":"07245bf0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898696448001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18132883772276736,"note":"Value kept but may cause issues"} 
[2026-09-06 09:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964229756928,"note":"Value kept but may cause issues"} 
[2026-09-06 09:24:25] 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-09-06 09:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788666787000,"timestamp_ms":1788666787000,"timestamp_seconds":1788666787,"priority":1,"record_length":96,"hex_timestamp":"000001a074d934b8"} 
[2026-09-06 09:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:24:25] 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-09-06 09: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-06 09:24:25] 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-09-06 09: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-09-06 09:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898696448001,"66":14102,"187":206,"83":42752,"24":6,"16":18132883772276736,"45":1785043964229756928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-09-06 09:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898696448001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:24:25] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 09:24:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 09:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18132883772276736,"km_value":18132883772276.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964229756928,"description":"Unknown IO ID 45"} 
[2026-09-06 09:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898696448001,"power":14102,"unknown_187":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1785043964229756928}} 
[2026-09-06 09:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":172362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:24:25] local.INFO: GPS data processed {"connection_id":172362,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:24:25] local.INFO: Acknowledgment sent {"connection_id":172362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:24:26] local.INFO: TCP Data received {"connection_id":173738,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074d8c370012d4dc9000651ce70000e01512c..."} 
[2026-09-06 09:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074d8c370012d4dc9000651ce70000e01512c..."} 
[2026-09-06 09:24:26] local.INFO: Processing buffer {"connection_id":173738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074d8c370012d4dc9000651ce70000e01512c..."} 
[2026-09-06 09:24:26] local.INFO: Packet analysis {"connection_id":173738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074d8"} 
[2026-09-06 09:24:26] local.INFO: Extracted packet for processing {"connection_id":173738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074d8"} 
[2026-09-06 09:24:26] local.INFO: GPS Element Parsed {"raw_longitude":760072448,"raw_latitude":106024560,"longitude_deg":76.0072448,"latitude_deg":10.602456,"altitude":14,"angle":337,"satellites":44,"speed":44,"hex_longitude":"2d4dc900","hex_latitude":"0651ce70","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898688000001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400286154508730368,"note":"Value kept but may cause issues"} 
[2026-09-06 09:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5609022256797562880,"note":"Value kept but may cause issues"} 
[2026-09-06 09:24:26] 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-09-06 09:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788666758000,"timestamp_ms":1788666758000,"timestamp_seconds":1788666758,"priority":1,"record_length":96,"hex_timestamp":"000001a074d8c370"} 
[2026-09-06 09:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:24:26] 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-09-06 09: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-09-06 09:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:24: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-09-06 09:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898688000001,"66":27800,"246":206,"78":62464,"24":44,"16":400286154508730368,"45":5609022256797562880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,78,24,16,45]} 
[2026-09-06 09:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898688000001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:24:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400286154508730368,"km_value":400286154508730.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5609022256797562880,"description":"Unknown IO ID 45"} 
[2026-09-06 09:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898688000001,"power":27800,"main_input_voltage":206,"unknown_78":62464,"ignition":44,"odometer":null,"unknown_45":5609022256797562880}} 
[2026-09-06 09:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":173738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:24:26] local.INFO: GPS data processed {"connection_id":173738,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:24:26] local.INFO: Acknowledgment sent {"connection_id":173738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:24:53] local.INFO: TCP Data received {"connection_id":175054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:24:53] local.INFO: Processing buffer {"connection_id":175054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:24:53] local.INFO: IMEI packet received {"connection_id":175054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":175054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:24:57] local.INFO: TCP Data received {"connection_id":175054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:24:57] local.INFO: Processing buffer {"connection_id":175054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:24:57] local.INFO: IMEI packet received {"connection_id":175054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":175054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:24:58] local.INFO: TCP Data received {"connection_id":175054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074da0f78012d4d058006533498000a01432b..."} 
[2026-09-06 09:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074da0f78012d4d058006533498000a01432b..."} 
[2026-09-06 09:24:58] local.INFO: Processing buffer {"connection_id":175054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074da0f78012d4d058006533498000a01432b..."} 
[2026-09-06 09:24:58] local.INFO: Packet analysis {"connection_id":175054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:24:58] local.INFO: Extracted packet for processing {"connection_id":175054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:24:58] local.INFO: GPS Element Parsed {"raw_longitude":760022400,"raw_latitude":106116248,"longitude_deg":76.00224,"latitude_deg":10.6116248,"altitude":10,"angle":323,"satellites":43,"speed":48,"hex_longitude":"2d4d0580","hex_latitude":"06533498","is_valid_coordinates":true} 
[2026-09-06 09:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898709760001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400291205390270464,"note":"Value kept but may cause issues"} 
[2026-09-06 09:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5556104961199495168,"note":"Value kept but may cause issues"} 
[2026-09-06 09:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788666843000,"timestamp_ms":1788666843000,"timestamp_seconds":1788666843,"priority":1,"record_length":96,"hex_timestamp":"000001a074da0f78"} 
[2026-09-06 09:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09: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-09-06 09:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09: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-09-06 09:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898709760001,"66":27745,"245":206,"78":62464,"24":48,"16":400291205390270464,"45":5556104961199495168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,78,24,16,45]} 
[2026-09-06 09:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898709760001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:24:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400291205390270464,"km_value":400291205390270.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5556104961199495168,"description":"Unknown IO ID 45"} 
[2026-09-06 09:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898709760001,"power":27745,"geofence_id":206,"unknown_78":62464,"ignition":48,"odometer":null,"unknown_45":5556104961199495168}} 
[2026-09-06 09:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":175054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:24:58] local.INFO: GPS data processed {"connection_id":175054,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:24:58] local.INFO: Acknowledgment sent {"connection_id":175054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:25:07] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:25:07] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:25:07] local.INFO: IMEI packet received {"connection_id":173739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 09:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":173739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:25:09] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:25:09] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:25:09] local.INFO: IMEI packet received {"connection_id":173739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 09:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":173739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:25:09] local.INFO: TCP Data received {"connection_id":172363,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:25:09] local.INFO: Processing buffer {"connection_id":172363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:25:09] local.INFO: IMEI packet received {"connection_id":172363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":172363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:25:11] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074da1360012c85f300095eb0f0028d01582b..."} 
[2026-09-06 09:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074da1360012c85f300095eb0f0028d01582b..."} 
[2026-09-06 09:25:11] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074da1360012c85f300095eb0f0028d01582b..."} 
[2026-09-06 09:25:11] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:25:11] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:25:11] local.INFO: GPS Element Parsed {"raw_longitude":746976000,"raw_latitude":157200624,"longitude_deg":74.6976,"latitude_deg":15.7200624,"altitude":653,"angle":344,"satellites":43,"speed":49,"hex_longitude":"2c85f300","hex_latitude":"095eb0f0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898710272001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2213183762726912,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8790533851176730622,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788666844000,"timestamp_ms":1788666844000,"timestamp_seconds":1788666844,"priority":1,"record_length":96,"hex_timestamp":"000001a074da1360"} 
[2026-09-06 09:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:25: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-09-06 09:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-06 09:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898710272001,"66":27843,"214":206,"9":8192,"24":49,"16":2213183762726912,"44":-8790533851176730622},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,9,24,16,44]} 
[2026-09-06 09:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898710272001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:25:11] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-06 09:25:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-06 09:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2213183762726912,"km_value":2213183762726.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:25:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8790533851176730622,"description":"Unknown IO ID 44"} 
[2026-09-06 09:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898710272001,"power":27843,"unknown_214":206,"unknown_9":8192,"ignition":49,"odometer":null,"unknown_44":-8790533851176730622}} 
[2026-09-06 09:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773416,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:25:11] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:25:11] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:25:14] local.INFO: TCP Data received {"connection_id":172364,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:25:14] local.INFO: Processing buffer {"connection_id":172364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:25:14] local.INFO: IMEI packet received {"connection_id":172364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":172364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:25:14] local.INFO: TCP Data received {"connection_id":172363,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:25:14] local.INFO: Processing buffer {"connection_id":172363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:25:14] local.INFO: IMEI packet received {"connection_id":172363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":172363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:25:15] local.INFO: TCP Data received {"connection_id":172363,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074da0b90012d18e38007244f380033004d21..."} 
[2026-09-06 09:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074da0b90012d18e38007244f380033004d21..."} 
[2026-09-06 09:25:15] local.INFO: Processing buffer {"connection_id":172363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074da0b90012d18e38007244f380033004d21..."} 
[2026-09-06 09:25:15] local.INFO: Packet analysis {"connection_id":172363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:25:15] local.INFO: Extracted packet for processing {"connection_id":172363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756605824,"raw_latitude":119820088,"longitude_deg":75.6605824,"latitude_deg":11.9820088,"altitude":51,"angle":77,"satellites":33,"speed":14,"hex_longitude":"2d18e380","hex_latitude":"07244f38","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898710528001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18133437823057920,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792362313623076864,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:15] 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-09-06 09:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788666842000,"timestamp_ms":1788666842000,"timestamp_seconds":1788666842,"priority":1,"record_length":96,"hex_timestamp":"000001a074da0b90"} 
[2026-09-06 09:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:25:15] 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-09-06 09: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-06 09:25:15] 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-09-06 09: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-09-06 09:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898710528001,"66":14113,"187":206,"83":42752,"24":14,"16":18133437823057920,"45":1792362313623076864},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-09-06 09:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898710528001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:25:15] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 09:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 09:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18133437823057920,"km_value":18133437823057.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792362313623076864,"description":"Unknown IO ID 45"} 
[2026-09-06 09:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898710528001,"power":14113,"unknown_187":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1792362313623076864}} 
[2026-09-06 09:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":172363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:25:15] local.INFO: GPS data processed {"connection_id":172363,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:25:15] local.INFO: Acknowledgment sent {"connection_id":172363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:25:17] local.INFO: TCP Data received {"connection_id":172364,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:25:17] local.INFO: Processing buffer {"connection_id":172364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:25:17] local.INFO: IMEI packet received {"connection_id":172364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":172364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:25:22] local.INFO: TCP Data received {"connection_id":172364,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:25:22] local.INFO: Processing buffer {"connection_id":172364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:25:22] local.INFO: IMEI packet received {"connection_id":172364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":172364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:25:23] local.INFO: TCP Data received {"connection_id":172364,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074daafa0012d7c064005db7570000a002a23..."} 
[2026-09-06 09:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074daafa0012d7c064005db7570000a002a23..."} 
[2026-09-06 09:25:23] local.INFO: Processing buffer {"connection_id":172364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074daafa0012d7c064005db7570000a002a23..."} 
[2026-09-06 09:25:23] local.INFO: Packet analysis {"connection_id":172364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:25:23] local.INFO: Extracted packet for processing {"connection_id":172364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:25:23] local.INFO: GPS Element Parsed {"raw_longitude":763102784,"raw_latitude":98268528,"longitude_deg":76.3102784,"latitude_deg":9.8268528,"altitude":10,"angle":42,"satellites":35,"speed":5,"hex_longitude":"2d7c0640","hex_latitude":"05db7570","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898721792001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128851320982470656,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936760166975799296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:23] 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-09-06 09:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788666884000,"timestamp_ms":1788666884000,"timestamp_seconds":1788666884,"priority":1,"record_length":96,"hex_timestamp":"000001a074daafa0"} 
[2026-09-06 09:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-06 09:25:23] 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-09-06 09: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-09-06 09:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:25:23] 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-09-06 09:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898721792001,"66":12667,"24":5,"16":128851320982470656,"45":8936760166975799296},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-06 09:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898721792001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128851320982470656,"km_value":128851320982470.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936760166975799296,"description":"Unknown IO ID 45"} 
[2026-09-06 09:25:23] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457898721792001,"power":12667,"ignition":5,"odometer":null,"unknown_45":8936760166975799296}} 
[2026-09-06 09:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":172364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:25:23] local.INFO: GPS data processed {"connection_id":172364,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:25:23] local.INFO: Acknowledgment sent {"connection_id":172364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:25:24] local.INFO: TCP Data received {"connection_id":172364,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074dabb58012d7c078005db75a0000a005f22..."} 
[2026-09-06 09:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dabb58012d7c078005db75a0000a005f22..."} 
[2026-09-06 09:25:24] local.INFO: Processing buffer {"connection_id":172364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dabb58012d7c078005db75a0000a005f22..."} 
[2026-09-06 09:25:24] local.INFO: Packet analysis {"connection_id":172364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:25:24] local.INFO: Extracted packet for processing {"connection_id":172364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:25:24] local.INFO: GPS Element Parsed {"raw_longitude":763103104,"raw_latitude":98268576,"longitude_deg":76.3103104,"latitude_deg":9.8268576,"altitude":10,"angle":95,"satellites":34,"speed":5,"hex_longitude":"2d7c0780","hex_latitude":"05db75a0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898722304001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128851338162339840,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936900904464248832,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:24] 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-09-06 09:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788666887000,"timestamp_ms":1788666887000,"timestamp_seconds":1788666887,"priority":1,"record_length":96,"hex_timestamp":"000001a074dabb58"} 
[2026-09-06 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-09-06 09:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-06 09:25:24] 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-09-06 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-09-06 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-09-06 09:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:25:24] 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-09-06 09:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898722304001,"66":13406,"168":206,"85":15104,"24":5,"16":128851338162339840,"45":8936900904464248832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 09:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898722304001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:25:24] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 09:25:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128851338162339840,"km_value":128851338162339.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936900904464248832,"description":"Unknown IO ID 45"} 
[2026-09-06 09:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898722304001,"power":13406,"unknown_168":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8936900904464248832}} 
[2026-09-06 09:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":172364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:25:24] local.INFO: GPS data processed {"connection_id":172364,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:25:24] local.INFO: Acknowledgment sent {"connection_id":172364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:25:29] local.INFO: TCP Data received {"connection_id":175054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074da2eb8012d4cee0006535310000a01412a..."} 
[2026-09-06 09:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074da2eb8012d4cee0006535310000a01412a..."} 
[2026-09-06 09:25:29] local.INFO: Processing buffer {"connection_id":175054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074da2eb8012d4cee0006535310000a01412a..."} 
[2026-09-06 09:25:29] local.INFO: Packet analysis {"connection_id":175054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:25:29] local.INFO: Extracted packet for processing {"connection_id":175054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:25:29] local.INFO: GPS Element Parsed {"raw_longitude":760016384,"raw_latitude":106124048,"longitude_deg":76.0016384,"latitude_deg":10.6124048,"altitude":10,"angle":321,"satellites":42,"speed":48,"hex_longitude":"2d4cee00","hex_latitude":"06535310","is_valid_coordinates":true} 
[2026-09-06 09:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898711808001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400291677836673024,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5549982880458119168,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25: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-09-06 09:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788666851000,"timestamp_ms":1788666851000,"timestamp_seconds":1788666851,"priority":1,"record_length":96,"hex_timestamp":"000001a074da2eb8"} 
[2026-09-06 09:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09: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-09-06 09:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898711808001,"66":27626,"143":206,"78":62464,"24":48,"16":400291677836673024,"45":5549982880458119168},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-09-06 09:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898711808001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:25:29] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-06 09:25:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400291677836673024,"km_value":400291677836673.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5549982880458119168,"description":"Unknown IO ID 45"} 
[2026-09-06 09:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898711808001,"power":27626,"unknown_143":206,"unknown_78":62464,"ignition":48,"odometer":null,"unknown_45":5549982880458119168}} 
[2026-09-06 09:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":175054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:25:29] local.INFO: GPS data processed {"connection_id":175054,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:25:29] local.INFO: Acknowledgment sent {"connection_id":175054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:25:46] local.INFO: TCP Data received {"connection_id":172363,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074db01a8012d19184007245368004600661e..."} 
[2026-09-06 09:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074db01a8012d19184007245368004600661e..."} 
[2026-09-06 09:25:46] local.INFO: Processing buffer {"connection_id":172363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074db01a8012d19184007245368004600661e..."} 
[2026-09-06 09:25:46] local.INFO: Packet analysis {"connection_id":172363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074db"} 
[2026-09-06 09:25:46] local.INFO: Extracted packet for processing {"connection_id":172363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074db"} 
[2026-09-06 09:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756619328,"raw_latitude":119821160,"longitude_deg":75.6619328,"latitude_deg":11.982116,"altitude":70,"angle":102,"satellites":30,"speed":9,"hex_longitude":"2d191840","hex_latitude":"07245368","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898727424001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18134159377563648,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1808054543575134208,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:46] 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-09-06 09:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788666905000,"timestamp_ms":1788666905000,"timestamp_seconds":1788666905,"priority":1,"record_length":96,"hex_timestamp":"000001a074db01a8"} 
[2026-09-06 09:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:25:46] 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-09-06 09: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-06 09:25:46] 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-09-06 09: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-09-06 09:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898727424001,"66":14135,"186":206,"83":42752,"24":9,"16":18134159377563648,"45":1808054543575134208},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-06 09:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898727424001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:25:46] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 09:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 09:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18134159377563648,"km_value":18134159377563.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1808054543575134208,"description":"Unknown IO ID 45"} 
[2026-09-06 09:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898727424001,"power":14135,"unknown_186":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1808054543575134208}} 
[2026-09-06 09:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":172363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:25:46] local.INFO: GPS data processed {"connection_id":172363,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:25:46] local.INFO: Acknowledgment sent {"connection_id":172363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:25:47] local.INFO: TCP Data received {"connection_id":172592,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:25:47] local.INFO: Processing buffer {"connection_id":172592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:25:47] local.INFO: IMEI packet received {"connection_id":172592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":172592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:25:48] local.INFO: TCP Data received {"connection_id":172592,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:25:48] local.INFO: Processing buffer {"connection_id":172592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:25:48] local.INFO: IMEI packet received {"connection_id":172592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":172592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:25:53] local.INFO: TCP Data received {"connection_id":172592,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:25:53] local.INFO: Processing buffer {"connection_id":172592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:25:53] local.INFO: IMEI packet received {"connection_id":172592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":172592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:25:54] local.INFO: TCP Data received {"connection_id":172592,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074da4df8012d4cd64006537208000901432c..."} 
[2026-09-06 09:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074da4df8012d4cd64006537208000901432c..."} 
[2026-09-06 09:25:54] local.INFO: Processing buffer {"connection_id":172592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074da4df8012d4cd64006537208000901432c..."} 
[2026-09-06 09:25:54] local.INFO: Packet analysis {"connection_id":172592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:25:54] local.INFO: Extracted packet for processing {"connection_id":172592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:25:54] local.INFO: GPS Element Parsed {"raw_longitude":760010304,"raw_latitude":106131976,"longitude_deg":76.0010304,"latitude_deg":10.6131976,"altitude":9,"angle":323,"satellites":44,"speed":50,"hex_longitude":"2d4cd640","hex_latitude":"06537208","is_valid_coordinates":true} 
[2026-09-06 09:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898713856001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400292163167977472,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5543368218507415552,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:54] 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-09-06 09:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788666859000,"timestamp_ms":1788666859000,"timestamp_seconds":1788666859,"priority":1,"record_length":96,"hex_timestamp":"000001a074da4df8"} 
[2026-09-06 09:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:25: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-09-06 09:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-06 09:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:25: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-09-06 09:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898713856001,"66":27767,"143":206,"78":62464,"24":50,"16":400292163167977472,"45":5543368218507415552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-09-06 09:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898713856001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:25:54] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-06 09:25:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400292163167977472,"km_value":400292163167977.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5543368218507415552,"description":"Unknown IO ID 45"} 
[2026-09-06 09:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898713856001,"power":27767,"unknown_143":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5543368218507415552}} 
[2026-09-06 09:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":172592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:25:54] local.INFO: GPS data processed {"connection_id":172592,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:25:54] local.INFO: Acknowledgment sent {"connection_id":172592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:25:55] local.INFO: TCP Data received {"connection_id":172364,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074dabf40012d7c080005db7570000a007722..."} 
[2026-09-06 09:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dabf40012d7c080005db7570000a007722..."} 
[2026-09-06 09:25:55] local.INFO: Processing buffer {"connection_id":172364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dabf40012d7c080005db7570000a007722..."} 
[2026-09-06 09:25:55] local.INFO: Packet analysis {"connection_id":172364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:25:55] local.INFO: Extracted packet for processing {"connection_id":172364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:25:55] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":98268528,"longitude_deg":76.3103232,"latitude_deg":9.8268528,"altitude":10,"angle":119,"satellites":34,"speed":7,"hex_longitude":"2d7c0800","hex_latitude":"05db7570","is_valid_coordinates":true} 
[2026-09-06 09:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898723072001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128851346752274432,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937252748185149440,"note":"Value kept but may cause issues"} 
[2026-09-06 09:25:55] 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-09-06 09:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788666888000,"timestamp_ms":1788666888000,"timestamp_seconds":1788666888,"priority":1,"record_length":96,"hex_timestamp":"000001a074dabf40"} 
[2026-09-06 09:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-06 09:25:55] 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-09-06 09:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:25:55] 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-09-06 09:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898723072001,"66":13406,"168":206,"85":15104,"24":7,"16":128851346752274432,"45":8937252748185149440},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 09:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898723072001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:25:55] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 09:25:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128851346752274432,"km_value":128851346752274.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937252748185149440,"description":"Unknown IO ID 45"} 
[2026-09-06 09:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898723072001,"power":13406,"unknown_168":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8937252748185149440}} 
[2026-09-06 09:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":172364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:25:55] local.INFO: GPS data processed {"connection_id":172364,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:25:55] local.INFO: Acknowledgment sent {"connection_id":172364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:26:09] local.INFO: TCP Data received {"connection_id":175055,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:26:09] local.INFO: Processing buffer {"connection_id":175055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:26:09] local.INFO: IMEI packet received {"connection_id":175055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":175055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:26:14] local.INFO: TCP Data received {"connection_id":175055,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:26:14] local.INFO: Processing buffer {"connection_id":175055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:26:14] local.INFO: IMEI packet received {"connection_id":175055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":175055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:26:14] local.INFO: TCP Data received {"connection_id":172593,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:26:14] local.INFO: Processing buffer {"connection_id":172593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:26:14] local.INFO: IMEI packet received {"connection_id":172593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":172593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:26:15] local.INFO: TCP Data received {"connection_id":175055,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074db0590012d19194007245358004600561f..."} 
[2026-09-06 09:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074db0590012d19194007245358004600561f..."} 
[2026-09-06 09:26:15] local.INFO: Processing buffer {"connection_id":175055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074db0590012d19194007245358004600561f..."} 
[2026-09-06 09:26:15] local.INFO: Packet analysis {"connection_id":175055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074db"} 
[2026-09-06 09:26:15] local.INFO: Extracted packet for processing {"connection_id":175055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074db"} 
[2026-09-06 09:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756619584,"raw_latitude":119821144,"longitude_deg":75.6619584,"latitude_deg":11.9821144,"altitude":70,"angle":86,"satellites":31,"speed":8,"hex_longitude":"2d191940","hex_latitude":"07245358","is_valid_coordinates":true} 
[2026-09-06 09:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898727680001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18134172262465536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1808265649807648768,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:15] 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-09-06 09:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788666906000,"timestamp_ms":1788666906000,"timestamp_seconds":1788666906,"priority":1,"record_length":96,"hex_timestamp":"000001a074db0590"} 
[2026-09-06 09:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:26:15] 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-09-06 09:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-06 09:26:15] 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-09-06 09:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898727680001,"66":13580,"186":206,"83":42752,"24":8,"16":18134172262465536,"45":1808265649807648768},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-06 09:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898727680001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:26:15] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 09:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 09:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18134172262465536,"km_value":18134172262465.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1808265649807648768,"description":"Unknown IO ID 45"} 
[2026-09-06 09:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898727680001,"power":13580,"unknown_186":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1808265649807648768}} 
[2026-09-06 09:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":175055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:26:15] local.INFO: GPS data processed {"connection_id":175055,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:26:15] local.INFO: Acknowledgment sent {"connection_id":175055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:26:17] local.INFO: TCP Data received {"connection_id":172593,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:26:17] local.INFO: Processing buffer {"connection_id":172593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:26:17] local.INFO: IMEI packet received {"connection_id":172593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":172593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:26:21] local.INFO: TCP Data received {"connection_id":172593,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:26:22] local.INFO: Processing buffer {"connection_id":172593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:26:22] local.INFO: IMEI packet received {"connection_id":172593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":172593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:26:22] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074db4410012c85168009601020029401362b..."} 
[2026-09-06 09:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074db4410012c85168009601020029401362b..."} 
[2026-09-06 09:26:22] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074db4410012c85168009601020029401362b..."} 
[2026-09-06 09:26:22] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074db"} 
[2026-09-06 09:26:22] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074db"} 
[2026-09-06 09:26:22] local.INFO: GPS Element Parsed {"raw_longitude":746919552,"raw_latitude":157290528,"longitude_deg":74.6919552,"latitude_deg":15.7290528,"altitude":660,"angle":310,"satellites":43,"speed":59,"hex_longitude":"2c851680","hex_latitude":"09601020","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898730240001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2218359198318592,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8848376958867378174,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788666922000,"timestamp_ms":1788666922000,"timestamp_seconds":1788666922,"priority":1,"record_length":96,"hex_timestamp":"000001a074db4410"} 
[2026-09-06 09:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 09:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898730240001,"66":28104,"214":206,"9":8192,"24":59,"16":2218359198318592,"44":-8848376958867378174},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,9,24,16,44]} 
[2026-09-06 09:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898730240001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:26:22] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-06 09:26:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":8192,"description":"Unknown IO ID 9"} 
[2026-09-06 09:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2218359198318592,"km_value":2218359198318.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:26:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8848376958867378174,"description":"Unknown IO ID 44"} 
[2026-09-06 09:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898730240001,"power":28104,"unknown_214":206,"unknown_9":8192,"ignition":59,"odometer":null,"unknown_44":-8848376958867378174}} 
[2026-09-06 09:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:26:22] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:26:22] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:26:22] local.INFO: TCP Data received {"connection_id":172593,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074dac328012d7c090005db75000009009222..."} 
[2026-09-06 09:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dac328012d7c090005db75000009009222..."} 
[2026-09-06 09:26:22] local.INFO: Processing buffer {"connection_id":172593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dac328012d7c090005db75000009009222..."} 
[2026-09-06 09:26:22] local.INFO: Packet analysis {"connection_id":172593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:26:22] local.INFO: Extracted packet for processing {"connection_id":172593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:26:22] local.INFO: GPS Element Parsed {"raw_longitude":763103488,"raw_latitude":98268416,"longitude_deg":76.3103488,"latitude_deg":9.8268416,"altitude":9,"angle":146,"satellites":34,"speed":10,"hex_longitude":"2d7c0900","hex_latitude":"05db7500","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898723328001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128851359637176320,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485673492480,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:22] 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-09-06 09:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788666889000,"timestamp_ms":1788666889000,"timestamp_seconds":1788666889,"priority":1,"record_length":96,"hex_timestamp":"000001a074dac328"} 
[2026-09-06 09:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-06 09:26:22] 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-09-06 09: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-09-06 09:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:26:22] 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-09-06 09:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898723328001,"66":13450,"168":206,"85":15104,"24":10,"16":128851359637176320,"45":8937393485673492480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 09:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898723328001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:26:22] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 09:26:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128851359637176320,"km_value":128851359637176.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485673492480,"description":"Unknown IO ID 45"} 
[2026-09-06 09:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898723328001,"power":13450,"unknown_168":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8937393485673492480}} 
[2026-09-06 09:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":172593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:26:22] local.INFO: GPS data processed {"connection_id":172593,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:26:22] local.INFO: Acknowledgment sent {"connection_id":172593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:26:22] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074db5b80012c84f980096025d0029301312a..."} 
[2026-09-06 09:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074db5b80012c84f980096025d0029301312a..."} 
[2026-09-06 09:26:22] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074db5b80012c84f980096025d0029301312a..."} 
[2026-09-06 09:26:22] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074db"} 
[2026-09-06 09:26:22] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074db"} 
[2026-09-06 09:26:22] local.INFO: GPS Element Parsed {"raw_longitude":746912128,"raw_latitude":157296080,"longitude_deg":74.6912128,"latitude_deg":15.729608,"altitude":659,"angle":305,"satellites":42,"speed":59,"hex_longitude":"2c84f980","hex_latitude":"096025d0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898732032001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2218797284982784,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8856750839422771198,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788666928000,"timestamp_ms":1788666928000,"timestamp_seconds":1788666928,"priority":1,"record_length":96,"hex_timestamp":"000001a074db5b80"} 
[2026-09-06 09:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898732032001,"66":27800,"41":206,"9":7680,"24":59,"16":2218797284982784,"44":-8856750839422771198},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,9,24,16,44]} 
[2026-09-06 09:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898732032001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:26:22] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-06 09:26:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2218797284982784,"km_value":2218797284982.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:26:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8856750839422771198,"description":"Unknown IO ID 44"} 
[2026-09-06 09:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898732032001,"power":27800,"unknown_41":206,"unknown_9":7680,"ignition":59,"odometer":null,"unknown_44":-8856750839422771198}} 
[2026-09-06 09:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773427,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:26:22] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:26:22] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:26:26] local.INFO: TCP Data received {"connection_id":172592,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a074da6d38012d4cbf8006539048000b01442b..."} 
[2026-09-06 09:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074da6d38012d4cbf8006539048000b01442b..."} 
[2026-09-06 09:26:26] local.INFO: Processing buffer {"connection_id":172592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074da6d38012d4cbf8006539048000b01442b..."} 
[2026-09-06 09:26:26] local.INFO: Packet analysis {"connection_id":172592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:26:26] local.INFO: Extracted packet for processing {"connection_id":172592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:26:26] local.INFO: GPS Element Parsed {"raw_longitude":760004480,"raw_latitude":106139720,"longitude_deg":76.000448,"latitude_deg":10.613972,"altitude":11,"angle":324,"satellites":43,"speed":46,"hex_longitude":"2d4cbf80","hex_latitude":"06539048","is_valid_coordinates":true} 
[2026-09-06 09:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898715904001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400292627024445440,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5536683187812567040,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:26] 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-09-06 09:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788666867000,"timestamp_ms":1788666867000,"timestamp_seconds":1788666867,"priority":1,"record_length":96,"hex_timestamp":"000001a074da6d38"} 
[2026-09-06 09:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:26: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-09-06 09:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:26:26] 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-09-06 09:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:26: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-09-06 09:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898715904001,"66":27800,"143":206,"78":62464,"24":46,"16":400292627024445440,"45":5536683187812567040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-09-06 09:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898715904001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:26:26] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-06 09:26:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400292627024445440,"km_value":400292627024445.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5536683187812567040,"description":"Unknown IO ID 45"} 
[2026-09-06 09:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898715904001,"power":27800,"unknown_143":206,"unknown_78":62464,"ignition":46,"odometer":null,"unknown_45":5536683187812567040}} 
[2026-09-06 09:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":172592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:26:26] local.INFO: GPS data processed {"connection_id":172592,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:26:26] local.INFO: Acknowledgment sent {"connection_id":172592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:26:46] local.INFO: TCP Data received {"connection_id":175055,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074db0978012d1919c007245380004700461f..."} 
[2026-09-06 09:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074db0978012d1919c007245380004700461f..."} 
[2026-09-06 09:26:46] local.INFO: Processing buffer {"connection_id":175055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074db0978012d1919c007245380004700461f..."} 
[2026-09-06 09:26:46] local.INFO: Packet analysis {"connection_id":175055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074db"} 
[2026-09-06 09:26:46] local.INFO: Extracted packet for processing {"connection_id":175055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074db"} 
[2026-09-06 09:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756619712,"raw_latitude":119821184,"longitude_deg":75.6619712,"latitude_deg":11.9821184,"altitude":71,"angle":70,"satellites":31,"speed":5,"hex_longitude":"2d1919c0","hex_latitude":"07245380","is_valid_coordinates":true} 
[2026-09-06 09:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898727936001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18134180852400128,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1808547124784355328,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:46] 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-09-06 09:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788666907000,"timestamp_ms":1788666907000,"timestamp_seconds":1788666907,"priority":1,"record_length":96,"hex_timestamp":"000001a074db0978"} 
[2026-09-06 09:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:26:46] 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-09-06 09:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 09:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751530092,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:46] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:46] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3672526849,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:46] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638152328373690,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1706688718,"corrected_to":0} 
[2026-09-06 09:26:46] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:46] local.WARNING: Large IO value detected {"io_id":20,"raw_value":3221693529,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:46] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:46] local.WARNING: Large IO value detected {"io_id":25,"raw_value":972785372224290878,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:46] local.WARNING: Large IO value detected {"io_id":55,"raw_value":1585492905630420563,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:46] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,186,83,24,241,157,16,108,160,1,45,64,70,30,10,66,253,128,238,240,77,227,116,36,4,113,205,9,222,20,33,239,52,2,7,67,8,25,55,167],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1706688718,"validated":0}]} 
[2026-09-06 09:26:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044126273799454720,"timestamp_seconds":5044126273799455.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 09:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898727936001,"66":13580,"186":206,"83":42752,"24":5,"16":18134180852400128,"45":1808547124784355328},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-06 09:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898727936001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:26:46] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 09:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 09:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18134180852400128,"km_value":18134180852400.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1808547124784355328,"description":"Unknown IO ID 45"} 
[2026-09-06 09:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898727936001,"power":13580,"unknown_186":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1808547124784355328}} 
[2026-09-06 09:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":175055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:26:46] local.INFO: GPS data processed {"connection_id":175055,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:26:46] local.INFO: Acknowledgment sent {"connection_id":175055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:26:53] local.INFO: TCP Data received {"connection_id":172593,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074dc6138012d7c740005d9f168000000af20..."} 
[2026-09-06 09:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dc6138012d7c740005d9f168000000af20..."} 
[2026-09-06 09:26:53] local.INFO: Processing buffer {"connection_id":172593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dc6138012d7c740005d9f168000000af20..."} 
[2026-09-06 09:26:53] local.INFO: Packet analysis {"connection_id":172593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:26:53] local.INFO: Extracted packet for processing {"connection_id":172593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:26:53] local.INFO: GPS Element Parsed {"raw_longitude":763130880,"raw_latitude":98169192,"longitude_deg":76.313088,"latitude_deg":9.8169192,"altitude":0,"angle":175,"satellites":32,"speed":53,"hex_longitude":"2d7c7400","hex_latitude":"05d9f168","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898748928001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128856354684141568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966033564530720768,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:53] 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-09-06 09:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788666995000,"timestamp_ms":1788666995000,"timestamp_seconds":1788666995,"priority":1,"record_length":96,"hex_timestamp":"000001a074dc6138"} 
[2026-09-06 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-09-06 09:26: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-09-06 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 09:26:53] 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-09-06 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-09-06 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-09-06 09:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:26:53] 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-09-06 09:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898748928001,"66":13678,"187":206,"85":15104,"24":53,"16":128856354684141568,"45":8966033564530720768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 09:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898748928001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:26:53] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 09:26:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128856354684141568,"km_value":128856354684141.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966033564530720768,"description":"Unknown IO ID 45"} 
[2026-09-06 09:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898748928001,"power":13678,"unknown_187":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8966033564530720768}} 
[2026-09-06 09:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":172593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:26:53] local.INFO: GPS data processed {"connection_id":172593,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:26:53] local.INFO: Acknowledgment sent {"connection_id":172593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:26:54] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074db76d8012c84d6c009603b900291012c2a..."} 
[2026-09-06 09:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074db76d8012c84d6c009603b900291012c2a..."} 
[2026-09-06 09:26:54] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074db76d8012c84d6c009603b900291012c2a..."} 
[2026-09-06 09:26:54] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074db"} 
[2026-09-06 09:26:54] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074db"} 
[2026-09-06 09:26:54] local.INFO: GPS Element Parsed {"raw_longitude":746903232,"raw_latitude":157301648,"longitude_deg":74.6903232,"latitude_deg":15.7301648,"altitude":657,"angle":300,"satellites":42,"speed":58,"hex_longitude":"2c84d6c0","hex_latitude":"09603b90","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898733568001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2219295501189120,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8864913613745958910,"note":"Value kept but may cause issues"} 
[2026-09-06 09:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788666935000,"timestamp_ms":1788666935000,"timestamp_seconds":1788666935,"priority":1,"record_length":96,"hex_timestamp":"000001a074db76d8"} 
[2026-09-06 09:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09: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-09-06 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 09:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898733568001,"66":28104,"41":206,"9":7680,"24":58,"16":2219295501189120,"44":-8864913613745958910},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,9,24,16,44]} 
[2026-09-06 09:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898733568001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:26:54] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-06 09:26:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2219295501189120,"km_value":2219295501189.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:26:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8864913613745958910,"description":"Unknown IO ID 44"} 
[2026-09-06 09:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898733568001,"power":28104,"unknown_41":206,"unknown_9":7680,"ignition":58,"odometer":null,"unknown_44":-8864913613745958910}} 
[2026-09-06 09:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773431,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:26:54] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:26:54] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:27:09] local.INFO: TCP Data received {"connection_id":172594,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:27:09] local.INFO: Processing buffer {"connection_id":172594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:27:09] local.INFO: IMEI packet received {"connection_id":172594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":172594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:27:12] local.INFO: TCP Data received {"connection_id":172594,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:27:12] local.INFO: Processing buffer {"connection_id":172594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:27:12] local.INFO: IMEI packet received {"connection_id":172594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":172594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:27:13] local.INFO: TCP Data received {"connection_id":172594,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074db0d60012d191a80072453e00047002f1f..."} 
[2026-09-06 09:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074db0d60012d191a80072453e00047002f1f..."} 
[2026-09-06 09:27:13] local.INFO: Processing buffer {"connection_id":172594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074db0d60012d191a80072453e00047002f1f..."} 
[2026-09-06 09:27:13] local.INFO: Packet analysis {"connection_id":172594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074db"} 
[2026-09-06 09:27:13] local.INFO: Extracted packet for processing {"connection_id":172594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074db"} 
[2026-09-06 09:27:13] local.INFO: GPS Element Parsed {"raw_longitude":756619904,"raw_latitude":119821280,"longitude_deg":75.6619904,"latitude_deg":11.982128,"altitude":71,"angle":47,"satellites":31,"speed":5,"hex_longitude":"2d191a80","hex_latitude":"072453e0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898728192001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18134189442334720,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1808687862272720896,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:13] 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-09-06 09:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788666908000,"timestamp_ms":1788666908000,"timestamp_seconds":1788666908,"priority":1,"record_length":96,"hex_timestamp":"000001a074db0d60"} 
[2026-09-06 09:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:27:13] 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-09-06 09: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 09:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751530092,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:13] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:13] local.WARNING: Large IO value detected {"io_id":55,"raw_value":5548660577716457043,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:13] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3673038849,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:13] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634742124340666,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1706688718,"corrected_to":0} 
[2026-09-06 09:27:13] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2147951704,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:13] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:13] local.WARNING: Large IO value detected {"io_id":25,"raw_value":1441159733476589635,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:13] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:13] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,186,83,24,241,157,16,108,160,5,45,64,70,31,10,66,1,30,253,128,240,55,227,116,36,4,113,205,9,230,21,136,239,2,7,67,8,25,167],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1706688718,"validated":0}]} 
[2026-09-06 09:27:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116166275651141632,"timestamp_seconds":5116166275651142.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 09:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898728192001,"66":14157,"186":206,"83":42752,"24":5,"16":18134189442334720,"45":1808687862272720896},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-06 09:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898728192001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:27:13] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 09:27:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 09:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18134189442334720,"km_value":18134189442334.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1808687862272720896,"description":"Unknown IO ID 45"} 
[2026-09-06 09:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898728192001,"power":14157,"unknown_186":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1808687862272720896}} 
[2026-09-06 09:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":172594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:27:13] local.INFO: GPS data processed {"connection_id":172594,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:27:13] local.INFO: Acknowledgment sent {"connection_id":172594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:27:17] local.INFO: TCP Data received {"connection_id":175056,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:27:17] local.INFO: Processing buffer {"connection_id":175056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:27:17] local.INFO: IMEI packet received {"connection_id":175056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":175056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:27:20] local.INFO: TCP Data received {"connection_id":175056,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:27:20] local.INFO: Processing buffer {"connection_id":175056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:27:20] local.INFO: IMEI packet received {"connection_id":175056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":175056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:27:21] local.INFO: TCP Data received {"connection_id":175056,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:27:21] local.INFO: Processing buffer {"connection_id":175056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:27:21] local.INFO: IMEI packet received {"connection_id":175056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":175056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:27:22] local.INFO: TCP Data received {"connection_id":175056,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074dc7c90012d7c7a0005d9ce08000000af1e..."} 
[2026-09-06 09:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dc7c90012d7c7a0005d9ce08000000af1e..."} 
[2026-09-06 09:27:22] local.INFO: Processing buffer {"connection_id":175056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dc7c90012d7c7a0005d9ce08000000af1e..."} 
[2026-09-06 09:27:22] local.INFO: Packet analysis {"connection_id":175056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:27:22] local.INFO: Extracted packet for processing {"connection_id":175056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:27:22] local.INFO: GPS Element Parsed {"raw_longitude":763132416,"raw_latitude":98160136,"longitude_deg":76.3132416,"latitude_deg":9.8160136,"altitude":0,"angle":175,"satellites":30,"speed":53,"hex_longitude":"2d7c7a00","hex_latitude":"05d9ce08","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898750720001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128856801360740352,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967792783132813312,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:22] 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-09-06 09:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788667002000,"timestamp_ms":1788667002000,"timestamp_seconds":1788667002,"priority":1,"record_length":96,"hex_timestamp":"000001a074dc7c90"} 
[2026-09-06 09:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 09:27:22] 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-09-06 09: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-09-06 09:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:27:22] 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-09-06 09:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898750720001,"66":13798,"187":206,"85":15104,"24":53,"16":128856801360740352,"45":8967792783132813312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 09:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898750720001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:27:22] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 09:27:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128856801360740352,"km_value":128856801360740.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967792783132813312,"description":"Unknown IO ID 45"} 
[2026-09-06 09:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898750720001,"power":13798,"unknown_187":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8967792783132813312}} 
[2026-09-06 09:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":175056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:27:23] local.INFO: GPS data processed {"connection_id":175056,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:27:23] local.INFO: Acknowledgment sent {"connection_id":175056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:27:44] local.INFO: TCP Data received {"connection_id":172594,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074dc5d50012d1922c007241ac8005f00c625..."} 
[2026-09-06 09:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dc5d50012d1922c007241ac8005f00c625..."} 
[2026-09-06 09:27:44] local.INFO: Processing buffer {"connection_id":172594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dc5d50012d1922c007241ac8005f00c625..."} 
[2026-09-06 09:27:44] local.INFO: Packet analysis {"connection_id":172594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:27:44] local.INFO: Extracted packet for processing {"connection_id":172594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:27:44] local.INFO: GPS Element Parsed {"raw_longitude":756622016,"raw_latitude":119806664,"longitude_deg":75.6622016,"latitude_deg":11.9806664,"altitude":95,"angle":198,"satellites":37,"speed":3,"hex_longitude":"2d1922c0","hex_latitude":"07241ac8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898750208001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18135155809976320,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811291505803601920,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788666994000,"timestamp_ms":1788666994000,"timestamp_seconds":1788666994,"priority":1,"record_length":96,"hex_timestamp":"000001a074dc5d50"} 
[2026-09-06 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-09-06 09:27:44] 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-09-06 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-06 09:27:44] 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-09-06 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-09-06 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-09-06 09:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":172594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":172594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":172594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898750208001,"66":14048,"186":206,"83":42752,"24":3,"16":18135155809976320,"45":1811291505803601920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-06 09:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898750208001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:27:44] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 09:27:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 09:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18135155809976320,"km_value":18135155809976.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811291505803601920,"description":"Unknown IO ID 45"} 
[2026-09-06 09:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898750208001,"power":14048,"unknown_186":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1811291505803601920}} 
[2026-09-06 09:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":172594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:27:44] local.INFO: GPS data processed {"connection_id":172594,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:27:44] local.INFO: Acknowledgment sent {"connection_id":172594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:27:48] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074dcda50012c82de000960e9400282012029..."} 
[2026-09-06 09:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dcda50012c82de000960e9400282012029..."} 
[2026-09-06 09:27:48] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dcda50012c82de000960e9400282012029..."} 
[2026-09-06 09:27:48] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:27:48] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:27:48] local.INFO: GPS Element Parsed {"raw_longitude":746774016,"raw_latitude":157346112,"longitude_deg":74.6774016,"latitude_deg":15.7346112,"altitude":642,"angle":288,"satellites":41,"speed":57,"hex_longitude":"2c82de00","hex_latitude":"0960e940","is_valid_coordinates":true} 
[2026-09-06 09:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898756864001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2225703592394752,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-9005791839577673726,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788667026000,"timestamp_ms":1788667026000,"timestamp_seconds":1788667026,"priority":1,"record_length":96,"hex_timestamp":"000001a074dcda50"} 
[2026-09-06 09:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898756864001,"66":28137,"75":206,"9":7680,"24":57,"16":2225703592394752,"44":-9005791839577673726},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,9,24,16,44]} 
[2026-09-06 09:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898756864001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:27:48] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-06 09:27:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2225703592394752,"km_value":2225703592394.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:27:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-9005791839577673726,"description":"Unknown IO ID 44"} 
[2026-09-06 09:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898756864001,"power":28137,"unknown_75":206,"unknown_9":7680,"ignition":57,"odometer":null,"unknown_44":-9005791839577673726}} 
[2026-09-06 09:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773435,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:27:48] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:27:48] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:27:53] local.INFO: TCP Data received {"connection_id":175056,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074dc97e8012d7c7c8005d9aaa8000000b11f..."} 
[2026-09-06 09:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dc97e8012d7c7c8005d9aaa8000000b11f..."} 
[2026-09-06 09:27:53] local.INFO: Processing buffer {"connection_id":175056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dc97e8012d7c7c8005d9aaa8000000b11f..."} 
[2026-09-06 09:27:53] local.INFO: Packet analysis {"connection_id":175056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:27:53] local.INFO: Extracted packet for processing {"connection_id":175056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:27:53] local.INFO: GPS Element Parsed {"raw_longitude":763133056,"raw_latitude":98151080,"longitude_deg":76.3133056,"latitude_deg":9.815108,"altitude":0,"angle":177,"satellites":31,"speed":51,"hex_longitude":"2d7c7c80","hex_latitude":"05d9aaa8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898752512001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128857239447404544,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969481632990758912,"note":"Value kept but may cause issues"} 
[2026-09-06 09:27:53] 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-09-06 09:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788667009000,"timestamp_ms":1788667009000,"timestamp_seconds":1788667009,"priority":1,"record_length":96,"hex_timestamp":"000001a074dc97e8"} 
[2026-09-06 09:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:27: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-09-06 09: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 09:27:53] 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-09-06 09: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-09-06 09:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:27:53] 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-09-06 09:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898752512001,"66":13559,"187":206,"85":15104,"24":51,"16":128857239447404544,"45":8969481632990758912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 09:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898752512001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:27:53] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 09:27:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128857239447404544,"km_value":128857239447404.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969481632990758912,"description":"Unknown IO ID 45"} 
[2026-09-06 09:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898752512001,"power":13559,"unknown_187":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8969481632990758912}} 
[2026-09-06 09:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":175056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:27:53] local.INFO: GPS data processed {"connection_id":175056,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:27:53] local.INFO: Acknowledgment sent {"connection_id":175056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:28:09] local.INFO: TCP Data received {"connection_id":172366,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:28:09] local.INFO: Processing buffer {"connection_id":172366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:28:09] local.INFO: IMEI packet received {"connection_id":172366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":172366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:28:13] local.INFO: TCP Data received {"connection_id":172366,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:28:13] local.INFO: Processing buffer {"connection_id":172366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:28:13] local.INFO: IMEI packet received {"connection_id":172366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":172366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:28:13] local.INFO: TCP Data received {"connection_id":172366,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074dc6520012d19224007241a08005f00dd26..."} 
[2026-09-06 09:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dc6520012d19224007241a08005f00dd26..."} 
[2026-09-06 09:28:13] local.INFO: Processing buffer {"connection_id":172366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dc6520012d19224007241a08005f00dd26..."} 
[2026-09-06 09:28:13] local.INFO: Packet analysis {"connection_id":172366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:28:13] local.INFO: Extracted packet for processing {"connection_id":172366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:28:13] local.INFO: GPS Element Parsed {"raw_longitude":756621888,"raw_latitude":119806472,"longitude_deg":75.6621888,"latitude_deg":11.9806472,"altitude":95,"angle":221,"satellites":38,"speed":4,"hex_longitude":"2d192240","hex_latitude":"07241a08","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898750464001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18135164399910912,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811221137059399680,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:13] 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-09-06 09:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788666996000,"timestamp_ms":1788666996000,"timestamp_seconds":1788666996,"priority":1,"record_length":96,"hex_timestamp":"000001a074dc6520"} 
[2026-09-06 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-09-06 09:28:13] 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-09-06 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-06 09:28:13] 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-09-06 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-09-06 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-09-06 09:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898750464001,"66":13993,"186":206,"83":42752,"24":4,"16":18135164399910912,"45":1811221137059399680},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-06 09:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898750464001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:28:13] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 09:28:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 09:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18135164399910912,"km_value":18135164399910.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811221137059399680,"description":"Unknown IO ID 45"} 
[2026-09-06 09:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898750464001,"power":13993,"unknown_186":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1811221137059399680}} 
[2026-09-06 09:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":172366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:28:14] local.INFO: GPS data processed {"connection_id":172366,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:28:14] local.INFO: Acknowledgment sent {"connection_id":172366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:28:16] local.INFO: TCP Data received {"connection_id":172595,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:28:16] local.INFO: Processing buffer {"connection_id":172595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:28:16] local.INFO: IMEI packet received {"connection_id":172595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":172595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:28:19] local.INFO: TCP Data received {"connection_id":172595,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:28:19] local.INFO: Processing buffer {"connection_id":172595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:28:19] local.INFO: IMEI packet received {"connection_id":172595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":172595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:28:21] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074dcf5a8012c82b6c00960f6100282012029..."} 
[2026-09-06 09:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dcf5a8012c82b6c00960f6100282012029..."} 
[2026-09-06 09:28:21] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dcf5a8012c82b6c00960f6100282012029..."} 
[2026-09-06 09:28:21] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:28:21] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:28:21] local.INFO: GPS Element Parsed {"raw_longitude":746763968,"raw_latitude":157349392,"longitude_deg":74.6763968,"latitude_deg":15.7349392,"altitude":642,"angle":288,"satellites":41,"speed":58,"hex_longitude":"2c82b6c0","hex_latitude":"0960f610","is_valid_coordinates":true} 
[2026-09-06 09:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898758656001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2226197513633792,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-9016769363668549630,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788667033000,"timestamp_ms":1788667033000,"timestamp_seconds":1788667033,"priority":1,"record_length":96,"hex_timestamp":"000001a074dcf5a8"} 
[2026-09-06 09:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 09:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898758656001,"66":28137,"75":206,"9":7680,"24":58,"16":2226197513633792,"44":-9016769363668549630},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,9,24,16,44]} 
[2026-09-06 09:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898758656001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:28:21] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-06 09:28:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2226197513633792,"km_value":2226197513633.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:28:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-9016769363668549630,"description":"Unknown IO ID 44"} 
[2026-09-06 09:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898758656001,"power":28137,"unknown_75":206,"unknown_9":7680,"ignition":58,"odometer":null,"unknown_44":-9016769363668549630}} 
[2026-09-06 09:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773438,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:28:21] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:28:21] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:28:22] local.INFO: TCP Data received {"connection_id":172595,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:28:22] local.INFO: Processing buffer {"connection_id":172595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:28:22] local.INFO: IMEI packet received {"connection_id":172595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":172595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:28:23] local.INFO: TCP Data received {"connection_id":172595,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074dcb340012d7c7f0005d985b0000000b31c..."} 
[2026-09-06 09:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dcb340012d7c7f0005d985b0000000b31c..."} 
[2026-09-06 09:28:23] local.INFO: Processing buffer {"connection_id":172595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dcb340012d7c7f0005d985b0000000b31c..."} 
[2026-09-06 09:28:23] local.INFO: Packet analysis {"connection_id":172595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:28:23] local.INFO: Extracted packet for processing {"connection_id":172595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:28:23] local.INFO: GPS Element Parsed {"raw_longitude":763133696,"raw_latitude":98141616,"longitude_deg":76.3133696,"latitude_deg":9.8141616,"altitude":0,"angle":179,"satellites":28,"speed":55,"hex_longitude":"2d7c7f00","hex_latitude":"05d985b0","is_valid_coordinates":true} 
[2026-09-06 09:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898754304001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128857699008905216,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970185320430217216,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:23] 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-09-06 09:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788667016000,"timestamp_ms":1788667016000,"timestamp_seconds":1788667016,"priority":1,"record_length":96,"hex_timestamp":"000001a074dcb340"} 
[2026-09-06 09:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:28: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-09-06 09:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 09:28:23] 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-09-06 09:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:28:23] 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-09-06 09:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898754304001,"66":13906,"187":206,"85":15104,"24":55,"16":128857699008905216,"45":8970185320430217216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 09:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898754304001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:28:23] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 09:28:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128857699008905216,"km_value":128857699008905.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970185320430217216,"description":"Unknown IO ID 45"} 
[2026-09-06 09:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898754304001,"power":13906,"unknown_187":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8970185320430217216}} 
[2026-09-06 09:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":172595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:28:23] local.INFO: GPS data processed {"connection_id":172595,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:28:23] local.INFO: Acknowledgment sent {"connection_id":172595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:28:48] local.INFO: TCP Data received {"connection_id":172366,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074dca3a0012d1913c007240760006200cf23..."} 
[2026-09-06 09:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dca3a0012d1913c007240760006200cf23..."} 
[2026-09-06 09:28:48] local.INFO: Processing buffer {"connection_id":172366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dca3a0012d1913c007240760006200cf23..."} 
[2026-09-06 09:28:48] local.INFO: Packet analysis {"connection_id":172366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:28:48] local.INFO: Extracted packet for processing {"connection_id":172366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:28:48] local.INFO: GPS Element Parsed {"raw_longitude":756618176,"raw_latitude":119801696,"longitude_deg":75.6618176,"latitude_deg":11.9801696,"altitude":98,"angle":207,"satellites":35,"speed":14,"hex_longitude":"2d1913c0","hex_latitude":"07240760","is_valid_coordinates":true} 
[2026-09-06 09:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898750976001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18135456457687040,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811080399570995200,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:48] 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-09-06 09:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788667012000,"timestamp_ms":1788667012000,"timestamp_seconds":1788667012,"priority":1,"record_length":96,"hex_timestamp":"000001a074dca3a0"} 
[2026-09-06 09:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:28:48] 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-09-06 09:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 09:28:48] 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-09-06 09:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":172366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":172366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":172366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898750976001,"66":13972,"186":206,"83":42752,"24":14,"16":18135456457687040,"45":1811080399570995200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-06 09:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898750976001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:28:48] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 09:28:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 09:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18135456457687040,"km_value":18135456457687.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811080399570995200,"description":"Unknown IO ID 45"} 
[2026-09-06 09:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898750976001,"power":13972,"unknown_186":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1811080399570995200}} 
[2026-09-06 09:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":172366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:28:48] local.INFO: GPS data processed {"connection_id":172366,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:28:48] local.INFO: Acknowledgment sent {"connection_id":172366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:28:53] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074de2270012c8124c0096191f00290012529..."} 
[2026-09-06 09:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074de2270012c8124c0096191f00290012529..."} 
[2026-09-06 09:28:53] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074de2270012c8124c0096191f00290012529..."} 
[2026-09-06 09:28:53] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:28:53] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:28:53] local.INFO: GPS Element Parsed {"raw_longitude":746661056,"raw_latitude":157389296,"longitude_deg":74.6661056,"latitude_deg":15.7389296,"altitude":656,"angle":293,"satellites":41,"speed":51,"hex_longitude":"2c8124c0","hex_latitude":"096191f0","is_valid_coordinates":true} 
[2026-09-06 09:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898778368001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2231377244192768,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-9131400047923847166,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788667110000,"timestamp_ms":1788667110000,"timestamp_seconds":1788667110,"priority":1,"record_length":96,"hex_timestamp":"000001a074de2270"} 
[2026-09-06 09:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:28: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-09-06 09:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 09:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898778368001,"66":28104,"75":206,"9":7680,"24":51,"16":2231377244192768,"44":-9131400047923847166},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,9,24,16,44]} 
[2026-09-06 09:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898778368001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:28:53] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-06 09:28:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2231377244192768,"km_value":2231377244192.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:28:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-9131400047923847166,"description":"Unknown IO ID 44"} 
[2026-09-06 09:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898778368001,"power":28104,"unknown_75":206,"unknown_9":7680,"ignition":51,"odometer":null,"unknown_44":-9131400047923847166}} 
[2026-09-06 09:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773441,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:28:53] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:28:53] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:28:54] local.INFO: TCP Data received {"connection_id":172595,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074de3210012d7ca64005d7cd88000000ad23..."} 
[2026-09-06 09:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074de3210012d7ca64005d7cd88000000ad23..."} 
[2026-09-06 09:28:54] local.INFO: Processing buffer {"connection_id":172595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074de3210012d7ca64005d7cd88000000ad23..."} 
[2026-09-06 09:28:54] local.INFO: Packet analysis {"connection_id":172595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:28:54] local.INFO: Extracted packet for processing {"connection_id":172595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763143744,"raw_latitude":98028936,"longitude_deg":76.3143744,"latitude_deg":9.8028936,"altitude":0,"angle":173,"satellites":35,"speed":43,"hex_longitude":"2d7ca640","hex_latitude":"05d7cd88","is_valid_coordinates":true} 
[2026-09-06 09:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898778880001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128863192272076800,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981233213237184512,"note":"Value kept but may cause issues"} 
[2026-09-06 09:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788667114000,"timestamp_ms":1788667114000,"timestamp_seconds":1788667114,"priority":1,"record_length":96,"hex_timestamp":"000001a074de3210"} 
[2026-09-06 09:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 09:28:54] 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-09-06 09:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:28:54] 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-09-06 09:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898778880001,"66":13906,"196":206,"85":15104,"24":43,"16":128863192272076800,"45":8981233213237184512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-09-06 09:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898778880001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:28:54] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-06 09:28:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128863192272076800,"km_value":128863192272076.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981233213237184512,"description":"Unknown IO ID 45"} 
[2026-09-06 09:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898778880001,"power":13906,"unknown_196":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8981233213237184512}} 
[2026-09-06 09:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":172595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:28:54] local.INFO: GPS data processed {"connection_id":172595,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:28:54] local.INFO: Acknowledgment sent {"connection_id":172595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:29:11] local.INFO: TCP Data received {"connection_id":173740,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:29:11] local.INFO: Processing buffer {"connection_id":173740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:29:11] local.INFO: IMEI packet received {"connection_id":173740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":173740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:29:11] local.INFO: TCP Data received {"connection_id":173740,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:29:11] local.INFO: Processing buffer {"connection_id":173740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:29:11] local.INFO: IMEI packet received {"connection_id":173740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":173740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:29:16] local.INFO: TCP Data received {"connection_id":173740,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:29:16] local.INFO: Processing buffer {"connection_id":173740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:29:16] local.INFO: IMEI packet received {"connection_id":173740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":173740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:29:17] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:29:17] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:29:17] local.INFO: IMEI packet received {"connection_id":173741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":173741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:29:17] local.INFO: TCP Data received {"connection_id":173740,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074dcf1c0012d1904800723e768006200cb25..."} 
[2026-09-06 09:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dcf1c0012d1904800723e768006200cb25..."} 
[2026-09-06 09:29:17] local.INFO: Processing buffer {"connection_id":173740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dcf1c0012d1904800723e768006200cb25..."} 
[2026-09-06 09:29:17] local.INFO: Packet analysis {"connection_id":173740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:29:17] local.INFO: Extracted packet for processing {"connection_id":173740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074dc"} 
[2026-09-06 09:29:17] local.INFO: GPS Element Parsed {"raw_longitude":756614272,"raw_latitude":119793512,"longitude_deg":75.6614272,"latitude_deg":11.9793512,"altitude":98,"angle":203,"satellites":37,"speed":19,"hex_longitude":"2d190480","hex_latitude":"0723e768","is_valid_coordinates":true} 
[2026-09-06 09:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898755072001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18135894544351232,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806999012407468032,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:17] 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-09-06 09:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788667032000,"timestamp_ms":1788667032000,"timestamp_seconds":1788667032,"priority":1,"record_length":96,"hex_timestamp":"000001a074dcf1c0"} 
[2026-09-06 09:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:29:17] 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-09-06 09: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-06 09:29:17] 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-09-06 09: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-09-06 09:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898755072001,"66":13961,"186":206,"83":42752,"24":19,"16":18135894544351232,"45":1806999012407468032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-06 09:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898755072001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:29:17] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 09:29:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 09:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18135894544351232,"km_value":18135894544351.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806999012407468032,"description":"Unknown IO ID 45"} 
[2026-09-06 09:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898755072001,"power":13961,"unknown_186":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1806999012407468032}} 
[2026-09-06 09:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":173740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:29:17] local.INFO: GPS data processed {"connection_id":173740,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:29:17] local.INFO: Acknowledgment sent {"connection_id":173740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:29:21] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:29:21] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:29:21] local.INFO: IMEI packet received {"connection_id":173741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":173741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:29:21] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074de5150012d7caa4005d7a7c8000000ad1d..."} 
[2026-09-06 09:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074de5150012d7caa4005d7a7c8000000ad1d..."} 
[2026-09-06 09:29:21] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074de5150012d7caa4005d7a7c8000000ad1d..."} 
[2026-09-06 09:29:21] local.INFO: Packet analysis {"connection_id":173741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:29:21] local.INFO: Extracted packet for processing {"connection_id":173741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:29:21] local.INFO: GPS Element Parsed {"raw_longitude":763144768,"raw_latitude":98019272,"longitude_deg":76.3144768,"latitude_deg":9.8019272,"altitude":0,"angle":173,"satellites":29,"speed":53,"hex_longitude":"2d7caa40","hex_latitude":"05d7a7c8","is_valid_coordinates":true} 
[2026-09-06 09:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898781184001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128863664718479360,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981936900676618240,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788667122000,"timestamp_ms":1788667122000,"timestamp_seconds":1788667122,"priority":1,"record_length":96,"hex_timestamp":"000001a074de5150"} 
[2026-09-06 09:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-06 09:29:21] 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-09-06 09:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:29:21] 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-09-06 09:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898781184001,"66":13798,"195":206,"85":15104,"24":53,"16":128863664718479360,"45":8981936900676618240},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-09-06 09:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898781184001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:29:21] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-06 09:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128863664718479360,"km_value":128863664718479.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981936900676618240,"description":"Unknown IO ID 45"} 
[2026-09-06 09:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898781184001,"power":13798,"unknown_195":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8981936900676618240}} 
[2026-09-06 09:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":173741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:29:21] local.INFO: GPS data processed {"connection_id":173741,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:29:21] local.INFO: Acknowledgment sent {"connection_id":173741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:29:24] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074de3dc8012c8103c00961a1000292012828..."} 
[2026-09-06 09:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074de3dc8012c8103c00961a1000292012828..."} 
[2026-09-06 09:29:24] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074de3dc8012c8103c00961a1000292012828..."} 
[2026-09-06 09:29:24] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:29:24] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:29:24] local.INFO: GPS Element Parsed {"raw_longitude":746652608,"raw_latitude":157393152,"longitude_deg":74.6652608,"latitude_deg":15.7393152,"altitude":658,"angle":296,"satellites":40,"speed":52,"hex_longitude":"2c8103c0","hex_latitude":"0961a100","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898780160001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2231815330856960,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-9140970197131071486,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788667117000,"timestamp_ms":1788667117000,"timestamp_seconds":1788667117,"priority":1,"record_length":96,"hex_timestamp":"000001a074de3dc8"} 
[2026-09-06 09:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:29: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-09-06 09: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898780160001,"66":28104,"75":206,"9":7680,"24":52,"16":2231815330856960,"44":-9140970197131071486},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,9,24,16,44]} 
[2026-09-06 09:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898780160001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:29:24] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-06 09:29:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2231815330856960,"km_value":2231815330856.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:29:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-9140970197131071486,"description":"Unknown IO ID 44"} 
[2026-09-06 09:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898780160001,"power":28104,"unknown_75":206,"unknown_9":7680,"ignition":52,"odometer":null,"unknown_44":-9140970197131071486}} 
[2026-09-06 09:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773445,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:29:24] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:29:24] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:29:48] local.INFO: TCP Data received {"connection_id":173740,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074de2a40012d18ce8007236ba8006700d521..."} 
[2026-09-06 09:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074de2a40012d18ce8007236ba8006700d521..."} 
[2026-09-06 09:29:48] local.INFO: Processing buffer {"connection_id":173740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074de2a40012d18ce8007236ba8006700d521..."} 
[2026-09-06 09:29:48] local.INFO: Packet analysis {"connection_id":173740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:29:48] local.INFO: Extracted packet for processing {"connection_id":173740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756600448,"raw_latitude":119761832,"longitude_deg":75.6600448,"latitude_deg":11.9761832,"altitude":103,"angle":213,"satellites":33,"speed":19,"hex_longitude":"2d18ce80","hex_latitude":"07236ba8","is_valid_coordinates":true} 
[2026-09-06 09:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898779136001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18137621121204224,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789688301330141184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:48] 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-09-06 09:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788667112000,"timestamp_ms":1788667112000,"timestamp_seconds":1788667112,"priority":1,"record_length":96,"hex_timestamp":"000001a074de2a40"} 
[2026-09-06 09:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:29:48] 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-09-06 09: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-06 09:29:48] 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-09-06 09: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-09-06 09:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898779136001,"66":14070,"177":206,"83":42752,"24":19,"16":18137621121204224,"45":1789688301330141184},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-09-06 09:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898779136001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:29:48] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-06 09:29:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 09:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18137621121204224,"km_value":18137621121204.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789688301330141184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898779136001,"power":14070,"unknown_177":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1789688301330141184}} 
[2026-09-06 09:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":173740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:29:48] local.INFO: GPS data processed {"connection_id":173740,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:29:48] local.INFO: Acknowledgment sent {"connection_id":173740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:29:52] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074de6ca8012d7caf8005d78338000000a91d..."} 
[2026-09-06 09:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074de6ca8012d7caf8005d78338000000a91d..."} 
[2026-09-06 09:29:52] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074de6ca8012d7caf8005d78338000000a91d..."} 
[2026-09-06 09:29:52] local.INFO: Packet analysis {"connection_id":173741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:29:52] local.INFO: Extracted packet for processing {"connection_id":173741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:29:52] local.INFO: GPS Element Parsed {"raw_longitude":763146112,"raw_latitude":98009912,"longitude_deg":76.3146112,"latitude_deg":9.8009912,"altitude":0,"angle":169,"satellites":29,"speed":54,"hex_longitude":"2d7caf80","hex_latitude":"05d78338","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898783232001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128864124279980032,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983062800580986880,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788667129000,"timestamp_ms":1788667129000,"timestamp_seconds":1788667129,"priority":1,"record_length":96,"hex_timestamp":"000001a074de6ca8"} 
[2026-09-06 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-09-06 09:29:52] 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-09-06 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 09:29:52] 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-09-06 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-09-06 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-09-06 09:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:29:52] 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-09-06 09:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898783232001,"66":13820,"195":206,"85":15104,"24":54,"16":128864124279980032,"45":8983062800580986880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-09-06 09:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898783232001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:29:52] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-06 09:29:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128864124279980032,"km_value":128864124279980.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983062800580986880,"description":"Unknown IO ID 45"} 
[2026-09-06 09:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898783232001,"power":13820,"unknown_195":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8983062800580986880}} 
[2026-09-06 09:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":173741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:29:52] local.INFO: GPS data processed {"connection_id":173741,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:29:52] local.INFO: Acknowledgment sent {"connection_id":173741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:29:55] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074de5920012c80e2c00961b1100293012a29..."} 
[2026-09-06 09:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074de5920012c80e2c00961b1100293012a29..."} 
[2026-09-06 09:29:55] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074de5920012c80e2c00961b1100293012a29..."} 
[2026-09-06 09:29:55] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:29:55] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:29:55] local.INFO: GPS Element Parsed {"raw_longitude":746644160,"raw_latitude":157397264,"longitude_deg":74.664416,"latitude_deg":15.7397264,"altitude":659,"angle":298,"satellites":41,"speed":52,"hex_longitude":"2c80e2c0","hex_latitude":"0961b110","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898781952001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2232257712488448,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-9150258871361535998,"note":"Value kept but may cause issues"} 
[2026-09-06 09:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788667124000,"timestamp_ms":1788667124000,"timestamp_seconds":1788667124,"priority":1,"record_length":96,"hex_timestamp":"000001a074de5920"} 
[2026-09-06 09:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:29: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-09-06 09: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898781952001,"66":27930,"75":206,"9":7680,"24":52,"16":2232257712488448,"44":-9150258871361535998},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,9,24,16,44]} 
[2026-09-06 09:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898781952001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:29:55] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-06 09:29:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2232257712488448,"km_value":2232257712488.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:29:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-9150258871361535998,"description":"Unknown IO ID 44"} 
[2026-09-06 09:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898781952001,"power":27930,"unknown_75":206,"unknown_9":7680,"ignition":52,"odometer":null,"unknown_44":-9150258871361535998}} 
[2026-09-06 09:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:29:55] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:29:55] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:30:09] local.INFO: TCP Data received {"connection_id":172368,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:30:09] local.INFO: Processing buffer {"connection_id":172368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:30:09] local.INFO: IMEI packet received {"connection_id":172368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":172368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:30:22] local.INFO: TCP Data received {"connection_id":172597,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:30:22] local.INFO: Processing buffer {"connection_id":172597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:30:22] local.INFO: IMEI packet received {"connection_id":172597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":172597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:30:23] local.INFO: TCP Data received {"connection_id":172597,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:30:23] local.INFO: Processing buffer {"connection_id":172597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:30:23] local.INFO: IMEI packet received {"connection_id":172597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":172597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:30:23] local.INFO: TCP Data received {"connection_id":172597,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074df9d58012d7d014005d5ec40000000a621..."} 
[2026-09-06 09:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074df9d58012d7d014005d5ec40000000a621..."} 
[2026-09-06 09:30:23] local.INFO: Processing buffer {"connection_id":172597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074df9d58012d7d014005d5ec40000000a621..."} 
[2026-09-06 09:30:23] local.INFO: Packet analysis {"connection_id":172597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074df"} 
[2026-09-06 09:30:23] local.INFO: Extracted packet for processing {"connection_id":172597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074df"} 
[2026-09-06 09:30:23] local.INFO: GPS Element Parsed {"raw_longitude":763167040,"raw_latitude":97905728,"longitude_deg":76.316704,"latitude_deg":9.7905728,"altitude":0,"angle":166,"satellites":33,"speed":52,"hex_longitude":"2d7d0140","hex_latitude":"05d5ec40","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898803200001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128869295420604416,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005721536179466240,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788667207000,"timestamp_ms":1788667207000,"timestamp_seconds":1788667207,"priority":1,"record_length":96,"hex_timestamp":"000001a074df9d58"} 
[2026-09-06 09:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 09:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:30:23] 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-09-06 09:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898803200001,"66":13852,"30":206,"85":15104,"24":52,"16":128869295420604416,"45":9005721536179466240},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-06 09:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898803200001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:30:23] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-06 09:30:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128869295420604416,"km_value":128869295420604.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005721536179466240,"description":"Unknown IO ID 45"} 
[2026-09-06 09:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898803200001,"power":13852,"unknown_30":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9005721536179466240}} 
[2026-09-06 09:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":172597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:30:23] local.INFO: GPS data processed {"connection_id":172597,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:30:23] local.INFO: Acknowledgment sent {"connection_id":172597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:30:26] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074de7478012c80c2800961c3400295012d28..."} 
[2026-09-06 09:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074de7478012c80c2800961c3400295012d28..."} 
[2026-09-06 09:30:26] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074de7478012c80c2800961c3400295012d28..."} 
[2026-09-06 09:30:26] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:30:26] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:30:26] local.INFO: GPS Element Parsed {"raw_longitude":746635904,"raw_latitude":157401920,"longitude_deg":74.6635904,"latitude_deg":15.740192,"altitude":661,"angle":301,"satellites":40,"speed":52,"hex_longitude":"2c80c280","hex_latitude":"0961c340","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898783744001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2232704389087232,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-9159547545591934974,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788667131000,"timestamp_ms":1788667131000,"timestamp_seconds":1788667131,"priority":1,"record_length":96,"hex_timestamp":"000001a074de7478"} 
[2026-09-06 09:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:30: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-09-06 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-06 09:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898783744001,"66":28202,"75":206,"9":7680,"24":52,"16":2232704389087232,"44":-9159547545591934974},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,9,24,16,44]} 
[2026-09-06 09:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898783744001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:30:26] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-06 09:30:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2232704389087232,"km_value":2232704389087.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:30:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-9159547545591934974,"description":"Unknown IO ID 44"} 
[2026-09-06 09:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898783744001,"power":28202,"unknown_75":206,"unknown_9":7680,"ignition":52,"odometer":null,"unknown_44":-9159547545591934974}} 
[2026-09-06 09:30:26] local.INFO: TCP Data received {"connection_id":172368,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:30:26] local.INFO: Processing buffer {"connection_id":172368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:30:26] local.INFO: IMEI packet received {"connection_id":172368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":172368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773450,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:30:26] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:30:26] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:30:27] local.INFO: TCP Data received {"connection_id":172597,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074dfb8b0012d7d0c8005d5c9b0000000a11f..."} 
[2026-09-06 09:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dfb8b0012d7d0c8005d5c9b0000000a11f..."} 
[2026-09-06 09:30:27] local.INFO: Processing buffer {"connection_id":172597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dfb8b0012d7d0c8005d5c9b0000000a11f..."} 
[2026-09-06 09:30:27] local.INFO: Packet analysis {"connection_id":172597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074df"} 
[2026-09-06 09:30:27] local.INFO: Extracted packet for processing {"connection_id":172597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074df"} 
[2026-09-06 09:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763169920,"raw_latitude":97896880,"longitude_deg":76.316992,"latitude_deg":9.789688,"altitude":0,"angle":161,"satellites":31,"speed":53,"hex_longitude":"2d7d0c80","hex_latitude":"05d5c9b0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898804992001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128869746392170496,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007551123525746688,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788667214000,"timestamp_ms":1788667214000,"timestamp_seconds":1788667214,"priority":1,"record_length":96,"hex_timestamp":"000001a074dfb8b0"} 
[2026-09-06 09:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-06 09:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:30:27] 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-09-06 09:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898804992001,"66":13798,"30":206,"85":15104,"24":53,"16":128869746392170496,"45":9007551123525746688},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-06 09:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898804992001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:30:27] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-06 09:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128869746392170496,"km_value":128869746392170.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007551123525746688,"description":"Unknown IO ID 45"} 
[2026-09-06 09:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898804992001,"power":13798,"unknown_30":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9007551123525746688}} 
[2026-09-06 09:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":172597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:30:27] local.INFO: GPS data processed {"connection_id":172597,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:30:27] local.INFO: Acknowledgment sent {"connection_id":172597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:30:28] local.INFO: TCP Data received {"connection_id":172368,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074de41b0012d18c800072360e8006800c920..."} 
[2026-09-06 09:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074de41b0012d18c800072360e8006800c920..."} 
[2026-09-06 09:30:28] local.INFO: Processing buffer {"connection_id":172368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074de41b0012d18c800072360e8006800c920..."} 
[2026-09-06 09:30:28] local.INFO: Packet analysis {"connection_id":172368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:30:28] local.INFO: Extracted packet for processing {"connection_id":172368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074de"} 
[2026-09-06 09:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756598784,"raw_latitude":119759080,"longitude_deg":75.6598784,"latitude_deg":11.975908,"altitude":104,"angle":201,"satellites":32,"speed":22,"hex_longitude":"2d18c800","hex_latitude":"072360e8","is_valid_coordinates":true} 
[2026-09-06 09:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898780672001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18137775740026880,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787506870260049920,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:28] 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-09-06 09:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788667118000,"timestamp_ms":1788667118000,"timestamp_seconds":1788667118,"priority":1,"record_length":96,"hex_timestamp":"000001a074de41b0"} 
[2026-09-06 09:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-06 09:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898780672001,"66":14004,"177":206,"83":42752,"24":22,"16":18137775740026880,"45":1787506870260049920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-09-06 09:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898780672001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:30:28] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-06 09:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-06 09:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18137775740026880,"km_value":18137775740026.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787506870260049920,"description":"Unknown IO ID 45"} 
[2026-09-06 09:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898780672001,"power":14004,"unknown_177":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1787506870260049920}} 
[2026-09-06 09:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":172368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:30:28] local.INFO: GPS data processed {"connection_id":172368,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:30:28] local.INFO: Acknowledgment sent {"connection_id":172368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:30:58] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074e01a58012c7f750009634d9002a0014f28..."} 
[2026-09-06 09:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e01a58012c7f750009634d9002a0014f28..."} 
[2026-09-06 09:30:58] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e01a58012c7f750009634d9002a0014f28..."} 
[2026-09-06 09:30:58] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:30:58] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:30:58] local.INFO: GPS Element Parsed {"raw_longitude":746550528,"raw_latitude":157502864,"longitude_deg":74.6550528,"latitude_deg":15.7502864,"altitude":672,"angle":335,"satellites":40,"speed":58,"hex_longitude":"2c7f7500","hex_latitude":"09634d90","is_valid_coordinates":true} 
[2026-09-06 09:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898811648001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2239121070227456,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9188328442572951554,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788667239000,"timestamp_ms":1788667239000,"timestamp_seconds":1788667239,"priority":1,"record_length":96,"hex_timestamp":"000001a074e01a58"} 
[2026-09-06 09:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:30: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-09-06 09:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898811648001,"66":28126,"75":206,"9":7680,"24":58,"16":2239121070227456,"44":9188328442572951554},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,9,24,16,44]} 
[2026-09-06 09:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898811648001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:30:58] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-06 09:30:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2239121070227456,"km_value":2239121070227.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:30:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":9188328442572951554,"description":"Unknown IO ID 44"} 
[2026-09-06 09:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898811648001,"power":28126,"unknown_75":206,"unknown_9":7680,"ignition":58,"odometer":null,"unknown_44":9188328442572951554}} 
[2026-09-06 09:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773453,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:30:58] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:30:58] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:30:58] local.INFO: TCP Data received {"connection_id":172597,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074dfd408012d7d190005d5a7180000009e1a..."} 
[2026-09-06 09:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dfd408012d7d190005d5a7180000009e1a..."} 
[2026-09-06 09:30:58] local.INFO: Processing buffer {"connection_id":172597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dfd408012d7d190005d5a7180000009e1a..."} 
[2026-09-06 09:30:58] local.INFO: Packet analysis {"connection_id":172597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074df"} 
[2026-09-06 09:30:58] local.INFO: Extracted packet for processing {"connection_id":172597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074df"} 
[2026-09-06 09:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763173120,"raw_latitude":97888024,"longitude_deg":76.317312,"latitude_deg":9.7888024,"altitude":0,"angle":158,"satellites":26,"speed":54,"hex_longitude":"2d7d1900","hex_latitude":"05d5a718","is_valid_coordinates":true} 
[2026-09-06 09:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898806784001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128870201658703872,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010717717011476480,"note":"Value kept but may cause issues"} 
[2026-09-06 09:30:58] 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-09-06 09:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788667221000,"timestamp_ms":1788667221000,"timestamp_seconds":1788667221,"priority":1,"record_length":96,"hex_timestamp":"000001a074dfd408"} 
[2026-09-06 09:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 09:30:58] 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-09-06 09:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:30:58] 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-09-06 09:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898806784001,"66":13961,"253":206,"85":15104,"24":54,"16":128870201658703872,"45":9010717717011476480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-06 09:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898806784001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:30:58] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-06 09:30:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128870201658703872,"km_value":128870201658703.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010717717011476480,"description":"Unknown IO ID 45"} 
[2026-09-06 09:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898806784001,"power":13961,"unknown_253":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9010717717011476480}} 
[2026-09-06 09:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":172597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:30:58] local.INFO: GPS data processed {"connection_id":172597,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:30:58] local.INFO: Acknowledgment sent {"connection_id":172597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:31:09] local.INFO: TCP Data received {"connection_id":175058,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:31:09] local.INFO: Processing buffer {"connection_id":175058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:31:09] local.INFO: IMEI packet received {"connection_id":175058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":175058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:31:14] local.INFO: TCP Data received {"connection_id":175058,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:31:14] local.INFO: Processing buffer {"connection_id":175058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:31:14] local.INFO: IMEI packet received {"connection_id":175058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":175058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:31:15] local.INFO: TCP Data received {"connection_id":175058,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074dfa528012d18a3c00722c928006a00c424..."} 
[2026-09-06 09:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dfa528012d18a3c00722c928006a00c424..."} 
[2026-09-06 09:31:15] local.INFO: Processing buffer {"connection_id":175058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dfa528012d18a3c00722c928006a00c424..."} 
[2026-09-06 09:31:15] local.INFO: Packet analysis {"connection_id":175058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074df"} 
[2026-09-06 09:31:15] local.INFO: Extracted packet for processing {"connection_id":175058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074df"} 
[2026-09-06 09:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756589504,"raw_latitude":119720232,"longitude_deg":75.6589504,"latitude_deg":11.9720232,"altitude":106,"angle":196,"satellites":36,"speed":29,"hex_longitude":"2d18a3c0","hex_latitude":"0722c928","is_valid_coordinates":true} 
[2026-09-06 09:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898803456001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18139957583413248,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778851514716884992,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788667209000,"timestamp_ms":1788667209000,"timestamp_seconds":1788667209,"priority":1,"record_length":96,"hex_timestamp":"000001a074dfa528"} 
[2026-09-06 09:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 09:31:15] 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-09-06 09:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898803456001,"66":14004,"105":206,"83":41984,"24":29,"16":18139957583413248,"45":1778851514716884992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898803456001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:31:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18139957583413248,"km_value":18139957583413.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778851514716884992,"description":"Unknown IO ID 45"} 
[2026-09-06 09:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898803456001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1778851514716884992}} 
[2026-09-06 09:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":175058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:31:15] local.INFO: GPS data processed {"connection_id":175058,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:31:15] local.INFO: Acknowledgment sent {"connection_id":175058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:31:17] local.INFO: TCP Data received {"connection_id":175059,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:31:17] local.INFO: Processing buffer {"connection_id":175059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:31:17] local.INFO: IMEI packet received {"connection_id":175059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":175059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:31:19] local.INFO: TCP Data received {"connection_id":175059,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:31:19] local.INFO: Processing buffer {"connection_id":175059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:31:19] local.INFO: IMEI packet received {"connection_id":175059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":175059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:31:19] local.INFO: TCP Data received {"connection_id":175059,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074dfef60012d7d24c005d58388000000a619..."} 
[2026-09-06 09:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dfef60012d7d24c005d58388000000a619..."} 
[2026-09-06 09:31:19] local.INFO: Processing buffer {"connection_id":175059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dfef60012d7d24c005d58388000000a619..."} 
[2026-09-06 09:31:19] local.INFO: Packet analysis {"connection_id":175059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074df"} 
[2026-09-06 09:31:19] local.INFO: Extracted packet for processing {"connection_id":175059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074df"} 
[2026-09-06 09:31:19] local.INFO: GPS Element Parsed {"raw_longitude":763176128,"raw_latitude":97878920,"longitude_deg":76.3176128,"latitude_deg":9.787892,"altitude":0,"angle":166,"satellites":25,"speed":55,"hex_longitude":"2d7d24c0","hex_latitude":"05d58388","is_valid_coordinates":true} 
[2026-09-06 09:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898808576001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128870665515171840,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014236154218092544,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:19] 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-09-06 09:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788667228000,"timestamp_ms":1788667228000,"timestamp_seconds":1788667228,"priority":1,"record_length":96,"hex_timestamp":"000001a074dfef60"} 
[2026-09-06 09:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-06 09:31:19] 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-09-06 09:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:31:19] 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-09-06 09:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898808576001,"66":13830,"253":206,"85":15104,"24":55,"16":128870665515171840,"45":9014236154218092544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-06 09:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898808576001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:31:19] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-06 09:31:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128870665515171840,"km_value":128870665515171.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014236154218092544,"description":"Unknown IO ID 45"} 
[2026-09-06 09:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898808576001,"power":13830,"unknown_253":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9014236154218092544}} 
[2026-09-06 09:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":175059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:31:19] local.INFO: GPS data processed {"connection_id":175059,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:31:19] local.INFO: Acknowledgment sent {"connection_id":175059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:31:29] local.INFO: TCP Data received {"connection_id":173739,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074e035b0012c7f6400096371f002a1014e28..."} 
[2026-09-06 09:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e035b0012c7f6400096371f002a1014e28..."} 
[2026-09-06 09:31:29] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e035b0012c7f6400096371f002a1014e28..."} 
[2026-09-06 09:31:29] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:31:29] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:31:29] local.INFO: GPS Element Parsed {"raw_longitude":746546176,"raw_latitude":157512176,"longitude_deg":74.6546176,"latitude_deg":15.7512176,"altitude":673,"angle":334,"satellites":40,"speed":58,"hex_longitude":"2c7f6400","hex_latitude":"096371f0","is_valid_coordinates":true} 
[2026-09-06 09:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898813184001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2239614991466496,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9184247055412727810,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788667246000,"timestamp_ms":1788667246000,"timestamp_seconds":1788667246,"priority":1,"record_length":96,"hex_timestamp":"000001a074e035b0"} 
[2026-09-06 09:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-06 09:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:31:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898813184001,"66":28006,"75":206,"9":7680,"24":58,"16":2239614991466496,"44":9184247055412727810},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,9,24,16,44]} 
[2026-09-06 09:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898813184001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:31:29] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-06 09:31:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2239614991466496,"km_value":2239614991466.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:31:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":9184247055412727810,"description":"Unknown IO ID 44"} 
[2026-09-06 09:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898813184001,"power":28006,"unknown_75":206,"unknown_9":7680,"ignition":58,"odometer":null,"unknown_44":9184247055412727810}} 
[2026-09-06 09:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773457,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:31:29] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:31:29] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:31:46] local.INFO: TCP Data received {"connection_id":175058,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074dfb0e0012d18a2800722c0a8006b00b124..."} 
[2026-09-06 09:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dfb0e0012d18a2800722c0a8006b00b124..."} 
[2026-09-06 09:31:46] local.INFO: Processing buffer {"connection_id":175058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dfb0e0012d18a2800722c0a8006b00b124..."} 
[2026-09-06 09:31:46] local.INFO: Packet analysis {"connection_id":175058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074df"} 
[2026-09-06 09:31:46] local.INFO: Extracted packet for processing {"connection_id":175058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074df"} 
[2026-09-06 09:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756589184,"raw_latitude":119718056,"longitude_deg":75.6589184,"latitude_deg":11.9718056,"altitude":107,"angle":177,"satellites":36,"speed":29,"hex_longitude":"2d18a280","hex_latitude":"0722c0a8","is_valid_coordinates":true} 
[2026-09-06 09:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898805504001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18140064957595648,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775473814995019776,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788667212000,"timestamp_ms":1788667212000,"timestamp_seconds":1788667212,"priority":1,"record_length":96,"hex_timestamp":"000001a074dfb0e0"} 
[2026-09-06 09:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-06 09:31:46] 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-09-06 09:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898805504001,"66":14298,"105":206,"83":41984,"24":29,"16":18140064957595648,"45":1775473814995019776},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898805504001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:31:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:31:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18140064957595648,"km_value":18140064957595.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775473814995019776,"description":"Unknown IO ID 45"} 
[2026-09-06 09:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898805504001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1775473814995019776}} 
[2026-09-06 09:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":175058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:31:46] local.INFO: GPS data processed {"connection_id":175058,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:31:46] local.INFO: Acknowledgment sent {"connection_id":175058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:31:51] local.INFO: TCP Data received {"connection_id":175059,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074e00ab8012d7d2ac005d55e48000200b118..."} 
[2026-09-06 09:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e00ab8012d7d2ac005d55e48000200b118..."} 
[2026-09-06 09:31:51] local.INFO: Processing buffer {"connection_id":175059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e00ab8012d7d2ac005d55e48000200b118..."} 
[2026-09-06 09:31:51] local.INFO: Packet analysis {"connection_id":175059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:31:51] local.INFO: Extracted packet for processing {"connection_id":175059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:31:51] local.INFO: GPS Element Parsed {"raw_longitude":763177664,"raw_latitude":97869384,"longitude_deg":76.3177664,"latitude_deg":9.7869384,"altitude":2,"angle":177,"satellites":24,"speed":55,"hex_longitude":"2d7d2ac0","hex_latitude":"05d55e48","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898810368001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128871137961574400,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017543485192112128,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:51] 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-09-06 09:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788667235000,"timestamp_ms":1788667235000,"timestamp_seconds":1788667235,"priority":1,"record_length":96,"hex_timestamp":"000001a074e00ab8"} 
[2026-09-06 09:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:31: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-09-06 09: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-06 09:31:51] local.WARNING: Large IO value detected {"io_id":24,"raw_value":15199657348104192,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627232739328,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:51] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2305843012118183990,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:51] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3575119872,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:51] local.WARNING: Large IO value detected {"io_id":213,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:51] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3749838849,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803761358,"corrected_to":0} 
[2026-09-06 09:31:51] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3221302652,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:51] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":3221607990,"corrected_to":0} 
[2026-09-06 09:31:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3596247040,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1153252994213479894,"note":"Value kept but may cause issues"} 
[2026-09-06 09:31:51] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,253,85,24,241,157,16,215,160,212,45,167,26,10,66,214,184,128,201,31,30,64,1,240,28,227,213,116,4,113,205,50,98,246,112,239,54,2,5,44],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2803761358,"validated":0},{"io_id":246,"original":3221607990,"validated":0}]} 
[2026-09-06 09:31:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":182626307997696,"timestamp_seconds":182626307997.696,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 09:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:31:51] 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-09-06 09:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898810368001,"66":13906,"253":206,"85":15104,"24":55,"16":128871137961574400,"45":9017543485192112128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-06 09:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898810368001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:31:51] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-06 09:31:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128871137961574400,"km_value":128871137961574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017543485192112128,"description":"Unknown IO ID 45"} 
[2026-09-06 09:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898810368001,"power":13906,"unknown_253":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9017543485192112128}} 
[2026-09-06 09:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":175059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:31:51] local.INFO: GPS data processed {"connection_id":175059,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:31:51] local.INFO: Acknowledgment sent {"connection_id":175059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:32:02] local.INFO: TCP Data received {"connection_id":172369,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:32:02] local.INFO: Processing buffer {"connection_id":172369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:32:02] local.INFO: IMEI packet received {"connection_id":172369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 09:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":172369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:32:04] local.INFO: TCP Data received {"connection_id":172369,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:32:04] local.INFO: Processing buffer {"connection_id":172369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:32:04] local.INFO: IMEI packet received {"connection_id":172369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 09:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":172369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:32:05] local.INFO: TCP Data received {"connection_id":172369,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074e05108012c7f51c0096395d002a1014c28..."} 
[2026-09-06 09:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e05108012c7f51c0096395d002a1014c28..."} 
[2026-09-06 09:32:05] local.INFO: Processing buffer {"connection_id":172369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e05108012c7f51c0096395d002a1014c28..."} 
[2026-09-06 09:32:05] local.INFO: Packet analysis {"connection_id":172369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:32:05] local.INFO: Extracted packet for processing {"connection_id":172369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:32:05] local.INFO: GPS Element Parsed {"raw_longitude":746541504,"raw_latitude":157521360,"longitude_deg":74.6541504,"latitude_deg":15.752136,"altitude":673,"angle":332,"satellites":40,"speed":58,"hex_longitude":"2c7f51c0","hex_latitude":"096395d0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898814976001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2240113207672832,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9179461980811030530,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788667253000,"timestamp_ms":1788667253000,"timestamp_seconds":1788667253,"priority":1,"record_length":96,"hex_timestamp":"000001a074e05108"} 
[2026-09-06 09:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:32: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-09-06 09: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 09:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898814976001,"66":28071,"75":206,"9":7680,"24":58,"16":2240113207672832,"44":9179461980811030530},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,9,24,16,44]} 
[2026-09-06 09:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898814976001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:32:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-06 09:32:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2240113207672832,"km_value":2240113207672.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:32:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":9179461980811030530,"description":"Unknown IO ID 44"} 
[2026-09-06 09:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898814976001,"power":28071,"unknown_75":206,"unknown_9":7680,"ignition":58,"odometer":null,"unknown_44":9179461980811030530}} 
[2026-09-06 09:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":172369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773460,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:32:05] local.INFO: GPS data processed {"connection_id":172369,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:32:05] local.INFO: Acknowledgment sent {"connection_id":172369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:32:14] local.INFO: TCP Data received {"connection_id":172599,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:32:14] local.INFO: Processing buffer {"connection_id":172599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:32:14] local.INFO: IMEI packet received {"connection_id":172599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":172599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:32:16] local.INFO: TCP Data received {"connection_id":172600,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:32:16] local.INFO: Processing buffer {"connection_id":172600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:32:16] local.INFO: IMEI packet received {"connection_id":172600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":172600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:32:16] local.INFO: TCP Data received {"connection_id":173742,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:32:16] local.INFO: Processing buffer {"connection_id":173742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:32:16] local.INFO: IMEI packet received {"connection_id":173742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":173742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:32:16] local.INFO: TCP Data received {"connection_id":172600,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:32:16] local.INFO: Processing buffer {"connection_id":172600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:32:16] local.INFO: IMEI packet received {"connection_id":172600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":172600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:32:17] local.INFO: TCP Data received {"connection_id":172599,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:32:17] local.INFO: Processing buffer {"connection_id":172599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:32:17] local.INFO: IMEI packet received {"connection_id":172599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":172599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:32:17] local.INFO: TCP Data received {"connection_id":173742,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e07c00012d496c400659fd28001001472c..."} 
[2026-09-06 09:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e07c00012d496c400659fd28001001472c..."} 
[2026-09-06 09:32:17] local.INFO: Processing buffer {"connection_id":173742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e07c00012d496c400659fd28001001472c..."} 
[2026-09-06 09:32:17] local.INFO: Packet analysis {"connection_id":173742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:32:17] local.INFO: Extracted packet for processing {"connection_id":173742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:32:17] local.INFO: GPS Element Parsed {"raw_longitude":759786560,"raw_latitude":106560808,"longitude_deg":75.978656,"latitude_deg":10.6560808,"altitude":16,"angle":327,"satellites":44,"speed":51,"hex_longitude":"2d496c40","hex_latitude":"0659fd28","is_valid_coordinates":true} 
[2026-09-06 09:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898817792001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400315630869282816,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5296092451577006080,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:17] 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-09-06 09:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788667264000,"timestamp_ms":1788667264000,"timestamp_seconds":1788667264,"priority":1,"record_length":96,"hex_timestamp":"000001a074e07c00"} 
[2026-09-06 09:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:32: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-09-06 09:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 09:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898817792001,"66":27876,"231":206,"78":62464,"24":51,"16":400315630869282816,"45":5296092451577006080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,78,24,16,45]} 
[2026-09-06 09:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898817792001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:32:17] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-06 09:32:17] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400315630869282816,"km_value":400315630869282.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5296092451577006080,"description":"Unknown IO ID 45"} 
[2026-09-06 09:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898817792001,"power":27876,"unknown_231":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5296092451577006080}} 
[2026-09-06 09:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":173742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:32:17] local.INFO: GPS data processed {"connection_id":173742,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:32:17] local.INFO: Acknowledgment sent {"connection_id":173742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:32:18] local.INFO: TCP Data received {"connection_id":172599,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074dfc080012d18a4c00722b578006c00a624..."} 
[2026-09-06 09:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dfc080012d18a4c00722b578006c00a624..."} 
[2026-09-06 09:32:18] local.INFO: Processing buffer {"connection_id":172599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dfc080012d18a4c00722b578006c00a624..."} 
[2026-09-06 09:32:18] local.INFO: Packet analysis {"connection_id":172599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074df"} 
[2026-09-06 09:32:18] local.INFO: Extracted packet for processing {"connection_id":172599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074df"} 
[2026-09-06 09:32:18] local.INFO: GPS Element Parsed {"raw_longitude":756589760,"raw_latitude":119715192,"longitude_deg":75.658976,"latitude_deg":11.9715192,"altitude":108,"angle":166,"satellites":36,"speed":29,"hex_longitude":"2d18a4c0","hex_latitude":"0722b578","is_valid_coordinates":true} 
[2026-09-06 09:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898806272001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18140202396549120,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775121971273574400,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788667216000,"timestamp_ms":1788667216000,"timestamp_seconds":1788667216,"priority":1,"record_length":96,"hex_timestamp":"000001a074dfc080"} 
[2026-09-06 09:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:32:18] 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-09-06 09:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-06 09:32:18] 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-09-06 09:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":172599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":172599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":172599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898806272001,"66":14254,"105":206,"83":41984,"24":29,"16":18140202396549120,"45":1775121971273574400},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898806272001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:32:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:32:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18140202396549120,"km_value":18140202396549.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775121971273574400,"description":"Unknown IO ID 45"} 
[2026-09-06 09:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898806272001,"power":14254,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1775121971273574400}} 
[2026-09-06 09:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":172599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:32:18] local.INFO: GPS data processed {"connection_id":172599,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:32:18] local.INFO: Acknowledgment sent {"connection_id":172599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:32:19] local.INFO: TCP Data received {"connection_id":172599,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e01288012d18a9c007229e50006f00ab23..."} 
[2026-09-06 09:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e01288012d18a9c007229e50006f00ab23..."} 
[2026-09-06 09:32:19] local.INFO: Processing buffer {"connection_id":172599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e01288012d18a9c007229e50006f00ab23..."} 
[2026-09-06 09:32:19] local.INFO: Packet analysis {"connection_id":172599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:32:19] local.INFO: Extracted packet for processing {"connection_id":172599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:32:19] local.INFO: GPS Element Parsed {"raw_longitude":756591040,"raw_latitude":119709264,"longitude_deg":75.659104,"latitude_deg":11.9709264,"altitude":111,"angle":171,"satellites":35,"speed":0,"hex_longitude":"2d18a9c0","hex_latitude":"07229e50","is_valid_coordinates":true} 
[2026-09-06 09:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898807296001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18140498749292544,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775755289970440192,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788667237000,"timestamp_ms":1788667237000,"timestamp_seconds":1788667237,"priority":1,"record_length":96,"hex_timestamp":"000001a074e01288"} 
[2026-09-06 09:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:32:19] 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-09-06 09:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-06 09:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":172599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":172599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":172599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898807296001,"66":13080,"105":206,"83":41984,"24":0,"16":18140498749292544,"45":1775755289970440192},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898807296001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:32:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:32:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18140498749292544,"km_value":18140498749292.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775755289970440192,"description":"Unknown IO ID 45"} 
[2026-09-06 09:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898807296001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1775755289970440192}} 
[2026-09-06 09:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":172599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:32:20] local.INFO: GPS data processed {"connection_id":172599,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:32:20] local.INFO: Acknowledgment sent {"connection_id":172599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:32:32] local.INFO: TCP Data received {"connection_id":172600,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:32:32] local.INFO: Processing buffer {"connection_id":172600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:32:32] local.INFO: IMEI packet received {"connection_id":172600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":172600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:32:33] local.INFO: TCP Data received {"connection_id":172600,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074e11c28012d7d3e4005d3e4d8000100b920..."} 
[2026-09-06 09:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e11c28012d7d3e4005d3e4d8000100b920..."} 
[2026-09-06 09:32:34] local.INFO: Processing buffer {"connection_id":172600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e11c28012d7d3e4005d3e4d8000100b920..."} 
[2026-09-06 09:32:34] local.INFO: Packet analysis {"connection_id":172600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:32:34] local.INFO: Extracted packet for processing {"connection_id":172600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:32:34] local.INFO: GPS Element Parsed {"raw_longitude":763182656,"raw_latitude":97772760,"longitude_deg":76.3182656,"latitude_deg":9.777276,"altitude":1,"angle":185,"satellites":32,"speed":55,"hex_longitude":"2d7d3e40","hex_latitude":"05d3e4d8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898828288001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128875845245730816,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025846996980420608,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788667305000,"timestamp_ms":1788667305000,"timestamp_seconds":1788667305,"priority":1,"record_length":96,"hex_timestamp":"000001a074e11c28"} 
[2026-09-06 09:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:32: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-09-06 09: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 09:32: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-09-06 09: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-09-06 09:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:32:34] 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-09-06 09:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898828288001,"66":13928,"81":206,"85":15104,"24":55,"16":128875845245730816,"45":9025846996980420608},"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-09-06 09:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898828288001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:32:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 09:32:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128875845245730816,"km_value":128875845245730.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025846996980420608,"description":"Unknown IO ID 45"} 
[2026-09-06 09:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898828288001,"power":13928,"unknown_81":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9025846996980420608}} 
[2026-09-06 09:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":172600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:32:34] local.INFO: GPS data processed {"connection_id":172600,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:32:34] local.INFO: Acknowledgment sent {"connection_id":172600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:32:37] local.INFO: TCP Data received {"connection_id":172369,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074e06c60012c7f3e400963b90002a2014b29..."} 
[2026-09-06 09:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e06c60012c7f3e400963b90002a2014b29..."} 
[2026-09-06 09:32:37] local.INFO: Processing buffer {"connection_id":172369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e06c60012c7f3e400963b90002a2014b29..."} 
[2026-09-06 09:32:37] local.INFO: Packet analysis {"connection_id":172369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:32:37] local.INFO: Extracted packet for processing {"connection_id":172369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:32:37] local.INFO: GPS Element Parsed {"raw_longitude":746536512,"raw_latitude":157530368,"longitude_deg":74.6536512,"latitude_deg":15.7530368,"altitude":674,"angle":331,"satellites":41,"speed":58,"hex_longitude":"2c7f3e40","hex_latitude":"0963b900","is_valid_coordinates":true} 
[2026-09-06 09:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898816768001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2240607128911872,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9174325062488412162,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788667260000,"timestamp_ms":1788667260000,"timestamp_seconds":1788667260,"priority":1,"record_length":96,"hex_timestamp":"000001a074e06c60"} 
[2026-09-06 09:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-06 09:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898816768001,"66":28028,"41":206,"9":7680,"24":58,"16":2240607128911872,"44":9174325062488412162},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,9,24,16,44]} 
[2026-09-06 09:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898816768001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:32:37] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-06 09:32:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2240607128911872,"km_value":2240607128911.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:32:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":9174325062488412162,"description":"Unknown IO ID 44"} 
[2026-09-06 09:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898816768001,"power":28028,"unknown_41":206,"unknown_9":7680,"ignition":58,"odometer":null,"unknown_44":9174325062488412162}} 
[2026-09-06 09:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":172369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:32:37] local.INFO: GPS data processed {"connection_id":172369,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:32:37] local.INFO: Acknowledgment sent {"connection_id":172369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:32:48] local.INFO: TCP Data received {"connection_id":175060,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:32:48] local.INFO: Processing buffer {"connection_id":175060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:32:48] local.INFO: IMEI packet received {"connection_id":175060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":175060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:32:50] local.INFO: TCP Data received {"connection_id":172599,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e06490012d18a9c007229718006f00b625..."} 
[2026-09-06 09:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e06490012d18a9c007229718006f00b625..."} 
[2026-09-06 09:32:50] local.INFO: Processing buffer {"connection_id":172599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e06490012d18a9c007229718006f00b625..."} 
[2026-09-06 09:32:50] local.INFO: Packet analysis {"connection_id":172599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:32:50] local.INFO: Extracted packet for processing {"connection_id":172599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756591040,"raw_latitude":119707416,"longitude_deg":75.659104,"latitude_deg":11.9707416,"altitude":111,"angle":182,"satellites":37,"speed":18,"hex_longitude":"2d18a9c0","hex_latitude":"07229718","is_valid_coordinates":true} 
[2026-09-06 09:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898812672001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18140588943605760,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777162664852475904,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32: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-09-06 09:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788667258000,"timestamp_ms":1788667258000,"timestamp_seconds":1788667258,"priority":1,"record_length":96,"hex_timestamp":"000001a074e06490"} 
[2026-09-06 09:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:32:50] 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-09-06 09:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-06 09:32:50] 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-09-06 09:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898812672001,"66":13015,"105":206,"83":41984,"24":18,"16":18140588943605760,"45":1777162664852475904},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898812672001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:32:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:32:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18140588943605760,"km_value":18140588943605.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777162664852475904,"description":"Unknown IO ID 45"} 
[2026-09-06 09:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898812672001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1777162664852475904}} 
[2026-09-06 09:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":172599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:32:50] local.INFO: GPS data processed {"connection_id":172599,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:32:50] local.INFO: Acknowledgment sent {"connection_id":172599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:32:54] local.INFO: TCP Data received {"connection_id":175060,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:32:54] local.INFO: Processing buffer {"connection_id":175060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:32:54] local.INFO: IMEI packet received {"connection_id":175060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":175060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:32:54] local.INFO: TCP Data received {"connection_id":175060,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e09758012d495880065a1c20000e014c2c..."} 
[2026-09-06 09:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e09758012d495880065a1c20000e014c2c..."} 
[2026-09-06 09:32:54] local.INFO: Processing buffer {"connection_id":175060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e09758012d495880065a1c20000e014c2c..."} 
[2026-09-06 09:32:54] local.INFO: Packet analysis {"connection_id":175060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:32:54] local.INFO: Extracted packet for processing {"connection_id":175060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:32:54] local.INFO: GPS Element Parsed {"raw_longitude":759781504,"raw_latitude":106568736,"longitude_deg":75.9781504,"latitude_deg":10.6568736,"altitude":14,"angle":332,"satellites":44,"speed":54,"hex_longitude":"2d495880","hex_latitude":"065a1c20","is_valid_coordinates":true} 
[2026-09-06 09:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898819584001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400316081840848896,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5290674058277234688,"note":"Value kept but may cause issues"} 
[2026-09-06 09:32: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-09-06 09:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788667271000,"timestamp_ms":1788667271000,"timestamp_seconds":1788667271,"priority":1,"record_length":96,"hex_timestamp":"000001a074e09758"} 
[2026-09-06 09:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:32: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-09-06 09:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 09:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898819584001,"66":27865,"231":206,"78":62464,"24":54,"16":400316081840848896,"45":5290674058277234688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,78,24,16,45]} 
[2026-09-06 09:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898819584001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:32:54] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-06 09:32:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400316081840848896,"km_value":400316081840848.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5290674058277234688,"description":"Unknown IO ID 45"} 
[2026-09-06 09:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898819584001,"power":27865,"unknown_231":206,"unknown_78":62464,"ignition":54,"odometer":null,"unknown_45":5290674058277234688}} 
[2026-09-06 09:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":175060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:32:54] local.INFO: GPS data processed {"connection_id":175060,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:32:54] local.INFO: Acknowledgment sent {"connection_id":175060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:33:02] local.INFO: TCP Data received {"connection_id":175061,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175061,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:33:02] local.INFO: Processing buffer {"connection_id":175061,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:33:02] local.INFO: IMEI packet received {"connection_id":175061,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 09:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":175061,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:33:07] local.INFO: TCP Data received {"connection_id":175061,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175061,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:33:07] local.INFO: Processing buffer {"connection_id":175061,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:33:07] local.INFO: IMEI packet received {"connection_id":175061,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 09:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":175061,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:33:08] local.INFO: TCP Data received {"connection_id":175061,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074e1a4e0012c7e61800965308002a1014c27..."} 
[2026-09-06 09:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e1a4e0012c7e61800965308002a1014c27..."} 
[2026-09-06 09:33:08] local.INFO: Processing buffer {"connection_id":175061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e1a4e0012c7e61800965308002a1014c27..."} 
[2026-09-06 09:33:08] local.INFO: Packet analysis {"connection_id":175061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:33:08] local.INFO: Extracted packet for processing {"connection_id":175061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:33:08] local.INFO: GPS Element Parsed {"raw_longitude":746480000,"raw_latitude":157626496,"longitude_deg":74.648,"latitude_deg":15.7626496,"altitude":673,"angle":332,"satellites":39,"speed":19,"hex_longitude":"2c7e6180","hex_latitude":"09653080","is_valid_coordinates":true} 
[2026-09-06 09:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898836480001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2245967248097280,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9111274667729973250,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788667340000,"timestamp_ms":1788667340000,"timestamp_seconds":1788667340,"priority":1,"record_length":96,"hex_timestamp":"000001a074e1a4e0"} 
[2026-09-06 09:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-06 09:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175061,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175061,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898836480001,"66":28126,"41":206,"9":7680,"24":19,"16":2245967248097280,"44":9111274667729973250},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,9,24,16,44]} 
[2026-09-06 09:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898836480001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:33:08] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-06 09:33:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2245967248097280,"km_value":2245967248097.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:33:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":9111274667729973250,"description":"Unknown IO ID 44"} 
[2026-09-06 09:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898836480001,"power":28126,"unknown_41":206,"unknown_9":7680,"ignition":19,"odometer":null,"unknown_44":9111274667729973250}} 
[2026-09-06 09:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":175061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773468,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:33:08] local.INFO: GPS data processed {"connection_id":175061,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:33:08] local.INFO: Acknowledgment sent {"connection_id":175061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:33:09] local.INFO: TCP Data received {"connection_id":175062,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:33:09] local.INFO: Processing buffer {"connection_id":175062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:33:09] local.INFO: IMEI packet received {"connection_id":175062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":175062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:33:14] local.INFO: TCP Data received {"connection_id":175062,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:33:14] local.INFO: Processing buffer {"connection_id":175062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:33:14] local.INFO: IMEI packet received {"connection_id":175062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":175062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:33:15] local.INFO: TCP Data received {"connection_id":175062,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e06490012d18a9c007229718006f00b625..."} 
[2026-09-06 09:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e06490012d18a9c007229718006f00b625..."} 
[2026-09-06 09:33:15] local.INFO: Processing buffer {"connection_id":175062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e06490012d18a9c007229718006f00b625..."} 
[2026-09-06 09:33:15] local.INFO: Packet analysis {"connection_id":175062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:33:15] local.INFO: Extracted packet for processing {"connection_id":175062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756591040,"raw_latitude":119707416,"longitude_deg":75.659104,"latitude_deg":11.9707416,"altitude":111,"angle":182,"satellites":37,"speed":18,"hex_longitude":"2d18a9c0","hex_latitude":"07229718","is_valid_coordinates":true} 
[2026-09-06 09:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898818048001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18140588943605760,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777162664852002816,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788667258000,"timestamp_ms":1788667258000,"timestamp_seconds":1788667258,"priority":1,"record_length":96,"hex_timestamp":"000001a074e06490"} 
[2026-09-06 09:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-06 09:33: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-09-06 09:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898818048001,"66":13015,"105":206,"83":41984,"24":18,"16":18140588943605760,"45":1777162664852002816},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898818048001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:33:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18140588943605760,"km_value":18140588943605.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777162664852002816,"description":"Unknown IO ID 45"} 
[2026-09-06 09:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898818048001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1777162664852002816}} 
[2026-09-06 09:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":175062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:33:15] local.INFO: GPS data processed {"connection_id":175062,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:33:15] local.INFO: Acknowledgment sent {"connection_id":175062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:33:17] local.INFO: TCP Data received {"connection_id":175063,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:33:17] local.INFO: Processing buffer {"connection_id":175063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:33:17] local.INFO: IMEI packet received {"connection_id":175063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":175063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:33:19] local.INFO: TCP Data received {"connection_id":175062,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e087b8012d18a700072280e0006e00c324..."} 
[2026-09-06 09:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e087b8012d18a700072280e0006e00c324..."} 
[2026-09-06 09:33:19] local.INFO: Processing buffer {"connection_id":175062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e087b8012d18a700072280e0006e00c324..."} 
[2026-09-06 09:33:19] local.INFO: Packet analysis {"connection_id":175062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:33:19] local.INFO: Extracted packet for processing {"connection_id":175062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756590336,"raw_latitude":119701728,"longitude_deg":75.6590336,"latitude_deg":11.9701728,"altitude":110,"angle":195,"satellites":36,"speed":28,"hex_longitude":"2d18a700","hex_latitude":"072280e0","is_valid_coordinates":true} 
[2026-09-06 09:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898818048001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18140868116480000,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777162664852002816,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788667267000,"timestamp_ms":1788667267000,"timestamp_seconds":1788667267,"priority":1,"record_length":96,"hex_timestamp":"000001a074e087b8"} 
[2026-09-06 09:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:33:19] 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-09-06 09:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-06 09:33: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-09-06 09:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898818048001,"66":12950,"105":206,"83":41984,"24":28,"16":18140868116480000,"45":1777162664852002816},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898818048001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:33:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:33:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18140868116480000,"km_value":18140868116480,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777162664852002816,"description":"Unknown IO ID 45"} 
[2026-09-06 09:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898818048001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1777162664852002816}} 
[2026-09-06 09:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":175062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:33:19] local.INFO: GPS data processed {"connection_id":175062,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:33:19] local.INFO: Acknowledgment sent {"connection_id":175062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:33:22] local.INFO: TCP Data received {"connection_id":175063,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:33:22] local.INFO: Processing buffer {"connection_id":175063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:33:22] local.INFO: IMEI packet received {"connection_id":175063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":175063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:33:23] local.INFO: TCP Data received {"connection_id":175063,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074e13780012d7d3a4005d3c130000200b81f..."} 
[2026-09-06 09:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e13780012d7d3a4005d3c130000200b81f..."} 
[2026-09-06 09:33:23] local.INFO: Processing buffer {"connection_id":175063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e13780012d7d3a4005d3c130000200b81f..."} 
[2026-09-06 09:33:23] local.INFO: Packet analysis {"connection_id":175063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:33:23] local.INFO: Extracted packet for processing {"connection_id":175063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:33:23] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":97763632,"longitude_deg":76.3181632,"latitude_deg":9.7763632,"altitude":2,"angle":184,"satellites":31,"speed":52,"hex_longitude":"2d7d3a40","hex_latitude":"05d3c130","is_valid_coordinates":true} 
[2026-09-06 09:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898830080001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128876291922329600,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024721097071056896,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33: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-09-06 09:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788667312000,"timestamp_ms":1788667312000,"timestamp_seconds":1788667312,"priority":1,"record_length":96,"hex_timestamp":"000001a074e13780"} 
[2026-09-06 09:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 09:33:23] 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-09-06 09:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:33:23] 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-09-06 09:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898830080001,"66":13896,"81":206,"85":15104,"24":52,"16":128876291922329600,"45":9024721097071056896},"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-09-06 09:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898830080001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:33:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 09:33:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128876291922329600,"km_value":128876291922329.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024721097071056896,"description":"Unknown IO ID 45"} 
[2026-09-06 09:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898830080001,"power":13896,"unknown_81":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9024721097071056896}} 
[2026-09-06 09:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":175063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:33:23] local.INFO: GPS data processed {"connection_id":175063,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:33:23] local.INFO: Acknowledgment sent {"connection_id":175063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:33:25] local.INFO: TCP Data received {"connection_id":175060,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e1cfd8012d48d180065b8f20000a01432b..."} 
[2026-09-06 09:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e1cfd8012d48d180065b8f20000a01432b..."} 
[2026-09-06 09:33:25] local.INFO: Processing buffer {"connection_id":175060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e1cfd8012d48d180065b8f20000a01432b..."} 
[2026-09-06 09:33:25] local.INFO: Packet analysis {"connection_id":175060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:33:25] local.INFO: Extracted packet for processing {"connection_id":175060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:33:25] local.INFO: GPS Element Parsed {"raw_longitude":759746944,"raw_latitude":106663712,"longitude_deg":75.9746944,"latitude_deg":10.6663712,"altitude":10,"angle":323,"satellites":43,"speed":50,"hex_longitude":"2d48d180","hex_latitude":"065b8f20","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898839808001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400321076887814144,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5253730467608227840,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:25] 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-09-06 09:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788667351000,"timestamp_ms":1788667351000,"timestamp_seconds":1788667351,"priority":1,"record_length":96,"hex_timestamp":"000001a074e1cfd8"} 
[2026-09-06 09:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:33: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-09-06 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:33: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-09-06 09: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-09-06 09:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:33: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-09-06 09:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898839808001,"66":27821,"64":206,"78":62464,"24":50,"16":400321076887814144,"45":5253730467608227840},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-09-06 09:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898839808001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:33:25] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-06 09:33:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400321076887814144,"km_value":400321076887814.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5253730467608227840,"description":"Unknown IO ID 45"} 
[2026-09-06 09:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898839808001,"power":27821,"unknown_64":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5253730467608227840}} 
[2026-09-06 09:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":175060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:33:25] local.INFO: GPS data processed {"connection_id":175060,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:33:25] local.INFO: Acknowledgment sent {"connection_id":175060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:33:39] local.INFO: TCP Data received {"connection_id":175061,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074e1e360012c7e5a8009653d5002a1013f28..."} 
[2026-09-06 09:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e1e360012c7e5a8009653d5002a1013f28..."} 
[2026-09-06 09:33:39] local.INFO: Processing buffer {"connection_id":175061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e1e360012c7e5a8009653d5002a1013f28..."} 
[2026-09-06 09:33:39] local.INFO: Packet analysis {"connection_id":175061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:33:39] local.INFO: Extracted packet for processing {"connection_id":175061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:33:39] local.INFO: GPS Element Parsed {"raw_longitude":746478208,"raw_latitude":157629776,"longitude_deg":74.6478208,"latitude_deg":15.7629776,"altitude":673,"angle":319,"satellites":40,"speed":5,"hex_longitude":"2c7e5a80","hex_latitude":"09653d50","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898839040001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246151931691008,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9106700699360591874,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788667356000,"timestamp_ms":1788667356000,"timestamp_seconds":1788667356,"priority":1,"record_length":96,"hex_timestamp":"000001a074e1e360"} 
[2026-09-06 09:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:33: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-09-06 09: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-06 09:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175061,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175061,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898839040001,"66":28028,"41":206,"9":7680,"24":5,"16":2246151931691008,"44":9106700699360591874},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,9,24,16,44]} 
[2026-09-06 09:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898839040001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:33:39] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-06 09:33:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246151931691008,"km_value":2246151931691.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:33:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":9106700699360591874,"description":"Unknown IO ID 44"} 
[2026-09-06 09:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898839040001,"power":28028,"unknown_41":206,"unknown_9":7680,"ignition":5,"odometer":null,"unknown_44":9106700699360591874}} 
[2026-09-06 09:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":175061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773473,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:33:39] local.INFO: GPS data processed {"connection_id":175061,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:33:39] local.INFO: Acknowledgment sent {"connection_id":175061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:33:49] local.INFO: TCP Data received {"connection_id":173743,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:33:49] local.INFO: Processing buffer {"connection_id":173743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:33:49] local.INFO: IMEI packet received {"connection_id":173743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":173743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:33:51] local.INFO: TCP Data received {"connection_id":175062,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e0a310012d18a04007226dc8006a00ce24..."} 
[2026-09-06 09:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e0a310012d18a04007226dc8006a00ce24..."} 
[2026-09-06 09:33:51] local.INFO: Processing buffer {"connection_id":175062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e0a310012d18a04007226dc8006a00ce24..."} 
[2026-09-06 09:33:51] local.INFO: Packet analysis {"connection_id":175062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:33:51] local.INFO: Extracted packet for processing {"connection_id":175062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756588608,"raw_latitude":119696840,"longitude_deg":75.6588608,"latitude_deg":11.969684,"altitude":106,"angle":206,"satellites":36,"speed":29,"hex_longitude":"2d18a040","hex_latitude":"07226dc8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898820352001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18141121519550464,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776388608664592384,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788667274000,"timestamp_ms":1788667274000,"timestamp_seconds":1788667274,"priority":1,"record_length":96,"hex_timestamp":"000001a074e0a310"} 
[2026-09-06 09:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 09:33:51] 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-09-06 09: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-09-06 09:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898820352001,"66":12819,"105":206,"83":41984,"24":29,"16":18141121519550464,"45":1776388608664592384},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898820352001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:33:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18141121519550464,"km_value":18141121519550.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776388608664592384,"description":"Unknown IO ID 45"} 
[2026-09-06 09:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898820352001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1776388608664592384}} 
[2026-09-06 09:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":175062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:33:51] local.INFO: GPS data processed {"connection_id":175062,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:33:51] local.INFO: Acknowledgment sent {"connection_id":175062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:33:53] local.INFO: TCP Data received {"connection_id":173743,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:33:53] local.INFO: Processing buffer {"connection_id":173743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:33:53] local.INFO: IMEI packet received {"connection_id":173743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":173743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:33:54] local.INFO: TCP Data received {"connection_id":175063,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074e152d8012d7d388005d39d18000400b41e..."} 
[2026-09-06 09:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e152d8012d7d388005d39d18000400b41e..."} 
[2026-09-06 09:33:54] local.INFO: Processing buffer {"connection_id":175063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e152d8012d7d388005d39d18000400b41e..."} 
[2026-09-06 09:33:54] local.INFO: Packet analysis {"connection_id":175063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:33:54] local.INFO: Extracted packet for processing {"connection_id":175063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763181184,"raw_latitude":97754392,"longitude_deg":76.3181184,"latitude_deg":9.7754392,"altitude":4,"angle":180,"satellites":30,"speed":54,"hex_longitude":"2d7d3880","hex_latitude":"05d39d18","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898831872001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128876738598928384,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023595197161877504,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:54] 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-09-06 09:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788667319000,"timestamp_ms":1788667319000,"timestamp_seconds":1788667319,"priority":1,"record_length":96,"hex_timestamp":"000001a074e152d8"} 
[2026-09-06 09:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-06 09:33:54] 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-09-06 09: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-09-06 09:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:33:54] 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-09-06 09:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898831872001,"66":13993,"81":206,"85":15104,"24":54,"16":128876738598928384,"45":9023595197161877504},"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-09-06 09:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898831872001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:33:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 09:33:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128876738598928384,"km_value":128876738598928.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023595197161877504,"description":"Unknown IO ID 45"} 
[2026-09-06 09:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898831872001,"power":13993,"unknown_81":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9023595197161877504}} 
[2026-09-06 09:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":175063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:33:54] local.INFO: GPS data processed {"connection_id":175063,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:33:54] local.INFO: Acknowledgment sent {"connection_id":175063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:33:57] local.INFO: TCP Data received {"connection_id":173743,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:33:57] local.INFO: Processing buffer {"connection_id":173743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:33:57] local.INFO: IMEI packet received {"connection_id":173743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":173743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:33:58] local.INFO: TCP Data received {"connection_id":173743,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e1ef18012d48ba00065baee0000a01432b..."} 
[2026-09-06 09:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e1ef18012d48ba00065baee0000a01432b..."} 
[2026-09-06 09:33:58] local.INFO: Processing buffer {"connection_id":173743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e1ef18012d48ba00065baee0000a01432b..."} 
[2026-09-06 09:33:58] local.INFO: Packet analysis {"connection_id":173743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:33:58] local.INFO: Extracted packet for processing {"connection_id":173743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:33:58] local.INFO: GPS Element Parsed {"raw_longitude":759740928,"raw_latitude":106671840,"longitude_deg":75.9740928,"latitude_deg":10.667184,"altitude":10,"angle":323,"satellites":43,"speed":49,"hex_longitude":"2d48ba00","hex_latitude":"065baee0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898841856001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400321566514085888,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5247115805657604096,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:58] 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-09-06 09:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788667359000,"timestamp_ms":1788667359000,"timestamp_seconds":1788667359,"priority":1,"record_length":96,"hex_timestamp":"000001a074e1ef18"} 
[2026-09-06 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-09-06 09:33: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-09-06 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 09:33:58] 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-09-06 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-09-06 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-09-06 09:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:33: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-09-06 09:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898841856001,"66":27767,"64":206,"78":62464,"24":49,"16":400321566514085888,"45":5247115805657604096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-09-06 09:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898841856001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:33:58] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-06 09:33:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400321566514085888,"km_value":400321566514085.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5247115805657604096,"description":"Unknown IO ID 45"} 
[2026-09-06 09:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898841856001,"power":27767,"unknown_64":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5247115805657604096}} 
[2026-09-06 09:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":173743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:33:58] local.INFO: GPS data processed {"connection_id":173743,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:33:58] local.INFO: Acknowledgment sent {"connection_id":173743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:33:59] local.INFO: TCP Data received {"connection_id":173743,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e20e58012d48a200065bce20000a01422b..."} 
[2026-09-06 09:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e20e58012d48a200065bce20000a01422b..."} 
[2026-09-06 09:33:59] local.INFO: Processing buffer {"connection_id":173743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e20e58012d48a200065bce20000a01422b..."} 
[2026-09-06 09:33:59] local.INFO: Packet analysis {"connection_id":173743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e2"} 
[2026-09-06 09:33:59] local.INFO: Extracted packet for processing {"connection_id":173743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e2"} 
[2026-09-06 09:33:59] local.INFO: GPS Element Parsed {"raw_longitude":759734784,"raw_latitude":106679840,"longitude_deg":75.9734784,"latitude_deg":10.667984,"altitude":10,"angle":322,"satellites":43,"speed":50,"hex_longitude":"2d48a200","hex_latitude":"065bce20","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898843904001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400322047550423040,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5240501143706984448,"note":"Value kept but may cause issues"} 
[2026-09-06 09:33:59] 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-09-06 09:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788667367000,"timestamp_ms":1788667367000,"timestamp_seconds":1788667367,"priority":1,"record_length":96,"hex_timestamp":"000001a074e20e58"} 
[2026-09-06 09:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:33: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-09-06 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:33:59] 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-09-06 09: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-09-06 09:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898843904001,"66":27745,"65":206,"78":62464,"24":50,"16":400322047550423040,"45":5240501143706984448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-09-06 09:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898843904001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:33:59] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-06 09:33:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400322047550423040,"km_value":400322047550423.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5240501143706984448,"description":"Unknown IO ID 45"} 
[2026-09-06 09:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898843904001,"power":27745,"unknown_65":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5240501143706984448}} 
[2026-09-06 09:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":173743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:33:59] local.INFO: GPS data processed {"connection_id":173743,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:33:59] local.INFO: Acknowledgment sent {"connection_id":173743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:34:01] local.INFO: TCP Data received {"connection_id":173744,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:34:01] local.INFO: Processing buffer {"connection_id":173744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:34:01] local.INFO: IMEI packet received {"connection_id":173744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 09:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":173744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:34:02] local.INFO: TCP Data received {"connection_id":173744,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:34:02] local.INFO: Processing buffer {"connection_id":173744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:34:02] local.INFO: IMEI packet received {"connection_id":173744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 09:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":173744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:34:08] local.INFO: TCP Data received {"connection_id":173744,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:34:08] local.INFO: Processing buffer {"connection_id":173744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:34:08] local.INFO: IMEI packet received {"connection_id":173744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 09:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":173744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:34:09] local.INFO: TCP Data received {"connection_id":173744,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074e23568012c7e590009653ef002a2014026..."} 
[2026-09-06 09:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e23568012c7e590009653ef002a2014026..."} 
[2026-09-06 09:34:09] local.INFO: Processing buffer {"connection_id":173744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e23568012c7e590009653ef002a2014026..."} 
[2026-09-06 09:34:09] local.INFO: Packet analysis {"connection_id":173744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e2"} 
[2026-09-06 09:34:09] local.INFO: Extracted packet for processing {"connection_id":173744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e2"} 
[2026-09-06 09:34:09] local.INFO: GPS Element Parsed {"raw_longitude":746477824,"raw_latitude":157630192,"longitude_deg":74.6477824,"latitude_deg":15.7630192,"altitude":674,"angle":320,"satellites":38,"speed":0,"hex_longitude":"2c7e5900","hex_latitude":"09653ef0","is_valid_coordinates":true} 
[2026-09-06 09:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898843136001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246177701494784,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9104730374524456962,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788667377000,"timestamp_ms":1788667377000,"timestamp_seconds":1788667377,"priority":1,"record_length":96,"hex_timestamp":"000001a074e23568"} 
[2026-09-06 09:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:34: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-09-06 09:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 09:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898843136001,"66":28137,"41":206,"9":7680,"24":0,"16":2246177701494784,"44":9104730374524456962},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,9,24,16,44]} 
[2026-09-06 09:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898843136001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:34:09] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-06 09:34:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246177701494784,"km_value":2246177701494.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:34:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":9104730374524456962,"description":"Unknown IO ID 44"} 
[2026-09-06 09:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898843136001,"power":28137,"unknown_41":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":9104730374524456962}} 
[2026-09-06 09:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":173744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:34:09] local.INFO: GPS data processed {"connection_id":173744,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:34:09] local.INFO: Acknowledgment sent {"connection_id":173744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:34:09] local.INFO: TCP Data received {"connection_id":172370,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:34:09] local.INFO: Processing buffer {"connection_id":172370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:34:09] local.INFO: IMEI packet received {"connection_id":172370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":172370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:34:14] local.INFO: TCP Data received {"connection_id":172370,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:34:14] local.INFO: Processing buffer {"connection_id":172370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:34:14] local.INFO: IMEI packet received {"connection_id":172370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":172370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:34:15] local.INFO: TCP Data received {"connection_id":172370,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e0ce08012d188cc007224f30006200d525..."} 
[2026-09-06 09:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e0ce08012d188cc007224f30006200d525..."} 
[2026-09-06 09:34:15] local.INFO: Processing buffer {"connection_id":172370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e0ce08012d188cc007224f30006200d525..."} 
[2026-09-06 09:34:15] local.INFO: Packet analysis {"connection_id":172370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:34:15] local.INFO: Extracted packet for processing {"connection_id":172370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e0"} 
[2026-09-06 09:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756583616,"raw_latitude":119689008,"longitude_deg":75.6583616,"latitude_deg":11.9689008,"altitude":98,"angle":213,"satellites":37,"speed":36,"hex_longitude":"2d188cc0","hex_latitude":"07224f30","is_valid_coordinates":true} 
[2026-09-06 09:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898822144001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18141568196149248,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774488652570544128,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788667285000,"timestamp_ms":1788667285000,"timestamp_seconds":1788667285,"priority":1,"record_length":96,"hex_timestamp":"000001a074e0ce08"} 
[2026-09-06 09:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3305111552,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503876421156864,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":116,"raw_value":-2331413246577695808,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2656043119,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4395777123403759872,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182100860600576,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-2737962716529373613,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2506578649851937828,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195320320,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84751111109944029,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.WARNING: Large IO value detected {"io_id":144,"raw_value":29274291535093504,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:15] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,105,83,24,241,157,16,115,160,135,45,128,110,36,10,66,100,192,151,111,37,114,1,240,215,227,116,34,4,113,205,164,120,239,55,2,64,7,107,29,75,69,232,144],"length":625,"final_offset":755,"validated_count":44,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-09-06 09:34:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7638331622036406272,"timestamp_seconds":7638331622036406.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 09:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898822144001,"66":12885,"105":206,"83":41984,"24":36,"16":18141568196149248,"45":1774488652570544128},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898822144001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:34:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18141568196149248,"km_value":18141568196149.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774488652570544128,"description":"Unknown IO ID 45"} 
[2026-09-06 09:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898822144001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1774488652570544128}} 
[2026-09-06 09:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":172370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:34:16] local.INFO: GPS data processed {"connection_id":172370,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:34:16] local.INFO: Acknowledgment sent {"connection_id":172370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:34:17] local.INFO: TCP Data received {"connection_id":172371,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:34:17] local.INFO: Processing buffer {"connection_id":172371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:34:17] local.INFO: IMEI packet received {"connection_id":172371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":172371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:34:22] local.INFO: TCP Data received {"connection_id":172371,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:34:22] local.INFO: Processing buffer {"connection_id":172371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:34:22] local.INFO: IMEI packet received {"connection_id":172371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":172371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:34:23] local.INFO: TCP Data received {"connection_id":172371,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074e2be20012d7d420005d29c80000d00b920..."} 
[2026-09-06 09:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e2be20012d7d420005d29c80000d00b920..."} 
[2026-09-06 09:34:23] local.INFO: Processing buffer {"connection_id":172371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e2be20012d7d420005d29c80000d00b920..."} 
[2026-09-06 09:34:23] local.INFO: Packet analysis {"connection_id":172371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e2"} 
[2026-09-06 09:34:23] local.INFO: Extracted packet for processing {"connection_id":172371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e2"} 
[2026-09-06 09:34:23] local.INFO: GPS Element Parsed {"raw_longitude":763183616,"raw_latitude":97688704,"longitude_deg":76.3183616,"latitude_deg":9.7688704,"altitude":13,"angle":185,"satellites":32,"speed":0,"hex_longitude":"2d7d4200","hex_latitude":"05d29c80","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898852352001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128879942644531200,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840678379520,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788667412000,"timestamp_ms":1788667412000,"timestamp_seconds":1788667412,"priority":1,"record_length":96,"hex_timestamp":"000001a074e2be20"} 
[2026-09-06 09:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 09:34:23] 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-09-06 09: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-09-06 09:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:34:23] 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-09-06 09:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898852352001,"66":13580,"115":206,"85":15104,"24":0,"16":128879942644531200,"45":9026198840678379520},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-09-06 09:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898852352001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:34:23] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-06 09:34:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128879942644531200,"km_value":128879942644531.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840678379520,"description":"Unknown IO ID 45"} 
[2026-09-06 09:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898852352001,"power":13580,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9026198840678379520}} 
[2026-09-06 09:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":172371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:34:23] local.INFO: GPS data processed {"connection_id":172371,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:34:23] local.INFO: Acknowledgment sent {"connection_id":172371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:34:36] local.INFO: TCP Data received {"connection_id":173743,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e22d98012d488a00065bedb8000a01422b..."} 
[2026-09-06 09:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e22d98012d488a00065bedb8000a01422b..."} 
[2026-09-06 09:34:36] local.INFO: Processing buffer {"connection_id":173743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e22d98012d488a00065bedb8000a01422b..."} 
[2026-09-06 09:34:36] local.INFO: Packet analysis {"connection_id":173743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e2"} 
[2026-09-06 09:34:36] local.INFO: Extracted packet for processing {"connection_id":173743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e2"} 
[2026-09-06 09:34:36] local.INFO: GPS Element Parsed {"raw_longitude":759728640,"raw_latitude":106687928,"longitude_deg":75.972864,"latitude_deg":10.6687928,"altitude":10,"angle":322,"satellites":43,"speed":50,"hex_longitude":"2d488a00","hex_latitude":"065bedb8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898845952001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400322541471662080,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5233745744267976704,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:36] 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-09-06 09:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788667375000,"timestamp_ms":1788667375000,"timestamp_seconds":1788667375,"priority":1,"record_length":96,"hex_timestamp":"000001a074e22d98"} 
[2026-09-06 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-09-06 09:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 09:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898845952001,"66":27821,"65":206,"78":62464,"24":50,"16":400322541471662080,"45":5233745744267976704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-09-06 09:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898845952001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:34:36] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-06 09:34:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400322541471662080,"km_value":400322541471662.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5233745744267976704,"description":"Unknown IO ID 45"} 
[2026-09-06 09:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898845952001,"power":27821,"unknown_65":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5233745744267976704}} 
[2026-09-06 09:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":173743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:34:36] local.INFO: GPS data processed {"connection_id":173743,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:34:36] local.INFO: Acknowledgment sent {"connection_id":173743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:34:41] local.INFO: TCP Data received {"connection_id":173744,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074e28770012c7e368009657e70029f014728..."} 
[2026-09-06 09:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e28770012c7e368009657e70029f014728..."} 
[2026-09-06 09:34:41] local.INFO: Processing buffer {"connection_id":173744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e28770012c7e368009657e70029f014728..."} 
[2026-09-06 09:34:41] local.INFO: Packet analysis {"connection_id":173744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e2"} 
[2026-09-06 09:34:41] local.INFO: Extracted packet for processing {"connection_id":173744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e2"} 
[2026-09-06 09:34:41] local.INFO: GPS Element Parsed {"raw_longitude":746468992,"raw_latitude":157646448,"longitude_deg":74.6468992,"latitude_deg":15.7646448,"altitude":671,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2c7e3680","hex_latitude":"09657e70","is_valid_coordinates":true} 
[2026-09-06 09:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898848512001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2246177701494784,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9104308162059497474,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788667398000,"timestamp_ms":1788667398000,"timestamp_seconds":1788667398,"priority":1,"record_length":96,"hex_timestamp":"000001a074e28770"} 
[2026-09-06 09:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 09:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898848512001,"66":28050,"41":206,"9":7680,"24":0,"16":2246177701494784,"44":9104308162059497474},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,9,24,16,44]} 
[2026-09-06 09:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898848512001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:34:41] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-06 09:34:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2246177701494784,"km_value":2246177701494.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":9104308162059497474,"description":"Unknown IO ID 44"} 
[2026-09-06 09:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898848512001,"power":28050,"unknown_41":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":9104308162059497474}} 
[2026-09-06 09:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":173744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773482,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:34:41] local.INFO: GPS data processed {"connection_id":173744,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:34:41] local.INFO: Acknowledgment sent {"connection_id":173744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:34:48] local.INFO: TCP Data received {"connection_id":172370,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e100d0012d1878c007223058005a00d423..."} 
[2026-09-06 09:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e100d0012d1878c007223058005a00d423..."} 
[2026-09-06 09:34:48] local.INFO: Processing buffer {"connection_id":172370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e100d0012d1878c007223058005a00d423..."} 
[2026-09-06 09:34:48] local.INFO: Packet analysis {"connection_id":172370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:34:48] local.INFO: Extracted packet for processing {"connection_id":172370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:34:48] local.INFO: GPS Element Parsed {"raw_longitude":756578496,"raw_latitude":119681112,"longitude_deg":75.6578496,"latitude_deg":11.9681112,"altitude":90,"angle":212,"satellites":35,"speed":25,"hex_longitude":"2d1878c0","hex_latitude":"07223058","is_valid_coordinates":true} 
[2026-09-06 09:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898824960001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18142019167715328,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768999890522681344,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788667298000,"timestamp_ms":1788667298000,"timestamp_seconds":1788667298,"priority":1,"record_length":96,"hex_timestamp":"000001a074e100d0"} 
[2026-09-06 09:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:34:48] 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-09-06 09:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-06 09:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":172370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":172370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":172370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898824960001,"66":12776,"105":206,"83":41984,"24":25,"16":18142019167715328,"45":1768999890522681344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898824960001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:34:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:34:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18142019167715328,"km_value":18142019167715.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768999890522681344,"description":"Unknown IO ID 45"} 
[2026-09-06 09:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898824960001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1768999890522681344}} 
[2026-09-06 09:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":172370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:34:48] local.INFO: GPS data processed {"connection_id":172370,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:34:48] local.INFO: Acknowledgment sent {"connection_id":172370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:34:48] local.INFO: TCP Data received {"connection_id":172601,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:34:48] local.INFO: Processing buffer {"connection_id":172601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:34:48] local.INFO: IMEI packet received {"connection_id":172601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":172601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:34:49] local.INFO: TCP Data received {"connection_id":172601,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:34:49] local.INFO: Processing buffer {"connection_id":172601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:34:49] local.INFO: IMEI packet received {"connection_id":172601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":172601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:34:50] local.INFO: TCP Data received {"connection_id":172601,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e24cd8012d487200065c0d60000a01442b..."} 
[2026-09-06 09:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e24cd8012d487200065c0d60000a01442b..."} 
[2026-09-06 09:34:50] local.INFO: Processing buffer {"connection_id":172601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e24cd8012d487200065c0d60000a01442b..."} 
[2026-09-06 09:34:50] local.INFO: Packet analysis {"connection_id":172601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e2"} 
[2026-09-06 09:34:50] local.INFO: Extracted packet for processing {"connection_id":172601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e2"} 
[2026-09-06 09:34:50] local.INFO: GPS Element Parsed {"raw_longitude":759722496,"raw_latitude":106696032,"longitude_deg":75.9722496,"latitude_deg":10.6696032,"altitude":10,"angle":324,"satellites":43,"speed":49,"hex_longitude":"2d487200","hex_latitude":"065c0d60","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898848000001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400323026802966528,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5226990344828991488,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:50] 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-09-06 09:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788667383000,"timestamp_ms":1788667383000,"timestamp_seconds":1788667383,"priority":1,"record_length":96,"hex_timestamp":"000001a074e24cd8"} 
[2026-09-06 09:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:34: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-09-06 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 09:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898848000001,"66":27713,"65":206,"78":62464,"24":49,"16":400323026802966528,"45":5226990344828991488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-09-06 09:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898848000001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:34:50] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-06 09:34:50] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400323026802966528,"km_value":400323026802966.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5226990344828991488,"description":"Unknown IO ID 45"} 
[2026-09-06 09:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898848000001,"power":27713,"unknown_65":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5226990344828991488}} 
[2026-09-06 09:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":172601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:34:50] local.INFO: GPS data processed {"connection_id":172601,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:34:50] local.INFO: Acknowledgment sent {"connection_id":172601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:34:53] local.INFO: TCP Data received {"connection_id":172371,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074e31028012d7d420005d29c78000d00b920..."} 
[2026-09-06 09:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e31028012d7d420005d29c78000d00b920..."} 
[2026-09-06 09:34:53] local.INFO: Processing buffer {"connection_id":172371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e31028012d7d420005d29c78000d00b920..."} 
[2026-09-06 09:34:53] local.INFO: Packet analysis {"connection_id":172371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:34:53] local.INFO: Extracted packet for processing {"connection_id":172371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:34:53] local.INFO: GPS Element Parsed {"raw_longitude":763183616,"raw_latitude":97688696,"longitude_deg":76.3183616,"latitude_deg":9.7688696,"altitude":13,"angle":185,"satellites":32,"speed":0,"hex_longitude":"2d7d4200","hex_latitude":"05d29c78","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898857472001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128879942644531200,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025776628212203520,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34: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-09-06 09:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788667433000,"timestamp_ms":1788667433000,"timestamp_seconds":1788667433,"priority":1,"record_length":96,"hex_timestamp":"000001a074e31028"} 
[2026-09-06 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-09-06 09:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 09:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630814,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3900462523953971200,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:53] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3795150849,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:53] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3121086473,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:53] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039061585,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792554702,"corrected_to":0} 
[2026-09-06 09:34:53] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271227699638699,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:53] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:53] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3744399360,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3538319360,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:53] local.WARNING: Large IO value detected {"io_id":125,"raw_value":4431548437303394315,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:53] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755627074453745,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:53] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,115,85,24,241,157,16,223,160,112,45,128,173,11,33,10,66,76,182,9,35,61,1,240,197,227,116,210,4,113,205,6,26,136,32,239,53,2,201,5,48,125,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2792554702,"validated":0}]} 
[2026-09-06 09:34:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936952269583155200,"timestamp_seconds":936952269583155.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 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-09-06 09:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:34:53] 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-09-06 09:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898857472001,"66":13852,"117":206,"85":15104,"24":0,"16":128879942644531200,"45":9025776628212203520},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 09:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898857472001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:34:54] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 09:34:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128879942644531200,"km_value":128879942644531.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025776628212203520,"description":"Unknown IO ID 45"} 
[2026-09-06 09:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898857472001,"power":13852,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9025776628212203520}} 
[2026-09-06 09:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":172371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:34:54] local.INFO: GPS data processed {"connection_id":172371,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:34:54] local.INFO: Acknowledgment sent {"connection_id":172371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:34:54] local.INFO: TCP Data received {"connection_id":172601,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e26c18012d485dc0065c2f08000a014d2c..."} 
[2026-09-06 09:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e26c18012d485dc0065c2f08000a014d2c..."} 
[2026-09-06 09:34:54] local.INFO: Processing buffer {"connection_id":172601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e26c18012d485dc0065c2f08000a014d2c..."} 
[2026-09-06 09:34:54] local.INFO: Packet analysis {"connection_id":172601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e2"} 
[2026-09-06 09:34:54] local.INFO: Extracted packet for processing {"connection_id":172601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e2"} 
[2026-09-06 09:34:54] local.INFO: GPS Element Parsed {"raw_longitude":759717312,"raw_latitude":106704648,"longitude_deg":75.9717312,"latitude_deg":10.6704648,"altitude":10,"angle":333,"satellites":44,"speed":50,"hex_longitude":"2d485dc0","hex_latitude":"065c2f08","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898850048001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400323516429238272,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5220234945390010368,"note":"Value kept but may cause issues"} 
[2026-09-06 09:34: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-09-06 09:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788667391000,"timestamp_ms":1788667391000,"timestamp_seconds":1788667391,"priority":1,"record_length":96,"hex_timestamp":"000001a074e26c18"} 
[2026-09-06 09:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:34: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-09-06 09: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-06 09:34: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-09-06 09: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-09-06 09:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898850048001,"66":27767,"131":206,"78":62464,"24":50,"16":400323516429238272,"45":5220234945390010368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-09-06 09:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898850048001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:34:54] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-06 09:34:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400323516429238272,"km_value":400323516429238.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5220234945390010368,"description":"Unknown IO ID 45"} 
[2026-09-06 09:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898850048001,"power":27767,"unknown_131":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5220234945390010368}} 
[2026-09-06 09:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":172601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:34:54] local.INFO: GPS data processed {"connection_id":172601,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:34:54] local.INFO: Acknowledgment sent {"connection_id":172601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:35:02] local.INFO: TCP Data received {"connection_id":172372,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:35:02] local.INFO: Processing buffer {"connection_id":172372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:35:02] local.INFO: IMEI packet received {"connection_id":172372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 09:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":172372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:35:08] local.INFO: TCP Data received {"connection_id":172372,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:35:08] local.INFO: Processing buffer {"connection_id":172372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:35:08] local.INFO: IMEI packet received {"connection_id":172372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 09:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":172372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:35:09] local.INFO: TCP Data received {"connection_id":172372,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074e3eae8012c7d4080096711c002ad012628..."} 
[2026-09-06 09:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e3eae8012c7d4080096711c002ad012628..."} 
[2026-09-06 09:35:09] local.INFO: Processing buffer {"connection_id":172372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e3eae8012c7d4080096711c002ad012628..."} 
[2026-09-06 09:35:09] local.INFO: Packet analysis {"connection_id":172372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:35:09] local.INFO: Extracted packet for processing {"connection_id":172372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:35:09] local.INFO: GPS Element Parsed {"raw_longitude":746406016,"raw_latitude":157749696,"longitude_deg":74.6406016,"latitude_deg":15.7749696,"altitude":685,"angle":294,"satellites":40,"speed":42,"hex_longitude":"2c7d4080","hex_latitude":"096711c0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898874880001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2250206380818432,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9035628267771637762,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788667489000,"timestamp_ms":1788667489000,"timestamp_seconds":1788667489,"priority":1,"record_length":96,"hex_timestamp":"000001a074e3eae8"} 
[2026-09-06 09:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:35: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-09-06 09: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-06 09:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898874880001,"66":28126,"42":206,"9":7680,"24":42,"16":2250206380818432,"44":9035628267771637762},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,9,24,16,44]} 
[2026-09-06 09:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898874880001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:35:09] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-06 09:35:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2250206380818432,"km_value":2250206380818.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:35:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":9035628267771637762,"description":"Unknown IO ID 44"} 
[2026-09-06 09:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898874880001,"power":28126,"unknown_42":206,"unknown_9":7680,"ignition":42,"odometer":null,"unknown_44":9035628267771637762}} 
[2026-09-06 09:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":172372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773487,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:35:09] local.INFO: GPS data processed {"connection_id":172372,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:35:09] local.INFO: Acknowledgment sent {"connection_id":172372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:35:09] local.INFO: TCP Data received {"connection_id":175064,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:35:09] local.INFO: Processing buffer {"connection_id":175064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:35:09] local.INFO: IMEI packet received {"connection_id":175064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":175064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:35:14] local.INFO: TCP Data received {"connection_id":175064,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:35:14] local.INFO: Processing buffer {"connection_id":175064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:35:14] local.INFO: IMEI packet received {"connection_id":175064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":175064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:35:15] local.INFO: TCP Data received {"connection_id":175064,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e12fb0012d186500072212e0005400d624..."} 
[2026-09-06 09:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e12fb0012d186500072212e0005400d624..."} 
[2026-09-06 09:35:15] local.INFO: Processing buffer {"connection_id":175064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e12fb0012d186500072212e0005400d624..."} 
[2026-09-06 09:35:15] local.INFO: Packet analysis {"connection_id":175064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:35:15] local.INFO: Extracted packet for processing {"connection_id":175064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756573440,"raw_latitude":119673568,"longitude_deg":75.657344,"latitude_deg":11.9673568,"altitude":84,"angle":214,"satellites":36,"speed":29,"hex_longitude":"2d186500","hex_latitude":"072212e0","is_valid_coordinates":true} 
[2026-09-06 09:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898828288001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18142457254379520,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763370390986446848,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788667310000,"timestamp_ms":1788667310000,"timestamp_seconds":1788667310,"priority":1,"record_length":96,"hex_timestamp":"000001a074e12fb0"} 
[2026-09-06 09:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 09:35:15] 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-09-06 09:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898828288001,"66":12667,"105":206,"83":41984,"24":29,"16":18142457254379520,"45":1763370390986446848},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898828288001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:35:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18142457254379520,"km_value":18142457254379.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763370390986446848,"description":"Unknown IO ID 45"} 
[2026-09-06 09:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898828288001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1763370390986446848}} 
[2026-09-06 09:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":175064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:35:15] local.INFO: GPS data processed {"connection_id":175064,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:35:15] local.INFO: Acknowledgment sent {"connection_id":175064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:35:16] local.INFO: TCP Data received {"connection_id":172602,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:35:16] local.INFO: Processing buffer {"connection_id":172602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:35:16] local.INFO: IMEI packet received {"connection_id":172602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":172602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:35:22] local.INFO: TCP Data received {"connection_id":172602,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:35:22] local.INFO: Processing buffer {"connection_id":172602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:35:22] local.INFO: IMEI packet received {"connection_id":172602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":172602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:35:23] local.INFO: TCP Data received {"connection_id":172602,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074e34ea8012d7d414005d29498000d00a624..."} 
[2026-09-06 09:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e34ea8012d7d414005d29498000d00a624..."} 
[2026-09-06 09:35:23] local.INFO: Processing buffer {"connection_id":172602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e34ea8012d7d414005d29498000d00a624..."} 
[2026-09-06 09:35:23] local.INFO: Packet analysis {"connection_id":172602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:35:23] local.INFO: Extracted packet for processing {"connection_id":172602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:35:23] local.INFO: GPS Element Parsed {"raw_longitude":763183424,"raw_latitude":97686680,"longitude_deg":76.3183424,"latitude_deg":9.768668,"altitude":13,"angle":166,"satellites":36,"speed":5,"hex_longitude":"2d7d4140","hex_latitude":"05d29498","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898862848001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128880045723746304,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025776628212201472,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35: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-09-06 09:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788667449000,"timestamp_ms":1788667449000,"timestamp_seconds":1788667449,"priority":1,"record_length":96,"hex_timestamp":"000001a074e34ea8"} 
[2026-09-06 09:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-06 09:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:35:23] 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-09-06 09:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898862848001,"66":13939,"117":206,"85":15104,"24":5,"16":128880045723746304,"45":9025776628212201472},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 09:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898862848001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:35:23] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 09:35:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128880045723746304,"km_value":128880045723746.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025776628212201472,"description":"Unknown IO ID 45"} 
[2026-09-06 09:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898862848001,"power":13939,"unknown_117":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9025776628212201472}} 
[2026-09-06 09:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":172602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:35:23] local.INFO: GPS data processed {"connection_id":172602,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:35:23] local.INFO: Acknowledgment sent {"connection_id":172602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:35:25] local.INFO: TCP Data received {"connection_id":172601,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e39110012d47e1c0065d8a780010014e2c..."} 
[2026-09-06 09:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e39110012d47e1c0065d8a780010014e2c..."} 
[2026-09-06 09:35:25] local.INFO: Processing buffer {"connection_id":172601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e39110012d47e1c0065d8a780010014e2c..."} 
[2026-09-06 09:35:25] local.INFO: Packet analysis {"connection_id":172601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:35:25] local.INFO: Extracted packet for processing {"connection_id":172601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:35:25] local.INFO: GPS Element Parsed {"raw_longitude":759685568,"raw_latitude":106793592,"longitude_deg":75.9685568,"latitude_deg":10.6793592,"altitude":16,"angle":334,"satellites":44,"speed":52,"hex_longitude":"2d47e1c0","hex_latitude":"065d8a78","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898869504001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400328103454310400,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5183924673417228288,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:25] 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-09-06 09:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788667466000,"timestamp_ms":1788667466000,"timestamp_seconds":1788667466,"priority":1,"record_length":96,"hex_timestamp":"000001a074e39110"} 
[2026-09-06 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-09-06 09:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:35: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-09-06 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-09-06 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-09-06 09:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:35: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-09-06 09:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898869504001,"66":27745,"240":206,"80":60416,"24":52,"16":400328103454310400,"45":5183924673417228288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-06 09:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898869504001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:35:25] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-06 09:35:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400328103454310400,"km_value":400328103454310.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5183924673417228288,"description":"Unknown IO ID 45"} 
[2026-09-06 09:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898869504001,"power":27745,"unknown_240":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":5183924673417228288}} 
[2026-09-06 09:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":172601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:35:25] local.INFO: GPS data processed {"connection_id":172601,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:35:25] local.INFO: Acknowledgment sent {"connection_id":172601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:35:41] local.INFO: TCP Data received {"connection_id":172372,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074e40e10012c7d1c400967224002ad012829..."} 
[2026-09-06 09:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e40e10012c7d1c400967224002ad012829..."} 
[2026-09-06 09:35:41] local.INFO: Processing buffer {"connection_id":172372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e40e10012c7d1c400967224002ad012829..."} 
[2026-09-06 09:35:41] local.INFO: Packet analysis {"connection_id":172372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e4"} 
[2026-09-06 09:35:41] local.INFO: Extracted packet for processing {"connection_id":172372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e4"} 
[2026-09-06 09:35:41] local.INFO: GPS Element Parsed {"raw_longitude":746396736,"raw_latitude":157753920,"longitude_deg":74.6396736,"latitude_deg":15.775392,"altitude":685,"angle":296,"satellites":41,"speed":46,"hex_longitude":"2c7d1c40","hex_latitude":"09672240","is_valid_coordinates":true} 
[2026-09-06 09:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898877184001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2250687417155584,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9025354431122751490,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788667498000,"timestamp_ms":1788667498000,"timestamp_seconds":1788667498,"priority":1,"record_length":96,"hex_timestamp":"000001a074e40e10"} 
[2026-09-06 09:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-06 09:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898877184001,"66":28104,"42":206,"9":7680,"24":46,"16":2250687417155584,"44":9025354431122751490},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,9,24,16,44]} 
[2026-09-06 09:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898877184001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:35:41] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-06 09:35:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2250687417155584,"km_value":2250687417155.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":9025354431122751490,"description":"Unknown IO ID 44"} 
[2026-09-06 09:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898877184001,"power":28104,"unknown_42":206,"unknown_9":7680,"ignition":46,"odometer":null,"unknown_44":9025354431122751490}} 
[2026-09-06 09:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":172372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773491,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:35:41] local.INFO: GPS data processed {"connection_id":172372,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:35:41] local.INFO: Acknowledgment sent {"connection_id":172372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:35:47] local.INFO: TCP Data received {"connection_id":175064,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e181b8012d1851000721f5c8005100d725..."} 
[2026-09-06 09:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e181b8012d1851000721f5c8005100d725..."} 
[2026-09-06 09:35:47] local.INFO: Processing buffer {"connection_id":175064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e181b8012d1851000721f5c8005100d725..."} 
[2026-09-06 09:35:47] local.INFO: Packet analysis {"connection_id":175064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:35:47] local.INFO: Extracted packet for processing {"connection_id":175064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756568320,"raw_latitude":119666120,"longitude_deg":75.656832,"latitude_deg":11.966612,"altitude":81,"angle":215,"satellites":37,"speed":22,"hex_longitude":"2d185100","hex_latitude":"0721f5c8","is_valid_coordinates":true} 
[2026-09-06 09:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898831360001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18142895341043712,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757811260194480128,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788667331000,"timestamp_ms":1788667331000,"timestamp_seconds":1788667331,"priority":1,"record_length":96,"hex_timestamp":"000001a074e181b8"} 
[2026-09-06 09:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:35:47] 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-09-06 09:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-06 09:35:47] 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-09-06 09:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898831360001,"66":12504,"105":206,"83":41984,"24":22,"16":18142895341043712,"45":1757811260194480128},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898831360001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:35:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18142895341043712,"km_value":18142895341043.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757811260194480128,"description":"Unknown IO ID 45"} 
[2026-09-06 09:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898831360001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1757811260194480128}} 
[2026-09-06 09:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":175064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:35:47] local.INFO: GPS data processed {"connection_id":175064,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:35:47] local.INFO: Acknowledgment sent {"connection_id":175064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:35:53] local.INFO: TCP Data received {"connection_id":175065,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:35:53] local.INFO: Processing buffer {"connection_id":175065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:35:53] local.INFO: IMEI packet received {"connection_id":175065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":175065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:35:56] local.INFO: TCP Data received {"connection_id":172602,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074e394f8012d7d430005d28a80000c00b224..."} 
[2026-09-06 09:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e394f8012d7d430005d28a80000c00b224..."} 
[2026-09-06 09:35:56] local.INFO: Processing buffer {"connection_id":172602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e394f8012d7d430005d28a80000c00b224..."} 
[2026-09-06 09:35:56] local.INFO: Packet analysis {"connection_id":172602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:35:56] local.INFO: Extracted packet for processing {"connection_id":172602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":97684096,"longitude_deg":76.3183872,"latitude_deg":9.7684096,"altitude":12,"angle":178,"satellites":36,"speed":6,"hex_longitude":"2d7d4300","hex_latitude":"05d28a80","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898866944001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128880174572765184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565521979152384,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:56] 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-09-06 09:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788667467000,"timestamp_ms":1788667467000,"timestamp_seconds":1788667467,"priority":1,"record_length":96,"hex_timestamp":"000001a074e394f8"} 
[2026-09-06 09:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-06 09:35:56] 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-09-06 09: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-09-06 09:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:35:56] 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-09-06 09:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898866944001,"66":13798,"117":206,"85":15104,"24":6,"16":128880174572765184,"45":9025565521979152384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 09:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898866944001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:35:56] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 09:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128880174572765184,"km_value":128880174572765.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565521979152384,"description":"Unknown IO ID 45"} 
[2026-09-06 09:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898866944001,"power":13798,"unknown_117":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9025565521979152384}} 
[2026-09-06 09:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":172602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:35:56] local.INFO: GPS data processed {"connection_id":172602,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:35:56] local.INFO: Acknowledgment sent {"connection_id":172602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:35:57] local.INFO: TCP Data received {"connection_id":175065,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:35:57] local.INFO: Processing buffer {"connection_id":175065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:35:57] local.INFO: IMEI packet received {"connection_id":175065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":175065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:35:58] local.INFO: TCP Data received {"connection_id":175065,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:35:58] local.INFO: Processing buffer {"connection_id":175065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:35:58] local.INFO: IMEI packet received {"connection_id":175065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":175065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:35:59] local.INFO: TCP Data received {"connection_id":175065,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e3ac68012d47d1c0065dab98000d014e2b..."} 
[2026-09-06 09:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e3ac68012d47d1c0065dab98000d014e2b..."} 
[2026-09-06 09:35:59] local.INFO: Processing buffer {"connection_id":175065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e3ac68012d47d1c0065dab98000d014e2b..."} 
[2026-09-06 09:35:59] local.INFO: Packet analysis {"connection_id":175065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:35:59] local.INFO: Extracted packet for processing {"connection_id":175065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:35:59] local.INFO: GPS Element Parsed {"raw_longitude":759681472,"raw_latitude":106802072,"longitude_deg":75.9681472,"latitude_deg":10.6802072,"altitude":13,"angle":334,"satellites":43,"speed":53,"hex_longitude":"2d47d1c0","hex_latitude":"065dab98","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898871296001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400328558720843776,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5179632180024473600,"note":"Value kept but may cause issues"} 
[2026-09-06 09:35: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-09-06 09:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788667473000,"timestamp_ms":1788667473000,"timestamp_seconds":1788667473,"priority":1,"record_length":96,"hex_timestamp":"000001a074e3ac68"} 
[2026-09-06 09:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:35: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-09-06 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898871296001,"66":27767,"240":206,"80":60416,"24":53,"16":400328558720843776,"45":5179632180024473600},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-06 09:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898871296001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:35:59] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-06 09:35:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400328558720843776,"km_value":400328558720843.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5179632180024473600,"description":"Unknown IO ID 45"} 
[2026-09-06 09:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898871296001,"power":27767,"unknown_240":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":5179632180024473600}} 
[2026-09-06 09:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":175065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:35:59] local.INFO: GPS data processed {"connection_id":175065,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:35:59] local.INFO: Acknowledgment sent {"connection_id":175065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:36:02] local.INFO: TCP Data received {"connection_id":173745,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:36:02] local.INFO: Processing buffer {"connection_id":173745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:36:02] local.INFO: IMEI packet received {"connection_id":173745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 09:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":173745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:36:03] local.INFO: TCP Data received {"connection_id":175065,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e3c7c0012d47c1c0065dcd10000b014e2c..."} 
[2026-09-06 09:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e3c7c0012d47c1c0065dcd10000b014e2c..."} 
[2026-09-06 09:36:03] local.INFO: Processing buffer {"connection_id":175065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e3c7c0012d47c1c0065dcd10000b014e2c..."} 
[2026-09-06 09:36:03] local.INFO: Packet analysis {"connection_id":175065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:36:03] local.INFO: Extracted packet for processing {"connection_id":175065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:36:03] local.INFO: GPS Element Parsed {"raw_longitude":759677376,"raw_latitude":106810640,"longitude_deg":75.9677376,"latitude_deg":10.681064,"altitude":11,"angle":334,"satellites":44,"speed":54,"hex_longitude":"2d47c1c0","hex_latitude":"065dcd10","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898873088001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400329018282344448,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5175128580399273984,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36: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-09-06 09:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788667480000,"timestamp_ms":1788667480000,"timestamp_seconds":1788667480,"priority":1,"record_length":96,"hex_timestamp":"000001a074e3c7c0"} 
[2026-09-06 09:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:36: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-09-06 09:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:36: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-09-06 09: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-09-06 09:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898873088001,"66":27691,"240":206,"80":60416,"24":54,"16":400329018282344448,"45":5175128580399273984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-06 09:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898873088001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:36:03] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-06 09:36:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400329018282344448,"km_value":400329018282344.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5175128580399273984,"description":"Unknown IO ID 45"} 
[2026-09-06 09:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898873088001,"power":27691,"unknown_240":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":5175128580399273984}} 
[2026-09-06 09:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":175065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:36:04] local.INFO: GPS data processed {"connection_id":175065,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:36:04] local.INFO: Acknowledgment sent {"connection_id":175065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:36:08] local.INFO: TCP Data received {"connection_id":173745,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:36:08] local.INFO: Processing buffer {"connection_id":173745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:36:08] local.INFO: IMEI packet received {"connection_id":173745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 09:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":173745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:36:08] local.INFO: TCP Data received {"connection_id":172373,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:36:08] local.INFO: Processing buffer {"connection_id":172373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:36:08] local.INFO: IMEI packet received {"connection_id":172373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":172373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:36:09] local.INFO: TCP Data received {"connection_id":173745,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074e42d50012c7cfac0096735a002ad012e27..."} 
[2026-09-06 09:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e42d50012c7cfac0096735a002ad012e27..."} 
[2026-09-06 09:36:09] local.INFO: Processing buffer {"connection_id":173745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e42d50012c7cfac0096735a002ad012e27..."} 
[2026-09-06 09:36:09] local.INFO: Packet analysis {"connection_id":173745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e4"} 
[2026-09-06 09:36:09] local.INFO: Extracted packet for processing {"connection_id":173745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e4"} 
[2026-09-06 09:36:09] local.INFO: GPS Element Parsed {"raw_longitude":746388160,"raw_latitude":157758880,"longitude_deg":74.638816,"latitude_deg":15.775888,"altitude":685,"angle":302,"satellites":39,"speed":50,"hex_longitude":"2c7cfac0","hex_latitude":"096735a0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898879488001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2251155568590848,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9015150963218071554,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788667506000,"timestamp_ms":1788667506000,"timestamp_seconds":1788667506,"priority":1,"record_length":96,"hex_timestamp":"000001a074e42d50"} 
[2026-09-06 09:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898879488001,"66":28006,"42":206,"9":7680,"24":50,"16":2251155568590848,"44":9015150963218071554},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,9,24,16,44]} 
[2026-09-06 09:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898879488001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:36:09] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-06 09:36:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2251155568590848,"km_value":2251155568590.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:36:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":9015150963218071554,"description":"Unknown IO ID 44"} 
[2026-09-06 09:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898879488001,"power":28006,"unknown_42":206,"unknown_9":7680,"ignition":50,"odometer":null,"unknown_44":9015150963218071554}} 
[2026-09-06 09:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":173745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773496,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:36:09] local.INFO: GPS data processed {"connection_id":173745,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:36:09] local.INFO: Acknowledgment sent {"connection_id":173745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:36:09] local.INFO: TCP Data received {"connection_id":172373,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:36:09] local.INFO: Processing buffer {"connection_id":172373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:36:09] local.INFO: IMEI packet received {"connection_id":172373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":172373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:36:14] local.INFO: TCP Data received {"connection_id":172373,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:36:14] local.INFO: Processing buffer {"connection_id":172373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:36:14] local.INFO: IMEI packet received {"connection_id":172373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":172373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:36:15] local.INFO: TCP Data received {"connection_id":172373,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e181b8012d1851000721f5c8005100d725..."} 
[2026-09-06 09:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e181b8012d1851000721f5c8005100d725..."} 
[2026-09-06 09:36:15] local.INFO: Processing buffer {"connection_id":172373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e181b8012d1851000721f5c8005100d725..."} 
[2026-09-06 09:36:15] local.INFO: Packet analysis {"connection_id":172373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:36:15] local.INFO: Extracted packet for processing {"connection_id":172373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756568320,"raw_latitude":119666120,"longitude_deg":75.656832,"latitude_deg":11.966612,"altitude":81,"angle":215,"satellites":37,"speed":22,"hex_longitude":"2d185100","hex_latitude":"0721f5c8","is_valid_coordinates":true} 
[2026-09-06 09:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898836736001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18142895341043712,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752181760658360320,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788667331000,"timestamp_ms":1788667331000,"timestamp_seconds":1788667331,"priority":1,"record_length":96,"hex_timestamp":"000001a074e181b8"} 
[2026-09-06 09:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 09:36:15] 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-09-06 09:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898836736001,"66":12504,"105":206,"83":41984,"24":22,"16":18142895341043712,"45":1752181760658360320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898836736001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:36:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18142895341043712,"km_value":18142895341043.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752181760658360320,"description":"Unknown IO ID 45"} 
[2026-09-06 09:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898836736001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1752181760658360320}} 
[2026-09-06 09:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":172373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:36:15] local.INFO: GPS data processed {"connection_id":172373,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:36:15] local.INFO: Acknowledgment sent {"connection_id":172373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:36:18] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:36:18] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:36:18] local.INFO: IMEI packet received {"connection_id":173746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":173746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:36:22] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:36:22] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:36:22] local.INFO: IMEI packet received {"connection_id":173746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":173746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:36:27] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:36:27] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:36:27] local.INFO: IMEI packet received {"connection_id":173746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":173746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:36:28] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074e3e318012d7d418005d27530000800b424..."} 
[2026-09-06 09:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e3e318012d7d418005d27530000800b424..."} 
[2026-09-06 09:36:28] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e3e318012d7d418005d27530000800b424..."} 
[2026-09-06 09:36:28] local.INFO: Packet analysis {"connection_id":173746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:36:28] local.INFO: Extracted packet for processing {"connection_id":173746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763183488,"raw_latitude":97678640,"longitude_deg":76.3183488,"latitude_deg":9.767864,"altitude":8,"angle":180,"satellites":36,"speed":11,"hex_longitude":"2d7d4180","hex_latitude":"05d27530","is_valid_coordinates":true} 
[2026-09-06 09:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898871552001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128880440860737536,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058103187734528,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:28] 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-09-06 09:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788667487000,"timestamp_ms":1788667487000,"timestamp_seconds":1788667487,"priority":1,"record_length":96,"hex_timestamp":"000001a074e3e318"} 
[2026-09-06 09:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 09:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:36:28] 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-09-06 09:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898871552001,"66":13798,"117":206,"85":15104,"24":11,"16":128880440860737536,"45":9026058103187734528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 09:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898871552001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:36:28] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 09:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128880440860737536,"km_value":128880440860737.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058103187734528,"description":"Unknown IO ID 45"} 
[2026-09-06 09:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898871552001,"power":13798,"unknown_117":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9026058103187734528}} 
[2026-09-06 09:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":173746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:36:28] local.INFO: GPS data processed {"connection_id":173746,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:36:28] local.INFO: Acknowledgment sent {"connection_id":173746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:36:29] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074e3f2b8012d7d414005d270b8000900c224..."} 
[2026-09-06 09:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e3f2b8012d7d414005d270b8000900c224..."} 
[2026-09-06 09:36:29] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e3f2b8012d7d414005d270b8000900c224..."} 
[2026-09-06 09:36:29] local.INFO: Packet analysis {"connection_id":173746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:36:29] local.INFO: Extracted packet for processing {"connection_id":173746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e3"} 
[2026-09-06 09:36:29] local.INFO: GPS Element Parsed {"raw_longitude":763183424,"raw_latitude":97677496,"longitude_deg":76.3183424,"latitude_deg":9.7677496,"altitude":9,"angle":194,"satellites":36,"speed":10,"hex_longitude":"2d7d4140","hex_latitude":"05d270b8","is_valid_coordinates":true} 
[2026-09-06 09:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898876672001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128880496695312384,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635890721271808,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:29] 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-09-06 09:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788667491000,"timestamp_ms":1788667491000,"timestamp_seconds":1788667491,"priority":1,"record_length":96,"hex_timestamp":"000001a074e3f2b8"} 
[2026-09-06 09:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 09:36:29] 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-09-06 09:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:36:29] 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-09-06 09:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898876672001,"66":13820,"117":206,"85":15104,"24":10,"16":128880496695312384,"45":9025635890721271808},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 09:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898876672001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:36:29] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 09:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128880496695312384,"km_value":128880496695312.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635890721271808,"description":"Unknown IO ID 45"} 
[2026-09-06 09:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898876672001,"power":13820,"unknown_117":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9025635890721271808}} 
[2026-09-06 09:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":173746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:36:29] local.INFO: GPS data processed {"connection_id":173746,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:36:29] local.INFO: Acknowledgment sent {"connection_id":173746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:36:41] local.INFO: TCP Data received {"connection_id":173745,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074e448a8012c7cdb800967494002ad012f29..."} 
[2026-09-06 09:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e448a8012c7cdb800967494002ad012f29..."} 
[2026-09-06 09:36:41] local.INFO: Processing buffer {"connection_id":173745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e448a8012c7cdb800967494002ad012f29..."} 
[2026-09-06 09:36:41] local.INFO: Packet analysis {"connection_id":173745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e4"} 
[2026-09-06 09:36:41] local.INFO: Extracted packet for processing {"connection_id":173745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e4"} 
[2026-09-06 09:36:41] local.INFO: GPS Element Parsed {"raw_longitude":746380160,"raw_latitude":157763904,"longitude_deg":74.638016,"latitude_deg":15.7763904,"altitude":685,"angle":303,"satellites":41,"speed":53,"hex_longitude":"2c7cdb80","hex_latitude":"09674940","is_valid_coordinates":true} 
[2026-09-06 09:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898881536001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2251597950222336,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":9005721551499534338,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788667513000,"timestamp_ms":1788667513000,"timestamp_seconds":1788667513,"priority":1,"record_length":96,"hex_timestamp":"000001a074e448a8"} 
[2026-09-06 09:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 09:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898881536001,"66":28028,"42":206,"9":7680,"24":53,"16":2251597950222336,"44":9005721551499534338},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,9,24,16,44]} 
[2026-09-06 09:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898881536001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:36:41] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-06 09:36:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2251597950222336,"km_value":2251597950222.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":9005721551499534338,"description":"Unknown IO ID 44"} 
[2026-09-06 09:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898881536001,"power":28028,"unknown_42":206,"unknown_9":7680,"ignition":53,"odometer":null,"unknown_44":9005721551499534338}} 
[2026-09-06 09:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":173745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773500,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:36:41] local.INFO: GPS data processed {"connection_id":173745,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:36:41] local.INFO: Acknowledgment sent {"connection_id":173745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:36:47] local.INFO: TCP Data received {"connection_id":172373,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e1b868012d183c000721d8b8004f00d724..."} 
[2026-09-06 09:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e1b868012d183c000721d8b8004f00d724..."} 
[2026-09-06 09:36:47] local.INFO: Processing buffer {"connection_id":172373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e1b868012d183c000721d8b8004f00d724..."} 
[2026-09-06 09:36:47] local.INFO: Packet analysis {"connection_id":172373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:36:47] local.INFO: Extracted packet for processing {"connection_id":172373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e1"} 
[2026-09-06 09:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756562944,"raw_latitude":119658680,"longitude_deg":75.6562944,"latitude_deg":11.965868,"altitude":79,"angle":215,"satellites":36,"speed":25,"hex_longitude":"2d183c00","hex_latitude":"0721d8b8","is_valid_coordinates":true} 
[2026-09-06 09:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898836736001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18143337722675200,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752181760658360320,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788667345000,"timestamp_ms":1788667345000,"timestamp_seconds":1788667345,"priority":1,"record_length":96,"hex_timestamp":"000001a074e1b868"} 
[2026-09-06 09:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:36:47] 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-09-06 09:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 09:36:47] 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-09-06 09:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":172373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":172373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":172373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898836736001,"66":12645,"105":206,"83":41984,"24":25,"16":18143337722675200,"45":1752181760658360320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898836736001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:36:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:36:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18143337722675200,"km_value":18143337722675.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752181760658360320,"description":"Unknown IO ID 45"} 
[2026-09-06 09:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898836736001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1752181760658360320}} 
[2026-09-06 09:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":172373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:36:47] local.INFO: GPS data processed {"connection_id":172373,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:36:47] local.INFO: Acknowledgment sent {"connection_id":172373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:36:53] local.INFO: TCP Data received {"connection_id":173747,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:36:53] local.INFO: Processing buffer {"connection_id":173747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:36:53] local.INFO: IMEI packet received {"connection_id":173747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":173747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:36:54] local.INFO: TCP Data received {"connection_id":173747,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:36:54] local.INFO: Processing buffer {"connection_id":173747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:36:54] local.INFO: IMEI packet received {"connection_id":173747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":173747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:36:55] local.INFO: TCP Data received {"connection_id":173747,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e50810012d4712c0065f3da0000801492b..."} 
[2026-09-06 09:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e50810012d4712c0065f3da0000801492b..."} 
[2026-09-06 09:36:55] local.INFO: Processing buffer {"connection_id":173747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e50810012d4712c0065f3da0000801492b..."} 
[2026-09-06 09:36:55] local.INFO: Packet analysis {"connection_id":173747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:36:55] local.INFO: Extracted packet for processing {"connection_id":173747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:36:55] local.INFO: GPS Element Parsed {"raw_longitude":759632576,"raw_latitude":106904992,"longitude_deg":75.9632576,"latitude_deg":10.6904992,"altitude":8,"angle":329,"satellites":43,"speed":55,"hex_longitude":"2d4712c0","hex_latitude":"065f3da0","is_valid_coordinates":true} 
[2026-09-06 09:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898894080001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400334069163884544,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5126785253173434368,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:55] 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-09-06 09:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788667562000,"timestamp_ms":1788667562000,"timestamp_seconds":1788667562,"priority":1,"record_length":96,"hex_timestamp":"000001a074e50810"} 
[2026-09-06 09:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898894080001,"66":27745,"241":206,"80":60416,"24":55,"16":400334069163884544,"45":5126785253173434368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-06 09:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898894080001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:36:55] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-06 09:36:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400334069163884544,"km_value":400334069163884.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5126785253173434368,"description":"Unknown IO ID 45"} 
[2026-09-06 09:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898894080001,"power":27745,"unknown_241":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":5126785253173434368}} 
[2026-09-06 09:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":173747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:36:55] local.INFO: GPS data processed {"connection_id":173747,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:36:55] local.INFO: Acknowledgment sent {"connection_id":173747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:36:58] local.INFO: TCP Data received {"connection_id":173747,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e52368012d46ff40065f5e28000801492b..."} 
[2026-09-06 09:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e52368012d46ff40065f5e28000801492b..."} 
[2026-09-06 09:36:58] local.INFO: Processing buffer {"connection_id":173747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e52368012d46ff40065f5e28000801492b..."} 
[2026-09-06 09:36:58] local.INFO: Packet analysis {"connection_id":173747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:36:58] local.INFO: Extracted packet for processing {"connection_id":173747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:36:58] local.INFO: GPS Element Parsed {"raw_longitude":759627584,"raw_latitude":106913320,"longitude_deg":75.9627584,"latitude_deg":10.691332,"altitude":8,"angle":329,"satellites":43,"speed":54,"hex_longitude":"2d46ff40","hex_latitude":"065f5e28","is_valid_coordinates":true} 
[2026-09-06 09:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898895872001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400334537315319808,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5121366859873886208,"note":"Value kept but may cause issues"} 
[2026-09-06 09:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788667569000,"timestamp_ms":1788667569000,"timestamp_seconds":1788667569,"priority":1,"record_length":96,"hex_timestamp":"000001a074e52368"} 
[2026-09-06 09:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:36: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-09-06 09:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:36: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-09-06 09:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898895872001,"66":27745,"113":206,"78":62464,"24":54,"16":400334537315319808,"45":5121366859873886208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,78,24,16,45]} 
[2026-09-06 09:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898895872001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:36:58] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-06 09:36:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-09-06 09:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400334537315319808,"km_value":400334537315319.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5121366859873886208,"description":"Unknown IO ID 45"} 
[2026-09-06 09:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898895872001,"power":27745,"unknown_113":206,"unknown_78":62464,"ignition":54,"odometer":null,"unknown_45":5121366859873886208}} 
[2026-09-06 09:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":173747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:36:58] local.INFO: GPS data processed {"connection_id":173747,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:36:58] local.INFO: Acknowledgment sent {"connection_id":173747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:37:01] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074e40a28012d7d408005d26a10000b00b424..."} 
[2026-09-06 09:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e40a28012d7d408005d26a10000b00b424..."} 
[2026-09-06 09:37:01] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e40a28012d7d408005d26a10000b00b424..."} 
[2026-09-06 09:37:01] local.INFO: Packet analysis {"connection_id":173746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e4"} 
[2026-09-06 09:37:01] local.INFO: Extracted packet for processing {"connection_id":173746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e4"} 
[2026-09-06 09:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763183232,"raw_latitude":97675792,"longitude_deg":76.3183232,"latitude_deg":9.7675792,"altitude":11,"angle":180,"satellites":36,"speed":12,"hex_longitude":"2d7d4080","hex_latitude":"05d26a10","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898877696001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128880582594658304,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565521976801280,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:01] 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-09-06 09:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788667497000,"timestamp_ms":1788667497000,"timestamp_seconds":1788667497,"priority":1,"record_length":96,"hex_timestamp":"000001a074e40a28"} 
[2026-09-06 09:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 09:37:01] 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-09-06 09: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-09-06 09:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:37:01] 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-09-06 09:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898877696001,"66":13906,"117":206,"85":15104,"24":12,"16":128880582594658304,"45":9025565521976801280},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 09:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898877696001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:37:01] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 09:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128880582594658304,"km_value":128880582594658.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565521976801280,"description":"Unknown IO ID 45"} 
[2026-09-06 09:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898877696001,"power":13906,"unknown_117":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9025565521976801280}} 
[2026-09-06 09:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":173746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:37:01] local.INFO: GPS data processed {"connection_id":173746,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:37:01] local.INFO: Acknowledgment sent {"connection_id":173746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:37:09] local.INFO: TCP Data received {"connection_id":172374,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:37:09] local.INFO: Processing buffer {"connection_id":172374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:37:09] local.INFO: IMEI packet received {"connection_id":172374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":172374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:37:14] local.INFO: TCP Data received {"connection_id":172374,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:37:14] local.INFO: Processing buffer {"connection_id":172374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:37:14] local.INFO: IMEI packet received {"connection_id":172374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":172374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:37:15] local.INFO: TCP Data received {"connection_id":172374,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e4dd18012d1821c00721b558004a00d927..."} 
[2026-09-06 09:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e4dd18012d1821c00721b558004a00d927..."} 
[2026-09-06 09:37:15] local.INFO: Processing buffer {"connection_id":172374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e4dd18012d1821c00721b558004a00d927..."} 
[2026-09-06 09:37:15] local.INFO: Packet analysis {"connection_id":172374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e4"} 
[2026-09-06 09:37:15] local.INFO: Extracted packet for processing {"connection_id":172374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e4"} 
[2026-09-06 09:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649624,"longitude_deg":75.6556224,"latitude_deg":11.9649624,"altitude":74,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b558","is_valid_coordinates":true} 
[2026-09-06 09:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898887680001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18143883183521792,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004558848,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788667551000,"timestamp_ms":1788667551000,"timestamp_seconds":1788667551,"priority":1,"record_length":96,"hex_timestamp":"000001a074e4dd18"} 
[2026-09-06 09:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 09:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898887680001,"66":13961,"105":206,"83":41984,"24":0,"16":18143883183521792,"45":1738882068004558848},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898887680001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:37:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18143883183521792,"km_value":18143883183521.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004558848,"description":"Unknown IO ID 45"} 
[2026-09-06 09:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898887680001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004558848}} 
[2026-09-06 09:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":172374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:37:15] local.INFO: GPS data processed {"connection_id":172374,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:37:15] local.INFO: Acknowledgment sent {"connection_id":172374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:37:17] local.INFO: TCP Data received {"connection_id":175066,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:37:17] local.INFO: Processing buffer {"connection_id":175066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:37:17] local.INFO: IMEI packet received {"connection_id":175066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":175066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:37:22] local.INFO: TCP Data received {"connection_id":175066,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:37:22] local.INFO: Processing buffer {"connection_id":175066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:37:22] local.INFO: IMEI packet received {"connection_id":175066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":175066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:37:23] local.INFO: TCP Data received {"connection_id":175066,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074e43520012d7d3f0005d25ca8000a00c022..."} 
[2026-09-06 09:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e43520012d7d3f0005d25ca8000a00c022..."} 
[2026-09-06 09:37:23] local.INFO: Processing buffer {"connection_id":175066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e43520012d7d3f0005d25ca8000a00c022..."} 
[2026-09-06 09:37:23] local.INFO: Packet analysis {"connection_id":175066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e4"} 
[2026-09-06 09:37:23] local.INFO: Extracted packet for processing {"connection_id":175066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e4"} 
[2026-09-06 09:37:23] local.INFO: GPS Element Parsed {"raw_longitude":763182848,"raw_latitude":97672360,"longitude_deg":76.3182848,"latitude_deg":9.767236,"altitude":10,"angle":192,"satellites":34,"speed":6,"hex_longitude":"2d7d3f00","hex_latitude":"05d25ca8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898879232001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128880750098382848,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025354415743832064,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37: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-09-06 09:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788667508000,"timestamp_ms":1788667508000,"timestamp_seconds":1788667508,"priority":1,"record_length":96,"hex_timestamp":"000001a074e43520"} 
[2026-09-06 09:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-06 09:37:23] 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-09-06 09: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-09-06 09:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:37:23] 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-09-06 09:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898879232001,"66":13906,"117":206,"85":15104,"24":6,"16":128880750098382848,"45":9025354415743832064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 09:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898879232001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:37:23] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 09:37:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128880750098382848,"km_value":128880750098382.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025354415743832064,"description":"Unknown IO ID 45"} 
[2026-09-06 09:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898879232001,"power":13906,"unknown_117":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9025354415743832064}} 
[2026-09-06 09:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":175066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:37:23] local.INFO: GPS data processed {"connection_id":175066,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:37:23] local.INFO: Acknowledgment sent {"connection_id":175066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:37:27] local.INFO: TCP Data received {"connection_id":175066,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a074e48340012d7d3a8005d24420000700ba24..."} 
[2026-09-06 09:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e48340012d7d3a8005d24420000700ba24..."} 
[2026-09-06 09:37:27] local.INFO: Processing buffer {"connection_id":175066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e48340012d7d3a8005d24420000700ba24..."} 
[2026-09-06 09:37:27] local.INFO: Packet analysis {"connection_id":175066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e4"} 
[2026-09-06 09:37:27] local.INFO: Extracted packet for processing {"connection_id":175066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e4"} 
[2026-09-06 09:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763181696,"raw_latitude":97666080,"longitude_deg":76.3181696,"latitude_deg":9.766608,"altitude":7,"angle":186,"satellites":36,"speed":12,"hex_longitude":"2d7d3a80","hex_latitude":"05d24420","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898882048001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128881063630995456,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024932203277887488,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:27] 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-09-06 09:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788667528000,"timestamp_ms":1788667528000,"timestamp_seconds":1788667528,"priority":1,"record_length":96,"hex_timestamp":"000001a074e48340"} 
[2026-09-06 09:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-06 09:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:37:27] 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-09-06 09:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898882048001,"66":13798,"117":206,"85":15104,"24":12,"16":128881063630995456,"45":9024932203277887488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 09:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898882048001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:37:27] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 09:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128881063630995456,"km_value":128881063630995.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024932203277887488,"description":"Unknown IO ID 45"} 
[2026-09-06 09:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898882048001,"power":13798,"unknown_117":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9024932203277887488}} 
[2026-09-06 09:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":175066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:37:27] local.INFO: GPS data processed {"connection_id":175066,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:37:27] local.INFO: Acknowledgment sent {"connection_id":175066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:37:29] local.INFO: TCP Data received {"connection_id":173747,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e53ec0012d46ed80065f7e500009014d2c..."} 
[2026-09-06 09:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e53ec0012d46ed80065f7e500009014d2c..."} 
[2026-09-06 09:37:29] local.INFO: Processing buffer {"connection_id":173747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e53ec0012d46ed80065f7e500009014d2c..."} 
[2026-09-06 09:37:29] local.INFO: Packet analysis {"connection_id":173747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:37:29] local.INFO: Extracted packet for processing {"connection_id":173747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:37:29] local.INFO: GPS Element Parsed {"raw_longitude":759623040,"raw_latitude":106921552,"longitude_deg":75.962304,"latitude_deg":10.6921552,"altitude":9,"angle":333,"satellites":44,"speed":52,"hex_longitude":"2d46ed80","hex_latitude":"065f7e50","is_valid_coordinates":true} 
[2026-09-06 09:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898897664001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400334992581853184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5115878097830160384,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:29] 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-09-06 09:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788667576000,"timestamp_ms":1788667576000,"timestamp_seconds":1788667576,"priority":1,"record_length":96,"hex_timestamp":"000001a074e53ec0"} 
[2026-09-06 09:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:37: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-09-06 09:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:37: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-09-06 09:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898897664001,"66":27713,"115":206,"80":60416,"24":52,"16":400334992581853184,"45":5115878097830160384},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,80,24,16,45]} 
[2026-09-06 09:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898897664001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:37:29] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-06 09:37:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400334992581853184,"km_value":400334992581853.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5115878097830160384,"description":"Unknown IO ID 45"} 
[2026-09-06 09:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898897664001,"power":27713,"unknown_115":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":5115878097830160384}} 
[2026-09-06 09:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":173747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:37:29] local.INFO: GPS data processed {"connection_id":173747,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:37:29] local.INFO: Acknowledgment sent {"connection_id":173747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:37:46] local.INFO: TCP Data received {"connection_id":172374,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e52f20012d1821c00721b558004a00d928..."} 
[2026-09-06 09:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e52f20012d1821c00721b558004a00d928..."} 
[2026-09-06 09:37:46] local.INFO: Processing buffer {"connection_id":172374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e52f20012d1821c00721b558004a00d928..."} 
[2026-09-06 09:37:46] local.INFO: Packet analysis {"connection_id":172374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:37:46] local.INFO: Extracted packet for processing {"connection_id":172374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649624,"longitude_deg":75.6556224,"latitude_deg":11.9649624,"altitude":74,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b558","is_valid_coordinates":true} 
[2026-09-06 09:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898893056001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18143883183521792,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004558848,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788667572000,"timestamp_ms":1788667572000,"timestamp_seconds":1788667572,"priority":1,"record_length":96,"hex_timestamp":"000001a074e52f20"} 
[2026-09-06 09:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:37:46] 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-09-06 09:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-06 09:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898893056001,"66":14102,"105":206,"83":41984,"24":0,"16":18143883183521792,"45":1738882068004558848},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898893056001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:37:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18143883183521792,"km_value":18143883183521.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004558848,"description":"Unknown IO ID 45"} 
[2026-09-06 09:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898893056001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004558848}} 
[2026-09-06 09:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":172374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:37:46] local.INFO: GPS data processed {"connection_id":172374,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:37:46] local.INFO: Acknowledgment sent {"connection_id":172374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:37:47] local.INFO: TCP Data received {"connection_id":172375,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:37:47] local.INFO: Processing buffer {"connection_id":172375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:37:47] local.INFO: IMEI packet received {"connection_id":172375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":172375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:37:49] local.INFO: TCP Data received {"connection_id":172375,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:37:49] local.INFO: Processing buffer {"connection_id":172375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:37:49] local.INFO: IMEI packet received {"connection_id":172375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":172375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:37:52] local.INFO: TCP Data received {"connection_id":172376,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:37:52] local.INFO: Processing buffer {"connection_id":172376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:37:52] local.INFO: IMEI packet received {"connection_id":172376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 09:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":172376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:37:53] local.INFO: TCP Data received {"connection_id":172375,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:37:53] local.INFO: Processing buffer {"connection_id":172375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:37:53] local.INFO: IMEI packet received {"connection_id":172375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":172375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:37:54] local.INFO: TCP Data received {"connection_id":172375,"ip":"42.106.6.15","data_length":1348,"data_hex":"000000000000030f8e0a000001a074e55a18012d46de00065f9e60000801502a..."} 
[2026-09-06 09:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172375,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a074e55a18012d46de00065f9e60000801502a..."} 
[2026-09-06 09:37:54] local.INFO: Processing buffer {"connection_id":172375,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a074e55a18012d46de00065f9e60000801502a..."} 
[2026-09-06 09:37:54] local.INFO: Packet analysis {"connection_id":172375,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:37:54] local.INFO: Extracted packet for processing {"connection_id":172375,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:37:54] local.INFO: GPS Element Parsed {"raw_longitude":759619072,"raw_latitude":106929760,"longitude_deg":75.9619072,"latitude_deg":10.692976,"altitude":8,"angle":336,"satellites":42,"speed":50,"hex_longitude":"2d46de00","hex_latitude":"065f9e60","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898899456001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400335434963484672,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5110881916995653632,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:54] 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-09-06 09:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788667583000,"timestamp_ms":1788667583000,"timestamp_seconds":1788667583,"priority":1,"record_length":96,"hex_timestamp":"000001a074e55a18"} 
[2026-09-06 09:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09: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-09-06 09: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-06 09:37: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-09-06 09: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-09-06 09:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898899456001,"66":27767,"115":206,"80":60416,"24":50,"16":400335434963484672,"45":5110881916995653632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,80,24,16,45]} 
[2026-09-06 09:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898899456001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:37:54] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-06 09:37:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400335434963484672,"km_value":400335434963484.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5110881916995653632,"description":"Unknown IO ID 45"} 
[2026-09-06 09:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898899456001,"power":27767,"unknown_115":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":5110881916995653632}} 
[2026-09-06 09:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":172375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:37:54] local.INFO: GPS data processed {"connection_id":172375,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:37:54] local.INFO: Acknowledgment sent {"connection_id":172375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:37:54] local.INFO: Packet analysis {"connection_id":172375,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:37:54] local.INFO: Incomplete packet, waiting for more data {"connection_id":172375,"needed":795,"available":553} 
[2026-09-06 09:37:57] local.INFO: TCP Data received {"connection_id":172375,"ip":"42.106.6.15","data_length":242,"data_hex":"000000000001a074e4b608012d4749c0065ed9b8000901502c00350000000a00..."} 
[2026-09-06 09:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172375,"packet_length":242,"packet_hex":"000000000001a074e4b608012d4749c0065ed9b8000901502c00350000000a00..."} 
[2026-09-06 09:37:57] local.INFO: Processing buffer {"connection_id":172375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e57958012d46ce80065fc298000801532a..."} 
[2026-09-06 09:37:57] local.INFO: Packet analysis {"connection_id":172375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:37:57] local.INFO: Extracted packet for processing {"connection_id":172375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:37:57] local.INFO: GPS Element Parsed {"raw_longitude":759615104,"raw_latitude":106939032,"longitude_deg":75.9615104,"latitude_deg":10.6939032,"altitude":8,"angle":339,"satellites":42,"speed":50,"hex_longitude":"2d46ce80","hex_latitude":"065fc298","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898901248001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400335920294789120,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5106519054858739712,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:57] 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-09-06 09:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788667591000,"timestamp_ms":1788667591000,"timestamp_seconds":1788667591,"priority":1,"record_length":96,"hex_timestamp":"000001a074e57958"} 
[2026-09-06 09:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:37: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-09-06 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:37:57] 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-09-06 09: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-09-06 09:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:37: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-09-06 09:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898901248001,"66":27767,"115":206,"80":60416,"24":50,"16":400335920294789120,"45":5106519054858739712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,80,24,16,45]} 
[2026-09-06 09:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898901248001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:37:57] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-06 09:37:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400335920294789120,"km_value":400335920294789.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5106519054858739712,"description":"Unknown IO ID 45"} 
[2026-09-06 09:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898901248001,"power":27767,"unknown_115":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":5106519054858739712}} 
[2026-09-06 09:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":172375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:37:58] local.INFO: GPS data processed {"connection_id":172375,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:37:58] local.INFO: Acknowledgment sent {"connection_id":172375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:37:58] local.INFO: TCP Data received {"connection_id":172376,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:37:58] local.INFO: Processing buffer {"connection_id":172376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:37:58] local.INFO: IMEI packet received {"connection_id":172376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 09:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":172376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:37:59] local.INFO: TCP Data received {"connection_id":172376,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074e46400012c7cbac009675b4002b0012527..."} 
[2026-09-06 09:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e46400012c7cbac009675b4002b0012527..."} 
[2026-09-06 09:37:59] local.INFO: Processing buffer {"connection_id":172376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e46400012c7cbac009675b4002b0012527..."} 
[2026-09-06 09:37:59] local.INFO: Packet analysis {"connection_id":172376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e4"} 
[2026-09-06 09:37:59] local.INFO: Extracted packet for processing {"connection_id":172376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e4"} 
[2026-09-06 09:37:59] local.INFO: GPS Element Parsed {"raw_longitude":746371776,"raw_latitude":157768512,"longitude_deg":74.6371776,"latitude_deg":15.7768512,"altitude":688,"angle":293,"satellites":39,"speed":53,"hex_longitude":"2c7cbac0","hex_latitude":"09675b40","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898883328001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2252053216755712,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8996925458478612482,"note":"Value kept but may cause issues"} 
[2026-09-06 09:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788667520000,"timestamp_ms":1788667520000,"timestamp_seconds":1788667520,"priority":1,"record_length":96,"hex_timestamp":"000001a074e46400"} 
[2026-09-06 09:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09: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-09-06 09: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 09:37:59] 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-09-06 09: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-09-06 09:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898883328001,"66":28028,"42":206,"9":7680,"24":53,"16":2252053216755712,"44":8996925458478612482},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,9,24,16,44]} 
[2026-09-06 09:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898883328001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:37:59] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-06 09:37:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2252053216755712,"km_value":2252053216755.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:37:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":8996925458478612482,"description":"Unknown IO ID 44"} 
[2026-09-06 09:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898883328001,"power":28028,"unknown_42":206,"unknown_9":7680,"ignition":53,"odometer":null,"unknown_44":8996925458478612482}} 
[2026-09-06 09:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":172376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773512,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:37:59] local.INFO: GPS data processed {"connection_id":172376,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:37:59] local.INFO: Acknowledgment sent {"connection_id":172376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:38:00] local.INFO: TCP Data received {"connection_id":172375,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e594b0012d46c1c0065fe328000701532c..."} 
[2026-09-06 09:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e594b0012d46c1c0065fe328000701532c..."} 
[2026-09-06 09:38:00] local.INFO: Processing buffer {"connection_id":172375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e594b0012d46c1c0065fe328000701532c..."} 
[2026-09-06 09:38:00] local.INFO: Packet analysis {"connection_id":172375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:38:00] local.INFO: Extracted packet for processing {"connection_id":172375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:38:00] local.INFO: GPS Element Parsed {"raw_longitude":759611840,"raw_latitude":106947368,"longitude_deg":75.961184,"latitude_deg":10.6947368,"altitude":7,"angle":339,"satellites":44,"speed":51,"hex_longitude":"2d46c1c0","hex_latitude":"065fe328","is_valid_coordinates":true} 
[2026-09-06 09:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898903296001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400336354086486016,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5102156192722098176,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:00] 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-09-06 09:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788667598000,"timestamp_ms":1788667598000,"timestamp_seconds":1788667598,"priority":1,"record_length":96,"hex_timestamp":"000001a074e594b0"} 
[2026-09-06 09:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:38: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-09-06 09:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898903296001,"66":27800,"113":206,"80":60416,"24":51,"16":400336354086486016,"45":5102156192722098176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-06 09:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898903296001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:38:00] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-06 09:38:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400336354086486016,"km_value":400336354086486.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5102156192722098176,"description":"Unknown IO ID 45"} 
[2026-09-06 09:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898903296001,"power":27800,"unknown_113":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":5102156192722098176}} 
[2026-09-06 09:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":172375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:38:00] local.INFO: GPS data processed {"connection_id":172375,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:38:00] local.INFO: Acknowledgment sent {"connection_id":172375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:38:09] local.INFO: TCP Data received {"connection_id":172603,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:38:09] local.INFO: Processing buffer {"connection_id":172603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:38:09] local.INFO: IMEI packet received {"connection_id":172603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":172603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:38:14] local.INFO: TCP Data received {"connection_id":172603,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:38:14] local.INFO: Processing buffer {"connection_id":172603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:38:14] local.INFO: IMEI packet received {"connection_id":172603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":172603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:38:15] local.INFO: TCP Data received {"connection_id":172603,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e565d0012d1823800721b540004b001c29..."} 
[2026-09-06 09:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e565d0012d1823800721b540004b001c29..."} 
[2026-09-06 09:38:15] local.INFO: Processing buffer {"connection_id":172603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e565d0012d1823800721b540004b001c29..."} 
[2026-09-06 09:38:15] local.INFO: Packet analysis {"connection_id":172603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:38:15] local.INFO: Extracted packet for processing {"connection_id":172603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649600,"longitude_deg":75.6556672,"latitude_deg":11.96496,"altitude":75,"angle":28,"satellites":41,"speed":8,"hex_longitude":"2d182380","hex_latitude":"0721b540","is_valid_coordinates":true} 
[2026-09-06 09:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898898432001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18143908953325568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004558848,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788667586000,"timestamp_ms":1788667586000,"timestamp_seconds":1788667586,"priority":1,"record_length":96,"hex_timestamp":"000001a074e565d0"} 
[2026-09-06 09:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-06 09:38:15] 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-09-06 09:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898898432001,"66":14135,"105":206,"83":41984,"24":8,"16":18143908953325568,"45":1738882068004558848},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898898432001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:38:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18143908953325568,"km_value":18143908953325.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004558848,"description":"Unknown IO ID 45"} 
[2026-09-06 09:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898898432001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738882068004558848}} 
[2026-09-06 09:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":172603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:38:15] local.INFO: GPS data processed {"connection_id":172603,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:38:15] local.INFO: Acknowledgment sent {"connection_id":172603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:38:31] local.INFO: TCP Data received {"connection_id":172376,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074e6c948012c79cb8009685e6002cf013d28..."} 
[2026-09-06 09:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e6c948012c79cb8009685e6002cf013d28..."} 
[2026-09-06 09:38:31] local.INFO: Processing buffer {"connection_id":172376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e6c948012c79cb8009685e6002cf013d28..."} 
[2026-09-06 09:38:31] local.INFO: Packet analysis {"connection_id":172376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:38:31] local.INFO: Extracted packet for processing {"connection_id":172376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:38:31] local.INFO: GPS Element Parsed {"raw_longitude":746179456,"raw_latitude":157834848,"longitude_deg":74.6179456,"latitude_deg":15.7834848,"altitude":719,"angle":317,"satellites":40,"speed":33,"hex_longitude":"2c79cb80","hex_latitude":"09685e60","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2252744706490368,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,42,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788667677000,"timestamp_ms":1788667677000,"timestamp_seconds":1788667677,"priority":1,"record_length":96,"hex_timestamp":"000001a074e6c948"} 
[2026-09-06 09:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-06 09:38:31] 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-09-06 09: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-09-06 09:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28137,"42":206,"9":7680,"24":33,"16":2252744706490368},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,9,24,16]} 
[2026-09-06 09:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 09:38:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-06 09:38:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2252744706490368,"km_value":2252744706490.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:38:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28137,"unknown_42":206,"unknown_9":7680,"ignition":33,"odometer":null}} 
[2026-09-06 09:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":172376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773515,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:38:31] local.INFO: GPS data processed {"connection_id":172376,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:38:31] local.INFO: Acknowledgment sent {"connection_id":172376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:38:40] local.INFO: TCP Data received {"connection_id":172375,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e5b008012d46b640066004d8000901572b..."} 
[2026-09-06 09:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e5b008012d46b640066004d8000901572b..."} 
[2026-09-06 09:38:40] local.INFO: Processing buffer {"connection_id":172375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e5b008012d46b640066004d8000901572b..."} 
[2026-09-06 09:38:40] local.INFO: Packet analysis {"connection_id":172375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:38:40] local.INFO: Extracted packet for processing {"connection_id":172375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:38:40] local.INFO: GPS Element Parsed {"raw_longitude":759608896,"raw_latitude":106955992,"longitude_deg":75.9608896,"latitude_deg":10.6955992,"altitude":9,"angle":343,"satellites":43,"speed":50,"hex_longitude":"2d46b640","hex_latitude":"066004d8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898905088001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400336796468117504,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5098567386771171328,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:40] 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-09-06 09:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788667605000,"timestamp_ms":1788667605000,"timestamp_seconds":1788667605,"priority":1,"record_length":96,"hex_timestamp":"000001a074e5b008"} 
[2026-09-06 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-09-06 09:38: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-09-06 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 09:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 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-09-06 09:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898905088001,"66":27767,"113":206,"80":60416,"24":50,"16":400336796468117504,"45":5098567386771171328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-06 09:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898905088001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:38:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-06 09:38:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400336796468117504,"km_value":400336796468117.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5098567386771171328,"description":"Unknown IO ID 45"} 
[2026-09-06 09:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898905088001,"power":27767,"unknown_113":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":5098567386771171328}} 
[2026-09-06 09:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":172375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:38:40] local.INFO: GPS data processed {"connection_id":172375,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:38:40] local.INFO: Acknowledgment sent {"connection_id":172375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:38:46] local.INFO: TCP Data received {"connection_id":172603,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e6dcd0012d18a94007229700006a006328..."} 
[2026-09-06 09:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e6dcd0012d18a94007229700006a006328..."} 
[2026-09-06 09:38:46] local.INFO: Processing buffer {"connection_id":172603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e6dcd0012d18a94007229700006a006328..."} 
[2026-09-06 09:38:46] local.INFO: Packet analysis {"connection_id":172603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:38:46] local.INFO: Extracted packet for processing {"connection_id":172603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756590912,"raw_latitude":119707392,"longitude_deg":75.6590912,"latitude_deg":11.9707392,"altitude":106,"angle":99,"satellites":40,"speed":7,"hex_longitude":"2d18a940","hex_latitude":"07229700","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898926336001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18147181718405120,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821131104256,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788667682000,"timestamp_ms":1788667682000,"timestamp_seconds":1788667682,"priority":1,"record_length":96,"hex_timestamp":"000001a074e6dcd0"} 
[2026-09-06 09:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:38:46] 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-09-06 09: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-06 09:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:46] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249476323883757528,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:46] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3869390849,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:46] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2214592617,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-06 09:38:46] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911018,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:46] local.WARNING: Large IO value detected {"io_id":36,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:46] local.WARNING: Large IO value detected {"io_id":62,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304410206210,"note":"Value kept but may cause issues"} 
[2026-09-06 09:38:46] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,120,160,213,45,150,106,41,10,66,209,192,149,201,64,1,240,145,227,116,34,4,113,205,22,123,38,239,53,2,7,91,36,62,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-06 09:38:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7638183209440051200,"timestamp_seconds":7638183209440051.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 09:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898926336001,"66":12504,"105":206,"83":41984,"24":7,"16":18147181718405120,"45":1776810821131104256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898926336001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:38:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18147181718405120,"km_value":18147181718405.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821131104256,"description":"Unknown IO ID 45"} 
[2026-09-06 09:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898926336001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1776810821131104256}} 
[2026-09-06 09:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":172603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:38:46] local.INFO: GPS data processed {"connection_id":172603,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:38:46] local.INFO: Acknowledgment sent {"connection_id":172603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:38:59] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:38:59] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:38:59] local.INFO: IMEI packet received {"connection_id":173748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":173748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:38:59] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:38:59] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:38:59] local.INFO: IMEI packet received {"connection_id":173748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":173748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:39:02] local.INFO: TCP Data received {"connection_id":172377,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:39:02] local.INFO: Processing buffer {"connection_id":172377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:39:02] local.INFO: IMEI packet received {"connection_id":172377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 09:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":172377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:39:03] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:39:03] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:39:03] local.INFO: IMEI packet received {"connection_id":173748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":173748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:39:04] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e6ec70012d46354006618fd80008015027..."} 
[2026-09-06 09:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e6ec70012d46354006618fd80008015027..."} 
[2026-09-06 09:39:04] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e6ec70012d46354006618fd80008015027..."} 
[2026-09-06 09:39:04] local.INFO: Packet analysis {"connection_id":173748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:39:04] local.INFO: Extracted packet for processing {"connection_id":173748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:39:04] local.INFO: GPS Element Parsed {"raw_longitude":759575872,"raw_latitude":107057112,"longitude_deg":75.9575872,"latitude_deg":10.7057112,"altitude":8,"angle":336,"satellites":39,"speed":53,"hex_longitude":"2d463540","hex_latitude":"06618fd8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898925824001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400341959018807296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5063242277219950592,"note":"Value kept but may cause issues"} 
[2026-09-06 09:39:04] 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-09-06 09:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788667686000,"timestamp_ms":1788667686000,"timestamp_seconds":1788667686,"priority":1,"record_length":96,"hex_timestamp":"000001a074e6ec70"} 
[2026-09-06 09:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898925824001,"66":27767,"113":206,"80":60416,"24":53,"16":400341959018807296,"45":5063242277219950592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-06 09:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898925824001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:39:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-06 09:39:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400341959018807296,"km_value":400341959018807.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5063242277219950592,"description":"Unknown IO ID 45"} 
[2026-09-06 09:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898925824001,"power":27767,"unknown_113":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":5063242277219950592}} 
[2026-09-06 09:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":173748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:39:04] local.INFO: GPS data processed {"connection_id":173748,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:39:04] local.INFO: Acknowledgment sent {"connection_id":173748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:39:06] local.INFO: TCP Data received {"connection_id":172377,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:39:06] local.INFO: Processing buffer {"connection_id":172377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:39:06] local.INFO: IMEI packet received {"connection_id":172377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 09:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":172377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:39:07] local.INFO: TCP Data received {"connection_id":172377,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:39:07] local.INFO: Processing buffer {"connection_id":172377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:39:07] local.INFO: IMEI packet received {"connection_id":172377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 09:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":172377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:39:09] local.INFO: TCP Data received {"connection_id":172377,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074da5d980100000000000000000000000000..."} 
[2026-09-06 09:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074da5d980100000000000000000000000000..."} 
[2026-09-06 09:39:09] local.INFO: Processing buffer {"connection_id":172377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074da5d980100000000000000000000000000..."} 
[2026-09-06 09:39:09] local.INFO: Packet analysis {"connection_id":172377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:39:09] local.INFO: Extracted packet for processing {"connection_id":172377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:39:09] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898925312001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2252744706490368,"note":"Value kept but may cause issues"} 
[2026-09-06 09:39:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8776249076755619842,"note":"Value kept but may cause issues"} 
[2026-09-06 09:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788666863000,"timestamp_ms":1788666863000,"timestamp_seconds":1788666863,"priority":1,"record_length":96,"hex_timestamp":"000001a074da5d98"} 
[2026-09-06 09:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:39: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-09-06 09: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 09:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":172377,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 09:39:09] local.INFO: GPS data processed {"connection_id":172377,"processed":0,"errors":0,"total":1} 
[2026-09-06 09:39:09] local.INFO: Acknowledgment sent {"connection_id":172377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:39:10] local.INFO: TCP Data received {"connection_id":172377,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074e71f38012c79a4c0096887b002d7013d28..."} 
[2026-09-06 09:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e71f38012c79a4c0096887b002d7013d28..."} 
[2026-09-06 09:39:10] local.INFO: Processing buffer {"connection_id":172377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e71f38012c79a4c0096887b002d7013d28..."} 
[2026-09-06 09:39:10] local.INFO: Packet analysis {"connection_id":172377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:39:10] local.INFO: Extracted packet for processing {"connection_id":172377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:39:10] local.INFO: GPS Element Parsed {"raw_longitude":746169536,"raw_latitude":157845424,"longitude_deg":74.6169536,"latitude_deg":15.7845424,"altitude":727,"angle":317,"satellites":40,"speed":22,"hex_longitude":"2c79a4c0","hex_latitude":"096887b0","is_valid_coordinates":true} 
[2026-09-06 09:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2252744706490368,"note":"Value kept but may cause issues"} 
[2026-09-06 09:39:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,42,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788667699000,"timestamp_ms":1788667699000,"timestamp_seconds":1788667699,"priority":1,"record_length":96,"hex_timestamp":"000001a074e71f38"} 
[2026-09-06 09:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-06 09:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28071,"42":206,"9":7680,"24":22,"16":2252744706490368},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,9,24,16]} 
[2026-09-06 09:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 09:39:10] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-06 09:39:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2252744706490368,"km_value":2252744706490.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:39:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28071,"unknown_42":206,"unknown_9":7680,"ignition":22,"odometer":null}} 
[2026-09-06 09:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":172377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773519,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:39:10] local.INFO: GPS data processed {"connection_id":172377,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:39:10] local.INFO: Acknowledgment sent {"connection_id":172377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:39:14] local.INFO: TCP Data received {"connection_id":175067,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:39:14] local.INFO: Processing buffer {"connection_id":175067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:39:14] local.INFO: IMEI packet received {"connection_id":175067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":175067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:39:19] local.INFO: TCP Data received {"connection_id":175067,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:39:19] local.INFO: Processing buffer {"connection_id":175067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:39:19] local.INFO: IMEI packet received {"connection_id":175067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":175067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:39:20] local.INFO: TCP Data received {"connection_id":175067,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e6e0b8012d18a9c0072296a80069008428..."} 
[2026-09-06 09:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e6e0b8012d18a9c0072296a80069008428..."} 
[2026-09-06 09:39:20] local.INFO: Processing buffer {"connection_id":175067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e6e0b8012d18a9c0072296a80069008428..."} 
[2026-09-06 09:39:20] local.INFO: Packet analysis {"connection_id":175067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:39:20] local.INFO: Extracted packet for processing {"connection_id":175067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:39:20] local.INFO: GPS Element Parsed {"raw_longitude":756591040,"raw_latitude":119707304,"longitude_deg":75.659104,"latitude_deg":11.9707304,"altitude":105,"angle":132,"satellites":40,"speed":8,"hex_longitude":"2d18a9c0","hex_latitude":"072296a8","is_valid_coordinates":true} 
[2026-09-06 09:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898926592001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18147190308339712,"note":"Value kept but may cause issues"} 
[2026-09-06 09:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777021927363641344,"note":"Value kept but may cause issues"} 
[2026-09-06 09:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788667683000,"timestamp_ms":1788667683000,"timestamp_seconds":1788667683,"priority":1,"record_length":96,"hex_timestamp":"000001a074e6e0b8"} 
[2026-09-06 09:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:39:20] 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-09-06 09:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 09:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898926592001,"66":12504,"105":206,"83":41984,"24":8,"16":18147190308339712,"45":1777021927363641344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898926592001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:39:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:39:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18147190308339712,"km_value":18147190308339.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777021927363641344,"description":"Unknown IO ID 45"} 
[2026-09-06 09:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898926592001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1777021927363641344}} 
[2026-09-06 09:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":175067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:39:20] local.INFO: GPS data processed {"connection_id":175067,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:39:20] local.INFO: Acknowledgment sent {"connection_id":175067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:39:24] local.INFO: TCP Data received {"connection_id":175067,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e6e4a0012d18aa40072295e0006a00a928..."} 
[2026-09-06 09:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e6e4a0012d18aa40072295e0006a00a928..."} 
[2026-09-06 09:39:24] local.INFO: Processing buffer {"connection_id":175067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e6e4a0012d18aa40072295e0006a00a928..."} 
[2026-09-06 09:39:24] local.INFO: Packet analysis {"connection_id":175067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:39:24] local.INFO: Extracted packet for processing {"connection_id":175067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:39:24] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119707104,"longitude_deg":75.6591168,"latitude_deg":11.9707104,"altitude":106,"angle":169,"satellites":40,"speed":9,"hex_longitude":"2d18aa40","hex_latitude":"072295e0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898926848001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18147198898274304,"note":"Value kept but may cause issues"} 
[2026-09-06 09:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777162664851974144,"note":"Value kept but may cause issues"} 
[2026-09-06 09:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788667684000,"timestamp_ms":1788667684000,"timestamp_seconds":1788667684,"priority":1,"record_length":96,"hex_timestamp":"000001a074e6e4a0"} 
[2026-09-06 09:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 09:39:24] 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-09-06 09: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-09-06 09:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898926848001,"66":12504,"105":206,"83":41984,"24":9,"16":18147198898274304,"45":1777162664851974144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898926848001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:39:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:39:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18147198898274304,"km_value":18147198898274.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777162664851974144,"description":"Unknown IO ID 45"} 
[2026-09-06 09:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898926848001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1777162664851974144}} 
[2026-09-06 09:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":175067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:39:25] local.INFO: GPS data processed {"connection_id":175067,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:39:25] local.INFO: Acknowledgment sent {"connection_id":175067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:39:41] local.INFO: TCP Data received {"connection_id":172377,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074dab3880100000000000000000000000000..."} 
[2026-09-06 09:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074dab3880100000000000000000000000000..."} 
[2026-09-06 09:39:41] local.INFO: Processing buffer {"connection_id":172377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074dab3880100000000000000000000000000..."} 
[2026-09-06 09:39:41] local.INFO: Packet analysis {"connection_id":172377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:39:41] local.INFO: Extracted packet for processing {"connection_id":172377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074da"} 
[2026-09-06 09:39: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-09-06 09:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898930944001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2252744706490368,"note":"Value kept but may cause issues"} 
[2026-09-06 09:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8765341921410789378,"note":"Value kept but may cause issues"} 
[2026-09-06 09:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788666885000,"timestamp_ms":1788666885000,"timestamp_seconds":1788666885,"priority":1,"record_length":96,"hex_timestamp":"000001a074dab388"} 
[2026-09-06 09:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:39: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-09-06 09:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-06 09:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":172377,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 09:39:41] local.INFO: GPS data processed {"connection_id":172377,"processed":0,"errors":0,"total":1} 
[2026-09-06 09:39:41] local.INFO: Acknowledgment sent {"connection_id":172377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:39:54] local.INFO: TCP Data received {"connection_id":173749,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:39:54] local.INFO: Processing buffer {"connection_id":173749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:39:54] local.INFO: IMEI packet received {"connection_id":173749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":173749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:39:55] local.INFO: TCP Data received {"connection_id":173749,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-06 09:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173749,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-06 09:39:55] local.INFO: Processing buffer {"connection_id":173749,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-06 09:39:55] local.INFO: IMEI packet received {"connection_id":173749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":173749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:39:58] local.INFO: TCP Data received {"connection_id":173749,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:39:58] local.INFO: Processing buffer {"connection_id":173749,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-06 09:39:58] local.INFO: IMEI packet received {"connection_id":173749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":173749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:39:59] local.INFO: TCP Data received {"connection_id":173749,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e707c8012d4625c00661b1e00007014f29..."} 
[2026-09-06 09:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e707c8012d4625c00661b1e00007014f29..."} 
[2026-09-06 09:39:59] local.INFO: Processing buffer {"connection_id":173749,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a074..."} 
[2026-09-06 09:39:59] local.INFO: IMEI packet received {"connection_id":173749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":173749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:40:02] local.INFO: TCP Data received {"connection_id":173749,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e72320012d4616400661d4100008015028..."} 
[2026-09-06 09:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e72320012d4616400661d4100008015028..."} 
[2026-09-06 09:40:02] local.INFO: Processing buffer {"connection_id":173749,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a074e707c8012d4625c00661b1e00007014f29..."} 
[2026-09-06 09:40:02] local.INFO: Packet analysis {"connection_id":173749,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:40:02] local.INFO: Extracted packet for processing {"connection_id":173749,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:40:02] local.INFO: GPS Element Parsed {"raw_longitude":759571904,"raw_latitude":107065824,"longitude_deg":75.9571904,"latitude_deg":10.7065824,"altitude":7,"angle":335,"satellites":41,"speed":54,"hex_longitude":"2d4625c0","hex_latitude":"0661b1e0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898927616001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400342418580307968,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5059020152571418624,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:02] 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-09-06 09:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788667693000,"timestamp_ms":1788667693000,"timestamp_seconds":1788667693,"priority":1,"record_length":96,"hex_timestamp":"000001a074e707c8"} 
[2026-09-06 09:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:40: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-09-06 09:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:40: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-09-06 09:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898927616001,"66":27821,"113":206,"80":60416,"24":54,"16":400342418580307968,"45":5059020152571418624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-06 09:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898927616001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:40:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-06 09:40:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400342418580307968,"km_value":400342418580307.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5059020152571418624,"description":"Unknown IO ID 45"} 
[2026-09-06 09:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898927616001,"power":27821,"unknown_113":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":5059020152571418624}} 
[2026-09-06 09:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":173749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:40:02] local.INFO: GPS data processed {"connection_id":173749,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:40:02] local.INFO: Acknowledgment sent {"connection_id":173749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:40:02] local.INFO: Packet analysis {"connection_id":173749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:40:02] local.INFO: Extracted packet for processing {"connection_id":173749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:40:02] local.INFO: GPS Element Parsed {"raw_longitude":759567936,"raw_latitude":107074576,"longitude_deg":75.9567936,"latitude_deg":10.7074576,"altitude":8,"angle":336,"satellites":40,"speed":54,"hex_longitude":"2d461640","hex_latitude":"0661d410","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898929408001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400342886731743232,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5054657290434633728,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788667700000,"timestamp_ms":1788667700000,"timestamp_seconds":1788667700,"priority":1,"record_length":96,"hex_timestamp":"000001a074e72320"} 
[2026-09-06 09:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:40: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-09-06 09:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 09:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:40: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-09-06 09:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898929408001,"66":27691,"75":206,"80":60416,"24":54,"16":400342886731743232,"45":5054657290434633728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,80,24,16,45]} 
[2026-09-06 09:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898929408001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:40:02] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-06 09:40:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400342886731743232,"km_value":400342886731743.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5054657290434633728,"description":"Unknown IO ID 45"} 
[2026-09-06 09:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898929408001,"power":27691,"unknown_75":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":5054657290434633728}} 
[2026-09-06 09:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":173749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:40:02] local.INFO: GPS data processed {"connection_id":173749,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:40:02] local.INFO: Acknowledgment sent {"connection_id":173749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:40:02] local.INFO: TCP Data received {"connection_id":173750,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:40:02] local.INFO: Processing buffer {"connection_id":173750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:40:02] local.INFO: IMEI packet received {"connection_id":173750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 09:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":173750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:40:09] local.INFO: TCP Data received {"connection_id":173750,"ip":"117.224.165.174","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:40:09] local.INFO: Processing buffer {"connection_id":173750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:40:09] local.INFO: IMEI packet received {"connection_id":173750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 09:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":173750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:40:09] local.INFO: TCP Data received {"connection_id":173751,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:40:09] local.INFO: Processing buffer {"connection_id":173751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:40:09] local.INFO: IMEI packet received {"connection_id":173751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":173751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:40:14] local.INFO: TCP Data received {"connection_id":173751,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:40:14] local.INFO: Processing buffer {"connection_id":173751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:40:14] local.INFO: IMEI packet received {"connection_id":173751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":173751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:40:15] local.INFO: TCP Data received {"connection_id":173751,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e736a8012d18aa40072294d0006b00a927..."} 
[2026-09-06 09:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e736a8012d18aa40072294d0006b00a927..."} 
[2026-09-06 09:40:15] local.INFO: Processing buffer {"connection_id":173751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e736a8012d18aa40072294d0006b00a927..."} 
[2026-09-06 09:40:15] local.INFO: Packet analysis {"connection_id":173751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:40:15] local.INFO: Extracted packet for processing {"connection_id":173751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119706832,"longitude_deg":75.6591168,"latitude_deg":11.9706832,"altitude":107,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d18aa40","hex_latitude":"072294d0","is_valid_coordinates":true} 
[2026-09-06 09:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898927104001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18147211783176192,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402340278272,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788667705000,"timestamp_ms":1788667705000,"timestamp_seconds":1788667705,"priority":1,"record_length":96,"hex_timestamp":"000001a074e736a8"} 
[2026-09-06 09:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 09:40:15] 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-09-06 09:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898927104001,"66":12558,"105":206,"83":41984,"24":0,"16":18147211783176192,"45":1777303402340278272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898927104001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:40:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:40:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18147211783176192,"km_value":18147211783176.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402340278272,"description":"Unknown IO ID 45"} 
[2026-09-06 09:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898927104001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777303402340278272}} 
[2026-09-06 09:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":173751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:40:15] local.INFO: GPS data processed {"connection_id":173751,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:40:15] local.INFO: Acknowledgment sent {"connection_id":173751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:40:19] local.INFO: TCP Data received {"connection_id":173750,"ip":"117.224.165.174","data_length":795,"data_hex":"000000000000030f8e0a000001a074e77cf8012c7977c00968a6c002e1011e25..."} 
[2026-09-06 09:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e77cf8012c7977c00968a6c002e1011e25..."} 
[2026-09-06 09:40:19] local.INFO: Processing buffer {"connection_id":173750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e77cf8012c7977c00968a6c002e1011e25..."} 
[2026-09-06 09:40:19] local.INFO: Packet analysis {"connection_id":173750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:40:19] local.INFO: Extracted packet for processing {"connection_id":173750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:40:19] local.INFO: GPS Element Parsed {"raw_longitude":746158016,"raw_latitude":157853376,"longitude_deg":74.6158016,"latitude_deg":15.7853376,"altitude":737,"angle":286,"satellites":37,"speed":23,"hex_longitude":"2c7977c0","hex_latitude":"0968a6c0","is_valid_coordinates":true} 
[2026-09-06 09:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2252744706490368,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,42,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788667723000,"timestamp_ms":1788667723000,"timestamp_seconds":1788667723,"priority":1,"record_length":96,"hex_timestamp":"000001a074e77cf8"} 
[2026-09-06 09:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 09:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 09:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.165.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 09:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 09:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28050,"42":206,"9":7680,"24":23,"16":2252744706490368},"client_ip":"117.224.165.174","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,9,24,16]} 
[2026-09-06 09:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 09:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 09:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 09:40:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-06 09:40:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 09:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2252744706490368,"km_value":2252744706490.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:40:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28050,"unknown_42":206,"unknown_9":7680,"ignition":23,"odometer":null}} 
[2026-09-06 09:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":173750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773525,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:40:19] local.INFO: GPS data processed {"connection_id":173750,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:40:19] local.INFO: Acknowledgment sent {"connection_id":173750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:40:33] local.INFO: TCP Data received {"connection_id":173749,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e84fe8012d4559c0066341e0000d01522b..."} 
[2026-09-06 09:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e84fe8012d4559c0066341e0000d01522b..."} 
[2026-09-06 09:40:33] local.INFO: Processing buffer {"connection_id":173749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e84fe8012d4559c0066341e0000d01522b..."} 
[2026-09-06 09:40:33] local.INFO: Packet analysis {"connection_id":173749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e8"} 
[2026-09-06 09:40:33] local.INFO: Extracted packet for processing {"connection_id":173749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e8"} 
[2026-09-06 09:40:33] local.INFO: GPS Element Parsed {"raw_longitude":759519680,"raw_latitude":107168224,"longitude_deg":75.951968,"latitude_deg":10.7168224,"altitude":13,"angle":338,"satellites":43,"speed":51,"hex_longitude":"2d4559c0","hex_latitude":"066341e0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898949120001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400347984857923584,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5001177044883664896,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788667777000,"timestamp_ms":1788667777000,"timestamp_seconds":1788667777,"priority":1,"record_length":96,"hex_timestamp":"000001a074e84fe8"} 
[2026-09-06 09:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:40: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-09-06 09:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898949120001,"66":27832,"205":206,"80":60416,"24":51,"16":400347984857923584,"45":5001177044883664896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-09-06 09:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898949120001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:40:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400347984857923584,"km_value":400347984857923.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5001177044883664896,"description":"Unknown IO ID 45"} 
[2026-09-06 09:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898949120001,"power":27832,"cell_id":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":5001177044883664896}} 
[2026-09-06 09:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":173749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:40:33] local.INFO: GPS data processed {"connection_id":173749,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:40:33] local.INFO: Acknowledgment sent {"connection_id":173749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:40:46] local.INFO: TCP Data received {"connection_id":173751,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e788b0012d18aa40072294d0006b00a927..."} 
[2026-09-06 09:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e788b0012d18aa40072294d0006b00a927..."} 
[2026-09-06 09:40:46] local.INFO: Processing buffer {"connection_id":173751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e788b0012d18aa40072294d0006b00a927..."} 
[2026-09-06 09:40:46] local.INFO: Packet analysis {"connection_id":173751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:40:46] local.INFO: Extracted packet for processing {"connection_id":173751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119706832,"longitude_deg":75.6591168,"latitude_deg":11.9706832,"altitude":107,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d18aa40","hex_latitude":"072294d0","is_valid_coordinates":true} 
[2026-09-06 09:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898932480001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18147211783176192,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402340208640,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788667726000,"timestamp_ms":1788667726000,"timestamp_seconds":1788667726,"priority":1,"record_length":96,"hex_timestamp":"000001a074e788b0"} 
[2026-09-06 09:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:40:46] 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-09-06 09:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-06 09:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:46] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249531024587265080,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:46] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3872974849,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:46] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2532311146,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-06 09:40:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:46] local.WARNING: Large IO value detected {"io_id":62,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408436738,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,120,160,228,45,64,149,106,40,10,66,224,192,150,220,1,240,216,227,116,34,4,113,205,7,213,168,136,41,239,49,2,62,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-06 09:40:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7710348547027107840,"timestamp_seconds":7710348547027108.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 09:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898932480001,"66":12558,"105":206,"83":41984,"24":0,"16":18147211783176192,"45":1777303402340208640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898932480001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:40:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18147211783176192,"km_value":18147211783176.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402340208640,"description":"Unknown IO ID 45"} 
[2026-09-06 09:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898932480001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777303402340208640}} 
[2026-09-06 09:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":173751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:40:46] local.INFO: GPS data processed {"connection_id":173751,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:40:46] local.INFO: Acknowledgment sent {"connection_id":173751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:40:49] local.INFO: TCP Data received {"connection_id":172378,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:40:49] local.INFO: Processing buffer {"connection_id":172378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:40:49] local.INFO: IMEI packet received {"connection_id":172378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":172378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:40:53] local.INFO: TCP Data received {"connection_id":172378,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:40:53] local.INFO: Processing buffer {"connection_id":172378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:40:53] local.INFO: IMEI packet received {"connection_id":172378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":172378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:40:55] local.INFO: TCP Data received {"connection_id":172378,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:40:55] local.INFO: Processing buffer {"connection_id":172378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:40:55] local.INFO: IMEI packet received {"connection_id":172378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":172378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:40:56] local.INFO: TCP Data received {"connection_id":172378,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e86b40012d454d80066363c0000e01552c..."} 
[2026-09-06 09:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e86b40012d454d80066363c0000e01552c..."} 
[2026-09-06 09:40:56] local.INFO: Processing buffer {"connection_id":172378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e86b40012d454d80066363c0000e01552c..."} 
[2026-09-06 09:40:56] local.INFO: Packet analysis {"connection_id":172378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e8"} 
[2026-09-06 09:40:56] local.INFO: Extracted packet for processing {"connection_id":172378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e8"} 
[2026-09-06 09:40:56] local.INFO: GPS Element Parsed {"raw_longitude":759516544,"raw_latitude":107176896,"longitude_deg":75.9516544,"latitude_deg":10.7176896,"altitude":14,"angle":341,"satellites":44,"speed":53,"hex_longitude":"2d454d80","hex_latitude":"066363c0","is_valid_coordinates":true} 
[2026-09-06 09:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898950912001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400348427239555072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4997236395211874304,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788667784000,"timestamp_ms":1788667784000,"timestamp_seconds":1788667784,"priority":1,"record_length":96,"hex_timestamp":"000001a074e86b40"} 
[2026-09-06 09:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:40: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-09-06 09:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-06 09:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:40: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-09-06 09:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898950912001,"66":27887,"205":206,"80":60416,"24":53,"16":400348427239555072,"45":4997236395211874304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-09-06 09:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898950912001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:40:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400348427239555072,"km_value":400348427239555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":4997236395211874304,"description":"Unknown IO ID 45"} 
[2026-09-06 09:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898950912001,"power":27887,"cell_id":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4997236395211874304}} 
[2026-09-06 09:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":172378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:40:56] local.INFO: GPS data processed {"connection_id":172378,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:40:56] local.INFO: Acknowledgment sent {"connection_id":172378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:40:58] local.INFO: TCP Data received {"connection_id":172378,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e88698012d4541c006638720000e01562d..."} 
[2026-09-06 09:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e88698012d4541c006638720000e01562d..."} 
[2026-09-06 09:40:58] local.INFO: Processing buffer {"connection_id":172378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e88698012d4541c006638720000e01562d..."} 
[2026-09-06 09:40:58] local.INFO: Packet analysis {"connection_id":172378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e8"} 
[2026-09-06 09:40:58] local.INFO: Extracted packet for processing {"connection_id":172378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e8"} 
[2026-09-06 09:40:58] local.INFO: GPS Element Parsed {"raw_longitude":759513536,"raw_latitude":107185952,"longitude_deg":75.9513536,"latitude_deg":10.7185952,"altitude":14,"angle":342,"satellites":45,"speed":55,"hex_longitude":"2d4541c0","hex_latitude":"06638720","is_valid_coordinates":true} 
[2026-09-06 09:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898952704001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400348891096023040,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4993788326749388800,"note":"Value kept but may cause issues"} 
[2026-09-06 09:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788667791000,"timestamp_ms":1788667791000,"timestamp_seconds":1788667791,"priority":1,"record_length":96,"hex_timestamp":"000001a074e88698"} 
[2026-09-06 09:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-06 09:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:40: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-09-06 09:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898952704001,"66":27876,"205":206,"80":60416,"24":55,"16":400348891096023040,"45":4993788326749388800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-09-06 09:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898952704001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:40:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400348891096023040,"km_value":400348891096023.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4993788326749388800,"description":"Unknown IO ID 45"} 
[2026-09-06 09:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898952704001,"power":27876,"cell_id":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4993788326749388800}} 
[2026-09-06 09:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":172378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:40:58] local.INFO: GPS data processed {"connection_id":172378,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:40:58] local.INFO: Acknowledgment sent {"connection_id":172378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:41:09] local.INFO: TCP Data received {"connection_id":172604,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:41:09] local.INFO: Processing buffer {"connection_id":172604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:41:09] local.INFO: IMEI packet received {"connection_id":172604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":172604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:41:10] local.INFO: TCP Data received {"connection_id":172604,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:41:10] local.INFO: Processing buffer {"connection_id":172604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:41:10] local.INFO: IMEI packet received {"connection_id":172604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":172604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:41:14] local.INFO: TCP Data received {"connection_id":172604,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:41:14] local.INFO: Processing buffer {"connection_id":172604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:41:14] local.INFO: IMEI packet received {"connection_id":172604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":172604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:41:15] local.INFO: TCP Data received {"connection_id":172604,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e7dab8012d18aa40072294d0006b00a927..."} 
[2026-09-06 09:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e7dab8012d18aa40072294d0006b00a927..."} 
[2026-09-06 09:41:15] local.INFO: Processing buffer {"connection_id":172604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e7dab8012d18aa40072294d0006b00a927..."} 
[2026-09-06 09:41:15] local.INFO: Packet analysis {"connection_id":172604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:41:15] local.INFO: Extracted packet for processing {"connection_id":172604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119706832,"longitude_deg":75.6591168,"latitude_deg":11.9706832,"altitude":107,"angle":169,"satellites":39,"speed":0,"hex_longitude":"2d18aa40","hex_latitude":"072294d0","is_valid_coordinates":true} 
[2026-09-06 09:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898937856001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18147211783176192,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402340208640,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788667747000,"timestamp_ms":1788667747000,"timestamp_seconds":1788667747,"priority":1,"record_length":96,"hex_timestamp":"000001a074e7dab8"} 
[2026-09-06 09:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-06 09:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:15] local.WARNING: Large IO value detected {"io_id":120,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:15] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249531574343079392,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:15] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:15] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3873230849,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:15] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2533359722,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-06 09:41:15] local.WARNING: Large IO value detected {"io_id":7,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:15] local.WARNING: Large IO value detected {"io_id":168,"raw_value":2147951254,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:15] local.WARNING: Large IO value detected {"io_id":62,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:15] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408240130,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:15] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,120,160,54,45,64,148,107,39,10,66,228,149,106,40,224,192,1,240,216,227,116,34,4,113,205,7,168,41,239,49,2,62,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-06 09:41:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7710348547027107840,"timestamp_seconds":7710348547027108.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 09:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898937856001,"66":12504,"105":206,"83":41984,"24":0,"16":18147211783176192,"45":1777303402340208640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898937856001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:41:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18147211783176192,"km_value":18147211783176.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402340208640,"description":"Unknown IO ID 45"} 
[2026-09-06 09:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898937856001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777303402340208640}} 
[2026-09-06 09:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":172604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:41:15] local.INFO: GPS data processed {"connection_id":172604,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:41:15] local.INFO: Acknowledgment sent {"connection_id":172604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:41:30] local.INFO: TCP Data received {"connection_id":172378,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e8a1f0012d4535800663abb8000d01542c..."} 
[2026-09-06 09:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e8a1f0012d4535800663abb8000d01542c..."} 
[2026-09-06 09:41:30] local.INFO: Processing buffer {"connection_id":172378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e8a1f0012d4535800663abb8000d01542c..."} 
[2026-09-06 09:41:30] local.INFO: Packet analysis {"connection_id":172378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e8"} 
[2026-09-06 09:41:30] local.INFO: Extracted packet for processing {"connection_id":172378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e8"} 
[2026-09-06 09:41:30] local.INFO: GPS Element Parsed {"raw_longitude":759510400,"raw_latitude":107195320,"longitude_deg":75.95104,"latitude_deg":10.719532,"altitude":13,"angle":340,"satellites":44,"speed":57,"hex_longitude":"2d453580","hex_latitude":"0663abb8","is_valid_coordinates":true} 
[2026-09-06 09:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898954496001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400349367837392896,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4990480995775356928,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788667798000,"timestamp_ms":1788667798000,"timestamp_seconds":1788667798,"priority":1,"record_length":96,"hex_timestamp":"000001a074e8a1f0"} 
[2026-09-06 09:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 09:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898954496001,"66":27832,"205":206,"80":60416,"24":57,"16":400349367837392896,"45":4990480995775356928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-09-06 09:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898954496001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:41:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400349367837392896,"km_value":400349367837392.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4990480995775356928,"description":"Unknown IO ID 45"} 
[2026-09-06 09:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898954496001,"power":27832,"cell_id":206,"unknown_80":60416,"ignition":57,"odometer":null,"unknown_45":4990480995775356928}} 
[2026-09-06 09:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":172378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:41:30] local.INFO: GPS data processed {"connection_id":172378,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:41:30] local.INFO: Acknowledgment sent {"connection_id":172378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:41:44] local.INFO: TCP Data received {"connection_id":175068,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:41:44] local.INFO: Processing buffer {"connection_id":175068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:41:44] local.INFO: IMEI packet received {"connection_id":175068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":175068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:41:46] local.INFO: TCP Data received {"connection_id":172604,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e7e288012d18a98007229350006e00c228..."} 
[2026-09-06 09:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e7e288012d18a98007229350006e00c228..."} 
[2026-09-06 09:41:46] local.INFO: Processing buffer {"connection_id":172604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e7e288012d18a98007229350006e00c228..."} 
[2026-09-06 09:41:46] local.INFO: Packet analysis {"connection_id":172604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:41:46] local.INFO: Extracted packet for processing {"connection_id":172604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:41:46] local.INFO: GPS Element Parsed {"raw_longitude":756590976,"raw_latitude":119706448,"longitude_deg":75.6590976,"latitude_deg":11.9706448,"altitude":110,"angle":194,"satellites":40,"speed":10,"hex_longitude":"2d18a980","hex_latitude":"07229350","is_valid_coordinates":true} 
[2026-09-06 09:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898943232001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18147237552979968,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402340208640,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788667749000,"timestamp_ms":1788667749000,"timestamp_seconds":1788667749,"priority":1,"record_length":96,"hex_timestamp":"000001a074e7e288"} 
[2026-09-06 09:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:41:46] 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-09-06 09:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 09:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898943232001,"66":12461,"105":206,"83":41984,"24":10,"16":18147237552979968,"45":1777303402340208640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898943232001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:41:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:41:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18147237552979968,"km_value":18147237552979.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402340208640,"description":"Unknown IO ID 45"} 
[2026-09-06 09:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898943232001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1777303402340208640}} 
[2026-09-06 09:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":172604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:41:46] local.INFO: GPS data processed {"connection_id":172604,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:41:46] local.INFO: Acknowledgment sent {"connection_id":172604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:41:49] local.INFO: TCP Data received {"connection_id":175068,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:41:49] local.INFO: Processing buffer {"connection_id":175068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:41:49] local.INFO: IMEI packet received {"connection_id":175068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":175068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:41:52] local.INFO: TCP Data received {"connection_id":175068,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:41:52] local.INFO: Processing buffer {"connection_id":175068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:41:52] local.INFO: IMEI packet received {"connection_id":175068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":175068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:41:53] local.INFO: TCP Data received {"connection_id":175068,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e8bd48012d4528c00663d228000c01552b..."} 
[2026-09-06 09:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e8bd48012d4528c00663d228000c01552b..."} 
[2026-09-06 09:41:53] local.INFO: Processing buffer {"connection_id":175068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e8bd48012d4528c00663d228000c01552b..."} 
[2026-09-06 09:41:53] local.INFO: Packet analysis {"connection_id":175068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e8"} 
[2026-09-06 09:41:53] local.INFO: Extracted packet for processing {"connection_id":175068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e8"} 
[2026-09-06 09:41:53] local.INFO: GPS Element Parsed {"raw_longitude":759507136,"raw_latitude":107205160,"longitude_deg":75.9507136,"latitude_deg":10.720516,"altitude":12,"angle":341,"satellites":43,"speed":60,"hex_longitude":"2d4528c0","hex_latitude":"0663d228","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898956288001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400349870348566528,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4987032927313049600,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788667805000,"timestamp_ms":1788667805000,"timestamp_seconds":1788667805,"priority":1,"record_length":96,"hex_timestamp":"000001a074e8bd48"} 
[2026-09-06 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-09-06 09:41: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-09-06 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-06 09:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 09:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:41: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-09-06 09:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898956288001,"66":27800,"205":206,"80":60416,"24":60,"16":400349870348566528,"45":4987032927313049600},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-09-06 09:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898956288001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:41:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400349870348566528,"km_value":400349870348566.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4987032927313049600,"description":"Unknown IO ID 45"} 
[2026-09-06 09:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898956288001,"power":27800,"cell_id":206,"unknown_80":60416,"ignition":60,"odometer":null,"unknown_45":4987032927313049600}} 
[2026-09-06 09:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":175068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:41:53] local.INFO: GPS data processed {"connection_id":175068,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:41:53] local.INFO: Acknowledgment sent {"connection_id":175068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:41:53] local.INFO: TCP Data received {"connection_id":175068,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e8d4b8012d451d400663f450000a01562d..."} 
[2026-09-06 09:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e8d4b8012d451d400663f450000a01562d..."} 
[2026-09-06 09:41:53] local.INFO: Processing buffer {"connection_id":175068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e8d4b8012d451d400663f450000a01562d..."} 
[2026-09-06 09:41:53] local.INFO: Packet analysis {"connection_id":175068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e8"} 
[2026-09-06 09:41:53] local.INFO: Extracted packet for processing {"connection_id":175068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e8"} 
[2026-09-06 09:41:53] local.INFO: GPS Element Parsed {"raw_longitude":759504192,"raw_latitude":107213904,"longitude_deg":75.9504192,"latitude_deg":10.7213904,"altitude":10,"angle":342,"satellites":45,"speed":61,"hex_longitude":"2d451d40","hex_latitude":"0663f450","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898958080001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400350317025165312,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4983444121362507776,"note":"Value kept but may cause issues"} 
[2026-09-06 09:41:53] 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-09-06 09:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788667811000,"timestamp_ms":1788667811000,"timestamp_seconds":1788667811,"priority":1,"record_length":96,"hex_timestamp":"000001a074e8d4b8"} 
[2026-09-06 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-09-06 09:41: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-09-06 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 09:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 09:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:41: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-09-06 09:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898958080001,"66":27767,"234":206,"80":60416,"24":61,"16":400350317025165312,"45":4983444121362507776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,80,24,16,45]} 
[2026-09-06 09:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898958080001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:41:53] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-06 09:41:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400350317025165312,"km_value":400350317025165.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4983444121362507776,"description":"Unknown IO ID 45"} 
[2026-09-06 09:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898958080001,"power":27767,"unknown_234":206,"unknown_80":60416,"ignition":61,"odometer":null,"unknown_45":4983444121362507776}} 
[2026-09-06 09:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":175068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:41:53] local.INFO: GPS data processed {"connection_id":175068,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:41:53] local.INFO: Acknowledgment sent {"connection_id":175068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:42:09] local.INFO: TCP Data received {"connection_id":172605,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:42:09] local.INFO: Processing buffer {"connection_id":172605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:42:09] local.INFO: IMEI packet received {"connection_id":172605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":172605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:42:13] local.INFO: TCP Data received {"connection_id":172605,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:42:13] local.INFO: Processing buffer {"connection_id":172605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:42:13] local.INFO: IMEI packet received {"connection_id":172605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":172605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:42:13] local.INFO: TCP Data received {"connection_id":172605,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e7ea58012d18a94007229080006e00b727..."} 
[2026-09-06 09:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e7ea58012d18a94007229080006e00b727..."} 
[2026-09-06 09:42:13] local.INFO: Processing buffer {"connection_id":172605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e7ea58012d18a94007229080006e00b727..."} 
[2026-09-06 09:42:13] local.INFO: Packet analysis {"connection_id":172605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:42:13] local.INFO: Extracted packet for processing {"connection_id":172605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e7"} 
[2026-09-06 09:42:13] local.INFO: GPS Element Parsed {"raw_longitude":756590912,"raw_latitude":119705728,"longitude_deg":75.6590912,"latitude_deg":11.9705728,"altitude":110,"angle":183,"satellites":39,"speed":17,"hex_longitude":"2d18a940","hex_latitude":"07229080","is_valid_coordinates":true} 
[2026-09-06 09:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898943744001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18147271912718336,"note":"Value kept but may cause issues"} 
[2026-09-06 09:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777092296107577344,"note":"Value kept but may cause issues"} 
[2026-09-06 09:42: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-09-06 09:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788667751000,"timestamp_ms":1788667751000,"timestamp_seconds":1788667751,"priority":1,"record_length":96,"hex_timestamp":"000001a074e7ea58"} 
[2026-09-06 09:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:42:13] 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-09-06 09:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 09:42: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-09-06 09:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898943744001,"66":12385,"105":206,"83":41984,"24":17,"16":18147271912718336,"45":1777092296107577344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898943744001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:42:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:42:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18147271912718336,"km_value":18147271912718.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777092296107577344,"description":"Unknown IO ID 45"} 
[2026-09-06 09:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898943744001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1777092296107577344}} 
[2026-09-06 09:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":172605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:42:13] local.INFO: GPS data processed {"connection_id":172605,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:42:13] local.INFO: Acknowledgment sent {"connection_id":172605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:42:25] local.INFO: TCP Data received {"connection_id":175068,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074e9fd98012d448a40066571f00010014e2d..."} 
[2026-09-06 09:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e9fd98012d448a40066571f00010014e2d..."} 
[2026-09-06 09:42:25] local.INFO: Processing buffer {"connection_id":175068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e9fd98012d448a40066571f00010014e2d..."} 
[2026-09-06 09:42:25] local.INFO: Packet analysis {"connection_id":175068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e9"} 
[2026-09-06 09:42:25] local.INFO: Extracted packet for processing {"connection_id":175068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e9"} 
[2026-09-06 09:42:25] local.INFO: GPS Element Parsed {"raw_longitude":759466560,"raw_latitude":107311600,"longitude_deg":75.946656,"latitude_deg":10.73116,"altitude":16,"angle":334,"satellites":45,"speed":56,"hex_longitude":"2d448a40","hex_latitude":"066571f0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898977280001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400355385086574592,"note":"Value kept but may cause issues"} 
[2026-09-06 09:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4943263568462020608,"note":"Value kept but may cause issues"} 
[2026-09-06 09:42: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-09-06 09:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788667887000,"timestamp_ms":1788667887000,"timestamp_seconds":1788667887,"priority":1,"record_length":96,"hex_timestamp":"000001a074e9fd98"} 
[2026-09-06 09:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:42: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-09-06 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:42: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-09-06 09:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898977280001,"66":27832,"58":206,"80":60416,"24":56,"16":400355385086574592,"45":4943263568462020608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,80,24,16,45]} 
[2026-09-06 09:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898977280001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:42:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-06 09:42:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400355385086574592,"km_value":400355385086574.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4943263568462020608,"description":"Unknown IO ID 45"} 
[2026-09-06 09:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898977280001,"power":27832,"unknown_58":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":4943263568462020608}} 
[2026-09-06 09:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":175068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:42:25] local.INFO: GPS data processed {"connection_id":175068,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:42:25] local.INFO: Acknowledgment sent {"connection_id":175068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:42:27] local.INFO: TCP Data received {"connection_id":173752,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:42:27] local.INFO: Processing buffer {"connection_id":173752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:42:27] local.INFO: IMEI packet received {"connection_id":173752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":173752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:42:32] local.INFO: TCP Data received {"connection_id":173752,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:42:32] local.INFO: Processing buffer {"connection_id":173752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:42:32] local.INFO: IMEI packet received {"connection_id":173752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":173752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:42:33] local.INFO: TCP Data received {"connection_id":173752,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a074e517b0012d7d304005d201e0000600b624..."} 
[2026-09-06 09:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e517b0012d7d304005d201e0000600b624..."} 
[2026-09-06 09:42:33] local.INFO: Processing buffer {"connection_id":173752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e517b0012d7d304005d201e0000600b624..."} 
[2026-09-06 09:42:33] local.INFO: Packet analysis {"connection_id":173752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:42:33] local.INFO: Extracted packet for processing {"connection_id":173752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":97649120,"longitude_deg":76.3179072,"latitude_deg":9.764912,"altitude":6,"angle":182,"satellites":36,"speed":31,"hex_longitude":"2d7d3040","hex_latitude":"05d201e0","is_valid_coordinates":true} 
[2026-09-06 09:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898892544001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128881896854650880,"note":"Value kept but may cause issues"} 
[2026-09-06 09:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258190995613696,"note":"Value kept but may cause issues"} 
[2026-09-06 09:42:33] 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-09-06 09:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788667566000,"timestamp_ms":1788667566000,"timestamp_seconds":1788667566,"priority":1,"record_length":96,"hex_timestamp":"000001a074e517b0"} 
[2026-09-06 09:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 09:42:33] 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-09-06 09:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:42:33] 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-09-06 09:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898892544001,"66":13928,"23":206,"85":15104,"24":31,"16":128881896854650880,"45":9022258190995613696},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 09:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898892544001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:42:33] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 09:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128881896854650880,"km_value":128881896854650.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258190995613696,"description":"Unknown IO ID 45"} 
[2026-09-06 09:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898892544001,"power":13928,"unknown_23":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9022258190995613696}} 
[2026-09-06 09:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":173752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:42:33] local.INFO: GPS data processed {"connection_id":173752,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:42:33] local.INFO: Acknowledgment sent {"connection_id":173752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:42:37] local.INFO: TCP Data received {"connection_id":173752,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a074e53ec0012d7d310005d1def8000500b123..."} 
[2026-09-06 09:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e53ec0012d7d310005d1def8000500b123..."} 
[2026-09-06 09:42:37] local.INFO: Processing buffer {"connection_id":173752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e53ec0012d7d310005d1def8000500b123..."} 
[2026-09-06 09:42:37] local.INFO: Packet analysis {"connection_id":173752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:42:37] local.INFO: Extracted packet for processing {"connection_id":173752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":97640184,"longitude_deg":76.3179264,"latitude_deg":9.7640184,"altitude":5,"angle":177,"satellites":35,"speed":35,"hex_longitude":"2d7d3100","hex_latitude":"05d1def8","is_valid_coordinates":true} 
[2026-09-06 09:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898896896001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128882330646347776,"note":"Value kept but may cause issues"} 
[2026-09-06 09:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447365455872,"note":"Value kept but may cause issues"} 
[2026-09-06 09:42:37] 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-09-06 09:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788667576000,"timestamp_ms":1788667576000,"timestamp_seconds":1788667576,"priority":1,"record_length":96,"hex_timestamp":"000001a074e53ec0"} 
[2026-09-06 09:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:42: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-09-06 09:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 09:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:42:37] 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-09-06 09:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898896896001,"66":13830,"23":206,"85":15104,"24":35,"16":128882330646347776,"45":9020780447365455872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 09:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898896896001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:42:37] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 09:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128882330646347776,"km_value":128882330646347.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447365455872,"description":"Unknown IO ID 45"} 
[2026-09-06 09:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898896896001,"power":13830,"unknown_23":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9020780447365455872}} 
[2026-09-06 09:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":173752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:42:37] local.INFO: GPS data processed {"connection_id":173752,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:42:37] local.INFO: Acknowledgment sent {"connection_id":173752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:42:44] local.INFO: TCP Data received {"connection_id":172605,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e805b0012d18a74007228350006d00c327..."} 
[2026-09-06 09:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e805b0012d18a74007228350006d00c327..."} 
[2026-09-06 09:42:44] local.INFO: Processing buffer {"connection_id":172605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e805b0012d18a74007228350006d00c327..."} 
[2026-09-06 09:42:44] local.INFO: Packet analysis {"connection_id":172605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e8"} 
[2026-09-06 09:42:44] local.INFO: Extracted packet for processing {"connection_id":172605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e8"} 
[2026-09-06 09:42:44] local.INFO: GPS Element Parsed {"raw_longitude":756590400,"raw_latitude":119702352,"longitude_deg":75.65904,"latitude_deg":11.9702352,"altitude":109,"angle":195,"satellites":39,"speed":21,"hex_longitude":"2d18a740","hex_latitude":"07228350","is_valid_coordinates":true} 
[2026-09-06 09:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898944256001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18147439416442880,"note":"Value kept but may cause issues"} 
[2026-09-06 09:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777021927363215360,"note":"Value kept but may cause issues"} 
[2026-09-06 09:42: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-09-06 09:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788667758000,"timestamp_ms":1788667758000,"timestamp_seconds":1788667758,"priority":1,"record_length":96,"hex_timestamp":"000001a074e805b0"} 
[2026-09-06 09:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:42:44] 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-09-06 09:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":172605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":172605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":172605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898944256001,"66":12385,"105":206,"83":41984,"24":21,"16":18147439416442880,"45":1777021927363215360},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898944256001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:42:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:42:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18147439416442880,"km_value":18147439416442.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777021927363215360,"description":"Unknown IO ID 45"} 
[2026-09-06 09:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898944256001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1777021927363215360}} 
[2026-09-06 09:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":172605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:42:44] local.INFO: GPS data processed {"connection_id":172605,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:42:44] local.INFO: Acknowledgment sent {"connection_id":172605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:42:48] local.INFO: TCP Data received {"connection_id":172379,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:42:48] local.INFO: Processing buffer {"connection_id":172379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:42:48] local.INFO: IMEI packet received {"connection_id":172379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":172379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:42:53] local.INFO: TCP Data received {"connection_id":172379,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:42:53] local.INFO: Processing buffer {"connection_id":172379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:42:53] local.INFO: IMEI packet received {"connection_id":172379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":172379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:43:09] local.INFO: TCP Data received {"connection_id":173753,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:43:09] local.INFO: Processing buffer {"connection_id":173753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:43:09] local.INFO: IMEI packet received {"connection_id":173753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":173753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:43:12] local.INFO: TCP Data received {"connection_id":172379,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074ea18f0012d44790006659668000f014e2d..."} 
[2026-09-06 09:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ea18f0012d44790006659668000f014e2d..."} 
[2026-09-06 09:43:12] local.INFO: Processing buffer {"connection_id":172379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ea18f0012d44790006659668000f014e2d..."} 
[2026-09-06 09:43:12] local.INFO: Packet analysis {"connection_id":172379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ea"} 
[2026-09-06 09:43:12] local.INFO: Extracted packet for processing {"connection_id":172379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ea"} 
[2026-09-06 09:43:12] local.INFO: GPS Element Parsed {"raw_longitude":759462144,"raw_latitude":107320936,"longitude_deg":75.9462144,"latitude_deg":10.7320936,"altitude":15,"angle":334,"satellites":45,"speed":59,"hex_longitude":"2d447900","hex_latitude":"06659668","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898979072001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400355883302780928,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4938830337581117440,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:12] 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-09-06 09:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788667894000,"timestamp_ms":1788667894000,"timestamp_seconds":1788667894,"priority":1,"record_length":96,"hex_timestamp":"000001a074ea18f0"} 
[2026-09-06 09:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-06 09:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:43: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-09-06 09:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898979072001,"66":27843,"58":206,"80":60416,"24":59,"16":400355883302780928,"45":4938830337581117440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,80,24,16,45]} 
[2026-09-06 09:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898979072001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:43:12] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-06 09:43:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400355883302780928,"km_value":400355883302780.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4938830337581117440,"description":"Unknown IO ID 45"} 
[2026-09-06 09:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898979072001,"power":27843,"unknown_58":206,"unknown_80":60416,"ignition":59,"odometer":null,"unknown_45":4938830337581117440}} 
[2026-09-06 09:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":172379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:43:12] local.INFO: GPS data processed {"connection_id":172379,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:43:12] local.INFO: Acknowledgment sent {"connection_id":172379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:43:14] local.INFO: TCP Data received {"connection_id":173753,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:43:14] local.INFO: Processing buffer {"connection_id":173753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:43:14] local.INFO: IMEI packet received {"connection_id":173753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":173753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:43:15] local.INFO: TCP Data received {"connection_id":173753,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074e828d8012d189e8007226bb0006800d027..."} 
[2026-09-06 09:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e828d8012d189e8007226bb0006800d027..."} 
[2026-09-06 09:43:15] local.INFO: Processing buffer {"connection_id":173753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e828d8012d189e8007226bb0006800d027..."} 
[2026-09-06 09:43:15] local.INFO: Packet analysis {"connection_id":173753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e8"} 
[2026-09-06 09:43:15] local.INFO: Extracted packet for processing {"connection_id":173753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e8"} 
[2026-09-06 09:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756588160,"raw_latitude":119696304,"longitude_deg":75.658816,"latitude_deg":11.9696304,"altitude":104,"angle":208,"satellites":39,"speed":34,"hex_longitude":"2d189e80","hex_latitude":"07226bb0","is_valid_coordinates":true} 
[2026-09-06 09:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898946048001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18147752949055488,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776458977408929792,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788667767000,"timestamp_ms":1788667767000,"timestamp_seconds":1788667767,"priority":1,"record_length":96,"hex_timestamp":"000001a074e828d8"} 
[2026-09-06 09:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898946048001,"66":12504,"105":206,"83":41984,"24":34,"16":18147752949055488,"45":1776458977408929792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898946048001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:43:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18147752949055488,"km_value":18147752949055.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776458977408929792,"description":"Unknown IO ID 45"} 
[2026-09-06 09:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898946048001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1776458977408929792}} 
[2026-09-06 09:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":173753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:43:15] local.INFO: GPS data processed {"connection_id":173753,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:43:15] local.INFO: Acknowledgment sent {"connection_id":173753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:43:17] local.INFO: TCP Data received {"connection_id":175069,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:43:17] local.INFO: Processing buffer {"connection_id":175069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:43:17] local.INFO: IMEI packet received {"connection_id":175069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":175069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:43:22] local.INFO: TCP Data received {"connection_id":175069,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:43:22] local.INFO: Processing buffer {"connection_id":175069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:43:22] local.INFO: IMEI packet received {"connection_id":175069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":175069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:43:23] local.INFO: TCP Data received {"connection_id":175069,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074e569b8012d7d340005d1ba70000500af24..."} 
[2026-09-06 09:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e569b8012d7d340005d1ba70000500af24..."} 
[2026-09-06 09:43:23] local.INFO: Processing buffer {"connection_id":175069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e569b8012d7d340005d1ba70000500af24..."} 
[2026-09-06 09:43:23] local.INFO: Packet analysis {"connection_id":175069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:43:23] local.INFO: Extracted packet for processing {"connection_id":175069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":97630832,"longitude_deg":76.3180032,"latitude_deg":9.7630832,"altitude":5,"angle":175,"satellites":36,"speed":34,"hex_longitude":"2d7d3400","hex_latitude":"05d1ba70","is_valid_coordinates":true} 
[2026-09-06 09:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898899456001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128882785912881152,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991553595701248,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43: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-09-06 09:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788667587000,"timestamp_ms":1788667587000,"timestamp_seconds":1788667587,"priority":1,"record_length":96,"hex_timestamp":"000001a074e569b8"} 
[2026-09-06 09:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-06 09:43:23] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2814758372835328,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627231989504,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:23] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147865194,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3530602496,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:23] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2768240640,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:23] local.WARNING: Large IO value detected {"io_id":227,"raw_value":1729713747880052178,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:23] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3828686849,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792685774,"corrected_to":0} 
[2026-09-06 09:43:23] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3458773312935821323,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:23] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3761569792,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:23] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,23,85,24,241,157,16,225,160,45,64,1,6,36,10,66,213,128,38,5,224,131,240,230,227,116,210,4,113,205,239,54,117,2,201,9],"length":528,"final_offset":658,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2792685774,"validated":0}]} 
[2026-09-06 09:43:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360482734073905152,"timestamp_seconds":360482734073905.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 09:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:43:23] 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-09-06 09:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898899456001,"66":13450,"23":206,"85":15104,"24":34,"16":128882785912881152,"45":9020991553595701248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 09:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898899456001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:43:23] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 09:43:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128882785912881152,"km_value":128882785912881.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991553595701248,"description":"Unknown IO ID 45"} 
[2026-09-06 09:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898899456001,"power":13450,"unknown_23":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9020991553595701248}} 
[2026-09-06 09:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":175069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:43:23] local.INFO: GPS data processed {"connection_id":175069,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:43:23] local.INFO: Acknowledgment sent {"connection_id":175069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:43:46] local.INFO: TCP Data received {"connection_id":173753,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074eabd00012d181f400721b200004900d328..."} 
[2026-09-06 09:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074eabd00012d181f400721b200004900d328..."} 
[2026-09-06 09:43:46] local.INFO: Processing buffer {"connection_id":173753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074eabd00012d181f400721b200004900d328..."} 
[2026-09-06 09:43:46] local.INFO: Packet analysis {"connection_id":173753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ea"} 
[2026-09-06 09:43:46] local.INFO: Extracted packet for processing {"connection_id":173753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ea"} 
[2026-09-06 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898986240001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788667936000,"timestamp_ms":1788667936000,"timestamp_seconds":1788667936,"priority":1,"record_length":96,"hex_timestamp":"000001a074eabd00"} 
[2026-09-06 09:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:43: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-09-06 09:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 09:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898986240001,"66":12406,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898986240001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:43:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898986240001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":173753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:43:46] local.INFO: GPS data processed {"connection_id":173753,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:43:46] local.INFO: Acknowledgment sent {"connection_id":173753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:43:48] local.INFO: TCP Data received {"connection_id":172380,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:43:48] local.INFO: Processing buffer {"connection_id":172380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:43:48] local.INFO: IMEI packet received {"connection_id":172380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":172380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:43:51] local.INFO: TCP Data received {"connection_id":172380,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:43:51] local.INFO: Processing buffer {"connection_id":172380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:43:51] local.INFO: IMEI packet received {"connection_id":172380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":172380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:43:52] local.INFO: TCP Data received {"connection_id":172380,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074eb3de8012d43dcc006670cb80009014b2b..."} 
[2026-09-06 09:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074eb3de8012d43dcc006670cb80009014b2b..."} 
[2026-09-06 09:43:52] local.INFO: Processing buffer {"connection_id":172380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074eb3de8012d43dcc006670cb80009014b2b..."} 
[2026-09-06 09:43:52] local.INFO: Packet analysis {"connection_id":172380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074eb"} 
[2026-09-06 09:43:52] local.INFO: Extracted packet for processing {"connection_id":172380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074eb"} 
[2026-09-06 09:43:52] local.INFO: GPS Element Parsed {"raw_longitude":759422144,"raw_latitude":107416760,"longitude_deg":75.9422144,"latitude_deg":10.741676,"altitude":9,"angle":331,"satellites":43,"speed":54,"hex_longitude":"2d43dcc0","hex_latitude":"06670cb8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898998272001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400360917004451840,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4894779503750684672,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:52] 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-09-06 09:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788667969000,"timestamp_ms":1788667969000,"timestamp_seconds":1788667969,"priority":1,"record_length":96,"hex_timestamp":"000001a074eb3de8"} 
[2026-09-06 09:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 09:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:43: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-09-06 09:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898998272001,"66":27745,"19":206,"80":60416,"24":54,"16":400360917004451840,"45":4894779503750684672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-09-06 09:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898998272001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:43:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:43:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400360917004451840,"km_value":400360917004451.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4894779503750684672,"description":"Unknown IO ID 45"} 
[2026-09-06 09:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898998272001,"power":27745,"unknown_19":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4894779503750684672}} 
[2026-09-06 09:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":172380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:43:52] local.INFO: GPS data processed {"connection_id":172380,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:43:52] local.INFO: Acknowledgment sent {"connection_id":172380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:43:54] local.INFO: TCP Data received {"connection_id":175069,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074e594b0012d7d35c005d19720000300b024..."} 
[2026-09-06 09:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e594b0012d7d35c005d19720000300b024..."} 
[2026-09-06 09:43:54] local.INFO: Processing buffer {"connection_id":175069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e594b0012d7d35c005d19720000300b024..."} 
[2026-09-06 09:43:54] local.INFO: Packet analysis {"connection_id":175069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:43:54] local.INFO: Extracted packet for processing {"connection_id":175069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":97621792,"longitude_deg":76.318048,"latitude_deg":9.7621792,"altitude":3,"angle":176,"satellites":36,"speed":32,"hex_longitude":"2d7d35c0","hex_latitude":"05d19720","is_valid_coordinates":true} 
[2026-09-06 09:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898902272001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128883223999545344,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021835978523439104,"note":"Value kept but may cause issues"} 
[2026-09-06 09:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788667598000,"timestamp_ms":1788667598000,"timestamp_seconds":1788667598,"priority":1,"record_length":96,"hex_timestamp":"000001a074e594b0"} 
[2026-09-06 09:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-06 09:43:54] 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-09-06 09:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:43:54] 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-09-06 09:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898902272001,"66":14048,"23":206,"85":15104,"24":32,"16":128883223999545344,"45":9021835978523439104},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 09:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898902272001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:43:54] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 09:43:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128883223999545344,"km_value":128883223999545.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021835978523439104,"description":"Unknown IO ID 45"} 
[2026-09-06 09:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898902272001,"power":14048,"unknown_23":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9021835978523439104}} 
[2026-09-06 09:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":175069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:43:54] local.INFO: GPS data processed {"connection_id":175069,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:43:54] local.INFO: Acknowledgment sent {"connection_id":175069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:44:02] local.INFO: TCP Data received {"connection_id":172606,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:44:02] local.INFO: Processing buffer {"connection_id":172606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:44:02] local.INFO: IMEI packet received {"connection_id":172606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 09:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":172606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:44:09] local.INFO: TCP Data received {"connection_id":175070,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:44:09] local.INFO: Processing buffer {"connection_id":175070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:44:09] local.INFO: IMEI packet received {"connection_id":175070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":175070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:44:14] local.INFO: TCP Data received {"connection_id":175070,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:44:14] local.INFO: Processing buffer {"connection_id":175070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:44:14] local.INFO: IMEI packet received {"connection_id":175070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":175070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:44:15] local.INFO: TCP Data received {"connection_id":175070,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074eb0f08012d181f400721b200004900d328..."} 
[2026-09-06 09:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074eb0f08012d181f400721b200004900d328..."} 
[2026-09-06 09:44:15] local.INFO: Processing buffer {"connection_id":175070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074eb0f08012d181f400721b200004900d328..."} 
[2026-09-06 09:44:15] local.INFO: Packet analysis {"connection_id":175070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074eb"} 
[2026-09-06 09:44:15] local.INFO: Extracted packet for processing {"connection_id":175070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074eb"} 
[2026-09-06 09:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898991616001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788667957000,"timestamp_ms":1788667957000,"timestamp_seconds":1788667957,"priority":1,"record_length":96,"hex_timestamp":"000001a074eb0f08"} 
[2026-09-06 09:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:44:15] 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-09-06 09:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 09:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898991616001,"66":12406,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898991616001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:44:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898991616001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":175070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:44:15] local.INFO: GPS data processed {"connection_id":175070,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:44:15] local.INFO: Acknowledgment sent {"connection_id":175070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:44:17] local.INFO: TCP Data received {"connection_id":175071,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:44:17] local.INFO: Processing buffer {"connection_id":175071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:44:17] local.INFO: IMEI packet received {"connection_id":175071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":175071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:44:22] local.INFO: TCP Data received {"connection_id":175071,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:44:22] local.INFO: Processing buffer {"connection_id":175071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:44:22] local.INFO: IMEI packet received {"connection_id":175071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":175071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:44:23] local.INFO: TCP Data received {"connection_id":175071,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074e5db00012d7d390005d174b0000400af25..."} 
[2026-09-06 09:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e5db00012d7d390005d174b0000400af25..."} 
[2026-09-06 09:44:23] local.INFO: Processing buffer {"connection_id":175071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e5db00012d7d390005d174b0000400af25..."} 
[2026-09-06 09:44:23] local.INFO: Packet analysis {"connection_id":175071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:44:23] local.INFO: Extracted packet for processing {"connection_id":175071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e5"} 
[2026-09-06 09:44:23] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":97612976,"longitude_deg":76.3181312,"latitude_deg":9.7612976,"altitude":4,"angle":175,"satellites":37,"speed":24,"hex_longitude":"2d7d3900","hex_latitude":"05d174b0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898905088001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128883653496274944,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328559730368512,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788667616000,"timestamp_ms":1788667616000,"timestamp_seconds":1788667616,"priority":1,"record_length":96,"hex_timestamp":"000001a074e5db00"} 
[2026-09-06 09:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-06 09:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:44:23] 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-09-06 09:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898905088001,"66":13852,"24":24,"85":15104,"16":128883653496274944,"45":9022328559730368512},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898905088001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:44:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128883653496274944,"km_value":128883653496274.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328559730368512,"description":"Unknown IO ID 45"} 
[2026-09-06 09:44:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457898905088001,"power":13852,"ignition":24,"unknown_85":15104,"odometer":null,"unknown_45":9022328559730368512}} 
[2026-09-06 09:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":175071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:44:23] local.INFO: GPS data processed {"connection_id":175071,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:44:23] local.INFO: Acknowledgment sent {"connection_id":175071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:44:23] local.INFO: TCP Data received {"connection_id":172380,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074eb5940012d43c8c006672d00000801412c..."} 
[2026-09-06 09:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074eb5940012d43c8c006672d00000801412c..."} 
[2026-09-06 09:44:23] local.INFO: Processing buffer {"connection_id":172380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074eb5940012d43c8c006672d00000801412c..."} 
[2026-09-06 09:44:23] local.INFO: Packet analysis {"connection_id":172380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074eb"} 
[2026-09-06 09:44:23] local.INFO: Extracted packet for processing {"connection_id":172380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074eb"} 
[2026-09-06 09:44:23] local.INFO: GPS Element Parsed {"raw_longitude":759417024,"raw_latitude":107425024,"longitude_deg":75.9417024,"latitude_deg":10.7425024,"altitude":8,"angle":321,"satellites":44,"speed":55,"hex_longitude":"2d43c8c0","hex_latitude":"06672d00","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899000064001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400361389450854400,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4889994429148739584,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:23] 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-09-06 09:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788667976000,"timestamp_ms":1788667976000,"timestamp_seconds":1788667976,"priority":1,"record_length":96,"hex_timestamp":"000001a074eb5940"} 
[2026-09-06 09:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:44: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-09-06 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:44: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-09-06 09:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899000064001,"66":27767,"19":206,"80":60416,"24":55,"16":400361389450854400,"45":4889994429148739584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-09-06 09:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899000064001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:44:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:44:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400361389450854400,"km_value":400361389450854.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4889994429148739584,"description":"Unknown IO ID 45"} 
[2026-09-06 09:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899000064001,"power":27767,"unknown_19":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4889994429148739584}} 
[2026-09-06 09:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":172380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:44:23] local.INFO: GPS data processed {"connection_id":172380,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:44:23] local.INFO: Acknowledgment sent {"connection_id":172380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:44:46] local.INFO: TCP Data received {"connection_id":175070,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074eb6110012d181f400721b200004900d324..."} 
[2026-09-06 09:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074eb6110012d181f400721b200004900d324..."} 
[2026-09-06 09:44:46] local.INFO: Processing buffer {"connection_id":175070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074eb6110012d181f400721b200004900d324..."} 
[2026-09-06 09:44:46] local.INFO: Packet analysis {"connection_id":175070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074eb"} 
[2026-09-06 09:44:46] local.INFO: Extracted packet for processing {"connection_id":175070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074eb"} 
[2026-09-06 09:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":36,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898996992001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788667978000,"timestamp_ms":1788667978000,"timestamp_seconds":1788667978,"priority":1,"record_length":96,"hex_timestamp":"000001a074eb6110"} 
[2026-09-06 09:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:44: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-09-06 09:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 09:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898996992001,"66":12406,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898996992001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:44:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457898996992001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":175070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:44:46] local.INFO: GPS data processed {"connection_id":175070,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:44:46] local.INFO: Acknowledgment sent {"connection_id":175070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:44:48] local.INFO: TCP Data received {"connection_id":175072,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:44:48] local.INFO: Processing buffer {"connection_id":175072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:44:48] local.INFO: IMEI packet received {"connection_id":175072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":175072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:44:51] local.INFO: TCP Data received {"connection_id":175072,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:44:51] local.INFO: Processing buffer {"connection_id":175072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:44:51] local.INFO: IMEI packet received {"connection_id":175072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":175072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:44:53] local.INFO: TCP Data received {"connection_id":175072,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:44:53] local.INFO: Processing buffer {"connection_id":175072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:44:53] local.INFO: IMEI packet received {"connection_id":175072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":175072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:44:54] local.INFO: TCP Data received {"connection_id":175071,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074e60dc8012d7d3ac005d150a0000300b125..."} 
[2026-09-06 09:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e60dc8012d7d3ac005d150a0000300b125..."} 
[2026-09-06 09:44:54] local.INFO: Processing buffer {"connection_id":175071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e60dc8012d7d3ac005d150a0000300b125..."} 
[2026-09-06 09:44:54] local.INFO: Packet analysis {"connection_id":175071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:44:54] local.INFO: Extracted packet for processing {"connection_id":175071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763181760,"raw_latitude":97603744,"longitude_deg":76.318176,"latitude_deg":9.7603744,"altitude":3,"angle":177,"satellites":37,"speed":21,"hex_longitude":"2d7d3ac0","hex_latitude":"05d150a0","is_valid_coordinates":true} 
[2026-09-06 09:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898909696001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884104467841024,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353402421248,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788667629000,"timestamp_ms":1788667629000,"timestamp_seconds":1788667629,"priority":1,"record_length":96,"hex_timestamp":"000001a074e60dc8"} 
[2026-09-06 09:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-06 09:44:54] 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-09-06 09:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:44:54] 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-09-06 09:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898909696001,"66":13200,"24":21,"85":15104,"16":128884104467841024,"45":9023243353402421248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898909696001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:44:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884104467841024,"km_value":128884104467841.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353402421248,"description":"Unknown IO ID 45"} 
[2026-09-06 09:44:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457898909696001,"power":13200,"ignition":21,"unknown_85":15104,"odometer":null,"unknown_45":9023243353402421248}} 
[2026-09-06 09:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":175071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:44:54] local.INFO: GPS data processed {"connection_id":175071,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:44:54] local.INFO: Acknowledgment sent {"connection_id":175071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:44:54] local.INFO: TCP Data received {"connection_id":175072,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074eb70b0012d43b0c006674440000801332b..."} 
[2026-09-06 09:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074eb70b0012d43b0c006674440000801332b..."} 
[2026-09-06 09:44:54] local.INFO: Processing buffer {"connection_id":175072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074eb70b0012d43b0c006674440000801332b..."} 
[2026-09-06 09:44:54] local.INFO: Packet analysis {"connection_id":175072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074eb"} 
[2026-09-06 09:44:54] local.INFO: Extracted packet for processing {"connection_id":175072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074eb"} 
[2026-09-06 09:44:54] local.INFO: GPS Element Parsed {"raw_longitude":759410880,"raw_latitude":107430976,"longitude_deg":75.941088,"latitude_deg":10.7430976,"altitude":8,"angle":307,"satellites":43,"speed":56,"hex_longitude":"2d43b0c0","hex_latitude":"06674440","is_valid_coordinates":true} 
[2026-09-06 09:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899001856001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400361801767714816,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4884364929616642048,"note":"Value kept but may cause issues"} 
[2026-09-06 09:44:54] 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-09-06 09:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788667982000,"timestamp_ms":1788667982000,"timestamp_seconds":1788667982,"priority":1,"record_length":96,"hex_timestamp":"000001a074eb70b0"} 
[2026-09-06 09:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:44: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-09-06 09:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:44: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-09-06 09:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899001856001,"66":27517,"19":206,"80":60416,"24":56,"16":400361801767714816,"45":4884364929616642048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-09-06 09:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899001856001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:44:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:44:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400361801767714816,"km_value":400361801767714.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4884364929616642048,"description":"Unknown IO ID 45"} 
[2026-09-06 09:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899001856001,"power":27517,"unknown_19":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":4884364929616642048}} 
[2026-09-06 09:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":175072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:44:54] local.INFO: GPS data processed {"connection_id":175072,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:44:54] local.INFO: Acknowledgment sent {"connection_id":175072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:45:09] local.INFO: TCP Data received {"connection_id":175073,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:45:09] local.INFO: Processing buffer {"connection_id":175073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:45:09] local.INFO: IMEI packet received {"connection_id":175073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":175073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:45:14] local.INFO: TCP Data received {"connection_id":175073,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:45:14] local.INFO: Processing buffer {"connection_id":175073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:45:14] local.INFO: IMEI packet received {"connection_id":175073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":175073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:45:15] local.INFO: TCP Data received {"connection_id":175073,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ebb318012d181f400721b200004900d327..."} 
[2026-09-06 09:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ebb318012d181f400721b200004900d327..."} 
[2026-09-06 09:45:15] local.INFO: Processing buffer {"connection_id":175073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ebb318012d181f400721b200004900d327..."} 
[2026-09-06 09:45:15] local.INFO: Packet analysis {"connection_id":175073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074eb"} 
[2026-09-06 09:45:15] local.INFO: Extracted packet for processing {"connection_id":175073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074eb"} 
[2026-09-06 09:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899002368001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788667999000,"timestamp_ms":1788667999000,"timestamp_seconds":1788667999,"priority":1,"record_length":96,"hex_timestamp":"000001a074ebb318"} 
[2026-09-06 09:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:45:15] 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-09-06 09:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 09:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899002368001,"66":12341,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899002368001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:45:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899002368001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":175073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:45:15] local.INFO: GPS data processed {"connection_id":175073,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:45:15] local.INFO: Acknowledgment sent {"connection_id":175073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:45:17] local.INFO: TCP Data received {"connection_id":173754,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:45:17] local.INFO: Processing buffer {"connection_id":173754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:45:17] local.INFO: IMEI packet received {"connection_id":173754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":173754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:45:22] local.INFO: TCP Data received {"connection_id":173754,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:45:22] local.INFO: Processing buffer {"connection_id":173754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:45:22] local.INFO: IMEI packet received {"connection_id":173754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":173754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:45:23] local.INFO: TCP Data received {"connection_id":173754,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074e65be8012d7d3c4005d14540000200ac25..."} 
[2026-09-06 09:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e65be8012d7d3c4005d14540000200ac25..."} 
[2026-09-06 09:45:23] local.INFO: Processing buffer {"connection_id":173754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e65be8012d7d3c4005d14540000200ac25..."} 
[2026-09-06 09:45:23] local.INFO: Packet analysis {"connection_id":173754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:45:23] local.INFO: Extracted packet for processing {"connection_id":173754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:45:23] local.INFO: GPS Element Parsed {"raw_longitude":763182144,"raw_latitude":97600832,"longitude_deg":76.3182144,"latitude_deg":9.7600832,"altitude":2,"angle":172,"satellites":37,"speed":3,"hex_longitude":"2d7d3c40","hex_latitude":"05d14540","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898913024001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884246201761792,"note":"Value kept but may cause issues"} 
[2026-09-06 09:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735934609301504,"note":"Value kept but may cause issues"} 
[2026-09-06 09:45:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788667649000,"timestamp_ms":1788667649000,"timestamp_seconds":1788667649,"priority":1,"record_length":96,"hex_timestamp":"000001a074e65be8"} 
[2026-09-06 09:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-06 09:45:23] 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-09-06 09: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-09-06 09:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:45:23] 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-09-06 09:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898913024001,"66":13678,"24":3,"85":15104,"16":128884246201761792,"45":9023735934609301504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898913024001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:45:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884246201761792,"km_value":128884246201761.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735934609301504,"description":"Unknown IO ID 45"} 
[2026-09-06 09:45:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457898913024001,"power":13678,"ignition":3,"unknown_85":15104,"odometer":null,"unknown_45":9023735934609301504}} 
[2026-09-06 09:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":173754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:45:23] local.INFO: GPS data processed {"connection_id":173754,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:45:23] local.INFO: Acknowledgment sent {"connection_id":173754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:45:25] local.INFO: TCP Data received {"connection_id":175072,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074eb8438012d4398c006675288000901272b..."} 
[2026-09-06 09:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074eb8438012d4398c006675288000901272b..."} 
[2026-09-06 09:45:25] local.INFO: Processing buffer {"connection_id":175072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074eb8438012d4398c006675288000901272b..."} 
[2026-09-06 09:45:25] local.INFO: Packet analysis {"connection_id":175072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074eb"} 
[2026-09-06 09:45:25] local.INFO: Extracted packet for processing {"connection_id":175072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074eb"} 
[2026-09-06 09:45:25] local.INFO: GPS Element Parsed {"raw_longitude":759404736,"raw_latitude":107434632,"longitude_deg":75.9404736,"latitude_deg":10.7434632,"altitude":9,"angle":295,"satellites":43,"speed":55,"hex_longitude":"2d4398c0","hex_latitude":"06675288","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899003392001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400362141070131200,"note":"Value kept but may cause issues"} 
[2026-09-06 09:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4877609530177110016,"note":"Value kept but may cause issues"} 
[2026-09-06 09:45:25] 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-09-06 09:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788667987000,"timestamp_ms":1788667987000,"timestamp_seconds":1788667987,"priority":1,"record_length":96,"hex_timestamp":"000001a074eb8438"} 
[2026-09-06 09:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:45: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-09-06 09: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 09:45:25] 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-09-06 09: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-09-06 09:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:45: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-09-06 09:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899003392001,"66":27691,"19":206,"80":60416,"24":55,"16":400362141070131200,"45":4877609530177110016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-09-06 09:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899003392001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:45:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:45:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400362141070131200,"km_value":400362141070131.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4877609530177110016,"description":"Unknown IO ID 45"} 
[2026-09-06 09:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899003392001,"power":27691,"unknown_19":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4877609530177110016}} 
[2026-09-06 09:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":175072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:45:25] local.INFO: GPS data processed {"connection_id":175072,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:45:25] local.INFO: Acknowledgment sent {"connection_id":175072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:45:46] local.INFO: TCP Data received {"connection_id":175073,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ec0520012d181f400721b200004900d327..."} 
[2026-09-06 09:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ec0520012d181f400721b200004900d327..."} 
[2026-09-06 09:45:46] local.INFO: Processing buffer {"connection_id":175073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ec0520012d181f400721b200004900d327..."} 
[2026-09-06 09:45:46] local.INFO: Packet analysis {"connection_id":175073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ec"} 
[2026-09-06 09:45:46] local.INFO: Extracted packet for processing {"connection_id":175073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ec"} 
[2026-09-06 09:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899007744001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788668020000,"timestamp_ms":1788668020000,"timestamp_seconds":1788668020,"priority":1,"record_length":96,"hex_timestamp":"000001a074ec0520"} 
[2026-09-06 09:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:45:46] 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-09-06 09:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-06 09:45:46] 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-09-06 09:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899007744001,"66":12385,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899007744001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:45:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899007744001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":175073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:45:46] local.INFO: GPS data processed {"connection_id":175073,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:45:46] local.INFO: Acknowledgment sent {"connection_id":175073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:45:48] local.INFO: TCP Data received {"connection_id":173755,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:45:48] local.INFO: Processing buffer {"connection_id":173755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:45:48] local.INFO: IMEI packet received {"connection_id":173755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":173755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:45:54] local.INFO: TCP Data received {"connection_id":173754,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074e6a620012d7d3c8005d143a0000200ac24..."} 
[2026-09-06 09:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e6a620012d7d3c8005d143a0000200ac24..."} 
[2026-09-06 09:45:54] local.INFO: Processing buffer {"connection_id":173754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e6a620012d7d3c8005d143a0000200ac24..."} 
[2026-09-06 09:45:54] local.INFO: Packet analysis {"connection_id":173754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:45:54] local.INFO: Extracted packet for processing {"connection_id":173754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97600416,"longitude_deg":76.3182208,"latitude_deg":9.7600416,"altitude":2,"angle":172,"satellites":36,"speed":0,"hex_longitude":"2d7d3c80","hex_latitude":"05d143a0","is_valid_coordinates":true} 
[2026-09-06 09:45: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-09-06 09:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898918144001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024158147073622016,"note":"Value kept but may cause issues"} 
[2026-09-06 09:45:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788667668000,"timestamp_ms":1788667668000,"timestamp_seconds":1788667668,"priority":1,"record_length":96,"hex_timestamp":"000001a074e6a620"} 
[2026-09-06 09:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 09:45:54] 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-09-06 09: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-09-06 09:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:45:54] 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-09-06 09:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898918144001,"66":13906,"24":0,"85":15104,"16":128884271971565568,"45":9024158147073622016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898918144001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:45:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024158147073622016,"description":"Unknown IO ID 45"} 
[2026-09-06 09:45:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457898918144001,"power":13906,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024158147073622016}} 
[2026-09-06 09:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":173754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:45:54] local.INFO: GPS data processed {"connection_id":173754,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:45:54] local.INFO: Acknowledgment sent {"connection_id":173754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:45:57] local.INFO: TCP Data received {"connection_id":172381,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:45:57] local.INFO: Processing buffer {"connection_id":172381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:45:57] local.INFO: IMEI packet received {"connection_id":172381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 09:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":172381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:46:00] local.INFO: TCP Data received {"connection_id":173755,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:46:00] local.INFO: Processing buffer {"connection_id":173755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:46:00] local.INFO: IMEI packet received {"connection_id":173755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":173755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:46:02] local.INFO: TCP Data received {"connection_id":173755,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074eb9ba8012d437a8006675ce8000a011b2c..."} 
[2026-09-06 09:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074eb9ba8012d437a8006675ce8000a011b2c..."} 
[2026-09-06 09:46:02] local.INFO: Processing buffer {"connection_id":173755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074eb9ba8012d437a8006675ce8000a011b2c..."} 
[2026-09-06 09:46:02] local.INFO: Packet analysis {"connection_id":173755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074eb"} 
[2026-09-06 09:46:02] local.INFO: Extracted packet for processing {"connection_id":173755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074eb"} 
[2026-09-06 09:46:02] local.INFO: GPS Element Parsed {"raw_longitude":759396992,"raw_latitude":107437288,"longitude_deg":75.9396992,"latitude_deg":10.7437288,"altitude":10,"angle":283,"satellites":44,"speed":50,"hex_longitude":"2d437a80","hex_latitude":"06675ce8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899004672001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400362536207122432,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4870854130736990208,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:02] 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-09-06 09:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788667993000,"timestamp_ms":1788667993000,"timestamp_seconds":1788667993,"priority":1,"record_length":96,"hex_timestamp":"000001a074eb9ba8"} 
[2026-09-06 09:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 09:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:46: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-09-06 09:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899004672001,"66":27658,"19":206,"80":60416,"24":50,"16":400362536207122432,"45":4870854130736990208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-09-06 09:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899004672001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:46:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 09:46:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400362536207122432,"km_value":400362536207122.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4870854130736990208,"description":"Unknown IO ID 45"} 
[2026-09-06 09:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899004672001,"power":27658,"unknown_19":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":4870854130736990208}} 
[2026-09-06 09:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":173755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:46:02] local.INFO: GPS data processed {"connection_id":173755,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:46:02] local.INFO: Acknowledgment sent {"connection_id":173755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:46:09] local.INFO: TCP Data received {"connection_id":172607,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:46:09] local.INFO: Processing buffer {"connection_id":172607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:46:09] local.INFO: IMEI packet received {"connection_id":172607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":172607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:46:14] local.INFO: TCP Data received {"connection_id":172607,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:46:14] local.INFO: Processing buffer {"connection_id":172607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:46:14] local.INFO: IMEI packet received {"connection_id":172607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":172607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:46:15] local.INFO: TCP Data received {"connection_id":172607,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ec5728012d181f400721b200004900d325..."} 
[2026-09-06 09:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ec5728012d181f400721b200004900d325..."} 
[2026-09-06 09:46:15] local.INFO: Processing buffer {"connection_id":172607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ec5728012d181f400721b200004900d325..."} 
[2026-09-06 09:46:15] local.INFO: Packet analysis {"connection_id":172607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ec"} 
[2026-09-06 09:46:15] local.INFO: Extracted packet for processing {"connection_id":172607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ec"} 
[2026-09-06 09:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899013120001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788668041000,"timestamp_ms":1788668041000,"timestamp_seconds":1788668041,"priority":1,"record_length":96,"hex_timestamp":"000001a074ec5728"} 
[2026-09-06 09:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899013120001,"66":12374,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899013120001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:46:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899013120001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":172607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:46:15] local.INFO: GPS data processed {"connection_id":172607,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:46:15] local.INFO: Acknowledgment sent {"connection_id":172607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:46:16] local.INFO: TCP Data received {"connection_id":172382,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172382,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:46:16] local.INFO: Processing buffer {"connection_id":172382,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:46:16] local.INFO: IMEI packet received {"connection_id":172382,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":172382,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:46:22] local.INFO: TCP Data received {"connection_id":172382,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172382,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:46:22] local.INFO: Processing buffer {"connection_id":172382,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:46:22] local.INFO: IMEI packet received {"connection_id":172382,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":172382,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:46:23] local.INFO: TCP Data received {"connection_id":172382,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074e6a620012d7d3c8005d143a0000200ac24..."} 
[2026-09-06 09:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e6a620012d7d3c8005d143a0000200ac24..."} 
[2026-09-06 09:46:23] local.INFO: Processing buffer {"connection_id":172382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e6a620012d7d3c8005d143a0000200ac24..."} 
[2026-09-06 09:46:23] local.INFO: Packet analysis {"connection_id":172382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:46:23] local.INFO: Extracted packet for processing {"connection_id":172382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:46:23] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97600416,"longitude_deg":76.3182208,"latitude_deg":9.7600416,"altitude":2,"angle":172,"satellites":36,"speed":0,"hex_longitude":"2d7d3c80","hex_latitude":"05d143a0","is_valid_coordinates":true} 
[2026-09-06 09:46:23] 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-09-06 09:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898923008001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788667668000,"timestamp_ms":1788667668000,"timestamp_seconds":1788667668,"priority":1,"record_length":96,"hex_timestamp":"000001a074e6a620"} 
[2026-09-06 09:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:46: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-09-06 09:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-06 09:46:23] 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-09-06 09:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:46:23] 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-09-06 09:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898923008001,"66":13906,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898923008001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:46:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:46:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457898923008001,"power":13906,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":172382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:46:23] local.INFO: GPS data processed {"connection_id":172382,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:46:23] local.INFO: Acknowledgment sent {"connection_id":172382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:46:33] local.INFO: TCP Data received {"connection_id":173755,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074ede1b0012d42a80006679978000901332f..."} 
[2026-09-06 09:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ede1b0012d42a80006679978000901332f..."} 
[2026-09-06 09:46:33] local.INFO: Processing buffer {"connection_id":173755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ede1b0012d42a80006679978000901332f..."} 
[2026-09-06 09:46:33] local.INFO: Packet analysis {"connection_id":173755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ed"} 
[2026-09-06 09:46:33] local.INFO: Extracted packet for processing {"connection_id":173755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ed"} 
[2026-09-06 09:46:33] local.INFO: GPS Element Parsed {"raw_longitude":759343104,"raw_latitude":107452792,"longitude_deg":75.9343104,"latitude_deg":10.7452792,"altitude":9,"angle":307,"satellites":47,"speed":47,"hex_longitude":"2d42a800","hex_latitude":"06679978","is_valid_coordinates":true} 
[2026-09-06 09:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899042560001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400365229151617024,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4810477748236167168,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788668142000,"timestamp_ms":1788668142000,"timestamp_seconds":1788668142,"priority":1,"record_length":96,"hex_timestamp":"000001a074ede1b0"} 
[2026-09-06 09:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:46: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-09-06 09:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899042560001,"66":27800,"181":206,"80":60416,"24":47,"16":400365229151617024,"45":4810477748236167168},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,80,24,16,45]} 
[2026-09-06 09:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899042560001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:46:33] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-06 09:46:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400365229151617024,"km_value":400365229151617.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4810477748236167168,"description":"Unknown IO ID 45"} 
[2026-09-06 09:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899042560001,"power":27800,"unknown_181":206,"unknown_80":60416,"ignition":47,"odometer":null,"unknown_45":4810477748236167168}} 
[2026-09-06 09:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":173755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:46:33] local.INFO: GPS data processed {"connection_id":173755,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:46:33] local.INFO: Acknowledgment sent {"connection_id":173755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:46:46] local.INFO: TCP Data received {"connection_id":172607,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074eca930012d181f400721b200004900d325..."} 
[2026-09-06 09:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074eca930012d181f400721b200004900d325..."} 
[2026-09-06 09:46:46] local.INFO: Processing buffer {"connection_id":172607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074eca930012d181f400721b200004900d325..."} 
[2026-09-06 09:46:46] local.INFO: Packet analysis {"connection_id":172607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ec"} 
[2026-09-06 09:46:46] local.INFO: Extracted packet for processing {"connection_id":172607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ec"} 
[2026-09-06 09:46:46] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899018496001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788668062000,"timestamp_ms":1788668062000,"timestamp_seconds":1788668062,"priority":1,"record_length":96,"hex_timestamp":"000001a074eca930"} 
[2026-09-06 09:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:46: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-09-06 09:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-06 09:46:46] 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-09-06 09:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899018496001,"66":12385,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899018496001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:46:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899018496001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":172607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:46:46] local.INFO: GPS data processed {"connection_id":172607,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:46:46] local.INFO: Acknowledgment sent {"connection_id":172607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:46:48] local.INFO: TCP Data received {"connection_id":173756,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:46:48] local.INFO: Processing buffer {"connection_id":173756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:46:48] local.INFO: IMEI packet received {"connection_id":173756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":173756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:46:53] local.INFO: TCP Data received {"connection_id":173756,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:46:53] local.INFO: Processing buffer {"connection_id":173756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:46:53] local.INFO: IMEI packet received {"connection_id":173756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":173756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:46:54] local.INFO: TCP Data received {"connection_id":172382,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074e6bd90012d7d3c8005d143a0000200ac24..."} 
[2026-09-06 09:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e6bd90012d7d3c8005d143a0000200ac24..."} 
[2026-09-06 09:46:54] local.INFO: Processing buffer {"connection_id":172382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e6bd90012d7d3c8005d143a0000200ac24..."} 
[2026-09-06 09:46:54] local.INFO: Packet analysis {"connection_id":172382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:46:54] local.INFO: Extracted packet for processing {"connection_id":172382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:46:54] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97600416,"longitude_deg":76.3182208,"latitude_deg":9.7600416,"altitude":2,"angle":172,"satellites":36,"speed":0,"hex_longitude":"2d7d3c80","hex_latitude":"05d143a0","is_valid_coordinates":true} 
[2026-09-06 09:46:54] 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-09-06 09:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898923008001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788667674000,"timestamp_ms":1788667674000,"timestamp_seconds":1788667674,"priority":1,"record_length":96,"hex_timestamp":"000001a074e6bd90"} 
[2026-09-06 09:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:46: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-09-06 09:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-06 09:46:54] 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-09-06 09:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:46:54] 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-09-06 09:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898923008001,"66":5242,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898923008001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:46:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:46:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457898923008001,"power":5242,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":172382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:46:54] local.INFO: GPS data processed {"connection_id":172382,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:46:54] local.INFO: Acknowledgment sent {"connection_id":172382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:46:54] local.INFO: TCP Data received {"connection_id":173756,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074edf920012d4292400667ade00007013f2d..."} 
[2026-09-06 09:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074edf920012d4292400667ade00007013f2d..."} 
[2026-09-06 09:46:54] local.INFO: Processing buffer {"connection_id":173756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074edf920012d4292400667ade00007013f2d..."} 
[2026-09-06 09:46:54] local.INFO: Packet analysis {"connection_id":173756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ed"} 
[2026-09-06 09:46:54] local.INFO: Extracted packet for processing {"connection_id":173756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ed"} 
[2026-09-06 09:46:54] local.INFO: GPS Element Parsed {"raw_longitude":759337536,"raw_latitude":107458016,"longitude_deg":75.9337536,"latitude_deg":10.7458016,"altitude":7,"angle":319,"satellites":45,"speed":53,"hex_longitude":"2d429240","hex_latitude":"0667ade0","is_valid_coordinates":true} 
[2026-09-06 09:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899044352001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400365598518804480,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4803089030098548736,"note":"Value kept but may cause issues"} 
[2026-09-06 09:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788668148000,"timestamp_ms":1788668148000,"timestamp_seconds":1788668148,"priority":1,"record_length":96,"hex_timestamp":"000001a074edf920"} 
[2026-09-06 09:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:46: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-09-06 09:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 09:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899044352001,"66":27745,"181":206,"80":60416,"24":53,"16":400365598518804480,"45":4803089030098548736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,80,24,16,45]} 
[2026-09-06 09:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899044352001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:46:54] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-06 09:46:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400365598518804480,"km_value":400365598518804.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4803089030098548736,"description":"Unknown IO ID 45"} 
[2026-09-06 09:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899044352001,"power":27745,"unknown_181":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4803089030098548736}} 
[2026-09-06 09:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":173756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:46:54] local.INFO: GPS data processed {"connection_id":173756,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:46:54] local.INFO: Acknowledgment sent {"connection_id":173756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:47:09] local.INFO: TCP Data received {"connection_id":173757,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:47:09] local.INFO: Processing buffer {"connection_id":173757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:47:09] local.INFO: IMEI packet received {"connection_id":173757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":173757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:47:14] local.INFO: TCP Data received {"connection_id":173757,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:47:14] local.INFO: Processing buffer {"connection_id":173757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:47:14] local.INFO: IMEI packet received {"connection_id":173757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":173757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:47:15] local.INFO: TCP Data received {"connection_id":173757,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ecfb38012d181f400721b200004900d326..."} 
[2026-09-06 09:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ecfb38012d181f400721b200004900d326..."} 
[2026-09-06 09:47:15] local.INFO: Processing buffer {"connection_id":173757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ecfb38012d181f400721b200004900d326..."} 
[2026-09-06 09:47:15] local.INFO: Packet analysis {"connection_id":173757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ec"} 
[2026-09-06 09:47:15] local.INFO: Extracted packet for processing {"connection_id":173757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ec"} 
[2026-09-06 09:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899023872001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788668083000,"timestamp_ms":1788668083000,"timestamp_seconds":1788668083,"priority":1,"record_length":96,"hex_timestamp":"000001a074ecfb38"} 
[2026-09-06 09:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:47:15] 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-09-06 09:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899023872001,"66":12385,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899023872001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:47:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899023872001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":173757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:47:15] local.INFO: GPS data processed {"connection_id":173757,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:47:15] local.INFO: Acknowledgment sent {"connection_id":173757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:47:22] local.INFO: TCP Data received {"connection_id":172608,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:47:22] local.INFO: Processing buffer {"connection_id":172608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:47:22] local.INFO: IMEI packet received {"connection_id":172608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":172608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:47:25] local.INFO: TCP Data received {"connection_id":173756,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074ee1090012d427fc00667c8b80006014b2d..."} 
[2026-09-06 09:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ee1090012d427fc00667c8b80006014b2d..."} 
[2026-09-06 09:47:25] local.INFO: Processing buffer {"connection_id":173756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ee1090012d427fc00667c8b80006014b2d..."} 
[2026-09-06 09:47:25] local.INFO: Packet analysis {"connection_id":173756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ee"} 
[2026-09-06 09:47:25] local.INFO: Extracted packet for processing {"connection_id":173756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ee"} 
[2026-09-06 09:47:25] local.INFO: GPS Element Parsed {"raw_longitude":759332800,"raw_latitude":107464888,"longitude_deg":75.93328,"latitude_deg":10.7464888,"altitude":6,"angle":331,"satellites":45,"speed":56,"hex_longitude":"2d427fc0","hex_latitude":"0667c8b8","is_valid_coordinates":true} 
[2026-09-06 09:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899045888001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400366002245730304,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4796966949356429312,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788668154000,"timestamp_ms":1788668154000,"timestamp_seconds":1788668154,"priority":1,"record_length":96,"hex_timestamp":"000001a074ee1090"} 
[2026-09-06 09:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:47: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-09-06 09:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899045888001,"66":27713,"181":206,"80":60416,"24":56,"16":400366002245730304,"45":4796966949356429312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,80,24,16,45]} 
[2026-09-06 09:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899045888001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:47:25] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-06 09:47:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400366002245730304,"km_value":400366002245730.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4796966949356429312,"description":"Unknown IO ID 45"} 
[2026-09-06 09:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899045888001,"power":27713,"unknown_181":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":4796966949356429312}} 
[2026-09-06 09:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":173756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:47:25] local.INFO: GPS data processed {"connection_id":173756,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:47:25] local.INFO: Acknowledgment sent {"connection_id":173756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:47:27] local.INFO: TCP Data received {"connection_id":172608,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:47:27] local.INFO: Processing buffer {"connection_id":172608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:47:27] local.INFO: IMEI packet received {"connection_id":172608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":172608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:47:27] local.INFO: TCP Data received {"connection_id":172608,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074e6bd90012d7d3c8005d143a0000200ac24..."} 
[2026-09-06 09:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074e6bd90012d7d3c8005d143a0000200ac24..."} 
[2026-09-06 09:47:28] local.INFO: Processing buffer {"connection_id":172608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074e6bd90012d7d3c8005d143a0000200ac24..."} 
[2026-09-06 09:47:28] local.INFO: Packet analysis {"connection_id":172608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:47:28] local.INFO: Extracted packet for processing {"connection_id":172608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074e6"} 
[2026-09-06 09:47:28] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97600416,"longitude_deg":76.3182208,"latitude_deg":9.7600416,"altitude":2,"angle":172,"satellites":36,"speed":0,"hex_longitude":"2d7d3c80","hex_latitude":"05d143a0","is_valid_coordinates":true} 
[2026-09-06 09:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898924544001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788667674000,"timestamp_ms":1788667674000,"timestamp_seconds":1788667674,"priority":1,"record_length":96,"hex_timestamp":"000001a074e6bd90"} 
[2026-09-06 09:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:47: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-09-06 09: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":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-06 09:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:47:28] 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-09-06 09:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898924544001,"66":5242,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898924544001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:47:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:47:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457898924544001,"power":5242,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":172608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:47:28] local.INFO: GPS data processed {"connection_id":172608,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:47:28] local.INFO: Acknowledgment sent {"connection_id":172608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:47:32] local.INFO: TCP Data received {"connection_id":172608,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074eee380012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074eee380012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:47:32] local.INFO: Processing buffer {"connection_id":172608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074eee380012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:47:32] local.INFO: Packet analysis {"connection_id":172608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ee"} 
[2026-09-06 09:47:32] local.INFO: Extracted packet for processing {"connection_id":172608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ee"} 
[2026-09-06 09:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09:47: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-09-06 09:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898924544001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788668208000,"timestamp_ms":1788668208000,"timestamp_seconds":1788668208,"priority":1,"record_length":96,"hex_timestamp":"000001a074eee380"} 
[2026-09-06 09:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 09:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-06 09:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1396,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:47:32] 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-09-06 09:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457898924544001,"66":2318,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457898924544001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:47:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457898924544001,"power":2318,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":172608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:47:32] local.INFO: GPS data processed {"connection_id":172608,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:47:32] local.INFO: Acknowledgment sent {"connection_id":172608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:47:46] local.INFO: TCP Data received {"connection_id":173757,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ed4d40012d181f400721b200004900d325..."} 
[2026-09-06 09:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ed4d40012d181f400721b200004900d325..."} 
[2026-09-06 09:47:46] local.INFO: Processing buffer {"connection_id":173757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ed4d40012d181f400721b200004900d325..."} 
[2026-09-06 09:47:46] local.INFO: Packet analysis {"connection_id":173757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ed"} 
[2026-09-06 09:47:46] local.INFO: Extracted packet for processing {"connection_id":173757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ed"} 
[2026-09-06 09:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899029248001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788668104000,"timestamp_ms":1788668104000,"timestamp_seconds":1788668104,"priority":1,"record_length":96,"hex_timestamp":"000001a074ed4d40"} 
[2026-09-06 09:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:47: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-09-06 09:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:47:46] 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-09-06 09:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899029248001,"66":12385,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899029248001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:47:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899029248001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":173757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:47:46] local.INFO: GPS data processed {"connection_id":173757,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:47:46] local.INFO: Acknowledgment sent {"connection_id":173757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:47:53] local.INFO: TCP Data received {"connection_id":175074,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:47:53] local.INFO: Processing buffer {"connection_id":175074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:47:53] local.INFO: IMEI packet received {"connection_id":175074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":175074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:47:57] local.INFO: TCP Data received {"connection_id":175074,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:47:57] local.INFO: Processing buffer {"connection_id":175074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:47:57] local.INFO: IMEI packet received {"connection_id":175074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":175074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:47:58] local.INFO: TCP Data received {"connection_id":175074,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074ef25e8012d41ee4006694680000501542c..."} 
[2026-09-06 09:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ef25e8012d41ee4006694680000501542c..."} 
[2026-09-06 09:47:58] local.INFO: Processing buffer {"connection_id":175074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ef25e8012d41ee4006694680000501542c..."} 
[2026-09-06 09:47:58] local.INFO: Packet analysis {"connection_id":175074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:47:58] local.INFO: Extracted packet for processing {"connection_id":175074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:47:58] local.INFO: GPS Element Parsed {"raw_longitude":759295552,"raw_latitude":107562624,"longitude_deg":75.9295552,"latitude_deg":10.7562624,"altitude":5,"angle":340,"satellites":44,"speed":58,"hex_longitude":"2d41ee40","hex_latitude":"06694680","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899063808001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400371061717204992,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4754604965385754624,"note":"Value kept but may cause issues"} 
[2026-09-06 09:47:58] 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-09-06 09:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788668225000,"timestamp_ms":1788668225000,"timestamp_seconds":1788668225,"priority":1,"record_length":96,"hex_timestamp":"000001a074ef25e8"} 
[2026-09-06 09:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:47: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-09-06 09: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-09-06 09:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:47: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-09-06 09:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899063808001,"66":27767,"97":206,"80":60416,"24":58,"16":400371061717204992,"45":4754604965385754624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-09-06 09:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899063808001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:47:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 09:47:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400371061717204992,"km_value":400371061717205.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4754604965385754624,"description":"Unknown IO ID 45"} 
[2026-09-06 09:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899063808001,"power":27767,"unknown_97":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4754604965385754624}} 
[2026-09-06 09:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":175074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:47:58] local.INFO: GPS data processed {"connection_id":175074,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:47:58] local.INFO: Acknowledgment sent {"connection_id":175074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:48:14] local.INFO: TCP Data received {"connection_id":173758,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:48:14] local.INFO: Processing buffer {"connection_id":173758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:48:14] local.INFO: IMEI packet received {"connection_id":173758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":173758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:48:17] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:48:17] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:48:17] local.INFO: IMEI packet received {"connection_id":173759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":173759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:48:19] local.INFO: TCP Data received {"connection_id":173758,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:48:19] local.INFO: Processing buffer {"connection_id":173758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:48:19] local.INFO: IMEI packet received {"connection_id":173758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":173758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:48:20] local.INFO: TCP Data received {"connection_id":173758,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ed9f48012d181f400721b200004900d327..."} 
[2026-09-06 09:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ed9f48012d181f400721b200004900d327..."} 
[2026-09-06 09:48:20] local.INFO: Processing buffer {"connection_id":173758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ed9f48012d181f400721b200004900d327..."} 
[2026-09-06 09:48:20] local.INFO: Packet analysis {"connection_id":173758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ed"} 
[2026-09-06 09:48:20] local.INFO: Extracted packet for processing {"connection_id":173758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ed"} 
[2026-09-06 09:48:20] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899034624001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788668125000,"timestamp_ms":1788668125000,"timestamp_seconds":1788668125,"priority":1,"record_length":96,"hex_timestamp":"000001a074ed9f48"} 
[2026-09-06 09:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:48:20] 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-09-06 09:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:48:20] 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-09-06 09:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899034624001,"66":12319,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899034624001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:48:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:48:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899034624001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":173758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:48:20] local.INFO: GPS data processed {"connection_id":173758,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:48:20] local.INFO: Acknowledgment sent {"connection_id":173758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:48:22] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:48:22] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:48:22] local.INFO: IMEI packet received {"connection_id":173759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":173759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:48:23] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074eee380012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074eee380012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:48:23] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074eee380012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:48:23] local.INFO: Packet analysis {"connection_id":173759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ee"} 
[2026-09-06 09:48:23] local.INFO: Extracted packet for processing {"connection_id":173759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ee"} 
[2026-09-06 09:48:23] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899061248001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409585166336,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788668208000,"timestamp_ms":1788668208000,"timestamp_seconds":1788668208,"priority":1,"record_length":96,"hex_timestamp":"000001a074eee380"} 
[2026-09-06 09:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:48:23] 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-09-06 09: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":9,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-06 09:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898918144001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:23] local.WARNING: Large IO value detected {"io_id":24,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627231764480,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024158147073622016,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:23] local.WARNING: Large IO value detected {"io_id":67,"raw_value":-6917526825729785856,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":48454377974792192,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:23] local.WARNING: Large IO value detected {"io_id":166,"raw_value":2306174500099589585,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:23] local.INFO: IO Element Parsed {"io_data_count":19,"io_data_keys":[0,24,85,241,157,16,227,160,189,45,128,67,2,36,10,66,166,240,82],"length":375,"final_offset":505,"validated_count":19,"validation_warnings":[]} 
[2026-09-06 09:48:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144304480169492511,"timestamp_seconds":144304480169492.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 09:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:48:23] 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-09-06 09:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899061248001,"66":2318,"24":0,"85":15104,"16":128884271971565568,"45":9024017409585166336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899061248001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:48:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409585166336,"description":"Unknown IO ID 45"} 
[2026-09-06 09:48:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899061248001,"power":2318,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024017409585166336}} 
[2026-09-06 09:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":173759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:48:23] local.INFO: GPS data processed {"connection_id":173759,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:48:23] local.INFO: Acknowledgment sent {"connection_id":173759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:48:25] local.INFO: TCP Data received {"connection_id":173758,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074edf150012d181f400721b200004900d326..."} 
[2026-09-06 09:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074edf150012d181f400721b200004900d326..."} 
[2026-09-06 09:48:25] local.INFO: Processing buffer {"connection_id":173758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074edf150012d181f400721b200004900d326..."} 
[2026-09-06 09:48:25] local.INFO: Packet analysis {"connection_id":173758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ed"} 
[2026-09-06 09:48:25] local.INFO: Extracted packet for processing {"connection_id":173758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ed"} 
[2026-09-06 09:48:25] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899040000001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788668146000,"timestamp_ms":1788668146000,"timestamp_seconds":1788668146,"priority":1,"record_length":96,"hex_timestamp":"000001a074edf150"} 
[2026-09-06 09:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:48:25] 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-09-06 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 09:48:25] 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-09-06 09: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-09-06 09:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899040000001,"66":12385,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899040000001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:48:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:48:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899040000001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":173758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:48:25] local.INFO: GPS data processed {"connection_id":173758,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:48:25] local.INFO: Acknowledgment sent {"connection_id":173758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:48:29] local.INFO: TCP Data received {"connection_id":175074,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074ef4140012d41e10006696c80000501542c..."} 
[2026-09-06 09:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ef4140012d41e10006696c80000501542c..."} 
[2026-09-06 09:48:29] local.INFO: Processing buffer {"connection_id":175074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ef4140012d41e10006696c80000501542c..."} 
[2026-09-06 09:48:29] local.INFO: Packet analysis {"connection_id":175074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:48:29] local.INFO: Extracted packet for processing {"connection_id":175074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:48:29] local.INFO: GPS Element Parsed {"raw_longitude":759292160,"raw_latitude":107572352,"longitude_deg":75.929216,"latitude_deg":10.7572352,"altitude":5,"angle":340,"satellites":44,"speed":58,"hex_longitude":"2d41e100","hex_latitude":"06696c80","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899065600001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400371559933411328,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4750805053202661376,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:29] 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-09-06 09:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788668232000,"timestamp_ms":1788668232000,"timestamp_seconds":1788668232,"priority":1,"record_length":96,"hex_timestamp":"000001a074ef4140"} 
[2026-09-06 09:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:48: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-09-06 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:48: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-09-06 09:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899065600001,"66":27800,"97":206,"80":60416,"24":58,"16":400371559933411328,"45":4750805053202661376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-09-06 09:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899065600001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:48:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 09:48:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400371559933411328,"km_value":400371559933411.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4750805053202661376,"description":"Unknown IO ID 45"} 
[2026-09-06 09:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899065600001,"power":27800,"unknown_97":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4750805053202661376}} 
[2026-09-06 09:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":175074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:48:29] local.INFO: GPS data processed {"connection_id":175074,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:48:29] local.INFO: Acknowledgment sent {"connection_id":175074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:48:54] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074eee380012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074eee380012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:48:54] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074eee380012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:48:54] local.INFO: Packet analysis {"connection_id":173759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ee"} 
[2026-09-06 09:48:54] local.INFO: Extracted packet for processing {"connection_id":173759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ee"} 
[2026-09-06 09:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09:48: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-09-06 09:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899061248001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409585166336,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788668208000,"timestamp_ms":1788668208000,"timestamp_seconds":1788668208,"priority":1,"record_length":96,"hex_timestamp":"000001a074eee380"} 
[2026-09-06 09:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:48:54] 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-09-06 09:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-06 09:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898923008001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:54] local.WARNING: Large IO value detected {"io_id":24,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627231764480,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:54] local.WARNING: Large IO value detected {"io_id":67,"raw_value":-6917526825729785856,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:54] local.WARNING: Large IO value detected {"io_id":2,"raw_value":48453278412893952,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:54] local.WARNING: Large IO value detected {"io_id":166,"raw_value":2306174500099589585,"note":"Value kept but may cause issues"} 
[2026-09-06 09:48:54] local.INFO: IO Element Parsed {"io_data_count":21,"io_data_keys":[0,24,85,241,157,16,227,160,45,192,67,2,41,10,66,189,128,36,240,122,166],"length":375,"final_offset":505,"validated_count":21,"validation_warnings":[]} 
[2026-09-06 09:48:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144304480169492546,"timestamp_seconds":144304480169492.53,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 09:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:48:54] 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-09-06 09:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899061248001,"66":2318,"24":0,"85":15104,"16":128884271971565568,"45":9024017409585166336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899061248001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:48:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409585166336,"description":"Unknown IO ID 45"} 
[2026-09-06 09:48:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899061248001,"power":2318,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024017409585166336}} 
[2026-09-06 09:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":173759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:48:54] local.INFO: GPS data processed {"connection_id":173759,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:48:54] local.INFO: Acknowledgment sent {"connection_id":173759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:49:09] local.INFO: TCP Data received {"connection_id":172383,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:49:09] local.INFO: Processing buffer {"connection_id":172383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:49:09] local.INFO: IMEI packet received {"connection_id":172383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":172383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:49:12] local.INFO: TCP Data received {"connection_id":172383,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:49:12] local.INFO: Processing buffer {"connection_id":172383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:49:12] local.INFO: IMEI packet received {"connection_id":172383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":172383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:49:13] local.INFO: TCP Data received {"connection_id":172383,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ee4358012d181f400721b200004900d327..."} 
[2026-09-06 09:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ee4358012d181f400721b200004900d327..."} 
[2026-09-06 09:49:13] local.INFO: Processing buffer {"connection_id":172383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ee4358012d181f400721b200004900d327..."} 
[2026-09-06 09:49:13] local.INFO: Packet analysis {"connection_id":172383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ee"} 
[2026-09-06 09:49:13] local.INFO: Extracted packet for processing {"connection_id":172383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ee"} 
[2026-09-06 09:49:13] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899045376001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49: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-09-06 09:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788668167000,"timestamp_ms":1788668167000,"timestamp_seconds":1788668167,"priority":1,"record_length":96,"hex_timestamp":"000001a074ee4358"} 
[2026-09-06 09:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899045376001,"66":12385,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899045376001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:49:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:49:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899045376001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":172383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:49:13] local.INFO: GPS data processed {"connection_id":172383,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:49:13] local.INFO: Acknowledgment sent {"connection_id":172383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:49:17] local.INFO: TCP Data received {"connection_id":175075,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:49:17] local.INFO: Processing buffer {"connection_id":175075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:49:17] local.INFO: IMEI packet received {"connection_id":175075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":175075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:49:22] local.INFO: TCP Data received {"connection_id":175075,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:49:22] local.INFO: Processing buffer {"connection_id":175075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:49:22] local.INFO: IMEI packet received {"connection_id":175075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":175075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:49:22] local.INFO: TCP Data received {"connection_id":175075,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074eee380012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074eee380012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:49:22] local.INFO: Processing buffer {"connection_id":175075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074eee380012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:49:22] local.INFO: Packet analysis {"connection_id":175075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ee"} 
[2026-09-06 09:49:22] local.INFO: Extracted packet for processing {"connection_id":175075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ee"} 
[2026-09-06 09:49:22] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09:49: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-09-06 09:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899061248001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409585166336,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788668208000,"timestamp_ms":1788668208000,"timestamp_seconds":1788668208,"priority":1,"record_length":96,"hex_timestamp":"000001a074eee380"} 
[2026-09-06 09:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:49:22] 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-09-06 09:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-06 09:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898923008001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:22] local.WARNING: Large IO value detected {"io_id":24,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627231764480,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:22] local.WARNING: Large IO value detected {"io_id":67,"raw_value":-6917526825729785856,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:22] local.WARNING: Large IO value detected {"io_id":2,"raw_value":48453278412894208,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:22] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-8070119041362033199,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:22] local.INFO: IO Element Parsed {"io_data_count":19,"io_data_keys":[0,24,85,241,157,16,227,160,45,192,67,2,41,10,66,189,128,240,122],"length":375,"final_offset":505,"validated_count":19,"validation_warnings":[]} 
[2026-09-06 09:49:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144304480169492719,"timestamp_seconds":144304480169492.72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 09:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:49:22] 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-09-06 09:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899061248001,"66":2318,"24":0,"85":15104,"16":128884271971565568,"45":9024017409585166336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899061248001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:49:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409585166336,"description":"Unknown IO ID 45"} 
[2026-09-06 09:49:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899061248001,"power":2318,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024017409585166336}} 
[2026-09-06 09:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":175075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:49:23] local.INFO: GPS data processed {"connection_id":175075,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:49:23] local.INFO: Acknowledgment sent {"connection_id":175075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:49:23] local.INFO: TCP Data received {"connection_id":172609,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:49:23] local.INFO: Processing buffer {"connection_id":172609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:49:23] local.INFO: IMEI packet received {"connection_id":172609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":172609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:49:25] local.INFO: TCP Data received {"connection_id":172609,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:49:25] local.INFO: Processing buffer {"connection_id":172609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:49:25] local.INFO: IMEI packet received {"connection_id":172609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":172609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:49:26] local.INFO: TCP Data received {"connection_id":172609,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f02f88012d41f440066a9dc0000c00232d..."} 
[2026-09-06 09:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f02f88012d41f440066a9dc0000c00232d..."} 
[2026-09-06 09:49:26] local.INFO: Processing buffer {"connection_id":172609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f02f88012d41f440066a9dc0000c00232d..."} 
[2026-09-06 09:49:26] local.INFO: Packet analysis {"connection_id":172609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f0"} 
[2026-09-06 09:49:26] local.INFO: Extracted packet for processing {"connection_id":172609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f0"} 
[2026-09-06 09:49:26] local.INFO: GPS Element Parsed {"raw_longitude":759297088,"raw_latitude":107650496,"longitude_deg":75.9297088,"latitude_deg":10.7650496,"altitude":12,"angle":35,"satellites":45,"speed":53,"hex_longitude":"2d41f440","hex_latitude":"066a9dc0","is_valid_coordinates":true} 
[2026-09-06 09:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899081216001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400375644447309824,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4745879241130618880,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788668293000,"timestamp_ms":1788668293000,"timestamp_seconds":1788668293,"priority":1,"record_length":96,"hex_timestamp":"000001a074f02f88"} 
[2026-09-06 09:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:49: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-09-06 09:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899081216001,"66":27952,"96":206,"80":60416,"24":53,"16":400375644447309824,"45":4745879241130618880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,80,24,16,45]} 
[2026-09-06 09:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899081216001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:49:26] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-06 09:49:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400375644447309824,"km_value":400375644447309.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4745879241130618880,"description":"Unknown IO ID 45"} 
[2026-09-06 09:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899081216001,"power":27952,"unknown_96":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4745879241130618880}} 
[2026-09-06 09:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":172609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:49:26] local.INFO: GPS data processed {"connection_id":172609,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:49:26] local.INFO: Acknowledgment sent {"connection_id":172609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:49:44] local.INFO: TCP Data received {"connection_id":172383,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ee9560012d181f400721b200004900d328..."} 
[2026-09-06 09:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ee9560012d181f400721b200004900d328..."} 
[2026-09-06 09:49:44] local.INFO: Processing buffer {"connection_id":172383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ee9560012d181f400721b200004900d328..."} 
[2026-09-06 09:49:44] local.INFO: Packet analysis {"connection_id":172383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ee"} 
[2026-09-06 09:49:44] local.INFO: Extracted packet for processing {"connection_id":172383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ee"} 
[2026-09-06 09:49:44] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899050752001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49: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-09-06 09:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788668188000,"timestamp_ms":1788668188000,"timestamp_seconds":1788668188,"priority":1,"record_length":96,"hex_timestamp":"000001a074ee9560"} 
[2026-09-06 09:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:49:44] 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-09-06 09: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:49:44] 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-09-06 09: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-09-06 09:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":172383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":172383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":172383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899050752001,"66":12374,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899050752001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:49:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:49:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899050752001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":172383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:49:44] local.INFO: GPS data processed {"connection_id":172383,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:49:44] local.INFO: Acknowledgment sent {"connection_id":172383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:49:51] local.INFO: TCP Data received {"connection_id":172384,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:49:51] local.INFO: Processing buffer {"connection_id":172384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:49:51] local.INFO: IMEI packet received {"connection_id":172384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":172384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:49:53] local.INFO: TCP Data received {"connection_id":172384,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:49:53] local.INFO: Processing buffer {"connection_id":172384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:49:53] local.INFO: IMEI packet received {"connection_id":172384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":172384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:49:54] local.INFO: TCP Data received {"connection_id":175075,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074ef1648012d7d3c8005d143a0000200ac2a..."} 
[2026-09-06 09:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ef1648012d7d3c8005d143a0000200ac2a..."} 
[2026-09-06 09:49:54] local.INFO: Processing buffer {"connection_id":175075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ef1648012d7d3c8005d143a0000200ac2a..."} 
[2026-09-06 09:49:54] local.INFO: Packet analysis {"connection_id":175075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:49:54] local.INFO: Extracted packet for processing {"connection_id":175075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97600416,"longitude_deg":76.3182208,"latitude_deg":9.7600416,"altitude":2,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7d3c80","hex_latitude":"05d143a0","is_valid_coordinates":true} 
[2026-09-06 09:49: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-09-06 09:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899061248001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409585166336,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788668221000,"timestamp_ms":1788668221000,"timestamp_seconds":1788668221,"priority":1,"record_length":96,"hex_timestamp":"000001a074ef1648"} 
[2026-09-06 09:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:49:54] 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-09-06 09:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-06 09:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457898924544001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:54] local.WARNING: Large IO value detected {"io_id":24,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627231764480,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:54] local.WARNING: Large IO value detected {"io_id":67,"raw_value":-6917526825729785856,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:54] local.WARNING: Large IO value detected {"io_id":2,"raw_value":48453278412840704,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:54] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-8070119041362033199,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:54] local.INFO: IO Element Parsed {"io_data_count":19,"io_data_keys":[0,24,85,241,157,16,227,160,45,192,67,2,41,10,66,1,240,14,189],"length":375,"final_offset":505,"validated_count":19,"validation_warnings":[]} 
[2026-09-06 09:49:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144304480169492720,"timestamp_seconds":144304480169492.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 09:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:49:54] 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-09-06 09:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899061248001,"66":13037,"24":0,"85":15104,"16":128884271971565568,"45":9024017409585166336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899061248001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:49:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409585166336,"description":"Unknown IO ID 45"} 
[2026-09-06 09:49:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899061248001,"power":13037,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024017409585166336}} 
[2026-09-06 09:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":175075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:49:54] local.INFO: GPS data processed {"connection_id":175075,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:49:54] local.INFO: Acknowledgment sent {"connection_id":175075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:49:58] local.INFO: TCP Data received {"connection_id":172384,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:49:58] local.INFO: Processing buffer {"connection_id":172384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:49:58] local.INFO: IMEI packet received {"connection_id":172384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":172384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:49:59] local.INFO: TCP Data received {"connection_id":172384,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f04ae0012d4209c0066abb08000d00232d..."} 
[2026-09-06 09:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f04ae0012d4209c0066abb08000d00232d..."} 
[2026-09-06 09:49:59] local.INFO: Processing buffer {"connection_id":172384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f04ae0012d4209c0066abb08000d00232d..."} 
[2026-09-06 09:49:59] local.INFO: Packet analysis {"connection_id":172384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f0"} 
[2026-09-06 09:49:59] local.INFO: Extracted packet for processing {"connection_id":172384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f0"} 
[2026-09-06 09:49:59] local.INFO: GPS Element Parsed {"raw_longitude":759302592,"raw_latitude":107657992,"longitude_deg":75.9302592,"latitude_deg":10.7657992,"altitude":13,"angle":35,"satellites":45,"speed":52,"hex_longitude":"2d4209c0","hex_latitude":"066abb08","is_valid_coordinates":true} 
[2026-09-06 09:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899083008001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400376091123908608,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4752493903085420544,"note":"Value kept but may cause issues"} 
[2026-09-06 09:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788668300000,"timestamp_ms":1788668300000,"timestamp_seconds":1788668300,"priority":1,"record_length":96,"hex_timestamp":"000001a074f04ae0"} 
[2026-09-06 09:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:49: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-09-06 09:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-06 09:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899083008001,"66":27876,"96":206,"80":60416,"24":52,"16":400376091123908608,"45":4752493903085420544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,80,24,16,45]} 
[2026-09-06 09:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899083008001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:49:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-06 09:49:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400376091123908608,"km_value":400376091123908.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4752493903085420544,"description":"Unknown IO ID 45"} 
[2026-09-06 09:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899083008001,"power":27876,"unknown_96":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":4752493903085420544}} 
[2026-09-06 09:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":172384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:49:59] local.INFO: GPS data processed {"connection_id":172384,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:49:59] local.INFO: Acknowledgment sent {"connection_id":172384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:50:09] local.INFO: TCP Data received {"connection_id":172385,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:50:09] local.INFO: Processing buffer {"connection_id":172385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:50:09] local.INFO: IMEI packet received {"connection_id":172385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":172385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:50:14] local.INFO: TCP Data received {"connection_id":172385,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:50:14] local.INFO: Processing buffer {"connection_id":172385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:50:14] local.INFO: IMEI packet received {"connection_id":172385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":172385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:50:15] local.INFO: TCP Data received {"connection_id":172385,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074eee768012d181f400721b200004900d325..."} 
[2026-09-06 09:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074eee768012d181f400721b200004900d325..."} 
[2026-09-06 09:50:15] local.INFO: Processing buffer {"connection_id":172385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074eee768012d181f400721b200004900d325..."} 
[2026-09-06 09:50:15] local.INFO: Packet analysis {"connection_id":172385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ee"} 
[2026-09-06 09:50:15] local.INFO: Extracted packet for processing {"connection_id":172385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ee"} 
[2026-09-06 09:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899056128001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788668209000,"timestamp_ms":1788668209000,"timestamp_seconds":1788668209,"priority":1,"record_length":96,"hex_timestamp":"000001a074eee768"} 
[2026-09-06 09:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:50:15] 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-09-06 09:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-06 09:50:15] 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-09-06 09:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899056128001,"66":12374,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899056128001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:50:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:50:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899056128001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":172385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:50:15] local.INFO: GPS data processed {"connection_id":172385,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:50:15] local.INFO: Acknowledgment sent {"connection_id":172385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:50:17] local.INFO: TCP Data received {"connection_id":175076,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:50:17] local.INFO: Processing buffer {"connection_id":175076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:50:17] local.INFO: IMEI packet received {"connection_id":175076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":175076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:50:21] local.INFO: TCP Data received {"connection_id":175076,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:50:21] local.INFO: Processing buffer {"connection_id":175076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:50:21] local.INFO: IMEI packet received {"connection_id":175076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":175076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:50:22] local.INFO: TCP Data received {"connection_id":175076,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074ef1648012d7d3c8005d143a0000200ac2a..."} 
[2026-09-06 09:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ef1648012d7d3c8005d143a0000200ac2a..."} 
[2026-09-06 09:50:22] local.INFO: Processing buffer {"connection_id":175076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ef1648012d7d3c8005d143a0000200ac2a..."} 
[2026-09-06 09:50:22] local.INFO: Packet analysis {"connection_id":175076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:50:22] local.INFO: Extracted packet for processing {"connection_id":175076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:50:22] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97600416,"longitude_deg":76.3182208,"latitude_deg":9.7600416,"altitude":2,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7d3c80","hex_latitude":"05d143a0","is_valid_coordinates":true} 
[2026-09-06 09:50: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-09-06 09:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899064576001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788668221000,"timestamp_ms":1788668221000,"timestamp_seconds":1788668221,"priority":1,"record_length":96,"hex_timestamp":"000001a074ef1648"} 
[2026-09-06 09:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 09:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-06 09:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:50:22] 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-09-06 09:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899064576001,"66":13037,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899064576001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:50:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:50:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899064576001,"power":13037,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":175076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:50:22] local.INFO: GPS data processed {"connection_id":175076,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:50:22] local.INFO: Acknowledgment sent {"connection_id":175076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:50:30] local.INFO: TCP Data received {"connection_id":172384,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f16bf0012d4317c0066befa80006002a2c..."} 
[2026-09-06 09:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f16bf0012d4317c0066befa80006002a2c..."} 
[2026-09-06 09:50:30] local.INFO: Processing buffer {"connection_id":172384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f16bf0012d4317c0066befa80006002a2c..."} 
[2026-09-06 09:50:30] local.INFO: Packet analysis {"connection_id":172384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f1"} 
[2026-09-06 09:50:30] local.INFO: Extracted packet for processing {"connection_id":172384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f1"} 
[2026-09-06 09:50:30] local.INFO: GPS Element Parsed {"raw_longitude":759371712,"raw_latitude":107737000,"longitude_deg":75.9371712,"latitude_deg":10.7737,"altitude":6,"angle":42,"satellites":44,"speed":55,"hex_longitude":"2d4317c0","hex_latitude":"066befa8","is_valid_coordinates":true} 
[2026-09-06 09:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899101952001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400381150595383296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4827155140678250496,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:30] 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-09-06 09:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788668374000,"timestamp_ms":1788668374000,"timestamp_seconds":1788668374,"priority":1,"record_length":96,"hex_timestamp":"000001a074f16bf0"} 
[2026-09-06 09:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-06 09:50: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-09-06 09:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899101952001,"66":27800,"148":206,"80":60416,"24":55,"16":400381150595383296,"45":4827155140678250496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-09-06 09:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899101952001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:50:30] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-09-06 09:50:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400381150595383296,"km_value":400381150595383.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4827155140678250496,"description":"Unknown IO ID 45"} 
[2026-09-06 09:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899101952001,"power":27800,"unknown_148":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4827155140678250496}} 
[2026-09-06 09:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":172384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:50:30] local.INFO: GPS data processed {"connection_id":172384,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:50:30] local.INFO: Acknowledgment sent {"connection_id":172384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:50:40] local.INFO: TCP Data received {"connection_id":172610,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:50:40] local.INFO: Processing buffer {"connection_id":172610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:50:40] local.INFO: IMEI packet received {"connection_id":172610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 09:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":172610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:50:46] local.INFO: TCP Data received {"connection_id":172385,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ef3970012d181f400721b200004900d326..."} 
[2026-09-06 09:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ef3970012d181f400721b200004900d326..."} 
[2026-09-06 09:50:46] local.INFO: Processing buffer {"connection_id":172385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ef3970012d181f400721b200004900d326..."} 
[2026-09-06 09:50:46] local.INFO: Packet analysis {"connection_id":172385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:50:46] local.INFO: Extracted packet for processing {"connection_id":172385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:50:46] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899061504001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788668230000,"timestamp_ms":1788668230000,"timestamp_seconds":1788668230,"priority":1,"record_length":96,"hex_timestamp":"000001a074ef3970"} 
[2026-09-06 09:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:50:46] 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-09-06 09:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-06 09:50:46] 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-09-06 09:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899061504001,"66":12287,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899061504001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:50:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:50:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899061504001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":172385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:50:47] local.INFO: GPS data processed {"connection_id":172385,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:50:47] local.INFO: Acknowledgment sent {"connection_id":172385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:50:47] local.INFO: TCP Data received {"connection_id":173762,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:50:47] local.INFO: Processing buffer {"connection_id":173762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:50:47] local.INFO: IMEI packet received {"connection_id":173762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":173762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:50:48] local.INFO: TCP Data received {"connection_id":173762,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:50:48] local.INFO: Processing buffer {"connection_id":173762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:50:48] local.INFO: IMEI packet received {"connection_id":173762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":173762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:50:53] local.INFO: TCP Data received {"connection_id":173762,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:50:53] local.INFO: Processing buffer {"connection_id":173762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:50:53] local.INFO: IMEI packet received {"connection_id":173762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":173762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:50:53] local.INFO: TCP Data received {"connection_id":175076,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074ef2db8012d7d3c8005d143a0000200ac2a..."} 
[2026-09-06 09:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ef2db8012d7d3c8005d143a0000200ac2a..."} 
[2026-09-06 09:50:53] local.INFO: Processing buffer {"connection_id":175076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ef2db8012d7d3c8005d143a0000200ac2a..."} 
[2026-09-06 09:50:53] local.INFO: Packet analysis {"connection_id":175076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:50:53] local.INFO: Extracted packet for processing {"connection_id":175076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:50:53] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97600416,"longitude_deg":76.3182208,"latitude_deg":9.7600416,"altitude":2,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7d3c80","hex_latitude":"05d143a0","is_valid_coordinates":true} 
[2026-09-06 09:50:53] 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-09-06 09:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899064576001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788668227000,"timestamp_ms":1788668227000,"timestamp_seconds":1788668227,"priority":1,"record_length":96,"hex_timestamp":"000001a074ef2db8"} 
[2026-09-06 09:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:50:53] 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-09-06 09:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-06 09:50: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-09-06 09: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-09-06 09:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:50:53] 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-09-06 09:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899064576001,"66":13135,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899064576001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:50:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:50:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899064576001,"power":13135,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":175076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:50:53] local.INFO: GPS data processed {"connection_id":175076,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:50:53] local.INFO: Acknowledgment sent {"connection_id":175076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:50:54] local.INFO: TCP Data received {"connection_id":173762,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f18748012d433180066c0c70000700282b..."} 
[2026-09-06 09:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f18748012d433180066c0c70000700282b..."} 
[2026-09-06 09:50:54] local.INFO: Processing buffer {"connection_id":173762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f18748012d433180066c0c70000700282b..."} 
[2026-09-06 09:50:54] local.INFO: Packet analysis {"connection_id":173762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f1"} 
[2026-09-06 09:50:54] local.INFO: Extracted packet for processing {"connection_id":173762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f1"} 
[2026-09-06 09:50:54] local.INFO: GPS Element Parsed {"raw_longitude":759378304,"raw_latitude":107744368,"longitude_deg":75.9378304,"latitude_deg":10.7744368,"altitude":7,"angle":40,"satellites":43,"speed":55,"hex_longitude":"2d433180","hex_latitude":"066c0c70","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899103744001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400381623041785856,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4834543858818721792,"note":"Value kept but may cause issues"} 
[2026-09-06 09:50:54] 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-09-06 09:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788668381000,"timestamp_ms":1788668381000,"timestamp_seconds":1788668381,"priority":1,"record_length":96,"hex_timestamp":"000001a074f18748"} 
[2026-09-06 09:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:50: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-09-06 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 09:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899103744001,"66":27767,"148":206,"80":60416,"24":55,"16":400381623041785856,"45":4834543858818721792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-09-06 09:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899103744001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:50:54] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-09-06 09:50:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400381623041785856,"km_value":400381623041785.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4834543858818721792,"description":"Unknown IO ID 45"} 
[2026-09-06 09:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899103744001,"power":27767,"unknown_148":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4834543858818721792}} 
[2026-09-06 09:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":173762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:50:54] local.INFO: GPS data processed {"connection_id":173762,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:50:54] local.INFO: Acknowledgment sent {"connection_id":173762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:51:09] local.INFO: TCP Data received {"connection_id":175077,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:51:09] local.INFO: Processing buffer {"connection_id":175077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:51:09] local.INFO: IMEI packet received {"connection_id":175077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":175077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:51:14] local.INFO: TCP Data received {"connection_id":175077,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:51:14] local.INFO: Processing buffer {"connection_id":175077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:51:14] local.INFO: IMEI packet received {"connection_id":175077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":175077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:51:15] local.INFO: TCP Data received {"connection_id":175077,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ef8b78012d181f400721b200004900d325..."} 
[2026-09-06 09:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ef8b78012d181f400721b200004900d325..."} 
[2026-09-06 09:51:15] local.INFO: Processing buffer {"connection_id":175077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ef8b78012d181f400721b200004900d325..."} 
[2026-09-06 09:51:15] local.INFO: Packet analysis {"connection_id":175077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:51:15] local.INFO: Extracted packet for processing {"connection_id":175077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899066880001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788668251000,"timestamp_ms":1788668251000,"timestamp_seconds":1788668251,"priority":1,"record_length":96,"hex_timestamp":"000001a074ef8b78"} 
[2026-09-06 09:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 09:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899066880001,"66":12287,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899066880001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:51:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899066880001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":175077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:51:15] local.INFO: GPS data processed {"connection_id":175077,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:51:15] local.INFO: Acknowledgment sent {"connection_id":175077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:51:16] local.INFO: TCP Data received {"connection_id":175078,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:51:16] local.INFO: Processing buffer {"connection_id":175078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:51:16] local.INFO: IMEI packet received {"connection_id":175078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":175078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:51:22] local.INFO: TCP Data received {"connection_id":175078,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:51:22] local.INFO: Processing buffer {"connection_id":175078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:51:22] local.INFO: IMEI packet received {"connection_id":175078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":175078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:51:23] local.INFO: TCP Data received {"connection_id":175078,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074ef2db8012d7d3c8005d143a0000200ac2a..."} 
[2026-09-06 09:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ef2db8012d7d3c8005d143a0000200ac2a..."} 
[2026-09-06 09:51:23] local.INFO: Processing buffer {"connection_id":175078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ef2db8012d7d3c8005d143a0000200ac2a..."} 
[2026-09-06 09:51:23] local.INFO: Packet analysis {"connection_id":175078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:51:23] local.INFO: Extracted packet for processing {"connection_id":175078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:51:23] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97600416,"longitude_deg":76.3182208,"latitude_deg":9.7600416,"altitude":2,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7d3c80","hex_latitude":"05d143a0","is_valid_coordinates":true} 
[2026-09-06 09:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899066112001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788668227000,"timestamp_ms":1788668227000,"timestamp_seconds":1788668227,"priority":1,"record_length":96,"hex_timestamp":"000001a074ef2db8"} 
[2026-09-06 09:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:51:23] 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-09-06 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 09:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:51:23] 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-09-06 09:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899066112001,"66":13135,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899066112001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:51:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:51:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899066112001,"power":13135,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":175078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:51:23] local.INFO: GPS data processed {"connection_id":175078,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:51:23] local.INFO: Acknowledgment sent {"connection_id":175078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:51:26] local.INFO: TCP Data received {"connection_id":173762,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f1a2a0012d434ac0066c2948000800292b..."} 
[2026-09-06 09:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f1a2a0012d434ac0066c2948000800292b..."} 
[2026-09-06 09:51:26] local.INFO: Processing buffer {"connection_id":173762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f1a2a0012d434ac0066c2948000800292b..."} 
[2026-09-06 09:51:26] local.INFO: Packet analysis {"connection_id":173762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f1"} 
[2026-09-06 09:51:26] local.INFO: Extracted packet for processing {"connection_id":173762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f1"} 
[2026-09-06 09:51:26] local.INFO: GPS Element Parsed {"raw_longitude":759384768,"raw_latitude":107751752,"longitude_deg":75.9384768,"latitude_deg":10.7751752,"altitude":8,"angle":41,"satellites":43,"speed":55,"hex_longitude":"2d434ac0","hex_latitude":"066c2948","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899105536001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400382099783155712,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4841791839470907392,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:26] 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-09-06 09:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788668388000,"timestamp_ms":1788668388000,"timestamp_seconds":1788668388,"priority":1,"record_length":96,"hex_timestamp":"000001a074f1a2a0"} 
[2026-09-06 09:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:51: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-09-06 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:51:26] 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-09-06 09: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-09-06 09:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:51: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-09-06 09:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899105536001,"66":27843,"148":206,"80":60416,"24":55,"16":400382099783155712,"45":4841791839470907392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-09-06 09:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899105536001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:51:26] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-09-06 09:51:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400382099783155712,"km_value":400382099783155.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4841791839470907392,"description":"Unknown IO ID 45"} 
[2026-09-06 09:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899105536001,"power":27843,"unknown_148":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4841791839470907392}} 
[2026-09-06 09:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":173762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:51:26] local.INFO: GPS data processed {"connection_id":173762,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:51:26] local.INFO: Acknowledgment sent {"connection_id":173762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:51:46] local.INFO: TCP Data received {"connection_id":175077,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074efdd80012d181f400721b200004900d327..."} 
[2026-09-06 09:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074efdd80012d181f400721b200004900d327..."} 
[2026-09-06 09:51:46] local.INFO: Processing buffer {"connection_id":175077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074efdd80012d181f400721b200004900d327..."} 
[2026-09-06 09:51:46] local.INFO: Packet analysis {"connection_id":175077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:51:46] local.INFO: Extracted packet for processing {"connection_id":175077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899072256001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788668272000,"timestamp_ms":1788668272000,"timestamp_seconds":1788668272,"priority":1,"record_length":96,"hex_timestamp":"000001a074efdd80"} 
[2026-09-06 09:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:51:46] 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-09-06 09:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-06 09:51:46] 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-09-06 09:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899072256001,"66":12319,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899072256001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:51:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899072256001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":175077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:51:46] local.INFO: GPS data processed {"connection_id":175077,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:51:46] local.INFO: Acknowledgment sent {"connection_id":175077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:51:49] local.INFO: TCP Data received {"connection_id":172386,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:51:49] local.INFO: Processing buffer {"connection_id":172386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:51:49] local.INFO: IMEI packet received {"connection_id":172386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":172386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:51:51] local.INFO: TCP Data received {"connection_id":172386,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:51:51] local.INFO: Processing buffer {"connection_id":172386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:51:51] local.INFO: IMEI packet received {"connection_id":172386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":172386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:51:52] local.INFO: TCP Data received {"connection_id":172386,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f1bdf8012d436440066c4610000900292c..."} 
[2026-09-06 09:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f1bdf8012d436440066c4610000900292c..."} 
[2026-09-06 09:51:52] local.INFO: Processing buffer {"connection_id":172386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f1bdf8012d436440066c4610000900292c..."} 
[2026-09-06 09:51:52] local.INFO: Packet analysis {"connection_id":172386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f1"} 
[2026-09-06 09:51:52] local.INFO: Extracted packet for processing {"connection_id":172386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f1"} 
[2026-09-06 09:51:52] local.INFO: GPS Element Parsed {"raw_longitude":759391296,"raw_latitude":107759120,"longitude_deg":75.9391296,"latitude_deg":10.775912,"altitude":9,"angle":41,"satellites":44,"speed":55,"hex_longitude":"2d436440","hex_latitude":"066c4610","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899107328001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400382572229558272,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4848899082634741760,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:52] 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-09-06 09:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788668395000,"timestamp_ms":1788668395000,"timestamp_seconds":1788668395,"priority":1,"record_length":96,"hex_timestamp":"000001a074f1bdf8"} 
[2026-09-06 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-09-06 09:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-06 09:51:52] 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-09-06 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-09-06 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-09-06 09:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:51: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-09-06 09:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899107328001,"66":27745,"148":206,"80":60416,"24":55,"16":400382572229558272,"45":4848899082634741760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-09-06 09:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899107328001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:51:52] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-09-06 09:51:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400382572229558272,"km_value":400382572229558.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4848899082634741760,"description":"Unknown IO ID 45"} 
[2026-09-06 09:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899107328001,"power":27745,"unknown_148":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4848899082634741760}} 
[2026-09-06 09:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":172386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:51:52] local.INFO: GPS data processed {"connection_id":172386,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:51:52] local.INFO: Acknowledgment sent {"connection_id":172386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:51:53] local.INFO: TCP Data received {"connection_id":175078,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074ef2db8012d7d3c8005d143a0000200ac2a..."} 
[2026-09-06 09:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ef2db8012d7d3c8005d143a0000200ac2a..."} 
[2026-09-06 09:51:53] local.INFO: Processing buffer {"connection_id":175078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ef2db8012d7d3c8005d143a0000200ac2a..."} 
[2026-09-06 09:51:53] local.INFO: Packet analysis {"connection_id":175078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:51:53] local.INFO: Extracted packet for processing {"connection_id":175078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ef"} 
[2026-09-06 09:51:53] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97600416,"longitude_deg":76.3182208,"latitude_deg":9.7600416,"altitude":2,"angle":172,"satellites":42,"speed":0,"hex_longitude":"2d7d3c80","hex_latitude":"05d143a0","is_valid_coordinates":true} 
[2026-09-06 09:51:53] 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-09-06 09:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899066112001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:51:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788668227000,"timestamp_ms":1788668227000,"timestamp_seconds":1788668227,"priority":1,"record_length":96,"hex_timestamp":"000001a074ef2db8"} 
[2026-09-06 09:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:51:53] 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-09-06 09:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 09:51:53] 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-09-06 09:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:51:53] 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-09-06 09:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899066112001,"66":13135,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899066112001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:51:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:51:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899066112001,"power":13135,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":175078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:51:53] local.INFO: GPS data processed {"connection_id":175078,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:51:53] local.INFO: Acknowledgment sent {"connection_id":175078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:52:09] local.INFO: TCP Data received {"connection_id":173763,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:52:09] local.INFO: Processing buffer {"connection_id":173763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:52:09] local.INFO: IMEI packet received {"connection_id":173763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":173763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:52:14] local.INFO: TCP Data received {"connection_id":173763,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:52:14] local.INFO: Processing buffer {"connection_id":173763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:52:14] local.INFO: IMEI packet received {"connection_id":173763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":173763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:52:15] local.INFO: TCP Data received {"connection_id":173763,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074f02f88012d181f400721b200004900d324..."} 
[2026-09-06 09:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f02f88012d181f400721b200004900d324..."} 
[2026-09-06 09:52:15] local.INFO: Processing buffer {"connection_id":173763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f02f88012d181f400721b200004900d324..."} 
[2026-09-06 09:52:15] local.INFO: Packet analysis {"connection_id":173763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f0"} 
[2026-09-06 09:52:15] local.INFO: Extracted packet for processing {"connection_id":173763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f0"} 
[2026-09-06 09:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":36,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899077632001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788668293000,"timestamp_ms":1788668293000,"timestamp_seconds":1788668293,"priority":1,"record_length":96,"hex_timestamp":"000001a074f02f88"} 
[2026-09-06 09:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 09:52:15] 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-09-06 09:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899077632001,"66":12341,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899077632001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:52:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899077632001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":173763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:52:15] local.INFO: GPS data processed {"connection_id":173763,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:52:15] local.INFO: Acknowledgment sent {"connection_id":173763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:52:16] local.INFO: TCP Data received {"connection_id":173764,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:52:16] local.INFO: Processing buffer {"connection_id":173764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:52:16] local.INFO: IMEI packet received {"connection_id":173764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":173764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:52:22] local.INFO: TCP Data received {"connection_id":173764,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:52:22] local.INFO: Processing buffer {"connection_id":173764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:52:22] local.INFO: IMEI packet received {"connection_id":173764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":173764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:52:23] local.INFO: TCP Data received {"connection_id":173764,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:52:23] local.INFO: Processing buffer {"connection_id":173764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:52:23] local.INFO: Packet analysis {"connection_id":173764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:52:23] local.INFO: Extracted packet for processing {"connection_id":173764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:52:23] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899066112001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788668525000,"timestamp_ms":1788668525000,"timestamp_seconds":1788668525,"priority":1,"record_length":96,"hex_timestamp":"000001a074f3b9c8"} 
[2026-09-06 09:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:52:23] 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-09-06 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 09:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:52:23] 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-09-06 09:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899066112001,"66":2557,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899066112001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:52:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:52:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899066112001,"power":2557,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":173764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:52:23] local.INFO: GPS data processed {"connection_id":173764,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:52:23] local.INFO: Acknowledgment sent {"connection_id":173764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:52:24] local.INFO: TCP Data received {"connection_id":172386,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f32940012d449f00066dc0f0001100252b..."} 
[2026-09-06 09:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f32940012d449f00066dc0f0001100252b..."} 
[2026-09-06 09:52:24] local.INFO: Processing buffer {"connection_id":172386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f32940012d449f00066dc0f0001100252b..."} 
[2026-09-06 09:52:24] local.INFO: Packet analysis {"connection_id":172386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:52:24] local.INFO: Extracted packet for processing {"connection_id":172386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:52:24] local.INFO: GPS Element Parsed {"raw_longitude":759471872,"raw_latitude":107856112,"longitude_deg":75.9471872,"latitude_deg":10.7856112,"altitude":17,"angle":37,"satellites":43,"speed":53,"hex_longitude":"2d449f00","hex_latitude":"066dc0f0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899131136001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400388641018347520,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4938408125253591040,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788668488000,"timestamp_ms":1788668488000,"timestamp_seconds":1788668488,"priority":1,"record_length":96,"hex_timestamp":"000001a074f32940"} 
[2026-09-06 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-09-06 09:52: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-09-06 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-06 09:52: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-09-06 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-09-06 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-09-06 09:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:52: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-09-06 09:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899131136001,"66":27930,"146":206,"80":60416,"24":53,"16":400388641018347520,"45":4938408125253591040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-09-06 09:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899131136001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:52:24] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-06 09:52:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400388641018347520,"km_value":400388641018347.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4938408125253591040,"description":"Unknown IO ID 45"} 
[2026-09-06 09:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899131136001,"power":27930,"unknown_146":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4938408125253591040}} 
[2026-09-06 09:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":172386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:52:24] local.INFO: GPS data processed {"connection_id":172386,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:52:24] local.INFO: Acknowledgment sent {"connection_id":172386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:52:46] local.INFO: TCP Data received {"connection_id":173763,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074f08190012d181f400721b200004900d325..."} 
[2026-09-06 09:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f08190012d181f400721b200004900d325..."} 
[2026-09-06 09:52:46] local.INFO: Processing buffer {"connection_id":173763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f08190012d181f400721b200004900d325..."} 
[2026-09-06 09:52:46] local.INFO: Packet analysis {"connection_id":173763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f0"} 
[2026-09-06 09:52:46] local.INFO: Extracted packet for processing {"connection_id":173763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f0"} 
[2026-09-06 09:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899083008001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788668314000,"timestamp_ms":1788668314000,"timestamp_seconds":1788668314,"priority":1,"record_length":96,"hex_timestamp":"000001a074f08190"} 
[2026-09-06 09:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:52:46] 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-09-06 09:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-06 09:52:46] 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-09-06 09:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899083008001,"66":12298,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899083008001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:52:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:52:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899083008001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":173763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:52:46] local.INFO: GPS data processed {"connection_id":173763,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:52:46] local.INFO: Acknowledgment sent {"connection_id":173763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:52:48] local.INFO: TCP Data received {"connection_id":173765,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:52:48] local.INFO: Processing buffer {"connection_id":173765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:52:48] local.INFO: IMEI packet received {"connection_id":173765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":173765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:52:52] local.INFO: TCP Data received {"connection_id":173765,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:52:52] local.INFO: Processing buffer {"connection_id":173765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:52:52] local.INFO: IMEI packet received {"connection_id":173765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":173765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:52:53] local.INFO: TCP Data received {"connection_id":173765,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f34498012d44b600066dde40000f00262c..."} 
[2026-09-06 09:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f34498012d44b600066dde40000f00262c..."} 
[2026-09-06 09:52:53] local.INFO: Processing buffer {"connection_id":173765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f34498012d44b600066dde40000f00262c..."} 
[2026-09-06 09:52:53] local.INFO: Packet analysis {"connection_id":173765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:52:53] local.INFO: Extracted packet for processing {"connection_id":173765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:52:53] local.INFO: GPS Element Parsed {"raw_longitude":759477760,"raw_latitude":107863616,"longitude_deg":75.947776,"latitude_deg":10.7863616,"altitude":15,"angle":38,"satellites":44,"speed":55,"hex_longitude":"2d44b600","hex_latitude":"066dde40","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899132928001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400389100579848192,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4944670943487258624,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788668495000,"timestamp_ms":1788668495000,"timestamp_seconds":1788668495,"priority":1,"record_length":96,"hex_timestamp":"000001a074f34498"} 
[2026-09-06 09:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:52: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-09-06 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-06 09:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:52: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-09-06 09:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899132928001,"66":27767,"146":206,"80":60416,"24":55,"16":400389100579848192,"45":4944670943487258624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-09-06 09:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899132928001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:52:53] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-06 09:52:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-09-06 09:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400389100579848192,"km_value":400389100579848.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4944670943487258624,"description":"Unknown IO ID 45"} 
[2026-09-06 09:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899132928001,"power":27767,"unknown_146":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4944670943487258624}} 
[2026-09-06 09:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":173765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:52:53] local.INFO: GPS data processed {"connection_id":173765,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:52:53] local.INFO: Acknowledgment sent {"connection_id":173765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:52:54] local.INFO: TCP Data received {"connection_id":173764,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:52:54] local.INFO: Processing buffer {"connection_id":173764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:52:54] local.INFO: Packet analysis {"connection_id":173764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:52:54] local.INFO: Extracted packet for processing {"connection_id":173764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:52:54] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899066112001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:52:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788668525000,"timestamp_ms":1788668525000,"timestamp_seconds":1788668525,"priority":1,"record_length":96,"hex_timestamp":"000001a074f3b9c8"} 
[2026-09-06 09:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 09:52:54] 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-09-06 09: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-09-06 09:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:52:54] 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-09-06 09:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899066112001,"66":2557,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899066112001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:52:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:52:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899066112001,"power":2557,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":173764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:52:54] local.INFO: GPS data processed {"connection_id":173764,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:52:54] local.INFO: Acknowledgment sent {"connection_id":173764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:53:09] local.INFO: TCP Data received {"connection_id":175079,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:53:09] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:53:09] local.INFO: IMEI packet received {"connection_id":175079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":175079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:53:14] local.INFO: TCP Data received {"connection_id":175079,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:53:14] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:53:14] local.INFO: IMEI packet received {"connection_id":175079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":175079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:53:15] local.INFO: TCP Data received {"connection_id":175079,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074f0d398012d181f400721b200004900d327..."} 
[2026-09-06 09:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f0d398012d181f400721b200004900d327..."} 
[2026-09-06 09:53:15] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f0d398012d181f400721b200004900d327..."} 
[2026-09-06 09:53:15] local.INFO: Packet analysis {"connection_id":175079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f0"} 
[2026-09-06 09:53:15] local.INFO: Extracted packet for processing {"connection_id":175079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f0"} 
[2026-09-06 09:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899088384001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788668335000,"timestamp_ms":1788668335000,"timestamp_seconds":1788668335,"priority":1,"record_length":96,"hex_timestamp":"000001a074f0d398"} 
[2026-09-06 09:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 09:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:15] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185664,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:15] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-3386706919782612991,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:15] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8425745998112692255,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:15] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513887545571475667,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:15] local.WARNING: Large IO value detected {"io_id":73,"raw_value":59435200551059456,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:15] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832575,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:15] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244071219406,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:15] local.WARNING: Large IO value detected {"io_id":116,"raw_value":4013518849,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2986344521,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-06 09:53:15] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,123,160,47,45,64,178,73,36,10,66,221,39,139,1,240,255,227,116,33,4,113,205,231,31,37,239,48,2,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-06 09:53:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260436520635990016,"timestamp_seconds":5260436520635990.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 09:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899088384001,"66":12232,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899088384001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:53:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899088384001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":175079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:53:15] local.INFO: GPS data processed {"connection_id":175079,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:53:15] local.INFO: Acknowledgment sent {"connection_id":175079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:53:22] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:53:22] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:53:22] local.INFO: IMEI packet received {"connection_id":173766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":173766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:53:24] local.INFO: TCP Data received {"connection_id":173765,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f35ff0012d44cfc0066dfc40000d00292d..."} 
[2026-09-06 09:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f35ff0012d44cfc0066dfc40000d00292d..."} 
[2026-09-06 09:53:24] local.INFO: Processing buffer {"connection_id":173765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f35ff0012d44cfc0066dfc40000d00292d..."} 
[2026-09-06 09:53:24] local.INFO: Packet analysis {"connection_id":173765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:53:24] local.INFO: Extracted packet for processing {"connection_id":173765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:53:24] local.INFO: GPS Element Parsed {"raw_longitude":759484352,"raw_latitude":107871296,"longitude_deg":75.9484352,"latitude_deg":10.7871296,"altitude":13,"angle":41,"satellites":45,"speed":59,"hex_longitude":"2d44cfc0","hex_latitude":"066dfc40","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899134720001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400389585911152640,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4951144867953524736,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53: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-09-06 09:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788668502000,"timestamp_ms":1788668502000,"timestamp_seconds":1788668502,"priority":1,"record_length":96,"hex_timestamp":"000001a074f35ff0"} 
[2026-09-06 09:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:53: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-09-06 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:53: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-09-06 09: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-09-06 09:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:53: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-09-06 09:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899134720001,"66":27691,"241":206,"80":60160,"24":59,"16":400389585911152640,"45":4951144867953524736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-06 09:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899134720001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:53:24] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-06 09:53:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 09:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400389585911152640,"km_value":400389585911152.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4951144867953524736,"description":"Unknown IO ID 45"} 
[2026-09-06 09:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899134720001,"power":27691,"unknown_241":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":4951144867953524736}} 
[2026-09-06 09:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":173765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:53:24] local.INFO: GPS data processed {"connection_id":173765,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:53:24] local.INFO: Acknowledgment sent {"connection_id":173765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:53:26] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:53:26] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:53:26] local.INFO: IMEI packet received {"connection_id":173766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":173766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:53:27] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:53:27] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:53:27] local.INFO: Packet analysis {"connection_id":173766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:53:27] local.INFO: Extracted packet for processing {"connection_id":173766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899066112001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788668525000,"timestamp_ms":1788668525000,"timestamp_seconds":1788668525,"priority":1,"record_length":96,"hex_timestamp":"000001a074f3b9c8"} 
[2026-09-06 09:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 09:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:53:27] 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-09-06 09:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899066112001,"66":2557,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899066112001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:53:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899066112001,"power":2557,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":173766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:53:27] local.INFO: GPS data processed {"connection_id":173766,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:53:27] local.INFO: Acknowledgment sent {"connection_id":173766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:53:32] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:53:32] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:53:32] local.INFO: Packet analysis {"connection_id":173766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:53:32] local.INFO: Extracted packet for processing {"connection_id":173766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899066112001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788668525000,"timestamp_ms":1788668525000,"timestamp_seconds":1788668525,"priority":1,"record_length":96,"hex_timestamp":"000001a074f3b9c8"} 
[2026-09-06 09:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 09:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 09:53:32] 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-09-06 09:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:53:32] 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-09-06 09:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899066112001,"66":2557,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899066112001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:53:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899066112001,"power":2557,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":173766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:53:32] local.INFO: GPS data processed {"connection_id":173766,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:53:32] local.INFO: Acknowledgment sent {"connection_id":173766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:53:46] local.INFO: TCP Data received {"connection_id":175079,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074f125a0012d181f400721b200004900d326..."} 
[2026-09-06 09:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f125a0012d181f400721b200004900d326..."} 
[2026-09-06 09:53:46] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f125a0012d181f400721b200004900d326..."} 
[2026-09-06 09:53:46] local.INFO: Packet analysis {"connection_id":175079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f1"} 
[2026-09-06 09:53:46] local.INFO: Extracted packet for processing {"connection_id":175079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f1"} 
[2026-09-06 09:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899093760001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788668356000,"timestamp_ms":1788668356000,"timestamp_seconds":1788668356,"priority":1,"record_length":96,"hex_timestamp":"000001a074f125a0"} 
[2026-09-06 09:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 09:53:46] 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-09-06 09:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899093760001,"66":12341,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899093760001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:53:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899093760001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":175079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:53:46] local.INFO: GPS data processed {"connection_id":175079,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:53:46] local.INFO: Acknowledgment sent {"connection_id":175079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:53:48] local.INFO: TCP Data received {"connection_id":173767,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:53:48] local.INFO: Processing buffer {"connection_id":173767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:53:48] local.INFO: IMEI packet received {"connection_id":173767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":173767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:53:48] local.INFO: TCP Data received {"connection_id":173767,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:53:48] local.INFO: Processing buffer {"connection_id":173767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:53:48] local.INFO: IMEI packet received {"connection_id":173767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":173767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:53:53] local.INFO: TCP Data received {"connection_id":173767,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:53:53] local.INFO: Processing buffer {"connection_id":173767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:53:53] local.INFO: IMEI packet received {"connection_id":173767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":173767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:53:57] local.INFO: TCP Data received {"connection_id":173767,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f48100012d45c780066f4120000800242c..."} 
[2026-09-06 09:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f48100012d45c780066f4120000800242c..."} 
[2026-09-06 09:53:57] local.INFO: Processing buffer {"connection_id":173767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f48100012d45c780066f4120000800242c..."} 
[2026-09-06 09:53:57] local.INFO: Packet analysis {"connection_id":173767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f4"} 
[2026-09-06 09:53:57] local.INFO: Extracted packet for processing {"connection_id":173767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f4"} 
[2026-09-06 09:53:57] local.INFO: GPS Element Parsed {"raw_longitude":759547776,"raw_latitude":107954464,"longitude_deg":75.9547776,"latitude_deg":10.7954464,"altitude":8,"angle":36,"satellites":44,"speed":53,"hex_longitude":"2d45c780","hex_latitude":"066f4120","is_valid_coordinates":true} 
[2026-09-06 09:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899153664001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400394636792692736,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5022006193361709056,"note":"Value kept but may cause issues"} 
[2026-09-06 09:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788668576000,"timestamp_ms":1788668576000,"timestamp_seconds":1788668576,"priority":1,"record_length":96,"hex_timestamp":"000001a074f48100"} 
[2026-09-06 09:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:53: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-09-06 09:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 09:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:53: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-09-06 09:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899153664001,"66":27767,"69":206,"80":60160,"24":53,"16":400394636792692736,"45":5022006193361709056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-09-06 09:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899153664001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:53:57] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-06 09:53:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 09:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400394636792692736,"km_value":400394636792692.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5022006193361709056,"description":"Unknown IO ID 45"} 
[2026-09-06 09:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899153664001,"power":27767,"unknown_69":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5022006193361709056}} 
[2026-09-06 09:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":173767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:53:57] local.INFO: GPS data processed {"connection_id":173767,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:53:57] local.INFO: Acknowledgment sent {"connection_id":173767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:54:09] local.INFO: TCP Data received {"connection_id":173768,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:54:09] local.INFO: Processing buffer {"connection_id":173768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:54:09] local.INFO: IMEI packet received {"connection_id":173768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":173768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:54:14] local.INFO: TCP Data received {"connection_id":173768,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:54:14] local.INFO: Processing buffer {"connection_id":173768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:54:14] local.INFO: IMEI packet received {"connection_id":173768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":173768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:54:15] local.INFO: TCP Data received {"connection_id":173768,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074f177a8012d181f400721b200004900d326..."} 
[2026-09-06 09:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f177a8012d181f400721b200004900d326..."} 
[2026-09-06 09:54:15] local.INFO: Processing buffer {"connection_id":173768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f177a8012d181f400721b200004900d326..."} 
[2026-09-06 09:54:15] local.INFO: Packet analysis {"connection_id":173768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f1"} 
[2026-09-06 09:54:15] local.INFO: Extracted packet for processing {"connection_id":173768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f1"} 
[2026-09-06 09:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648768,"longitude_deg":75.6555584,"latitude_deg":11.9648768,"altitude":73,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b200","is_valid_coordinates":true} 
[2026-09-06 09:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899099136001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150536087863296,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562563072,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788668377000,"timestamp_ms":1788668377000,"timestamp_seconds":1788668377,"priority":1,"record_length":96,"hex_timestamp":"000001a074f177a8"} 
[2026-09-06 09:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-06 09:54:15] 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-09-06 09:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899099136001,"66":12319,"105":206,"83":41984,"24":0,"16":18150536087863296,"45":1738178380562563072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899099136001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:54:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:54:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150536087863296,"km_value":18150536087863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562563072,"description":"Unknown IO ID 45"} 
[2026-09-06 09:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899099136001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562563072}} 
[2026-09-06 09:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":173768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:54:15] local.INFO: GPS data processed {"connection_id":173768,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:54:15] local.INFO: Acknowledgment sent {"connection_id":173768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:54:17] local.INFO: TCP Data received {"connection_id":172611,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:54:17] local.INFO: Processing buffer {"connection_id":172611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:54:17] local.INFO: IMEI packet received {"connection_id":172611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":172611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:54:22] local.INFO: TCP Data received {"connection_id":172611,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:54:22] local.INFO: Processing buffer {"connection_id":172611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:54:22] local.INFO: IMEI packet received {"connection_id":172611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":172611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:54:23] local.INFO: TCP Data received {"connection_id":172611,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:54:23] local.INFO: Processing buffer {"connection_id":172611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:54:23] local.INFO: Packet analysis {"connection_id":172611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:54:23] local.INFO: Extracted packet for processing {"connection_id":172611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:54:23] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899066112001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788668525000,"timestamp_ms":1788668525000,"timestamp_seconds":1788668525,"priority":1,"record_length":96,"hex_timestamp":"000001a074f3b9c8"} 
[2026-09-06 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-09-06 09:54:23] 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-09-06 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 09:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 09:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:54:23] 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-09-06 09:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899066112001,"66":2557,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899066112001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:54:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:54:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899066112001,"power":2557,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":172611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:54:23] local.INFO: GPS data processed {"connection_id":172611,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:54:23] local.INFO: Acknowledgment sent {"connection_id":172611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:54:46] local.INFO: TCP Data received {"connection_id":173768,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074f557d8012d181fc00721af68004b002e27..."} 
[2026-09-06 09:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f557d8012d181fc00721af68004b002e27..."} 
[2026-09-06 09:54:46] local.INFO: Processing buffer {"connection_id":173768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f557d8012d181fc00721af68004b002e27..."} 
[2026-09-06 09:54:46] local.INFO: Packet analysis {"connection_id":173768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f5"} 
[2026-09-06 09:54:46] local.INFO: Extracted packet for processing {"connection_id":173768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f5"} 
[2026-09-06 09:54:46] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648104,"longitude_deg":75.6555712,"latitude_deg":11.9648104,"altitude":75,"angle":46,"satellites":39,"speed":9,"hex_longitude":"2d181fc0","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-06 09:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899169280001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150583332503552,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562368512,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788668631000,"timestamp_ms":1788668631000,"timestamp_seconds":1788668631,"priority":1,"record_length":96,"hex_timestamp":"000001a074f557d8"} 
[2026-09-06 09:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 09:54:46] 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-09-06 09:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899169280001,"66":13820,"105":206,"83":41984,"24":9,"16":18150583332503552,"45":1738178380562368512},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899169280001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:54:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150583332503552,"km_value":18150583332503.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562368512,"description":"Unknown IO ID 45"} 
[2026-09-06 09:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899169280001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738178380562368512}} 
[2026-09-06 09:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":173768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:54:46] local.INFO: GPS data processed {"connection_id":173768,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:54:46] local.INFO: Acknowledgment sent {"connection_id":173768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:54:47] local.INFO: TCP Data received {"connection_id":173767,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f49c58012d45de40066f5ef8000900252c..."} 
[2026-09-06 09:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f49c58012d45de40066f5ef8000900252c..."} 
[2026-09-06 09:54:47] local.INFO: Processing buffer {"connection_id":173767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f49c58012d45de40066f5ef8000900252c..."} 
[2026-09-06 09:54:47] local.INFO: Packet analysis {"connection_id":173767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f4"} 
[2026-09-06 09:54:47] local.INFO: Extracted packet for processing {"connection_id":173767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f4"} 
[2026-09-06 09:54:47] local.INFO: GPS Element Parsed {"raw_longitude":759553600,"raw_latitude":107962104,"longitude_deg":75.95536,"latitude_deg":10.7962104,"altitude":9,"angle":37,"satellites":44,"speed":55,"hex_longitude":"2d45de40","hex_latitude":"066f5ef8","is_valid_coordinates":true} 
[2026-09-06 09:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899155456001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400395100649160704,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5028128274107146240,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788668583000,"timestamp_ms":1788668583000,"timestamp_seconds":1788668583,"priority":1,"record_length":96,"hex_timestamp":"000001a074f49c58"} 
[2026-09-06 09:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:54: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-09-06 09:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899155456001,"66":27745,"69":206,"80":60160,"24":55,"16":400395100649160704,"45":5028128274107146240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-09-06 09:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899155456001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:54:47] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-06 09:54:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 09:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400395100649160704,"km_value":400395100649160.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5028128274107146240,"description":"Unknown IO ID 45"} 
[2026-09-06 09:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899155456001,"power":27745,"unknown_69":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5028128274107146240}} 
[2026-09-06 09:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":173767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:54:47] local.INFO: GPS data processed {"connection_id":173767,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:54:47] local.INFO: Acknowledgment sent {"connection_id":173767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:54:51] local.INFO: TCP Data received {"connection_id":172612,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:54:51] local.INFO: Processing buffer {"connection_id":172612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:54:51] local.INFO: IMEI packet received {"connection_id":172612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":172612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:54:53] local.INFO: TCP Data received {"connection_id":172612,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:54:53] local.INFO: Processing buffer {"connection_id":172612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:54:53] local.INFO: IMEI packet received {"connection_id":172612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":172612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:54:54] local.INFO: TCP Data received {"connection_id":172611,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:54:54] local.INFO: Processing buffer {"connection_id":172611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:54:54] local.INFO: Packet analysis {"connection_id":172611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:54:54] local.INFO: Extracted packet for processing {"connection_id":172611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899066112001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788668525000,"timestamp_ms":1788668525000,"timestamp_seconds":1788668525,"priority":1,"record_length":96,"hex_timestamp":"000001a074f3b9c8"} 
[2026-09-06 09:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 09:54:54] 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-09-06 09: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-09-06 09:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:54:54] 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-09-06 09:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899066112001,"66":2557,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899066112001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:54:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:54:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899066112001,"power":2557,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":172611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:54:54] local.INFO: GPS data processed {"connection_id":172611,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:54:54] local.INFO: Acknowledgment sent {"connection_id":172611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:54:58] local.INFO: TCP Data received {"connection_id":172612,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:54:58] local.INFO: Processing buffer {"connection_id":172612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:54:58] local.INFO: IMEI packet received {"connection_id":172612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":172612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:54:59] local.INFO: TCP Data received {"connection_id":172612,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f4b7b0012d45f680066f7cd00009002a2e..."} 
[2026-09-06 09:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f4b7b0012d45f680066f7cd00009002a2e..."} 
[2026-09-06 09:54:59] local.INFO: Processing buffer {"connection_id":172612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f4b7b0012d45f680066f7cd00009002a2e..."} 
[2026-09-06 09:54:59] local.INFO: Packet analysis {"connection_id":172612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f4"} 
[2026-09-06 09:54:59] local.INFO: Extracted packet for processing {"connection_id":172612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f4"} 
[2026-09-06 09:54:59] local.INFO: GPS Element Parsed {"raw_longitude":759559808,"raw_latitude":107969744,"longitude_deg":75.9559808,"latitude_deg":10.7969744,"altitude":9,"angle":42,"satellites":46,"speed":55,"hex_longitude":"2d45f680","hex_latitude":"066f7cd0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899157248001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400395573095563264,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5034531829829269504,"note":"Value kept but may cause issues"} 
[2026-09-06 09:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788668590000,"timestamp_ms":1788668590000,"timestamp_seconds":1788668590,"priority":1,"record_length":96,"hex_timestamp":"000001a074f4b7b0"} 
[2026-09-06 09:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09: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-09-06 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 09:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899157248001,"66":27876,"69":206,"80":60160,"24":55,"16":400395573095563264,"45":5034531829829269504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-09-06 09:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899157248001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:54:59] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-06 09:54:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 09:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400395573095563264,"km_value":400395573095563.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5034531829829269504,"description":"Unknown IO ID 45"} 
[2026-09-06 09:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899157248001,"power":27876,"unknown_69":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5034531829829269504}} 
[2026-09-06 09:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":172612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:54:59] local.INFO: GPS data processed {"connection_id":172612,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:54:59] local.INFO: Acknowledgment sent {"connection_id":172612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:55:12] local.INFO: TCP Data received {"connection_id":172387,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:55:12] local.INFO: Processing buffer {"connection_id":172387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:55:12] local.INFO: IMEI packet received {"connection_id":172387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":172387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:55:14] local.INFO: TCP Data received {"connection_id":172387,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:55:14] local.INFO: Processing buffer {"connection_id":172387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:55:14] local.INFO: IMEI packet received {"connection_id":172387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":172387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:55:17] local.INFO: TCP Data received {"connection_id":173770,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:55:17] local.INFO: Processing buffer {"connection_id":173770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:55:17] local.INFO: IMEI packet received {"connection_id":173770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":173770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:55:19] local.INFO: TCP Data received {"connection_id":172387,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:55:19] local.INFO: Processing buffer {"connection_id":172387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:55:19] local.INFO: IMEI packet received {"connection_id":172387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":172387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:55:20] local.INFO: TCP Data received {"connection_id":172387,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074f55bc0012d1820c00721b040004b002127..."} 
[2026-09-06 09:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f55bc0012d1820c00721b040004b002127..."} 
[2026-09-06 09:55:20] local.INFO: Processing buffer {"connection_id":172387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f55bc0012d1820c00721b040004b002127..."} 
[2026-09-06 09:55:20] local.INFO: Packet analysis {"connection_id":172387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f5"} 
[2026-09-06 09:55:20] local.INFO: Extracted packet for processing {"connection_id":172387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f5"} 
[2026-09-06 09:55:20] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648320,"longitude_deg":75.6555968,"latitude_deg":11.964832,"altitude":75,"angle":33,"satellites":39,"speed":13,"hex_longitude":"2d1820c0","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-09-06 09:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899169536001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18150600512372736,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050748416,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788668632000,"timestamp_ms":1788668632000,"timestamp_seconds":1788668632,"priority":1,"record_length":96,"hex_timestamp":"000001a074f55bc0"} 
[2026-09-06 09:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:55:20] 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-09-06 09:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 09:55:20] 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-09-06 09:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899169536001,"66":13993,"105":206,"83":41984,"24":13,"16":18150600512372736,"45":1738319118050748416},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899169536001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:55:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:55:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18150600512372736,"km_value":18150600512372.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050748416,"description":"Unknown IO ID 45"} 
[2026-09-06 09:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899169536001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1738319118050748416}} 
[2026-09-06 09:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":172387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:55:20] local.INFO: GPS data processed {"connection_id":172387,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:55:20] local.INFO: Acknowledgment sent {"connection_id":172387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:55:21] local.INFO: TCP Data received {"connection_id":172387,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074f59270012d1834000721cf58004c001f27..."} 
[2026-09-06 09:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f59270012d1834000721cf58004c001f27..."} 
[2026-09-06 09:55:21] local.INFO: Processing buffer {"connection_id":172387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f59270012d1834000721cf58004c001f27..."} 
[2026-09-06 09:55:21] local.INFO: Packet analysis {"connection_id":172387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f5"} 
[2026-09-06 09:55:21] local.INFO: Extracted packet for processing {"connection_id":172387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f5"} 
[2026-09-06 09:55:21] local.INFO: GPS Element Parsed {"raw_longitude":756560896,"raw_latitude":119656280,"longitude_deg":75.6560896,"latitude_deg":11.965628,"altitude":76,"angle":31,"satellites":39,"speed":34,"hex_longitude":"2d183400","hex_latitude":"0721cf58","is_valid_coordinates":true} 
[2026-09-06 09:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899169792001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18151051483938816,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027514368,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788668646000,"timestamp_ms":1788668646000,"timestamp_seconds":1788668646,"priority":1,"record_length":96,"hex_timestamp":"000001a074f59270"} 
[2026-09-06 09:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:55:21] 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-09-06 09:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 09:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899169792001,"66":14070,"105":206,"83":41984,"24":34,"16":18151051483938816,"45":1738600593027514368},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899169792001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:55:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:55:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18151051483938816,"km_value":18151051483938.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027514368,"description":"Unknown IO ID 45"} 
[2026-09-06 09:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899169792001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1738600593027514368}} 
[2026-09-06 09:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":172387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:55:21] local.INFO: GPS data processed {"connection_id":172387,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:55:21] local.INFO: Acknowledgment sent {"connection_id":172387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:55:22] local.INFO: TCP Data received {"connection_id":173770,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:55:22] local.INFO: Processing buffer {"connection_id":173770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:55:22] local.INFO: IMEI packet received {"connection_id":173770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":173770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:55:23] local.INFO: TCP Data received {"connection_id":173770,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:55:23] local.INFO: Processing buffer {"connection_id":173770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:55:23] local.INFO: Packet analysis {"connection_id":173770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:55:23] local.INFO: Extracted packet for processing {"connection_id":173770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:55:23] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899066112001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788668525000,"timestamp_ms":1788668525000,"timestamp_seconds":1788668525,"priority":1,"record_length":96,"hex_timestamp":"000001a074f3b9c8"} 
[2026-09-06 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-09-06 09:55:23] 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-09-06 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 09:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 09:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:55:23] 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-09-06 09:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899066112001,"66":2557,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899066112001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:55:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:55:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899066112001,"power":2557,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":173770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:55:23] local.INFO: GPS data processed {"connection_id":173770,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:55:23] local.INFO: Acknowledgment sent {"connection_id":173770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:55:29] local.INFO: TCP Data received {"connection_id":172612,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f5ffd0012d4721000670cf40000800292e..."} 
[2026-09-06 09:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f5ffd0012d4721000670cf40000800292e..."} 
[2026-09-06 09:55:29] local.INFO: Processing buffer {"connection_id":172612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f5ffd0012d4721000670cf40000800292e..."} 
[2026-09-06 09:55:29] local.INFO: Packet analysis {"connection_id":172612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f5"} 
[2026-09-06 09:55:29] local.INFO: Extracted packet for processing {"connection_id":172612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f5"} 
[2026-09-06 09:55:29] local.INFO: GPS Element Parsed {"raw_longitude":759636224,"raw_latitude":108056384,"longitude_deg":75.9636224,"latitude_deg":10.8056384,"altitude":8,"angle":41,"satellites":46,"speed":51,"hex_longitude":"2d472100","hex_latitude":"0670cf40","is_valid_coordinates":true} 
[2026-09-06 09:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899178752001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400401152258080768,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5118622479143847936,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:29] 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-09-06 09:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788668674000,"timestamp_ms":1788668674000,"timestamp_seconds":1788668674,"priority":1,"record_length":96,"hex_timestamp":"000001a074f5ffd0"} 
[2026-09-06 09:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:55: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-09-06 09:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 09:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:55:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:55: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-09-06 09:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899178752001,"66":27876,"83":206,"80":60160,"24":51,"16":400401152258080768,"45":5118622479143847936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-06 09:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899178752001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:55:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-06 09:55:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 09:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400401152258080768,"km_value":400401152258080.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5118622479143847936,"description":"Unknown IO ID 45"} 
[2026-09-06 09:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899178752001,"power":27876,"unknown_83":206,"unknown_80":60160,"ignition":51,"odometer":null,"unknown_45":5118622479143847936}} 
[2026-09-06 09:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":172612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:55:30] local.INFO: GPS data processed {"connection_id":172612,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:55:30] local.INFO: Acknowledgment sent {"connection_id":172612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:55:53] local.INFO: TCP Data received {"connection_id":172387,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074f5b980012d1848800721ede8004e002124..."} 
[2026-09-06 09:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f5b980012d1848800721ede8004e002124..."} 
[2026-09-06 09:55:53] local.INFO: Processing buffer {"connection_id":172387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f5b980012d1848800721ede8004e002124..."} 
[2026-09-06 09:55:53] local.INFO: Packet analysis {"connection_id":172387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f5"} 
[2026-09-06 09:55:53] local.INFO: Extracted packet for processing {"connection_id":172387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f5"} 
[2026-09-06 09:55:53] local.INFO: GPS Element Parsed {"raw_longitude":756566144,"raw_latitude":119664104,"longitude_deg":75.6566144,"latitude_deg":11.9664104,"altitude":78,"angle":33,"satellites":36,"speed":39,"hex_longitude":"2d184880","hex_latitude":"0721ede8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899173376001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18151506750472192,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744018986331232256,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788668656000,"timestamp_ms":1788668656000,"timestamp_seconds":1788668656,"priority":1,"record_length":96,"hex_timestamp":"000001a074f5b980"} 
[2026-09-06 09:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-06 09:55:53] 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-09-06 09: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-09-06 09:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899173376001,"66":14048,"105":206,"83":41984,"24":39,"16":18151506750472192,"45":1744018986331232256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899173376001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:55:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:55:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18151506750472192,"km_value":18151506750472.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744018986331232256,"description":"Unknown IO ID 45"} 
[2026-09-06 09:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899173376001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1744018986331232256}} 
[2026-09-06 09:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":172387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:55:53] local.INFO: GPS data processed {"connection_id":172387,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:55:53] local.INFO: Acknowledgment sent {"connection_id":172387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:55:54] local.INFO: TCP Data received {"connection_id":173770,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:55:54] local.INFO: Processing buffer {"connection_id":173770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:55:54] local.INFO: Packet analysis {"connection_id":173770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:55:54] local.INFO: Extracted packet for processing {"connection_id":173770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:55:54] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899066112001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:55:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788668525000,"timestamp_ms":1788668525000,"timestamp_seconds":1788668525,"priority":1,"record_length":96,"hex_timestamp":"000001a074f3b9c8"} 
[2026-09-06 09:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 09:55:54] 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-09-06 09: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-09-06 09:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:55:54] 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-09-06 09:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899066112001,"66":2557,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899066112001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:55:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:55:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899066112001,"power":2557,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":173770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:55:54] local.INFO: GPS data processed {"connection_id":173770,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:55:54] local.INFO: Acknowledgment sent {"connection_id":173770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:56:03] local.INFO: TCP Data received {"connection_id":172613,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:03] local.INFO: Processing buffer {"connection_id":172613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:03] local.INFO: IMEI packet received {"connection_id":172613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":172613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:56:03] local.INFO: TCP Data received {"connection_id":172613,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:03] local.INFO: Processing buffer {"connection_id":172613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:03] local.INFO: IMEI packet received {"connection_id":172613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":172613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:56:08] local.INFO: TCP Data received {"connection_id":172613,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:08] local.INFO: Processing buffer {"connection_id":172613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:08] local.INFO: IMEI packet received {"connection_id":172613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":172613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:56:09] local.INFO: TCP Data received {"connection_id":172613,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f61f10012d473b400670ec380008002a2d..."} 
[2026-09-06 09:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f61f10012d473b400670ec380008002a2d..."} 
[2026-09-06 09:56:09] local.INFO: Processing buffer {"connection_id":172613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f61f10012d473b400670ec380008002a2d..."} 
[2026-09-06 09:56:09] local.INFO: Packet analysis {"connection_id":172613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f6"} 
[2026-09-06 09:56:09] local.INFO: Extracted packet for processing {"connection_id":172613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f6"} 
[2026-09-06 09:56:09] local.INFO: GPS Element Parsed {"raw_longitude":759642944,"raw_latitude":108063800,"longitude_deg":75.9642944,"latitude_deg":10.80638,"altitude":8,"angle":42,"satellites":45,"speed":47,"hex_longitude":"2d473b40","hex_latitude":"0670ec38","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899180544001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400401633294417920,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5125377878586769408,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:09] 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-09-06 09:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788668682000,"timestamp_ms":1788668682000,"timestamp_seconds":1788668682,"priority":1,"record_length":96,"hex_timestamp":"000001a074f61f10"} 
[2026-09-06 09:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:56: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-09-06 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 09:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899180544001,"66":27800,"83":206,"80":60160,"24":47,"16":400401633294417920,"45":5125377878586769408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-06 09:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899180544001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:56:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-06 09:56:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 09:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400401633294417920,"km_value":400401633294417.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5125377878586769408,"description":"Unknown IO ID 45"} 
[2026-09-06 09:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899180544001,"power":27800,"unknown_83":206,"unknown_80":60160,"ignition":47,"odometer":null,"unknown_45":5125377878586769408}} 
[2026-09-06 09:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":172613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:56:09] local.INFO: GPS data processed {"connection_id":172613,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:56:09] local.INFO: Acknowledgment sent {"connection_id":172613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:56:09] local.INFO: TCP Data received {"connection_id":175080,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:56:09] local.INFO: Processing buffer {"connection_id":175080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:56:09] local.INFO: IMEI packet received {"connection_id":175080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":175080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:56:14] local.INFO: TCP Data received {"connection_id":175080,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:56:14] local.INFO: Processing buffer {"connection_id":175080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:56:14] local.INFO: IMEI packet received {"connection_id":175080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":175080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:56:15] local.INFO: TCP Data received {"connection_id":175080,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074f5dca8012d185cc007220b780052002026..."} 
[2026-09-06 09:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f5dca8012d185cc007220b780052002026..."} 
[2026-09-06 09:56:15] local.INFO: Processing buffer {"connection_id":175080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f5dca8012d185cc007220b780052002026..."} 
[2026-09-06 09:56:15] local.INFO: Packet analysis {"connection_id":175080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f5"} 
[2026-09-06 09:56:15] local.INFO: Extracted packet for processing {"connection_id":175080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f5"} 
[2026-09-06 09:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756571328,"raw_latitude":119671672,"longitude_deg":75.6571328,"latitude_deg":11.9671672,"altitude":82,"angle":32,"satellites":38,"speed":40,"hex_longitude":"2d185cc0","hex_latitude":"07220b78","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899175936001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18151944837136384,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749789223355803648,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788668665000,"timestamp_ms":1788668665000,"timestamp_seconds":1788668665,"priority":1,"record_length":96,"hex_timestamp":"000001a074f5dca8"} 
[2026-09-06 09:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:56:15] 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-09-06 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-06 09:56:15] 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-09-06 09: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-09-06 09:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899175936001,"66":14048,"105":206,"83":41984,"24":40,"16":18151944837136384,"45":1749789223355803648},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899175936001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:56:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18151944837136384,"km_value":18151944837136.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749789223355803648,"description":"Unknown IO ID 45"} 
[2026-09-06 09:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899175936001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1749789223355803648}} 
[2026-09-06 09:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":175080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:56:15] local.INFO: GPS data processed {"connection_id":175080,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:56:15] local.INFO: Acknowledgment sent {"connection_id":175080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:56:16] local.INFO: TCP Data received {"connection_id":175081,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:56:16] local.INFO: Processing buffer {"connection_id":175081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:56:16] local.INFO: IMEI packet received {"connection_id":175081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":175081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:56:22] local.INFO: TCP Data received {"connection_id":175081,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:56:22] local.INFO: Processing buffer {"connection_id":175081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:56:22] local.INFO: IMEI packet received {"connection_id":175081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":175081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:56:22] local.INFO: TCP Data received {"connection_id":175081,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:56:23] local.INFO: Processing buffer {"connection_id":175081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:56:23] local.INFO: Packet analysis {"connection_id":175081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:56:23] local.INFO: Extracted packet for processing {"connection_id":175081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:56:23] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899066112001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788668525000,"timestamp_ms":1788668525000,"timestamp_seconds":1788668525,"priority":1,"record_length":96,"hex_timestamp":"000001a074f3b9c8"} 
[2026-09-06 09:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:56:23] 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-09-06 09:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 09:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:56:23] 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-09-06 09:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899066112001,"66":2557,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899066112001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:56:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:56:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899066112001,"power":2557,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":175081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:56:23] local.INFO: GPS data processed {"connection_id":175081,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:56:23] local.INFO: Acknowledgment sent {"connection_id":175081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:56:25] local.INFO: TCP Data received {"connection_id":173769,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:56:25] local.INFO: Processing buffer {"connection_id":173769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 09:56:25] local.INFO: IMEI packet received {"connection_id":173769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 09:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":173769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:56:47] local.INFO: TCP Data received {"connection_id":175080,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074f5ffd0012d187080072229200055002125..."} 
[2026-09-06 09:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f5ffd0012d187080072229200055002125..."} 
[2026-09-06 09:56:47] local.INFO: Processing buffer {"connection_id":175080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f5ffd0012d187080072229200055002125..."} 
[2026-09-06 09:56:47] local.INFO: Packet analysis {"connection_id":175080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f5"} 
[2026-09-06 09:56:47] local.INFO: Extracted packet for processing {"connection_id":175080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f5"} 
[2026-09-06 09:56:47] local.INFO: GPS Element Parsed {"raw_longitude":756576384,"raw_latitude":119679264,"longitude_deg":75.6576384,"latitude_deg":11.9679264,"altitude":85,"angle":33,"satellites":37,"speed":40,"hex_longitude":"2d187080","hex_latitude":"07222920","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899178240001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18152387218767872,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755489091636131840,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 09:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788668674000,"timestamp_ms":1788668674000,"timestamp_seconds":1788668674,"priority":1,"record_length":96,"hex_timestamp":"000001a074f5ffd0"} 
[2026-09-06 09:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-06 09:56:47] 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-09-06 09: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-09-06 09:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 09:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 09:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 09:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899178240001,"66":13863,"105":206,"83":41984,"24":40,"16":18152387218767872,"45":1755489091636131840},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 09:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 09:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 09:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899178240001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:56:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 09:56:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 09:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18152387218767872,"km_value":18152387218767.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755489091636131840,"description":"Unknown IO ID 45"} 
[2026-09-06 09:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899178240001,"power":13863,"unknown_105":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1755489091636131840}} 
[2026-09-06 09:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":175080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:56:47] local.INFO: GPS data processed {"connection_id":175080,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:56:47] local.INFO: Acknowledgment sent {"connection_id":175080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:56:52] local.INFO: TCP Data received {"connection_id":172388,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:52] local.INFO: Processing buffer {"connection_id":172388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:52] local.INFO: IMEI packet received {"connection_id":172388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":172388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:56:53] local.INFO: TCP Data received {"connection_id":172388,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:53] local.INFO: Processing buffer {"connection_id":172388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:53] local.INFO: IMEI packet received {"connection_id":172388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":172388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:56:54] local.INFO: TCP Data received {"connection_id":175081,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:56:54] local.INFO: Processing buffer {"connection_id":175081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f3b9c8012d7d3bc005d143b8000200ac28..."} 
[2026-09-06 09:56:54] local.INFO: Packet analysis {"connection_id":175081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:56:54] local.INFO: Extracted packet for processing {"connection_id":175081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f3"} 
[2026-09-06 09:56:54] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899066112001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515817693184,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788668525000,"timestamp_ms":1788668525000,"timestamp_seconds":1788668525,"priority":1,"record_length":96,"hex_timestamp":"000001a074f3b9c8"} 
[2026-09-06 09:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 09:56:54] 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-09-06 09: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-09-06 09:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:56:54] 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-09-06 09:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899066112001,"66":2557,"24":0,"85":15104,"16":128884271971565568,"45":9024228515817693184},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899066112001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:56:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515817693184,"description":"Unknown IO ID 45"} 
[2026-09-06 09:56:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899066112001,"power":2557,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024228515817693184}} 
[2026-09-06 09:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":175081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:56:54] local.INFO: GPS data processed {"connection_id":175081,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:56:54] local.INFO: Acknowledgment sent {"connection_id":175081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:56:58] local.INFO: TCP Data received {"connection_id":172388,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:58] local.INFO: Processing buffer {"connection_id":172388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:56:58] local.INFO: IMEI packet received {"connection_id":172388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":172388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:56:59] local.INFO: TCP Data received {"connection_id":172388,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f74fc0012d48588006721cc0000e00282d..."} 
[2026-09-06 09:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f74fc0012d48588006721cc0000e00282d..."} 
[2026-09-06 09:56:59] local.INFO: Processing buffer {"connection_id":172388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f74fc0012d48588006721cc0000e00282d..."} 
[2026-09-06 09:56:59] local.INFO: Packet analysis {"connection_id":172388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f7"} 
[2026-09-06 09:56:59] local.INFO: Extracted packet for processing {"connection_id":172388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f7"} 
[2026-09-06 09:56:59] local.INFO: GPS Element Parsed {"raw_longitude":759715968,"raw_latitude":108141760,"longitude_deg":75.9715968,"latitude_deg":10.814176,"altitude":14,"angle":40,"satellites":45,"speed":53,"hex_longitude":"2d485880","hex_latitude":"06721cc0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899200768001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400406770075303936,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5206231565666932736,"note":"Value kept but may cause issues"} 
[2026-09-06 09:56:59] 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-09-06 09:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788668760000,"timestamp_ms":1788668760000,"timestamp_seconds":1788668760,"priority":1,"record_length":96,"hex_timestamp":"000001a074f74fc0"} 
[2026-09-06 09:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":119,"data_length":795,"current_offset":136} 
[2026-09-06 09:56:59] 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-09-06 09: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-09-06 09:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899200768001,"66":27821,"83":206,"80":60160,"24":53,"16":400406770075303936,"45":5206231565666932736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-06 09:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899200768001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:56:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-06 09:56:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 09:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400406770075303936,"km_value":400406770075303.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5206231565666932736,"description":"Unknown IO ID 45"} 
[2026-09-06 09:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899200768001,"power":27821,"unknown_83":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5206231565666932736}} 
[2026-09-06 09:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":172388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:56:59] local.INFO: GPS data processed {"connection_id":172388,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:56:59] local.INFO: Acknowledgment sent {"connection_id":172388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:57:06] local.INFO: TCP Data received {"connection_id":172389,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:57:06] local.INFO: Processing buffer {"connection_id":172389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:57:06] local.INFO: IMEI packet received {"connection_id":172389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 09:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":172389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:57:07] local.INFO: TCP Data received {"connection_id":172389,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:57:07] local.INFO: Processing buffer {"connection_id":172389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:57:07] local.INFO: IMEI packet received {"connection_id":172389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":172389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:57:14] local.INFO: TCP Data received {"connection_id":172389,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:57:14] local.INFO: Processing buffer {"connection_id":172389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:57:14] local.INFO: IMEI packet received {"connection_id":172389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":172389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:57:14] local.INFO: TCP Data received {"connection_id":172389,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:57:14] local.INFO: Processing buffer {"connection_id":172389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 09:57:14] local.INFO: IMEI packet received {"connection_id":172389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 09:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":172389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:57:16] local.INFO: TCP Data received {"connection_id":172614,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:57:16] local.INFO: Processing buffer {"connection_id":172614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:57:16] local.INFO: IMEI packet received {"connection_id":172614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":172614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:57:22] local.INFO: TCP Data received {"connection_id":172614,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:57:22] local.INFO: Processing buffer {"connection_id":172614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:57:22] local.INFO: IMEI packet received {"connection_id":172614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":172614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:57:23] local.INFO: TCP Data received {"connection_id":172614,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:57:23] local.INFO: Processing buffer {"connection_id":172614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:57:23] local.INFO: Packet analysis {"connection_id":172614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 09:57:23] local.INFO: Extracted packet for processing {"connection_id":172614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 09:57:23] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409585166336,"note":"Value kept but may cause issues"} 
[2026-09-06 09:57:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788668826000,"timestamp_ms":1788668826000,"timestamp_seconds":1788668826,"priority":1,"record_length":96,"hex_timestamp":"000001a074f85190"} 
[2026-09-06 09:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 09: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":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-09-06 09:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:57:23] 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-09-06 09:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899142400001,"66":2242,"24":0,"85":15104,"16":128884271971565568,"45":9024017409585166336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:57:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409585166336,"description":"Unknown IO ID 45"} 
[2026-09-06 09:57:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899142400001,"power":2242,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024017409585166336}} 
[2026-09-06 09:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":172614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:57:23] local.INFO: GPS data processed {"connection_id":172614,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:57:23] local.INFO: Acknowledgment sent {"connection_id":172614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:57:30] local.INFO: TCP Data received {"connection_id":172388,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f76b18012d4871c006723828000f002b2e..."} 
[2026-09-06 09:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f76b18012d4871c006723828000f002b2e..."} 
[2026-09-06 09:57:30] local.INFO: Processing buffer {"connection_id":172388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f76b18012d4871c006723828000f002b2e..."} 
[2026-09-06 09:57:30] local.INFO: Packet analysis {"connection_id":172388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f7"} 
[2026-09-06 09:57:30] local.INFO: Extracted packet for processing {"connection_id":172388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f7"} 
[2026-09-06 09:57:30] local.INFO: GPS Element Parsed {"raw_longitude":759722432,"raw_latitude":108148776,"longitude_deg":75.9722432,"latitude_deg":10.8148776,"altitude":15,"angle":43,"satellites":46,"speed":54,"hex_longitude":"2d4871c0","hex_latitude":"06723828","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899202560001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400407229636804608,"note":"Value kept but may cause issues"} 
[2026-09-06 09:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5213057333853995008,"note":"Value kept but may cause issues"} 
[2026-09-06 09:57:30] 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-09-06 09:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788668767000,"timestamp_ms":1788668767000,"timestamp_seconds":1788668767,"priority":1,"record_length":96,"hex_timestamp":"000001a074f76b18"} 
[2026-09-06 09:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 09:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899202560001,"66":27843,"83":206,"80":60160,"24":54,"16":400407229636804608,"45":5213057333853995008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-06 09:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899202560001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:57:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-06 09:57:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 09:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400407229636804608,"km_value":400407229636804.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5213057333853995008,"description":"Unknown IO ID 45"} 
[2026-09-06 09:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899202560001,"power":27843,"unknown_83":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5213057333853995008}} 
[2026-09-06 09:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":172388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:57:30] local.INFO: GPS data processed {"connection_id":172388,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:57:30] local.INFO: Acknowledgment sent {"connection_id":172388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:57:48] local.INFO: TCP Data received {"connection_id":175082,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:57:48] local.INFO: Processing buffer {"connection_id":175082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:57:48] local.INFO: IMEI packet received {"connection_id":175082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":175082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:57:53] local.INFO: TCP Data received {"connection_id":175082,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:57:53] local.INFO: Processing buffer {"connection_id":175082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:57:53] local.INFO: IMEI packet received {"connection_id":175082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":175082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:57:53] local.INFO: TCP Data received {"connection_id":175082,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f78670012d488d8006725410000e002d2e..."} 
[2026-09-06 09:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f78670012d488d8006725410000e002d2e..."} 
[2026-09-06 09:57:53] local.INFO: Processing buffer {"connection_id":175082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f78670012d488d8006725410000e002d2e..."} 
[2026-09-06 09:57:53] local.INFO: Packet analysis {"connection_id":175082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f7"} 
[2026-09-06 09:57:53] local.INFO: Extracted packet for processing {"connection_id":175082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f7"} 
[2026-09-06 09:57:53] local.INFO: GPS Element Parsed {"raw_longitude":759729536,"raw_latitude":108155920,"longitude_deg":75.9729536,"latitude_deg":10.815592,"altitude":14,"angle":45,"satellites":46,"speed":59,"hex_longitude":"2d488d80","hex_latitude":"06725410","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899204352001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400407714968109056,"note":"Value kept but may cause issues"} 
[2026-09-06 09:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5220164577017735168,"note":"Value kept but may cause issues"} 
[2026-09-06 09:57: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-09-06 09:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788668774000,"timestamp_ms":1788668774000,"timestamp_seconds":1788668774,"priority":1,"record_length":96,"hex_timestamp":"000001a074f78670"} 
[2026-09-06 09:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:57: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-09-06 09: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":195,"data_length":795,"current_offset":136} 
[2026-09-06 09:57: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-09-06 09: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-09-06 09:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:57: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-09-06 09:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899204352001,"66":27800,"83":206,"80":60160,"24":59,"16":400407714968109056,"45":5220164577017735168},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-06 09:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899204352001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:57:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-06 09:57:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 09:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400407714968109056,"km_value":400407714968109.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5220164577017735168,"description":"Unknown IO ID 45"} 
[2026-09-06 09:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899204352001,"power":27800,"unknown_83":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5220164577017735168}} 
[2026-09-06 09:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":175082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:57:53] local.INFO: GPS data processed {"connection_id":175082,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:57:53] local.INFO: Acknowledgment sent {"connection_id":175082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:57:54] local.INFO: TCP Data received {"connection_id":172614,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:57:54] local.INFO: Processing buffer {"connection_id":172614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:57:54] local.INFO: Packet analysis {"connection_id":172614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 09:57:54] local.INFO: Extracted packet for processing {"connection_id":172614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 09:57:54] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409585166336,"note":"Value kept but may cause issues"} 
[2026-09-06 09:57:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788668826000,"timestamp_ms":1788668826000,"timestamp_seconds":1788668826,"priority":1,"record_length":96,"hex_timestamp":"000001a074f85190"} 
[2026-09-06 09:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 09:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-09-06 09:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:57:54] 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-09-06 09:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899142400001,"66":2242,"24":0,"85":15104,"16":128884271971565568,"45":9024017409585166336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:57:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409585166336,"description":"Unknown IO ID 45"} 
[2026-09-06 09:57:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899142400001,"power":2242,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024017409585166336}} 
[2026-09-06 09:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":172614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:57:54] local.INFO: GPS data processed {"connection_id":172614,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:57:54] local.INFO: Acknowledgment sent {"connection_id":172614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:58:22] local.INFO: TCP Data received {"connection_id":172615,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:58:22] local.INFO: Processing buffer {"connection_id":172615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:58:22] local.INFO: IMEI packet received {"connection_id":172615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":172615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:58:24] local.INFO: TCP Data received {"connection_id":175082,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f79de0012d48a6c006726df0000c00292e..."} 
[2026-09-06 09:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f79de0012d48a6c006726df0000c00292e..."} 
[2026-09-06 09:58:24] local.INFO: Processing buffer {"connection_id":175082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f79de0012d48a6c006726df0000c00292e..."} 
[2026-09-06 09:58:24] local.INFO: Packet analysis {"connection_id":175082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f7"} 
[2026-09-06 09:58:24] local.INFO: Extracted packet for processing {"connection_id":175082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f7"} 
[2026-09-06 09:58:24] local.INFO: GPS Element Parsed {"raw_longitude":759736000,"raw_latitude":108162544,"longitude_deg":75.9736,"latitude_deg":10.8162544,"altitude":12,"angle":41,"satellites":46,"speed":60,"hex_longitude":"2d48a6c0","hex_latitude":"06726df0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 09:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899206144001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400408157349740544,"note":"Value kept but may cause issues"} 
[2026-09-06 09:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5227975507623284736,"note":"Value kept but may cause issues"} 
[2026-09-06 09:58: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-09-06 09:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788668780000,"timestamp_ms":1788668780000,"timestamp_seconds":1788668780,"priority":1,"record_length":96,"hex_timestamp":"000001a074f79de0"} 
[2026-09-06 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-09-06 09:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 09:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 09:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:58: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-09-06 09:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899206144001,"66":27821,"83":206,"80":60160,"24":60,"16":400408157349740544,"45":5227975507623284736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-06 09:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899206144001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:58:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-06 09:58:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 09:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400408157349740544,"km_value":400408157349740.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5227975507623284736,"description":"Unknown IO ID 45"} 
[2026-09-06 09:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899206144001,"power":27821,"unknown_83":206,"unknown_80":60160,"ignition":60,"odometer":null,"unknown_45":5227975507623284736}} 
[2026-09-06 09:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":175082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:58:24] local.INFO: GPS data processed {"connection_id":175082,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:58:24] local.INFO: Acknowledgment sent {"connection_id":175082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:58:27] local.INFO: TCP Data received {"connection_id":172615,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:58:27] local.INFO: Processing buffer {"connection_id":172615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:58:27] local.INFO: IMEI packet received {"connection_id":172615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":172615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:58:27] local.INFO: TCP Data received {"connection_id":172615,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:58:27] local.INFO: Processing buffer {"connection_id":172615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:58:27] local.INFO: Packet analysis {"connection_id":172615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 09:58:27] local.INFO: Extracted packet for processing {"connection_id":172615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 09:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409585166336,"note":"Value kept but may cause issues"} 
[2026-09-06 09:58:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788668826000,"timestamp_ms":1788668826000,"timestamp_seconds":1788668826,"priority":1,"record_length":96,"hex_timestamp":"000001a074f85190"} 
[2026-09-06 09:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 09: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":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-09-06 09:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:58:27] 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-09-06 09:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899142400001,"66":2242,"24":0,"85":15104,"16":128884271971565568,"45":9024017409585166336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409585166336,"description":"Unknown IO ID 45"} 
[2026-09-06 09:58:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899142400001,"power":2242,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024017409585166336}} 
[2026-09-06 09:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":172615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:58:28] local.INFO: GPS data processed {"connection_id":172615,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:58:28] local.INFO: Acknowledgment sent {"connection_id":172615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:58:32] local.INFO: TCP Data received {"connection_id":172615,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:58:32] local.INFO: Processing buffer {"connection_id":172615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:58:32] local.INFO: Packet analysis {"connection_id":172615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 09:58:32] local.INFO: Extracted packet for processing {"connection_id":172615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 09:58:32] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 09:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409585166336,"note":"Value kept but may cause issues"} 
[2026-09-06 09:58:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788668826000,"timestamp_ms":1788668826000,"timestamp_seconds":1788668826,"priority":1,"record_length":96,"hex_timestamp":"000001a074f85190"} 
[2026-09-06 09:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 09:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-09-06 09:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 09:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:58:32] 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-09-06 09:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899142400001,"66":2242,"24":0,"85":15104,"16":128884271971565568,"45":9024017409585166336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:58:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409585166336,"description":"Unknown IO ID 45"} 
[2026-09-06 09:58:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899142400001,"power":2242,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024017409585166336}} 
[2026-09-06 09:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":172615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:58:32] local.INFO: GPS data processed {"connection_id":172615,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:58:32] local.INFO: Acknowledgment sent {"connection_id":172615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:58:48] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:58:48] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:58:48] local.INFO: IMEI packet received {"connection_id":173772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":173772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:58:53] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:58:53] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:58:53] local.INFO: IMEI packet received {"connection_id":173772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":173772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:58:54] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f7b550012d48bdc0067288e0000b00282c..."} 
[2026-09-06 09:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f7b550012d48bdc0067288e0000b00282c..."} 
[2026-09-06 09:58:54] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f7b550012d48bdc0067288e0000b00282c..."} 
[2026-09-06 09:58:54] local.INFO: Packet analysis {"connection_id":173772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f7"} 
[2026-09-06 09:58:54] local.INFO: Extracted packet for processing {"connection_id":173772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f7"} 
[2026-09-06 09:58:54] local.INFO: GPS Element Parsed {"raw_longitude":759741888,"raw_latitude":108169440,"longitude_deg":75.9741888,"latitude_deg":10.816944,"altitude":11,"angle":40,"satellites":44,"speed":60,"hex_longitude":"2d48bdc0","hex_latitude":"067288e0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899207680001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400408595436404736,"note":"Value kept but may cause issues"} 
[2026-09-06 09:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5235082750786924544,"note":"Value kept but may cause issues"} 
[2026-09-06 09:58:54] 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-09-06 09:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788668786000,"timestamp_ms":1788668786000,"timestamp_seconds":1788668786,"priority":1,"record_length":96,"hex_timestamp":"000001a074f7b550"} 
[2026-09-06 09:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 09:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899207680001,"66":27800,"83":206,"80":60160,"24":60,"16":400408595436404736,"45":5235082750786924544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-06 09:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899207680001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:58:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-06 09:58:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 09:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400408595436404736,"km_value":400408595436404.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5235082750786924544,"description":"Unknown IO ID 45"} 
[2026-09-06 09:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899207680001,"power":27800,"unknown_83":206,"unknown_80":60160,"ignition":60,"odometer":null,"unknown_45":5235082750786924544}} 
[2026-09-06 09:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":173772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:58:54] local.INFO: GPS data processed {"connection_id":173772,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:58:54] local.INFO: Acknowledgment sent {"connection_id":173772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:59:17] local.INFO: TCP Data received {"connection_id":175083,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:59:17] local.INFO: Processing buffer {"connection_id":175083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:59:17] local.INFO: IMEI packet received {"connection_id":175083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 09:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":175083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:59:22] local.INFO: TCP Data received {"connection_id":175083,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:59:22] local.INFO: Processing buffer {"connection_id":175083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 09:59:22] local.INFO: IMEI packet received {"connection_id":175083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 09:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":175083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:59:22] local.INFO: TCP Data received {"connection_id":175083,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:59:22] local.INFO: Processing buffer {"connection_id":175083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:59:22] local.INFO: Packet analysis {"connection_id":175083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 09:59:22] local.INFO: Extracted packet for processing {"connection_id":175083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 09:59:22] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409585166336,"note":"Value kept but may cause issues"} 
[2026-09-06 09:59:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788668826000,"timestamp_ms":1788668826000,"timestamp_seconds":1788668826,"priority":1,"record_length":96,"hex_timestamp":"000001a074f85190"} 
[2026-09-06 09:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 09: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":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-09-06 09:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:59:22] 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-09-06 09:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899142400001,"66":2242,"24":0,"85":15104,"16":128884271971565568,"45":9024017409585166336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:59:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409585166336,"description":"Unknown IO ID 45"} 
[2026-09-06 09:59:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899142400001,"power":2242,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024017409585166336}} 
[2026-09-06 09:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":175083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:59:23] local.INFO: GPS data processed {"connection_id":175083,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:59:23] local.INFO: Acknowledgment sent {"connection_id":175083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:59:25] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f7ccc0012d48d4400672a3f0000a00262b..."} 
[2026-09-06 09:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f7ccc0012d48d4400672a3f0000a00262b..."} 
[2026-09-06 09:59:25] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f7ccc0012d48d4400672a3f0000a00262b..."} 
[2026-09-06 09:59:25] local.INFO: Packet analysis {"connection_id":173772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f7"} 
[2026-09-06 09:59:25] local.INFO: Extracted packet for processing {"connection_id":173772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f7"} 
[2026-09-06 09:59:25] local.INFO: GPS Element Parsed {"raw_longitude":759747648,"raw_latitude":108176368,"longitude_deg":75.9747648,"latitude_deg":10.8176368,"altitude":10,"angle":38,"satellites":43,"speed":58,"hex_longitude":"2d48d440","hex_latitude":"0672a3f0","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899209216001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400409024933134336,"note":"Value kept but may cause issues"} 
[2026-09-06 09:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5241556675253035008,"note":"Value kept but may cause issues"} 
[2026-09-06 09:59:25] 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-09-06 09:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788668792000,"timestamp_ms":1788668792000,"timestamp_seconds":1788668792,"priority":1,"record_length":96,"hex_timestamp":"000001a074f7ccc0"} 
[2026-09-06 09:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09: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":152,"data_length":795,"current_offset":136} 
[2026-09-06 09:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:59: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-09-06 09:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899209216001,"66":27843,"83":206,"80":60160,"24":58,"16":400409024933134336,"45":5241556675253035008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-06 09:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899209216001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:59:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-06 09:59:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 09:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400409024933134336,"km_value":400409024933134.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5241556675253035008,"description":"Unknown IO ID 45"} 
[2026-09-06 09:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899209216001,"power":27843,"unknown_83":206,"unknown_80":60160,"ignition":58,"odometer":null,"unknown_45":5241556675253035008}} 
[2026-09-06 09:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":173772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:59:25] local.INFO: GPS data processed {"connection_id":173772,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:59:25] local.INFO: Acknowledgment sent {"connection_id":173772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:59:27] local.INFO: TCP Data received {"connection_id":175083,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:59:27] local.INFO: Processing buffer {"connection_id":175083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:59:27] local.INFO: Packet analysis {"connection_id":175083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 09:59:27] local.INFO: Extracted packet for processing {"connection_id":175083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 09:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409585166336,"note":"Value kept but may cause issues"} 
[2026-09-06 09:59:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788668826000,"timestamp_ms":1788668826000,"timestamp_seconds":1788668826,"priority":1,"record_length":96,"hex_timestamp":"000001a074f85190"} 
[2026-09-06 09:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 09: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":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-09-06 09:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:59:27] 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-09-06 09:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899142400001,"66":2242,"24":0,"85":15104,"16":128884271971565568,"45":9024017409585166336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:59:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409585166336,"description":"Unknown IO ID 45"} 
[2026-09-06 09:59:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899142400001,"power":2242,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024017409585166336}} 
[2026-09-06 09:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":175083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:59:27] local.INFO: GPS data processed {"connection_id":175083,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:59:27] local.INFO: Acknowledgment sent {"connection_id":175083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:59:48] local.INFO: TCP Data received {"connection_id":173773,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:59:48] local.INFO: Processing buffer {"connection_id":173773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:59:48] local.INFO: IMEI packet received {"connection_id":173773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 09:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":173773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 09:59:53] local.INFO: TCP Data received {"connection_id":173773,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:59:53] local.INFO: Processing buffer {"connection_id":173773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 09:59:53] local.INFO: IMEI packet received {"connection_id":173773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 09:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":173773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 09:59:54] local.INFO: TCP Data received {"connection_id":173773,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f7e818012d48ed400672c290000d00262e..."} 
[2026-09-06 09:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f7e818012d48ed400672c290000d00262e..."} 
[2026-09-06 09:59:54] local.INFO: Processing buffer {"connection_id":173773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f7e818012d48ed400672c290000d00262e..."} 
[2026-09-06 09:59:54] local.INFO: Packet analysis {"connection_id":173773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f7"} 
[2026-09-06 09:59:54] local.INFO: Extracted packet for processing {"connection_id":173773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f7"} 
[2026-09-06 09:59:54] local.INFO: GPS Element Parsed {"raw_longitude":759754048,"raw_latitude":108184208,"longitude_deg":75.9754048,"latitude_deg":10.8184208,"altitude":13,"angle":38,"satellites":46,"speed":55,"hex_longitude":"2d48ed40","hex_latitude":"0672c290","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899210752001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400409514559406080,"note":"Value kept but may cause issues"} 
[2026-09-06 09:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5247889862230798336,"note":"Value kept but may cause issues"} 
[2026-09-06 09:59:54] 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-09-06 09:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788668799000,"timestamp_ms":1788668799000,"timestamp_seconds":1788668799,"priority":1,"record_length":96,"hex_timestamp":"000001a074f7e818"} 
[2026-09-06 09:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 09:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-06 09:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 09:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 09:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 09:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 09:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899210752001,"66":27789,"83":206,"80":60160,"24":55,"16":400409514559406080,"45":5247889862230798336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-06 09:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 09:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 09:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899210752001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:59:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-06 09:59:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 09:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400409514559406080,"km_value":400409514559406.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5247889862230798336,"description":"Unknown IO ID 45"} 
[2026-09-06 09:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899210752001,"power":27789,"unknown_83":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5247889862230798336}} 
[2026-09-06 09:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":173773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:59:54] local.INFO: GPS data processed {"connection_id":173773,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:59:54] local.INFO: Acknowledgment sent {"connection_id":173773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 09:59:58] local.INFO: TCP Data received {"connection_id":175083,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:59:58] local.INFO: Processing buffer {"connection_id":175083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 09:59:58] local.INFO: Packet analysis {"connection_id":175083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 09:59:58] local.INFO: Extracted packet for processing {"connection_id":175083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 09:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 09: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-09-06 09:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 09:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 09:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409585166336,"note":"Value kept but may cause issues"} 
[2026-09-06 09:59:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 09:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788668826000,"timestamp_ms":1788668826000,"timestamp_seconds":1788668826,"priority":1,"record_length":96,"hex_timestamp":"000001a074f85190"} 
[2026-09-06 09:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 09:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 09: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":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-09-06 09:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 09: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-09-06 09:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 09:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 09:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 09:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 09:59:58] 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-09-06 09:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 09:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 09:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899142400001,"66":2242,"24":0,"85":15104,"16":128884271971565568,"45":9024017409585166336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 09:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 09:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 09:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 09:59:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 09:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 09:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409585166336,"description":"Unknown IO ID 45"} 
[2026-09-06 09:59:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899142400001,"power":2242,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024017409585166336}} 
[2026-09-06 09:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":175083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 09:59:58] local.INFO: GPS data processed {"connection_id":175083,"processed":1,"errors":0,"total":1} 
[2026-09-06 09:59:58] local.INFO: Acknowledgment sent {"connection_id":175083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:00:17] local.INFO: TCP Data received {"connection_id":175084,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:00:17] local.INFO: Processing buffer {"connection_id":175084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:00:17] local.INFO: IMEI packet received {"connection_id":175084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 10:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":175084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:00:22] local.INFO: TCP Data received {"connection_id":175084,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:00:22] local.INFO: Processing buffer {"connection_id":175084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:00:22] local.INFO: IMEI packet received {"connection_id":175084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 10:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":175084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:00:22] local.INFO: TCP Data received {"connection_id":175084,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 10:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 10:00:23] local.INFO: Processing buffer {"connection_id":175084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 10:00:23] local.INFO: Packet analysis {"connection_id":175084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:00:23] local.INFO: Extracted packet for processing {"connection_id":175084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:00:23] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409585166336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:00:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 10:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788668826000,"timestamp_ms":1788668826000,"timestamp_seconds":1788668826,"priority":1,"record_length":96,"hex_timestamp":"000001a074f85190"} 
[2026-09-06 10:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-09-06 10:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 10:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 10:00:23] 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-09-06 10:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 10:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 10:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899142400001,"66":2242,"24":0,"85":15104,"16":128884271971565568,"45":9024017409585166336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 10:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 10:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 10:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:00:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 10:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409585166336,"description":"Unknown IO ID 45"} 
[2026-09-06 10:00:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899142400001,"power":2242,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024017409585166336}} 
[2026-09-06 10:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":175084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:00:23] local.INFO: GPS data processed {"connection_id":175084,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:00:23] local.INFO: Acknowledgment sent {"connection_id":175084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:00:25] local.INFO: TCP Data received {"connection_id":173773,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f80370012d4905000672dfe0000f00272d..."} 
[2026-09-06 10:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f80370012d4905000672dfe0000f00272d..."} 
[2026-09-06 10:00:25] local.INFO: Processing buffer {"connection_id":173773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f80370012d4905000672dfe0000f00272d..."} 
[2026-09-06 10:00:25] local.INFO: Packet analysis {"connection_id":173773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:00:25] local.INFO: Extracted packet for processing {"connection_id":173773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:00:25] local.INFO: GPS Element Parsed {"raw_longitude":759760128,"raw_latitude":108191712,"longitude_deg":75.9760128,"latitude_deg":10.8191712,"altitude":15,"angle":39,"satellites":45,"speed":54,"hex_longitude":"2d490500","hex_latitude":"0672dfe0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899212544001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400409978415874048,"note":"Value kept but may cause issues"} 
[2026-09-06 10:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5254926736650571776,"note":"Value kept but may cause issues"} 
[2026-09-06 10:00:25] 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-09-06 10:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788668806000,"timestamp_ms":1788668806000,"timestamp_seconds":1788668806,"priority":1,"record_length":96,"hex_timestamp":"000001a074f80370"} 
[2026-09-06 10:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-06 10:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:00: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-09-06 10:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899212544001,"66":27832,"83":206,"80":60160,"24":54,"16":400409978415874048,"45":5254926736650571776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-06 10:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899212544001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:00:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-06 10:00:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400409978415874048,"km_value":400409978415874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5254926736650571776,"description":"Unknown IO ID 45"} 
[2026-09-06 10:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899212544001,"power":27832,"unknown_83":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5254926736650571776}} 
[2026-09-06 10:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":173773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:00:25] local.INFO: GPS data processed {"connection_id":173773,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:00:25] local.INFO: Acknowledgment sent {"connection_id":173773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:00:48] local.INFO: TCP Data received {"connection_id":172391,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:00:48] local.INFO: Processing buffer {"connection_id":172391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:00:48] local.INFO: IMEI packet received {"connection_id":172391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":172391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:00:53] local.INFO: TCP Data received {"connection_id":172391,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:00:53] local.INFO: Processing buffer {"connection_id":172391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:00:53] local.INFO: IMEI packet received {"connection_id":172391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":172391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:00:54] local.INFO: TCP Data received {"connection_id":172391,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f81ec8012d491c800672fd00000f00262b..."} 
[2026-09-06 10:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f81ec8012d491c800672fd00000f00262b..."} 
[2026-09-06 10:00:54] local.INFO: Processing buffer {"connection_id":172391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f81ec8012d491c800672fd00000f00262b..."} 
[2026-09-06 10:00:54] local.INFO: Packet analysis {"connection_id":172391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:00:54] local.INFO: Extracted packet for processing {"connection_id":172391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:00:54] local.INFO: GPS Element Parsed {"raw_longitude":759766144,"raw_latitude":108199168,"longitude_deg":75.9766144,"latitude_deg":10.8199168,"altitude":15,"angle":38,"satellites":43,"speed":54,"hex_longitude":"2d491c80","hex_latitude":"0672fd00","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899214336001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400410442272342016,"note":"Value kept but may cause issues"} 
[2026-09-06 10:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5261611767349370880,"note":"Value kept but may cause issues"} 
[2026-09-06 10:00:54] 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-09-06 10:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788668813000,"timestamp_ms":1788668813000,"timestamp_seconds":1788668813,"priority":1,"record_length":96,"hex_timestamp":"000001a074f81ec8"} 
[2026-09-06 10:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:00: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-09-06 10: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-06 10:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899214336001,"66":27137,"83":206,"80":60160,"24":54,"16":400410442272342016,"45":5261611767349370880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-06 10:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899214336001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:00:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-06 10:00:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400410442272342016,"km_value":400410442272342.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5261611767349370880,"description":"Unknown IO ID 45"} 
[2026-09-06 10:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899214336001,"power":27137,"unknown_83":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5261611767349370880}} 
[2026-09-06 10:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":172391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:00:54] local.INFO: GPS data processed {"connection_id":172391,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:00:54] local.INFO: Acknowledgment sent {"connection_id":172391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:00:54] local.INFO: TCP Data received {"connection_id":175084,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 10:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 10:00:54] local.INFO: Processing buffer {"connection_id":175084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 10:00:54] local.INFO: Packet analysis {"connection_id":175084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:00:54] local.INFO: Extracted packet for processing {"connection_id":175084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:00:54] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409585166336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:00:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 10:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788668826000,"timestamp_ms":1788668826000,"timestamp_seconds":1788668826,"priority":1,"record_length":96,"hex_timestamp":"000001a074f85190"} 
[2026-09-06 10:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-09-06 10:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 10:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 10:00:54] 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-09-06 10:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 10:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 10:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899142400001,"66":2242,"24":0,"85":15104,"16":128884271971565568,"45":9024017409585166336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 10:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 10:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 10:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:00:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 10:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409585166336,"description":"Unknown IO ID 45"} 
[2026-09-06 10:00:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899142400001,"power":2242,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024017409585166336}} 
[2026-09-06 10:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":175084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:00:54] local.INFO: GPS data processed {"connection_id":175084,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:00:54] local.INFO: Acknowledgment sent {"connection_id":175084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:01:17] local.INFO: TCP Data received {"connection_id":172392,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:01:17] local.INFO: Processing buffer {"connection_id":172392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:01:17] local.INFO: IMEI packet received {"connection_id":172392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 10:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":172392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:01:22] local.INFO: TCP Data received {"connection_id":172392,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:01:22] local.INFO: Processing buffer {"connection_id":172392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:01:22] local.INFO: IMEI packet received {"connection_id":172392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 10:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":172392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:01:22] local.INFO: TCP Data received {"connection_id":172392,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 10:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 10:01:22] local.INFO: Processing buffer {"connection_id":172392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 10:01:22] local.INFO: Packet analysis {"connection_id":172392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:01:22] local.INFO: Extracted packet for processing {"connection_id":172392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:01:22] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 10:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409585166336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:01:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 10:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788668826000,"timestamp_ms":1788668826000,"timestamp_seconds":1788668826,"priority":1,"record_length":96,"hex_timestamp":"000001a074f85190"} 
[2026-09-06 10:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-09-06 10:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 10:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 10:01:22] 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-09-06 10:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 10:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 10:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899142400001,"66":2242,"24":0,"85":15104,"16":128884271971565568,"45":9024017409585166336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 10:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 10:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 10:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:01:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 10:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409585166336,"description":"Unknown IO ID 45"} 
[2026-09-06 10:01:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899142400001,"power":2242,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024017409585166336}} 
[2026-09-06 10:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":172392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:01:23] local.INFO: GPS data processed {"connection_id":172392,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:01:23] local.INFO: Acknowledgment sent {"connection_id":172392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:01:25] local.INFO: TCP Data received {"connection_id":172391,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f83a20012d4934c006731a50000f00272c..."} 
[2026-09-06 10:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f83a20012d4934c006731a50000f00272c..."} 
[2026-09-06 10:01:25] local.INFO: Processing buffer {"connection_id":172391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f83a20012d4934c006731a50000f00272c..."} 
[2026-09-06 10:01:25] local.INFO: Packet analysis {"connection_id":172391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:01:25] local.INFO: Extracted packet for processing {"connection_id":172391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:01:25] local.INFO: GPS Element Parsed {"raw_longitude":759772352,"raw_latitude":108206672,"longitude_deg":75.9772352,"latitude_deg":10.8206672,"altitude":15,"angle":39,"satellites":44,"speed":55,"hex_longitude":"2d4934c0","hex_latitude":"06731a50","is_valid_coordinates":true} 
[2026-09-06 10:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899216128001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400410910423777280,"note":"Value kept but may cause issues"} 
[2026-09-06 10:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5268226429303980032,"note":"Value kept but may cause issues"} 
[2026-09-06 10:01:25] 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-09-06 10:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788668820000,"timestamp_ms":1788668820000,"timestamp_seconds":1788668820,"priority":1,"record_length":96,"hex_timestamp":"000001a074f83a20"} 
[2026-09-06 10:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:01: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-09-06 10:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-09-06 10:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:01: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-09-06 10:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899216128001,"66":27821,"81":206,"80":60160,"24":55,"16":400410910423777280,"45":5268226429303980032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899216128001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:01:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:01:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400410910423777280,"km_value":400410910423777.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5268226429303980032,"description":"Unknown IO ID 45"} 
[2026-09-06 10:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899216128001,"power":27821,"unknown_81":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5268226429303980032}} 
[2026-09-06 10:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":172391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:01:25] local.INFO: GPS data processed {"connection_id":172391,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:01:25] local.INFO: Acknowledgment sent {"connection_id":172391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:01:48] local.INFO: TCP Data received {"connection_id":173774,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:01:48] local.INFO: Processing buffer {"connection_id":173774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:01:48] local.INFO: IMEI packet received {"connection_id":173774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":173774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:01:53] local.INFO: TCP Data received {"connection_id":173774,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:01:53] local.INFO: Processing buffer {"connection_id":173774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:01:53] local.INFO: IMEI packet received {"connection_id":173774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":173774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:01:53] local.INFO: TCP Data received {"connection_id":173774,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f84da8012d49460006732f98000e00272c..."} 
[2026-09-06 10:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f84da8012d49460006732f98000e00272c..."} 
[2026-09-06 10:01:53] local.INFO: Processing buffer {"connection_id":173774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f84da8012d49460006732f98000e00272c..."} 
[2026-09-06 10:01:53] local.INFO: Packet analysis {"connection_id":173774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:01:53] local.INFO: Extracted packet for processing {"connection_id":173774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:01:53] local.INFO: GPS Element Parsed {"raw_longitude":759776768,"raw_latitude":108212120,"longitude_deg":75.9776768,"latitude_deg":10.821212,"altitude":14,"angle":39,"satellites":44,"speed":55,"hex_longitude":"2d494600","hex_latitude":"06732f98","is_valid_coordinates":true} 
[2026-09-06 10:01: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-09-06 10:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899217920001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5275052197491134464,"note":"Value kept but may cause issues"} 
[2026-09-06 10:01: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-09-06 10:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788668825000,"timestamp_ms":1788668825000,"timestamp_seconds":1788668825,"priority":1,"record_length":96,"hex_timestamp":"000001a074f84da8"} 
[2026-09-06 10:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:01: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-09-06 10:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:01: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-09-06 10:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899217920001,"66":27691,"81":206,"80":60160,"24":55,"16":400411245431226368,"45":5275052197491134464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899217920001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:01:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:01:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5275052197491134464,"description":"Unknown IO ID 45"} 
[2026-09-06 10:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899217920001,"power":27691,"unknown_81":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5275052197491134464}} 
[2026-09-06 10:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":173774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:01:53] local.INFO: GPS data processed {"connection_id":173774,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:01:53] local.INFO: Acknowledgment sent {"connection_id":173774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:01:54] local.INFO: TCP Data received {"connection_id":172392,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 10:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 10:01:54] local.INFO: Processing buffer {"connection_id":172392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f85190012d7d3bc005d143b8000200ac29..."} 
[2026-09-06 10:01:54] local.INFO: Packet analysis {"connection_id":172392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:01:54] local.INFO: Extracted packet for processing {"connection_id":172392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97600440,"longitude_deg":76.3182016,"latitude_deg":9.760044,"altitude":2,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d7d3bc0","hex_latitude":"05d143b8","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899142400001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884271971565568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409585166336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:01:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 10:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788668826000,"timestamp_ms":1788668826000,"timestamp_seconds":1788668826,"priority":1,"record_length":96,"hex_timestamp":"000001a074f85190"} 
[2026-09-06 10:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":9,"n8_eight_byte":253,"data_length":795,"current_offset":136} 
[2026-09-06 10:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2520,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 10:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 10:01:54] 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-09-06 10:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 10:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 10:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899142400001,"66":2242,"24":0,"85":15104,"16":128884271971565568,"45":9024017409585166336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 10:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 10:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 10:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899142400001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:01:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 10:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884271971565568,"km_value":128884271971565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409585166336,"description":"Unknown IO ID 45"} 
[2026-09-06 10:01:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457899142400001,"power":2242,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9024017409585166336}} 
[2026-09-06 10:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":172392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:01:54] local.INFO: GPS data processed {"connection_id":172392,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:01:54] local.INFO: Acknowledgment sent {"connection_id":172392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:02:12] local.INFO: TCP Data received {"connection_id":172393,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:02:12] local.INFO: Processing buffer {"connection_id":172393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:02:12] local.INFO: IMEI packet received {"connection_id":172393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":172393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:02:14] local.INFO: TCP Data received {"connection_id":172393,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:02:14] local.INFO: Processing buffer {"connection_id":172393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:02:14] local.INFO: IMEI packet received {"connection_id":172393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":172393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:02:15] local.INFO: TCP Data received {"connection_id":172393,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:02:15] local.INFO: Processing buffer {"connection_id":172393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:02:15] local.INFO: IMEI packet received {"connection_id":172393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":172393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:02:16] local.INFO: TCP Data received {"connection_id":173775,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:02:16] local.INFO: TCP Data received {"connection_id":172393,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074fb5ae8012d18eec007228dd00079011d26..."} 
[2026-09-06 10:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:02:16] local.INFO: Processing buffer {"connection_id":173775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:02:16] local.INFO: IMEI packet received {"connection_id":173775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 10:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":173775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fb5ae8012d18eec007228dd00079011d26..."} 
[2026-09-06 10:02:16] local.INFO: Processing buffer {"connection_id":172393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fb5ae8012d18eec007228dd00079011d26..."} 
[2026-09-06 10:02:16] local.INFO: Packet analysis {"connection_id":172393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fb"} 
[2026-09-06 10:02:16] local.INFO: Extracted packet for processing {"connection_id":172393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fb"} 
[2026-09-06 10:02:16] local.INFO: GPS Element Parsed {"raw_longitude":756608704,"raw_latitude":119705040,"longitude_deg":75.6608704,"latitude_deg":11.970504,"altitude":121,"angle":285,"satellites":38,"speed":8,"hex_longitude":"2d18eec0","hex_latitude":"07228dd0","is_valid_coordinates":true} 
[2026-09-06 10:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899269632001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18157360790896640,"note":"Value kept but may cause issues"} 
[2026-09-06 10:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797710338151174144,"note":"Value kept but may cause issues"} 
[2026-09-06 10:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788669025000,"timestamp_ms":1788669025000,"timestamp_seconds":1788669025,"priority":1,"record_length":96,"hex_timestamp":"000001a074fb5ae8"} 
[2026-09-06 10:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-06 10:02:16] 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-09-06 10:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899269632001,"66":13852,"19":206,"83":41984,"24":8,"16":18157360790896640,"45":1797710338151174144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 10:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899269632001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:02:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 10:02:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18157360790896640,"km_value":18157360790896.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797710338151174144,"description":"Unknown IO ID 45"} 
[2026-09-06 10:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899269632001,"power":13852,"unknown_19":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1797710338151174144}} 
[2026-09-06 10:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":172393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:02:16] local.INFO: GPS data processed {"connection_id":172393,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:02:16] local.INFO: Acknowledgment sent {"connection_id":172393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:02:25] local.INFO: TCP Data received {"connection_id":173774,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074f84da8012d49460006732f98000e00272c..."} 
[2026-09-06 10:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074f84da8012d49460006732f98000e00272c..."} 
[2026-09-06 10:02:25] local.INFO: Processing buffer {"connection_id":173774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074f84da8012d49460006732f98000e00272c..."} 
[2026-09-06 10:02:25] local.INFO: Packet analysis {"connection_id":173774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:02:25] local.INFO: Extracted packet for processing {"connection_id":173774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074f8"} 
[2026-09-06 10:02:25] local.INFO: GPS Element Parsed {"raw_longitude":759776768,"raw_latitude":108212120,"longitude_deg":75.9776768,"latitude_deg":10.821212,"altitude":14,"angle":39,"satellites":44,"speed":55,"hex_longitude":"2d494600","hex_latitude":"06732f98","is_valid_coordinates":true} 
[2026-09-06 10:02: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-09-06 10:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899217920001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5275052197491134464,"note":"Value kept but may cause issues"} 
[2026-09-06 10:02:25] 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-09-06 10:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788668825000,"timestamp_ms":1788668825000,"timestamp_seconds":1788668825,"priority":1,"record_length":96,"hex_timestamp":"000001a074f84da8"} 
[2026-09-06 10:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:02: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-09-06 10: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":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:02: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-09-06 10: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-09-06 10:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:02: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-09-06 10:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899217920001,"66":27691,"81":206,"80":60160,"24":55,"16":400411245431226368,"45":5275052197491134464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899217920001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:02:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:02:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5275052197491134464,"description":"Unknown IO ID 45"} 
[2026-09-06 10:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899217920001,"power":27691,"unknown_81":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5275052197491134464}} 
[2026-09-06 10:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":173774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:02:25] local.INFO: GPS data processed {"connection_id":173774,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:02:25] local.INFO: Acknowledgment sent {"connection_id":173774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:02:47] local.INFO: TCP Data received {"connection_id":172393,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074fbacf0012d18db40072294180076011927..."} 
[2026-09-06 10:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fbacf0012d18db40072294180076011927..."} 
[2026-09-06 10:02:47] local.INFO: Processing buffer {"connection_id":172393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fbacf0012d18db40072294180076011927..."} 
[2026-09-06 10:02:47] local.INFO: Packet analysis {"connection_id":172393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fb"} 
[2026-09-06 10:02:47] local.INFO: Extracted packet for processing {"connection_id":172393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fb"} 
[2026-09-06 10:02:47] local.INFO: GPS Element Parsed {"raw_longitude":756603712,"raw_latitude":119706648,"longitude_deg":75.6603712,"latitude_deg":11.9706648,"altitude":118,"angle":281,"satellites":39,"speed":9,"hex_longitude":"2d18db40","hex_latitude":"07229418","is_valid_coordinates":true} 
[2026-09-06 10:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899270400001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18157609898999808,"note":"Value kept but may cause issues"} 
[2026-09-06 10:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796584438244429824,"note":"Value kept but may cause issues"} 
[2026-09-06 10:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788669046000,"timestamp_ms":1788669046000,"timestamp_seconds":1788669046,"priority":1,"record_length":96,"hex_timestamp":"000001a074fbacf0"} 
[2026-09-06 10:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-06 10:02:47] 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-09-06 10:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":172393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":172393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":172393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899270400001,"66":13722,"19":206,"83":41984,"24":9,"16":18157609898999808,"45":1796584438244429824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 10:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899270400001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:02:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 10:02:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18157609898999808,"km_value":18157609898999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796584438244429824,"description":"Unknown IO ID 45"} 
[2026-09-06 10:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899270400001,"power":13722,"unknown_19":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1796584438244429824}} 
[2026-09-06 10:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":172393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:02:47] local.INFO: GPS data processed {"connection_id":172393,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:02:47] local.INFO: Acknowledgment sent {"connection_id":172393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:02:49] local.INFO: TCP Data received {"connection_id":172617,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:02:49] local.INFO: Processing buffer {"connection_id":172617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:02:49] local.INFO: IMEI packet received {"connection_id":172617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":172617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:02:53] local.INFO: TCP Data received {"connection_id":172617,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:02:53] local.INFO: Processing buffer {"connection_id":172617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:02:53] local.INFO: IMEI packet received {"connection_id":172617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":172617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:02:58] local.INFO: TCP Data received {"connection_id":172617,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:02:58] local.INFO: Processing buffer {"connection_id":172617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:02:58] local.INFO: IMEI packet received {"connection_id":172617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":172617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:02:59] local.INFO: TCP Data received {"connection_id":172617,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:02:59] local.INFO: Processing buffer {"connection_id":172617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:02:59] local.INFO: Packet analysis {"connection_id":172617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:02:59] local.INFO: Extracted packet for processing {"connection_id":172617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:02:59] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899219200001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5279907640840787968,"note":"Value kept but may cause issues"} 
[2026-09-06 10:02:59] 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-09-06 10:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788669131000,"timestamp_ms":1788669131000,"timestamp_seconds":1788669131,"priority":1,"record_length":96,"hex_timestamp":"000001a074fcf8f8"} 
[2026-09-06 10:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 10:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899219200001,"66":26289,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5279907640840787968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899219200001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:02:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:02:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5279907640840787968,"description":"Unknown IO ID 45"} 
[2026-09-06 10:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899219200001,"power":26289,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5279907640840787968}} 
[2026-09-06 10:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":172617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:02:59] local.INFO: GPS data processed {"connection_id":172617,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:02:59] local.INFO: Acknowledgment sent {"connection_id":172617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:03:03] local.INFO: TCP Data received {"connection_id":172617,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:03:03] local.INFO: Processing buffer {"connection_id":172617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:03:03] local.INFO: Packet analysis {"connection_id":172617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:03:03] local.INFO: Extracted packet for processing {"connection_id":172617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:03:03] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899219200001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5279907640840787968,"note":"Value kept but may cause issues"} 
[2026-09-06 10:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788669131000,"timestamp_ms":1788669131000,"timestamp_seconds":1788669131,"priority":1,"record_length":96,"hex_timestamp":"000001a074fcf8f8"} 
[2026-09-06 10:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 10:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899219200001,"66":26289,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5279907640840787968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899219200001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:03:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5279907640840787968,"description":"Unknown IO ID 45"} 
[2026-09-06 10:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899219200001,"power":26289,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5279907640840787968}} 
[2026-09-06 10:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":172617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:03:03] local.INFO: GPS data processed {"connection_id":172617,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:03:03] local.INFO: Acknowledgment sent {"connection_id":172617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:03:09] local.INFO: TCP Data received {"connection_id":172618,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:03:09] local.INFO: Processing buffer {"connection_id":172618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:03:09] local.INFO: IMEI packet received {"connection_id":172618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":172618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:03:12] local.INFO: TCP Data received {"connection_id":172618,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:03:12] local.INFO: Processing buffer {"connection_id":172618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:03:12] local.INFO: IMEI packet received {"connection_id":172618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":172618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:03:13] local.INFO: TCP Data received {"connection_id":172618,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074fcf128012d18780007223020005a00d625..."} 
[2026-09-06 10:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fcf128012d18780007223020005a00d625..."} 
[2026-09-06 10:03:13] local.INFO: Processing buffer {"connection_id":172618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fcf128012d18780007223020005a00d625..."} 
[2026-09-06 10:03:13] local.INFO: Packet analysis {"connection_id":172618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:03:13] local.INFO: Extracted packet for processing {"connection_id":172618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:03:13] local.INFO: GPS Element Parsed {"raw_longitude":756578304,"raw_latitude":119681056,"longitude_deg":75.6578304,"latitude_deg":11.9681056,"altitude":90,"angle":214,"satellites":37,"speed":49,"hex_longitude":"2d187800","hex_latitude":"07223020","is_valid_coordinates":true} 
[2026-09-06 10:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899294976001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18159714432974848,"note":"Value kept but may cause issues"} 
[2026-09-06 10:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768999890522705920,"note":"Value kept but may cause issues"} 
[2026-09-06 10:03: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-09-06 10:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788669129000,"timestamp_ms":1788669129000,"timestamp_seconds":1788669129,"priority":1,"record_length":96,"hex_timestamp":"000001a074fcf128"} 
[2026-09-06 10:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:03:13] 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-09-06 10:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 10:03:13] 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-09-06 10:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899294976001,"66":12841,"105":206,"83":41984,"24":49,"16":18159714432974848,"45":1768999890522705920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899294976001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:03:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18159714432974848,"km_value":18159714432974.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768999890522705920,"description":"Unknown IO ID 45"} 
[2026-09-06 10:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899294976001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1768999890522705920}} 
[2026-09-06 10:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":172618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:03:13] local.INFO: GPS data processed {"connection_id":172618,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:03:13] local.INFO: Acknowledgment sent {"connection_id":172618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:03:14] local.INFO: TCP Data received {"connection_id":172618,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074fd1068012d18628007221120005400d626..."} 
[2026-09-06 10:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fd1068012d18628007221120005400d626..."} 
[2026-09-06 10:03:14] local.INFO: Processing buffer {"connection_id":172618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fd1068012d18628007221120005400d626..."} 
[2026-09-06 10:03:14] local.INFO: Packet analysis {"connection_id":172618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fd"} 
[2026-09-06 10:03:14] local.INFO: Extracted packet for processing {"connection_id":172618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fd"} 
[2026-09-06 10:03:14] local.INFO: GPS Element Parsed {"raw_longitude":756572800,"raw_latitude":119673120,"longitude_deg":75.65728,"latitude_deg":11.967312,"altitude":84,"angle":214,"satellites":38,"speed":47,"hex_longitude":"2d186280","hex_latitude":"07221120","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899297024001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18160178289442816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763159284753899520,"note":"Value kept but may cause issues"} 
[2026-09-06 10:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788669137000,"timestamp_ms":1788669137000,"timestamp_seconds":1788669137,"priority":1,"record_length":96,"hex_timestamp":"000001a074fd1068"} 
[2026-09-06 10:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:03: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-09-06 10:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 10:03:14] 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-09-06 10: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-09-06 10:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899297024001,"66":12591,"105":206,"83":41984,"24":47,"16":18160178289442816,"45":1763159284753899520},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899297024001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:03:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:03:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18160178289442816,"km_value":18160178289442.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763159284753899520,"description":"Unknown IO ID 45"} 
[2026-09-06 10:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899297024001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1763159284753899520}} 
[2026-09-06 10:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":172618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:03:14] local.INFO: GPS data processed {"connection_id":172618,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:03:14] local.INFO: Acknowledgment sent {"connection_id":172618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:03:45] local.INFO: TCP Data received {"connection_id":172618,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074fd2fa8012d184d000721f1b0004e00d726..."} 
[2026-09-06 10:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fd2fa8012d184d000721f1b0004e00d726..."} 
[2026-09-06 10:03:45] local.INFO: Processing buffer {"connection_id":172618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fd2fa8012d184d000721f1b0004e00d726..."} 
[2026-09-06 10:03:45] local.INFO: Packet analysis {"connection_id":172618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fd"} 
[2026-09-06 10:03:45] local.INFO: Extracted packet for processing {"connection_id":172618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fd"} 
[2026-09-06 10:03:45] local.INFO: GPS Element Parsed {"raw_longitude":756567296,"raw_latitude":119665072,"longitude_deg":75.6567296,"latitude_deg":11.9665072,"altitude":78,"angle":215,"satellites":38,"speed":43,"hex_longitude":"2d184d00","hex_latitude":"0721f1b0","is_valid_coordinates":true} 
[2026-09-06 10:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899299072001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18160646440878080,"note":"Value kept but may cause issues"} 
[2026-09-06 10:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757107572752588800,"note":"Value kept but may cause issues"} 
[2026-09-06 10:03: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-09-06 10:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788669145000,"timestamp_ms":1788669145000,"timestamp_seconds":1788669145,"priority":1,"record_length":96,"hex_timestamp":"000001a074fd2fa8"} 
[2026-09-06 10:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 10:03:45] 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-09-06 10:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899299072001,"66":12613,"105":206,"83":41984,"24":43,"16":18160646440878080,"45":1757107572752588800},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899299072001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:03:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:03:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18160646440878080,"km_value":18160646440878.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757107572752588800,"description":"Unknown IO ID 45"} 
[2026-09-06 10:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899299072001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1757107572752588800}} 
[2026-09-06 10:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":172618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:03:45] local.INFO: GPS data processed {"connection_id":172618,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:03:45] local.INFO: Acknowledgment sent {"connection_id":172618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:03:48] local.INFO: TCP Data received {"connection_id":172394,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:03:48] local.INFO: Processing buffer {"connection_id":172394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:03:48] local.INFO: IMEI packet received {"connection_id":172394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":172394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:03:53] local.INFO: TCP Data received {"connection_id":172394,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:03:53] local.INFO: Processing buffer {"connection_id":172394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:03:53] local.INFO: IMEI packet received {"connection_id":172394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":172394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:03:54] local.INFO: TCP Data received {"connection_id":172394,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:03:54] local.INFO: Processing buffer {"connection_id":172394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:03:54] local.INFO: Packet analysis {"connection_id":172394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:03:54] local.INFO: Extracted packet for processing {"connection_id":172394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:03:54] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899219200001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5279907640840787968,"note":"Value kept but may cause issues"} 
[2026-09-06 10:03:54] 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-09-06 10:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788669131000,"timestamp_ms":1788669131000,"timestamp_seconds":1788669131,"priority":1,"record_length":96,"hex_timestamp":"000001a074fcf8f8"} 
[2026-09-06 10:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 10:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899219200001,"66":26289,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5279907640840787968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899219200001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:03:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:03:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5279907640840787968,"description":"Unknown IO ID 45"} 
[2026-09-06 10:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899219200001,"power":26289,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5279907640840787968}} 
[2026-09-06 10:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":172394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:03:54] local.INFO: GPS data processed {"connection_id":172394,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:03:54] local.INFO: Acknowledgment sent {"connection_id":172394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:04:09] local.INFO: TCP Data received {"connection_id":172395,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:04:09] local.INFO: Processing buffer {"connection_id":172395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:04:09] local.INFO: IMEI packet received {"connection_id":172395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":172395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:04:14] local.INFO: TCP Data received {"connection_id":172395,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:04:14] local.INFO: Processing buffer {"connection_id":172395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:04:14] local.INFO: IMEI packet received {"connection_id":172395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":172395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:04:15] local.INFO: TCP Data received {"connection_id":172395,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074fd52d0012d1839000721d358004a00d326..."} 
[2026-09-06 10:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fd52d0012d1839000721d358004a00d326..."} 
[2026-09-06 10:04:15] local.INFO: Processing buffer {"connection_id":172395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fd52d0012d1839000721d358004a00d326..."} 
[2026-09-06 10:04:15] local.INFO: Packet analysis {"connection_id":172395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fd"} 
[2026-09-06 10:04:15] local.INFO: Extracted packet for processing {"connection_id":172395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fd"} 
[2026-09-06 10:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756562176,"raw_latitude":119657304,"longitude_deg":75.6562176,"latitude_deg":11.9657304,"altitude":74,"angle":211,"satellites":38,"speed":37,"hex_longitude":"2d183900","hex_latitude":"0721d358","is_valid_coordinates":true} 
[2026-09-06 10:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899301120001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161093117476864,"note":"Value kept but may cause issues"} 
[2026-09-06 10:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751055860751249408,"note":"Value kept but may cause issues"} 
[2026-09-06 10:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788669154000,"timestamp_ms":1788669154000,"timestamp_seconds":1788669154,"priority":1,"record_length":96,"hex_timestamp":"000001a074fd52d0"} 
[2026-09-06 10:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:04:15] 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-09-06 10:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-06 10:04:15] 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-09-06 10:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899301120001,"66":12515,"105":206,"83":41984,"24":37,"16":18161093117476864,"45":1751055860751249408},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899301120001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:04:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161093117476864,"km_value":18161093117476.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751055860751249408,"description":"Unknown IO ID 45"} 
[2026-09-06 10:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899301120001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1751055860751249408}} 
[2026-09-06 10:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":172395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:04:15] local.INFO: GPS data processed {"connection_id":172395,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:04:15] local.INFO: Acknowledgment sent {"connection_id":172395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:04:25] local.INFO: TCP Data received {"connection_id":172394,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:04:25] local.INFO: Processing buffer {"connection_id":172394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:04:25] local.INFO: Packet analysis {"connection_id":172394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:04:25] local.INFO: Extracted packet for processing {"connection_id":172394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:04:25] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899219200001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5279907640840787968,"note":"Value kept but may cause issues"} 
[2026-09-06 10:04:25] 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-09-06 10:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788669131000,"timestamp_ms":1788669131000,"timestamp_seconds":1788669131,"priority":1,"record_length":96,"hex_timestamp":"000001a074fcf8f8"} 
[2026-09-06 10:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 10:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:04: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-09-06 10:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899219200001,"66":26289,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5279907640840787968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899219200001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:04:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:04:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5279907640840787968,"description":"Unknown IO ID 45"} 
[2026-09-06 10:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899219200001,"power":26289,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5279907640840787968}} 
[2026-09-06 10:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":172394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:04:25] local.INFO: GPS data processed {"connection_id":172394,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:04:25] local.INFO: Acknowledgment sent {"connection_id":172394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:04:46] local.INFO: TCP Data received {"connection_id":172395,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074fd8980012d1829800721bbf0004800df28..."} 
[2026-09-06 10:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fd8980012d1829800721bbf0004800df28..."} 
[2026-09-06 10:04:46] local.INFO: Processing buffer {"connection_id":172395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fd8980012d1829800721bbf0004800df28..."} 
[2026-09-06 10:04:46] local.INFO: Packet analysis {"connection_id":172395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fd"} 
[2026-09-06 10:04:46] local.INFO: Extracted packet for processing {"connection_id":172395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fd"} 
[2026-09-06 10:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119651312,"longitude_deg":75.6558208,"latitude_deg":11.9651312,"altitude":72,"angle":223,"satellites":40,"speed":10,"hex_longitude":"2d182980","hex_latitude":"0721bbf0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899303424001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161441009827840,"note":"Value kept but may cause issues"} 
[2026-09-06 10:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745426361215047680,"note":"Value kept but may cause issues"} 
[2026-09-06 10:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788669168000,"timestamp_ms":1788669168000,"timestamp_seconds":1788669168,"priority":1,"record_length":96,"hex_timestamp":"000001a074fd8980"} 
[2026-09-06 10:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-06 10:04:46] 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-09-06 10: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-09-06 10:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899303424001,"66":12645,"105":206,"83":41984,"24":10,"16":18161441009827840,"45":1745426361215047680},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899303424001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:04:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161441009827840,"km_value":18161441009827.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745426361215047680,"description":"Unknown IO ID 45"} 
[2026-09-06 10:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899303424001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1745426361215047680}} 
[2026-09-06 10:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":172395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:04:46] local.INFO: GPS data processed {"connection_id":172395,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:04:46] local.INFO: Acknowledgment sent {"connection_id":172395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:04:48] local.INFO: TCP Data received {"connection_id":175086,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:04:48] local.INFO: Processing buffer {"connection_id":175086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:04:48] local.INFO: IMEI packet received {"connection_id":175086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":175086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:04:53] local.INFO: TCP Data received {"connection_id":175086,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:04:53] local.INFO: Processing buffer {"connection_id":175086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:04:53] local.INFO: IMEI packet received {"connection_id":175086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":175086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:04:54] local.INFO: TCP Data received {"connection_id":175086,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:04:54] local.INFO: Processing buffer {"connection_id":175086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:04:54] local.INFO: Packet analysis {"connection_id":175086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:04:54] local.INFO: Extracted packet for processing {"connection_id":175086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:04:54] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899219200001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5279907640840787968,"note":"Value kept but may cause issues"} 
[2026-09-06 10:04:54] 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-09-06 10:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788669131000,"timestamp_ms":1788669131000,"timestamp_seconds":1788669131,"priority":1,"record_length":96,"hex_timestamp":"000001a074fcf8f8"} 
[2026-09-06 10:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 10:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899219200001,"66":26289,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5279907640840787968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899219200001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:04:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:04:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5279907640840787968,"description":"Unknown IO ID 45"} 
[2026-09-06 10:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899219200001,"power":26289,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5279907640840787968}} 
[2026-09-06 10:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":175086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:04:54] local.INFO: GPS data processed {"connection_id":175086,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:04:54] local.INFO: Acknowledgment sent {"connection_id":175086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:05:09] local.INFO: TCP Data received {"connection_id":172397,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:05:09] local.INFO: Processing buffer {"connection_id":172397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:05:09] local.INFO: IMEI packet received {"connection_id":172397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":172397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:05:14] local.INFO: TCP Data received {"connection_id":172397,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:05:14] local.INFO: Processing buffer {"connection_id":172397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:05:14] local.INFO: IMEI packet received {"connection_id":172397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":172397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:05:15] local.INFO: TCP Data received {"connection_id":172397,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074fd9150012d1827c00721bab0004900f228..."} 
[2026-09-06 10:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fd9150012d1827c00721bab0004900f228..."} 
[2026-09-06 10:05:15] local.INFO: Processing buffer {"connection_id":172397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fd9150012d1827c00721bab0004900f228..."} 
[2026-09-06 10:05:15] local.INFO: Packet analysis {"connection_id":172397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fd"} 
[2026-09-06 10:05:15] local.INFO: Extracted packet for processing {"connection_id":172397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fd"} 
[2026-09-06 10:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756557760,"raw_latitude":119650992,"longitude_deg":75.655776,"latitude_deg":11.9650992,"altitude":73,"angle":242,"satellites":40,"speed":10,"hex_longitude":"2d1827c0","hex_latitude":"0721bab0","is_valid_coordinates":true} 
[2026-09-06 10:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899307008001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161466779631616,"note":"Value kept but may cause issues"} 
[2026-09-06 10:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499074498560,"note":"Value kept but may cause issues"} 
[2026-09-06 10:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788669170000,"timestamp_ms":1788669170000,"timestamp_seconds":1788669170,"priority":1,"record_length":96,"hex_timestamp":"000001a074fd9150"} 
[2026-09-06 10:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:05:15] 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-09-06 10:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-06 10:05:15] 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-09-06 10:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899307008001,"66":12591,"105":206,"83":41984,"24":10,"16":18161466779631616,"45":1741063499074498560},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899307008001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:05:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161466779631616,"km_value":18161466779631.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499074498560,"description":"Unknown IO ID 45"} 
[2026-09-06 10:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899307008001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1741063499074498560}} 
[2026-09-06 10:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":172397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:05:15] local.INFO: GPS data processed {"connection_id":172397,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:05:15] local.INFO: Acknowledgment sent {"connection_id":172397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:05:25] local.INFO: TCP Data received {"connection_id":175086,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:05:25] local.INFO: Processing buffer {"connection_id":175086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:05:25] local.INFO: Packet analysis {"connection_id":175086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:05:25] local.INFO: Extracted packet for processing {"connection_id":175086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:05:25] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 10:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899219200001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5279907640840787968,"note":"Value kept but may cause issues"} 
[2026-09-06 10:05:25] 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-09-06 10:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788669131000,"timestamp_ms":1788669131000,"timestamp_seconds":1788669131,"priority":1,"record_length":96,"hex_timestamp":"000001a074fcf8f8"} 
[2026-09-06 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-09-06 10:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 10:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 10:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:05: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-09-06 10:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899219200001,"66":26289,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5279907640840787968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899219200001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:05:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5279907640840787968,"description":"Unknown IO ID 45"} 
[2026-09-06 10:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899219200001,"power":26289,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5279907640840787968}} 
[2026-09-06 10:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":175086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:05:25] local.INFO: GPS data processed {"connection_id":175086,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:05:25] local.INFO: Acknowledgment sent {"connection_id":175086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:05:46] local.INFO: TCP Data received {"connection_id":172397,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074fda0f0012d1824800721b8d8004800e327..."} 
[2026-09-06 10:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fda0f0012d1824800721b8d8004800e327..."} 
[2026-09-06 10:05:46] local.INFO: Processing buffer {"connection_id":172397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fda0f0012d1824800721b8d8004800e327..."} 
[2026-09-06 10:05:46] local.INFO: Packet analysis {"connection_id":172397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fd"} 
[2026-09-06 10:05:46] local.INFO: Extracted packet for processing {"connection_id":172397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fd"} 
[2026-09-06 10:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650520,"longitude_deg":75.6556928,"latitude_deg":11.965052,"altitude":72,"angle":227,"satellites":39,"speed":9,"hex_longitude":"2d182480","hex_latitude":"0721b8d8","is_valid_coordinates":true} 
[2026-09-06 10:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899307520001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161514024271872,"note":"Value kept but may cause issues"} 
[2026-09-06 10:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740570917865172992,"note":"Value kept but may cause issues"} 
[2026-09-06 10:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788669174000,"timestamp_ms":1788669174000,"timestamp_seconds":1788669174,"priority":1,"record_length":96,"hex_timestamp":"000001a074fda0f0"} 
[2026-09-06 10:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 10:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899307520001,"66":12667,"105":206,"83":41984,"24":9,"16":18161514024271872,"45":1740570917865172992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899307520001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:05:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161514024271872,"km_value":18161514024271.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740570917865172992,"description":"Unknown IO ID 45"} 
[2026-09-06 10:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899307520001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1740570917865172992}} 
[2026-09-06 10:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":172397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:05:46] local.INFO: GPS data processed {"connection_id":172397,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:05:46] local.INFO: Acknowledgment sent {"connection_id":172397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:05:48] local.INFO: TCP Data received {"connection_id":173777,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:05:48] local.INFO: Processing buffer {"connection_id":173777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:05:48] local.INFO: IMEI packet received {"connection_id":173777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":173777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:05:53] local.INFO: TCP Data received {"connection_id":173777,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:05:53] local.INFO: Processing buffer {"connection_id":173777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:05:53] local.INFO: IMEI packet received {"connection_id":173777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":173777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:05:54] local.INFO: TCP Data received {"connection_id":173777,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:05:54] local.INFO: Processing buffer {"connection_id":173777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:05:54] local.INFO: Packet analysis {"connection_id":173777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:05:54] local.INFO: Extracted packet for processing {"connection_id":173777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:05:54] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899219200001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5279907640840787968,"note":"Value kept but may cause issues"} 
[2026-09-06 10:05:54] 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-09-06 10:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788669131000,"timestamp_ms":1788669131000,"timestamp_seconds":1788669131,"priority":1,"record_length":96,"hex_timestamp":"000001a074fcf8f8"} 
[2026-09-06 10:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 10:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899219200001,"66":26289,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5279907640840787968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899219200001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:05:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:05:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5279907640840787968,"description":"Unknown IO ID 45"} 
[2026-09-06 10:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899219200001,"power":26289,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5279907640840787968}} 
[2026-09-06 10:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":173777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:05:54] local.INFO: GPS data processed {"connection_id":173777,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:05:54] local.INFO: Acknowledgment sent {"connection_id":173777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:06:09] local.INFO: TCP Data received {"connection_id":172619,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:06:09] local.INFO: Processing buffer {"connection_id":172619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:06:09] local.INFO: IMEI packet received {"connection_id":172619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":172619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:06:14] local.INFO: TCP Data received {"connection_id":172619,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:06:14] local.INFO: Processing buffer {"connection_id":172619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:06:14] local.INFO: IMEI packet received {"connection_id":172619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":172619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:06:15] local.INFO: TCP Data received {"connection_id":172619,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074fda4d8012d1824000721b818004800d328..."} 
[2026-09-06 10:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fda4d8012d1824000721b818004800d328..."} 
[2026-09-06 10:06:15] local.INFO: Processing buffer {"connection_id":172619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fda4d8012d1824000721b818004800d328..."} 
[2026-09-06 10:06:15] local.INFO: Packet analysis {"connection_id":172619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fd"} 
[2026-09-06 10:06:15] local.INFO: Extracted packet for processing {"connection_id":172619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fd"} 
[2026-09-06 10:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650328,"longitude_deg":75.65568,"latitude_deg":11.9650328,"altitude":72,"angle":211,"satellites":40,"speed":9,"hex_longitude":"2d182400","hex_latitude":"0721b818","is_valid_coordinates":true} 
[2026-09-06 10:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899308544001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161526909173760,"note":"Value kept but may cause issues"} 
[2026-09-06 10:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190742528,"note":"Value kept but may cause issues"} 
[2026-09-06 10:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788669175000,"timestamp_ms":1788669175000,"timestamp_seconds":1788669175,"priority":1,"record_length":96,"hex_timestamp":"000001a074fda4d8"} 
[2026-09-06 10:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:06:15] 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-09-06 10:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-06 10:06:15] 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-09-06 10:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899308544001,"66":12667,"105":206,"83":41984,"24":9,"16":18161526909173760,"45":1739656124190742528},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899308544001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:06:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161526909173760,"km_value":18161526909173.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190742528,"description":"Unknown IO ID 45"} 
[2026-09-06 10:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899308544001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1739656124190742528}} 
[2026-09-06 10:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":172619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:06:15] local.INFO: GPS data processed {"connection_id":172619,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:06:15] local.INFO: Acknowledgment sent {"connection_id":172619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:06:25] local.INFO: TCP Data received {"connection_id":173777,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:06:25] local.INFO: Processing buffer {"connection_id":173777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:06:25] local.INFO: Packet analysis {"connection_id":173777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:06:25] local.INFO: Extracted packet for processing {"connection_id":173777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:06:25] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899219200001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5279907640840787968,"note":"Value kept but may cause issues"} 
[2026-09-06 10:06:25] 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-09-06 10:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788669131000,"timestamp_ms":1788669131000,"timestamp_seconds":1788669131,"priority":1,"record_length":96,"hex_timestamp":"000001a074fcf8f8"} 
[2026-09-06 10:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 10:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:06: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-09-06 10:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899219200001,"66":26289,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5279907640840787968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899219200001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:06:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:06:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5279907640840787968,"description":"Unknown IO ID 45"} 
[2026-09-06 10:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899219200001,"power":26289,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5279907640840787968}} 
[2026-09-06 10:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":173777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:06:25] local.INFO: GPS data processed {"connection_id":173777,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:06:25] local.INFO: Acknowledgment sent {"connection_id":173777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:06:46] local.INFO: TCP Data received {"connection_id":172619,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074fdf6e0012d1823000721b698004900cf28..."} 
[2026-09-06 10:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fdf6e0012d1823000721b698004900cf28..."} 
[2026-09-06 10:06:46] local.INFO: Processing buffer {"connection_id":172619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fdf6e0012d1823000721b698004900cf28..."} 
[2026-09-06 10:06:46] local.INFO: Packet analysis {"connection_id":172619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fd"} 
[2026-09-06 10:06:46] local.INFO: Extracted packet for processing {"connection_id":172619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fd"} 
[2026-09-06 10:06:46] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899308800001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702338048,"note":"Value kept but may cause issues"} 
[2026-09-06 10:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788669196000,"timestamp_ms":1788669196000,"timestamp_seconds":1788669196,"priority":1,"record_length":96,"hex_timestamp":"000001a074fdf6e0"} 
[2026-09-06 10:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-06 10:06:46] 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-09-06 10:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899308800001,"66":12591,"105":206,"83":41984,"24":0,"16":18161548384010240,"45":1739515386702338048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899308800001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:06:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702338048,"description":"Unknown IO ID 45"} 
[2026-09-06 10:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899308800001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702338048}} 
[2026-09-06 10:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":172619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:06:46] local.INFO: GPS data processed {"connection_id":172619,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:06:46] local.INFO: Acknowledgment sent {"connection_id":172619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:06:48] local.INFO: TCP Data received {"connection_id":175087,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:06:48] local.INFO: Processing buffer {"connection_id":175087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:06:48] local.INFO: IMEI packet received {"connection_id":175087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":175087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:06:53] local.INFO: TCP Data received {"connection_id":175087,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:06:53] local.INFO: Processing buffer {"connection_id":175087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:06:53] local.INFO: IMEI packet received {"connection_id":175087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":175087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:06:54] local.INFO: TCP Data received {"connection_id":175087,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:06:54] local.INFO: Processing buffer {"connection_id":175087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:06:54] local.INFO: Packet analysis {"connection_id":175087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:06:54] local.INFO: Extracted packet for processing {"connection_id":175087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:06:54] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899219200001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5279907640840787968,"note":"Value kept but may cause issues"} 
[2026-09-06 10:06:54] 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-09-06 10:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788669131000,"timestamp_ms":1788669131000,"timestamp_seconds":1788669131,"priority":1,"record_length":96,"hex_timestamp":"000001a074fcf8f8"} 
[2026-09-06 10:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 10:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899219200001,"66":26289,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5279907640840787968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899219200001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:06:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:06:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5279907640840787968,"description":"Unknown IO ID 45"} 
[2026-09-06 10:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899219200001,"power":26289,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5279907640840787968}} 
[2026-09-06 10:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":175087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:06:54] local.INFO: GPS data processed {"connection_id":175087,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:06:54] local.INFO: Acknowledgment sent {"connection_id":175087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:07:09] local.INFO: TCP Data received {"connection_id":173778,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:07:09] local.INFO: Processing buffer {"connection_id":173778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:07:09] local.INFO: IMEI packet received {"connection_id":173778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":173778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:07:14] local.INFO: TCP Data received {"connection_id":173778,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:07:14] local.INFO: Processing buffer {"connection_id":173778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:07:14] local.INFO: IMEI packet received {"connection_id":173778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":173778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:07:15] local.INFO: TCP Data received {"connection_id":173778,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074fe48e8012d1823000721b698004900cf28..."} 
[2026-09-06 10:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fe48e8012d1823000721b698004900cf28..."} 
[2026-09-06 10:07:15] local.INFO: Processing buffer {"connection_id":173778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fe48e8012d1823000721b698004900cf28..."} 
[2026-09-06 10:07:15] local.INFO: Packet analysis {"connection_id":173778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fe"} 
[2026-09-06 10:07:15] local.INFO: Extracted packet for processing {"connection_id":173778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fe"} 
[2026-09-06 10:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899314176001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788669217000,"timestamp_ms":1788669217000,"timestamp_seconds":1788669217,"priority":1,"record_length":96,"hex_timestamp":"000001a074fe48e8"} 
[2026-09-06 10:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:07:15] 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-09-06 10:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 10:07:15] 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-09-06 10:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899314176001,"66":12645,"105":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899314176001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:07:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:07:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899314176001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":173778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:07:15] local.INFO: GPS data processed {"connection_id":173778,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:07:15] local.INFO: Acknowledgment sent {"connection_id":173778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:07:25] local.INFO: TCP Data received {"connection_id":175087,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:07:25] local.INFO: Processing buffer {"connection_id":175087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fcf8f8012d4997c0067395a0000800272c..."} 
[2026-09-06 10:07:25] local.INFO: Packet analysis {"connection_id":175087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:07:25] local.INFO: Extracted packet for processing {"connection_id":175087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fc"} 
[2026-09-06 10:07:25] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":44,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899219200001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5279907640840787968,"note":"Value kept but may cause issues"} 
[2026-09-06 10:07:25] 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-09-06 10:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788669131000,"timestamp_ms":1788669131000,"timestamp_seconds":1788669131,"priority":1,"record_length":96,"hex_timestamp":"000001a074fcf8f8"} 
[2026-09-06 10:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 10:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:07: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-09-06 10:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899219200001,"66":26289,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5279907640840787968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899219200001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:07:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:07:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5279907640840787968,"description":"Unknown IO ID 45"} 
[2026-09-06 10:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899219200001,"power":26289,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5279907640840787968}} 
[2026-09-06 10:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":175087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:07:25] local.INFO: GPS data processed {"connection_id":175087,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:07:25] local.INFO: Acknowledgment sent {"connection_id":175087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:07:46] local.INFO: TCP Data received {"connection_id":173778,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074fe9af0012d1823000721b698004900cf27..."} 
[2026-09-06 10:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074fe9af0012d1823000721b698004900cf27..."} 
[2026-09-06 10:07:46] local.INFO: Processing buffer {"connection_id":173778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074fe9af0012d1823000721b698004900cf27..."} 
[2026-09-06 10:07:46] local.INFO: Packet analysis {"connection_id":173778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fe"} 
[2026-09-06 10:07:46] local.INFO: Extracted packet for processing {"connection_id":173778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fe"} 
[2026-09-06 10:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899319552001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788669238000,"timestamp_ms":1788669238000,"timestamp_seconds":1788669238,"priority":1,"record_length":96,"hex_timestamp":"000001a074fe9af0"} 
[2026-09-06 10:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-06 10:07:46] 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-09-06 10:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899319552001,"66":12678,"105":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899319552001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:07:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899319552001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":173778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:07:46] local.INFO: GPS data processed {"connection_id":173778,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:07:46] local.INFO: Acknowledgment sent {"connection_id":173778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:07:50] local.INFO: TCP Data received {"connection_id":172398,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:07:50] local.INFO: Processing buffer {"connection_id":172398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:07:50] local.INFO: IMEI packet received {"connection_id":172398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":172398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:07:53] local.INFO: TCP Data received {"connection_id":172398,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:07:53] local.INFO: Processing buffer {"connection_id":172398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:07:53] local.INFO: IMEI packet received {"connection_id":172398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":172398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:07:58] local.INFO: TCP Data received {"connection_id":172398,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:07:58] local.INFO: Processing buffer {"connection_id":172398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:07:58] local.INFO: IMEI packet received {"connection_id":172398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":172398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:07:59] local.INFO: TCP Data received {"connection_id":172398,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:07:59] local.INFO: Processing buffer {"connection_id":172398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:07:59] local.INFO: Packet analysis {"connection_id":172398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:07:59] local.INFO: Extracted packet for processing {"connection_id":172398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:07:59] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899297536001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:07:59] 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-09-06 10:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788669432000,"timestamp_ms":1788669432000,"timestamp_seconds":1788669432,"priority":1,"record_length":96,"hex_timestamp":"000001a0750190c0"} 
[2026-09-06 10:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-06 10:07:59] 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-09-06 10:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899297536001,"66":26180,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899297536001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:07:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:07:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899297536001,"power":26180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":172398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:07:59] local.INFO: GPS data processed {"connection_id":172398,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:07:59] local.INFO: Acknowledgment sent {"connection_id":172398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:08:04] local.INFO: TCP Data received {"connection_id":172398,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:08:04] local.INFO: Processing buffer {"connection_id":172398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:08:04] local.INFO: Packet analysis {"connection_id":172398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:08:04] local.INFO: Extracted packet for processing {"connection_id":172398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:08:04] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899297536001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:08:04] 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-09-06 10:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788669432000,"timestamp_ms":1788669432000,"timestamp_seconds":1788669432,"priority":1,"record_length":96,"hex_timestamp":"000001a0750190c0"} 
[2026-09-06 10:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-06 10:08:04] 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-09-06 10:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899297536001,"66":26180,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899297536001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:08:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:08:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899297536001,"power":26180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":172398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:08:04] local.INFO: GPS data processed {"connection_id":172398,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:08:04] local.INFO: Acknowledgment sent {"connection_id":172398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:08:09] local.INFO: TCP Data received {"connection_id":173779,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:08:09] local.INFO: Processing buffer {"connection_id":173779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:08:09] local.INFO: IMEI packet received {"connection_id":173779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":173779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:08:14] local.INFO: TCP Data received {"connection_id":173779,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:08:14] local.INFO: Processing buffer {"connection_id":173779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:08:14] local.INFO: IMEI packet received {"connection_id":173779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":173779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:08:15] local.INFO: TCP Data received {"connection_id":173779,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074feecf8012d1823000721b698004900cf27..."} 
[2026-09-06 10:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074feecf8012d1823000721b698004900cf27..."} 
[2026-09-06 10:08:15] local.INFO: Processing buffer {"connection_id":173779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074feecf8012d1823000721b698004900cf27..."} 
[2026-09-06 10:08:15] local.INFO: Packet analysis {"connection_id":173779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074fe"} 
[2026-09-06 10:08:15] local.INFO: Extracted packet for processing {"connection_id":173779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074fe"} 
[2026-09-06 10:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899324928001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788669259000,"timestamp_ms":1788669259000,"timestamp_seconds":1788669259,"priority":1,"record_length":96,"hex_timestamp":"000001a074feecf8"} 
[2026-09-06 10:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:08:15] 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-09-06 10:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 10:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899324928001,"66":12613,"105":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899324928001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:08:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:08:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899324928001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":173779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:08:15] local.INFO: GPS data processed {"connection_id":173779,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:08:15] local.INFO: Acknowledgment sent {"connection_id":173779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:08:25] local.INFO: TCP Data received {"connection_id":172396,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:08:25] local.INFO: Processing buffer {"connection_id":172396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:08:25] local.INFO: IMEI packet received {"connection_id":172396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 10:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":172396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:08:46] local.INFO: TCP Data received {"connection_id":173779,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ff3f00012d1823000721b698004900cf26..."} 
[2026-09-06 10:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ff3f00012d1823000721b698004900cf26..."} 
[2026-09-06 10:08:46] local.INFO: Processing buffer {"connection_id":173779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ff3f00012d1823000721b698004900cf26..."} 
[2026-09-06 10:08:46] local.INFO: Packet analysis {"connection_id":173779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ff"} 
[2026-09-06 10:08:46] local.INFO: Extracted packet for processing {"connection_id":173779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ff"} 
[2026-09-06 10:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899330304001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788669280000,"timestamp_ms":1788669280000,"timestamp_seconds":1788669280,"priority":1,"record_length":96,"hex_timestamp":"000001a074ff3f00"} 
[2026-09-06 10:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-06 10:08:46] 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-09-06 10: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-09-06 10:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899330304001,"66":12689,"105":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899330304001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:08:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:08:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899330304001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":173779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:08:46] local.INFO: GPS data processed {"connection_id":173779,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:08:46] local.INFO: Acknowledgment sent {"connection_id":173779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:08:48] local.INFO: TCP Data received {"connection_id":175088,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:08:48] local.INFO: Processing buffer {"connection_id":175088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:08:48] local.INFO: IMEI packet received {"connection_id":175088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":175088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:08:53] local.INFO: TCP Data received {"connection_id":175088,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:08:53] local.INFO: Processing buffer {"connection_id":175088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:08:53] local.INFO: IMEI packet received {"connection_id":175088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":175088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:08:54] local.INFO: TCP Data received {"connection_id":175088,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:08:54] local.INFO: Processing buffer {"connection_id":175088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:08:54] local.INFO: Packet analysis {"connection_id":175088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:08:54] local.INFO: Extracted packet for processing {"connection_id":175088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:08:54] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899297536001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:08:54] 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-09-06 10:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788669432000,"timestamp_ms":1788669432000,"timestamp_seconds":1788669432,"priority":1,"record_length":96,"hex_timestamp":"000001a0750190c0"} 
[2026-09-06 10:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-06 10:08:54] 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-09-06 10:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899297536001,"66":26180,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899297536001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:08:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:08:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899297536001,"power":26180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":175088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:08:54] local.INFO: GPS data processed {"connection_id":175088,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:08:54] local.INFO: Acknowledgment sent {"connection_id":175088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:09:14] local.INFO: TCP Data received {"connection_id":172399,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:09:14] local.INFO: Processing buffer {"connection_id":172399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:09:14] local.INFO: IMEI packet received {"connection_id":172399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":172399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:09:19] local.INFO: TCP Data received {"connection_id":172399,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:09:19] local.INFO: Processing buffer {"connection_id":172399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:09:19] local.INFO: IMEI packet received {"connection_id":172399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":172399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:09:20] local.INFO: TCP Data received {"connection_id":172399,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ff9108012d1823000721b698004900cf26..."} 
[2026-09-06 10:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ff9108012d1823000721b698004900cf26..."} 
[2026-09-06 10:09:20] local.INFO: Processing buffer {"connection_id":172399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ff9108012d1823000721b698004900cf26..."} 
[2026-09-06 10:09:20] local.INFO: Packet analysis {"connection_id":172399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ff"} 
[2026-09-06 10:09:20] local.INFO: Extracted packet for processing {"connection_id":172399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ff"} 
[2026-09-06 10:09:20] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899335680001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788669301000,"timestamp_ms":1788669301000,"timestamp_seconds":1788669301,"priority":1,"record_length":96,"hex_timestamp":"000001a074ff9108"} 
[2026-09-06 10:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:09:20] 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-09-06 10:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-06 10:09:20] 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-09-06 10:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899335680001,"66":12667,"105":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899335680001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:09:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:09:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899335680001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":172399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:09:20] local.INFO: GPS data processed {"connection_id":172399,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:09:20] local.INFO: Acknowledgment sent {"connection_id":172399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:09:25] local.INFO: TCP Data received {"connection_id":172399,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a074ffe310012d1823000721b698004900cf28..."} 
[2026-09-06 10:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a074ffe310012d1823000721b698004900cf28..."} 
[2026-09-06 10:09:25] local.INFO: Processing buffer {"connection_id":172399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a074ffe310012d1823000721b698004900cf28..."} 
[2026-09-06 10:09:25] local.INFO: Packet analysis {"connection_id":172399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a074ff"} 
[2026-09-06 10:09:25] local.INFO: Extracted packet for processing {"connection_id":172399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a074ff"} 
[2026-09-06 10:09:25] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899341056001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788669322000,"timestamp_ms":1788669322000,"timestamp_seconds":1788669322,"priority":1,"record_length":96,"hex_timestamp":"000001a074ffe310"} 
[2026-09-06 10:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-06 10:09:25] 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-09-06 10:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899341056001,"66":12667,"105":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899341056001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:09:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:09:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899341056001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":172399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:09:25] local.INFO: GPS data processed {"connection_id":172399,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:09:25] local.INFO: Acknowledgment sent {"connection_id":172399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:09:25] local.INFO: TCP Data received {"connection_id":175088,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:09:25] local.INFO: Processing buffer {"connection_id":175088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:09:25] local.INFO: Packet analysis {"connection_id":175088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:09:25] local.INFO: Extracted packet for processing {"connection_id":175088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:09:25] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899297536001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:09:25] 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-09-06 10:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788669432000,"timestamp_ms":1788669432000,"timestamp_seconds":1788669432,"priority":1,"record_length":96,"hex_timestamp":"000001a0750190c0"} 
[2026-09-06 10:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-06 10: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-09-06 10:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:09: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-09-06 10:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899297536001,"66":26180,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899297536001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:09:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:09:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899297536001,"power":26180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":175088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:09:25] local.INFO: GPS data processed {"connection_id":175088,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:09:25] local.INFO: Acknowledgment sent {"connection_id":175088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:09:49] local.INFO: TCP Data received {"connection_id":175089,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:09:49] local.INFO: Processing buffer {"connection_id":175089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:09:49] local.INFO: IMEI packet received {"connection_id":175089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":175089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:09:53] local.INFO: TCP Data received {"connection_id":175089,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:09:53] local.INFO: Processing buffer {"connection_id":175089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:09:53] local.INFO: IMEI packet received {"connection_id":175089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":175089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:09:54] local.INFO: TCP Data received {"connection_id":175089,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:09:54] local.INFO: Processing buffer {"connection_id":175089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:09:54] local.INFO: Packet analysis {"connection_id":175089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:09:54] local.INFO: Extracted packet for processing {"connection_id":175089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:09:54] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899297536001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:09:54] 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-09-06 10:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788669432000,"timestamp_ms":1788669432000,"timestamp_seconds":1788669432,"priority":1,"record_length":96,"hex_timestamp":"000001a0750190c0"} 
[2026-09-06 10:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-06 10:09:54] 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-09-06 10:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899297536001,"66":26180,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899297536001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:09:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:09:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899297536001,"power":26180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":175089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:09:54] local.INFO: GPS data processed {"connection_id":175089,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:09:54] local.INFO: Acknowledgment sent {"connection_id":175089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:10:09] local.INFO: TCP Data received {"connection_id":173780,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:10:09] local.INFO: Processing buffer {"connection_id":173780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:10:09] local.INFO: IMEI packet received {"connection_id":173780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":173780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:10:12] local.INFO: TCP Data received {"connection_id":173780,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:10:12] local.INFO: Processing buffer {"connection_id":173780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:10:12] local.INFO: IMEI packet received {"connection_id":173780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":173780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:10:13] local.INFO: TCP Data received {"connection_id":173780,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075003518012d1823000721b698004900cf27..."} 
[2026-09-06 10:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075003518012d1823000721b698004900cf27..."} 
[2026-09-06 10:10:13] local.INFO: Processing buffer {"connection_id":173780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075003518012d1823000721b698004900cf27..."} 
[2026-09-06 10:10:13] local.INFO: Packet analysis {"connection_id":173780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07500"} 
[2026-09-06 10:10:13] local.INFO: Extracted packet for processing {"connection_id":173780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07500"} 
[2026-09-06 10:10:13] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899346432001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:10: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-09-06 10:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788669343000,"timestamp_ms":1788669343000,"timestamp_seconds":1788669343,"priority":1,"record_length":96,"hex_timestamp":"000001a075003518"} 
[2026-09-06 10:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:10:13] 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-09-06 10:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-06 10:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899346432001,"66":12645,"105":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899346432001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:10:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:10:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899346432001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":173780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:10:13] local.INFO: GPS data processed {"connection_id":173780,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:10:13] local.INFO: Acknowledgment sent {"connection_id":173780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:10:26] local.INFO: TCP Data received {"connection_id":175089,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:10:26] local.INFO: Processing buffer {"connection_id":175089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:10:26] local.INFO: Packet analysis {"connection_id":175089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:10:26] local.INFO: Extracted packet for processing {"connection_id":175089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:10:26] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899297536001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:10:26] 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-09-06 10:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788669432000,"timestamp_ms":1788669432000,"timestamp_seconds":1788669432,"priority":1,"record_length":96,"hex_timestamp":"000001a0750190c0"} 
[2026-09-06 10:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-06 10:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:10: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-09-06 10:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899297536001,"66":26180,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899297536001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:10:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:10:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899297536001,"power":26180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":175089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:10:26] local.INFO: GPS data processed {"connection_id":175089,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:10:26] local.INFO: Acknowledgment sent {"connection_id":175089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:10:44] local.INFO: TCP Data received {"connection_id":173780,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075008720012d1823000721b698004900cf28..."} 
[2026-09-06 10:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075008720012d1823000721b698004900cf28..."} 
[2026-09-06 10:10:44] local.INFO: Processing buffer {"connection_id":173780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075008720012d1823000721b698004900cf28..."} 
[2026-09-06 10:10:44] local.INFO: Packet analysis {"connection_id":173780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07500"} 
[2026-09-06 10:10:44] local.INFO: Extracted packet for processing {"connection_id":173780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07500"} 
[2026-09-06 10:10:44] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899351808001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:10: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-09-06 10:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788669364000,"timestamp_ms":1788669364000,"timestamp_seconds":1788669364,"priority":1,"record_length":96,"hex_timestamp":"000001a075008720"} 
[2026-09-06 10:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-06 10:10:44] 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-09-06 10: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-09-06 10:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899351808001,"66":12602,"105":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899351808001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:10:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:10:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899351808001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":173780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:10:44] local.INFO: GPS data processed {"connection_id":173780,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:10:44] local.INFO: Acknowledgment sent {"connection_id":173780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:10:48] local.INFO: TCP Data received {"connection_id":172400,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:10:48] local.INFO: Processing buffer {"connection_id":172400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:10:48] local.INFO: IMEI packet received {"connection_id":172400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":172400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:10:53] local.INFO: TCP Data received {"connection_id":172400,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:10:53] local.INFO: Processing buffer {"connection_id":172400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:10:53] local.INFO: IMEI packet received {"connection_id":172400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":172400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:10:54] local.INFO: TCP Data received {"connection_id":172400,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:10:54] local.INFO: Processing buffer {"connection_id":172400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:10:54] local.INFO: Packet analysis {"connection_id":172400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:10:54] local.INFO: Extracted packet for processing {"connection_id":172400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:10:54] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899297536001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:10:54] 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-09-06 10:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788669432000,"timestamp_ms":1788669432000,"timestamp_seconds":1788669432,"priority":1,"record_length":96,"hex_timestamp":"000001a0750190c0"} 
[2026-09-06 10:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-06 10:10:54] 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-09-06 10:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899297536001,"66":26180,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899297536001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:10:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:10:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899297536001,"power":26180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":172400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:10:54] local.INFO: GPS data processed {"connection_id":172400,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:10:54] local.INFO: Acknowledgment sent {"connection_id":172400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:11:09] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:11:09] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:11:09] local.INFO: IMEI packet received {"connection_id":175091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":175091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:11:14] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:11:14] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:11:14] local.INFO: IMEI packet received {"connection_id":175091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":175091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:11:15] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07500d928012d1823000721b698004900cf27..."} 
[2026-09-06 10:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07500d928012d1823000721b698004900cf27..."} 
[2026-09-06 10:11:15] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07500d928012d1823000721b698004900cf27..."} 
[2026-09-06 10:11:15] local.INFO: Packet analysis {"connection_id":175091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07500"} 
[2026-09-06 10:11:15] local.INFO: Extracted packet for processing {"connection_id":175091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07500"} 
[2026-09-06 10:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899357184001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788669385000,"timestamp_ms":1788669385000,"timestamp_seconds":1788669385,"priority":1,"record_length":96,"hex_timestamp":"000001a07500d928"} 
[2026-09-06 10:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-06 10:11:15] 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-09-06 10:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899357184001,"66":12645,"105":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899357184001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:11:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:11:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899357184001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":175091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:11:15] local.INFO: GPS data processed {"connection_id":175091,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:11:15] local.INFO: Acknowledgment sent {"connection_id":175091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:11:25] local.INFO: TCP Data received {"connection_id":172400,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:11:25] local.INFO: Processing buffer {"connection_id":172400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:11:25] local.INFO: Packet analysis {"connection_id":172400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:11:25] local.INFO: Extracted packet for processing {"connection_id":172400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:11:25] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899297536001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:11:25] 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-09-06 10:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788669432000,"timestamp_ms":1788669432000,"timestamp_seconds":1788669432,"priority":1,"record_length":96,"hex_timestamp":"000001a0750190c0"} 
[2026-09-06 10:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-06 10: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-09-06 10:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:11: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-09-06 10:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899297536001,"66":26180,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899297536001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:11:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:11:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899297536001,"power":26180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":172400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:11:25] local.INFO: GPS data processed {"connection_id":172400,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:11:25] local.INFO: Acknowledgment sent {"connection_id":172400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:11:46] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075045f80012d1823000721b698004900cf2a..."} 
[2026-09-06 10:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075045f80012d1823000721b698004900cf2a..."} 
[2026-09-06 10:11:46] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075045f80012d1823000721b698004900cf2a..."} 
[2026-09-06 10:11:46] local.INFO: Packet analysis {"connection_id":175091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07504"} 
[2026-09-06 10:11:46] local.INFO: Extracted packet for processing {"connection_id":175091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07504"} 
[2026-09-06 10:11:46] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899416320001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:11: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-09-06 10:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788669616000,"timestamp_ms":1788669616000,"timestamp_seconds":1788669616,"priority":1,"record_length":96,"hex_timestamp":"000001a075045f80"} 
[2026-09-06 10:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:11:46] 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-09-06 10:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 10:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899416320001,"66":12548,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899416320001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:11:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:11:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899416320001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":175091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:11:46] local.INFO: GPS data processed {"connection_id":175091,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:11:46] local.INFO: Acknowledgment sent {"connection_id":175091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:11:53] local.INFO: TCP Data received {"connection_id":173781,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:11:53] local.INFO: Processing buffer {"connection_id":173781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:11:53] local.INFO: IMEI packet received {"connection_id":173781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":173781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:11:58] local.INFO: TCP Data received {"connection_id":173781,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:11:58] local.INFO: Processing buffer {"connection_id":173781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:11:58] local.INFO: IMEI packet received {"connection_id":173781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":173781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:11:59] local.INFO: TCP Data received {"connection_id":173781,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:11:59] local.INFO: Processing buffer {"connection_id":173781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:11:59] local.INFO: Packet analysis {"connection_id":173781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:11:59] local.INFO: Extracted packet for processing {"connection_id":173781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:11:59] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899297536001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:11:59] 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-09-06 10:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788669432000,"timestamp_ms":1788669432000,"timestamp_seconds":1788669432,"priority":1,"record_length":96,"hex_timestamp":"000001a0750190c0"} 
[2026-09-06 10:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-06 10:11:59] 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-09-06 10:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899297536001,"66":26180,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899297536001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:11:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:11:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899297536001,"power":26180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":173781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:11:59] local.INFO: GPS data processed {"connection_id":173781,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:11:59] local.INFO: Acknowledgment sent {"connection_id":173781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:12:04] local.INFO: TCP Data received {"connection_id":173781,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:12:04] local.INFO: Processing buffer {"connection_id":173781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750190c0012d4997c0067395a0000800272e..."} 
[2026-09-06 10:12:04] local.INFO: Packet analysis {"connection_id":173781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:12:04] local.INFO: Extracted packet for processing {"connection_id":173781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07501"} 
[2026-09-06 10:12:04] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899297536001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:04] 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-09-06 10:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788669432000,"timestamp_ms":1788669432000,"timestamp_seconds":1788669432,"priority":1,"record_length":96,"hex_timestamp":"000001a0750190c0"} 
[2026-09-06 10:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-06 10:12:04] 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-09-06 10: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-09-06 10:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899297536001,"66":26180,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899297536001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:12:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899297536001,"power":26180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":173781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:12:04] local.INFO: GPS data processed {"connection_id":173781,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:12:04] local.INFO: Acknowledgment sent {"connection_id":173781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:12:09] local.INFO: TCP Data received {"connection_id":175092,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:12:09] local.INFO: Processing buffer {"connection_id":175092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:12:09] local.INFO: IMEI packet received {"connection_id":175092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":175092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:12:14] local.INFO: TCP Data received {"connection_id":175092,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:12:14] local.INFO: Processing buffer {"connection_id":175092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:12:14] local.INFO: IMEI packet received {"connection_id":175092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":175092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:12:15] local.INFO: TCP Data received {"connection_id":175092,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07504b188012d1823000721b698004900cf29..."} 
[2026-09-06 10:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07504b188012d1823000721b698004900cf29..."} 
[2026-09-06 10:12:15] local.INFO: Processing buffer {"connection_id":175092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07504b188012d1823000721b698004900cf29..."} 
[2026-09-06 10:12:15] local.INFO: Packet analysis {"connection_id":175092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07504"} 
[2026-09-06 10:12:15] local.INFO: Extracted packet for processing {"connection_id":175092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07504"} 
[2026-09-06 10:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899421696001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:15] 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-09-06 10:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788669637000,"timestamp_ms":1788669637000,"timestamp_seconds":1788669637,"priority":1,"record_length":96,"hex_timestamp":"000001a07504b188"} 
[2026-09-06 10:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 10:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:15] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3063414857,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-06 10:12:15] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2245328896,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:15] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:15] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,107,83,24,241,157,16,133,160,13,45,182,73,42,10,66,187,41,105,1,240,69,227,117,33,4,113,205,197,35,152,239,49,2,64,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-06 10:12:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260432144064315392,"timestamp_seconds":5260432144064315.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 10:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899421696001,"66":12548,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899421696001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:12:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899421696001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":175092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:12:15] local.INFO: GPS data processed {"connection_id":175092,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:12:15] local.INFO: Acknowledgment sent {"connection_id":175092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:12:46] local.INFO: TCP Data received {"connection_id":175092,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075050390012d1823000721b698004900cf2a..."} 
[2026-09-06 10:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075050390012d1823000721b698004900cf2a..."} 
[2026-09-06 10:12:46] local.INFO: Processing buffer {"connection_id":175092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075050390012d1823000721b698004900cf2a..."} 
[2026-09-06 10:12:46] local.INFO: Packet analysis {"connection_id":175092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07505"} 
[2026-09-06 10:12:46] local.INFO: Extracted packet for processing {"connection_id":175092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07505"} 
[2026-09-06 10:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899427072001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12: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-09-06 10:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788669658000,"timestamp_ms":1788669658000,"timestamp_seconds":1788669658,"priority":1,"record_length":96,"hex_timestamp":"000001a075050390"} 
[2026-09-06 10:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:12:46] 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-09-06 10:12:46] local.INFO: IO Element 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-09-06 10:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:46] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3063414857,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-06 10:12:46] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2245328896,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:46] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:46] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,107,83,24,241,157,16,133,160,95,45,182,73,42,10,66,13,187,1,240,47,227,117,33,4,113,205,23,35,152,41,239,49,2,64,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-06 10:12:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260432139769348096,"timestamp_seconds":5260432139769348.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 10:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899427072001,"66":12515,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899427072001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:12:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:12:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899427072001,"power":12515,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":175092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:12:46] local.INFO: GPS data processed {"connection_id":175092,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:12:46] local.INFO: Acknowledgment sent {"connection_id":175092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:12:48] local.INFO: TCP Data received {"connection_id":175093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:12:48] local.INFO: Processing buffer {"connection_id":175093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:12:48] local.INFO: IMEI packet received {"connection_id":175093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":175093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:12:51] local.INFO: TCP Data received {"connection_id":175093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:12:51] local.INFO: Processing buffer {"connection_id":175093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:12:51] local.INFO: IMEI packet received {"connection_id":175093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":175093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:12:52] local.INFO: TCP Data received {"connection_id":175093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:12:52] local.INFO: Processing buffer {"connection_id":175093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:12:52] local.INFO: Packet analysis {"connection_id":175093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:12:52] local.INFO: Extracted packet for processing {"connection_id":175093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:12:52] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899374592001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:12:52] 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-09-06 10:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788669733000,"timestamp_ms":1788669733000,"timestamp_seconds":1788669733,"priority":1,"record_length":96,"hex_timestamp":"000001a075062888"} 
[2026-09-06 10:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-06 10:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:12: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-09-06 10:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899374592001,"66":26267,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899374592001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:12:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899374592001,"power":26267,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":175093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:12:52] local.INFO: GPS data processed {"connection_id":175093,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:12:52] local.INFO: Acknowledgment sent {"connection_id":175093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:13:09] local.INFO: TCP Data received {"connection_id":173782,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:13:09] local.INFO: Processing buffer {"connection_id":173782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:13:09] local.INFO: IMEI packet received {"connection_id":173782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":173782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:13:14] local.INFO: TCP Data received {"connection_id":173782,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:13:14] local.INFO: Processing buffer {"connection_id":173782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:13:14] local.INFO: IMEI packet received {"connection_id":173782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":173782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:13:15] local.INFO: TCP Data received {"connection_id":173782,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075055598012d1823000721b698004900cf28..."} 
[2026-09-06 10:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075055598012d1823000721b698004900cf28..."} 
[2026-09-06 10:13:15] local.INFO: Processing buffer {"connection_id":173782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075055598012d1823000721b698004900cf28..."} 
[2026-09-06 10:13:15] local.INFO: Packet analysis {"connection_id":173782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07505"} 
[2026-09-06 10:13:15] local.INFO: Extracted packet for processing {"connection_id":173782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07505"} 
[2026-09-06 10:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899432448001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:15] 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-09-06 10:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788669679000,"timestamp_ms":1788669679000,"timestamp_seconds":1788669679,"priority":1,"record_length":96,"hex_timestamp":"000001a075055598"} 
[2026-09-06 10:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-06 10:13:15] 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-09-06 10:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899432448001,"66":12548,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899432448001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:13:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899432448001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":173782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:13:15] local.INFO: GPS data processed {"connection_id":173782,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:13:15] local.INFO: Acknowledgment sent {"connection_id":173782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:13:23] local.INFO: TCP Data received {"connection_id":175093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:13:23] local.INFO: Processing buffer {"connection_id":175093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:13:23] local.INFO: Packet analysis {"connection_id":175093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:13:23] local.INFO: Extracted packet for processing {"connection_id":175093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:13:23] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899374592001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:23] 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-09-06 10:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788669733000,"timestamp_ms":1788669733000,"timestamp_seconds":1788669733,"priority":1,"record_length":96,"hex_timestamp":"000001a075062888"} 
[2026-09-06 10:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-06 10:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:13: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-09-06 10:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899374592001,"66":26267,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899374592001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:13:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:13:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899374592001,"power":26267,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":175093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:13:23] local.INFO: GPS data processed {"connection_id":175093,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:13:23] local.INFO: Acknowledgment sent {"connection_id":175093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:13:46] local.INFO: TCP Data received {"connection_id":173782,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07505a7a0012d1823000721b698004900cf29..."} 
[2026-09-06 10:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07505a7a0012d1823000721b698004900cf29..."} 
[2026-09-06 10:13:46] local.INFO: Processing buffer {"connection_id":173782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07505a7a0012d1823000721b698004900cf29..."} 
[2026-09-06 10:13:46] local.INFO: Packet analysis {"connection_id":173782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07505"} 
[2026-09-06 10:13:46] local.INFO: Extracted packet for processing {"connection_id":173782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07505"} 
[2026-09-06 10:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899437824001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13: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-09-06 10:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788669700000,"timestamp_ms":1788669700000,"timestamp_seconds":1788669700,"priority":1,"record_length":96,"hex_timestamp":"000001a07505a7a0"} 
[2026-09-06 10:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:13:46] 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-09-06 10:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 10:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:46] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3063414857,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-06 10:13:46] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2245328896,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:46] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:46] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,107,83,24,241,157,16,133,160,3,45,182,73,42,10,66,177,41,95,1,240,4,227,117,33,113,205,187,35,152,239,49,2,64,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-06 10:13:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260432135474380800,"timestamp_seconds":5260432135474381.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 10:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899437824001,"66":12548,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899437824001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:13:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899437824001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":173782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:13:46] local.INFO: GPS data processed {"connection_id":173782,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:13:46] local.INFO: Acknowledgment sent {"connection_id":173782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:13:48] local.INFO: TCP Data received {"connection_id":175094,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:13:48] local.INFO: Processing buffer {"connection_id":175094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:13:48] local.INFO: IMEI packet received {"connection_id":175094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":175094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:13:53] local.INFO: TCP Data received {"connection_id":175094,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:13:53] local.INFO: Processing buffer {"connection_id":175094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:13:53] local.INFO: IMEI packet received {"connection_id":175094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":175094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:13:54] local.INFO: TCP Data received {"connection_id":175094,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:13:54] local.INFO: Processing buffer {"connection_id":175094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:13:54] local.INFO: Packet analysis {"connection_id":175094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:13:54] local.INFO: Extracted packet for processing {"connection_id":175094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:13:54] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899374592001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:13:54] 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-09-06 10:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788669733000,"timestamp_ms":1788669733000,"timestamp_seconds":1788669733,"priority":1,"record_length":96,"hex_timestamp":"000001a075062888"} 
[2026-09-06 10:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-06 10:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899374592001,"66":26267,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899374592001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:13:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:13:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899374592001,"power":26267,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":175094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:13:54] local.INFO: GPS data processed {"connection_id":175094,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:13:54] local.INFO: Acknowledgment sent {"connection_id":175094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:14:00] local.INFO: TCP Data received {"connection_id":175090,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:14:00] local.INFO: Processing buffer {"connection_id":175090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:14:00] local.INFO: IMEI packet received {"connection_id":175090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 10:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":175090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:14:09] local.INFO: TCP Data received {"connection_id":173783,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:14:09] local.INFO: Processing buffer {"connection_id":173783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:14:09] local.INFO: IMEI packet received {"connection_id":173783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":173783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:14:14] local.INFO: TCP Data received {"connection_id":173783,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:14:14] local.INFO: Processing buffer {"connection_id":173783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:14:14] local.INFO: IMEI packet received {"connection_id":173783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":173783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:14:15] local.INFO: TCP Data received {"connection_id":173783,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07505f9a8012d1823000721b698004900cf28..."} 
[2026-09-06 10:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07505f9a8012d1823000721b698004900cf28..."} 
[2026-09-06 10:14:15] local.INFO: Processing buffer {"connection_id":173783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07505f9a8012d1823000721b698004900cf28..."} 
[2026-09-06 10:14:15] local.INFO: Packet analysis {"connection_id":173783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07505"} 
[2026-09-06 10:14:15] local.INFO: Extracted packet for processing {"connection_id":173783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07505"} 
[2026-09-06 10:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899443200001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:15] 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-09-06 10:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788669721000,"timestamp_ms":1788669721000,"timestamp_seconds":1788669721,"priority":1,"record_length":96,"hex_timestamp":"000001a07505f9a8"} 
[2026-09-06 10:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 10:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:15] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3063414857,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-06 10:14:15] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2245328896,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:15] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:15] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,107,83,24,241,157,16,133,160,85,45,182,73,40,10,66,3,42,177,1,240,4,227,117,33,113,205,13,35,152,239,49,2,64,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-06 10:14:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260432139769348096,"timestamp_seconds":5260432139769348.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 10:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899443200001,"66":12548,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899443200001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:14:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899443200001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":173783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:14:15] local.INFO: GPS data processed {"connection_id":173783,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:14:15] local.INFO: Acknowledgment sent {"connection_id":173783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:14:25] local.INFO: TCP Data received {"connection_id":175094,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:14:25] local.INFO: Processing buffer {"connection_id":175094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:14:25] local.INFO: Packet analysis {"connection_id":175094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:14:25] local.INFO: Extracted packet for processing {"connection_id":175094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:14:25] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899374592001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:25] 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-09-06 10:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788669733000,"timestamp_ms":1788669733000,"timestamp_seconds":1788669733,"priority":1,"record_length":96,"hex_timestamp":"000001a075062888"} 
[2026-09-06 10:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-06 10:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:14: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-09-06 10:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899374592001,"66":26267,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899374592001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:14:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:14:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899374592001,"power":26267,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":175094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:14:25] local.INFO: GPS data processed {"connection_id":175094,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:14:25] local.INFO: Acknowledgment sent {"connection_id":175094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:14:46] local.INFO: TCP Data received {"connection_id":173783,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075064bb0012d1823000721b698004900cf28..."} 
[2026-09-06 10:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075064bb0012d1823000721b698004900cf28..."} 
[2026-09-06 10:14:46] local.INFO: Processing buffer {"connection_id":173783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075064bb0012d1823000721b698004900cf28..."} 
[2026-09-06 10:14:46] local.INFO: Packet analysis {"connection_id":173783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:14:46] local.INFO: Extracted packet for processing {"connection_id":173783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899448576001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14: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-09-06 10:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788669742000,"timestamp_ms":1788669742000,"timestamp_seconds":1788669742,"priority":1,"record_length":96,"hex_timestamp":"000001a075064bb0"} 
[2026-09-06 10:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 10:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:46] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3063414857,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-06 10:14:46] local.WARNING: Large IO value detected {"io_id":95,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:46] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2245328896,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:46] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:46] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,107,83,24,241,157,16,133,160,167,45,182,73,41,10,66,85,40,3,1,240,227,117,33,4,113,205,95,35,152,42,239,49,2,64,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-06 10:14:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260432135474380800,"timestamp_seconds":5260432135474381.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 10:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899448576001,"66":12548,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899448576001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:14:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899448576001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":173783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:14:46] local.INFO: GPS data processed {"connection_id":173783,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:14:46] local.INFO: Acknowledgment sent {"connection_id":173783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:14:48] local.INFO: TCP Data received {"connection_id":175096,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:14:48] local.INFO: Processing buffer {"connection_id":175096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:14:48] local.INFO: IMEI packet received {"connection_id":175096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":175096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:14:53] local.INFO: TCP Data received {"connection_id":175096,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:14:53] local.INFO: Processing buffer {"connection_id":175096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:14:53] local.INFO: IMEI packet received {"connection_id":175096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":175096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:14:54] local.INFO: TCP Data received {"connection_id":175096,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:14:54] local.INFO: Processing buffer {"connection_id":175096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:14:54] local.INFO: Packet analysis {"connection_id":175096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:14:54] local.INFO: Extracted packet for processing {"connection_id":175096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:14:54] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899374592001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:14:54] 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-09-06 10:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788669733000,"timestamp_ms":1788669733000,"timestamp_seconds":1788669733,"priority":1,"record_length":96,"hex_timestamp":"000001a075062888"} 
[2026-09-06 10:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-06 10:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899374592001,"66":26267,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899374592001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:14:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:14:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899374592001,"power":26267,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":175096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:14:54] local.INFO: GPS data processed {"connection_id":175096,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:14:54] local.INFO: Acknowledgment sent {"connection_id":175096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:15:14] local.INFO: TCP Data received {"connection_id":172620,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:15:14] local.INFO: Processing buffer {"connection_id":172620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:15:14] local.INFO: IMEI packet received {"connection_id":172620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":172620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:15:19] local.INFO: TCP Data received {"connection_id":172620,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:15:19] local.INFO: Processing buffer {"connection_id":172620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:15:19] local.INFO: IMEI packet received {"connection_id":172620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":172620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:15:20] local.INFO: TCP Data received {"connection_id":172620,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075069db8012d1823000721b698004900cf29..."} 
[2026-09-06 10:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075069db8012d1823000721b698004900cf29..."} 
[2026-09-06 10:15:20] local.INFO: Processing buffer {"connection_id":172620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075069db8012d1823000721b698004900cf29..."} 
[2026-09-06 10:15:20] local.INFO: Packet analysis {"connection_id":172620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:15:20] local.INFO: Extracted packet for processing {"connection_id":172620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:15:20] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899453952001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:20] 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-09-06 10:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788669763000,"timestamp_ms":1788669763000,"timestamp_seconds":1788669763,"priority":1,"record_length":96,"hex_timestamp":"000001a075069db8"} 
[2026-09-06 10:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 10:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:20] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:20] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3063414857,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-06 10:15:20] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:20] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2245328896,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:20] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:20] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,107,83,24,241,157,16,133,160,249,45,182,73,40,10,66,167,41,85,1,240,4,227,117,33,113,205,177,35,152,239,49,2,64,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-06 10:15:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260432135474380800,"timestamp_seconds":5260432135474381.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 10:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899453952001,"66":12548,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899453952001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:15:20] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:15:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899453952001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":172620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:15:20] local.INFO: GPS data processed {"connection_id":172620,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:15:20] local.INFO: Acknowledgment sent {"connection_id":172620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:15:25] local.INFO: TCP Data received {"connection_id":175096,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:15:25] local.INFO: Processing buffer {"connection_id":175096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:15:25] local.INFO: Packet analysis {"connection_id":175096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:15:25] local.INFO: Extracted packet for processing {"connection_id":175096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:15:25] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899374592001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:25] 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-09-06 10:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788669733000,"timestamp_ms":1788669733000,"timestamp_seconds":1788669733,"priority":1,"record_length":96,"hex_timestamp":"000001a075062888"} 
[2026-09-06 10:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-06 10:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:15: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-09-06 10:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899374592001,"66":26267,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899374592001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:15:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:15:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899374592001,"power":26267,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":175096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:15:25] local.INFO: GPS data processed {"connection_id":175096,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:15:25] local.INFO: Acknowledgment sent {"connection_id":175096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:15:48] local.INFO: TCP Data received {"connection_id":173784,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:15:48] local.INFO: Processing buffer {"connection_id":173784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:15:48] local.INFO: IMEI packet received {"connection_id":173784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":173784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:15:51] local.INFO: TCP Data received {"connection_id":172620,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07506efc0012d1823000721b698004900cf29..."} 
[2026-09-06 10:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07506efc0012d1823000721b698004900cf29..."} 
[2026-09-06 10:15:51] local.INFO: Processing buffer {"connection_id":172620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07506efc0012d1823000721b698004900cf29..."} 
[2026-09-06 10:15:51] local.INFO: Packet analysis {"connection_id":172620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:15:51] local.INFO: Extracted packet for processing {"connection_id":172620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899459328001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:51] 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-09-06 10:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788669784000,"timestamp_ms":1788669784000,"timestamp_seconds":1788669784,"priority":1,"record_length":96,"hex_timestamp":"000001a07506efc0"} 
[2026-09-06 10:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 10:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:51] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3063414857,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-06 10:15:51] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:51] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3808480618,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:51] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2245328896,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:51] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:51] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,107,83,24,241,157,16,133,160,75,45,182,73,40,10,66,249,167,1,240,4,227,117,33,113,205,3,35,152,42,239,48,2,64,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-06 10:15:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260432139769348096,"timestamp_seconds":5260432139769348.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 10:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899459328001,"66":12548,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899459328001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:15:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:15:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899459328001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":172620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:15:51] local.INFO: GPS data processed {"connection_id":172620,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:15:51] local.INFO: Acknowledgment sent {"connection_id":172620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:15:53] local.INFO: TCP Data received {"connection_id":173784,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:15:53] local.INFO: Processing buffer {"connection_id":173784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:15:53] local.INFO: IMEI packet received {"connection_id":173784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":173784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:15:54] local.INFO: TCP Data received {"connection_id":173784,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:15:54] local.INFO: Processing buffer {"connection_id":173784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:15:54] local.INFO: Packet analysis {"connection_id":173784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:15:54] local.INFO: Extracted packet for processing {"connection_id":173784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:15:54] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899374592001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:15:54] 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-09-06 10:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788669733000,"timestamp_ms":1788669733000,"timestamp_seconds":1788669733,"priority":1,"record_length":96,"hex_timestamp":"000001a075062888"} 
[2026-09-06 10:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-06 10:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899374592001,"66":26267,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899374592001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:15:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:15:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899374592001,"power":26267,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":173784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:15:54] local.INFO: GPS data processed {"connection_id":173784,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:15:54] local.INFO: Acknowledgment sent {"connection_id":173784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:16:09] local.INFO: TCP Data received {"connection_id":172401,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:16:09] local.INFO: Processing buffer {"connection_id":172401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:16:09] local.INFO: IMEI packet received {"connection_id":172401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":172401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:16:10] local.INFO: TCP Data received {"connection_id":172401,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:16:10] local.INFO: Processing buffer {"connection_id":172401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:16:10] local.INFO: IMEI packet received {"connection_id":172401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":172401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:16:14] local.INFO: TCP Data received {"connection_id":172401,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:16:14] local.INFO: Processing buffer {"connection_id":172401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:16:14] local.INFO: IMEI packet received {"connection_id":172401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":172401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:16:15] local.INFO: TCP Data received {"connection_id":172401,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0750741c8012d1823000721b698004900cf26..."} 
[2026-09-06 10:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750741c8012d1823000721b698004900cf26..."} 
[2026-09-06 10:16:15] local.INFO: Processing buffer {"connection_id":172401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750741c8012d1823000721b698004900cf26..."} 
[2026-09-06 10:16:15] local.INFO: Packet analysis {"connection_id":172401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07507"} 
[2026-09-06 10:16:15] local.INFO: Extracted packet for processing {"connection_id":172401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07507"} 
[2026-09-06 10:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899464704001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:15] 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-09-06 10:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788669805000,"timestamp_ms":1788669805000,"timestamp_seconds":1788669805,"priority":1,"record_length":96,"hex_timestamp":"000001a0750741c8"} 
[2026-09-06 10:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 10:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:15] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184194867405,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3063414857,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-06 10:16:15] local.WARNING: Large IO value detected {"io_id":85,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:15] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2245328896,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:15] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:15] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,107,83,24,241,157,16,133,160,45,182,73,41,10,66,75,40,249,1,240,4,227,117,33,113,205,85,35,152,239,49,2,64,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-06 10:16:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260432139769348096,"timestamp_seconds":5260432139769348.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 10:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899464704001,"66":12548,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899464704001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:16:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:16:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899464704001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":172401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:16:15] local.INFO: GPS data processed {"connection_id":172401,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:16:15] local.INFO: Acknowledgment sent {"connection_id":172401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:16:25] local.INFO: TCP Data received {"connection_id":173784,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:16:25] local.INFO: Processing buffer {"connection_id":173784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:16:25] local.INFO: Packet analysis {"connection_id":173784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:16:25] local.INFO: Extracted packet for processing {"connection_id":173784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:16:25] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899374592001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:25] 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-09-06 10:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788669733000,"timestamp_ms":1788669733000,"timestamp_seconds":1788669733,"priority":1,"record_length":96,"hex_timestamp":"000001a075062888"} 
[2026-09-06 10:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-06 10:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:16: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-09-06 10:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899374592001,"66":26267,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899374592001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:16:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:16:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899374592001,"power":26267,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":173784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:16:25] local.INFO: GPS data processed {"connection_id":173784,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:16:25] local.INFO: Acknowledgment sent {"connection_id":173784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:16:46] local.INFO: TCP Data received {"connection_id":172401,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0750793d0012d1823000721b698004900cf2a..."} 
[2026-09-06 10:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750793d0012d1823000721b698004900cf2a..."} 
[2026-09-06 10:16:46] local.INFO: Processing buffer {"connection_id":172401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750793d0012d1823000721b698004900cf2a..."} 
[2026-09-06 10:16:46] local.INFO: Packet analysis {"connection_id":172401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07507"} 
[2026-09-06 10:16:46] local.INFO: Extracted packet for processing {"connection_id":172401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07507"} 
[2026-09-06 10:16:46] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899470080001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16: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-09-06 10:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788669826000,"timestamp_ms":1788669826000,"timestamp_seconds":1788669826,"priority":1,"record_length":96,"hex_timestamp":"000001a0750793d0"} 
[2026-09-06 10:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:16:46] 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-09-06 10:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 10:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:46] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3063414857,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-06 10:16:46] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:46] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2245328896,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:46] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:46] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,107,83,24,241,157,16,133,160,239,45,182,73,41,10,66,75,1,240,4,227,117,33,113,205,167,35,152,49,2,64,7,106],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-06 10:16:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260432126884446208,"timestamp_seconds":5260432126884446.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 10:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899470080001,"66":12548,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899470080001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:16:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:16:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899470080001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":172401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:16:46] local.INFO: GPS data processed {"connection_id":172401,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:16:46] local.INFO: Acknowledgment sent {"connection_id":172401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:16:53] local.INFO: TCP Data received {"connection_id":172621,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:16:53] local.INFO: Processing buffer {"connection_id":172621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:16:53] local.INFO: IMEI packet received {"connection_id":172621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":172621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:16:58] local.INFO: TCP Data received {"connection_id":172621,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:16:58] local.INFO: Processing buffer {"connection_id":172621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:16:58] local.INFO: IMEI packet received {"connection_id":172621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":172621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:16:59] local.INFO: TCP Data received {"connection_id":172621,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:16:59] local.INFO: Processing buffer {"connection_id":172621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:16:59] local.INFO: Packet analysis {"connection_id":172621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:16:59] local.INFO: Extracted packet for processing {"connection_id":172621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:16:59] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899374592001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:16:59] 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-09-06 10:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788669733000,"timestamp_ms":1788669733000,"timestamp_seconds":1788669733,"priority":1,"record_length":96,"hex_timestamp":"000001a075062888"} 
[2026-09-06 10:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-06 10:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899374592001,"66":26267,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899374592001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:16:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:16:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899374592001,"power":26267,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":172621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:16:59] local.INFO: GPS data processed {"connection_id":172621,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:16:59] local.INFO: Acknowledgment sent {"connection_id":172621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:17:03] local.INFO: TCP Data received {"connection_id":172621,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:17:03] local.INFO: Processing buffer {"connection_id":172621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075062888012d4997c0067395a0000800272e..."} 
[2026-09-06 10:17:03] local.INFO: Packet analysis {"connection_id":172621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:17:03] local.INFO: Extracted packet for processing {"connection_id":172621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07506"} 
[2026-09-06 10:17:03] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899374592001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788669733000,"timestamp_ms":1788669733000,"timestamp_seconds":1788669733,"priority":1,"record_length":96,"hex_timestamp":"000001a075062888"} 
[2026-09-06 10:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-06 10:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899374592001,"66":26267,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899374592001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:17:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899374592001,"power":26267,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":172621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:17:03] local.INFO: GPS data processed {"connection_id":172621,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:17:03] local.INFO: Acknowledgment sent {"connection_id":172621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:17:09] local.INFO: TCP Data received {"connection_id":175097,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:17:09] local.INFO: Processing buffer {"connection_id":175097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:17:09] local.INFO: IMEI packet received {"connection_id":175097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":175097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:17:12] local.INFO: TCP Data received {"connection_id":175097,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:17:12] local.INFO: Processing buffer {"connection_id":175097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:17:12] local.INFO: IMEI packet received {"connection_id":175097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":175097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:17:13] local.INFO: TCP Data received {"connection_id":175097,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07507e5d8012d1823000721b698004900cf2a..."} 
[2026-09-06 10:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07507e5d8012d1823000721b698004900cf2a..."} 
[2026-09-06 10:17:13] local.INFO: Processing buffer {"connection_id":175097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07507e5d8012d1823000721b698004900cf2a..."} 
[2026-09-06 10:17:13] local.INFO: Packet analysis {"connection_id":175097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07507"} 
[2026-09-06 10:17:13] local.INFO: Extracted packet for processing {"connection_id":175097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07507"} 
[2026-09-06 10:17:13] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899475456001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17: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-09-06 10:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788669847000,"timestamp_ms":1788669847000,"timestamp_seconds":1788669847,"priority":1,"record_length":96,"hex_timestamp":"000001a07507e5d8"} 
[2026-09-06 10:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:17:13] 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-09-06 10:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 10:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:13] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:13] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3063414857,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-06 10:17:13] local.WARNING: Large IO value detected {"io_id":249,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:13] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2245328896,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:13] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:13] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,107,83,24,241,157,16,133,160,65,45,182,73,38,10,66,239,41,1,240,4,227,117,33,113,205,249,35,152,40,49,2,64,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-06 10:17:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260432144064315392,"timestamp_seconds":5260432144064315.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 10:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899475456001,"66":12548,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899475456001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:17:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:17:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899475456001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":175097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:17:13] local.INFO: GPS data processed {"connection_id":175097,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:17:13] local.INFO: Acknowledgment sent {"connection_id":175097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:17:44] local.INFO: TCP Data received {"connection_id":175097,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0750837e0012d1823000721b698004900cf2a..."} 
[2026-09-06 10:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750837e0012d1823000721b698004900cf2a..."} 
[2026-09-06 10:17:44] local.INFO: Processing buffer {"connection_id":175097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750837e0012d1823000721b698004900cf2a..."} 
[2026-09-06 10:17:44] local.INFO: Packet analysis {"connection_id":175097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07508"} 
[2026-09-06 10:17:44] local.INFO: Extracted packet for processing {"connection_id":175097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07508"} 
[2026-09-06 10:17:44] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899480832001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:44] 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-09-06 10:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788669868000,"timestamp_ms":1788669868000,"timestamp_seconds":1788669868,"priority":1,"record_length":96,"hex_timestamp":"000001a0750837e0"} 
[2026-09-06 10:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:17:44] 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-09-06 10:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 10:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:44] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:44] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3063414857,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-06 10:17:44] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:44] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2245328896,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:44] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:44] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,107,83,24,241,157,16,133,160,147,45,182,73,42,10,66,65,38,239,1,240,4,227,117,33,113,205,75,35,152,40,49,2,64,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-06 10:17:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260432144064315392,"timestamp_seconds":5260432144064315.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 10:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899480832001,"66":12537,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899480832001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:17:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:17:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899480832001,"power":12537,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":175097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:17:44] local.INFO: GPS data processed {"connection_id":175097,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:17:44] local.INFO: Acknowledgment sent {"connection_id":175097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:17:48] local.INFO: TCP Data received {"connection_id":175098,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:17:48] local.INFO: Processing buffer {"connection_id":175098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:17:48] local.INFO: IMEI packet received {"connection_id":175098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":175098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:17:52] local.INFO: TCP Data received {"connection_id":175098,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:17:52] local.INFO: Processing buffer {"connection_id":175098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:17:52] local.INFO: IMEI packet received {"connection_id":175098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":175098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:17:53] local.INFO: TCP Data received {"connection_id":175098,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:17:53] local.INFO: Processing buffer {"connection_id":175098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:17:53] local.INFO: Packet analysis {"connection_id":175098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:17:53] local.INFO: Extracted packet for processing {"connection_id":175098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:17:53] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":47,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 10:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899451648001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:17: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-09-06 10:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788670034000,"timestamp_ms":1788670034000,"timestamp_seconds":1788670034,"priority":1,"record_length":96,"hex_timestamp":"000001a0750ac050"} 
[2026-09-06 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-09-06 10:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-06 10:17:53] 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-09-06 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-09-06 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-09-06 10:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:17: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-09-06 10:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899451648001,"66":26267,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899451648001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:17:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899451648001,"power":26267,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":175098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:17:53] local.INFO: GPS data processed {"connection_id":175098,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:17:53] local.INFO: Acknowledgment sent {"connection_id":175098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:18:09] local.INFO: TCP Data received {"connection_id":173785,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:18:09] local.INFO: Processing buffer {"connection_id":173785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:18:09] local.INFO: IMEI packet received {"connection_id":173785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":173785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:18:14] local.INFO: TCP Data received {"connection_id":173785,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:18:14] local.INFO: Processing buffer {"connection_id":173785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:18:14] local.INFO: IMEI packet received {"connection_id":173785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":173785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:18:15] local.INFO: TCP Data received {"connection_id":173785,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0750889e8012d1823000721b698004900cf2a..."} 
[2026-09-06 10:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750889e8012d1823000721b698004900cf2a..."} 
[2026-09-06 10:18:15] local.INFO: Processing buffer {"connection_id":173785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750889e8012d1823000721b698004900cf2a..."} 
[2026-09-06 10:18:15] local.INFO: Packet analysis {"connection_id":173785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07508"} 
[2026-09-06 10:18:15] local.INFO: Extracted packet for processing {"connection_id":173785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07508"} 
[2026-09-06 10:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899486208001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:15] 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-09-06 10:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788669889000,"timestamp_ms":1788669889000,"timestamp_seconds":1788669889,"priority":1,"record_length":96,"hex_timestamp":"000001a0750889e8"} 
[2026-09-06 10:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-06 10:18:15] 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-09-06 10:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899486208001,"66":12548,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899486208001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:18:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:18:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899486208001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":173785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:18:16] local.INFO: GPS data processed {"connection_id":173785,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:18:16] local.INFO: Acknowledgment sent {"connection_id":173785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:18:24] local.INFO: TCP Data received {"connection_id":175098,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:18:24] local.INFO: Processing buffer {"connection_id":175098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:18:24] local.INFO: Packet analysis {"connection_id":175098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:18:24] local.INFO: Extracted packet for processing {"connection_id":175098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:18:24] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":47,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899451648001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18: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-09-06 10:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788670034000,"timestamp_ms":1788670034000,"timestamp_seconds":1788670034,"priority":1,"record_length":96,"hex_timestamp":"000001a0750ac050"} 
[2026-09-06 10:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-06 10:18:24] 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-09-06 10: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-09-06 10:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:18: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-09-06 10:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899451648001,"66":26267,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899451648001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:18:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:18:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899451648001,"power":26267,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":175098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:18:24] local.INFO: GPS data processed {"connection_id":175098,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:18:24] local.INFO: Acknowledgment sent {"connection_id":175098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:18:47] local.INFO: TCP Data received {"connection_id":173785,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07508dbf0012d1823000721b698004900cf2a..."} 
[2026-09-06 10:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07508dbf0012d1823000721b698004900cf2a..."} 
[2026-09-06 10:18:47] local.INFO: Processing buffer {"connection_id":173785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07508dbf0012d1823000721b698004900cf2a..."} 
[2026-09-06 10:18:47] local.INFO: Packet analysis {"connection_id":173785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07508"} 
[2026-09-06 10:18:47] local.INFO: Extracted packet for processing {"connection_id":173785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07508"} 
[2026-09-06 10:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899491584001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:47] 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-09-06 10:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788669910000,"timestamp_ms":1788669910000,"timestamp_seconds":1788669910,"priority":1,"record_length":96,"hex_timestamp":"000001a07508dbf0"} 
[2026-09-06 10:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 10:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:47] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3063414857,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-06 10:18:47] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2245328896,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:47] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:47] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,107,83,24,241,157,16,133,160,55,45,182,73,42,10,66,229,147,1,240,4,227,117,33,113,205,239,35,152,41,49,2,64,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-06 10:18:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260432144064315392,"timestamp_seconds":5260432144064315.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 10:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899491584001,"66":12537,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899491584001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:18:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:18:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899491584001,"power":12537,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":173785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:18:47] local.INFO: GPS data processed {"connection_id":173785,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:18:47] local.INFO: Acknowledgment sent {"connection_id":173785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:18:49] local.INFO: TCP Data received {"connection_id":172402,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:18:49] local.INFO: Processing buffer {"connection_id":172402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:18:49] local.INFO: IMEI packet received {"connection_id":172402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":172402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:18:53] local.INFO: TCP Data received {"connection_id":172402,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:18:53] local.INFO: Processing buffer {"connection_id":172402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:18:53] local.INFO: IMEI packet received {"connection_id":172402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":172402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:18:54] local.INFO: TCP Data received {"connection_id":172402,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:18:54] local.INFO: Processing buffer {"connection_id":172402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:18:54] local.INFO: Packet analysis {"connection_id":172402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:18:54] local.INFO: Extracted packet for processing {"connection_id":172402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:18:54] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":47,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899451648001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:18:54] 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-09-06 10:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788670034000,"timestamp_ms":1788670034000,"timestamp_seconds":1788670034,"priority":1,"record_length":96,"hex_timestamp":"000001a0750ac050"} 
[2026-09-06 10:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-06 10:18:54] 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-09-06 10: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-09-06 10:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899451648001,"66":26267,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899451648001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:18:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:18:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899451648001,"power":26267,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":172402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:18:54] local.INFO: GPS data processed {"connection_id":172402,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:18:54] local.INFO: Acknowledgment sent {"connection_id":172402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:19:09] local.INFO: TCP Data received {"connection_id":173786,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:19:09] local.INFO: Processing buffer {"connection_id":173786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:19:09] local.INFO: IMEI packet received {"connection_id":173786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":173786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:19:10] local.INFO: TCP Data received {"connection_id":173786,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:19:10] local.INFO: Processing buffer {"connection_id":173786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:19:10] local.INFO: IMEI packet received {"connection_id":173786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":173786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:19:14] local.INFO: TCP Data received {"connection_id":173786,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:19:14] local.INFO: Processing buffer {"connection_id":173786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:19:14] local.INFO: IMEI packet received {"connection_id":173786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":173786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:19:15] local.INFO: TCP Data received {"connection_id":173786,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075092df8012d1823000721b698004900cf29..."} 
[2026-09-06 10:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075092df8012d1823000721b698004900cf29..."} 
[2026-09-06 10:19:15] local.INFO: Processing buffer {"connection_id":173786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075092df8012d1823000721b698004900cf29..."} 
[2026-09-06 10:19:15] local.INFO: Packet analysis {"connection_id":173786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07509"} 
[2026-09-06 10:19:15] local.INFO: Extracted packet for processing {"connection_id":173786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07509"} 
[2026-09-06 10:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899496960001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:19:15] 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-09-06 10:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788669931000,"timestamp_ms":1788669931000,"timestamp_seconds":1788669931,"priority":1,"record_length":96,"hex_timestamp":"000001a075092df8"} 
[2026-09-06 10:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-06 10:19:15] 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-09-06 10: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-09-06 10:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899496960001,"66":12504,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899496960001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:19:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:19:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899496960001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":173786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:19:15] local.INFO: GPS data processed {"connection_id":173786,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:19:15] local.INFO: Acknowledgment sent {"connection_id":173786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:19:25] local.INFO: TCP Data received {"connection_id":172402,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:19:25] local.INFO: Processing buffer {"connection_id":172402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:19:25] local.INFO: Packet analysis {"connection_id":172402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:19:25] local.INFO: Extracted packet for processing {"connection_id":172402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:19:25] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":47,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899451648001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:19:25] 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-09-06 10:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788670034000,"timestamp_ms":1788670034000,"timestamp_seconds":1788670034,"priority":1,"record_length":96,"hex_timestamp":"000001a0750ac050"} 
[2026-09-06 10:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-06 10:19: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-09-06 10: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-09-06 10:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:19: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-09-06 10:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899451648001,"66":26267,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899451648001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:19:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:19:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899451648001,"power":26267,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":172402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:19:25] local.INFO: GPS data processed {"connection_id":172402,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:19:25] local.INFO: Acknowledgment sent {"connection_id":172402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:19:46] local.INFO: TCP Data received {"connection_id":173786,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075098000012d1823000721b698004900cf2a..."} 
[2026-09-06 10:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075098000012d1823000721b698004900cf2a..."} 
[2026-09-06 10:19:46] local.INFO: Processing buffer {"connection_id":173786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075098000012d1823000721b698004900cf2a..."} 
[2026-09-06 10:19:46] local.INFO: Packet analysis {"connection_id":173786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07509"} 
[2026-09-06 10:19:46] local.INFO: Extracted packet for processing {"connection_id":173786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07509"} 
[2026-09-06 10:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899502336001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:19: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-09-06 10:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788669952000,"timestamp_ms":1788669952000,"timestamp_seconds":1788669952,"priority":1,"record_length":96,"hex_timestamp":"000001a075098000"} 
[2026-09-06 10:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 10:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899502336001,"66":12515,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899502336001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:19:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899502336001,"power":12515,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":173786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:19:46] local.INFO: GPS data processed {"connection_id":173786,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:19:46] local.INFO: Acknowledgment sent {"connection_id":173786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:19:48] local.INFO: TCP Data received {"connection_id":173787,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:19:48] local.INFO: Processing buffer {"connection_id":173787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:19:48] local.INFO: IMEI packet received {"connection_id":173787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":173787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:19:51] local.INFO: TCP Data received {"connection_id":172403,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172403,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:19:51] local.INFO: Processing buffer {"connection_id":172403,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:19:51] local.INFO: IMEI packet received {"connection_id":172403,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 10:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":172403,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:19:53] local.INFO: TCP Data received {"connection_id":173787,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:19:53] local.INFO: Processing buffer {"connection_id":173787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:19:53] local.INFO: IMEI packet received {"connection_id":173787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":173787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:19:54] local.INFO: TCP Data received {"connection_id":173787,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:19:54] local.INFO: Processing buffer {"connection_id":173787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:19:54] local.INFO: Packet analysis {"connection_id":173787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:19:54] local.INFO: Extracted packet for processing {"connection_id":173787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:19:54] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":47,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899451648001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:19:54] 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-09-06 10:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788670034000,"timestamp_ms":1788670034000,"timestamp_seconds":1788670034,"priority":1,"record_length":96,"hex_timestamp":"000001a0750ac050"} 
[2026-09-06 10:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-06 10:19:54] 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-09-06 10: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-09-06 10:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899451648001,"66":26267,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899451648001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:19:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:19:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899451648001,"power":26267,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":173787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:19:54] local.INFO: GPS data processed {"connection_id":173787,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:19:54] local.INFO: Acknowledgment sent {"connection_id":173787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:20:09] local.INFO: TCP Data received {"connection_id":172622,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:20:09] local.INFO: Processing buffer {"connection_id":172622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:20:09] local.INFO: IMEI packet received {"connection_id":172622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":172622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:20:13] local.INFO: TCP Data received {"connection_id":172622,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:20:13] local.INFO: Processing buffer {"connection_id":172622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:20:13] local.INFO: IMEI packet received {"connection_id":172622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":172622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:20:14] local.INFO: TCP Data received {"connection_id":172622,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:20:14] local.INFO: Processing buffer {"connection_id":172622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:20:14] local.INFO: IMEI packet received {"connection_id":172622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":172622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:20:15] local.INFO: TCP Data received {"connection_id":172622,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07509d208012d1823000721b698004900cf27..."} 
[2026-09-06 10:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07509d208012d1823000721b698004900cf27..."} 
[2026-09-06 10:20:15] local.INFO: Processing buffer {"connection_id":172622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07509d208012d1823000721b698004900cf27..."} 
[2026-09-06 10:20:15] local.INFO: Packet analysis {"connection_id":172622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07509"} 
[2026-09-06 10:20:15] local.INFO: Extracted packet for processing {"connection_id":172622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07509"} 
[2026-09-06 10:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899507712001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:20:15] 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-09-06 10:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788669973000,"timestamp_ms":1788669973000,"timestamp_seconds":1788669973,"priority":1,"record_length":96,"hex_timestamp":"000001a07509d208"} 
[2026-09-06 10:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-06 10:20:15] 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-09-06 10:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899507712001,"66":12526,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899507712001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:20:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:20:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899507712001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":172622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:20:15] local.INFO: GPS data processed {"connection_id":172622,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:20:15] local.INFO: Acknowledgment sent {"connection_id":172622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:20:20] local.INFO: TCP Data received {"connection_id":172622,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0750a2410012d1823000721b698004900cf2a..."} 
[2026-09-06 10:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750a2410012d1823000721b698004900cf2a..."} 
[2026-09-06 10:20:20] local.INFO: Processing buffer {"connection_id":172622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750a2410012d1823000721b698004900cf2a..."} 
[2026-09-06 10:20:20] local.INFO: Packet analysis {"connection_id":172622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:20:20] local.INFO: Extracted packet for processing {"connection_id":172622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:20:20] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899513088001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:20:20] 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-09-06 10:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788669994000,"timestamp_ms":1788669994000,"timestamp_seconds":1788669994,"priority":1,"record_length":96,"hex_timestamp":"000001a0750a2410"} 
[2026-09-06 10:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 10:20:20] 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-09-06 10:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899513088001,"66":12504,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899513088001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:20:20] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:20:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899513088001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":172622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:20:20] local.INFO: GPS data processed {"connection_id":172622,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:20:20] local.INFO: Acknowledgment sent {"connection_id":172622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:20:25] local.INFO: TCP Data received {"connection_id":173787,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:20:25] local.INFO: Processing buffer {"connection_id":173787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750ac050012d4997c0067395a0000800272f..."} 
[2026-09-06 10:20:25] local.INFO: Packet analysis {"connection_id":173787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:20:25] local.INFO: Extracted packet for processing {"connection_id":173787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:20:25] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":47,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899451648001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:20:25] 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-09-06 10:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788670034000,"timestamp_ms":1788670034000,"timestamp_seconds":1788670034,"priority":1,"record_length":96,"hex_timestamp":"000001a0750ac050"} 
[2026-09-06 10:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-06 10:20: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-09-06 10:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:20: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-09-06 10:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899451648001,"66":26267,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899451648001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:20:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:20:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899451648001,"power":26267,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":173787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:20:25] local.INFO: GPS data processed {"connection_id":173787,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:20:25] local.INFO: Acknowledgment sent {"connection_id":173787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:20:51] local.INFO: TCP Data received {"connection_id":172622,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0750a7618012d1823000721b698004900cf2a..."} 
[2026-09-06 10:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750a7618012d1823000721b698004900cf2a..."} 
[2026-09-06 10:20:51] local.INFO: Processing buffer {"connection_id":172622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750a7618012d1823000721b698004900cf2a..."} 
[2026-09-06 10:20:51] local.INFO: Packet analysis {"connection_id":172622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:20:51] local.INFO: Extracted packet for processing {"connection_id":172622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899518464001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:20:51] 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-09-06 10:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788670015000,"timestamp_ms":1788670015000,"timestamp_seconds":1788670015,"priority":1,"record_length":96,"hex_timestamp":"000001a0750a7618"} 
[2026-09-06 10:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 10:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899518464001,"66":12504,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899518464001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:20:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899518464001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":172622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:20:51] local.INFO: GPS data processed {"connection_id":172622,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:20:51] local.INFO: Acknowledgment sent {"connection_id":172622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:20:53] local.INFO: TCP Data received {"connection_id":172623,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:20:53] local.INFO: Processing buffer {"connection_id":172623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:20:53] local.INFO: IMEI packet received {"connection_id":172623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":172623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:20:54] local.INFO: TCP Data received {"connection_id":172623,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:20:54] local.INFO: Processing buffer {"connection_id":172623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:20:54] local.INFO: IMEI packet received {"connection_id":172623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":172623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:20:54] local.INFO: TCP Data received {"connection_id":172623,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750d2d68012d4997c0067395a0000800272e..."} 
[2026-09-06 10:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750d2d68012d4997c0067395a0000800272e..."} 
[2026-09-06 10:20:54] local.INFO: Processing buffer {"connection_id":172623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750d2d68012d4997c0067395a0000800272e..."} 
[2026-09-06 10:20:54] local.INFO: Packet analysis {"connection_id":172623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750d"} 
[2026-09-06 10:20:54] local.INFO: Extracted packet for processing {"connection_id":172623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750d"} 
[2026-09-06 10:20:54] local.INFO: GPS Element Parsed {"raw_longitude":759797696,"raw_latitude":108238240,"longitude_deg":75.9797696,"latitude_deg":10.823824,"altitude":8,"angle":39,"satellites":46,"speed":0,"hex_longitude":"2d4997c0","hex_latitude":"067395a0","is_valid_coordinates":true} 
[2026-09-06 10:20: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-09-06 10:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899528704001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:20:54] 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-09-06 10:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788670193000,"timestamp_ms":1788670193000,"timestamp_seconds":1788670193,"priority":1,"record_length":96,"hex_timestamp":"000001a0750d2d68"} 
[2026-09-06 10:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 10: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-06 10:20:54] 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-09-06 10: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-09-06 10:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899528704001,"66":26267,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899528704001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:20:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:20:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899528704001,"power":26267,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":172623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:20:54] local.INFO: GPS data processed {"connection_id":172623,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:20:54] local.INFO: Acknowledgment sent {"connection_id":172623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:21:14] local.INFO: TCP Data received {"connection_id":172404,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:21:14] local.INFO: Processing buffer {"connection_id":172404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:21:14] local.INFO: IMEI packet received {"connection_id":172404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":172404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:21:17] local.INFO: TCP Data received {"connection_id":172404,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:21:17] local.INFO: Processing buffer {"connection_id":172404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:21:17] local.INFO: IMEI packet received {"connection_id":172404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":172404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:21:17] local.INFO: TCP Data received {"connection_id":172404,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0750ac820012d1823000721b698004900cf28..."} 
[2026-09-06 10:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750ac820012d1823000721b698004900cf28..."} 
[2026-09-06 10:21:17] local.INFO: Processing buffer {"connection_id":172404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750ac820012d1823000721b698004900cf28..."} 
[2026-09-06 10:21:17] local.INFO: Packet analysis {"connection_id":172404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:21:17] local.INFO: Extracted packet for processing {"connection_id":172404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750a"} 
[2026-09-06 10:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899523840001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:21:17] 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-09-06 10:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788670036000,"timestamp_ms":1788670036000,"timestamp_seconds":1788670036,"priority":1,"record_length":96,"hex_timestamp":"000001a0750ac820"} 
[2026-09-06 10:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:21:17] 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-09-06 10:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 10:21:17] 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-09-06 10:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":172404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":172404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":172404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899523840001,"66":12461,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899523840001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:21:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:21:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899523840001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":172404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:21:17] local.INFO: GPS data processed {"connection_id":172404,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:21:17] local.INFO: Acknowledgment sent {"connection_id":172404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:21:20] local.INFO: TCP Data received {"connection_id":172404,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0750b1a28012d1823000721b698004900cf29..."} 
[2026-09-06 10:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750b1a28012d1823000721b698004900cf29..."} 
[2026-09-06 10:21:20] local.INFO: Processing buffer {"connection_id":172404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750b1a28012d1823000721b698004900cf29..."} 
[2026-09-06 10:21:20] local.INFO: Packet analysis {"connection_id":172404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750b"} 
[2026-09-06 10:21:20] local.INFO: Extracted packet for processing {"connection_id":172404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750b"} 
[2026-09-06 10:21:20] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649944,"longitude_deg":75.6556544,"latitude_deg":11.9649944,"altitude":73,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-09-06 10:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899529216001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161548384010240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:21:20] 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-09-06 10:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788670057000,"timestamp_ms":1788670057000,"timestamp_seconds":1788670057,"priority":1,"record_length":96,"hex_timestamp":"000001a0750b1a28"} 
[2026-09-06 10:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899529216001,"66":12461,"107":206,"83":41984,"24":0,"16":18161548384010240,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 10:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899529216001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:21:20] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 10:21:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161548384010240,"km_value":18161548384010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899529216001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":172404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:21:20] local.INFO: GPS data processed {"connection_id":172404,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:21:20] local.INFO: Acknowledgment sent {"connection_id":172404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:21:26] local.INFO: TCP Data received {"connection_id":172623,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750d8740012d49a7800673a9f8000800292e..."} 
[2026-09-06 10:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750d8740012d49a7800673a9f8000800292e..."} 
[2026-09-06 10:21:26] local.INFO: Processing buffer {"connection_id":172623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750d8740012d49a7800673a9f8000800292e..."} 
[2026-09-06 10:21:26] local.INFO: Packet analysis {"connection_id":172623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750d"} 
[2026-09-06 10:21:26] local.INFO: Extracted packet for processing {"connection_id":172623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750d"} 
[2026-09-06 10:21:26] local.INFO: GPS Element Parsed {"raw_longitude":759801728,"raw_latitude":108243448,"longitude_deg":75.9801728,"latitude_deg":10.8243448,"altitude":8,"angle":41,"satellites":46,"speed":0,"hex_longitude":"2d49a780","hex_latitude":"0673a9f8","is_valid_coordinates":true} 
[2026-09-06 10:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899569408001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302918220193570816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:21:26] 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-09-06 10:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788670216000,"timestamp_ms":1788670216000,"timestamp_seconds":1788670216,"priority":1,"record_length":96,"hex_timestamp":"000001a0750d8740"} 
[2026-09-06 10:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:21:26] 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-09-06 10:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-06 10:21:26] 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-09-06 10:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:21: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-09-06 10:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899569408001,"66":27376,"81":206,"80":60160,"24":0,"16":400411245431226368,"45":5302918220193570816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-06 10:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899569408001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:21:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 10:21:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302918220193570816,"description":"Unknown IO ID 45"} 
[2026-09-06 10:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899569408001,"power":27376,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5302918220193570816}} 
[2026-09-06 10:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":172623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:21:26] local.INFO: GPS data processed {"connection_id":172623,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:21:26] local.INFO: Acknowledgment sent {"connection_id":172623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:21:48] local.INFO: TCP Data received {"connection_id":175099,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:21:48] local.INFO: Processing buffer {"connection_id":175099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:21:48] local.INFO: IMEI packet received {"connection_id":175099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":175099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:21:51] local.INFO: TCP Data received {"connection_id":172404,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0750b3d50012d1822c00721b6e8004300dc2b..."} 
[2026-09-06 10:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750b3d50012d1822c00721b6e8004300dc2b..."} 
[2026-09-06 10:21:51] local.INFO: Processing buffer {"connection_id":172404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750b3d50012d1822c00721b6e8004300dc2b..."} 
[2026-09-06 10:21:51] local.INFO: Packet analysis {"connection_id":172404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750b"} 
[2026-09-06 10:21:51] local.INFO: Extracted packet for processing {"connection_id":172404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750b"} 
[2026-09-06 10:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119650024,"longitude_deg":75.655648,"latitude_deg":11.9650024,"altitude":67,"angle":220,"satellites":43,"speed":2,"hex_longitude":"2d1822c0","hex_latitude":"0721b6e8","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899534592001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161552678977536,"note":"Value kept but may cause issues"} 
[2026-09-06 10:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725529088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788670066000,"timestamp_ms":1788670066000,"timestamp_seconds":1788670066,"priority":1,"record_length":96,"hex_timestamp":"000001a0750b3d50"} 
[2026-09-06 10:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899534592001,"66":12504,"105":206,"83":41984,"24":2,"16":18161552678977536,"45":1739233911725529088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899534592001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:21:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161552678977536,"km_value":18161552678977.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725529088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899534592001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739233911725529088}} 
[2026-09-06 10:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":172404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:21:51] local.INFO: GPS data processed {"connection_id":172404,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:21:51] local.INFO: Acknowledgment sent {"connection_id":172404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:21:53] local.INFO: TCP Data received {"connection_id":175099,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:21:53] local.INFO: Processing buffer {"connection_id":175099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:21:53] local.INFO: IMEI packet received {"connection_id":175099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":175099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:21:54] local.INFO: TCP Data received {"connection_id":175099,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750dd948012d49a7800673a9f8000800292d..."} 
[2026-09-06 10:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750dd948012d49a7800673a9f8000800292d..."} 
[2026-09-06 10:21:54] local.INFO: Processing buffer {"connection_id":175099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750dd948012d49a7800673a9f8000800292d..."} 
[2026-09-06 10:21:54] local.INFO: Packet analysis {"connection_id":175099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750d"} 
[2026-09-06 10:21:54] local.INFO: Extracted packet for processing {"connection_id":175099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750d"} 
[2026-09-06 10:21:54] local.INFO: GPS Element Parsed {"raw_longitude":759801728,"raw_latitude":108243448,"longitude_deg":75.9801728,"latitude_deg":10.8243448,"altitude":8,"angle":41,"satellites":45,"speed":0,"hex_longitude":"2d49a780","hex_latitude":"0673a9f8","is_valid_coordinates":true} 
[2026-09-06 10:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899575296001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411245431226368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5307351451078096896,"note":"Value kept but may cause issues"} 
[2026-09-06 10:21: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-09-06 10:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788670237000,"timestamp_ms":1788670237000,"timestamp_seconds":1788670237,"priority":1,"record_length":96,"hex_timestamp":"000001a0750dd948"} 
[2026-09-06 10:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-06 10:21: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-09-06 10:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899575296001,"66":27767,"218":206,"80":60160,"24":0,"16":400411245431226368,"45":5307351451078096896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-09-06 10:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899575296001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:21:54] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-06 10:21:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411245431226368,"km_value":400411245431226.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5307351451078096896,"description":"Unknown IO ID 45"} 
[2026-09-06 10:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899575296001,"power":27767,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5307351451078096896}} 
[2026-09-06 10:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":175099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:21:54] local.INFO: GPS data processed {"connection_id":175099,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:21:54] local.INFO: Acknowledgment sent {"connection_id":175099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:22:09] local.INFO: TCP Data received {"connection_id":172405,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:22:09] local.INFO: Processing buffer {"connection_id":172405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:22:09] local.INFO: IMEI packet received {"connection_id":172405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":172405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:22:14] local.INFO: TCP Data received {"connection_id":172405,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:22:14] local.INFO: Processing buffer {"connection_id":172405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:22:14] local.INFO: IMEI packet received {"connection_id":172405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":172405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:22:15] local.INFO: TCP Data received {"connection_id":172405,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0750b4cf0012d1821c00721b5e0004300cd2b..."} 
[2026-09-06 10:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750b4cf0012d1821c00721b5e0004300cd2b..."} 
[2026-09-06 10:22:15] local.INFO: Processing buffer {"connection_id":172405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750b4cf0012d1821c00721b5e0004300cd2b..."} 
[2026-09-06 10:22:15] local.INFO: Packet analysis {"connection_id":172405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750b"} 
[2026-09-06 10:22:15] local.INFO: Extracted packet for processing {"connection_id":172405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750b"} 
[2026-09-06 10:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649760,"longitude_deg":75.6556224,"latitude_deg":11.964976,"altitude":67,"angle":205,"satellites":43,"speed":3,"hex_longitude":"2d1821c0","hex_latitude":"0721b5e0","is_valid_coordinates":true} 
[2026-09-06 10:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899536896001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161569858846720,"note":"Value kept but may cause issues"} 
[2026-09-06 10:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981371904,"note":"Value kept but may cause issues"} 
[2026-09-06 10:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788670070000,"timestamp_ms":1788670070000,"timestamp_seconds":1788670070,"priority":1,"record_length":96,"hex_timestamp":"000001a0750b4cf0"} 
[2026-09-06 10:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 10:22:15] 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-09-06 10:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899536896001,"66":12461,"105":206,"83":41984,"24":3,"16":18161569858846720,"45":1739163542981371904},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899536896001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:22:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:22:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161569858846720,"km_value":18161569858846.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981371904,"description":"Unknown IO ID 45"} 
[2026-09-06 10:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899536896001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739163542981371904}} 
[2026-09-06 10:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":172405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:22:15] local.INFO: GPS data processed {"connection_id":172405,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:22:15] local.INFO: Acknowledgment sent {"connection_id":172405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:22:25] local.INFO: TCP Data received {"connection_id":175099,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750e2380012d49bf000673c3d0000700252d..."} 
[2026-09-06 10:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750e2380012d49bf000673c3d0000700252d..."} 
[2026-09-06 10:22:25] local.INFO: Processing buffer {"connection_id":175099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750e2380012d49bf000673c3d0000700252d..."} 
[2026-09-06 10:22:25] local.INFO: Packet analysis {"connection_id":175099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750e"} 
[2026-09-06 10:22:25] local.INFO: Extracted packet for processing {"connection_id":175099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750e"} 
[2026-09-06 10:22:25] local.INFO: GPS Element Parsed {"raw_longitude":759807744,"raw_latitude":108250064,"longitude_deg":75.9807744,"latitude_deg":10.8250064,"altitude":7,"angle":37,"satellites":45,"speed":30,"hex_longitude":"2d49bf00","hex_latitude":"0673c3d0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899580672001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400411679222923264,"note":"Value kept but may cause issues"} 
[2026-09-06 10:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5307351451078096896,"note":"Value kept but may cause issues"} 
[2026-09-06 10:22: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-09-06 10:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788670256000,"timestamp_ms":1788670256000,"timestamp_seconds":1788670256,"priority":1,"record_length":96,"hex_timestamp":"000001a0750e2380"} 
[2026-09-06 10:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:22:25] 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-09-06 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 10:22: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-09-06 10: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-09-06 10:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:22: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-09-06 10:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899580672001,"66":27658,"218":206,"80":60160,"24":30,"16":400411679222923264,"45":5307351451078096896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-09-06 10:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899580672001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:22:25] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-06 10:22:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400411679222923264,"km_value":400411679222923.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5307351451078096896,"description":"Unknown IO ID 45"} 
[2026-09-06 10:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899580672001,"power":27658,"unknown_218":206,"unknown_80":60160,"ignition":30,"odometer":null,"unknown_45":5307351451078096896}} 
[2026-09-06 10:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":175099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:22:25] local.INFO: GPS data processed {"connection_id":175099,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:22:25] local.INFO: Acknowledgment sent {"connection_id":175099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:22:46] local.INFO: TCP Data received {"connection_id":172405,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0750b9ef8012d1821000721b440004400d328..."} 
[2026-09-06 10:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750b9ef8012d1821000721b440004400d328..."} 
[2026-09-06 10:22:46] local.INFO: Processing buffer {"connection_id":172405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750b9ef8012d1821000721b440004400d328..."} 
[2026-09-06 10:22:46] local.INFO: Packet analysis {"connection_id":172405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750b"} 
[2026-09-06 10:22:46] local.INFO: Extracted packet for processing {"connection_id":172405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750b"} 
[2026-09-06 10:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899537920001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004593664,"note":"Value kept but may cause issues"} 
[2026-09-06 10:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788670091000,"timestamp_ms":1788670091000,"timestamp_seconds":1788670091,"priority":1,"record_length":96,"hex_timestamp":"000001a0750b9ef8"} 
[2026-09-06 10:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:22:46] 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-09-06 10:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899537920001,"66":12504,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738882068004593664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899537920001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:22:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004593664,"description":"Unknown IO ID 45"} 
[2026-09-06 10:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899537920001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004593664}} 
[2026-09-06 10:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":172405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:22:46] local.INFO: GPS data processed {"connection_id":172405,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:22:46] local.INFO: Acknowledgment sent {"connection_id":172405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:22:48] local.INFO: TCP Data received {"connection_id":172406,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:22:48] local.INFO: Processing buffer {"connection_id":172406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:22:48] local.INFO: IMEI packet received {"connection_id":172406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":172406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:22:51] local.INFO: TCP Data received {"connection_id":172406,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:22:51] local.INFO: Processing buffer {"connection_id":172406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:22:51] local.INFO: IMEI packet received {"connection_id":172406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":172406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:22:52] local.INFO: TCP Data received {"connection_id":172406,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750e4a90012d49d5c00673df98000800262c..."} 
[2026-09-06 10:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750e4a90012d49d5c00673df98000800262c..."} 
[2026-09-06 10:22:52] local.INFO: Processing buffer {"connection_id":172406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750e4a90012d49d5c00673df98000800262c..."} 
[2026-09-06 10:22:52] local.INFO: Packet analysis {"connection_id":172406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750e"} 
[2026-09-06 10:22:52] local.INFO: Extracted packet for processing {"connection_id":172406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750e"} 
[2026-09-06 10:22:52] local.INFO: GPS Element Parsed {"raw_longitude":759813568,"raw_latitude":108257176,"longitude_deg":75.9813568,"latitude_deg":10.8257176,"altitude":8,"angle":38,"satellites":44,"speed":41,"hex_longitude":"2d49d5c0","hex_latitude":"0673df98","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899585536001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400412121604554752,"note":"Value kept but may cause issues"} 
[2026-09-06 10:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5313966113032491008,"note":"Value kept but may cause issues"} 
[2026-09-06 10:22:52] 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-09-06 10:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788670266000,"timestamp_ms":1788670266000,"timestamp_seconds":1788670266,"priority":1,"record_length":96,"hex_timestamp":"000001a0750e4a90"} 
[2026-09-06 10:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 10:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:22: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-09-06 10:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899585536001,"66":27832,"218":206,"80":60160,"24":41,"16":400412121604554752,"45":5313966113032491008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-09-06 10:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899585536001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:22:52] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-06 10:22:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400412121604554752,"km_value":400412121604554.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5313966113032491008,"description":"Unknown IO ID 45"} 
[2026-09-06 10:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899585536001,"power":27832,"unknown_218":206,"unknown_80":60160,"ignition":41,"odometer":null,"unknown_45":5313966113032491008}} 
[2026-09-06 10:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":172406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:22:52] local.INFO: GPS data processed {"connection_id":172406,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:22:52] local.INFO: Acknowledgment sent {"connection_id":172406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:23:09] local.INFO: TCP Data received {"connection_id":173788,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:23:09] local.INFO: Processing buffer {"connection_id":173788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:23:09] local.INFO: IMEI packet received {"connection_id":173788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":173788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:23:14] local.INFO: TCP Data received {"connection_id":173788,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:23:14] local.INFO: Processing buffer {"connection_id":173788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:23:14] local.INFO: IMEI packet received {"connection_id":173788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":173788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:23:15] local.INFO: TCP Data received {"connection_id":173788,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0750bf100012d1821000721b440004400d329..."} 
[2026-09-06 10:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750bf100012d1821000721b440004400d329..."} 
[2026-09-06 10:23:15] local.INFO: Processing buffer {"connection_id":173788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750bf100012d1821000721b440004400d329..."} 
[2026-09-06 10:23:15] local.INFO: Packet analysis {"connection_id":173788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750b"} 
[2026-09-06 10:23:15] local.INFO: Extracted packet for processing {"connection_id":173788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750b"} 
[2026-09-06 10:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899543296001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788670112000,"timestamp_ms":1788670112000,"timestamp_seconds":1788670112,"priority":1,"record_length":96,"hex_timestamp":"000001a0750bf100"} 
[2026-09-06 10:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 10:23:15] 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-09-06 10:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899543296001,"66":12461,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899543296001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:23:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899543296001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":173788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:23:15] local.INFO: GPS data processed {"connection_id":173788,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:23:15] local.INFO: Acknowledgment sent {"connection_id":173788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:23:23] local.INFO: TCP Data received {"connection_id":172406,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750f7f28012d4ae60006752b48000d00252c..."} 
[2026-09-06 10:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750f7f28012d4ae60006752b48000d00252c..."} 
[2026-09-06 10:23:23] local.INFO: Processing buffer {"connection_id":172406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750f7f28012d4ae60006752b48000d00252c..."} 
[2026-09-06 10:23:23] local.INFO: Packet analysis {"connection_id":172406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750f"} 
[2026-09-06 10:23:23] local.INFO: Extracted packet for processing {"connection_id":172406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750f"} 
[2026-09-06 10:23:23] local.INFO: GPS Element Parsed {"raw_longitude":759883264,"raw_latitude":108342088,"longitude_deg":75.9883264,"latitude_deg":10.8342088,"altitude":13,"angle":37,"satellites":44,"speed":59,"hex_longitude":"2d4ae600","hex_latitude":"06752b48","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899606784001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400417408709296128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5390949519184601088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:23: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-09-06 10:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788670345000,"timestamp_ms":1788670345000,"timestamp_seconds":1788670345,"priority":1,"record_length":96,"hex_timestamp":"000001a0750f7f28"} 
[2026-09-06 10:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 10:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:23: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-09-06 10:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899606784001,"66":27876,"206":206,"80":60160,"24":59,"16":400417408709296128,"45":5390949519184601088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-09-06 10:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899606784001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:23:23] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-06 10:23:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400417408709296128,"km_value":400417408709296.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5390949519184601088,"description":"Unknown IO ID 45"} 
[2026-09-06 10:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899606784001,"power":27876,"unknown_206":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5390949519184601088}} 
[2026-09-06 10:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":172406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:23:23] local.INFO: GPS data processed {"connection_id":172406,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:23:23] local.INFO: Acknowledgment sent {"connection_id":172406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:23:46] local.INFO: TCP Data received {"connection_id":173788,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0750f7758012d1821000721b440004400d32b..."} 
[2026-09-06 10:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750f7758012d1821000721b440004400d32b..."} 
[2026-09-06 10:23:46] local.INFO: Processing buffer {"connection_id":173788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750f7758012d1821000721b440004400d32b..."} 
[2026-09-06 10:23:46] local.INFO: Packet analysis {"connection_id":173788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750f"} 
[2026-09-06 10:23:46] local.INFO: Extracted packet for processing {"connection_id":173788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750f"} 
[2026-09-06 10:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899602432001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788670343000,"timestamp_ms":1788670343000,"timestamp_seconds":1788670343,"priority":1,"record_length":96,"hex_timestamp":"000001a0750f7758"} 
[2026-09-06 10:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:23: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-09-06 10:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 10:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899602432001,"66":12504,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899602432001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:23:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899602432001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":173788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:23:46] local.INFO: GPS data processed {"connection_id":173788,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:23:46] local.INFO: Acknowledgment sent {"connection_id":173788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:23:48] local.INFO: TCP Data received {"connection_id":173789,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:23:48] local.INFO: Processing buffer {"connection_id":173789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:23:48] local.INFO: IMEI packet received {"connection_id":173789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":173789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:23:50] local.INFO: TCP Data received {"connection_id":173789,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:23:50] local.INFO: Processing buffer {"connection_id":173789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:23:50] local.INFO: IMEI packet received {"connection_id":173789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":173789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:24:03] local.INFO: TCP Data received {"connection_id":173789,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:24:03] local.INFO: Processing buffer {"connection_id":173789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:24:03] local.INFO: IMEI packet received {"connection_id":173789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":173789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:24:04] local.INFO: TCP Data received {"connection_id":173789,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750f9a80012d4aff4006754af8000d00262d..."} 
[2026-09-06 10:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750f9a80012d4aff4006754af8000d00262d..."} 
[2026-09-06 10:24:04] local.INFO: Processing buffer {"connection_id":173789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750f9a80012d4aff4006754af8000d00262d..."} 
[2026-09-06 10:24:04] local.INFO: Packet analysis {"connection_id":173789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750f"} 
[2026-09-06 10:24:04] local.INFO: Extracted packet for processing {"connection_id":173789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750f"} 
[2026-09-06 10:24:04] local.INFO: GPS Element Parsed {"raw_longitude":759889728,"raw_latitude":108350200,"longitude_deg":75.9889728,"latitude_deg":10.83502,"altitude":13,"angle":38,"satellites":45,"speed":59,"hex_longitude":"2d4aff40","hex_latitude":"06754af8","is_valid_coordinates":true} 
[2026-09-06 10:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899608320001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400417911220469760,"note":"Value kept but may cause issues"} 
[2026-09-06 10:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5397001231185692672,"note":"Value kept but may cause issues"} 
[2026-09-06 10:24:04] 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-09-06 10:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788670352000,"timestamp_ms":1788670352000,"timestamp_seconds":1788670352,"priority":1,"record_length":96,"hex_timestamp":"000001a0750f9a80"} 
[2026-09-06 10:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:24:04] 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-09-06 10:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 10:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899608320001,"66":27930,"206":206,"80":60160,"24":59,"16":400417911220469760,"45":5397001231185692672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-09-06 10:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899608320001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:24:04] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-06 10:24:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400417911220469760,"km_value":400417911220469.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5397001231185692672,"description":"Unknown IO ID 45"} 
[2026-09-06 10:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899608320001,"power":27930,"unknown_206":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5397001231185692672}} 
[2026-09-06 10:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":173789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:24:04] local.INFO: GPS data processed {"connection_id":173789,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:24:04] local.INFO: Acknowledgment sent {"connection_id":173789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:24:04] local.INFO: TCP Data received {"connection_id":173789,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0750fb1f0012d4b150006756650000d00252c..."} 
[2026-09-06 10:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750fb1f0012d4b150006756650000d00252c..."} 
[2026-09-06 10:24:04] local.INFO: Processing buffer {"connection_id":173789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750fb1f0012d4b150006756650000d00252c..."} 
[2026-09-06 10:24:04] local.INFO: Packet analysis {"connection_id":173789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750f"} 
[2026-09-06 10:24:04] local.INFO: Extracted packet for processing {"connection_id":173789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750f"} 
[2026-09-06 10:24:04] local.INFO: GPS Element Parsed {"raw_longitude":759895296,"raw_latitude":108357200,"longitude_deg":75.9895296,"latitude_deg":10.83572,"altitude":13,"angle":37,"satellites":44,"speed":58,"hex_longitude":"2d4b1500","hex_latitude":"06756650","is_valid_coordinates":true} 
[2026-09-06 10:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899610112001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400418340717199360,"note":"Value kept but may cause issues"} 
[2026-09-06 10:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5404108474349713408,"note":"Value kept but may cause issues"} 
[2026-09-06 10:24:04] 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-09-06 10:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788670358000,"timestamp_ms":1788670358000,"timestamp_seconds":1788670358,"priority":1,"record_length":96,"hex_timestamp":"000001a0750fb1f0"} 
[2026-09-06 10:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-06 10:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899610112001,"66":27930,"206":206,"80":60160,"24":58,"16":400418340717199360,"45":5404108474349713408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-09-06 10:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899610112001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:24:04] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-06 10:24:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400418340717199360,"km_value":400418340717199.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5404108474349713408,"description":"Unknown IO ID 45"} 
[2026-09-06 10:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899610112001,"power":27930,"unknown_206":206,"unknown_80":60160,"ignition":58,"odometer":null,"unknown_45":5404108474349713408}} 
[2026-09-06 10:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":173789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:24:04] local.INFO: GPS data processed {"connection_id":173789,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:24:04] local.INFO: Acknowledgment sent {"connection_id":173789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:24:09] local.INFO: TCP Data received {"connection_id":173790,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:24:09] local.INFO: Processing buffer {"connection_id":173790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:24:09] local.INFO: IMEI packet received {"connection_id":173790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":173790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:24:14] local.INFO: TCP Data received {"connection_id":173790,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:24:14] local.INFO: Processing buffer {"connection_id":173790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:24:14] local.INFO: IMEI packet received {"connection_id":173790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":173790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:24:15] local.INFO: TCP Data received {"connection_id":173790,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0750fc960012d1821000721b440004400d329..."} 
[2026-09-06 10:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0750fc960012d1821000721b440004400d329..."} 
[2026-09-06 10:24:15] local.INFO: Processing buffer {"connection_id":173790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0750fc960012d1821000721b440004400d329..."} 
[2026-09-06 10:24:15] local.INFO: Packet analysis {"connection_id":173790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0750f"} 
[2026-09-06 10:24:15] local.INFO: Extracted packet for processing {"connection_id":173790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0750f"} 
[2026-09-06 10:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899607808001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788670364000,"timestamp_ms":1788670364000,"timestamp_seconds":1788670364,"priority":1,"record_length":96,"hex_timestamp":"000001a0750fc960"} 
[2026-09-06 10:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 10:24:15] 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-09-06 10:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899607808001,"66":12504,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899607808001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:24:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:24:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899607808001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":173790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:24:15] local.INFO: GPS data processed {"connection_id":173790,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:24:15] local.INFO: Acknowledgment sent {"connection_id":173790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:24:46] local.INFO: TCP Data received {"connection_id":173790,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075101b68012d1821000721b440004400d328..."} 
[2026-09-06 10:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075101b68012d1821000721b440004400d328..."} 
[2026-09-06 10:24:46] local.INFO: Processing buffer {"connection_id":173790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075101b68012d1821000721b440004400d328..."} 
[2026-09-06 10:24:46] local.INFO: Packet analysis {"connection_id":173790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07510"} 
[2026-09-06 10:24:46] local.INFO: Extracted packet for processing {"connection_id":173790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07510"} 
[2026-09-06 10:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899613184001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788670385000,"timestamp_ms":1788670385000,"timestamp_seconds":1788670385,"priority":1,"record_length":96,"hex_timestamp":"000001a075101b68"} 
[2026-09-06 10:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:24: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-09-06 10:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 10:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899613184001,"66":12504,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899613184001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:24:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899613184001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":173790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:24:46] local.INFO: GPS data processed {"connection_id":173790,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:24:46] local.INFO: Acknowledgment sent {"connection_id":173790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:24:47] local.INFO: TCP Data received {"connection_id":175100,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:24:47] local.INFO: Processing buffer {"connection_id":175100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:24:47] local.INFO: IMEI packet received {"connection_id":175100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":175100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:24:48] local.INFO: TCP Data received {"connection_id":175100,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:24:48] local.INFO: Processing buffer {"connection_id":175100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:24:48] local.INFO: IMEI packet received {"connection_id":175100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":175100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:24:53] local.INFO: TCP Data received {"connection_id":175100,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:24:53] local.INFO: Processing buffer {"connection_id":175100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:24:53] local.INFO: IMEI packet received {"connection_id":175100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":175100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:24:54] local.INFO: TCP Data received {"connection_id":175100,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07510afd8012d4c1040067671880013004b2d..."} 
[2026-09-06 10:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07510afd8012d4c1040067671880013004b2d..."} 
[2026-09-06 10:24:54] local.INFO: Processing buffer {"connection_id":175100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07510afd8012d4c1040067671880013004b2d..."} 
[2026-09-06 10:24:54] local.INFO: Packet analysis {"connection_id":175100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07510"} 
[2026-09-06 10:24:54] local.INFO: Extracted packet for processing {"connection_id":175100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07510"} 
[2026-09-06 10:24:54] local.INFO: GPS Element Parsed {"raw_longitude":759959616,"raw_latitude":108425608,"longitude_deg":75.9959616,"latitude_deg":10.8425608,"altitude":19,"angle":75,"satellites":45,"speed":59,"hex_longitude":"2d4c1040","hex_latitude":"06767188","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899627008001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400422923447304192,"note":"Value kept but may cause issues"} 
[2026-09-06 10:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5473069843662485504,"note":"Value kept but may cause issues"} 
[2026-09-06 10:24:54] 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-09-06 10:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788670423000,"timestamp_ms":1788670423000,"timestamp_seconds":1788670423,"priority":1,"record_length":96,"hex_timestamp":"000001a07510afd8"} 
[2026-09-06 10:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 10:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899627008001,"66":27908,"206":206,"80":60160,"24":59,"16":400422923447304192,"45":5473069843662485504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-09-06 10:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899627008001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:24:54] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-06 10:24:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400422923447304192,"km_value":400422923447304.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5473069843662485504,"description":"Unknown IO ID 45"} 
[2026-09-06 10:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899627008001,"power":27908,"unknown_206":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5473069843662485504}} 
[2026-09-06 10:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":175100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:24:54] local.INFO: GPS data processed {"connection_id":175100,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:24:54] local.INFO: Acknowledgment sent {"connection_id":175100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:25:09] local.INFO: TCP Data received {"connection_id":172624,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:25:09] local.INFO: Processing buffer {"connection_id":172624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:25:09] local.INFO: IMEI packet received {"connection_id":172624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":172624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:25:10] local.INFO: TCP Data received {"connection_id":175101,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:25:10] local.INFO: Processing buffer {"connection_id":175101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:25:10] local.INFO: IMEI packet received {"connection_id":175101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 10:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":175101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:25:14] local.INFO: TCP Data received {"connection_id":172624,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:25:14] local.INFO: Processing buffer {"connection_id":172624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:25:14] local.INFO: IMEI packet received {"connection_id":172624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":172624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:25:15] local.INFO: TCP Data received {"connection_id":172624,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075106d70012d1821000721b440004400d328..."} 
[2026-09-06 10:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075106d70012d1821000721b440004400d328..."} 
[2026-09-06 10:25:15] local.INFO: Processing buffer {"connection_id":172624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075106d70012d1821000721b440004400d328..."} 
[2026-09-06 10:25:15] local.INFO: Packet analysis {"connection_id":172624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07510"} 
[2026-09-06 10:25:15] local.INFO: Extracted packet for processing {"connection_id":172624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07510"} 
[2026-09-06 10:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899618560001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788670406000,"timestamp_ms":1788670406000,"timestamp_seconds":1788670406,"priority":1,"record_length":96,"hex_timestamp":"000001a075106d70"} 
[2026-09-06 10:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 10:25:15] 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-09-06 10: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-09-06 10:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899618560001,"66":12461,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899618560001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:25:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899618560001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":172624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:25:15] local.INFO: GPS data processed {"connection_id":172624,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:25:15] local.INFO: Acknowledgment sent {"connection_id":172624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:25:25] local.INFO: TCP Data received {"connection_id":175100,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07510c748012d4c334006767790001000542d..."} 
[2026-09-06 10:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07510c748012d4c334006767790001000542d..."} 
[2026-09-06 10:25:25] local.INFO: Processing buffer {"connection_id":175100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07510c748012d4c334006767790001000542d..."} 
[2026-09-06 10:25:25] local.INFO: Packet analysis {"connection_id":175100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07510"} 
[2026-09-06 10:25:25] local.INFO: Extracted packet for processing {"connection_id":175100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07510"} 
[2026-09-06 10:25:25] local.INFO: GPS Element Parsed {"raw_longitude":759968576,"raw_latitude":108427152,"longitude_deg":75.9968576,"latitude_deg":10.8427152,"altitude":16,"angle":84,"satellites":45,"speed":59,"hex_longitude":"2d4c3340","hex_latitude":"06767790","is_valid_coordinates":true} 
[2026-09-06 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-09-06 10:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899628288001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400423357239001088,"note":"Value kept but may cause issues"} 
[2026-09-06 10:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5480951143011026944,"note":"Value kept but may cause issues"} 
[2026-09-06 10:25:25] 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-09-06 10:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788670429000,"timestamp_ms":1788670429000,"timestamp_seconds":1788670429,"priority":1,"record_length":96,"hex_timestamp":"000001a07510c748"} 
[2026-09-06 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-09-06 10:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 10:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 10:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:25: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-09-06 10:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899628288001,"66":27908,"206":206,"80":60160,"24":59,"16":400423357239001088,"45":5480951143011026944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-09-06 10:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899628288001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:25:25] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-06 10:25:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400423357239001088,"km_value":400423357239001.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5480951143011026944,"description":"Unknown IO ID 45"} 
[2026-09-06 10:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899628288001,"power":27908,"unknown_206":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5480951143011026944}} 
[2026-09-06 10:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":175100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:25:25] local.INFO: GPS data processed {"connection_id":175100,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:25:25] local.INFO: Acknowledgment sent {"connection_id":175100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:25:46] local.INFO: TCP Data received {"connection_id":172624,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07510bf78012d1821000721b440004400d32a..."} 
[2026-09-06 10:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07510bf78012d1821000721b440004400d32a..."} 
[2026-09-06 10:25:46] local.INFO: Processing buffer {"connection_id":172624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07510bf78012d1821000721b440004400d32a..."} 
[2026-09-06 10:25:46] local.INFO: Packet analysis {"connection_id":172624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07510"} 
[2026-09-06 10:25:46] local.INFO: Extracted packet for processing {"connection_id":172624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07510"} 
[2026-09-06 10:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899623936001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788670427000,"timestamp_ms":1788670427000,"timestamp_seconds":1788670427,"priority":1,"record_length":96,"hex_timestamp":"000001a07510bf78"} 
[2026-09-06 10:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:25: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-09-06 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:25:46] 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-09-06 10: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-09-06 10:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899623936001,"66":12461,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899623936001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:25:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899623936001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":172624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:25:46] local.INFO: GPS data processed {"connection_id":172624,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:25:46] local.INFO: Acknowledgment sent {"connection_id":172624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:25:48] local.INFO: TCP Data received {"connection_id":173791,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:25:48] local.INFO: Processing buffer {"connection_id":173791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:25:48] local.INFO: IMEI packet received {"connection_id":173791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":173791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:25:52] local.INFO: TCP Data received {"connection_id":173791,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:25:52] local.INFO: Processing buffer {"connection_id":173791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:25:52] local.INFO: IMEI packet received {"connection_id":173791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":173791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:25:53] local.INFO: TCP Data received {"connection_id":173791,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07511dca0012d4db340067618c8000f005a2b..."} 
[2026-09-06 10:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07511dca0012d4db340067618c8000f005a2b..."} 
[2026-09-06 10:25:53] local.INFO: Processing buffer {"connection_id":173791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07511dca0012d4db340067618c8000f005a2b..."} 
[2026-09-06 10:25:53] local.INFO: Packet analysis {"connection_id":173791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07511"} 
[2026-09-06 10:25:53] local.INFO: Extracted packet for processing {"connection_id":173791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07511"} 
[2026-09-06 10:25:53] local.INFO: GPS Element Parsed {"raw_longitude":760066880,"raw_latitude":108402888,"longitude_deg":76.006688,"latitude_deg":10.8402888,"altitude":15,"angle":90,"satellites":43,"speed":58,"hex_longitude":"2d4db340","hex_latitude":"067618c8","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899646720001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400428442480279552,"note":"Value kept but may cause issues"} 
[2026-09-06 10:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5590796752666740736,"note":"Value kept but may cause issues"} 
[2026-09-06 10:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788670500000,"timestamp_ms":1788670500000,"timestamp_seconds":1788670500,"priority":1,"record_length":96,"hex_timestamp":"000001a07511dca0"} 
[2026-09-06 10:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:25:53] 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-09-06 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-06 10:25: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-09-06 10: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-09-06 10:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:25: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-09-06 10:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899646720001,"66":27919,"169":206,"80":60160,"24":58,"16":400428442480279552,"45":5590796752666740736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,80,24,16,45]} 
[2026-09-06 10:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899646720001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:25:53] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-06 10:25:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400428442480279552,"km_value":400428442480279.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5590796752666740736,"description":"Unknown IO ID 45"} 
[2026-09-06 10:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899646720001,"power":27919,"unknown_169":206,"unknown_80":60160,"ignition":58,"odometer":null,"unknown_45":5590796752666740736}} 
[2026-09-06 10:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":173791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:25:53] local.INFO: GPS data processed {"connection_id":173791,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:25:53] local.INFO: Acknowledgment sent {"connection_id":173791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:26:09] local.INFO: TCP Data received {"connection_id":173792,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:26:09] local.INFO: Processing buffer {"connection_id":173792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:26:09] local.INFO: IMEI packet received {"connection_id":173792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":173792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:26:10] local.INFO: TCP Data received {"connection_id":173792,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:26:10] local.INFO: Processing buffer {"connection_id":173792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:26:10] local.INFO: IMEI packet received {"connection_id":173792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":173792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:26:14] local.INFO: TCP Data received {"connection_id":173792,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:26:14] local.INFO: Processing buffer {"connection_id":173792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:26:14] local.INFO: IMEI packet received {"connection_id":173792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":173792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:26:15] local.INFO: TCP Data received {"connection_id":173792,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075111180012d1821000721b440004400d32a..."} 
[2026-09-06 10:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075111180012d1821000721b440004400d32a..."} 
[2026-09-06 10:26:15] local.INFO: Processing buffer {"connection_id":173792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075111180012d1821000721b440004400d32a..."} 
[2026-09-06 10:26:15] local.INFO: Packet analysis {"connection_id":173792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07511"} 
[2026-09-06 10:26:15] local.INFO: Extracted packet for processing {"connection_id":173792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07511"} 
[2026-09-06 10:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899629312001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788670448000,"timestamp_ms":1788670448000,"timestamp_seconds":1788670448,"priority":1,"record_length":96,"hex_timestamp":"000001a075111180"} 
[2026-09-06 10:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899629312001,"66":12461,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899629312001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:26:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899629312001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":173792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:26:15] local.INFO: GPS data processed {"connection_id":173792,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:26:15] local.INFO: Acknowledgment sent {"connection_id":173792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:26:27] local.INFO: TCP Data received {"connection_id":173791,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07511f7f8012d4ddb4006761db80010004f2b..."} 
[2026-09-06 10:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07511f7f8012d4ddb4006761db80010004f2b..."} 
[2026-09-06 10:26:27] local.INFO: Processing buffer {"connection_id":173791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07511f7f8012d4ddb4006761db80010004f2b..."} 
[2026-09-06 10:26:27] local.INFO: Packet analysis {"connection_id":173791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07511"} 
[2026-09-06 10:26:27] local.INFO: Extracted packet for processing {"connection_id":173791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07511"} 
[2026-09-06 10:26:27] local.INFO: GPS Element Parsed {"raw_longitude":760077120,"raw_latitude":108404152,"longitude_deg":76.007712,"latitude_deg":10.8404152,"altitude":16,"angle":79,"satellites":43,"speed":57,"hex_longitude":"2d4ddb40","hex_latitude":"06761db8","is_valid_coordinates":true} 
[2026-09-06 10:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899648000001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400428936401518592,"note":"Value kept but may cause issues"} 
[2026-09-06 10:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5598889158246975488,"note":"Value kept but may cause issues"} 
[2026-09-06 10:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788670507000,"timestamp_ms":1788670507000,"timestamp_seconds":1788670507,"priority":1,"record_length":96,"hex_timestamp":"000001a07511f7f8"} 
[2026-09-06 10:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 10:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899648000001,"66":27908,"169":206,"80":60160,"24":57,"16":400428936401518592,"45":5598889158246975488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,80,24,16,45]} 
[2026-09-06 10:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899648000001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:26:27] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-06 10:26:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400428936401518592,"km_value":400428936401518.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5598889158246975488,"description":"Unknown IO ID 45"} 
[2026-09-06 10:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899648000001,"power":27908,"unknown_169":206,"unknown_80":60160,"ignition":57,"odometer":null,"unknown_45":5598889158246975488}} 
[2026-09-06 10:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":173791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:26:27] local.INFO: GPS data processed {"connection_id":173791,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:26:27] local.INFO: Acknowledgment sent {"connection_id":173791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:26:46] local.INFO: TCP Data received {"connection_id":173792,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075116388012d1821000721b440004400d32b..."} 
[2026-09-06 10:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075116388012d1821000721b440004400d32b..."} 
[2026-09-06 10:26:46] local.INFO: Processing buffer {"connection_id":173792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075116388012d1821000721b440004400d32b..."} 
[2026-09-06 10:26:46] local.INFO: Packet analysis {"connection_id":173792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07511"} 
[2026-09-06 10:26:46] local.INFO: Extracted packet for processing {"connection_id":173792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07511"} 
[2026-09-06 10:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899634688001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788670469000,"timestamp_ms":1788670469000,"timestamp_seconds":1788670469,"priority":1,"record_length":96,"hex_timestamp":"000001a075116388"} 
[2026-09-06 10:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:26: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-09-06 10:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:26:46] 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-09-06 10:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899634688001,"66":12406,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899634688001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:26:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899634688001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":173792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:26:46] local.INFO: GPS data processed {"connection_id":173792,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:26:46] local.INFO: Acknowledgment sent {"connection_id":173792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:26:48] local.INFO: TCP Data received {"connection_id":172625,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:26:48] local.INFO: Processing buffer {"connection_id":172625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:26:48] local.INFO: IMEI packet received {"connection_id":172625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":172625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:26:53] local.INFO: TCP Data received {"connection_id":172625,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:26:53] local.INFO: Processing buffer {"connection_id":172625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:26:53] local.INFO: IMEI packet received {"connection_id":172625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":172625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:27:06] local.INFO: TCP Data received {"connection_id":172625,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07511f7f8012d4ddb4006761db80010004f2b..."} 
[2026-09-06 10:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07511f7f8012d4ddb4006761db80010004f2b..."} 
[2026-09-06 10:27:06] local.INFO: Processing buffer {"connection_id":172625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07511f7f8012d4ddb4006761db80010004f2b..."} 
[2026-09-06 10:27:06] local.INFO: Packet analysis {"connection_id":172625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07511"} 
[2026-09-06 10:27:06] local.INFO: Extracted packet for processing {"connection_id":172625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07511"} 
[2026-09-06 10:27:06] local.INFO: GPS Element Parsed {"raw_longitude":760077120,"raw_latitude":108404152,"longitude_deg":76.007712,"latitude_deg":10.8404152,"altitude":16,"angle":79,"satellites":43,"speed":57,"hex_longitude":"2d4ddb40","hex_latitude":"06761db8","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899649792001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400428936401518592,"note":"Value kept but may cause issues"} 
[2026-09-06 10:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5610148157315725312,"note":"Value kept but may cause issues"} 
[2026-09-06 10:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788670507000,"timestamp_ms":1788670507000,"timestamp_seconds":1788670507,"priority":1,"record_length":96,"hex_timestamp":"000001a07511f7f8"} 
[2026-09-06 10:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:27:06] 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-09-06 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 10:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899649792001,"66":27908,"169":206,"80":60160,"24":57,"16":400428936401518592,"45":5610148157315725312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,80,24,16,45]} 
[2026-09-06 10:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899649792001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:27:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-06 10:27:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400428936401518592,"km_value":400428936401518.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5610148157315725312,"description":"Unknown IO ID 45"} 
[2026-09-06 10:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899649792001,"power":27908,"unknown_169":206,"unknown_80":60160,"ignition":57,"odometer":null,"unknown_45":5610148157315725312}} 
[2026-09-06 10:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":172625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:27:06] local.INFO: GPS data processed {"connection_id":172625,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:27:06] local.INFO: Acknowledgment sent {"connection_id":172625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:27:13] local.INFO: TCP Data received {"connection_id":172407,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:27:13] local.INFO: Processing buffer {"connection_id":172407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:27:13] local.INFO: IMEI packet received {"connection_id":172407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":172407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:27:14] local.INFO: TCP Data received {"connection_id":172407,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:27:14] local.INFO: Processing buffer {"connection_id":172407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:27:14] local.INFO: IMEI packet received {"connection_id":172407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":172407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:27:19] local.INFO: TCP Data received {"connection_id":172407,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:27:19] local.INFO: Processing buffer {"connection_id":172407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:27:19] local.INFO: IMEI packet received {"connection_id":172407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":172407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:27:20] local.INFO: TCP Data received {"connection_id":172407,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07511b590012d1821000721b440004400d329..."} 
[2026-09-06 10:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07511b590012d1821000721b440004400d329..."} 
[2026-09-06 10:27:20] local.INFO: Processing buffer {"connection_id":172407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07511b590012d1821000721b440004400d329..."} 
[2026-09-06 10:27:20] local.INFO: Packet analysis {"connection_id":172407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07511"} 
[2026-09-06 10:27:20] local.INFO: Extracted packet for processing {"connection_id":172407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07511"} 
[2026-09-06 10:27:20] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899640064001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788670490000,"timestamp_ms":1788670490000,"timestamp_seconds":1788670490,"priority":1,"record_length":96,"hex_timestamp":"000001a07511b590"} 
[2026-09-06 10:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 10:27:20] 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-09-06 10:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899640064001,"66":12461,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899640064001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:27:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:27:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899640064001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":172407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:27:20] local.INFO: GPS data processed {"connection_id":172407,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:27:20] local.INFO: Acknowledgment sent {"connection_id":172407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:27:48] local.INFO: TCP Data received {"connection_id":172626,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:27:48] local.INFO: Processing buffer {"connection_id":172626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:27:48] local.INFO: IMEI packet received {"connection_id":172626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":172626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:27:49] local.INFO: TCP Data received {"connection_id":172626,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:27:49] local.INFO: Processing buffer {"connection_id":172626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:27:49] local.INFO: IMEI packet received {"connection_id":172626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":172626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:27:51] local.INFO: TCP Data received {"connection_id":172407,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075120798012d1821000721b440004400d328..."} 
[2026-09-06 10:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075120798012d1821000721b440004400d328..."} 
[2026-09-06 10:27:51] local.INFO: Processing buffer {"connection_id":172407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075120798012d1821000721b440004400d328..."} 
[2026-09-06 10:27:51] local.INFO: Packet analysis {"connection_id":172407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07512"} 
[2026-09-06 10:27:51] local.INFO: Extracted packet for processing {"connection_id":172407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07512"} 
[2026-09-06 10:27:51] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899645440001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788670511000,"timestamp_ms":1788670511000,"timestamp_seconds":1788670511,"priority":1,"record_length":96,"hex_timestamp":"000001a075120798"} 
[2026-09-06 10:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899645440001,"66":12461,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899645440001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:27:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899645440001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":172407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:27:51] local.INFO: GPS data processed {"connection_id":172407,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:27:51] local.INFO: Acknowledgment sent {"connection_id":172407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:27:53] local.INFO: TCP Data received {"connection_id":172626,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:27:53] local.INFO: Processing buffer {"connection_id":172626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:27:53] local.INFO: IMEI packet received {"connection_id":172626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":172626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:27:55] local.INFO: TCP Data received {"connection_id":172626,"ip":"42.106.6.15","data_length":93,"data_hex":"00000000000000518e01000001a075136340012d4fcb8006763028001a00662b..."} 
[2026-09-06 10:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172626,"packet_length":93,"packet_hex":"00000000000000518e01000001a075136340012d4fcb8006763028001a00662b..."} 
[2026-09-06 10:27:55] local.INFO: Processing buffer {"connection_id":172626,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a075136340012d4fcb8006763028001a00662b..."} 
[2026-09-06 10:27:55] local.INFO: Packet analysis {"connection_id":172626,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a07513"} 
[2026-09-06 10:27:55] local.INFO: Extracted packet for processing {"connection_id":172626,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a07513"} 
[2026-09-06 10:27:55] local.INFO: GPS Element Parsed {"raw_longitude":760204160,"raw_latitude":108408872,"longitude_deg":76.020416,"latitude_deg":10.8408872,"altitude":26,"angle":102,"satellites":43,"speed":63,"hex_longitude":"2d4fcb80","hex_latitude":"06763028","is_valid_coordinates":true} 
[2026-09-06 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":93,"current_offset":40} 
[2026-09-06 10:27:55] 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-09-06 10:27:55] 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-09-06 10:27:55] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:27:55] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 10:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172626,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-06 10:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172626,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-06 10:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172626,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-06 10:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 10:27:55] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 10:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":172626,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 10:27:55] local.ERROR: GPS data processing failed {"connection_id":172626,"error":"No valid data to process"} 
[2026-09-06 10:27:55] local.INFO: Acknowledgment sent {"connection_id":172626,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 10:28:09] local.INFO: TCP Data received {"connection_id":172408,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:28:09] local.INFO: Processing buffer {"connection_id":172408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:28:09] local.INFO: IMEI packet received {"connection_id":172408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":172408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:28:14] local.INFO: TCP Data received {"connection_id":172408,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:28:14] local.INFO: Processing buffer {"connection_id":172408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:28:14] local.INFO: IMEI packet received {"connection_id":172408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":172408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:28:15] local.INFO: TCP Data received {"connection_id":172408,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0751259a0012d1821000721b440004400d326..."} 
[2026-09-06 10:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751259a0012d1821000721b440004400d326..."} 
[2026-09-06 10:28:15] local.INFO: Processing buffer {"connection_id":172408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751259a0012d1821000721b440004400d326..."} 
[2026-09-06 10:28:15] local.INFO: Packet analysis {"connection_id":172408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07512"} 
[2026-09-06 10:28:15] local.INFO: Extracted packet for processing {"connection_id":172408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07512"} 
[2026-09-06 10:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899650816001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788670532000,"timestamp_ms":1788670532000,"timestamp_seconds":1788670532,"priority":1,"record_length":96,"hex_timestamp":"000001a0751259a0"} 
[2026-09-06 10:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899650816001,"66":12439,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899650816001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:28:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899650816001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":172408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:28:15] local.INFO: GPS data processed {"connection_id":172408,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:28:15] local.INFO: Acknowledgment sent {"connection_id":172408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:28:26] local.INFO: TCP Data received {"connection_id":172626,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0751376c8012d4feb0006762ca80018005b2e..."} 
[2026-09-06 10:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751376c8012d4feb0006762ca80018005b2e..."} 
[2026-09-06 10:28:26] local.INFO: Processing buffer {"connection_id":172626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751376c8012d4feb0006762ca80018005b2e..."} 
[2026-09-06 10:28:26] local.INFO: Packet analysis {"connection_id":172626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07513"} 
[2026-09-06 10:28:26] local.INFO: Extracted packet for processing {"connection_id":172626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07513"} 
[2026-09-06 10:28:26] local.INFO: GPS Element Parsed {"raw_longitude":760212224,"raw_latitude":108407976,"longitude_deg":76.0212224,"latitude_deg":10.8407976,"altitude":24,"angle":91,"satellites":46,"speed":65,"hex_longitude":"2d4feb00","hex_latitude":"06762ca8","is_valid_coordinates":true} 
[2026-09-06 10:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899673600001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400435670910238720,"note":"Value kept but may cause issues"} 
[2026-09-06 10:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5749830114509596672,"note":"Value kept but may cause issues"} 
[2026-09-06 10:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788670605000,"timestamp_ms":1788670605000,"timestamp_seconds":1788670605,"priority":1,"record_length":96,"hex_timestamp":"000001a0751376c8"} 
[2026-09-06 10:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:28:26] 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-09-06 10:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 10:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:28: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-09-06 10:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899673600001,"66":27832,"167":206,"80":60160,"24":65,"16":400435670910238720,"45":5749830114509596672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-09-06 10:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899673600001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:28:26] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-06 10:28:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400435670910238720,"km_value":400435670910238.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5749830114509596672,"description":"Unknown IO ID 45"} 
[2026-09-06 10:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899673600001,"power":27832,"unknown_167":206,"unknown_80":60160,"ignition":65,"odometer":null,"unknown_45":5749830114509596672}} 
[2026-09-06 10:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":172626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:28:26] local.INFO: GPS data processed {"connection_id":172626,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:28:26] local.INFO: Acknowledgment sent {"connection_id":172626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:28:46] local.INFO: TCP Data received {"connection_id":172408,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07512aba8012d1821000721b440004400d328..."} 
[2026-09-06 10:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07512aba8012d1821000721b440004400d328..."} 
[2026-09-06 10:28:46] local.INFO: Processing buffer {"connection_id":172408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07512aba8012d1821000721b440004400d328..."} 
[2026-09-06 10:28:46] local.INFO: Packet analysis {"connection_id":172408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07512"} 
[2026-09-06 10:28:46] local.INFO: Extracted packet for processing {"connection_id":172408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07512"} 
[2026-09-06 10:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899656192001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788670553000,"timestamp_ms":1788670553000,"timestamp_seconds":1788670553,"priority":1,"record_length":96,"hex_timestamp":"000001a07512aba8"} 
[2026-09-06 10:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:28: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-09-06 10:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-06 10:28:46] 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-09-06 10:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899656192001,"66":12461,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899656192001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:28:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899656192001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":172408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:28:46] local.INFO: GPS data processed {"connection_id":172408,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:28:46] local.INFO: Acknowledgment sent {"connection_id":172408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:28:51] local.INFO: TCP Data received {"connection_id":175102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:28:51] local.INFO: Processing buffer {"connection_id":175102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:28:51] local.INFO: IMEI packet received {"connection_id":175102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":175102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:28:53] local.INFO: TCP Data received {"connection_id":175102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:28:53] local.INFO: Processing buffer {"connection_id":175102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:28:53] local.INFO: IMEI packet received {"connection_id":175102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":175102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:28:58] local.INFO: TCP Data received {"connection_id":175102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:28:58] local.INFO: Processing buffer {"connection_id":175102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:28:58] local.INFO: IMEI packet received {"connection_id":175102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":175102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:28:59] local.INFO: TCP Data received {"connection_id":175102,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0751468f8012d512b8006766228001800252f..."} 
[2026-09-06 10:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751468f8012d512b8006766228001800252f..."} 
[2026-09-06 10:28:59] local.INFO: Processing buffer {"connection_id":175102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751468f8012d512b8006766228001800252f..."} 
[2026-09-06 10:28:59] local.INFO: Packet analysis {"connection_id":175102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07514"} 
[2026-09-06 10:28:59] local.INFO: Extracted packet for processing {"connection_id":175102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07514"} 
[2026-09-06 10:28:59] local.INFO: GPS Element Parsed {"raw_longitude":760294272,"raw_latitude":108421672,"longitude_deg":76.0294272,"latitude_deg":10.8421672,"altitude":24,"angle":37,"satellites":47,"speed":55,"hex_longitude":"2d512b80","hex_latitude":"06766228","is_valid_coordinates":true} 
[2026-09-06 10:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899689216001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400439794078842880,"note":"Value kept but may cause issues"} 
[2026-09-06 10:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5842576119337508864,"note":"Value kept but may cause issues"} 
[2026-09-06 10:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788670667000,"timestamp_ms":1788670667000,"timestamp_seconds":1788670667,"priority":1,"record_length":96,"hex_timestamp":"000001a0751468f8"} 
[2026-09-06 10:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 10:28:59] 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-09-06 10:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899689216001,"66":27821,"147":206,"80":60160,"24":55,"16":400439794078842880,"45":5842576119337508864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-09-06 10:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899689216001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:28:59] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-06 10:28:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400439794078842880,"km_value":400439794078842.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5842576119337508864,"description":"Unknown IO ID 45"} 
[2026-09-06 10:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899689216001,"power":27821,"unknown_147":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5842576119337508864}} 
[2026-09-06 10:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":175102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:28:59] local.INFO: GPS data processed {"connection_id":175102,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:28:59] local.INFO: Acknowledgment sent {"connection_id":175102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:29:10] local.INFO: TCP Data received {"connection_id":175103,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:29:10] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:29:10] local.INFO: IMEI packet received {"connection_id":175103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":175103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:29:14] local.INFO: TCP Data received {"connection_id":175103,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:29:14] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:29:14] local.INFO: IMEI packet received {"connection_id":175103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":175103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:29:15] local.INFO: TCP Data received {"connection_id":175103,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07512fdb0012d1821000721b440004400d327..."} 
[2026-09-06 10:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07512fdb0012d1821000721b440004400d327..."} 
[2026-09-06 10:29:15] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07512fdb0012d1821000721b440004400d327..."} 
[2026-09-06 10:29:15] local.INFO: Packet analysis {"connection_id":175103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07512"} 
[2026-09-06 10:29:15] local.INFO: Extracted packet for processing {"connection_id":175103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07512"} 
[2026-09-06 10:29:15] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899661568001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788670574000,"timestamp_ms":1788670574000,"timestamp_seconds":1788670574,"priority":1,"record_length":96,"hex_timestamp":"000001a07512fdb0"} 
[2026-09-06 10:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899661568001,"66":12504,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899661568001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:29:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:29:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899661568001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":175103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:29:15] local.INFO: GPS data processed {"connection_id":175103,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:29:15] local.INFO: Acknowledgment sent {"connection_id":175103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:29:30] local.INFO: TCP Data received {"connection_id":175102,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a075148068012d513c8006767df8001700192e..."} 
[2026-09-06 10:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075148068012d513c8006767df8001700192e..."} 
[2026-09-06 10:29:30] local.INFO: Processing buffer {"connection_id":175102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075148068012d513c8006767df8001700192e..."} 
[2026-09-06 10:29:30] local.INFO: Packet analysis {"connection_id":175102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07514"} 
[2026-09-06 10:29:30] local.INFO: Extracted packet for processing {"connection_id":175102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07514"} 
[2026-09-06 10:29:30] local.INFO: GPS Element Parsed {"raw_longitude":760298624,"raw_latitude":108428792,"longitude_deg":76.0298624,"latitude_deg":10.8428792,"altitude":23,"angle":25,"satellites":46,"speed":56,"hex_longitude":"2d513c80","hex_latitude":"06767df8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 10:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899690752001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400440197805768704,"note":"Value kept but may cause issues"} 
[2026-09-06 10:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5848909306315024384,"note":"Value kept but may cause issues"} 
[2026-09-06 10:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788670673000,"timestamp_ms":1788670673000,"timestamp_seconds":1788670673,"priority":1,"record_length":96,"hex_timestamp":"000001a075148068"} 
[2026-09-06 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-09-06 10:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 10:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899690752001,"66":27908,"147":206,"80":60160,"24":56,"16":400440197805768704,"45":5848909306315024384},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-09-06 10:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899690752001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:29:30] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-06 10:29:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400440197805768704,"km_value":400440197805768.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5848909306315024384,"description":"Unknown IO ID 45"} 
[2026-09-06 10:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899690752001,"power":27908,"unknown_147":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5848909306315024384}} 
[2026-09-06 10:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":175102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:29:30] local.INFO: GPS data processed {"connection_id":175102,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:29:30] local.INFO: Acknowledgment sent {"connection_id":175102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:29:46] local.INFO: TCP Data received {"connection_id":175103,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075134fb8012d1821000721b440004400d32a..."} 
[2026-09-06 10:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075134fb8012d1821000721b440004400d32a..."} 
[2026-09-06 10:29:46] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075134fb8012d1821000721b440004400d32a..."} 
[2026-09-06 10:29:46] local.INFO: Packet analysis {"connection_id":175103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07513"} 
[2026-09-06 10:29:46] local.INFO: Extracted packet for processing {"connection_id":175103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07513"} 
[2026-09-06 10:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899666944001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788670595000,"timestamp_ms":1788670595000,"timestamp_seconds":1788670595,"priority":1,"record_length":96,"hex_timestamp":"000001a075134fb8"} 
[2026-09-06 10:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:29: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-09-06 10:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 10:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899666944001,"66":12428,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899666944001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:29:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899666944001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":175103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:29:46] local.INFO: GPS data processed {"connection_id":175103,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:29:46] local.INFO: Acknowledgment sent {"connection_id":175103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:29:48] local.INFO: TCP Data received {"connection_id":172627,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:29:48] local.INFO: Processing buffer {"connection_id":172627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:29:48] local.INFO: IMEI packet received {"connection_id":172627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":172627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:29:50] local.INFO: TCP Data received {"connection_id":172627,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:29:50] local.INFO: Processing buffer {"connection_id":172627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:29:50] local.INFO: IMEI packet received {"connection_id":172627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":172627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:29:54] local.INFO: TCP Data received {"connection_id":172627,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:29:54] local.INFO: Processing buffer {"connection_id":172627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:29:54] local.INFO: IMEI packet received {"connection_id":172627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":172627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:30:00] local.INFO: TCP Data received {"connection_id":172627,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a075149bc0012d514c800676a260001600172f..."} 
[2026-09-06 10:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075149bc0012d514c800676a260001600172f..."} 
[2026-09-06 10:30:00] local.INFO: Processing buffer {"connection_id":172627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075149bc0012d514c800676a260001600172f..."} 
[2026-09-06 10:30:00] local.INFO: Packet analysis {"connection_id":172627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07514"} 
[2026-09-06 10:30:00] local.INFO: Extracted packet for processing {"connection_id":172627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07514"} 
[2026-09-06 10:30:00] local.INFO: GPS Element Parsed {"raw_longitude":760302720,"raw_latitude":108438112,"longitude_deg":76.030272,"latitude_deg":10.8438112,"altitude":22,"angle":23,"satellites":47,"speed":59,"hex_longitude":"2d514c80","hex_latitude":"0676a260","is_valid_coordinates":true} 
[2026-09-06 10:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899692288001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400440691727007744,"note":"Value kept but may cause issues"} 
[2026-09-06 10:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5853694380920928256,"note":"Value kept but may cause issues"} 
[2026-09-06 10:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788670680000,"timestamp_ms":1788670680000,"timestamp_seconds":1788670680,"priority":1,"record_length":96,"hex_timestamp":"000001a075149bc0"} 
[2026-09-06 10:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 10:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:30: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-09-06 10:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899692288001,"66":27908,"147":206,"80":60160,"24":59,"16":400440691727007744,"45":5853694380920928256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-09-06 10:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899692288001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:30:00] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-06 10:30:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400440691727007744,"km_value":400440691727007.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5853694380920928256,"description":"Unknown IO ID 45"} 
[2026-09-06 10:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899692288001,"power":27908,"unknown_147":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5853694380920928256}} 
[2026-09-06 10:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":172627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:30:00] local.INFO: GPS data processed {"connection_id":172627,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:30:00] local.INFO: Acknowledgment sent {"connection_id":172627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:30:01] local.INFO: TCP Data received {"connection_id":172627,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07514b330012d515b800676c270001700182d..."} 
[2026-09-06 10:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07514b330012d515b800676c270001700182d..."} 
[2026-09-06 10:30:01] local.INFO: Processing buffer {"connection_id":172627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07514b330012d515b800676c270001700182d..."} 
[2026-09-06 10:30:01] local.INFO: Packet analysis {"connection_id":172627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07514"} 
[2026-09-06 10:30:01] local.INFO: Extracted packet for processing {"connection_id":172627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07514"} 
[2026-09-06 10:30:01] local.INFO: GPS Element Parsed {"raw_longitude":760306560,"raw_latitude":108446320,"longitude_deg":76.030656,"latitude_deg":10.844632,"altitude":23,"angle":24,"satellites":45,"speed":59,"hex_longitude":"2d515b80","hex_latitude":"0676c270","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899694080001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400441129813671936,"note":"Value kept but may cause issues"} 
[2026-09-06 10:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5858197980550684672,"note":"Value kept but may cause issues"} 
[2026-09-06 10:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788670686000,"timestamp_ms":1788670686000,"timestamp_seconds":1788670686,"priority":1,"record_length":96,"hex_timestamp":"000001a07514b330"} 
[2026-09-06 10:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 10:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:30: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-09-06 10:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899694080001,"66":27919,"147":206,"80":60160,"24":59,"16":400441129813671936,"45":5858197980550684672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-09-06 10:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899694080001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:30:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-06 10:30:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400441129813671936,"km_value":400441129813671.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5858197980550684672,"description":"Unknown IO ID 45"} 
[2026-09-06 10:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899694080001,"power":27919,"unknown_147":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5858197980550684672}} 
[2026-09-06 10:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":172627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:30:01] local.INFO: GPS data processed {"connection_id":172627,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:30:01] local.INFO: Acknowledgment sent {"connection_id":172627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:30:09] local.INFO: TCP Data received {"connection_id":175105,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:30:09] local.INFO: Processing buffer {"connection_id":175105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:30:09] local.INFO: IMEI packet received {"connection_id":175105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":175105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:30:14] local.INFO: TCP Data received {"connection_id":175105,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:30:14] local.INFO: Processing buffer {"connection_id":175105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:30:14] local.INFO: IMEI packet received {"connection_id":175105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":175105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:30:15] local.INFO: TCP Data received {"connection_id":175105,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07513a1c0012d1821000721b440004400d32a..."} 
[2026-09-06 10:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07513a1c0012d1821000721b440004400d32a..."} 
[2026-09-06 10:30:15] local.INFO: Processing buffer {"connection_id":175105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07513a1c0012d1821000721b440004400d32a..."} 
[2026-09-06 10:30:15] local.INFO: Packet analysis {"connection_id":175105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07513"} 
[2026-09-06 10:30:15] local.INFO: Extracted packet for processing {"connection_id":175105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07513"} 
[2026-09-06 10:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899672320001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788670616000,"timestamp_ms":1788670616000,"timestamp_seconds":1788670616,"priority":1,"record_length":96,"hex_timestamp":"000001a07513a1c0"} 
[2026-09-06 10:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-06 10:30:15] 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-09-06 10:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899672320001,"66":12406,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899672320001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:30:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899672320001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":175105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:30:15] local.INFO: GPS data processed {"connection_id":175105,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:30:15] local.INFO: Acknowledgment sent {"connection_id":175105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:30:32] local.INFO: TCP Data received {"connection_id":172627,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07515e3e0012d522d8006780178003900142c..."} 
[2026-09-06 10:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07515e3e0012d522d8006780178003900142c..."} 
[2026-09-06 10:30:32] local.INFO: Processing buffer {"connection_id":172627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07515e3e0012d522d8006780178003900142c..."} 
[2026-09-06 10:30:32] local.INFO: Packet analysis {"connection_id":172627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07515"} 
[2026-09-06 10:30:32] local.INFO: Extracted packet for processing {"connection_id":172627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07515"} 
[2026-09-06 10:30:32] local.INFO: GPS Element Parsed {"raw_longitude":760360320,"raw_latitude":108527992,"longitude_deg":76.036032,"latitude_deg":10.8527992,"altitude":57,"angle":20,"satellites":44,"speed":36,"hex_longitude":"2d522d80","hex_latitude":"06780178","is_valid_coordinates":true} 
[2026-09-06 10:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899713792001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400445944472010752,"note":"Value kept but may cause issues"} 
[2026-09-06 10:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5918081781867350016,"note":"Value kept but may cause issues"} 
[2026-09-06 10:30:32] 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-09-06 10:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788670764000,"timestamp_ms":1788670764000,"timestamp_seconds":1788670764,"priority":1,"record_length":96,"hex_timestamp":"000001a07515e3e0"} 
[2026-09-06 10:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899713792001,"66":27615,"18":206,"80":60160,"24":36,"16":400445944472010752,"45":5918081781867350016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-09-06 10:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899713792001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:30:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-06 10:30:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-09-06 10:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400445944472010752,"km_value":400445944472010.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5918081781867350016,"description":"Unknown IO ID 45"} 
[2026-09-06 10:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899713792001,"power":27615,"unknown_18":206,"unknown_80":60160,"ignition":36,"odometer":null,"unknown_45":5918081781867350016}} 
[2026-09-06 10:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":172627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:30:32] local.INFO: GPS data processed {"connection_id":172627,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:30:32] local.INFO: Acknowledgment sent {"connection_id":172627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:30:45] local.INFO: TCP Data received {"connection_id":175104,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:30:45] local.INFO: Processing buffer {"connection_id":175104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:30:45] local.INFO: IMEI packet received {"connection_id":175104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 10:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":175104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:30:46] local.INFO: TCP Data received {"connection_id":175105,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07513f3c8012d1821000721b440004400d32a..."} 
[2026-09-06 10:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07513f3c8012d1821000721b440004400d32a..."} 
[2026-09-06 10:30:46] local.INFO: Processing buffer {"connection_id":175105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07513f3c8012d1821000721b440004400d32a..."} 
[2026-09-06 10:30:46] local.INFO: Packet analysis {"connection_id":175105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07513"} 
[2026-09-06 10:30:46] local.INFO: Extracted packet for processing {"connection_id":175105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07513"} 
[2026-09-06 10:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899677696001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788670637000,"timestamp_ms":1788670637000,"timestamp_seconds":1788670637,"priority":1,"record_length":96,"hex_timestamp":"000001a07513f3c8"} 
[2026-09-06 10:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:30: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-09-06 10:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 10:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899677696001,"66":12406,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899677696001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:30:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899677696001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":175105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:30:46] local.INFO: GPS data processed {"connection_id":175105,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:30:46] local.INFO: Acknowledgment sent {"connection_id":175105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:30:48] local.INFO: TCP Data received {"connection_id":172628,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:30:48] local.INFO: Processing buffer {"connection_id":172628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:30:48] local.INFO: IMEI packet received {"connection_id":172628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":172628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:31:09] local.INFO: TCP Data received {"connection_id":172629,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:31:09] local.INFO: Processing buffer {"connection_id":172629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:31:09] local.INFO: IMEI packet received {"connection_id":172629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":172629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:31:14] local.INFO: TCP Data received {"connection_id":172629,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:31:14] local.INFO: Processing buffer {"connection_id":172629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:31:14] local.INFO: IMEI packet received {"connection_id":172629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":172629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:31:15] local.INFO: TCP Data received {"connection_id":172629,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0751445d0012d1821000721b440004400d32a..."} 
[2026-09-06 10:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751445d0012d1821000721b440004400d32a..."} 
[2026-09-06 10:31:15] local.INFO: Processing buffer {"connection_id":172629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751445d0012d1821000721b440004400d32a..."} 
[2026-09-06 10:31:15] local.INFO: Packet analysis {"connection_id":172629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07514"} 
[2026-09-06 10:31:15] local.INFO: Extracted packet for processing {"connection_id":172629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07514"} 
[2026-09-06 10:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899683072001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788670658000,"timestamp_ms":1788670658000,"timestamp_seconds":1788670658,"priority":1,"record_length":96,"hex_timestamp":"000001a0751445d0"} 
[2026-09-06 10:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 10:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899683072001,"66":12439,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899683072001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:31:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899683072001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":172629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:31:15] local.INFO: GPS data processed {"connection_id":172629,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:31:15] local.INFO: Acknowledgment sent {"connection_id":172629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:31:46] local.INFO: TCP Data received {"connection_id":172629,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0751497d8012d1821000721b440004400d32a..."} 
[2026-09-06 10:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751497d8012d1821000721b440004400d32a..."} 
[2026-09-06 10:31:46] local.INFO: Processing buffer {"connection_id":172629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751497d8012d1821000721b440004400d32a..."} 
[2026-09-06 10:31:46] local.INFO: Packet analysis {"connection_id":172629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07514"} 
[2026-09-06 10:31:46] local.INFO: Extracted packet for processing {"connection_id":172629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07514"} 
[2026-09-06 10:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899688448001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788670679000,"timestamp_ms":1788670679000,"timestamp_seconds":1788670679,"priority":1,"record_length":96,"hex_timestamp":"000001a0751497d8"} 
[2026-09-06 10:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:31: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-09-06 10:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-06 10:31:46] 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-09-06 10:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899688448001,"66":12439,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899688448001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:31:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:31:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899688448001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":172629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:31:46] local.INFO: GPS data processed {"connection_id":172629,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:31:46] local.INFO: Acknowledgment sent {"connection_id":172629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:32:09] local.INFO: TCP Data received {"connection_id":172410,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:32:09] local.INFO: Processing buffer {"connection_id":172410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:32:09] local.INFO: IMEI packet received {"connection_id":172410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":172410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:32:14] local.INFO: TCP Data received {"connection_id":172410,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:32:14] local.INFO: Processing buffer {"connection_id":172410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:32:14] local.INFO: IMEI packet received {"connection_id":172410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":172410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:32:15] local.INFO: TCP Data received {"connection_id":172410,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07514e9e0012d1821000721b440004400d326..."} 
[2026-09-06 10:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07514e9e0012d1821000721b440004400d326..."} 
[2026-09-06 10:32:15] local.INFO: Processing buffer {"connection_id":172410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07514e9e0012d1821000721b440004400d326..."} 
[2026-09-06 10:32:15] local.INFO: Packet analysis {"connection_id":172410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07514"} 
[2026-09-06 10:32:15] local.INFO: Extracted packet for processing {"connection_id":172410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07514"} 
[2026-09-06 10:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649344,"longitude_deg":75.6556032,"latitude_deg":11.9649344,"altitude":68,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-06 10:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899693824001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161595628650496,"note":"Value kept but may cause issues"} 
[2026-09-06 10:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788670700000,"timestamp_ms":1788670700000,"timestamp_seconds":1788670700,"priority":1,"record_length":96,"hex_timestamp":"000001a07514e9e0"} 
[2026-09-06 10:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-06 10:32:15] 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-09-06 10:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899693824001,"66":12461,"105":206,"83":41984,"24":0,"16":18161595628650496,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899693824001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:32:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161595628650496,"km_value":18161595628650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899693824001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":172410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:32:15] local.INFO: GPS data processed {"connection_id":172410,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:32:15] local.INFO: Acknowledgment sent {"connection_id":172410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:32:45] local.INFO: TCP Data received {"connection_id":172410,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075184d10012d181f800721b1a0004a00be29..."} 
[2026-09-06 10:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075184d10012d181f800721b1a0004a00be29..."} 
[2026-09-06 10:32:45] local.INFO: Processing buffer {"connection_id":172410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075184d10012d181f800721b1a0004a00be29..."} 
[2026-09-06 10:32:45] local.INFO: Packet analysis {"connection_id":172410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07518"} 
[2026-09-06 10:32:45] local.INFO: Extracted packet for processing {"connection_id":172410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07518"} 
[2026-09-06 10:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648672,"longitude_deg":75.6555648,"latitude_deg":11.9648672,"altitude":74,"angle":190,"satellites":41,"speed":1,"hex_longitude":"2d181f80","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-09-06 10:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899752960001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161634283356160,"note":"Value kept but may cause issues"} 
[2026-09-06 10:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771954176,"note":"Value kept but may cause issues"} 
[2026-09-06 10:32: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-09-06 10:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788670922000,"timestamp_ms":1788670922000,"timestamp_seconds":1788670922,"priority":1,"record_length":96,"hex_timestamp":"000001a075184d10"} 
[2026-09-06 10:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:32: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-09-06 10:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-06 10:32:45] 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-09-06 10:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899752960001,"66":13004,"105":206,"83":41984,"24":1,"16":18161634283356160,"45":1738670961771954176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899752960001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:32:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:32:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161634283356160,"km_value":18161634283356.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771954176,"description":"Unknown IO ID 45"} 
[2026-09-06 10:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899752960001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738670961771954176}} 
[2026-09-06 10:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":172410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:32:46] local.INFO: GPS data processed {"connection_id":172410,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:32:46] local.INFO: Acknowledgment sent {"connection_id":172410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:33:09] local.INFO: TCP Data received {"connection_id":175107,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:33:09] local.INFO: Processing buffer {"connection_id":175107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:33:09] local.INFO: IMEI packet received {"connection_id":175107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":175107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:33:14] local.INFO: TCP Data received {"connection_id":175107,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:33:14] local.INFO: Processing buffer {"connection_id":175107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:33:14] local.INFO: IMEI packet received {"connection_id":175107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":175107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:33:15] local.INFO: TCP Data received {"connection_id":175107,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0751858c8012d181f400721b128004b00cf29..."} 
[2026-09-06 10:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751858c8012d181f400721b128004b00cf29..."} 
[2026-09-06 10:33:15] local.INFO: Processing buffer {"connection_id":175107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751858c8012d181f400721b128004b00cf29..."} 
[2026-09-06 10:33:15] local.INFO: Packet analysis {"connection_id":175107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07518"} 
[2026-09-06 10:33:15] local.INFO: Extracted packet for processing {"connection_id":175107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07518"} 
[2026-09-06 10:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648552,"longitude_deg":75.6555584,"latitude_deg":11.9648552,"altitude":75,"angle":207,"satellites":41,"speed":1,"hex_longitude":"2d181f40","hex_latitude":"0721b128","is_valid_coordinates":true} 
[2026-09-06 10:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899756032001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161642873290752,"note":"Value kept but may cause issues"} 
[2026-09-06 10:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306716160,"note":"Value kept but may cause issues"} 
[2026-09-06 10:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788670925000,"timestamp_ms":1788670925000,"timestamp_seconds":1788670925,"priority":1,"record_length":96,"hex_timestamp":"000001a0751858c8"} 
[2026-09-06 10:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 10:33:15] 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-09-06 10:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899756032001,"66":12961,"105":206,"83":41984,"24":1,"16":18161642873290752,"45":1738248749306716160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899756032001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:33:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161642873290752,"km_value":18161642873290.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306716160,"description":"Unknown IO ID 45"} 
[2026-09-06 10:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899756032001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738248749306716160}} 
[2026-09-06 10:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":175107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:33:15] local.INFO: GPS data processed {"connection_id":175107,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:33:15] local.INFO: Acknowledgment sent {"connection_id":175107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:33:46] local.INFO: TCP Data received {"connection_id":175107,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075185cb0012d181f400721b0b8004b00c429..."} 
[2026-09-06 10:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075185cb0012d181f400721b0b8004b00c429..."} 
[2026-09-06 10:33:46] local.INFO: Processing buffer {"connection_id":175107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075185cb0012d181f400721b0b8004b00c429..."} 
[2026-09-06 10:33:46] local.INFO: Packet analysis {"connection_id":175107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07518"} 
[2026-09-06 10:33:46] local.INFO: Extracted packet for processing {"connection_id":175107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07518"} 
[2026-09-06 10:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648440,"longitude_deg":75.6555584,"latitude_deg":11.964844,"altitude":75,"angle":196,"satellites":41,"speed":3,"hex_longitude":"2d181f40","hex_latitude":"0721b0b8","is_valid_coordinates":true} 
[2026-09-06 10:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899756800001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161647168258048,"note":"Value kept but may cause issues"} 
[2026-09-06 10:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562507776,"note":"Value kept but may cause issues"} 
[2026-09-06 10:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788670926000,"timestamp_ms":1788670926000,"timestamp_seconds":1788670926,"priority":1,"record_length":96,"hex_timestamp":"000001a075185cb0"} 
[2026-09-06 10:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:33: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-09-06 10:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 10:33:46] 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-09-06 10:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899756800001,"66":12961,"105":206,"83":41984,"24":3,"16":18161647168258048,"45":1738178380562507776},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899756800001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:33:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161647168258048,"km_value":18161647168258.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562507776,"description":"Unknown IO ID 45"} 
[2026-09-06 10:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899756800001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1738178380562507776}} 
[2026-09-06 10:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":175107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:33:46] local.INFO: GPS data processed {"connection_id":175107,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:33:46] local.INFO: Acknowledgment sent {"connection_id":175107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:34:14] local.INFO: TCP Data received {"connection_id":173793,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:34:14] local.INFO: Processing buffer {"connection_id":173793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:34:14] local.INFO: IMEI packet received {"connection_id":173793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":173793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:34:18] local.INFO: TCP Data received {"connection_id":173793,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:34:18] local.INFO: Processing buffer {"connection_id":173793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:34:18] local.INFO: IMEI packet received {"connection_id":173793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":173793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:34:19] local.INFO: TCP Data received {"connection_id":173793,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075187808012d181e000721ab98004b00b827..."} 
[2026-09-06 10:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075187808012d181e000721ab98004b00b827..."} 
[2026-09-06 10:34:19] local.INFO: Processing buffer {"connection_id":173793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075187808012d181e000721ab98004b00b827..."} 
[2026-09-06 10:34:19] local.INFO: Packet analysis {"connection_id":173793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07518"} 
[2026-09-06 10:34:19] local.INFO: Extracted packet for processing {"connection_id":173793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07518"} 
[2026-09-06 10:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647128,"longitude_deg":75.6555264,"latitude_deg":11.9647128,"altitude":75,"angle":184,"satellites":39,"speed":11,"hex_longitude":"2d181e00","hex_latitude":"0721ab98","is_valid_coordinates":true} 
[2026-09-06 10:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899757056001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161711592767488,"note":"Value kept but may cause issues"} 
[2026-09-06 10:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562479104,"note":"Value kept but may cause issues"} 
[2026-09-06 10:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788670933000,"timestamp_ms":1788670933000,"timestamp_seconds":1788670933,"priority":1,"record_length":96,"hex_timestamp":"000001a075187808"} 
[2026-09-06 10:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:34:19] 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-09-06 10:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 10:34: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-09-06 10:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899757056001,"66":12972,"105":206,"83":41984,"24":11,"16":18161711592767488,"45":1738178380562479104},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899757056001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:34:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:34:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161711592767488,"km_value":18161711592767.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562479104,"description":"Unknown IO ID 45"} 
[2026-09-06 10:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899757056001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1738178380562479104}} 
[2026-09-06 10:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":173793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:34:19] local.INFO: GPS data processed {"connection_id":173793,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:34:19] local.INFO: Acknowledgment sent {"connection_id":173793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:34:19] local.INFO: TCP Data received {"connection_id":173793,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075187bf0012d181e400721aa70004b00a629..."} 
[2026-09-06 10:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075187bf0012d181e400721aa70004b00a629..."} 
[2026-09-06 10:34:19] local.INFO: Processing buffer {"connection_id":173793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075187bf0012d181e400721aa70004b00a629..."} 
[2026-09-06 10:34:19] local.INFO: Packet analysis {"connection_id":173793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07518"} 
[2026-09-06 10:34:19] local.INFO: Extracted packet for processing {"connection_id":173793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07518"} 
[2026-09-06 10:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646832,"longitude_deg":75.6555328,"latitude_deg":11.9646832,"altitude":75,"angle":166,"satellites":41,"speed":12,"hex_longitude":"2d181e40","hex_latitude":"0721aa70","is_valid_coordinates":true} 
[2026-09-06 10:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899758848001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161728772636672,"note":"Value kept but may cause issues"} 
[2026-09-06 10:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841254912,"note":"Value kept but may cause issues"} 
[2026-09-06 10:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788670934000,"timestamp_ms":1788670934000,"timestamp_seconds":1788670934,"priority":1,"record_length":96,"hex_timestamp":"000001a075187bf0"} 
[2026-09-06 10:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:34:19] 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-09-06 10:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-06 10:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899758848001,"66":12917,"105":206,"83":41984,"24":12,"16":18161728772636672,"45":1737826536841254912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899758848001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:34:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:34:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161728772636672,"km_value":18161728772636.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841254912,"description":"Unknown IO ID 45"} 
[2026-09-06 10:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899758848001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737826536841254912}} 
[2026-09-06 10:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":173793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:34:19] local.INFO: GPS data processed {"connection_id":173793,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:34:19] local.INFO: Acknowledgment sent {"connection_id":173793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:34:50] local.INFO: TCP Data received {"connection_id":173793,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075187fd8012d181e800721a968004b009529..."} 
[2026-09-06 10:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075187fd8012d181e800721a968004b009529..."} 
[2026-09-06 10:34:50] local.INFO: Processing buffer {"connection_id":173793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075187fd8012d181e800721a968004b009529..."} 
[2026-09-06 10:34:50] local.INFO: Packet analysis {"connection_id":173793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07518"} 
[2026-09-06 10:34:50] local.INFO: Extracted packet for processing {"connection_id":173793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07518"} 
[2026-09-06 10:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646568,"longitude_deg":75.6555392,"latitude_deg":11.9646568,"altitude":75,"angle":149,"satellites":41,"speed":10,"hex_longitude":"2d181e80","hex_latitude":"0721a968","is_valid_coordinates":true} 
[2026-09-06 10:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899759104001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161741657538560,"note":"Value kept but may cause issues"} 
[2026-09-06 10:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585356800,"note":"Value kept but may cause issues"} 
[2026-09-06 10:34: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-09-06 10:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788670935000,"timestamp_ms":1788670935000,"timestamp_seconds":1788670935,"priority":1,"record_length":96,"hex_timestamp":"000001a075187fd8"} 
[2026-09-06 10:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 10:34:50] 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-09-06 10:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899759104001,"66":12917,"105":206,"83":41984,"24":10,"16":18161741657538560,"45":1737896905585356800},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899759104001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:34:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161741657538560,"km_value":18161741657538.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585356800,"description":"Unknown IO ID 45"} 
[2026-09-06 10:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899759104001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737896905585356800}} 
[2026-09-06 10:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":173793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:34:51] local.INFO: GPS data processed {"connection_id":173793,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:34:51] local.INFO: Acknowledgment sent {"connection_id":173793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:35:09] local.INFO: TCP Data received {"connection_id":175108,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:35:09] local.INFO: Processing buffer {"connection_id":175108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:35:09] local.INFO: IMEI packet received {"connection_id":175108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":175108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:35:14] local.INFO: TCP Data received {"connection_id":175108,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:35:14] local.INFO: Processing buffer {"connection_id":175108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:35:14] local.INFO: IMEI packet received {"connection_id":175108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":175108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:35:15] local.INFO: TCP Data received {"connection_id":175108,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0751883c0012d181f800721a890004b008429..."} 
[2026-09-06 10:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751883c0012d181f800721a890004b008429..."} 
[2026-09-06 10:35:15] local.INFO: Processing buffer {"connection_id":175108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751883c0012d181f800721a890004b008429..."} 
[2026-09-06 10:35:15] local.INFO: Packet analysis {"connection_id":175108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07518"} 
[2026-09-06 10:35:15] local.INFO: Extracted packet for processing {"connection_id":175108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07518"} 
[2026-09-06 10:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646352,"longitude_deg":75.6555648,"latitude_deg":11.9646352,"altitude":75,"angle":132,"satellites":41,"speed":10,"hex_longitude":"2d181f80","hex_latitude":"0721a890","is_valid_coordinates":true} 
[2026-09-06 10:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899759360001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161758837407744,"note":"Value kept but may cause issues"} 
[2026-09-06 10:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329466880,"note":"Value kept but may cause issues"} 
[2026-09-06 10:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788670936000,"timestamp_ms":1788670936000,"timestamp_seconds":1788670936,"priority":1,"record_length":96,"hex_timestamp":"000001a0751883c0"} 
[2026-09-06 10:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 10:35:15] 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-09-06 10:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899759360001,"66":12950,"105":206,"83":41984,"24":10,"16":18161758837407744,"45":1737967274329466880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899759360001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:35:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161758837407744,"km_value":18161758837407.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329466880,"description":"Unknown IO ID 45"} 
[2026-09-06 10:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899759360001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737967274329466880}} 
[2026-09-06 10:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":175108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:35:15] local.INFO: GPS data processed {"connection_id":175108,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:35:15] local.INFO: Acknowledgment sent {"connection_id":175108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:35:46] local.INFO: TCP Data received {"connection_id":175108,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07518d5c8012d1829c007219e20004c007b28..."} 
[2026-09-06 10:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07518d5c8012d1829c007219e20004c007b28..."} 
[2026-09-06 10:35:46] local.INFO: Processing buffer {"connection_id":175108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07518d5c8012d1829c007219e20004c007b28..."} 
[2026-09-06 10:35:46] local.INFO: Packet analysis {"connection_id":175108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07518"} 
[2026-09-06 10:35:46] local.INFO: Extracted packet for processing {"connection_id":175108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07518"} 
[2026-09-06 10:35:46] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643680,"longitude_deg":75.6558272,"latitude_deg":11.964368,"altitude":76,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219e20","is_valid_coordinates":true} 
[2026-09-06 10:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899759616001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161943521001472,"note":"Value kept but may cause issues"} 
[2026-09-06 10:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306122240,"note":"Value kept but may cause issues"} 
[2026-09-06 10:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788670957000,"timestamp_ms":1788670957000,"timestamp_seconds":1788670957,"priority":1,"record_length":96,"hex_timestamp":"000001a07518d5c8"} 
[2026-09-06 10:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:35: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-09-06 10:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 10:35:46] 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-09-06 10:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899759616001,"66":12874,"105":206,"83":41984,"24":0,"16":18161943521001472,"45":1738248749306122240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899759616001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:35:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161943521001472,"km_value":18161943521001.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306122240,"description":"Unknown IO ID 45"} 
[2026-09-06 10:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899759616001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306122240}} 
[2026-09-06 10:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":175108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:35:46] local.INFO: GPS data processed {"connection_id":175108,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:35:46] local.INFO: Acknowledgment sent {"connection_id":175108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:36:02] local.INFO: TCP Data received {"connection_id":175109,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:36:02] local.INFO: Processing buffer {"connection_id":175109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:36:02] local.INFO: IMEI packet received {"connection_id":175109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":175109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:36:06] local.INFO: TCP Data received {"connection_id":175109,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0751ac5e0012d571000067bba40001f001727..."} 
[2026-09-06 10:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751ac5e0012d571000067bba40001f001727..."} 
[2026-09-06 10:36:06] local.INFO: Processing buffer {"connection_id":175109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751ac5e0012d571000067bba40001f001727..."} 
[2026-09-06 10:36:06] local.INFO: Packet analysis {"connection_id":175109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0751a"} 
[2026-09-06 10:36:06] local.INFO: Extracted packet for processing {"connection_id":175109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0751a"} 
[2026-09-06 10:36:06] local.INFO: GPS Element Parsed {"raw_longitude":760680448,"raw_latitude":108771904,"longitude_deg":76.0680448,"latitude_deg":10.8771904,"altitude":31,"angle":23,"satellites":39,"speed":54,"hex_longitude":"2d571000","hex_latitude":"067bba40","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899796480001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400467728546136064,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6270347715283501056,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:06] 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-09-06 10:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788671084000,"timestamp_ms":1788671084000,"timestamp_seconds":1788671084,"priority":1,"record_length":96,"hex_timestamp":"000001a0751ac5e0"} 
[2026-09-06 10:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:36:06] 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-09-06 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 10:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:36:06] 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-09-06 10:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899796480001,"66":27930,"35":206,"80":60928,"24":54,"16":400467728546136064,"45":6270347715283501056},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-09-06 10:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899796480001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:36:06] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-06 10:36:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-06 10:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400467728546136064,"km_value":400467728546136.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6270347715283501056,"description":"Unknown IO ID 45"} 
[2026-09-06 10:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899796480001,"power":27930,"unknown_35":206,"unknown_80":60928,"ignition":54,"odometer":null,"unknown_45":6270347715283501056}} 
[2026-09-06 10:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":175109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:36:06] local.INFO: GPS data processed {"connection_id":175109,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:36:06] local.INFO: Acknowledgment sent {"connection_id":175109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:36:09] local.INFO: TCP Data received {"connection_id":172413,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:36:09] local.INFO: Processing buffer {"connection_id":172413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:36:09] local.INFO: IMEI packet received {"connection_id":172413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":172413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:36:14] local.INFO: TCP Data received {"connection_id":172413,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:36:14] local.INFO: Processing buffer {"connection_id":172413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:36:14] local.INFO: IMEI packet received {"connection_id":172413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":172413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:36:15] local.INFO: TCP Data received {"connection_id":172413,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0751927d0012d1829c007219e20004c007b28..."} 
[2026-09-06 10:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751927d0012d1829c007219e20004c007b28..."} 
[2026-09-06 10:36:15] local.INFO: Processing buffer {"connection_id":172413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751927d0012d1829c007219e20004c007b28..."} 
[2026-09-06 10:36:15] local.INFO: Packet analysis {"connection_id":172413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07519"} 
[2026-09-06 10:36:15] local.INFO: Extracted packet for processing {"connection_id":172413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07519"} 
[2026-09-06 10:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643680,"longitude_deg":75.6558272,"latitude_deg":11.964368,"altitude":76,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219e20","is_valid_coordinates":true} 
[2026-09-06 10:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899764992001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161943521001472,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816722432,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788670978000,"timestamp_ms":1788670978000,"timestamp_seconds":1788670978,"priority":1,"record_length":96,"hex_timestamp":"000001a0751927d0"} 
[2026-09-06 10:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:36:15] 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-09-06 10:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-06 10:36:15] 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-09-06 10:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899764992001,"66":12809,"105":206,"83":41984,"24":0,"16":18161943521001472,"45":1741133867816722432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899764992001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:36:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161943521001472,"km_value":18161943521001.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816722432,"description":"Unknown IO ID 45"} 
[2026-09-06 10:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899764992001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816722432}} 
[2026-09-06 10:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":172413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:36:15] local.INFO: GPS data processed {"connection_id":172413,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:36:15] local.INFO: Acknowledgment sent {"connection_id":172413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:36:16] local.INFO: TCP Data received {"connection_id":172412,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:36:16] local.INFO: Processing buffer {"connection_id":172412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:36:16] local.INFO: IMEI packet received {"connection_id":172412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 10:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":172412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:36:46] local.INFO: TCP Data received {"connection_id":172413,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0751979d8012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751979d8012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:36:46] local.INFO: Processing buffer {"connection_id":172413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751979d8012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:36:46] local.INFO: Packet analysis {"connection_id":172413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07519"} 
[2026-09-06 10:36:46] local.INFO: Extracted packet for processing {"connection_id":172413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07519"} 
[2026-09-06 10:36:46] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643680,"longitude_deg":75.6558272,"latitude_deg":11.964368,"altitude":76,"angle":123,"satellites":42,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219e20","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899770368001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161943521001472,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816722432,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788670999000,"timestamp_ms":1788670999000,"timestamp_seconds":1788670999,"priority":1,"record_length":96,"hex_timestamp":"000001a0751979d8"} 
[2026-09-06 10:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:36:46] 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-09-06 10: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-06 10:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:46] local.WARNING: Large IO value detected {"io_id":117,"raw_value":1754371962237886272,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2859466827,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-06 10:36:46] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6845245576691265965,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:46] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2247819264,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427765655852863273,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:46] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-09-06 10:36:46] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,105,83,24,241,157,16,134,160,213,45,192,158,76,40,10,66,131,128,168,75,41,127,1,240,117,227,33,4,113,205,12,120,30,152,39,239,50,2,64,7,3,164,236],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-06 10:36:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476512558611431424,"timestamp_seconds":5476512558611431.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 10:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899770368001,"66":12743,"105":206,"83":41984,"24":0,"16":18161943521001472,"45":1741133867816722432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899770368001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:36:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:36:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161943521001472,"km_value":18161943521001.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816722432,"description":"Unknown IO ID 45"} 
[2026-09-06 10:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899770368001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816722432}} 
[2026-09-06 10:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":172413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:36:46] local.INFO: GPS data processed {"connection_id":172413,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:36:46] local.INFO: Acknowledgment sent {"connection_id":172413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:37:09] local.INFO: TCP Data received {"connection_id":175110,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:37:09] local.INFO: Processing buffer {"connection_id":175110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:37:09] local.INFO: IMEI packet received {"connection_id":175110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":175110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:37:14] local.INFO: TCP Data received {"connection_id":175110,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:37:14] local.INFO: Processing buffer {"connection_id":175110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:37:14] local.INFO: IMEI packet received {"connection_id":175110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":175110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:37:15] local.INFO: TCP Data received {"connection_id":175110,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07519cbe0012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07519cbe0012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:37:15] local.INFO: Processing buffer {"connection_id":175110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07519cbe0012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:37:15] local.INFO: Packet analysis {"connection_id":175110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07519"} 
[2026-09-06 10:37:15] local.INFO: Extracted packet for processing {"connection_id":175110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07519"} 
[2026-09-06 10:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643680,"longitude_deg":75.6558272,"latitude_deg":11.964368,"altitude":76,"angle":123,"satellites":42,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219e20","is_valid_coordinates":true} 
[2026-09-06 10:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899775744001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161943521001472,"note":"Value kept but may cause issues"} 
[2026-09-06 10:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816722432,"note":"Value kept but may cause issues"} 
[2026-09-06 10:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788671020000,"timestamp_ms":1788671020000,"timestamp_seconds":1788671020,"priority":1,"record_length":96,"hex_timestamp":"000001a07519cbe0"} 
[2026-09-06 10:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:37:15] 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-09-06 10:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-06 10:37:15] 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-09-06 10:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899775744001,"66":12645,"105":206,"83":41984,"24":0,"16":18161943521001472,"45":1741133867816722432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899775744001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:37:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161943521001472,"km_value":18161943521001.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816722432,"description":"Unknown IO ID 45"} 
[2026-09-06 10:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899775744001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816722432}} 
[2026-09-06 10:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":175110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:37:15] local.INFO: GPS data processed {"connection_id":175110,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:37:15] local.INFO: Acknowledgment sent {"connection_id":175110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:37:18] local.INFO: TCP Data received {"connection_id":172631,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:37:18] local.INFO: Processing buffer {"connection_id":172631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:37:18] local.INFO: IMEI packet received {"connection_id":172631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":172631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:37:23] local.INFO: TCP Data received {"connection_id":172631,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:37:23] local.INFO: Processing buffer {"connection_id":172631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:37:23] local.INFO: IMEI packet received {"connection_id":172631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":172631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:37:24] local.INFO: TCP Data received {"connection_id":172631,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0751b94e8012d569b00067cbfa00015013b2f..."} 
[2026-09-06 10:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751b94e8012d569b00067cbfa00015013b2f..."} 
[2026-09-06 10:37:24] local.INFO: Processing buffer {"connection_id":172631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751b94e8012d569b00067cbfa00015013b2f..."} 
[2026-09-06 10:37:24] local.INFO: Packet analysis {"connection_id":172631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0751b"} 
[2026-09-06 10:37:24] local.INFO: Extracted packet for processing {"connection_id":172631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0751b"} 
[2026-09-06 10:37:24] local.INFO: GPS Element Parsed {"raw_longitude":760650496,"raw_latitude":108838816,"longitude_deg":76.0650496,"latitude_deg":10.8838816,"altitude":21,"angle":315,"satellites":47,"speed":57,"hex_longitude":"2d569b00","hex_latitude":"067cbfa0","is_valid_coordinates":true} 
[2026-09-06 10:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899809280001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400471503822389248,"note":"Value kept but may cause issues"} 
[2026-09-06 10:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6248674142093256704,"note":"Value kept but may cause issues"} 
[2026-09-06 10:37:24] 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-09-06 10:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788671137000,"timestamp_ms":1788671137000,"timestamp_seconds":1788671137,"priority":1,"record_length":96,"hex_timestamp":"000001a0751b94e8"} 
[2026-09-06 10:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 10:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:37: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-09-06 10:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899809280001,"66":27876,"109":206,"80":60928,"24":57,"16":400471503822389248,"45":6248674142093256704},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-09-06 10:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899809280001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:37:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 10:37:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-06 10:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400471503822389248,"km_value":400471503822389.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6248674142093256704,"description":"Unknown IO ID 45"} 
[2026-09-06 10:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899809280001,"power":27876,"unknown_109":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":6248674142093256704}} 
[2026-09-06 10:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":172631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:37:24] local.INFO: GPS data processed {"connection_id":172631,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:37:24] local.INFO: Acknowledgment sent {"connection_id":172631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:37:46] local.INFO: TCP Data received {"connection_id":175110,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0751a1de8012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751a1de8012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:37:46] local.INFO: Processing buffer {"connection_id":175110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751a1de8012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:37:46] local.INFO: Packet analysis {"connection_id":175110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0751a"} 
[2026-09-06 10:37:46] local.INFO: Extracted packet for processing {"connection_id":175110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0751a"} 
[2026-09-06 10:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643680,"longitude_deg":75.6558272,"latitude_deg":11.964368,"altitude":76,"angle":123,"satellites":42,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219e20","is_valid_coordinates":true} 
[2026-09-06 10:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899781120001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161943521001472,"note":"Value kept but may cause issues"} 
[2026-09-06 10:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816722432,"note":"Value kept but may cause issues"} 
[2026-09-06 10:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788671041000,"timestamp_ms":1788671041000,"timestamp_seconds":1788671041,"priority":1,"record_length":96,"hex_timestamp":"000001a0751a1de8"} 
[2026-09-06 10:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:37:46] 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-09-06 10:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-06 10:37:46] 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-09-06 10:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899781120001,"66":12613,"105":206,"83":41984,"24":0,"16":18161943521001472,"45":1741133867816722432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899781120001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:37:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161943521001472,"km_value":18161943521001.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816722432,"description":"Unknown IO ID 45"} 
[2026-09-06 10:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899781120001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816722432}} 
[2026-09-06 10:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":175110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:37:46] local.INFO: GPS data processed {"connection_id":175110,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:37:46] local.INFO: Acknowledgment sent {"connection_id":175110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:37:51] local.INFO: TCP Data received {"connection_id":173794,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:37:51] local.INFO: Processing buffer {"connection_id":173794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:37:51] local.INFO: IMEI packet received {"connection_id":173794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":173794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:37:53] local.INFO: TCP Data received {"connection_id":173794,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:37:53] local.INFO: Processing buffer {"connection_id":173794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:37:53] local.INFO: IMEI packet received {"connection_id":173794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":173794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:37:58] local.INFO: TCP Data received {"connection_id":173794,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:37:58] local.INFO: Processing buffer {"connection_id":173794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:37:58] local.INFO: IMEI packet received {"connection_id":173794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":173794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:37:59] local.INFO: TCP Data received {"connection_id":173794,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0751cb9e0012d559040067e0560001801532b..."} 
[2026-09-06 10:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751cb9e0012d559040067e0560001801532b..."} 
[2026-09-06 10:37:59] local.INFO: Processing buffer {"connection_id":173794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751cb9e0012d559040067e0560001801532b..."} 
[2026-09-06 10:37:59] local.INFO: Packet analysis {"connection_id":173794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0751c"} 
[2026-09-06 10:37:59] local.INFO: Extracted packet for processing {"connection_id":173794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0751c"} 
[2026-09-06 10:37:59] local.INFO: GPS Element Parsed {"raw_longitude":760582208,"raw_latitude":108922208,"longitude_deg":76.0582208,"latitude_deg":10.8922208,"altitude":24,"angle":339,"satellites":43,"speed":57,"hex_longitude":"2d559040","hex_latitude":"067e0560","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899828480001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400476739387523072,"note":"Value kept but may cause issues"} 
[2026-09-06 10:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6170072254867638272,"note":"Value kept but may cause issues"} 
[2026-09-06 10:37:59] 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-09-06 10:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788671212000,"timestamp_ms":1788671212000,"timestamp_seconds":1788671212,"priority":1,"record_length":96,"hex_timestamp":"000001a0751cb9e0"} 
[2026-09-06 10:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 10:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:37:59] 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-09-06 10:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899828480001,"66":27876,"227":206,"80":60928,"24":57,"16":400476739387523072,"45":6170072254867638272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-09-06 10:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899828480001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:37:59] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-06 10:37:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-06 10:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400476739387523072,"km_value":400476739387523.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6170072254867638272,"description":"Unknown IO ID 45"} 
[2026-09-06 10:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899828480001,"power":27876,"unknown_227":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":6170072254867638272}} 
[2026-09-06 10:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":173794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:37:59] local.INFO: GPS data processed {"connection_id":173794,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:37:59] local.INFO: Acknowledgment sent {"connection_id":173794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:38:00] local.INFO: TCP Data received {"connection_id":173794,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0751cd538012d558300067e2aa0001a01562c..."} 
[2026-09-06 10:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751cd538012d558300067e2aa0001a01562c..."} 
[2026-09-06 10:38:00] local.INFO: Processing buffer {"connection_id":173794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751cd538012d558300067e2aa0001a01562c..."} 
[2026-09-06 10:38:00] local.INFO: Packet analysis {"connection_id":173794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0751c"} 
[2026-09-06 10:38:00] local.INFO: Extracted packet for processing {"connection_id":173794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0751c"} 
[2026-09-06 10:38:00] local.INFO: GPS Element Parsed {"raw_longitude":760578816,"raw_latitude":108931744,"longitude_deg":76.0578816,"latitude_deg":10.8931744,"altitude":26,"angle":342,"satellites":44,"speed":57,"hex_longitude":"2d558300","hex_latitude":"067e2aa0","is_valid_coordinates":true} 
[2026-09-06 10:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899830272001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400477229013794816,"note":"Value kept but may cause issues"} 
[2026-09-06 10:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6165498286498471936,"note":"Value kept but may cause issues"} 
[2026-09-06 10:38:00] 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-09-06 10:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788671219000,"timestamp_ms":1788671219000,"timestamp_seconds":1788671219,"priority":1,"record_length":96,"hex_timestamp":"000001a0751cd538"} 
[2026-09-06 10:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 10:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899830272001,"66":27626,"227":206,"80":60928,"24":57,"16":400477229013794816,"45":6165498286498471936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-09-06 10:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899830272001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:38:00] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-06 10:38:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-06 10:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400477229013794816,"km_value":400477229013794.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6165498286498471936,"description":"Unknown IO ID 45"} 
[2026-09-06 10:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899830272001,"power":27626,"unknown_227":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":6165498286498471936}} 
[2026-09-06 10:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":173794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:38:00] local.INFO: GPS data processed {"connection_id":173794,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:38:00] local.INFO: Acknowledgment sent {"connection_id":173794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:38:09] local.INFO: TCP Data received {"connection_id":175111,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:38:09] local.INFO: Processing buffer {"connection_id":175111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:38:09] local.INFO: IMEI packet received {"connection_id":175111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":175111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:38:09] local.INFO: TCP Data received {"connection_id":175111,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:38:09] local.INFO: Processing buffer {"connection_id":175111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:38:09] local.INFO: IMEI packet received {"connection_id":175111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":175111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:38:14] local.INFO: TCP Data received {"connection_id":175111,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:38:14] local.INFO: Processing buffer {"connection_id":175111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:38:14] local.INFO: IMEI packet received {"connection_id":175111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":175111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:38:15] local.INFO: TCP Data received {"connection_id":175111,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0751a6ff0012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751a6ff0012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:38:15] local.INFO: Processing buffer {"connection_id":175111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751a6ff0012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:38:15] local.INFO: Packet analysis {"connection_id":175111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0751a"} 
[2026-09-06 10:38:15] local.INFO: Extracted packet for processing {"connection_id":175111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0751a"} 
[2026-09-06 10:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643680,"longitude_deg":75.6558272,"latitude_deg":11.964368,"altitude":76,"angle":123,"satellites":42,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219e20","is_valid_coordinates":true} 
[2026-09-06 10:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899786496001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161943521001472,"note":"Value kept but may cause issues"} 
[2026-09-06 10:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816722432,"note":"Value kept but may cause issues"} 
[2026-09-06 10:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788671062000,"timestamp_ms":1788671062000,"timestamp_seconds":1788671062,"priority":1,"record_length":96,"hex_timestamp":"000001a0751a6ff0"} 
[2026-09-06 10:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:38:15] 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-09-06 10:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-06 10:38:15] 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-09-06 10:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899786496001,"66":12613,"105":206,"83":41984,"24":0,"16":18161943521001472,"45":1741133867816722432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899786496001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:38:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161943521001472,"km_value":18161943521001.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816722432,"description":"Unknown IO ID 45"} 
[2026-09-06 10:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899786496001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816722432}} 
[2026-09-06 10:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":175111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:38:15] local.INFO: GPS data processed {"connection_id":175111,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:38:15] local.INFO: Acknowledgment sent {"connection_id":175111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:38:46] local.INFO: TCP Data received {"connection_id":175111,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0751ac1f8012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751ac1f8012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:38:46] local.INFO: Processing buffer {"connection_id":175111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751ac1f8012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:38:46] local.INFO: Packet analysis {"connection_id":175111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0751a"} 
[2026-09-06 10:38:46] local.INFO: Extracted packet for processing {"connection_id":175111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0751a"} 
[2026-09-06 10:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643680,"longitude_deg":75.6558272,"latitude_deg":11.964368,"altitude":76,"angle":123,"satellites":42,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219e20","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899791872001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161943521001472,"note":"Value kept but may cause issues"} 
[2026-09-06 10:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816722432,"note":"Value kept but may cause issues"} 
[2026-09-06 10:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788671083000,"timestamp_ms":1788671083000,"timestamp_seconds":1788671083,"priority":1,"record_length":96,"hex_timestamp":"000001a0751ac1f8"} 
[2026-09-06 10:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:38:46] 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-09-06 10: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-06 10:38:46] 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-09-06 10: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-09-06 10:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899791872001,"66":12558,"105":206,"83":41984,"24":0,"16":18161943521001472,"45":1741133867816722432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899791872001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:38:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161943521001472,"km_value":18161943521001.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816722432,"description":"Unknown IO ID 45"} 
[2026-09-06 10:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899791872001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816722432}} 
[2026-09-06 10:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":175111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:38:46] local.INFO: GPS data processed {"connection_id":175111,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:38:46] local.INFO: Acknowledgment sent {"connection_id":175111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:38:53] local.INFO: TCP Data received {"connection_id":172632,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:38:53] local.INFO: Processing buffer {"connection_id":172632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:38:53] local.INFO: IMEI packet received {"connection_id":172632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":172632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:39:09] local.INFO: TCP Data received {"connection_id":172414,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:39:09] local.INFO: Processing buffer {"connection_id":172414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:39:09] local.INFO: IMEI packet received {"connection_id":172414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":172414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:39:12] local.INFO: TCP Data received {"connection_id":172414,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:39:12] local.INFO: Processing buffer {"connection_id":172414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:39:12] local.INFO: IMEI packet received {"connection_id":172414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":172414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:39:15] local.INFO: TCP Data received {"connection_id":172414,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:39:15] local.INFO: Processing buffer {"connection_id":172414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:39:15] local.INFO: IMEI packet received {"connection_id":172414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":172414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:39:16] local.INFO: TCP Data received {"connection_id":172414,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0751b1400012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751b1400012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:39:16] local.INFO: Processing buffer {"connection_id":172414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751b1400012d1829c007219e20004c007b2a..."} 
[2026-09-06 10:39:16] local.INFO: Packet analysis {"connection_id":172414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0751b"} 
[2026-09-06 10:39:16] local.INFO: Extracted packet for processing {"connection_id":172414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0751b"} 
[2026-09-06 10:39:16] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643680,"longitude_deg":75.6558272,"latitude_deg":11.964368,"altitude":76,"angle":123,"satellites":42,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219e20","is_valid_coordinates":true} 
[2026-09-06 10:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899797248001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161943521001472,"note":"Value kept but may cause issues"} 
[2026-09-06 10:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816722432,"note":"Value kept but may cause issues"} 
[2026-09-06 10:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788671104000,"timestamp_ms":1788671104000,"timestamp_seconds":1788671104,"priority":1,"record_length":96,"hex_timestamp":"000001a0751b1400"} 
[2026-09-06 10:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:39:16] 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-09-06 10:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-06 10:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-06 10:39:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:39:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:39:16] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57345,"corrected_to":0} 
[2026-09-06 10:39:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381765883734160,"note":"Value kept but may cause issues"} 
[2026-09-06 10:39:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2652897356,"note":"Value kept but may cause issues"} 
[2026-09-06 10:39:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-06 10:39:16] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-09-06 10:39:16] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3221692830,"note":"Value kept but may cause issues"} 
[2026-09-06 10:39:16] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2251358208,"note":"Value kept but may cause issues"} 
[2026-09-06 10:39:16] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-06 10:39:16] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-06 10:39:16] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408436738,"note":"Value kept but may cause issues"} 
[2026-09-06 10:39:16] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,134,160,111,45,192,158,76,42,10,66,29,203,1,240,101,227,117,33,4,113,205,39,41,32,40,239,50,2,64,7,106,70,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":203,"original":57345,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-06 10:39:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476512567201366016,"timestamp_seconds":5476512567201366.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 10:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899797248001,"66":12515,"105":206,"83":41984,"24":0,"16":18161943521001472,"45":1741133867816722432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899797248001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:39:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:39:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161943521001472,"km_value":18161943521001.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816722432,"description":"Unknown IO ID 45"} 
[2026-09-06 10:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899797248001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816722432}} 
[2026-09-06 10:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":172414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:39:16] local.INFO: GPS data processed {"connection_id":172414,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:39:16] local.INFO: Acknowledgment sent {"connection_id":172414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:39:47] local.INFO: TCP Data received {"connection_id":172414,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0751b6608012d1829c007219e20004c007b28..."} 
[2026-09-06 10:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751b6608012d1829c007219e20004c007b28..."} 
[2026-09-06 10:39:47] local.INFO: Processing buffer {"connection_id":172414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751b6608012d1829c007219e20004c007b28..."} 
[2026-09-06 10:39:47] local.INFO: Packet analysis {"connection_id":172414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0751b"} 
[2026-09-06 10:39:47] local.INFO: Extracted packet for processing {"connection_id":172414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0751b"} 
[2026-09-06 10:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643680,"longitude_deg":75.6558272,"latitude_deg":11.964368,"altitude":76,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219e20","is_valid_coordinates":true} 
[2026-09-06 10:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899802624001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161943521001472,"note":"Value kept but may cause issues"} 
[2026-09-06 10:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816722432,"note":"Value kept but may cause issues"} 
[2026-09-06 10:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788671125000,"timestamp_ms":1788671125000,"timestamp_seconds":1788671125,"priority":1,"record_length":96,"hex_timestamp":"000001a0751b6608"} 
[2026-09-06 10:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:39:47] 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-09-06 10:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-06 10:39:47] 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-09-06 10:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":172414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":172414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":172414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899802624001,"66":12461,"105":206,"83":41984,"24":0,"16":18161943521001472,"45":1741133867816722432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899802624001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:39:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:39:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161943521001472,"km_value":18161943521001.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816722432,"description":"Unknown IO ID 45"} 
[2026-09-06 10:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899802624001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816722432}} 
[2026-09-06 10:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":172414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:39:47] local.INFO: GPS data processed {"connection_id":172414,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:39:47] local.INFO: Acknowledgment sent {"connection_id":172414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:40:11] local.INFO: TCP Data received {"connection_id":172416,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:40:12] local.INFO: Processing buffer {"connection_id":172416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:40:12] local.INFO: IMEI packet received {"connection_id":172416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":172416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:40:14] local.INFO: TCP Data received {"connection_id":172416,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:40:14] local.INFO: Processing buffer {"connection_id":172416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:40:14] local.INFO: IMEI packet received {"connection_id":172416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":172416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:40:15] local.INFO: TCP Data received {"connection_id":172416,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:40:15] local.INFO: Processing buffer {"connection_id":172416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:40:15] local.INFO: IMEI packet received {"connection_id":172416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":172416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:40:16] local.INFO: TCP Data received {"connection_id":172416,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0751eec60012d1829c007219e20004c007b2b..."} 
[2026-09-06 10:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751eec60012d1829c007219e20004c007b2b..."} 
[2026-09-06 10:40:16] local.INFO: Processing buffer {"connection_id":172416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751eec60012d1829c007219e20004c007b2b..."} 
[2026-09-06 10:40:16] local.INFO: Packet analysis {"connection_id":172416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0751e"} 
[2026-09-06 10:40:16] local.INFO: Extracted packet for processing {"connection_id":172416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0751e"} 
[2026-09-06 10:40:16] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643680,"longitude_deg":75.6558272,"latitude_deg":11.964368,"altitude":76,"angle":123,"satellites":43,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219e20","is_valid_coordinates":true} 
[2026-09-06 10:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899861760001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161943521001472,"note":"Value kept but may cause issues"} 
[2026-09-06 10:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816722432,"note":"Value kept but may cause issues"} 
[2026-09-06 10:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788671356000,"timestamp_ms":1788671356000,"timestamp_seconds":1788671356,"priority":1,"record_length":96,"hex_timestamp":"000001a0751eec60"} 
[2026-09-06 10:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:40:16] 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-09-06 10:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-06 10:40:16] 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-09-06 10:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899861760001,"66":14070,"105":206,"83":41984,"24":0,"16":18161943521001472,"45":1741133867816722432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899861760001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:40:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:40:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161943521001472,"km_value":18161943521001.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816722432,"description":"Unknown IO ID 45"} 
[2026-09-06 10:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899861760001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816722432}} 
[2026-09-06 10:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":172416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:40:16] local.INFO: GPS data processed {"connection_id":172416,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:40:16] local.INFO: Acknowledgment sent {"connection_id":172416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:40:20] local.INFO: TCP Data received {"connection_id":172416,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0751f2310012d182a4007219d600049008c2c..."} 
[2026-09-06 10:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751f2310012d182a4007219d600049008c2c..."} 
[2026-09-06 10:40:20] local.INFO: Processing buffer {"connection_id":172416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751f2310012d182a4007219d600049008c2c..."} 
[2026-09-06 10:40:20] local.INFO: Packet analysis {"connection_id":172416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0751f"} 
[2026-09-06 10:40:20] local.INFO: Extracted packet for processing {"connection_id":172416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0751f"} 
[2026-09-06 10:40:20] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643488,"longitude_deg":75.65584,"latitude_deg":11.9643488,"altitude":73,"angle":140,"satellites":44,"speed":5,"hex_longitude":"2d182a40","hex_latitude":"07219d60","is_valid_coordinates":true} 
[2026-09-06 10:40: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-09-06 10:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899867136001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161956405903360,"note":"Value kept but may cause issues"} 
[2026-09-06 10:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816722432,"note":"Value kept but may cause issues"} 
[2026-09-06 10:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788671370000,"timestamp_ms":1788671370000,"timestamp_seconds":1788671370,"priority":1,"record_length":96,"hex_timestamp":"000001a0751f2310"} 
[2026-09-06 10:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:40:20] 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-09-06 10:40: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-06 10:40:20] 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-09-06 10:40: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-09-06 10:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899867136001,"66":12689,"105":206,"83":41984,"24":5,"16":18161956405903360,"45":1741133867816722432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899867136001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:40:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:40:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161956405903360,"km_value":18161956405903.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816722432,"description":"Unknown IO ID 45"} 
[2026-09-06 10:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899867136001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1741133867816722432}} 
[2026-09-06 10:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":172416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:40:20] local.INFO: GPS data processed {"connection_id":172416,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:40:20] local.INFO: Acknowledgment sent {"connection_id":172416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:40:51] local.INFO: TCP Data received {"connection_id":172416,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0751f2ec8012d182c4007219ba0004900812b..."} 
[2026-09-06 10:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751f2ec8012d182c4007219ba0004900812b..."} 
[2026-09-06 10:40:51] local.INFO: Processing buffer {"connection_id":172416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751f2ec8012d182c4007219ba0004900812b..."} 
[2026-09-06 10:40:51] local.INFO: Packet analysis {"connection_id":172416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0751f"} 
[2026-09-06 10:40:51] local.INFO: Extracted packet for processing {"connection_id":172416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0751f"} 
[2026-09-06 10:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756558912,"raw_latitude":119643040,"longitude_deg":75.6558912,"latitude_deg":11.964304,"altitude":73,"angle":129,"satellites":43,"speed":13,"hex_longitude":"2d182c40","hex_latitude":"07219ba0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899870720001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18161986470674432,"note":"Value kept but may cause issues"} 
[2026-09-06 10:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305028608,"note":"Value kept but may cause issues"} 
[2026-09-06 10:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788671373000,"timestamp_ms":1788671373000,"timestamp_seconds":1788671373,"priority":1,"record_length":96,"hex_timestamp":"000001a0751f2ec8"} 
[2026-09-06 10:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:40: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-09-06 10:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-06 10:40:51] 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-09-06 10: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-09-06 10:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899870720001,"66":12645,"105":206,"83":41984,"24":13,"16":18161986470674432,"45":1741274605305028608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-06 10:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899870720001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:40:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-06 10:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18161986470674432,"km_value":18161986470674.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305028608,"description":"Unknown IO ID 45"} 
[2026-09-06 10:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899870720001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1741274605305028608}} 
[2026-09-06 10:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":172416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:40:51] local.INFO: GPS data processed {"connection_id":172416,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:40:51] local.INFO: Acknowledgment sent {"connection_id":172416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:41:05] local.INFO: TCP Data received {"connection_id":173795,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:41:05] local.INFO: Processing buffer {"connection_id":173795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:41:05] local.INFO: IMEI packet received {"connection_id":173795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":173795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:41:09] local.INFO: TCP Data received {"connection_id":173795,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:41:09] local.INFO: Processing buffer {"connection_id":173795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:41:09] local.INFO: IMEI packet received {"connection_id":173795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":173795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:41:10] local.INFO: TCP Data received {"connection_id":173795,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:41:10] local.INFO: Processing buffer {"connection_id":173795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:41:10] local.INFO: IMEI packet received {"connection_id":173795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":173795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:41:11] local.INFO: TCP Data received {"connection_id":173795,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:41:11] local.INFO: Processing buffer {"connection_id":173795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:41:11] local.INFO: IMEI packet received {"connection_id":173795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":173795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:41:12] local.INFO: TCP Data received {"connection_id":173795,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0751f3e68012d183240072197c0004900702b..."} 
[2026-09-06 10:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751f3e68012d183240072197c0004900702b..."} 
[2026-09-06 10:41:12] local.INFO: Processing buffer {"connection_id":173795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751f3e68012d183240072197c0004900702b..."} 
[2026-09-06 10:41:12] local.INFO: Packet analysis {"connection_id":173795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0751f"} 
[2026-09-06 10:41:12] local.INFO: Extracted packet for processing {"connection_id":173795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0751f"} 
[2026-09-06 10:41:12] local.INFO: GPS Element Parsed {"raw_longitude":756560448,"raw_latitude":119642048,"longitude_deg":75.6560448,"latitude_deg":11.9642048,"altitude":73,"angle":112,"satellites":43,"speed":20,"hex_longitude":"2d183240","hex_latitude":"072197c0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 10:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899871488001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18162076664987648,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741837555258335232,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:12] 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-09-06 10:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788671377000,"timestamp_ms":1788671377000,"timestamp_seconds":1788671377,"priority":1,"record_length":96,"hex_timestamp":"000001a0751f3e68"} 
[2026-09-06 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-09-06 10:41: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-09-06 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-06 10:41:12] 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-09-06 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-09-06 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-09-06 10:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":173795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":173795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":173795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899871488001,"66":12819,"106":206,"83":41984,"24":20,"16":18162076664987648,"45":1741837555258335232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 10:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899871488001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:41:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 10:41:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18162076664987648,"km_value":18162076664987.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741837555258335232,"description":"Unknown IO ID 45"} 
[2026-09-06 10:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899871488001,"power":12819,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1741837555258335232}} 
[2026-09-06 10:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":173795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:41:12] local.INFO: GPS data processed {"connection_id":173795,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:41:12] local.INFO: Acknowledgment sent {"connection_id":173795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:41:15] local.INFO: TCP Data received {"connection_id":173795,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0751f6d48012d1854c0072189680049007529..."} 
[2026-09-06 10:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0751f6d48012d1854c0072189680049007529..."} 
[2026-09-06 10:41:15] local.INFO: Processing buffer {"connection_id":173795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0751f6d48012d1854c0072189680049007529..."} 
[2026-09-06 10:41:15] local.INFO: Packet analysis {"connection_id":173795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0751f"} 
[2026-09-06 10:41:15] local.INFO: Extracted packet for processing {"connection_id":173795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0751f"} 
[2026-09-06 10:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756569280,"raw_latitude":119638376,"longitude_deg":75.656928,"latitude_deg":11.9638376,"altitude":73,"angle":117,"satellites":41,"speed":40,"hex_longitude":"2d1854c0","hex_latitude":"07218968","is_valid_coordinates":true} 
[2026-09-06 10:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899872512001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18162531931521024,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743526405118345216,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] 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-09-06 10:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788671389000,"timestamp_ms":1788671389000,"timestamp_seconds":1788671389,"priority":1,"record_length":96,"hex_timestamp":"000001a0751f6d48"} 
[2026-09-06 10:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:41:15] 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-09-06 10:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2251358208,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13462121,"corrected_to":0} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503876756635648,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2135902497076160960,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2652897356,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3221692830,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":32,"raw_value":21392627182075904,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182143810273536,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3819278340922068563,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2422408835219094312,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194905856,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84750535584326046,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:15] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,134,160,46,45,64,155,73,43,10,66,105,35,44,236,192,1,240,246,227,117,33,4,113,205,72,41,32,239,48,2,7,76,164,49,69,56],"length":625,"final_offset":755,"validated_count":43,"validation_warnings":[{"io_id":246,"original":13462121,"validated":0},{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-09-06 10:41:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260327694755954688,"timestamp_seconds":5260327694755955.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 10:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899872512001,"66":12722,"106":206,"83":41984,"24":40,"16":18162531931521024,"45":1743526405118345216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 10:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899872512001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:41:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 10:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18162531931521024,"km_value":18162531931521.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743526405118345216,"description":"Unknown IO ID 45"} 
[2026-09-06 10:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899872512001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1743526405118345216}} 
[2026-09-06 10:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":173795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:41:15] local.INFO: GPS data processed {"connection_id":173795,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:41:15] local.INFO: Acknowledgment sent {"connection_id":173795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:41:45] local.INFO: TCP Data received {"connection_id":173795,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075203480012d18d240072120f0003c00b32b..."} 
[2026-09-06 10:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075203480012d18d240072120f0003c00b32b..."} 
[2026-09-06 10:41:45] local.INFO: Processing buffer {"connection_id":173795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075203480012d18d240072120f0003c00b32b..."} 
[2026-09-06 10:41:45] local.INFO: Packet analysis {"connection_id":173795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07520"} 
[2026-09-06 10:41:45] local.INFO: Extracted packet for processing {"connection_id":173795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07520"} 
[2026-09-06 10:41:45] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119611632,"longitude_deg":75.6601408,"latitude_deg":11.9611632,"altitude":60,"angle":179,"satellites":43,"speed":35,"hex_longitude":"2d18d240","hex_latitude":"072120f0","is_valid_coordinates":true} 
[2026-09-06 10:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899888128001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18164786789351424,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663896371200,"note":"Value kept but may cause issues"} 
[2026-09-06 10:41:45] 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-09-06 10:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788671440000,"timestamp_ms":1788671440000,"timestamp_seconds":1788671440,"priority":1,"record_length":96,"hex_timestamp":"000001a075203480"} 
[2026-09-06 10:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:41: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-09-06 10:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 10:41:45] 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-09-06 10:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899888128001,"66":12515,"106":206,"83":41984,"24":35,"16":18164786789351424,"45":1788421663896371200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 10:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899888128001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:41:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 10:41:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18164786789351424,"km_value":18164786789351.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663896371200,"description":"Unknown IO ID 45"} 
[2026-09-06 10:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899888128001,"power":12515,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1788421663896371200}} 
[2026-09-06 10:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":173795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:41:46] local.INFO: GPS data processed {"connection_id":173795,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:41:46] local.INFO: Acknowledgment sent {"connection_id":173795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:42:09] local.INFO: TCP Data received {"connection_id":172633,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:42:09] local.INFO: Processing buffer {"connection_id":172633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:42:09] local.INFO: IMEI packet received {"connection_id":172633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":172633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:42:10] local.INFO: TCP Data received {"connection_id":172634,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:42:10] local.INFO: Processing buffer {"connection_id":172634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:42:10] local.INFO: IMEI packet received {"connection_id":172634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 10:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":172634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:42:14] local.INFO: TCP Data received {"connection_id":172633,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:42:14] local.INFO: Processing buffer {"connection_id":172633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:42:14] local.INFO: IMEI packet received {"connection_id":172633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":172633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:42:15] local.INFO: TCP Data received {"connection_id":172633,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075208688012d18d20007211408003d00af28..."} 
[2026-09-06 10:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075208688012d18d20007211408003d00af28..."} 
[2026-09-06 10:42:15] local.INFO: Processing buffer {"connection_id":172633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075208688012d18d20007211408003d00af28..."} 
[2026-09-06 10:42:15] local.INFO: Packet analysis {"connection_id":172633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07520"} 
[2026-09-06 10:42:15] local.INFO: Extracted packet for processing {"connection_id":172633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07520"} 
[2026-09-06 10:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119608328,"longitude_deg":75.6601344,"latitude_deg":11.9608328,"altitude":61,"angle":175,"satellites":40,"speed":10,"hex_longitude":"2d18d200","hex_latitude":"07211408","is_valid_coordinates":true} 
[2026-09-06 10:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899888640001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18164988652814336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384263680,"note":"Value kept but may cause issues"} 
[2026-09-06 10:42:15] 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-09-06 10:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788671461000,"timestamp_ms":1788671461000,"timestamp_seconds":1788671461,"priority":1,"record_length":96,"hex_timestamp":"000001a075208688"} 
[2026-09-06 10:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:42:15] 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-09-06 10:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-06 10:42:15] 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-09-06 10:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899888640001,"66":12537,"106":206,"83":41984,"24":10,"16":18164988652814336,"45":1788562401384263680},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 10:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899888640001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:42:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 10:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18164988652814336,"km_value":18164988652814.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384263680,"description":"Unknown IO ID 45"} 
[2026-09-06 10:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899888640001,"power":12537,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1788562401384263680}} 
[2026-09-06 10:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":172633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:42:16] local.INFO: GPS data processed {"connection_id":172633,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:42:16] local.INFO: Acknowledgment sent {"connection_id":172633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:42:17] local.INFO: TCP Data received {"connection_id":172633,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075208e58012d18d240072111f0003c00a228..."} 
[2026-09-06 10:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075208e58012d18d240072111f0003c00a228..."} 
[2026-09-06 10:42:17] local.INFO: Processing buffer {"connection_id":172633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075208e58012d18d240072111f0003c00a228..."} 
[2026-09-06 10:42:17] local.INFO: Packet analysis {"connection_id":172633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07520"} 
[2026-09-06 10:42:17] local.INFO: Extracted packet for processing {"connection_id":172633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07520"} 
[2026-09-06 10:42:17] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119607792,"longitude_deg":75.6601408,"latitude_deg":11.9607792,"altitude":60,"angle":162,"satellites":40,"speed":12,"hex_longitude":"2d18d240","hex_latitude":"072111f0","is_valid_coordinates":true} 
[2026-09-06 10:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899894016001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18165014422618112,"note":"Value kept but may cause issues"} 
[2026-09-06 10:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032639240192,"note":"Value kept but may cause issues"} 
[2026-09-06 10:42:17] 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-09-06 10:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788671463000,"timestamp_ms":1788671463000,"timestamp_seconds":1788671463,"priority":1,"record_length":96,"hex_timestamp":"000001a075208e58"} 
[2026-09-06 10:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-06 10:42:17] 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-09-06 10:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":172633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":172633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":172633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899894016001,"66":12461,"103":206,"83":41984,"24":12,"16":18165014422618112,"45":1788492032639240192},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899894016001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:42:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:42:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18165014422618112,"km_value":18165014422618.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032639240192,"description":"Unknown IO ID 45"} 
[2026-09-06 10:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899894016001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1788492032639240192}} 
[2026-09-06 10:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":172633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:42:17] local.INFO: GPS data processed {"connection_id":172633,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:42:17] local.INFO: Acknowledgment sent {"connection_id":172633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:42:48] local.INFO: TCP Data received {"connection_id":172633,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07520bd38012d18d74007210058003c00922b..."} 
[2026-09-06 10:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07520bd38012d18d74007210058003c00922b..."} 
[2026-09-06 10:42:48] local.INFO: Processing buffer {"connection_id":172633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07520bd38012d18d74007210058003c00922b..."} 
[2026-09-06 10:42:48] local.INFO: Packet analysis {"connection_id":172633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07520"} 
[2026-09-06 10:42:48] local.INFO: Extracted packet for processing {"connection_id":172633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07520"} 
[2026-09-06 10:42:48] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119603288,"longitude_deg":75.6602688,"latitude_deg":11.9603288,"altitude":60,"angle":146,"satellites":43,"speed":17,"hex_longitude":"2d18d740","hex_latitude":"07210058","is_valid_coordinates":true} 
[2026-09-06 10:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899894528001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18165242055884800,"note":"Value kept but may cause issues"} 
[2026-09-06 10:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401383280640,"note":"Value kept but may cause issues"} 
[2026-09-06 10:42:48] 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-09-06 10:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788671475000,"timestamp_ms":1788671475000,"timestamp_seconds":1788671475,"priority":1,"record_length":96,"hex_timestamp":"000001a07520bd38"} 
[2026-09-06 10:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:42:48] 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-09-06 10:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:42:48] 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-09-06 10:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":172633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":172633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":172633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899894528001,"66":12461,"103":206,"83":41984,"24":17,"16":18165242055884800,"45":1788562401383280640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899894528001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:42:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:42:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18165242055884800,"km_value":18165242055884.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401383280640,"description":"Unknown IO ID 45"} 
[2026-09-06 10:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899894528001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1788562401383280640}} 
[2026-09-06 10:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":172633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:42:48] local.INFO: GPS data processed {"connection_id":172633,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:42:48] local.INFO: Acknowledgment sent {"connection_id":172633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:43:06] local.INFO: TCP Data received {"connection_id":175113,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:43:06] local.INFO: Processing buffer {"connection_id":175113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:43:06] local.INFO: IMEI packet received {"connection_id":175113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":175113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:43:09] local.INFO: TCP Data received {"connection_id":175113,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:43:09] local.INFO: Processing buffer {"connection_id":175113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:43:09] local.INFO: IMEI packet received {"connection_id":175113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":175113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:43:13] local.INFO: TCP Data received {"connection_id":175113,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:43:13] local.INFO: Processing buffer {"connection_id":175113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:43:13] local.INFO: IMEI packet received {"connection_id":175113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":175113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:43:14] local.INFO: TCP Data received {"connection_id":175113,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07521cac0012d1986800720b3b0003100522a..."} 
[2026-09-06 10:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07521cac0012d1986800720b3b0003100522a..."} 
[2026-09-06 10:43:14] local.INFO: Processing buffer {"connection_id":175113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07521cac0012d1986800720b3b0003100522a..."} 
[2026-09-06 10:43:14] local.INFO: Packet analysis {"connection_id":175113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07521"} 
[2026-09-06 10:43:14] local.INFO: Extracted packet for processing {"connection_id":175113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07521"} 
[2026-09-06 10:43:14] local.INFO: GPS Element Parsed {"raw_longitude":756647552,"raw_latitude":119583664,"longitude_deg":75.6647552,"latitude_deg":11.9583664,"altitude":49,"angle":82,"satellites":42,"speed":34,"hex_longitude":"2d198680","hex_latitude":"0720b3b0","is_valid_coordinates":true} 
[2026-09-06 10:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899913728001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18167771791622144,"note":"Value kept but may cause issues"} 
[2026-09-06 10:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833598397650491392,"note":"Value kept but may cause issues"} 
[2026-09-06 10:43:14] 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-09-06 10:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788671544000,"timestamp_ms":1788671544000,"timestamp_seconds":1788671544,"priority":1,"record_length":96,"hex_timestamp":"000001a07521cac0"} 
[2026-09-06 10:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:43:14] 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-09-06 10:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-06 10:43:14] 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-09-06 10:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899913728001,"66":14102,"103":206,"83":41984,"24":34,"16":18167771791622144,"45":1833598397650491392},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899913728001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:43:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:43:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18167771791622144,"km_value":18167771791622.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833598397650491392,"description":"Unknown IO ID 45"} 
[2026-09-06 10:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899913728001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1833598397650491392}} 
[2026-09-06 10:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":175113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:43:14] local.INFO: GPS data processed {"connection_id":175113,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:43:14] local.INFO: Acknowledgment sent {"connection_id":175113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:43:45] local.INFO: TCP Data received {"connection_id":175113,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075224ba8012d19b04007207fb0002800a629..."} 
[2026-09-06 10:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075224ba8012d19b04007207fb0002800a629..."} 
[2026-09-06 10:43:45] local.INFO: Processing buffer {"connection_id":175113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075224ba8012d19b04007207fb0002800a629..."} 
[2026-09-06 10:43:45] local.INFO: Packet analysis {"connection_id":175113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:43:45] local.INFO: Extracted packet for processing {"connection_id":175113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:43:45] local.INFO: GPS Element Parsed {"raw_longitude":756658240,"raw_latitude":119570352,"longitude_deg":75.665824,"latitude_deg":11.9570352,"altitude":40,"angle":166,"satellites":41,"speed":33,"hex_longitude":"2d19b040","hex_latitude":"07207fb0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899922432001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18169008742203392,"note":"Value kept but may cause issues"} 
[2026-09-06 10:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506827264,"note":"Value kept but may cause issues"} 
[2026-09-06 10:43: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-09-06 10:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788671577000,"timestamp_ms":1788671577000,"timestamp_seconds":1788671577,"priority":1,"record_length":96,"hex_timestamp":"000001a075224ba8"} 
[2026-09-06 10:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:43: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-09-06 10: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 10:43:45] 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-09-06 10: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-09-06 10:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899922432001,"66":13559,"103":206,"83":41984,"24":33,"16":18169008742203392,"45":1850416527506827264},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899922432001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:43:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:43:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18169008742203392,"km_value":18169008742203.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506827264,"description":"Unknown IO ID 45"} 
[2026-09-06 10:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899922432001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1850416527506827264}} 
[2026-09-06 10:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":175113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:43:45] local.INFO: GPS data processed {"connection_id":175113,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:43:45] local.INFO: Acknowledgment sent {"connection_id":175113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:44:09] local.INFO: TCP Data received {"connection_id":172635,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:44:09] local.INFO: Processing buffer {"connection_id":172635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:44:09] local.INFO: IMEI packet received {"connection_id":172635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":172635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:44:14] local.INFO: TCP Data received {"connection_id":172635,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:44:14] local.INFO: Processing buffer {"connection_id":172635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:44:14] local.INFO: IMEI packet received {"connection_id":172635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":172635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:44:15] local.INFO: TCP Data received {"connection_id":173796,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:44:15] local.INFO: Processing buffer {"connection_id":173796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:44:15] local.INFO: IMEI packet received {"connection_id":173796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":173796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:44:15] local.INFO: TCP Data received {"connection_id":172635,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075225f30012d19b54007206f300028009a2a..."} 
[2026-09-06 10:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075225f30012d19b54007206f300028009a2a..."} 
[2026-09-06 10:44:15] local.INFO: Processing buffer {"connection_id":172635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075225f30012d19b54007206f300028009a2a..."} 
[2026-09-06 10:44:15] local.INFO: Packet analysis {"connection_id":172635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:44:15] local.INFO: Extracted packet for processing {"connection_id":172635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756659520,"raw_latitude":119566128,"longitude_deg":75.665952,"latitude_deg":11.9566128,"altitude":40,"angle":154,"satellites":42,"speed":36,"hex_longitude":"2d19b540","hex_latitude":"07206f30","is_valid_coordinates":true} 
[2026-09-06 10:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899923712001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18169223490568192,"note":"Value kept but may cause issues"} 
[2026-09-06 10:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851049846203461632,"note":"Value kept but may cause issues"} 
[2026-09-06 10:44:15] 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-09-06 10:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788671582000,"timestamp_ms":1788671582000,"timestamp_seconds":1788671582,"priority":1,"record_length":96,"hex_timestamp":"000001a075225f30"} 
[2026-09-06 10:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:44:15] 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-09-06 10:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 10:44:15] 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-09-06 10:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899923712001,"66":13993,"103":206,"83":41984,"24":36,"16":18169223490568192,"45":1851049846203461632},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899923712001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:44:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18169223490568192,"km_value":18169223490568.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851049846203461632,"description":"Unknown IO ID 45"} 
[2026-09-06 10:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899923712001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1851049846203461632}} 
[2026-09-06 10:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":172635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:44:15] local.INFO: GPS data processed {"connection_id":172635,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:44:15] local.INFO: Acknowledgment sent {"connection_id":172635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:44:16] local.INFO: TCP Data received {"connection_id":173796,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075220558012d522ec006827210007c012f2b..."} 
[2026-09-06 10:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075220558012d522ec006827210007c012f2b..."} 
[2026-09-06 10:44:16] local.INFO: Processing buffer {"connection_id":173796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075220558012d522ec006827210007c012f2b..."} 
[2026-09-06 10:44:16] local.INFO: Packet analysis {"connection_id":173796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:44:16] local.INFO: Extracted packet for processing {"connection_id":173796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:44:16] local.INFO: GPS Element Parsed {"raw_longitude":760360640,"raw_latitude":109212176,"longitude_deg":76.036064,"latitude_deg":10.9212176,"altitude":124,"angle":303,"satellites":43,"speed":59,"hex_longitude":"2d522ec0","hex_latitude":"06827210","is_valid_coordinates":true} 
[2026-09-06 10:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899917568001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400494816904871936,"note":"Value kept but may cause issues"} 
[2026-09-06 10:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5930537049762162688,"note":"Value kept but may cause issues"} 
[2026-09-06 10:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788671559000,"timestamp_ms":1788671559000,"timestamp_seconds":1788671559,"priority":1,"record_length":96,"hex_timestamp":"000001a075220558"} 
[2026-09-06 10:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:44: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-09-06 10:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899917568001,"66":27789,"165":206,"80":60928,"24":59,"16":400494816904871936,"45":5930537049762162688},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,80,24,16,45]} 
[2026-09-06 10:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899917568001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:44:16] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-06 10:44:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-06 10:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400494816904871936,"km_value":400494816904871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5930537049762162688,"description":"Unknown IO ID 45"} 
[2026-09-06 10:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899917568001,"power":27789,"unknown_165":206,"unknown_80":60928,"ignition":59,"odometer":null,"unknown_45":5930537049762162688}} 
[2026-09-06 10:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":173796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:44:16] local.INFO: GPS data processed {"connection_id":173796,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:44:16] local.INFO: Acknowledgment sent {"connection_id":173796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:44:46] local.INFO: TCP Data received {"connection_id":172635,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075226ae8012d19b94007206520002700a72b..."} 
[2026-09-06 10:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075226ae8012d19b94007206520002700a72b..."} 
[2026-09-06 10:44:46] local.INFO: Processing buffer {"connection_id":172635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075226ae8012d19b94007206520002700a72b..."} 
[2026-09-06 10:44:46] local.INFO: Packet analysis {"connection_id":172635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:44:46] local.INFO: Extracted packet for processing {"connection_id":172635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119563552,"longitude_deg":75.6660544,"latitude_deg":11.9563552,"altitude":39,"angle":167,"satellites":43,"speed":37,"hex_longitude":"2d19b940","hex_latitude":"07206520","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899924992001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18169356634554368,"note":"Value kept but may cause issues"} 
[2026-09-06 10:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852457221085933568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:44:46] 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-09-06 10:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788671585000,"timestamp_ms":1788671585000,"timestamp_seconds":1788671585,"priority":1,"record_length":96,"hex_timestamp":"000001a075226ae8"} 
[2026-09-06 10:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:44:46] 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-09-06 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 10:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899924992001,"66":13928,"103":206,"83":41984,"24":37,"16":18169356634554368,"45":1852457221085933568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899924992001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:44:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18169356634554368,"km_value":18169356634554.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852457221085933568,"description":"Unknown IO ID 45"} 
[2026-09-06 10:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899924992001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1852457221085933568}} 
[2026-09-06 10:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":172635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:44:47] local.INFO: GPS data processed {"connection_id":172635,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:44:47] local.INFO: Acknowledgment sent {"connection_id":172635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:44:48] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:44:48] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:44:48] local.INFO: IMEI packet received {"connection_id":173797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":173797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:44:51] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:44:51] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:44:51] local.INFO: IMEI packet received {"connection_id":173797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":173797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:44:53] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:44:53] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:44:53] local.INFO: IMEI packet received {"connection_id":173797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":173797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:44:54] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0752220b0012d520d8006828638007e012b29..."} 
[2026-09-06 10:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752220b0012d520d8006828638007e012b29..."} 
[2026-09-06 10:44:54] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752220b0012d520d8006828638007e012b29..."} 
[2026-09-06 10:44:54] local.INFO: Packet analysis {"connection_id":173797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:44:54] local.INFO: Extracted packet for processing {"connection_id":173797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:44:54] local.INFO: GPS Element Parsed {"raw_longitude":760352128,"raw_latitude":109217336,"longitude_deg":76.0352128,"latitude_deg":10.9217336,"altitude":126,"angle":299,"satellites":41,"speed":52,"hex_longitude":"2d520d80","hex_latitude":"06828638","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899919104001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400495293646241792,"note":"Value kept but may cause issues"} 
[2026-09-06 10:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5921881694229630976,"note":"Value kept but may cause issues"} 
[2026-09-06 10:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788671566000,"timestamp_ms":1788671566000,"timestamp_seconds":1788671566,"priority":1,"record_length":96,"hex_timestamp":"000001a0752220b0"} 
[2026-09-06 10:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-06 10:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:44: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-09-06 10:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899919104001,"66":27821,"165":206,"80":60928,"24":52,"16":400495293646241792,"45":5921881694229630976},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,80,24,16,45]} 
[2026-09-06 10:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899919104001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:44:54] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-06 10:44:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-06 10:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400495293646241792,"km_value":400495293646241.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5921881694229630976,"description":"Unknown IO ID 45"} 
[2026-09-06 10:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899919104001,"power":27821,"unknown_165":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":5921881694229630976}} 
[2026-09-06 10:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":173797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:44:54] local.INFO: GPS data processed {"connection_id":173797,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:44:54] local.INFO: Acknowledgment sent {"connection_id":173797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:45:10] local.INFO: TCP Data received {"connection_id":172636,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:45:10] local.INFO: Processing buffer {"connection_id":172636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:45:10] local.INFO: IMEI packet received {"connection_id":172636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":172636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:45:11] local.INFO: TCP Data received {"connection_id":172636,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:45:11] local.INFO: Processing buffer {"connection_id":172636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:45:11] local.INFO: IMEI packet received {"connection_id":172636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":172636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:45:14] local.INFO: TCP Data received {"connection_id":172636,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:45:14] local.INFO: Processing buffer {"connection_id":172636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:45:14] local.INFO: IMEI packet received {"connection_id":172636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":172636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:45:15] local.INFO: TCP Data received {"connection_id":172636,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0752295e0012d19bd0007204290002800b027..."} 
[2026-09-06 10:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752295e0012d19bd0007204290002800b027..."} 
[2026-09-06 10:45:15] local.INFO: Processing buffer {"connection_id":172636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752295e0012d19bd0007204290002800b027..."} 
[2026-09-06 10:45:15] local.INFO: Packet analysis {"connection_id":172636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:45:15] local.INFO: Extracted packet for processing {"connection_id":172636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756661504,"raw_latitude":119554704,"longitude_deg":75.6661504,"latitude_deg":11.9554704,"altitude":40,"angle":176,"satellites":39,"speed":27,"hex_longitude":"2d19bd00","hex_latitude":"07204290","is_valid_coordinates":true} 
[2026-09-06 10:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899925760001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18169790426251264,"note":"Value kept but may cause issues"} 
[2026-09-06 10:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120992116736,"note":"Value kept but may cause issues"} 
[2026-09-06 10:45:15] 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-09-06 10:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788671596000,"timestamp_ms":1788671596000,"timestamp_seconds":1788671596,"priority":1,"record_length":96,"hex_timestamp":"000001a0752295e0"} 
[2026-09-06 10:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:45:15] 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-09-06 10:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 10:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899925760001,"66":13993,"103":206,"83":41984,"24":27,"16":18169790426251264,"45":1853583120992116736},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899925760001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:45:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18169790426251264,"km_value":18169790426251.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120992116736,"description":"Unknown IO ID 45"} 
[2026-09-06 10:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899925760001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1853583120992116736}} 
[2026-09-06 10:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":172636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:45:15] local.INFO: GPS data processed {"connection_id":172636,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:45:15] local.INFO: Acknowledgment sent {"connection_id":172636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:45:25] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075223ff0012d51ebc0068299e8007f012c2a..."} 
[2026-09-06 10:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075223ff0012d51ebc0068299e8007f012c2a..."} 
[2026-09-06 10:45:25] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075223ff0012d51ebc0068299e8007f012c2a..."} 
[2026-09-06 10:45:25] local.INFO: Packet analysis {"connection_id":173797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:45:25] local.INFO: Extracted packet for processing {"connection_id":173797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:45:25] local.INFO: GPS Element Parsed {"raw_longitude":760343488,"raw_latitude":109222376,"longitude_deg":76.0343488,"latitude_deg":10.9222376,"altitude":127,"angle":300,"satellites":42,"speed":48,"hex_longitude":"2d51ebc0","hex_latitude":"068299e8","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899920896001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400495770387611648,"note":"Value kept but may cause issues"} 
[2026-09-06 10:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5912522651255322624,"note":"Value kept but may cause issues"} 
[2026-09-06 10:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788671574000,"timestamp_ms":1788671574000,"timestamp_seconds":1788671574,"priority":1,"record_length":96,"hex_timestamp":"000001a075223ff0"} 
[2026-09-06 10:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:45: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-09-06 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:45: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-09-06 10: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-09-06 10:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:45: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-09-06 10:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899920896001,"66":27767,"165":206,"80":60928,"24":48,"16":400495770387611648,"45":5912522651255322624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,80,24,16,45]} 
[2026-09-06 10:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899920896001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:45:25] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-06 10:45:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-06 10:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400495770387611648,"km_value":400495770387611.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5912522651255322624,"description":"Unknown IO ID 45"} 
[2026-09-06 10:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899920896001,"power":27767,"unknown_165":206,"unknown_80":60928,"ignition":48,"odometer":null,"unknown_45":5912522651255322624}} 
[2026-09-06 10:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":173797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:45:25] local.INFO: GPS data processed {"connection_id":173797,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:45:25] local.INFO: Acknowledgment sent {"connection_id":173797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:45:46] local.INFO: TCP Data received {"connection_id":172636,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07522a198012d19be8007203ac0002900a329..."} 
[2026-09-06 10:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07522a198012d19be8007203ac0002900a329..."} 
[2026-09-06 10:45:46] local.INFO: Processing buffer {"connection_id":172636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07522a198012d19be8007203ac0002900a329..."} 
[2026-09-06 10:45:46] local.INFO: Packet analysis {"connection_id":172636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:45:46] local.INFO: Extracted packet for processing {"connection_id":172636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756661888,"raw_latitude":119552704,"longitude_deg":75.6661888,"latitude_deg":11.9552704,"altitude":41,"angle":163,"satellites":41,"speed":29,"hex_longitude":"2d19be80","hex_latitude":"07203ac0","is_valid_coordinates":true} 
[2026-09-06 10:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899928576001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18169889210499072,"note":"Value kept but may cause issues"} 
[2026-09-06 10:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854638652152516608,"note":"Value kept but may cause issues"} 
[2026-09-06 10:45:46] 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-09-06 10:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788671599000,"timestamp_ms":1788671599000,"timestamp_seconds":1788671599,"priority":1,"record_length":96,"hex_timestamp":"000001a07522a198"} 
[2026-09-06 10:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:45:46] 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-09-06 10:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 10:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899928576001,"66":13928,"103":206,"83":41984,"24":29,"16":18169889210499072,"45":1854638652152516608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899928576001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:45:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18169889210499072,"km_value":18169889210499.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854638652152516608,"description":"Unknown IO ID 45"} 
[2026-09-06 10:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899928576001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1854638652152516608}} 
[2026-09-06 10:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":172636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:45:46] local.INFO: GPS data processed {"connection_id":172636,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:45:46] local.INFO: Acknowledgment sent {"connection_id":172636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:45:58] local.INFO: TCP Data received {"connection_id":175114,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:45:58] local.INFO: Processing buffer {"connection_id":175114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:45:58] local.INFO: IMEI packet received {"connection_id":175114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":175114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:46:00] local.INFO: TCP Data received {"connection_id":175114,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:46:00] local.INFO: Processing buffer {"connection_id":175114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:46:00] local.INFO: IMEI packet received {"connection_id":175114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":175114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:46:01] local.INFO: TCP Data received {"connection_id":175114,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07523de00012d50e44006837398008d01252b..."} 
[2026-09-06 10:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07523de00012d50e44006837398008d01252b..."} 
[2026-09-06 10:46:01] local.INFO: Processing buffer {"connection_id":175114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07523de00012d50e44006837398008d01252b..."} 
[2026-09-06 10:46:01] local.INFO: Packet analysis {"connection_id":175114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07523"} 
[2026-09-06 10:46:01] local.INFO: Extracted packet for processing {"connection_id":175114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07523"} 
[2026-09-06 10:46:01] local.INFO: GPS Element Parsed {"raw_longitude":760276032,"raw_latitude":109278104,"longitude_deg":76.0276032,"latitude_deg":10.9278104,"altitude":141,"angle":293,"satellites":43,"speed":27,"hex_longitude":"2d50e440","hex_latitude":"06837398","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899947776001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400500022405234688,"note":"Value kept but may cause issues"} 
[2026-09-06 10:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5833639289047011328,"note":"Value kept but may cause issues"} 
[2026-09-06 10:46:01] 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-09-06 10:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788671680000,"timestamp_ms":1788671680000,"timestamp_seconds":1788671680,"priority":1,"record_length":96,"hex_timestamp":"000001a07523de00"} 
[2026-09-06 10:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:46: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-09-06 10:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:46: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-09-06 10:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899947776001,"66":27767,"173":206,"80":60928,"24":27,"16":400500022405234688,"45":5833639289047011328},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-09-06 10:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899947776001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:46:01] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-06 10:46:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-06 10:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400500022405234688,"km_value":400500022405234.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5833639289047011328,"description":"Unknown IO ID 45"} 
[2026-09-06 10:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899947776001,"power":27767,"unknown_173":206,"unknown_80":60928,"ignition":27,"odometer":null,"unknown_45":5833639289047011328}} 
[2026-09-06 10:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":175114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:46:01] local.INFO: GPS data processed {"connection_id":175114,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:46:01] local.INFO: Acknowledgment sent {"connection_id":175114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:46:09] local.INFO: TCP Data received {"connection_id":175115,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:46:09] local.INFO: Processing buffer {"connection_id":175115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:46:09] local.INFO: IMEI packet received {"connection_id":175115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":175115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:46:14] local.INFO: TCP Data received {"connection_id":175115,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:46:14] local.INFO: Processing buffer {"connection_id":175115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:46:14] local.INFO: IMEI packet received {"connection_id":175115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":175115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:46:15] local.INFO: TCP Data received {"connection_id":175115,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07522f3a0012d19c34007202d88002c00a629..."} 
[2026-09-06 10:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07522f3a0012d19c34007202d88002c00a629..."} 
[2026-09-06 10:46:15] local.INFO: Processing buffer {"connection_id":175115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07522f3a0012d19c34007202d88002c00a629..."} 
[2026-09-06 10:46:15] local.INFO: Packet analysis {"connection_id":175115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:46:15] local.INFO: Extracted packet for processing {"connection_id":175115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07522"} 
[2026-09-06 10:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756663104,"raw_latitude":119549320,"longitude_deg":75.6663104,"latitude_deg":11.954932,"altitude":44,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d19c340","hex_latitude":"07202d88","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899929344001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170086778994688,"note":"Value kept but may cause issues"} 
[2026-09-06 10:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855060864617070592,"note":"Value kept but may cause issues"} 
[2026-09-06 10:46:15] 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-09-06 10:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788671620000,"timestamp_ms":1788671620000,"timestamp_seconds":1788671620,"priority":1,"record_length":96,"hex_timestamp":"000001a07522f3a0"} 
[2026-09-06 10:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 10:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899929344001,"66":14233,"103":206,"83":41984,"24":0,"16":18170086778994688,"45":1855060864617070592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899929344001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:46:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170086778994688,"km_value":18170086778994.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855060864617070592,"description":"Unknown IO ID 45"} 
[2026-09-06 10:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899929344001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1855060864617070592}} 
[2026-09-06 10:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":175115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:46:15] local.INFO: GPS data processed {"connection_id":175115,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:46:15] local.INFO: Acknowledgment sent {"connection_id":175115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:46:32] local.INFO: TCP Data received {"connection_id":175114,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0752408f8012d50c0c006837ff8008f011d28..."} 
[2026-09-06 10:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752408f8012d50c0c006837ff8008f011d28..."} 
[2026-09-06 10:46:32] local.INFO: Processing buffer {"connection_id":175114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752408f8012d50c0c006837ff8008f011d28..."} 
[2026-09-06 10:46:32] local.INFO: Packet analysis {"connection_id":175114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07524"} 
[2026-09-06 10:46:32] local.INFO: Extracted packet for processing {"connection_id":175114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07524"} 
[2026-09-06 10:46:32] local.INFO: GPS Element Parsed {"raw_longitude":760266944,"raw_latitude":109281272,"longitude_deg":76.0266944,"latitude_deg":10.9281272,"altitude":143,"angle":285,"satellites":40,"speed":40,"hex_longitude":"2d50c0c0","hex_latitude":"06837ff8","is_valid_coordinates":true} 
[2026-09-06 10:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899950080001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400500477671768064,"note":"Value kept but may cause issues"} 
[2026-09-06 10:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5828854214443636736,"note":"Value kept but may cause issues"} 
[2026-09-06 10:46:32] 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-09-06 10:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788671691000,"timestamp_ms":1788671691000,"timestamp_seconds":1788671691,"priority":1,"record_length":96,"hex_timestamp":"000001a0752408f8"} 
[2026-09-06 10:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 10:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899950080001,"66":27843,"174":206,"80":60928,"24":40,"16":400500477671768064,"45":5828854214443636736},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-09-06 10:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899950080001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:46:32] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-06 10:46:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-06 10:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400500477671768064,"km_value":400500477671768.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5828854214443636736,"description":"Unknown IO ID 45"} 
[2026-09-06 10:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899950080001,"power":27843,"unknown_174":206,"unknown_80":60928,"ignition":40,"odometer":null,"unknown_45":5828854214443636736}} 
[2026-09-06 10:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":175114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:46:32] local.INFO: GPS data processed {"connection_id":175114,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:46:32] local.INFO: Acknowledgment sent {"connection_id":175114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:46:46] local.INFO: TCP Data received {"connection_id":175115,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0752345a8012d19c34007202d88002c00a629..."} 
[2026-09-06 10:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752345a8012d19c34007202d88002c00a629..."} 
[2026-09-06 10:46:46] local.INFO: Processing buffer {"connection_id":175115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752345a8012d19c34007202d88002c00a629..."} 
[2026-09-06 10:46:46] local.INFO: Packet analysis {"connection_id":175115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07523"} 
[2026-09-06 10:46:46] local.INFO: Extracted packet for processing {"connection_id":175115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07523"} 
[2026-09-06 10:46:46] local.INFO: GPS Element Parsed {"raw_longitude":756663104,"raw_latitude":119549320,"longitude_deg":75.6663104,"latitude_deg":11.954932,"altitude":44,"angle":166,"satellites":41,"speed":0,"hex_longitude":"2d19c340","hex_latitude":"07202d88","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899934720001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170086778994688,"note":"Value kept but may cause issues"} 
[2026-09-06 10:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856397870755579904,"note":"Value kept but may cause issues"} 
[2026-09-06 10:46:46] 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-09-06 10:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788671641000,"timestamp_ms":1788671641000,"timestamp_seconds":1788671641,"priority":1,"record_length":96,"hex_timestamp":"000001a0752345a8"} 
[2026-09-06 10:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:46:46] 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-09-06 10: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-06 10:46:46] 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-09-06 10: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-09-06 10:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899934720001,"66":14265,"103":206,"83":41984,"24":0,"16":18170086778994688,"45":1856397870755579904},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899934720001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:46:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170086778994688,"km_value":18170086778994.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856397870755579904,"description":"Unknown IO ID 45"} 
[2026-09-06 10:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899934720001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1856397870755579904}} 
[2026-09-06 10:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":175115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:46:46] local.INFO: GPS data processed {"connection_id":175115,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:46:46] local.INFO: Acknowledgment sent {"connection_id":175115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:46:48] local.INFO: TCP Data received {"connection_id":175116,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:46:48] local.INFO: Processing buffer {"connection_id":175116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:46:48] local.INFO: IMEI packet received {"connection_id":175116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":175116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:46:49] local.INFO: TCP Data received {"connection_id":175116,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:46:49] local.INFO: Processing buffer {"connection_id":175116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:46:49] local.INFO: IMEI packet received {"connection_id":175116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":175116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:47:14] local.INFO: TCP Data received {"connection_id":172637,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:47:14] local.INFO: Processing buffer {"connection_id":172637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:47:14] local.INFO: IMEI packet received {"connection_id":172637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":172637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:47:19] local.INFO: TCP Data received {"connection_id":172637,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:47:19] local.INFO: Processing buffer {"connection_id":172637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:47:19] local.INFO: IMEI packet received {"connection_id":172637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":172637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:47:20] local.INFO: TCP Data received {"connection_id":172637,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0752397b0012d19c34007202d88002c00a62c..."} 
[2026-09-06 10:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752397b0012d19c34007202d88002c00a62c..."} 
[2026-09-06 10:47:20] local.INFO: Processing buffer {"connection_id":172637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752397b0012d19c34007202d88002c00a62c..."} 
[2026-09-06 10:47:20] local.INFO: Packet analysis {"connection_id":172637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07523"} 
[2026-09-06 10:47:20] local.INFO: Extracted packet for processing {"connection_id":172637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07523"} 
[2026-09-06 10:47:20] local.INFO: GPS Element Parsed {"raw_longitude":756663104,"raw_latitude":119549320,"longitude_deg":75.6663104,"latitude_deg":11.954932,"altitude":44,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d19c340","hex_latitude":"07202d88","is_valid_coordinates":true} 
[2026-09-06 10:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899940096001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170086778994688,"note":"Value kept but may cause issues"} 
[2026-09-06 10:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856397870755579904,"note":"Value kept but may cause issues"} 
[2026-09-06 10:47:20] 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-09-06 10:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788671662000,"timestamp_ms":1788671662000,"timestamp_seconds":1788671662,"priority":1,"record_length":96,"hex_timestamp":"000001a0752397b0"} 
[2026-09-06 10:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-06 10:47:20] 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-09-06 10:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899940096001,"66":13276,"103":206,"83":41984,"24":0,"16":18170086778994688,"45":1856397870755579904},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899940096001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:47:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:47:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170086778994688,"km_value":18170086778994.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856397870755579904,"description":"Unknown IO ID 45"} 
[2026-09-06 10:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899940096001,"power":13276,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1856397870755579904}} 
[2026-09-06 10:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":172637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:47:20] local.INFO: GPS data processed {"connection_id":172637,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:47:20] local.INFO: Acknowledgment sent {"connection_id":172637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:47:20] local.INFO: TCP Data received {"connection_id":175116,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:47:20] local.INFO: Processing buffer {"connection_id":175116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:47:20] local.INFO: IMEI packet received {"connection_id":175116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":175116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:47:22] local.INFO: TCP Data received {"connection_id":175116,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075242c20012d509b80068387c8008f011729..."} 
[2026-09-06 10:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075242c20012d509b80068387c8008f011729..."} 
[2026-09-06 10:47:22] local.INFO: Processing buffer {"connection_id":175116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075242c20012d509b80068387c8008f011729..."} 
[2026-09-06 10:47:22] local.INFO: Packet analysis {"connection_id":175116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07524"} 
[2026-09-06 10:47:22] local.INFO: Extracted packet for processing {"connection_id":175116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07524"} 
[2026-09-06 10:47:22] local.INFO: GPS Element Parsed {"raw_longitude":760257408,"raw_latitude":109283272,"longitude_deg":76.0257408,"latitude_deg":10.9283272,"altitude":143,"angle":279,"satellites":41,"speed":43,"hex_longitude":"2d509b80","hex_latitude":"068387c8","is_valid_coordinates":true} 
[2026-09-06 10:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899952896001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400500945823203328,"note":"Value kept but may cause issues"} 
[2026-09-06 10:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5818861852771219456,"note":"Value kept but may cause issues"} 
[2026-09-06 10:47:22] 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-09-06 10:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788671700000,"timestamp_ms":1788671700000,"timestamp_seconds":1788671700,"priority":1,"record_length":96,"hex_timestamp":"000001a075242c20"} 
[2026-09-06 10:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-06 10:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:47: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-09-06 10:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899952896001,"66":27865,"174":206,"80":60928,"24":43,"16":400500945823203328,"45":5818861852771219456},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-09-06 10:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899952896001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:47:22] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-06 10:47:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-06 10:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400500945823203328,"km_value":400500945823203.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5818861852771219456,"description":"Unknown IO ID 45"} 
[2026-09-06 10:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899952896001,"power":27865,"unknown_174":206,"unknown_80":60928,"ignition":43,"odometer":null,"unknown_45":5818861852771219456}} 
[2026-09-06 10:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":175116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:47:22] local.INFO: GPS data processed {"connection_id":175116,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:47:22] local.INFO: Acknowledgment sent {"connection_id":175116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:47:25] local.INFO: TCP Data received {"connection_id":172637,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07523c2a8012d19c440072029a8002d00992d..."} 
[2026-09-06 10:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07523c2a8012d19c440072029a8002d00992d..."} 
[2026-09-06 10:47:25] local.INFO: Processing buffer {"connection_id":172637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07523c2a8012d19c440072029a8002d00992d..."} 
[2026-09-06 10:47:25] local.INFO: Packet analysis {"connection_id":172637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07523"} 
[2026-09-06 10:47:25] local.INFO: Extracted packet for processing {"connection_id":172637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07523"} 
[2026-09-06 10:47:25] local.INFO: GPS Element Parsed {"raw_longitude":756663360,"raw_latitude":119548328,"longitude_deg":75.666336,"latitude_deg":11.9548328,"altitude":45,"angle":153,"satellites":45,"speed":11,"hex_longitude":"2d19c440","hex_latitude":"072029a8","is_valid_coordinates":true} 
[2026-09-06 10:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899945472001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170134023634944,"note":"Value kept but may cause issues"} 
[2026-09-06 10:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856397870755579904,"note":"Value kept but may cause issues"} 
[2026-09-06 10:47:25] 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-09-06 10:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788671673000,"timestamp_ms":1788671673000,"timestamp_seconds":1788671673,"priority":1,"record_length":96,"hex_timestamp":"000001a07523c2a8"} 
[2026-09-06 10:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-06 10:47:25] 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-09-06 10:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899945472001,"66":13135,"103":206,"83":41984,"24":11,"16":18170134023634944,"45":1856397870755579904},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899945472001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:47:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:47:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170134023634944,"km_value":18170134023634.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856397870755579904,"description":"Unknown IO ID 45"} 
[2026-09-06 10:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899945472001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1856397870755579904}} 
[2026-09-06 10:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":172637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:47:25] local.INFO: GPS data processed {"connection_id":172637,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:47:25] local.INFO: Acknowledgment sent {"connection_id":172637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:47:35] local.INFO: TCP Data received {"connection_id":175117,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:47:35] local.INFO: Processing buffer {"connection_id":175117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:47:35] local.INFO: IMEI packet received {"connection_id":175117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 10:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":175117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:47:48] local.INFO: TCP Data received {"connection_id":172421,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:47:48] local.INFO: Processing buffer {"connection_id":172421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:47:48] local.INFO: IMEI packet received {"connection_id":172421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":172421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:47:50] local.INFO: TCP Data received {"connection_id":172421,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:47:50] local.INFO: Processing buffer {"connection_id":172421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:47:50] local.INFO: IMEI packet received {"connection_id":172421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":172421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:47:50] local.INFO: TCP Data received {"connection_id":172421,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:47:50] local.INFO: Processing buffer {"connection_id":172421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:47:50] local.INFO: IMEI packet received {"connection_id":172421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":172421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:47:54] local.INFO: TCP Data received {"connection_id":172421,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:47:54] local.INFO: Processing buffer {"connection_id":172421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:47:54] local.INFO: IMEI packet received {"connection_id":172421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":172421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:47:55] local.INFO: TCP Data received {"connection_id":172421,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075259b50012d4e71c00683f718007101412c..."} 
[2026-09-06 10:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075259b50012d4e71c00683f718007101412c..."} 
[2026-09-06 10:47:55] local.INFO: Processing buffer {"connection_id":172421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075259b50012d4e71c00683f718007101412c..."} 
[2026-09-06 10:47:55] local.INFO: Packet analysis {"connection_id":172421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07525"} 
[2026-09-06 10:47:55] local.INFO: Extracted packet for processing {"connection_id":172421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07525"} 
[2026-09-06 10:47:55] local.INFO: GPS Element Parsed {"raw_longitude":760115648,"raw_latitude":109311768,"longitude_deg":76.0115648,"latitude_deg":10.9311768,"altitude":113,"angle":321,"satellites":44,"speed":60,"hex_longitude":"2d4e71c0","hex_latitude":"0683f718","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899978240001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400507912260157440,"note":"Value kept but may cause issues"} 
[2026-09-06 10:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5657365584890142720,"note":"Value kept but may cause issues"} 
[2026-09-06 10:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788671794000,"timestamp_ms":1788671794000,"timestamp_seconds":1788671794,"priority":1,"record_length":96,"hex_timestamp":"000001a075259b50"} 
[2026-09-06 10:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:47: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-09-06 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 10:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899978240001,"66":27745,"184":206,"80":60928,"24":60,"16":400507912260157440,"45":5657365584890142720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,80,24,16,45]} 
[2026-09-06 10:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899978240001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:47:55] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-06 10:47:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-06 10:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400507912260157440,"km_value":400507912260157.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5657365584890142720,"description":"Unknown IO ID 45"} 
[2026-09-06 10:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899978240001,"power":27745,"unknown_184":206,"unknown_80":60928,"ignition":60,"odometer":null,"unknown_45":5657365584890142720}} 
[2026-09-06 10:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":172421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:47:55] local.INFO: GPS data processed {"connection_id":172421,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:47:55] local.INFO: Acknowledgment sent {"connection_id":172421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:48:09] local.INFO: TCP Data received {"connection_id":172638,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:48:09] local.INFO: Processing buffer {"connection_id":172638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:48:09] local.INFO: IMEI packet received {"connection_id":172638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":172638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:48:10] local.INFO: TCP Data received {"connection_id":172638,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:48:10] local.INFO: Processing buffer {"connection_id":172638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:48:10] local.INFO: IMEI packet received {"connection_id":172638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":172638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:48:14] local.INFO: TCP Data received {"connection_id":172638,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:48:14] local.INFO: Processing buffer {"connection_id":172638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:48:14] local.INFO: IMEI packet received {"connection_id":172638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":172638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:48:15] local.INFO: TCP Data received {"connection_id":172638,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07523e9b8012d19cbc007201be8002c008b2b..."} 
[2026-09-06 10:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07523e9b8012d19cbc007201be8002c008b2b..."} 
[2026-09-06 10:48:15] local.INFO: Processing buffer {"connection_id":172638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07523e9b8012d19cbc007201be8002c008b2b..."} 
[2026-09-06 10:48:15] local.INFO: Packet analysis {"connection_id":172638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07523"} 
[2026-09-06 10:48:15] local.INFO: Extracted packet for processing {"connection_id":172638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07523"} 
[2026-09-06 10:48:15] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119544808,"longitude_deg":75.666528,"latitude_deg":11.9544808,"altitude":44,"angle":139,"satellites":43,"speed":8,"hex_longitude":"2d19cbc0","hex_latitude":"07201be8","is_valid_coordinates":true} 
[2026-09-06 10:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899948288001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170327297163264,"note":"Value kept but may cause issues"} 
[2026-09-06 10:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856679345732036608,"note":"Value kept but may cause issues"} 
[2026-09-06 10:48:15] 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-09-06 10:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788671683000,"timestamp_ms":1788671683000,"timestamp_seconds":1788671683,"priority":1,"record_length":96,"hex_timestamp":"000001a07523e9b8"} 
[2026-09-06 10:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:48:15] 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-09-06 10:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 10:48:15] 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-09-06 10:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899948288001,"66":13135,"103":206,"83":41984,"24":8,"16":18170327297163264,"45":1856679345732036608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899948288001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:48:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:48:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170327297163264,"km_value":18170327297163.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856679345732036608,"description":"Unknown IO ID 45"} 
[2026-09-06 10:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899948288001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1856679345732036608}} 
[2026-09-06 10:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":172638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:48:15] local.INFO: GPS data processed {"connection_id":172638,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:48:15] local.INFO: Acknowledgment sent {"connection_id":172638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:48:26] local.INFO: TCP Data received {"connection_id":172421,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07525b6a8012d4e5a80068415f0007201442b..."} 
[2026-09-06 10:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07525b6a8012d4e5a80068415f0007201442b..."} 
[2026-09-06 10:48:26] local.INFO: Processing buffer {"connection_id":172421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07525b6a8012d4e5a80068415f0007201442b..."} 
[2026-09-06 10:48:26] local.INFO: Packet analysis {"connection_id":172421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07525"} 
[2026-09-06 10:48:26] local.INFO: Extracted packet for processing {"connection_id":172421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07525"} 
[2026-09-06 10:48:26] local.INFO: GPS Element Parsed {"raw_longitude":760109696,"raw_latitude":109319664,"longitude_deg":76.0109696,"latitude_deg":10.9319664,"altitude":114,"angle":324,"satellites":43,"speed":51,"hex_longitude":"2d4e5a80","hex_latitude":"068415f0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899979264001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400508389001527296,"note":"Value kept but may cause issues"} 
[2026-09-06 10:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5652510141543028736,"note":"Value kept but may cause issues"} 
[2026-09-06 10:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788671801000,"timestamp_ms":1788671801000,"timestamp_seconds":1788671801,"priority":1,"record_length":96,"hex_timestamp":"000001a07525b6a8"} 
[2026-09-06 10:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:48: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-09-06 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 10:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:48: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-09-06 10:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899979264001,"66":27821,"184":206,"80":60928,"24":51,"16":400508389001527296,"45":5652510141543028736},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,80,24,16,45]} 
[2026-09-06 10:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899979264001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:48:26] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-06 10:48:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-06 10:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400508389001527296,"km_value":400508389001527.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5652510141543028736,"description":"Unknown IO ID 45"} 
[2026-09-06 10:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899979264001,"power":27821,"unknown_184":206,"unknown_80":60928,"ignition":51,"odometer":null,"unknown_45":5652510141543028736}} 
[2026-09-06 10:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":172421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:48:26] local.INFO: GPS data processed {"connection_id":172421,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:48:26] local.INFO: Acknowledgment sent {"connection_id":172421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:48:47] local.INFO: TCP Data received {"connection_id":172638,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075243bc0012d19cd0007201aa8002c00822b..."} 
[2026-09-06 10:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075243bc0012d19cd0007201aa8002c00822b..."} 
[2026-09-06 10:48:47] local.INFO: Processing buffer {"connection_id":172638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075243bc0012d19cd0007201aa8002c00822b..."} 
[2026-09-06 10:48:47] local.INFO: Packet analysis {"connection_id":172638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07524"} 
[2026-09-06 10:48:47] local.INFO: Extracted packet for processing {"connection_id":172638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07524"} 
[2026-09-06 10:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544488,"longitude_deg":75.66656,"latitude_deg":11.9544488,"altitude":44,"angle":130,"satellites":43,"speed":0,"hex_longitude":"2d19cd00","hex_latitude":"07201aa8","is_valid_coordinates":true} 
[2026-09-06 10:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899950848001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170357361934336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408056465408,"note":"Value kept but may cause issues"} 
[2026-09-06 10:48:47] 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-09-06 10:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788671704000,"timestamp_ms":1788671704000,"timestamp_seconds":1788671704,"priority":1,"record_length":96,"hex_timestamp":"000001a075243bc0"} 
[2026-09-06 10:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:48:47] 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-09-06 10:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 10:48:47] 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-09-06 10:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":172638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":172638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":172638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899950848001,"66":13004,"103":206,"83":41984,"24":0,"16":18170357361934336,"45":1858790408056465408},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899950848001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:48:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:48:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170357361934336,"km_value":18170357361934.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408056465408,"description":"Unknown IO ID 45"} 
[2026-09-06 10:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899950848001,"power":13004,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1858790408056465408}} 
[2026-09-06 10:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":172638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:48:47] local.INFO: GPS data processed {"connection_id":172638,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:48:47] local.INFO: Acknowledgment sent {"connection_id":172638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:48:48] local.INFO: TCP Data received {"connection_id":173798,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:48:48] local.INFO: Processing buffer {"connection_id":173798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:48:48] local.INFO: IMEI packet received {"connection_id":173798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":173798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:48:52] local.INFO: TCP Data received {"connection_id":173798,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:48:52] local.INFO: Processing buffer {"connection_id":173798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:48:52] local.INFO: IMEI packet received {"connection_id":173798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":173798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:48:53] local.INFO: TCP Data received {"connection_id":173798,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07526acc0012d4d4d80068493600077013123..."} 
[2026-09-06 10:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07526acc0012d4d4d80068493600077013123..."} 
[2026-09-06 10:48:53] local.INFO: Processing buffer {"connection_id":173798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07526acc0012d4d4d80068493600077013123..."} 
[2026-09-06 10:48:53] local.INFO: Packet analysis {"connection_id":173798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07526"} 
[2026-09-06 10:48:53] local.INFO: Extracted packet for processing {"connection_id":173798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07526"} 
[2026-09-06 10:48:53] local.INFO: GPS Element Parsed {"raw_longitude":760040832,"raw_latitude":109351776,"longitude_deg":76.0040832,"latitude_deg":10.9351776,"altitude":119,"angle":305,"satellites":35,"speed":57,"hex_longitude":"2d4d4d80","hex_latitude":"06849360","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899996672001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400512164277780480,"note":"Value kept but may cause issues"} 
[2026-09-06 10:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5572923091887915008,"note":"Value kept but may cause issues"} 
[2026-09-06 10:48:53] 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-09-06 10:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788671864000,"timestamp_ms":1788671864000,"timestamp_seconds":1788671864,"priority":1,"record_length":96,"hex_timestamp":"000001a07526acc0"} 
[2026-09-06 10:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:48: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-09-06 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 10:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:48: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-09-06 10:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899996672001,"66":27843,"103":206,"80":60928,"24":57,"16":400512164277780480,"45":5572923091887915008},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-06 10:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899996672001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:48:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:48:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-06 10:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400512164277780480,"km_value":400512164277780.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5572923091887915008,"description":"Unknown IO ID 45"} 
[2026-09-06 10:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899996672001,"power":27843,"unknown_103":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":5572923091887915008}} 
[2026-09-06 10:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":173798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:48:53] local.INFO: GPS data processed {"connection_id":173798,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:48:53] local.INFO: Acknowledgment sent {"connection_id":173798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:49:09] local.INFO: TCP Data received {"connection_id":175118,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:49:09] local.INFO: Processing buffer {"connection_id":175118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:49:09] local.INFO: IMEI packet received {"connection_id":175118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":175118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:49:12] local.INFO: TCP Data received {"connection_id":175118,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:49:12] local.INFO: Processing buffer {"connection_id":175118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:49:12] local.INFO: IMEI packet received {"connection_id":175118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":175118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:49:13] local.INFO: TCP Data received {"connection_id":175118,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075248dc8012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075248dc8012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:49:13] local.INFO: Processing buffer {"connection_id":175118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075248dc8012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:49:13] local.INFO: Packet analysis {"connection_id":175118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07524"} 
[2026-09-06 10:49:13] local.INFO: Extracted packet for processing {"connection_id":175118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07524"} 
[2026-09-06 10:49:13] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544488,"longitude_deg":75.66656,"latitude_deg":11.9544488,"altitude":44,"angle":130,"satellites":44,"speed":0,"hex_longitude":"2d19cd00","hex_latitude":"07201aa8","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899956224001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170357361934336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777271808,"note":"Value kept but may cause issues"} 
[2026-09-06 10:49: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-09-06 10:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788671725000,"timestamp_ms":1788671725000,"timestamp_seconds":1788671725,"priority":1,"record_length":96,"hex_timestamp":"000001a075248dc8"} 
[2026-09-06 10:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:49: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-09-06 10: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 10:49:13] 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-09-06 10: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-09-06 10:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899956224001,"66":12950,"103":206,"83":41984,"24":0,"16":18170357361934336,"45":1859142251777271808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899956224001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:49:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:49:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170357361934336,"km_value":18170357361934.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777271808,"description":"Unknown IO ID 45"} 
[2026-09-06 10:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899956224001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859142251777271808}} 
[2026-09-06 10:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":175118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:49:13] local.INFO: GPS data processed {"connection_id":175118,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:49:13] local.INFO: Acknowledgment sent {"connection_id":175118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:49:25] local.INFO: TCP Data received {"connection_id":173798,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07526c430012d4d33800684abe80074013b25..."} 
[2026-09-06 10:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07526c430012d4d33800684abe80074013b25..."} 
[2026-09-06 10:49:25] local.INFO: Processing buffer {"connection_id":173798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07526c430012d4d33800684abe80074013b25..."} 
[2026-09-06 10:49:25] local.INFO: Packet analysis {"connection_id":173798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07526"} 
[2026-09-06 10:49:25] local.INFO: Extracted packet for processing {"connection_id":173798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07526"} 
[2026-09-06 10:49:25] local.INFO: GPS Element Parsed {"raw_longitude":760034176,"raw_latitude":109358056,"longitude_deg":76.0034176,"latitude_deg":10.9358056,"altitude":116,"angle":315,"satellites":37,"speed":62,"hex_longitude":"2d4d3380","hex_latitude":"0684abe8","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899997184001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400512602364444672,"note":"Value kept but may cause issues"} 
[2026-09-06 10:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5570249079609581568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:49:25] 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-09-06 10:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788671870000,"timestamp_ms":1788671870000,"timestamp_seconds":1788671870,"priority":1,"record_length":96,"hex_timestamp":"000001a07526c430"} 
[2026-09-06 10:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:49: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-09-06 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-06 10:49:25] 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-09-06 10: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-09-06 10:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:49: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-09-06 10:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899997184001,"66":27995,"103":206,"80":60928,"24":62,"16":400512602364444672,"45":5570249079609581568},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-06 10:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899997184001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:49:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:49:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-06 10:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400512602364444672,"km_value":400512602364444.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5570249079609581568,"description":"Unknown IO ID 45"} 
[2026-09-06 10:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899997184001,"power":27995,"unknown_103":206,"unknown_80":60928,"ignition":62,"odometer":null,"unknown_45":5570249079609581568}} 
[2026-09-06 10:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":173798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:49:25] local.INFO: GPS data processed {"connection_id":173798,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:49:25] local.INFO: Acknowledgment sent {"connection_id":173798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:49:44] local.INFO: TCP Data received {"connection_id":175118,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07524dfd0012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07524dfd0012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:49:44] local.INFO: Processing buffer {"connection_id":175118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07524dfd0012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:49:44] local.INFO: Packet analysis {"connection_id":175118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07524"} 
[2026-09-06 10:49:44] local.INFO: Extracted packet for processing {"connection_id":175118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07524"} 
[2026-09-06 10:49:44] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544488,"longitude_deg":75.66656,"latitude_deg":11.9544488,"altitude":44,"angle":130,"satellites":44,"speed":0,"hex_longitude":"2d19cd00","hex_latitude":"07201aa8","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899961600001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170357361934336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777271808,"note":"Value kept but may cause issues"} 
[2026-09-06 10:49: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-09-06 10:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788671746000,"timestamp_ms":1788671746000,"timestamp_seconds":1788671746,"priority":1,"record_length":96,"hex_timestamp":"000001a07524dfd0"} 
[2026-09-06 10:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:49:44] 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-09-06 10: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":150,"data_length":795,"current_offset":136} 
[2026-09-06 10:49: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-09-06 10: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-09-06 10:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899961600001,"66":12939,"103":206,"83":41984,"24":0,"16":18170357361934336,"45":1859142251777271808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899961600001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:49:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:49:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170357361934336,"km_value":18170357361934.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777271808,"description":"Unknown IO ID 45"} 
[2026-09-06 10:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899961600001,"power":12939,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859142251777271808}} 
[2026-09-06 10:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":175118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:49:44] local.INFO: GPS data processed {"connection_id":175118,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:49:44] local.INFO: Acknowledgment sent {"connection_id":175118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:50:01] local.INFO: TCP Data received {"connection_id":172422,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:01] local.INFO: Processing buffer {"connection_id":172422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:01] local.INFO: IMEI packet received {"connection_id":172422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":172422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:50:02] local.INFO: TCP Data received {"connection_id":172422,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:02] local.INFO: Processing buffer {"connection_id":172422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:02] local.INFO: IMEI packet received {"connection_id":172422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":172422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:50:03] local.INFO: TCP Data received {"connection_id":172422,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:03] local.INFO: Processing buffer {"connection_id":172422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:03] local.INFO: IMEI packet received {"connection_id":172422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":172422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:50:03] local.INFO: TCP Data received {"connection_id":172422,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075279b08012d4cc2400685b9b00070001c2e..."} 
[2026-09-06 10:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075279b08012d4cc2400685b9b00070001c2e..."} 
[2026-09-06 10:50:03] local.INFO: Processing buffer {"connection_id":172422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075279b08012d4cc2400685b9b00070001c2e..."} 
[2026-09-06 10:50:03] local.INFO: Packet analysis {"connection_id":172422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07527"} 
[2026-09-06 10:50:03] local.INFO: Extracted packet for processing {"connection_id":172422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07527"} 
[2026-09-06 10:50:03] local.INFO: GPS Element Parsed {"raw_longitude":760005184,"raw_latitude":109427120,"longitude_deg":76.0005184,"latitude_deg":10.942712,"altitude":112,"angle":28,"satellites":46,"speed":46,"hex_longitude":"2d4cc240","hex_latitude":"0685b9b0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900011520001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400516412000436224,"note":"Value kept but may cause issues"} 
[2026-09-06 10:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5528801889306820608,"note":"Value kept but may cause issues"} 
[2026-09-06 10:50:03] 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-09-06 10:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788671925000,"timestamp_ms":1788671925000,"timestamp_seconds":1788671925,"priority":1,"record_length":96,"hex_timestamp":"000001a075279b08"} 
[2026-09-06 10:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:50: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-09-06 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:50: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-09-06 10:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900011520001,"66":27517,"103":206,"80":60928,"24":46,"16":400516412000436224,"45":5528801889306820608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-06 10:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900011520001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:50:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:50:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-06 10:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400516412000436224,"km_value":400516412000436.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5528801889306820608,"description":"Unknown IO ID 45"} 
[2026-09-06 10:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900011520001,"power":27517,"unknown_103":206,"unknown_80":60928,"ignition":46,"odometer":null,"unknown_45":5528801889306820608}} 
[2026-09-06 10:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":172422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:50:03] local.INFO: GPS data processed {"connection_id":172422,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:50:03] local.INFO: Acknowledgment sent {"connection_id":172422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:50:04] local.INFO: TCP Data received {"connection_id":172422,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07527b278012d4cd2400685d060007200282e..."} 
[2026-09-06 10:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07527b278012d4cd2400685d060007200282e..."} 
[2026-09-06 10:50:04] local.INFO: Processing buffer {"connection_id":172422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07527b278012d4cd2400685d060007200282e..."} 
[2026-09-06 10:50:04] local.INFO: Packet analysis {"connection_id":172422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07527"} 
[2026-09-06 10:50:04] local.INFO: Extracted packet for processing {"connection_id":172422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07527"} 
[2026-09-06 10:50:04] local.INFO: GPS Element Parsed {"raw_longitude":760009280,"raw_latitude":109432928,"longitude_deg":76.000928,"latitude_deg":10.9432928,"altitude":114,"angle":40,"satellites":46,"speed":47,"hex_longitude":"2d4cd240","hex_latitude":"0685d060","is_valid_coordinates":true} 
[2026-09-06 10:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900012800001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400516755597819904,"note":"Value kept but may cause issues"} 
[2026-09-06 10:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5531053689121910784,"note":"Value kept but may cause issues"} 
[2026-09-06 10:50:04] 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-09-06 10:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788671931000,"timestamp_ms":1788671931000,"timestamp_seconds":1788671931,"priority":1,"record_length":96,"hex_timestamp":"000001a07527b278"} 
[2026-09-06 10:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 10:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900012800001,"66":28050,"103":206,"80":60928,"24":47,"16":400516755597819904,"45":5531053689121910784},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-06 10:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900012800001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:50:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:50:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-09-06 10:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400516755597819904,"km_value":400516755597819.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5531053689121910784,"description":"Unknown IO ID 45"} 
[2026-09-06 10:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900012800001,"power":28050,"unknown_103":206,"unknown_80":60928,"ignition":47,"odometer":null,"unknown_45":5531053689121910784}} 
[2026-09-06 10:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":172422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:50:04] local.INFO: GPS data processed {"connection_id":172422,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:50:04] local.INFO: Acknowledgment sent {"connection_id":172422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:50:09] local.INFO: TCP Data received {"connection_id":175119,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:50:09] local.INFO: Processing buffer {"connection_id":175119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:50:09] local.INFO: IMEI packet received {"connection_id":175119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":175119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:50:14] local.INFO: TCP Data received {"connection_id":175119,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:50:14] local.INFO: Processing buffer {"connection_id":175119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:50:14] local.INFO: IMEI packet received {"connection_id":175119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":175119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:50:15] local.INFO: TCP Data received {"connection_id":175119,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0752531d8012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752531d8012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:50:15] local.INFO: Processing buffer {"connection_id":175119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752531d8012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:50:15] local.INFO: Packet analysis {"connection_id":175119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07525"} 
[2026-09-06 10:50:15] local.INFO: Extracted packet for processing {"connection_id":175119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07525"} 
[2026-09-06 10:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544488,"longitude_deg":75.66656,"latitude_deg":11.9544488,"altitude":44,"angle":130,"satellites":44,"speed":0,"hex_longitude":"2d19cd00","hex_latitude":"07201aa8","is_valid_coordinates":true} 
[2026-09-06 10:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899966976001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170357361934336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777271808,"note":"Value kept but may cause issues"} 
[2026-09-06 10:50:15] 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-09-06 10:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788671767000,"timestamp_ms":1788671767000,"timestamp_seconds":1788671767,"priority":1,"record_length":96,"hex_timestamp":"000001a0752531d8"} 
[2026-09-06 10:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:50:15] 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-09-06 10:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-06 10:50:15] 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-09-06 10:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899966976001,"66":12885,"103":206,"83":41984,"24":0,"16":18170357361934336,"45":1859142251777271808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899966976001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:50:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:50:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170357361934336,"km_value":18170357361934.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777271808,"description":"Unknown IO ID 45"} 
[2026-09-06 10:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899966976001,"power":12885,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859142251777271808}} 
[2026-09-06 10:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":175119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:50:15] local.INFO: GPS data processed {"connection_id":175119,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:50:15] local.INFO: Acknowledgment sent {"connection_id":175119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:50:21] local.INFO: TCP Data received {"connection_id":172640,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:50:21] local.INFO: Processing buffer {"connection_id":172640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:50:21] local.INFO: IMEI packet received {"connection_id":172640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 10:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":172640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:50:22] local.INFO: TCP Data received {"connection_id":172640,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:50:22] local.INFO: Processing buffer {"connection_id":172640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:50:22] local.INFO: IMEI packet received {"connection_id":172640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 10:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":172640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:50:23] local.INFO: TCP Data received {"connection_id":172640,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:50:23] local.INFO: Processing buffer {"connection_id":172640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:50:23] local.INFO: IMEI packet received {"connection_id":172640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 10:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":172640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:50:25] local.INFO: TCP Data received {"connection_id":172640,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:50:25] local.INFO: Processing buffer {"connection_id":172640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 10:50:25] local.INFO: IMEI packet received {"connection_id":172640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 10:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":172640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:50:26] local.INFO: TCP Data received {"connection_id":172640,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 10:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172640,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 10:50:26] local.INFO: Processing buffer {"connection_id":172640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 10:50:26] local.INFO: Packet analysis {"connection_id":172640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-06 10:50:26] local.INFO: Extracted packet for processing {"connection_id":172640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-06 10:50:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 10:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884727238098944,"note":"Value kept but may cause issues"} 
[2026-09-06 10:50:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 10:50:26] 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-09-06 10:50:26] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 10:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172640,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172640,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 10:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172640,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 10:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 10:50:26] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 10:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":172640,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 10:50:26] local.ERROR: GPS data processing failed {"connection_id":172640,"error":"No valid data to process"} 
[2026-09-06 10:50:26] local.INFO: Acknowledgment sent {"connection_id":172640,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 10:50:46] local.INFO: TCP Data received {"connection_id":172641,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:46] local.INFO: Processing buffer {"connection_id":172641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:46] local.INFO: IMEI packet received {"connection_id":172641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":172641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:50:46] local.INFO: TCP Data received {"connection_id":175119,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0752583e0012d19cd0007201aa8002c00822b..."} 
[2026-09-06 10:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752583e0012d19cd0007201aa8002c00822b..."} 
[2026-09-06 10:50:46] local.INFO: Processing buffer {"connection_id":175119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752583e0012d19cd0007201aa8002c00822b..."} 
[2026-09-06 10:50:46] local.INFO: Packet analysis {"connection_id":175119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07525"} 
[2026-09-06 10:50:46] local.INFO: Extracted packet for processing {"connection_id":175119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07525"} 
[2026-09-06 10:50:46] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544488,"longitude_deg":75.66656,"latitude_deg":11.9544488,"altitude":44,"angle":130,"satellites":43,"speed":0,"hex_longitude":"2d19cd00","hex_latitude":"07201aa8","is_valid_coordinates":true} 
[2026-09-06 10:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899972352001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170357361934336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777271808,"note":"Value kept but may cause issues"} 
[2026-09-06 10:50:46] 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-09-06 10:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788671788000,"timestamp_ms":1788671788000,"timestamp_seconds":1788671788,"priority":1,"record_length":96,"hex_timestamp":"000001a0752583e0"} 
[2026-09-06 10:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-06 10:50:46] 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-09-06 10:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899972352001,"66":12819,"103":206,"83":41984,"24":0,"16":18170357361934336,"45":1859142251777271808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899972352001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:50:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:50:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170357361934336,"km_value":18170357361934.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777271808,"description":"Unknown IO ID 45"} 
[2026-09-06 10:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899972352001,"power":12819,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859142251777271808}} 
[2026-09-06 10:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":175119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:50:46] local.INFO: GPS data processed {"connection_id":175119,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:50:46] local.INFO: Acknowledgment sent {"connection_id":175119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:50:48] local.INFO: TCP Data received {"connection_id":172641,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:48] local.INFO: Processing buffer {"connection_id":172641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:48] local.INFO: IMEI packet received {"connection_id":172641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":172641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:50:54] local.INFO: TCP Data received {"connection_id":172641,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:54] local.INFO: Processing buffer {"connection_id":172641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:50:54] local.INFO: IMEI packet received {"connection_id":172641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":172641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:50:55] local.INFO: TCP Data received {"connection_id":172641,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07528b060012d4d984006870a08006a000e29..."} 
[2026-09-06 10:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07528b060012d4d984006870a08006a000e29..."} 
[2026-09-06 10:50:55] local.INFO: Processing buffer {"connection_id":172641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07528b060012d4d984006870a08006a000e29..."} 
[2026-09-06 10:50:55] local.INFO: Packet analysis {"connection_id":172641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07528"} 
[2026-09-06 10:50:55] local.INFO: Extracted packet for processing {"connection_id":172641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07528"} 
[2026-09-06 10:50:55] local.INFO: GPS Element Parsed {"raw_longitude":760059968,"raw_latitude":109513224,"longitude_deg":76.0059968,"latitude_deg":10.9513224,"altitude":106,"angle":14,"satellites":41,"speed":66,"hex_longitude":"2d4d9840","hex_latitude":"06870a08","is_valid_coordinates":true} 
[2026-09-06 10:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900029440001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400521419932303360,"note":"Value kept but may cause issues"} 
[2026-09-06 10:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5588404215646259200,"note":"Value kept but may cause issues"} 
[2026-09-06 10:50:55] 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-09-06 10:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788671996000,"timestamp_ms":1788671996000,"timestamp_seconds":1788671996,"priority":1,"record_length":96,"hex_timestamp":"000001a07528b060"} 
[2026-09-06 10:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:50: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-09-06 10:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 10:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900029440001,"66":27800,"237":206,"86":48896,"24":66,"16":400521419932303360,"45":5588404215646259200},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-09-06 10:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900029440001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:50:55] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-06 10:50:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 10:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400521419932303360,"km_value":400521419932303.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5588404215646259200,"description":"Unknown IO ID 45"} 
[2026-09-06 10:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900029440001,"power":27800,"unknown_237":206,"unknown_86":48896,"ignition":66,"odometer":null,"unknown_45":5588404215646259200}} 
[2026-09-06 10:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":172641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:50:55] local.INFO: GPS data processed {"connection_id":172641,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:50:55] local.INFO: Acknowledgment sent {"connection_id":172641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:50:57] local.INFO: TCP Data received {"connection_id":172640,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075291208012d7d3d4005d12088001500b90a..."} 
[2026-09-06 10:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075291208012d7d3d4005d12088001500b90a..."} 
[2026-09-06 10:50:57] local.INFO: Processing buffer {"connection_id":172640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075291208012d7d3d4005d12088001500b90a..."} 
[2026-09-06 10:50:57] local.INFO: Packet analysis {"connection_id":172640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07529"} 
[2026-09-06 10:50:57] local.INFO: Extracted packet for processing {"connection_id":172640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07529"} 
[2026-09-06 10:50:57] local.INFO: GPS Element Parsed {"raw_longitude":763182400,"raw_latitude":97591432,"longitude_deg":76.31824,"latitude_deg":9.7591432,"altitude":21,"angle":185,"satellites":10,"speed":1,"hex_longitude":"2d7d3d40","hex_latitude":"05d12088","is_valid_coordinates":true} 
[2026-09-06 10:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884727238098944,"note":"Value kept but may cause issues"} 
[2026-09-06 10:50:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 10:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788672021000,"timestamp_ms":1788672021000,"timestamp_seconds":1788672021,"priority":1,"record_length":96,"hex_timestamp":"000001a075291208"} 
[2026-09-06 10:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 10:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 10:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 10:50:57] 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-09-06 10:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 10:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 10:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12863,"197":206,"85":15104,"24":1,"16":128884727238098944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16]} 
[2026-09-06 10:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 10:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 10:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 10:50:57] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-06 10:50:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 10:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884727238098944,"km_value":128884727238098.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:50:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12863,"unknown_197":206,"unknown_85":15104,"ignition":1,"odometer":null}} 
[2026-09-06 10:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":172640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:50:57] local.INFO: GPS data processed {"connection_id":172640,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:50:57] local.INFO: Acknowledgment sent {"connection_id":172640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:51:09] local.INFO: TCP Data received {"connection_id":173799,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:51:09] local.INFO: Processing buffer {"connection_id":173799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:51:09] local.INFO: IMEI packet received {"connection_id":173799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":173799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:51:14] local.INFO: TCP Data received {"connection_id":173799,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:51:14] local.INFO: Processing buffer {"connection_id":173799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:51:14] local.INFO: IMEI packet received {"connection_id":173799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":173799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:51:15] local.INFO: TCP Data received {"connection_id":173799,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07525d5e8012d19cd0007201aa8002c008228..."} 
[2026-09-06 10:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07525d5e8012d19cd0007201aa8002c008228..."} 
[2026-09-06 10:51:15] local.INFO: Processing buffer {"connection_id":173799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07525d5e8012d19cd0007201aa8002c008228..."} 
[2026-09-06 10:51:15] local.INFO: Packet analysis {"connection_id":173799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07525"} 
[2026-09-06 10:51:15] local.INFO: Extracted packet for processing {"connection_id":173799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07525"} 
[2026-09-06 10:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544488,"longitude_deg":75.66656,"latitude_deg":11.9544488,"altitude":44,"angle":130,"satellites":40,"speed":0,"hex_longitude":"2d19cd00","hex_latitude":"07201aa8","is_valid_coordinates":true} 
[2026-09-06 10:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899977728001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170357361934336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777271808,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] 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-09-06 10:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788671809000,"timestamp_ms":1788671809000,"timestamp_seconds":1788671809,"priority":1,"record_length":96,"hex_timestamp":"000001a07525d5e8"} 
[2026-09-06 10:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3623878656,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503876880891904,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2564712031908905792,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675904093319069720,"corrected_to":0} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3221692443,"corrected_to":0} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182152400208128,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775846004182611,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2379284480,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2318658917485291052,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195133952,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84752294373433389,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.WARNING: Large IO value detected {"io_id":136,"raw_value":12385612627705856,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:15] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,141,160,49,45,26,44,10,66,223,1,240,150,227,117,32,4,113,205,233,203,232,43,239,51,2,64,7,11,164,69,168,136],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":8675904093319069720,"validated":0},{"io_id":203,"original":3221692443,"validated":0}]} 
[2026-09-06 10:51:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170677258864033792,"timestamp_seconds":3170677258864034.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 10:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899977728001,"66":11645,"103":206,"83":41984,"24":0,"16":18170357361934336,"45":1859142251777271808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899977728001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:51:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170357361934336,"km_value":18170357361934.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777271808,"description":"Unknown IO ID 45"} 
[2026-09-06 10:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899977728001,"power":11645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859142251777271808}} 
[2026-09-06 10:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":173799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:51:15] local.INFO: GPS data processed {"connection_id":173799,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:51:15] local.INFO: Acknowledgment sent {"connection_id":173799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:51:26] local.INFO: TCP Data received {"connection_id":172641,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07528c7d0012d4da280068730700067000e27..."} 
[2026-09-06 10:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07528c7d0012d4da280068730700067000e27..."} 
[2026-09-06 10:51:26] local.INFO: Processing buffer {"connection_id":172641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07528c7d0012d4da280068730700067000e27..."} 
[2026-09-06 10:51:26] local.INFO: Packet analysis {"connection_id":172641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07528"} 
[2026-09-06 10:51:26] local.INFO: Extracted packet for processing {"connection_id":172641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07528"} 
[2026-09-06 10:51:26] local.INFO: GPS Element Parsed {"raw_longitude":760062592,"raw_latitude":109523056,"longitude_deg":76.0062592,"latitude_deg":10.9523056,"altitude":103,"angle":14,"satellites":39,"speed":67,"hex_longitude":"2d4da280","hex_latitude":"06873070","is_valid_coordinates":true} 
[2026-09-06 10:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900030976001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400521913853542400,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5591289334160033792,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:26] 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-09-06 10:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788672002000,"timestamp_ms":1788672002000,"timestamp_seconds":1788672002,"priority":1,"record_length":96,"hex_timestamp":"000001a07528c7d0"} 
[2026-09-06 10:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:51: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-09-06 10:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 10:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:51: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-09-06 10:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900030976001,"66":27887,"237":206,"86":48896,"24":67,"16":400521913853542400,"45":5591289334160033792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-09-06 10:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900030976001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:51:26] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-06 10:51:26] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 10:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400521913853542400,"km_value":400521913853542.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5591289334160033792,"description":"Unknown IO ID 45"} 
[2026-09-06 10:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900030976001,"power":27887,"unknown_237":206,"unknown_86":48896,"ignition":67,"odometer":null,"unknown_45":5591289334160033792}} 
[2026-09-06 10:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":172641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:51:26] local.INFO: GPS data processed {"connection_id":172641,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:51:26] local.INFO: Acknowledgment sent {"connection_id":172641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:51:28] local.INFO: TCP Data received {"connection_id":172640,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07529e4f8012d7d3d8005d111b0000c00210e..."} 
[2026-09-06 10:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07529e4f8012d7d3d8005d111b0000c00210e..."} 
[2026-09-06 10:51:28] local.INFO: Processing buffer {"connection_id":172640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07529e4f8012d7d3d8005d111b0000c00210e..."} 
[2026-09-06 10:51:28] local.INFO: Packet analysis {"connection_id":172640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07529"} 
[2026-09-06 10:51:28] local.INFO: Extracted packet for processing {"connection_id":172640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07529"} 
[2026-09-06 10:51:28] local.INFO: GPS Element Parsed {"raw_longitude":763182464,"raw_latitude":97587632,"longitude_deg":76.3182464,"latitude_deg":9.7587632,"altitude":12,"angle":33,"satellites":14,"speed":1,"hex_longitude":"2d7d3d80","hex_latitude":"05d111b0","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900050176001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884980641169408,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024509990791139328,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:28] 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-09-06 10:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788672075000,"timestamp_ms":1788672075000,"timestamp_seconds":1788672075,"priority":1,"record_length":96,"hex_timestamp":"000001a07529e4f8"} 
[2026-09-06 10:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-06 10:51:28] 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-09-06 10:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 10:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 10:51:28] 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-09-06 10:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 10:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 10:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900050176001,"66":13678,"197":206,"85":15104,"24":1,"16":128884980641169408,"45":9024509990791139328},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-06 10:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 10:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 10:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900050176001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:51:28] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-06 10:51:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 10:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884980641169408,"km_value":128884980641169.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024509990791139328,"description":"Unknown IO ID 45"} 
[2026-09-06 10:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900050176001,"power":13678,"unknown_197":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9024509990791139328}} 
[2026-09-06 10:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":172640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:51:28] local.INFO: GPS data processed {"connection_id":172640,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:51:28] local.INFO: Acknowledgment sent {"connection_id":172640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:51:46] local.INFO: TCP Data received {"connection_id":173799,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075262bd8012d19cd0007201aa8002c00822a..."} 
[2026-09-06 10:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075262bd8012d19cd0007201aa8002c00822a..."} 
[2026-09-06 10:51:46] local.INFO: Processing buffer {"connection_id":173799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075262bd8012d19cd0007201aa8002c00822a..."} 
[2026-09-06 10:51:46] local.INFO: Packet analysis {"connection_id":173799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07526"} 
[2026-09-06 10:51:46] local.INFO: Extracted packet for processing {"connection_id":173799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07526"} 
[2026-09-06 10:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544488,"longitude_deg":75.66656,"latitude_deg":11.9544488,"altitude":44,"angle":130,"satellites":42,"speed":0,"hex_longitude":"2d19cd00","hex_latitude":"07201aa8","is_valid_coordinates":true} 
[2026-09-06 10:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899983104001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170357361934336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777271808,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:46] 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-09-06 10:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788671831000,"timestamp_ms":1788671831000,"timestamp_seconds":1788671831,"priority":1,"record_length":96,"hex_timestamp":"000001a075262bd8"} 
[2026-09-06 10:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 10:51:46] 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-09-06 10:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899983104001,"66":12722,"103":206,"83":41984,"24":0,"16":18170357361934336,"45":1859142251777271808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899983104001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:51:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170357361934336,"km_value":18170357361934.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777271808,"description":"Unknown IO ID 45"} 
[2026-09-06 10:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899983104001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859142251777271808}} 
[2026-09-06 10:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":173799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:51:46] local.INFO: GPS data processed {"connection_id":173799,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:51:46] local.INFO: Acknowledgment sent {"connection_id":173799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:51:48] local.INFO: TCP Data received {"connection_id":173800,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:51:48] local.INFO: Processing buffer {"connection_id":173800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:51:48] local.INFO: IMEI packet received {"connection_id":173800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":173800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:51:49] local.INFO: TCP Data received {"connection_id":173800,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:51:49] local.INFO: Processing buffer {"connection_id":173800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:51:49] local.INFO: IMEI packet received {"connection_id":173800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":173800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:51:53] local.INFO: TCP Data received {"connection_id":173800,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:51:53] local.INFO: Processing buffer {"connection_id":173800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:51:53] local.INFO: IMEI packet received {"connection_id":173800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":173800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:51:54] local.INFO: TCP Data received {"connection_id":173800,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07528df40012d4dac00068757800063000e29..."} 
[2026-09-06 10:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07528df40012d4dac00068757800063000e29..."} 
[2026-09-06 10:51:54] local.INFO: Processing buffer {"connection_id":173800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07528df40012d4dac00068757800063000e29..."} 
[2026-09-06 10:51:54] local.INFO: Packet analysis {"connection_id":173800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07528"} 
[2026-09-06 10:51:54] local.INFO: Extracted packet for processing {"connection_id":173800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07528"} 
[2026-09-06 10:51:54] local.INFO: GPS Element Parsed {"raw_longitude":760065024,"raw_latitude":109533056,"longitude_deg":76.0065024,"latitude_deg":10.9533056,"altitude":99,"angle":14,"satellites":41,"speed":68,"hex_longitude":"2d4dac00","hex_latitude":"06875780","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900032512001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400522412069748736,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5594174452673835008,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:54] 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-09-06 10:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788672008000,"timestamp_ms":1788672008000,"timestamp_seconds":1788672008,"priority":1,"record_length":96,"hex_timestamp":"000001a07528df40"} 
[2026-09-06 10:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:51: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-09-06 10: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-06 10:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:51: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-09-06 10:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900032512001,"66":27789,"237":206,"86":48896,"24":68,"16":400522412069748736,"45":5594174452673835008},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-09-06 10:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900032512001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:51:54] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-06 10:51:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 10:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400522412069748736,"km_value":400522412069748.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5594174452673835008,"description":"Unknown IO ID 45"} 
[2026-09-06 10:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900032512001,"power":27789,"unknown_237":206,"unknown_86":48896,"ignition":68,"odometer":null,"unknown_45":5594174452673835008}} 
[2026-09-06 10:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":173800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:51:54] local.INFO: GPS data processed {"connection_id":173800,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:51:54] local.INFO: Acknowledgment sent {"connection_id":173800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:51:59] local.INFO: TCP Data received {"connection_id":172640,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07529e8e0012d7d3d8005d111b8000c00300e..."} 
[2026-09-06 10:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07529e8e0012d7d3d8005d111b8000c00300e..."} 
[2026-09-06 10:51:59] local.INFO: Processing buffer {"connection_id":172640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07529e8e0012d7d3d8005d111b8000c00300e..."} 
[2026-09-06 10:51:59] local.INFO: Packet analysis {"connection_id":172640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07529"} 
[2026-09-06 10:51:59] local.INFO: Extracted packet for processing {"connection_id":172640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07529"} 
[2026-09-06 10:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763182464,"raw_latitude":97587640,"longitude_deg":76.3182464,"latitude_deg":9.758764,"altitude":12,"angle":48,"satellites":14,"speed":1,"hex_longitude":"2d7d3d80","hex_latitude":"05d111b8","is_valid_coordinates":true} 
[2026-09-06 10:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900051200001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884980641169408,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024509990791131136,"note":"Value kept but may cause issues"} 
[2026-09-06 10:51:59] 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-09-06 10:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788672076000,"timestamp_ms":1788672076000,"timestamp_seconds":1788672076,"priority":1,"record_length":96,"hex_timestamp":"000001a07529e8e0"} 
[2026-09-06 10:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 10:51:59] 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-09-06 10:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 10:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 10:51:59] 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-09-06 10:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 10:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 10:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900051200001,"66":13765,"197":206,"85":15104,"24":1,"16":128884980641169408,"45":9024509990791131136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-06 10:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 10:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 10:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900051200001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:51:59] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-06 10:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 10:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128884980641169408,"km_value":128884980641169.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024509990791131136,"description":"Unknown IO ID 45"} 
[2026-09-06 10:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900051200001,"power":13765,"unknown_197":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9024509990791131136}} 
[2026-09-06 10:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":172640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:51:59] local.INFO: GPS data processed {"connection_id":172640,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:51:59] local.INFO: Acknowledgment sent {"connection_id":172640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:52:09] local.INFO: TCP Data received {"connection_id":172423,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:52:09] local.INFO: Processing buffer {"connection_id":172423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:52:09] local.INFO: IMEI packet received {"connection_id":172423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":172423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:52:14] local.INFO: TCP Data received {"connection_id":172423,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:52:14] local.INFO: Processing buffer {"connection_id":172423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:52:14] local.INFO: IMEI packet received {"connection_id":172423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":172423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:52:15] local.INFO: TCP Data received {"connection_id":172423,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0752679f8012d19cd0007201aa8002c00822b..."} 
[2026-09-06 10:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752679f8012d19cd0007201aa8002c00822b..."} 
[2026-09-06 10:52:15] local.INFO: Processing buffer {"connection_id":172423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752679f8012d19cd0007201aa8002c00822b..."} 
[2026-09-06 10:52:15] local.INFO: Packet analysis {"connection_id":172423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07526"} 
[2026-09-06 10:52:15] local.INFO: Extracted packet for processing {"connection_id":172423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07526"} 
[2026-09-06 10:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544488,"longitude_deg":75.66656,"latitude_deg":11.9544488,"altitude":44,"angle":130,"satellites":43,"speed":0,"hex_longitude":"2d19cd00","hex_latitude":"07201aa8","is_valid_coordinates":true} 
[2026-09-06 10:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457899988736001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170357361934336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777271808,"note":"Value kept but may cause issues"} 
[2026-09-06 10:52:15] 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-09-06 10:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788671851000,"timestamp_ms":1788671851000,"timestamp_seconds":1788671851,"priority":1,"record_length":96,"hex_timestamp":"000001a0752679f8"} 
[2026-09-06 10:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 10:52:15] 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-09-06 10:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457899988736001,"66":12689,"103":206,"83":41984,"24":0,"16":18170357361934336,"45":1859142251777271808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457899988736001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:52:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170357361934336,"km_value":18170357361934.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777271808,"description":"Unknown IO ID 45"} 
[2026-09-06 10:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457899988736001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859142251777271808}} 
[2026-09-06 10:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":172423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:52:15] local.INFO: GPS data processed {"connection_id":172423,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:52:15] local.INFO: Acknowledgment sent {"connection_id":172423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:52:26] local.INFO: TCP Data received {"connection_id":173800,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0752a2f30012d4de94006895a20005e000f2d..."} 
[2026-09-06 10:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752a2f30012d4de94006895a20005e000f2d..."} 
[2026-09-06 10:52:26] local.INFO: Processing buffer {"connection_id":173800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752a2f30012d4de94006895a20005e000f2d..."} 
[2026-09-06 10:52:26] local.INFO: Packet analysis {"connection_id":173800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0752a"} 
[2026-09-06 10:52:26] local.INFO: Extracted packet for processing {"connection_id":173800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0752a"} 
[2026-09-06 10:52:26] local.INFO: GPS Element Parsed {"raw_longitude":760080704,"raw_latitude":109664800,"longitude_deg":76.0080704,"latitude_deg":10.96648,"altitude":94,"angle":15,"satellites":45,"speed":48,"hex_longitude":"2d4de940","hex_latitude":"06895a20","is_valid_coordinates":true} 
[2026-09-06 10:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900054016001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400528927535136768,"note":"Value kept but may cause issues"} 
[2026-09-06 10:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5612118482472966144,"note":"Value kept but may cause issues"} 
[2026-09-06 10:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788672094000,"timestamp_ms":1788672094000,"timestamp_seconds":1788672094,"priority":1,"record_length":96,"hex_timestamp":"000001a0752a2f30"} 
[2026-09-06 10:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-06 10:52:26] 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-09-06 10:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:52: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-09-06 10:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900054016001,"66":27865,"8":206,"86":48896,"24":48,"16":400528927535136768,"45":5612118482472966144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,86,24,16,45]} 
[2026-09-06 10:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900054016001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:52:26] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-06 10:52:26] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 10:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400528927535136768,"km_value":400528927535136.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5612118482472966144,"description":"Unknown IO ID 45"} 
[2026-09-06 10:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900054016001,"power":27865,"unknown_8":206,"unknown_86":48896,"ignition":48,"odometer":null,"unknown_45":5612118482472966144}} 
[2026-09-06 10:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":173800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:52:26] local.INFO: GPS data processed {"connection_id":173800,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:52:26] local.INFO: Acknowledgment sent {"connection_id":173800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:52:46] local.INFO: TCP Data received {"connection_id":172423,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0752a0050012d19cd0007201aa8002c00822d..."} 
[2026-09-06 10:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752a0050012d19cd0007201aa8002c00822d..."} 
[2026-09-06 10:52:46] local.INFO: Processing buffer {"connection_id":172423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752a0050012d19cd0007201aa8002c00822d..."} 
[2026-09-06 10:52:46] local.INFO: Packet analysis {"connection_id":172423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0752a"} 
[2026-09-06 10:52:46] local.INFO: Extracted packet for processing {"connection_id":172423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0752a"} 
[2026-09-06 10:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544488,"longitude_deg":75.66656,"latitude_deg":11.9544488,"altitude":44,"angle":130,"satellites":45,"speed":0,"hex_longitude":"2d19cd00","hex_latitude":"07201aa8","is_valid_coordinates":true} 
[2026-09-06 10:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900047616001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170357361934336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777271808,"note":"Value kept but may cause issues"} 
[2026-09-06 10:52:46] 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-09-06 10:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788672082000,"timestamp_ms":1788672082000,"timestamp_seconds":1788672082,"priority":1,"record_length":96,"hex_timestamp":"000001a0752a0050"} 
[2026-09-06 10:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 10:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900047616001,"66":12493,"103":206,"83":41984,"24":0,"16":18170357361934336,"45":1859142251777271808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900047616001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:52:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:52:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170357361934336,"km_value":18170357361934.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777271808,"description":"Unknown IO ID 45"} 
[2026-09-06 10:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900047616001,"power":12493,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859142251777271808}} 
[2026-09-06 10:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":172423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:52:46] local.INFO: GPS data processed {"connection_id":172423,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:52:46] local.INFO: Acknowledgment sent {"connection_id":172423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:52:48] local.INFO: TCP Data received {"connection_id":172424,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:52:48] local.INFO: Processing buffer {"connection_id":172424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:52:48] local.INFO: IMEI packet received {"connection_id":172424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":172424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:52:52] local.INFO: TCP Data received {"connection_id":172424,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:52:52] local.INFO: Processing buffer {"connection_id":172424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:52:52] local.INFO: IMEI packet received {"connection_id":172424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":172424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:52:52] local.INFO: TCP Data received {"connection_id":172424,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0752a2f30012d4de94006895a20005e000f2d..."} 
[2026-09-06 10:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752a2f30012d4de94006895a20005e000f2d..."} 
[2026-09-06 10:52:52] local.INFO: Processing buffer {"connection_id":172424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752a2f30012d4de94006895a20005e000f2d..."} 
[2026-09-06 10:52:52] local.INFO: Packet analysis {"connection_id":172424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0752a"} 
[2026-09-06 10:52:52] local.INFO: Extracted packet for processing {"connection_id":172424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0752a"} 
[2026-09-06 10:52:52] local.INFO: GPS Element Parsed {"raw_longitude":760080704,"raw_latitude":109664800,"longitude_deg":76.0080704,"latitude_deg":10.96648,"altitude":94,"angle":15,"satellites":45,"speed":48,"hex_longitude":"2d4de940","hex_latitude":"06895a20","is_valid_coordinates":true} 
[2026-09-06 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-09-06 10:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900056064001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400528927535136768,"note":"Value kept but may cause issues"} 
[2026-09-06 10:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5614088807312400384,"note":"Value kept but may cause issues"} 
[2026-09-06 10:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788672094000,"timestamp_ms":1788672094000,"timestamp_seconds":1788672094,"priority":1,"record_length":96,"hex_timestamp":"000001a0752a2f30"} 
[2026-09-06 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-09-06 10:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 10:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 10:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:52: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-09-06 10:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900056064001,"66":27865,"8":206,"86":48896,"24":48,"16":400528927535136768,"45":5614088807312400384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,86,24,16,45]} 
[2026-09-06 10:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900056064001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:52:52] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-06 10:52:52] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 10:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400528927535136768,"km_value":400528927535136.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5614088807312400384,"description":"Unknown IO ID 45"} 
[2026-09-06 10:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900056064001,"power":27865,"unknown_8":206,"unknown_86":48896,"ignition":48,"odometer":null,"unknown_45":5614088807312400384}} 
[2026-09-06 10:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":172424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:52:52] local.INFO: GPS data processed {"connection_id":172424,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:52:52] local.INFO: Acknowledgment sent {"connection_id":172424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:53:13] local.INFO: TCP Data received {"connection_id":172639,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:53:13] local.INFO: Processing buffer {"connection_id":172639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:53:13] local.INFO: IMEI packet received {"connection_id":172639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 10:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":172639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:53:14] local.INFO: TCP Data received {"connection_id":172642,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:53:14] local.INFO: Processing buffer {"connection_id":172642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:53:14] local.INFO: IMEI packet received {"connection_id":172642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":172642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:53:19] local.INFO: TCP Data received {"connection_id":172642,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:53:19] local.INFO: Processing buffer {"connection_id":172642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:53:19] local.INFO: IMEI packet received {"connection_id":172642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":172642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:53:20] local.INFO: TCP Data received {"connection_id":172642,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0752a5258012d19cd0007201aa8002c00822b..."} 
[2026-09-06 10:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752a5258012d19cd0007201aa8002c00822b..."} 
[2026-09-06 10:53:20] local.INFO: Processing buffer {"connection_id":172642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752a5258012d19cd0007201aa8002c00822b..."} 
[2026-09-06 10:53:20] local.INFO: Packet analysis {"connection_id":172642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0752a"} 
[2026-09-06 10:53:20] local.INFO: Extracted packet for processing {"connection_id":172642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0752a"} 
[2026-09-06 10:53:20] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544488,"longitude_deg":75.66656,"latitude_deg":11.9544488,"altitude":44,"angle":130,"satellites":43,"speed":0,"hex_longitude":"2d19cd00","hex_latitude":"07201aa8","is_valid_coordinates":true} 
[2026-09-06 10:53: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-09-06 10:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900052992001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170357361934336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777271808,"note":"Value kept but may cause issues"} 
[2026-09-06 10:53:20] 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-09-06 10:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788672103000,"timestamp_ms":1788672103000,"timestamp_seconds":1788672103,"priority":1,"record_length":96,"hex_timestamp":"000001a0752a5258"} 
[2026-09-06 10:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-06 10:53:20] 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-09-06 10:53: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-09-06 10:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900052992001,"66":12461,"103":206,"83":41984,"24":0,"16":18170357361934336,"45":1859142251777271808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900052992001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:53:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:53:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170357361934336,"km_value":18170357361934.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777271808,"description":"Unknown IO ID 45"} 
[2026-09-06 10:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900052992001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859142251777271808}} 
[2026-09-06 10:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":172642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:53:20] local.INFO: GPS data processed {"connection_id":172642,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:53:20] local.INFO: Acknowledgment sent {"connection_id":172642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:53:24] local.INFO: TCP Data received {"connection_id":172642,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0752aa460012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752aa460012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:53:24] local.INFO: Processing buffer {"connection_id":172642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752aa460012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:53:24] local.INFO: Packet analysis {"connection_id":172642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0752a"} 
[2026-09-06 10:53:24] local.INFO: Extracted packet for processing {"connection_id":172642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0752a"} 
[2026-09-06 10:53:24] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544488,"longitude_deg":75.66656,"latitude_deg":11.9544488,"altitude":44,"angle":130,"satellites":44,"speed":0,"hex_longitude":"2d19cd00","hex_latitude":"07201aa8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 10:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900058368001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170357361934336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777271808,"note":"Value kept but may cause issues"} 
[2026-09-06 10:53:24] 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-09-06 10:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788672124000,"timestamp_ms":1788672124000,"timestamp_seconds":1788672124,"priority":1,"record_length":96,"hex_timestamp":"000001a0752aa460"} 
[2026-09-06 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-09-06 10:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 10:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900058368001,"66":12406,"103":206,"83":41984,"24":0,"16":18170357361934336,"45":1859142251777271808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900058368001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:53:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:53:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170357361934336,"km_value":18170357361934.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777271808,"description":"Unknown IO ID 45"} 
[2026-09-06 10:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900058368001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859142251777271808}} 
[2026-09-06 10:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":172642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:53:25] local.INFO: GPS data processed {"connection_id":172642,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:53:25] local.INFO: Acknowledgment sent {"connection_id":172642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:53:27] local.INFO: TCP Data received {"connection_id":172424,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0752a4e70012d4df44006897df8006000112e..."} 
[2026-09-06 10:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752a4e70012d4df44006897df8006000112e..."} 
[2026-09-06 10:53:28] local.INFO: Processing buffer {"connection_id":172424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752a4e70012d4df44006897df8006000112e..."} 
[2026-09-06 10:53:28] local.INFO: Packet analysis {"connection_id":172424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0752a"} 
[2026-09-06 10:53:28] local.INFO: Extracted packet for processing {"connection_id":172424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0752a"} 
[2026-09-06 10:53:28] local.INFO: GPS Element Parsed {"raw_longitude":760083520,"raw_latitude":109673976,"longitude_deg":76.008352,"latitude_deg":10.9673976,"altitude":96,"angle":17,"satellites":46,"speed":47,"hex_longitude":"2d4df440","hex_latitude":"06897df8","is_valid_coordinates":true} 
[2026-09-06 10:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900056064001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400529391391604736,"note":"Value kept but may cause issues"} 
[2026-09-06 10:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5614088807312400384,"note":"Value kept but may cause issues"} 
[2026-09-06 10:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 10:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788672102000,"timestamp_ms":1788672102000,"timestamp_seconds":1788672102,"priority":1,"record_length":96,"hex_timestamp":"000001a0752a4e70"} 
[2026-09-06 10:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 10:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:53: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-09-06 10:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900056064001,"66":27887,"8":206,"86":48896,"24":47,"16":400529391391604736,"45":5614088807312400384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,86,24,16,45]} 
[2026-09-06 10:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900056064001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:53:28] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-06 10:53:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 10:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400529391391604736,"km_value":400529391391604.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5614088807312400384,"description":"Unknown IO ID 45"} 
[2026-09-06 10:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900056064001,"power":27887,"unknown_8":206,"unknown_86":48896,"ignition":47,"odometer":null,"unknown_45":5614088807312400384}} 
[2026-09-06 10:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":172424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:53:28] local.INFO: GPS data processed {"connection_id":172424,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:53:28] local.INFO: Acknowledgment sent {"connection_id":172424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:53:48] local.INFO: TCP Data received {"connection_id":173801,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:53:48] local.INFO: Processing buffer {"connection_id":173801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:53:48] local.INFO: IMEI packet received {"connection_id":173801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":173801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:53:52] local.INFO: TCP Data received {"connection_id":173801,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:53:52] local.INFO: Processing buffer {"connection_id":173801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:53:52] local.INFO: IMEI packet received {"connection_id":173801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":173801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:53:53] local.INFO: TCP Data received {"connection_id":173801,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:53:53] local.INFO: Processing buffer {"connection_id":173801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:53:53] local.INFO: IMEI packet received {"connection_id":173801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":173801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:53:54] local.INFO: TCP Data received {"connection_id":173801,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0752b5040012d4db100068aa9c8006b013329..."} 
[2026-09-06 10:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752b5040012d4db100068aa9c8006b013329..."} 
[2026-09-06 10:53:54] local.INFO: Processing buffer {"connection_id":173801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752b5040012d4db100068aa9c8006b013329..."} 
[2026-09-06 10:53:54] local.INFO: Packet analysis {"connection_id":173801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0752b"} 
[2026-09-06 10:53:54] local.INFO: Extracted packet for processing {"connection_id":173801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0752b"} 
[2026-09-06 10:53:54] local.INFO: GPS Element Parsed {"raw_longitude":760066304,"raw_latitude":109750728,"longitude_deg":76.0066304,"latitude_deg":10.9750728,"altitude":107,"angle":307,"satellites":41,"speed":62,"hex_longitude":"2d4db100","hex_latitude":"068aa9c8","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900073472001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400533578984718336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5606207507984984064,"note":"Value kept but may cause issues"} 
[2026-09-06 10:53:54] 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-09-06 10:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788672168000,"timestamp_ms":1788672168000,"timestamp_seconds":1788672168,"priority":1,"record_length":96,"hex_timestamp":"000001a0752b5040"} 
[2026-09-06 10:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:53: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-09-06 10: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-06 10:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:53: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-09-06 10:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900073472001,"66":27865,"94":206,"86":48896,"24":62,"16":400533578984718336,"45":5606207507984984064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-09-06 10:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900073472001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:53:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-06 10:53:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 10:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400533578984718336,"km_value":400533578984718.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5606207507984984064,"description":"Unknown IO ID 45"} 
[2026-09-06 10:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900073472001,"power":27865,"unknown_94":206,"unknown_86":48896,"ignition":62,"odometer":null,"unknown_45":5606207507984984064}} 
[2026-09-06 10:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":173801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:53:54] local.INFO: GPS data processed {"connection_id":173801,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:53:54] local.INFO: Acknowledgment sent {"connection_id":173801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:53:57] local.INFO: TCP Data received {"connection_id":173801,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0752b67b0012d4d9180068abe80006601282a..."} 
[2026-09-06 10:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752b67b0012d4d9180068abe80006601282a..."} 
[2026-09-06 10:53:57] local.INFO: Processing buffer {"connection_id":173801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752b67b0012d4d9180068abe80006601282a..."} 
[2026-09-06 10:53:57] local.INFO: Packet analysis {"connection_id":173801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0752b"} 
[2026-09-06 10:53:57] local.INFO: Extracted packet for processing {"connection_id":173801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0752b"} 
[2026-09-06 10:53:57] local.INFO: GPS Element Parsed {"raw_longitude":760058240,"raw_latitude":109756032,"longitude_deg":76.005824,"latitude_deg":10.9756032,"altitude":102,"angle":296,"satellites":42,"speed":64,"hex_longitude":"2d4d9180","hex_latitude":"068abe80","is_valid_coordinates":true} 
[2026-09-06 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-09-06 10:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900075008001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400534042841186304,"note":"Value kept but may cause issues"} 
[2026-09-06 10:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5598255839894423552,"note":"Value kept but may cause issues"} 
[2026-09-06 10:53:57] 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-09-06 10:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788672174000,"timestamp_ms":1788672174000,"timestamp_seconds":1788672174,"priority":1,"record_length":96,"hex_timestamp":"000001a0752b67b0"} 
[2026-09-06 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-09-06 10:53: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-09-06 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 10:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 10:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10: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-09-06 10:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900075008001,"66":27658,"106":206,"86":48896,"24":64,"16":400534042841186304,"45":5598255839894423552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,86,24,16,45]} 
[2026-09-06 10:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900075008001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:53:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 10:53:57] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 10:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400534042841186304,"km_value":400534042841186.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5598255839894423552,"description":"Unknown IO ID 45"} 
[2026-09-06 10:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900075008001,"power":27658,"unknown_106":206,"unknown_86":48896,"ignition":64,"odometer":null,"unknown_45":5598255839894423552}} 
[2026-09-06 10:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":173801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:53:57] local.INFO: GPS data processed {"connection_id":173801,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:53:57] local.INFO: Acknowledgment sent {"connection_id":173801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:54:06] local.INFO: TCP Data received {"connection_id":175120,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:54:06] local.INFO: Processing buffer {"connection_id":175120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:54:06] local.INFO: IMEI packet received {"connection_id":175120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":175120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:54:09] local.INFO: TCP Data received {"connection_id":175120,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:54:09] local.INFO: Processing buffer {"connection_id":175120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:54:09] local.INFO: IMEI packet received {"connection_id":175120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":175120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:54:14] local.INFO: TCP Data received {"connection_id":175120,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:54:14] local.INFO: Processing buffer {"connection_id":175120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:54:14] local.INFO: IMEI packet received {"connection_id":175120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":175120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:54:15] local.INFO: TCP Data received {"connection_id":175120,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0752af668012d19cd0007201aa8002c00822d..."} 
[2026-09-06 10:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752af668012d19cd0007201aa8002c00822d..."} 
[2026-09-06 10:54:15] local.INFO: Processing buffer {"connection_id":175120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752af668012d19cd0007201aa8002c00822d..."} 
[2026-09-06 10:54:15] local.INFO: Packet analysis {"connection_id":175120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0752a"} 
[2026-09-06 10:54:15] local.INFO: Extracted packet for processing {"connection_id":175120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0752a"} 
[2026-09-06 10:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544488,"longitude_deg":75.66656,"latitude_deg":11.9544488,"altitude":44,"angle":130,"satellites":45,"speed":0,"hex_longitude":"2d19cd00","hex_latitude":"07201aa8","is_valid_coordinates":true} 
[2026-09-06 10:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900063744001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170357361934336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777271808,"note":"Value kept but may cause issues"} 
[2026-09-06 10:54:15] 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-09-06 10:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788672145000,"timestamp_ms":1788672145000,"timestamp_seconds":1788672145,"priority":1,"record_length":96,"hex_timestamp":"000001a0752af668"} 
[2026-09-06 10:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 10:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900063744001,"66":12385,"103":206,"83":41984,"24":0,"16":18170357361934336,"45":1859142251777271808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900063744001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:54:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:54:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170357361934336,"km_value":18170357361934.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777271808,"description":"Unknown IO ID 45"} 
[2026-09-06 10:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900063744001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859142251777271808}} 
[2026-09-06 10:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":175120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:54:15] local.INFO: GPS data processed {"connection_id":175120,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:54:15] local.INFO: Acknowledgment sent {"connection_id":175120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:54:28] local.INFO: TCP Data received {"connection_id":173801,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0752b7750012d4d7940068ac7a80062011d29..."} 
[2026-09-06 10:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752b7750012d4d7940068ac7a80062011d29..."} 
[2026-09-06 10:54:28] local.INFO: Processing buffer {"connection_id":173801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752b7750012d4d7940068ac7a80062011d29..."} 
[2026-09-06 10:54:28] local.INFO: Packet analysis {"connection_id":173801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0752b"} 
[2026-09-06 10:54:28] local.INFO: Extracted packet for processing {"connection_id":173801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0752b"} 
[2026-09-06 10:54:28] local.INFO: GPS Element Parsed {"raw_longitude":760052032,"raw_latitude":109758376,"longitude_deg":76.0052032,"latitude_deg":10.9758376,"altitude":98,"angle":285,"satellites":41,"speed":66,"hex_longitude":"2d4d7940","hex_latitude":"068ac7a8","is_valid_coordinates":true} 
[2026-09-06 10:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900076544001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400534356373798912,"note":"Value kept but may cause issues"} 
[2026-09-06 10:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5589389378129395712,"note":"Value kept but may cause issues"} 
[2026-09-06 10:54:28] 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-09-06 10:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788672178000,"timestamp_ms":1788672178000,"timestamp_seconds":1788672178,"priority":1,"record_length":96,"hex_timestamp":"000001a0752b7750"} 
[2026-09-06 10:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 10:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:54: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-09-06 10:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900076544001,"66":27865,"106":206,"86":48896,"24":66,"16":400534356373798912,"45":5589389378129395712},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,86,24,16,45]} 
[2026-09-06 10:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900076544001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:54:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 10:54:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 10:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400534356373798912,"km_value":400534356373798.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5589389378129395712,"description":"Unknown IO ID 45"} 
[2026-09-06 10:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900076544001,"power":27865,"unknown_106":206,"unknown_86":48896,"ignition":66,"odometer":null,"unknown_45":5589389378129395712}} 
[2026-09-06 10:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":173801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:54:28] local.INFO: GPS data processed {"connection_id":173801,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:54:28] local.INFO: Acknowledgment sent {"connection_id":173801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:54:46] local.INFO: TCP Data received {"connection_id":175120,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0752b4870012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752b4870012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:54:46] local.INFO: Processing buffer {"connection_id":175120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752b4870012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:54:46] local.INFO: Packet analysis {"connection_id":175120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0752b"} 
[2026-09-06 10:54:46] local.INFO: Extracted packet for processing {"connection_id":175120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0752b"} 
[2026-09-06 10:54:46] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544488,"longitude_deg":75.66656,"latitude_deg":11.9544488,"altitude":44,"angle":130,"satellites":44,"speed":0,"hex_longitude":"2d19cd00","hex_latitude":"07201aa8","is_valid_coordinates":true} 
[2026-09-06 10:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900069120001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170357361934336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777271808,"note":"Value kept but may cause issues"} 
[2026-09-06 10:54:46] 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-09-06 10:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788672166000,"timestamp_ms":1788672166000,"timestamp_seconds":1788672166,"priority":1,"record_length":96,"hex_timestamp":"000001a0752b4870"} 
[2026-09-06 10:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 10:54:46] 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-09-06 10:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900069120001,"66":12385,"103":206,"83":41984,"24":0,"16":18170357361934336,"45":1859142251777271808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900069120001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:54:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170357361934336,"km_value":18170357361934.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777271808,"description":"Unknown IO ID 45"} 
[2026-09-06 10:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900069120001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859142251777271808}} 
[2026-09-06 10:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":175120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:54:46] local.INFO: GPS data processed {"connection_id":175120,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:54:46] local.INFO: Acknowledgment sent {"connection_id":175120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:54:48] local.INFO: TCP Data received {"connection_id":172425,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:54:48] local.INFO: Processing buffer {"connection_id":172425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:54:48] local.INFO: IMEI packet received {"connection_id":172425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":172425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:54:49] local.INFO: TCP Data received {"connection_id":172425,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:54:49] local.INFO: Processing buffer {"connection_id":172425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:54:49] local.INFO: IMEI packet received {"connection_id":172425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":172425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:54:51] local.INFO: TCP Data received {"connection_id":172425,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:54:51] local.INFO: Processing buffer {"connection_id":172425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:54:51] local.INFO: IMEI packet received {"connection_id":172425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":172425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:54:52] local.INFO: TCP Data received {"connection_id":172425,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:54:52] local.INFO: Processing buffer {"connection_id":172425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:54:52] local.INFO: IMEI packet received {"connection_id":172425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 10:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":172425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:55:09] local.INFO: TCP Data received {"connection_id":172427,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:55:09] local.INFO: Processing buffer {"connection_id":172427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:55:09] local.INFO: IMEI packet received {"connection_id":172427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":172427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:55:10] local.INFO: TCP Data received {"connection_id":172427,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:55:10] local.INFO: Processing buffer {"connection_id":172427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:55:10] local.INFO: IMEI packet received {"connection_id":172427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":172427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:55:14] local.INFO: TCP Data received {"connection_id":172427,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:55:14] local.INFO: Processing buffer {"connection_id":172427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:55:14] local.INFO: IMEI packet received {"connection_id":172427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":172427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:55:15] local.INFO: TCP Data received {"connection_id":172427,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0752b9a78012d19cd0007201aa8002c00822b..."} 
[2026-09-06 10:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752b9a78012d19cd0007201aa8002c00822b..."} 
[2026-09-06 10:55:15] local.INFO: Processing buffer {"connection_id":172427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752b9a78012d19cd0007201aa8002c00822b..."} 
[2026-09-06 10:55:15] local.INFO: Packet analysis {"connection_id":172427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0752b"} 
[2026-09-06 10:55:15] local.INFO: Extracted packet for processing {"connection_id":172427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0752b"} 
[2026-09-06 10:55:15] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544488,"longitude_deg":75.66656,"latitude_deg":11.9544488,"altitude":44,"angle":130,"satellites":43,"speed":0,"hex_longitude":"2d19cd00","hex_latitude":"07201aa8","is_valid_coordinates":true} 
[2026-09-06 10: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-09-06 10:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900074496001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170357361934336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777271808,"note":"Value kept but may cause issues"} 
[2026-09-06 10:55:15] 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-09-06 10:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788672187000,"timestamp_ms":1788672187000,"timestamp_seconds":1788672187,"priority":1,"record_length":96,"hex_timestamp":"000001a0752b9a78"} 
[2026-09-06 10:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 10:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 10: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-09-06 10:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900074496001,"66":12363,"103":206,"83":41984,"24":0,"16":18170357361934336,"45":1859142251777271808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900074496001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:55:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:55:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170357361934336,"km_value":18170357361934.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777271808,"description":"Unknown IO ID 45"} 
[2026-09-06 10:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900074496001,"power":12363,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859142251777271808}} 
[2026-09-06 10:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":172427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:55:15] local.INFO: GPS data processed {"connection_id":172427,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:55:15] local.INFO: Acknowledgment sent {"connection_id":172427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:55:46] local.INFO: TCP Data received {"connection_id":172427,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0752bec80012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752bec80012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:55:46] local.INFO: Processing buffer {"connection_id":172427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752bec80012d19cd0007201aa8002c00822c..."} 
[2026-09-06 10:55:46] local.INFO: Packet analysis {"connection_id":172427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0752b"} 
[2026-09-06 10:55:46] local.INFO: Extracted packet for processing {"connection_id":172427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0752b"} 
[2026-09-06 10:55:46] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544488,"longitude_deg":75.66656,"latitude_deg":11.9544488,"altitude":44,"angle":130,"satellites":44,"speed":0,"hex_longitude":"2d19cd00","hex_latitude":"07201aa8","is_valid_coordinates":true} 
[2026-09-06 10:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900079872001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18170357361934336,"note":"Value kept but may cause issues"} 
[2026-09-06 10:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777271808,"note":"Value kept but may cause issues"} 
[2026-09-06 10:55:46] 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-09-06 10:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788672208000,"timestamp_ms":1788672208000,"timestamp_seconds":1788672208,"priority":1,"record_length":96,"hex_timestamp":"000001a0752bec80"} 
[2026-09-06 10:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 10:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-06 10:55:46] 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-09-06 10:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 10:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 10:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 10:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900079872001,"66":12298,"103":206,"83":41984,"24":0,"16":18170357361934336,"45":1859142251777271808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 10:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 10:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 10:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900079872001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:55:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 10:55:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 10:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18170357361934336,"km_value":18170357361934.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777271808,"description":"Unknown IO ID 45"} 
[2026-09-06 10:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900079872001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859142251777271808}} 
[2026-09-06 10:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":172427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:55:47] local.INFO: GPS data processed {"connection_id":172427,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:55:47] local.INFO: Acknowledgment sent {"connection_id":172427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 10:56:06] local.INFO: TCP Data received {"connection_id":173803,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:56:06] local.INFO: Processing buffer {"connection_id":173803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:56:06] local.INFO: IMEI packet received {"connection_id":173803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 10:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":173803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:56:07] local.INFO: TCP Data received {"connection_id":173803,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:56:07] local.INFO: Processing buffer {"connection_id":173803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:56:07] local.INFO: IMEI packet received {"connection_id":173803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":173803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:56:09] local.INFO: TCP Data received {"connection_id":173803,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:56:09] local.INFO: Processing buffer {"connection_id":173803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:56:09] local.INFO: IMEI packet received {"connection_id":173803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":173803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:56:10] local.INFO: TCP Data received {"connection_id":173803,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:56:10] local.INFO: Processing buffer {"connection_id":173803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 10:56:10] local.INFO: IMEI packet received {"connection_id":173803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 10:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":173803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 10:59:50] local.INFO: TCP Data received {"connection_id":172428,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:59:50] local.INFO: Processing buffer {"connection_id":172428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 10:59:50] local.INFO: IMEI packet received {"connection_id":172428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 10:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":172428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:59:53] local.INFO: TCP Data received {"connection_id":173806,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:59:53] local.INFO: Processing buffer {"connection_id":173806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 10:59:53] local.INFO: IMEI packet received {"connection_id":173806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 10:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":173806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 10:59:54] local.INFO: TCP Data received {"connection_id":173806,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0752f7e90012d4893c0068dc320002501322c..."} 
[2026-09-06 10:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752f7e90012d4893c0068dc320002501322c..."} 
[2026-09-06 10:59:55] local.INFO: Processing buffer {"connection_id":173806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752f7e90012d4893c0068dc320002501322c..."} 
[2026-09-06 10:59:55] local.INFO: Packet analysis {"connection_id":173806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0752f"} 
[2026-09-06 10:59:55] local.INFO: Extracted packet for processing {"connection_id":173806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0752f"} 
[2026-09-06 10:59:55] local.INFO: GPS Element Parsed {"raw_longitude":759731136,"raw_latitude":109953824,"longitude_deg":75.9731136,"latitude_deg":10.9953824,"altitude":37,"angle":306,"satellites":44,"speed":32,"hex_longitude":"2d4893c0","hex_latitude":"068dc320","is_valid_coordinates":true} 
[2026-09-06 10:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 10:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900142592001,"note":"Value kept but may cause issues"} 
[2026-09-06 10:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400553864115257344,"note":"Value kept but may cause issues"} 
[2026-09-06 10:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5237404919801763840,"note":"Value kept but may cause issues"} 
[2026-09-06 10:59:55] 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-09-06 10:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788672442000,"timestamp_ms":1788672442000,"timestamp_seconds":1788672442,"priority":1,"record_length":96,"hex_timestamp":"000001a0752f7e90"} 
[2026-09-06 10:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 10:59: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-09-06 10:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 10:59:55] 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-09-06 10:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 10:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 10:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 10:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 10:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 10:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 10:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 10:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 10:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900142592001,"66":27843,"61":206,"86":48896,"24":32,"16":400553864115257344,"45":5237404919801763840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-09-06 10:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 10:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 10:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900142592001,"description":"Unknown IO ID 0"} 
[2026-09-06 10:59:55] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-06 10:59:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 10:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400553864115257344,"km_value":400553864115257.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 10:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5237404919801763840,"description":"Unknown IO ID 45"} 
[2026-09-06 10:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900142592001,"power":27843,"unknown_61":206,"unknown_86":48896,"ignition":32,"odometer":null,"unknown_45":5237404919801763840}} 
[2026-09-06 10:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":173806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 10:59:55] local.INFO: GPS data processed {"connection_id":173806,"processed":1,"errors":0,"total":1} 
[2026-09-06 10:59:55] local.INFO: Acknowledgment sent {"connection_id":173806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:00:26] local.INFO: TCP Data received {"connection_id":173806,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075314f68012d471b40068dce400054010f26..."} 
[2026-09-06 11:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075314f68012d471b40068dce400054010f26..."} 
[2026-09-06 11:00:26] local.INFO: Processing buffer {"connection_id":173806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075314f68012d471b40068dce400054010f26..."} 
[2026-09-06 11:00:26] local.INFO: Packet analysis {"connection_id":173806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07531"} 
[2026-09-06 11:00:26] local.INFO: Extracted packet for processing {"connection_id":173806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07531"} 
[2026-09-06 11:00:26] local.INFO: GPS Element Parsed {"raw_longitude":759634752,"raw_latitude":109956672,"longitude_deg":75.9634752,"latitude_deg":10.9956672,"altitude":84,"angle":271,"satellites":38,"speed":33,"hex_longitude":"2d471b40","hex_latitude":"068dce40","is_valid_coordinates":true} 
[2026-09-06 11:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900173568001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400558678773596160,"note":"Value kept but may cause issues"} 
[2026-09-06 11:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5131148116095950848,"note":"Value kept but may cause issues"} 
[2026-09-06 11:00:26] 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-09-06 11:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788672561000,"timestamp_ms":1788672561000,"timestamp_seconds":1788672561,"priority":1,"record_length":96,"hex_timestamp":"000001a075314f68"} 
[2026-09-06 11:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:00: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-09-06 11:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 11:00:26] 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-09-06 11:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:00: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-09-06 11:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900173568001,"66":27908,"73":206,"86":48896,"24":33,"16":400558678773596160,"45":5131148116095950848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,86,24,16,45]} 
[2026-09-06 11:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900173568001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:00:26] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-06 11:00:26] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 11:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400558678773596160,"km_value":400558678773596.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5131148116095950848,"description":"Unknown IO ID 45"} 
[2026-09-06 11:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900173568001,"power":27908,"unknown_73":206,"unknown_86":48896,"ignition":33,"odometer":null,"unknown_45":5131148116095950848}} 
[2026-09-06 11:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":173806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:00:26] local.INFO: GPS data processed {"connection_id":173806,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:00:26] local.INFO: Acknowledgment sent {"connection_id":173806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:00:48] local.INFO: TCP Data received {"connection_id":175121,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:00:48] local.INFO: Processing buffer {"connection_id":175121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:00:48] local.INFO: IMEI packet received {"connection_id":175121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":175121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:00:53] local.INFO: TCP Data received {"connection_id":175121,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:00:53] local.INFO: Processing buffer {"connection_id":175121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:00:53] local.INFO: IMEI packet received {"connection_id":175121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":175121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:00:54] local.INFO: TCP Data received {"connection_id":175121,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075317a60012d46f600068dd3300058011928..."} 
[2026-09-06 11:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075317a60012d46f600068dd3300058011928..."} 
[2026-09-06 11:00:54] local.INFO: Processing buffer {"connection_id":175121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075317a60012d46f600068dd3300058011928..."} 
[2026-09-06 11:00:54] local.INFO: Packet analysis {"connection_id":175121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07531"} 
[2026-09-06 11:00:54] local.INFO: Extracted packet for processing {"connection_id":175121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07531"} 
[2026-09-06 11:00:54] local.INFO: GPS Element Parsed {"raw_longitude":759625216,"raw_latitude":109957936,"longitude_deg":75.9625216,"latitude_deg":10.9957936,"altitude":88,"angle":281,"satellites":40,"speed":35,"hex_longitude":"2d46f600","hex_latitude":"068dd330","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900175616001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400559138335096832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5123759397957156864,"note":"Value kept but may cause issues"} 
[2026-09-06 11:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788672572000,"timestamp_ms":1788672572000,"timestamp_seconds":1788672572,"priority":1,"record_length":96,"hex_timestamp":"000001a075317a60"} 
[2026-09-06 11:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:00: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-09-06 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 11:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:00: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-09-06 11:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900175616001,"66":27865,"71":206,"86":48896,"24":35,"16":400559138335096832,"45":5123759397957156864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,86,24,16,45]} 
[2026-09-06 11:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900175616001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:00:54] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-06 11:00:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 11:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400559138335096832,"km_value":400559138335096.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5123759397957156864,"description":"Unknown IO ID 45"} 
[2026-09-06 11:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900175616001,"power":27865,"unknown_71":206,"unknown_86":48896,"ignition":35,"odometer":null,"unknown_45":5123759397957156864}} 
[2026-09-06 11:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":175121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:00:54] local.INFO: GPS data processed {"connection_id":175121,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:00:54] local.INFO: Acknowledgment sent {"connection_id":175121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:01:14] local.INFO: TCP Data received {"connection_id":172648,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:01:14] local.INFO: Processing buffer {"connection_id":172648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:01:14] local.INFO: IMEI packet received {"connection_id":172648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":172648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:01:15] local.INFO: TCP Data received {"connection_id":172648,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075315350012d196840071fee38003a01172b..."} 
[2026-09-06 11:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075315350012d196840071fee38003a01172b..."} 
[2026-09-06 11:01:15] local.INFO: Processing buffer {"connection_id":172648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075315350012d196840071fee38003a01172b..."} 
[2026-09-06 11:01:15] local.INFO: Packet analysis {"connection_id":172648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07531"} 
[2026-09-06 11:01:15] local.INFO: Extracted packet for processing {"connection_id":172648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07531"} 
[2026-09-06 11:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900170496001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788672562000,"timestamp_ms":1788672562000,"timestamp_seconds":1788672562,"priority":1,"record_length":96,"hex_timestamp":"000001a075315350"} 
[2026-09-06 11:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-06 11:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:15] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:15] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2409037824,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:15] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3369554543440915968,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3996647482,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-06 11:01:15] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512585446470061,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:15] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300486189519542060,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:15] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:15] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,143,160,175,45,64,238,58,42,10,66,93,44,11,1,240,85,227,117,31,4,113,205,103,104,56,43,239,50,2,7,164,151],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-06 11:01:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179647402627563520,"timestamp_seconds":4179647402627563.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900170496001,"66":12798,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900170496001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:01:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900170496001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":172648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:01:15] local.INFO: GPS data processed {"connection_id":172648,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:01:15] local.INFO: Acknowledgment sent {"connection_id":172648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:01:25] local.INFO: TCP Data received {"connection_id":175121,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07531a170012d46d380068ddae00059011a28..."} 
[2026-09-06 11:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07531a170012d46d380068ddae00059011a28..."} 
[2026-09-06 11:01:25] local.INFO: Processing buffer {"connection_id":175121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07531a170012d46d380068ddae00059011a28..."} 
[2026-09-06 11:01:25] local.INFO: Packet analysis {"connection_id":175121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07531"} 
[2026-09-06 11:01:25] local.INFO: Extracted packet for processing {"connection_id":175121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07531"} 
[2026-09-06 11:01:25] local.INFO: GPS Element Parsed {"raw_longitude":759616384,"raw_latitude":109959904,"longitude_deg":75.9616384,"latitude_deg":10.9959904,"altitude":89,"angle":282,"satellites":40,"speed":36,"hex_longitude":"2d46d380","hex_latitude":"068ddae0","is_valid_coordinates":true} 
[2026-09-06 11:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900178432001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400559567831826432,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5113274455075008512,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788672582000,"timestamp_ms":1788672582000,"timestamp_seconds":1788672582,"priority":1,"record_length":96,"hex_timestamp":"000001a07531a170"} 
[2026-09-06 11:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:01: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-09-06 11:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 11:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:01: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-09-06 11:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900178432001,"66":27767,"71":206,"86":48896,"24":36,"16":400559567831826432,"45":5113274455075008512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,86,24,16,45]} 
[2026-09-06 11:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900178432001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:01:25] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-06 11:01:25] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 11:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400559567831826432,"km_value":400559567831826.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5113274455075008512,"description":"Unknown IO ID 45"} 
[2026-09-06 11:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900178432001,"power":27767,"unknown_71":206,"unknown_86":48896,"ignition":36,"odometer":null,"unknown_45":5113274455075008512}} 
[2026-09-06 11:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":175121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:01:25] local.INFO: GPS data processed {"connection_id":175121,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:01:25] local.INFO: Acknowledgment sent {"connection_id":175121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:01:46] local.INFO: TCP Data received {"connection_id":172648,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07531a558012d196840071fee38003a01172c..."} 
[2026-09-06 11:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07531a558012d196840071fee38003a01172c..."} 
[2026-09-06 11:01:46] local.INFO: Processing buffer {"connection_id":172648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07531a558012d196840071fee38003a01172c..."} 
[2026-09-06 11:01:46] local.INFO: Packet analysis {"connection_id":172648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07531"} 
[2026-09-06 11:01:46] local.INFO: Extracted packet for processing {"connection_id":172648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07531"} 
[2026-09-06 11:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900175872001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788672583000,"timestamp_ms":1788672583000,"timestamp_seconds":1788672583,"priority":1,"record_length":96,"hex_timestamp":"000001a07531a558"} 
[2026-09-06 11:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:01:46] 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-09-06 11:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-06 11:01:46] 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-09-06 11:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900175872001,"66":12798,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900175872001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:01:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900175872001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":172648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:01:46] local.INFO: GPS data processed {"connection_id":172648,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:01:46] local.INFO: Acknowledgment sent {"connection_id":172648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:01:48] local.INFO: TCP Data received {"connection_id":172649,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:01:48] local.INFO: Processing buffer {"connection_id":172649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:01:48] local.INFO: IMEI packet received {"connection_id":172649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":172649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:01:51] local.INFO: TCP Data received {"connection_id":172649,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:01:51] local.INFO: Processing buffer {"connection_id":172649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:01:51] local.INFO: IMEI packet received {"connection_id":172649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":172649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:01:53] local.INFO: TCP Data received {"connection_id":172649,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:01:53] local.INFO: Processing buffer {"connection_id":172649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:01:53] local.INFO: IMEI packet received {"connection_id":172649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":172649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:01:56] local.INFO: TCP Data received {"connection_id":172649,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075329f58012d463a00068edf40004801602d..."} 
[2026-09-06 11:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075329f58012d463a00068edf40004801602d..."} 
[2026-09-06 11:01:56] local.INFO: Processing buffer {"connection_id":172649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075329f58012d463a00068edf40004801602d..."} 
[2026-09-06 11:01:56] local.INFO: Packet analysis {"connection_id":172649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07532"} 
[2026-09-06 11:01:56] local.INFO: Extracted packet for processing {"connection_id":172649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07532"} 
[2026-09-06 11:01:56] local.INFO: GPS Element Parsed {"raw_longitude":759577088,"raw_latitude":110026560,"longitude_deg":75.9577088,"latitude_deg":11.002656,"altitude":72,"angle":352,"satellites":45,"speed":67,"hex_longitude":"2d463a00","hex_latitude":"068edf40","is_valid_coordinates":true} 
[2026-09-06 11:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900196096001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400563716770234368,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5061201584398551040,"note":"Value kept but may cause issues"} 
[2026-09-06 11:01:56] 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-09-06 11:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788672647000,"timestamp_ms":1788672647000,"timestamp_seconds":1788672647,"priority":1,"record_length":96,"hex_timestamp":"000001a075329f58"} 
[2026-09-06 11:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:01: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-09-06 11:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 11:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:01: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-09-06 11:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900196096001,"66":27767,"48":206,"86":48896,"24":67,"16":400563716770234368,"45":5061201584398551040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-09-06 11:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900196096001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:01:56] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-06 11:01:56] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 11:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400563716770234368,"km_value":400563716770234.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5061201584398551040,"description":"Unknown IO ID 45"} 
[2026-09-06 11:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900196096001,"power":27767,"unknown_48":206,"unknown_86":48896,"ignition":67,"odometer":null,"unknown_45":5061201584398551040}} 
[2026-09-06 11:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":172649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:01:56] local.INFO: GPS data processed {"connection_id":172649,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:01:56] local.INFO: Acknowledgment sent {"connection_id":172649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:02:06] local.INFO: TCP Data received {"connection_id":175122,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:02:06] local.INFO: Processing buffer {"connection_id":175122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:02:06] local.INFO: IMEI packet received {"connection_id":175122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":175122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:02:09] local.INFO: TCP Data received {"connection_id":175122,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:02:09] local.INFO: Processing buffer {"connection_id":175122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:02:09] local.INFO: IMEI packet received {"connection_id":175122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":175122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:02:14] local.INFO: TCP Data received {"connection_id":175122,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:02:14] local.INFO: Processing buffer {"connection_id":175122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:02:14] local.INFO: IMEI packet received {"connection_id":175122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":175122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:02:15] local.INFO: TCP Data received {"connection_id":175122,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07531f760012d196840071fee38003a01172a..."} 
[2026-09-06 11:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07531f760012d196840071fee38003a01172a..."} 
[2026-09-06 11:02:15] local.INFO: Processing buffer {"connection_id":175122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07531f760012d196840071fee38003a01172a..."} 
[2026-09-06 11:02:15] local.INFO: Packet analysis {"connection_id":175122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07531"} 
[2026-09-06 11:02:15] local.INFO: Extracted packet for processing {"connection_id":175122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07531"} 
[2026-09-06 11:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900181248001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788672604000,"timestamp_ms":1788672604000,"timestamp_seconds":1788672604,"priority":1,"record_length":96,"hex_timestamp":"000001a07531f760"} 
[2026-09-06 11:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-06 11:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900181248001,"66":12765,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900181248001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:02:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900181248001,"power":12765,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":175122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:02:15] local.INFO: GPS data processed {"connection_id":175122,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:02:15] local.INFO: Acknowledgment sent {"connection_id":175122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:02:28] local.INFO: TCP Data received {"connection_id":172649,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07532b6c8012d463200068f05e8004501592e..."} 
[2026-09-06 11:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07532b6c8012d463200068f05e8004501592e..."} 
[2026-09-06 11:02:28] local.INFO: Processing buffer {"connection_id":172649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07532b6c8012d463200068f05e8004501592e..."} 
[2026-09-06 11:02:28] local.INFO: Packet analysis {"connection_id":172649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07532"} 
[2026-09-06 11:02:28] local.INFO: Extracted packet for processing {"connection_id":172649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07532"} 
[2026-09-06 11:02:28] local.INFO: GPS Element Parsed {"raw_longitude":759575040,"raw_latitude":110036456,"longitude_deg":75.957504,"latitude_deg":11.0036456,"altitude":69,"angle":345,"satellites":46,"speed":66,"hex_longitude":"2d463200","hex_latitude":"068f05e8","is_valid_coordinates":true} 
[2026-09-06 11:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900197632001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400564206396506112,"note":"Value kept but may cause issues"} 
[2026-09-06 11:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5060357159470972928,"note":"Value kept but may cause issues"} 
[2026-09-06 11:02:28] 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-09-06 11:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788672653000,"timestamp_ms":1788672653000,"timestamp_seconds":1788672653,"priority":1,"record_length":96,"hex_timestamp":"000001a07532b6c8"} 
[2026-09-06 11:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 11:02:28] 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-09-06 11:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:02: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-09-06 11:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900197632001,"66":27767,"48":206,"86":48896,"24":66,"16":400564206396506112,"45":5060357159470972928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-09-06 11:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900197632001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:02:28] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-06 11:02:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 11:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400564206396506112,"km_value":400564206396506.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5060357159470972928,"description":"Unknown IO ID 45"} 
[2026-09-06 11:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900197632001,"power":27767,"unknown_48":206,"unknown_86":48896,"ignition":66,"odometer":null,"unknown_45":5060357159470972928}} 
[2026-09-06 11:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":172649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:02:28] local.INFO: GPS data processed {"connection_id":172649,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:02:28] local.INFO: Acknowledgment sent {"connection_id":172649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:02:46] local.INFO: TCP Data received {"connection_id":175122,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075324968012d196840071fee38003a01172d..."} 
[2026-09-06 11:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075324968012d196840071fee38003a01172d..."} 
[2026-09-06 11:02:46] local.INFO: Processing buffer {"connection_id":175122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075324968012d196840071fee38003a01172d..."} 
[2026-09-06 11:02:46] local.INFO: Packet analysis {"connection_id":175122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07532"} 
[2026-09-06 11:02:46] local.INFO: Extracted packet for processing {"connection_id":175122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07532"} 
[2026-09-06 11:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900186624001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788672625000,"timestamp_ms":1788672625000,"timestamp_seconds":1788672625,"priority":1,"record_length":96,"hex_timestamp":"000001a075324968"} 
[2026-09-06 11:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:02:46] 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-09-06 11:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-06 11:02:46] 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-09-06 11:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900186624001,"66":12722,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900186624001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:02:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900186624001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":175122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:02:46] local.INFO: GPS data processed {"connection_id":175122,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:02:46] local.INFO: Acknowledgment sent {"connection_id":175122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:02:53] local.INFO: TCP Data received {"connection_id":173807,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:02:53] local.INFO: Processing buffer {"connection_id":173807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:02:53] local.INFO: IMEI packet received {"connection_id":173807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":173807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:02:55] local.INFO: TCP Data received {"connection_id":173807,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:02:55] local.INFO: Processing buffer {"connection_id":173807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:02:55] local.INFO: IMEI packet received {"connection_id":173807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":173807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:02:56] local.INFO: TCP Data received {"connection_id":173807,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07533c838012d458b0006904688004101372e..."} 
[2026-09-06 11:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07533c838012d458b0006904688004101372e..."} 
[2026-09-06 11:02:56] local.INFO: Processing buffer {"connection_id":173807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07533c838012d458b0006904688004101372e..."} 
[2026-09-06 11:02:56] local.INFO: Packet analysis {"connection_id":173807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07533"} 
[2026-09-06 11:02:56] local.INFO: Extracted packet for processing {"connection_id":173807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07533"} 
[2026-09-06 11:02:56] local.INFO: GPS Element Parsed {"raw_longitude":759532288,"raw_latitude":110118536,"longitude_deg":75.9532288,"latitude_deg":11.0118536,"altitude":65,"angle":311,"satellites":46,"speed":52,"hex_longitude":"2d458b00","hex_latitude":"06904688","is_valid_coordinates":true} 
[2026-09-06 11:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900215296001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400568767651774464,"note":"Value kept but may cause issues"} 
[2026-09-06 11:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5018628494195542016,"note":"Value kept but may cause issues"} 
[2026-09-06 11:02:56] 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-09-06 11:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788672723000,"timestamp_ms":1788672723000,"timestamp_seconds":1788672723,"priority":1,"record_length":96,"hex_timestamp":"000001a07533c838"} 
[2026-09-06 11:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:02: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-09-06 11:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 11:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:02: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-09-06 11:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900215296001,"66":27800,"171":206,"86":48896,"24":52,"16":400568767651774464,"45":5018628494195542016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-09-06 11:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900215296001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:02:56] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-06 11:02:56] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 11:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400568767651774464,"km_value":400568767651774.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5018628494195542016,"description":"Unknown IO ID 45"} 
[2026-09-06 11:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900215296001,"power":27800,"unknown_171":206,"unknown_86":48896,"ignition":52,"odometer":null,"unknown_45":5018628494195542016}} 
[2026-09-06 11:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":173807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:02:56] local.INFO: GPS data processed {"connection_id":173807,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:02:56] local.INFO: Acknowledgment sent {"connection_id":173807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:02:58] local.INFO: TCP Data received {"connection_id":173807,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07533e390012d456f8006905e10004101372b..."} 
[2026-09-06 11:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07533e390012d456f8006905e10004101372b..."} 
[2026-09-06 11:02:58] local.INFO: Processing buffer {"connection_id":173807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07533e390012d456f8006905e10004101372b..."} 
[2026-09-06 11:02:58] local.INFO: Packet analysis {"connection_id":173807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07533"} 
[2026-09-06 11:02:58] local.INFO: Extracted packet for processing {"connection_id":173807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07533"} 
[2026-09-06 11:02:58] local.INFO: GPS Element Parsed {"raw_longitude":759525248,"raw_latitude":110124560,"longitude_deg":75.9525248,"latitude_deg":11.012456,"altitude":65,"angle":311,"satellites":43,"speed":52,"hex_longitude":"2d456f80","hex_latitude":"06905e10","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900217088001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400569214328373248,"note":"Value kept but may cause issues"} 
[2026-09-06 11:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5011099038570153984,"note":"Value kept but may cause issues"} 
[2026-09-06 11:02:58] 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-09-06 11:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788672730000,"timestamp_ms":1788672730000,"timestamp_seconds":1788672730,"priority":1,"record_length":96,"hex_timestamp":"000001a07533e390"} 
[2026-09-06 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-09-06 11:02: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-09-06 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 11:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 11:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:02: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-09-06 11:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900217088001,"66":27745,"171":206,"86":48896,"24":52,"16":400569214328373248,"45":5011099038570153984},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-09-06 11:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900217088001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:02:58] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-06 11:02:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 11:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400569214328373248,"km_value":400569214328373.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5011099038570153984,"description":"Unknown IO ID 45"} 
[2026-09-06 11:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900217088001,"power":27745,"unknown_171":206,"unknown_86":48896,"ignition":52,"odometer":null,"unknown_45":5011099038570153984}} 
[2026-09-06 11:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":173807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:02:58] local.INFO: GPS data processed {"connection_id":173807,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:02:58] local.INFO: Acknowledgment sent {"connection_id":173807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:03:09] local.INFO: TCP Data received {"connection_id":172650,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:03:09] local.INFO: Processing buffer {"connection_id":172650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:03:09] local.INFO: IMEI packet received {"connection_id":172650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":172650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:03:10] local.INFO: TCP Data received {"connection_id":172650,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:03:10] local.INFO: Processing buffer {"connection_id":172650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:03:10] local.INFO: IMEI packet received {"connection_id":172650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":172650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:03:14] local.INFO: TCP Data received {"connection_id":172650,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:03:14] local.INFO: Processing buffer {"connection_id":172650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:03:14] local.INFO: IMEI packet received {"connection_id":172650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":172650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:03:15] local.INFO: TCP Data received {"connection_id":172650,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075329b70012d196840071fee38003a01172b..."} 
[2026-09-06 11:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075329b70012d196840071fee38003a01172b..."} 
[2026-09-06 11:03:15] local.INFO: Processing buffer {"connection_id":172650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075329b70012d196840071fee38003a01172b..."} 
[2026-09-06 11:03:15] local.INFO: Packet analysis {"connection_id":172650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07532"} 
[2026-09-06 11:03:15] local.INFO: Extracted packet for processing {"connection_id":172650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07532"} 
[2026-09-06 11:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900192000001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788672646000,"timestamp_ms":1788672646000,"timestamp_seconds":1788672646,"priority":1,"record_length":96,"hex_timestamp":"000001a075329b70"} 
[2026-09-06 11:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 11:03:15] 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-09-06 11:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900192000001,"66":12722,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900192000001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:03:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900192000001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":172650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:03:15] local.INFO: GPS data processed {"connection_id":172650,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:03:15] local.INFO: Acknowledgment sent {"connection_id":172650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:03:29] local.INFO: TCP Data received {"connection_id":173807,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07533fee8012d455400069076d80040013b2f..."} 
[2026-09-06 11:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07533fee8012d455400069076d80040013b2f..."} 
[2026-09-06 11:03:29] local.INFO: Processing buffer {"connection_id":173807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07533fee8012d455400069076d80040013b2f..."} 
[2026-09-06 11:03:29] local.INFO: Packet analysis {"connection_id":173807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07533"} 
[2026-09-06 11:03:29] local.INFO: Extracted packet for processing {"connection_id":173807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07533"} 
[2026-09-06 11:03:29] local.INFO: GPS Element Parsed {"raw_longitude":759518208,"raw_latitude":110130904,"longitude_deg":75.9518208,"latitude_deg":11.0130904,"altitude":64,"angle":315,"satellites":47,"speed":53,"hex_longitude":"2d455400","hex_latitude":"069076d8","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900218880001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400569669594906624,"note":"Value kept but may cause issues"} 
[2026-09-06 11:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5003358476712153088,"note":"Value kept but may cause issues"} 
[2026-09-06 11:03:29] 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-09-06 11:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788672737000,"timestamp_ms":1788672737000,"timestamp_seconds":1788672737,"priority":1,"record_length":96,"hex_timestamp":"000001a07533fee8"} 
[2026-09-06 11:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:03: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-09-06 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 11:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:03: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-09-06 11:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900218880001,"66":27745,"171":206,"86":48896,"24":53,"16":400569669594906624,"45":5003358476712153088},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-09-06 11:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900218880001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:03:29] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-06 11:03:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 11:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400569669594906624,"km_value":400569669594906.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5003358476712153088,"description":"Unknown IO ID 45"} 
[2026-09-06 11:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900218880001,"power":27745,"unknown_171":206,"unknown_86":48896,"ignition":53,"odometer":null,"unknown_45":5003358476712153088}} 
[2026-09-06 11:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":173807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:03:29] local.INFO: GPS data processed {"connection_id":173807,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:03:29] local.INFO: Acknowledgment sent {"connection_id":173807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:03:46] local.INFO: TCP Data received {"connection_id":172650,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07532ed78012d196840071fee38003a01172c..."} 
[2026-09-06 11:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07532ed78012d196840071fee38003a01172c..."} 
[2026-09-06 11:03:46] local.INFO: Processing buffer {"connection_id":172650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07532ed78012d196840071fee38003a01172c..."} 
[2026-09-06 11:03:46] local.INFO: Packet analysis {"connection_id":172650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07532"} 
[2026-09-06 11:03:46] local.INFO: Extracted packet for processing {"connection_id":172650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07532"} 
[2026-09-06 11:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900197376001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788672667000,"timestamp_ms":1788672667000,"timestamp_seconds":1788672667,"priority":1,"record_length":96,"hex_timestamp":"000001a07532ed78"} 
[2026-09-06 11:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:03:46] 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-09-06 11: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 11:03:46] 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-09-06 11:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900197376001,"66":12689,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900197376001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:03:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900197376001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":172650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:03:46] local.INFO: GPS data processed {"connection_id":172650,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:03:46] local.INFO: Acknowledgment sent {"connection_id":172650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:03:58] local.INFO: TCP Data received {"connection_id":175123,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:03:58] local.INFO: Processing buffer {"connection_id":175123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:03:58] local.INFO: IMEI packet received {"connection_id":175123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":175123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:03:59] local.INFO: TCP Data received {"connection_id":175123,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:03:59] local.INFO: Processing buffer {"connection_id":175123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:03:59] local.INFO: IMEI packet received {"connection_id":175123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":175123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:04:06] local.INFO: TCP Data received {"connection_id":175123,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:04:06] local.INFO: Processing buffer {"connection_id":175123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:04:06] local.INFO: IMEI packet received {"connection_id":175123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":175123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:04:06] local.INFO: TCP Data received {"connection_id":175123,"ip":"42.109.136.8","data_length":1348,"data_hex":"000000000000030f8e0a000001a075341a40012d453b8006909328003e01432f..."} 
[2026-09-06 11:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175123,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a075341a40012d453b8006909328003e01432f..."} 
[2026-09-06 11:04:06] local.INFO: Processing buffer {"connection_id":175123,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a075341a40012d453b8006909328003e01432f..."} 
[2026-09-06 11:04:06] local.INFO: Packet analysis {"connection_id":175123,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a07534"} 
[2026-09-06 11:04:06] local.INFO: Extracted packet for processing {"connection_id":175123,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a07534"} 
[2026-09-06 11:04:06] local.INFO: GPS Element Parsed {"raw_longitude":759511936,"raw_latitude":110138152,"longitude_deg":75.9511936,"latitude_deg":11.0138152,"altitude":62,"angle":323,"satellites":47,"speed":54,"hex_longitude":"2d453b80","hex_latitude":"06909328","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900220672001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400570129156407296,"note":"Value kept but may cause issues"} 
[2026-09-06 11:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4995617914854234112,"note":"Value kept but may cause issues"} 
[2026-09-06 11:04:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788672744000,"timestamp_ms":1788672744000,"timestamp_seconds":1788672744,"priority":1,"record_length":96,"hex_timestamp":"000001a075341a40"} 
[2026-09-06 11:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 11:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900220672001,"66":27821,"86":48896,"24":54,"16":400570129156407296,"45":4995617914854234112},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-06 11:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900220672001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:04:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 11:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400570129156407296,"km_value":400570129156407.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4995617914854234112,"description":"Unknown IO ID 45"} 
[2026-09-06 11:04:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457900220672001,"power":27821,"unknown_86":48896,"ignition":54,"odometer":null,"unknown_45":4995617914854234112}} 
[2026-09-06 11:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":175123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:04:06] local.INFO: GPS data processed {"connection_id":175123,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:04:06] local.INFO: Acknowledgment sent {"connection_id":175123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:04:06] local.INFO: Packet analysis {"connection_id":175123,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a07534"} 
[2026-09-06 11:04:06] local.INFO: Incomplete packet, waiting for more data {"connection_id":175123,"needed":795,"available":553} 
[2026-09-06 11:04:09] local.INFO: TCP Data received {"connection_id":173808,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:04:09] local.INFO: Processing buffer {"connection_id":173808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:04:09] local.INFO: IMEI packet received {"connection_id":173808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":173808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:04:12] local.INFO: TCP Data received {"connection_id":173808,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:04:12] local.INFO: Processing buffer {"connection_id":173808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:04:12] local.INFO: IMEI packet received {"connection_id":173808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":173808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:04:13] local.INFO: TCP Data received {"connection_id":173808,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075333f80012d196840071fee38003a01172b..."} 
[2026-09-06 11:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075333f80012d196840071fee38003a01172b..."} 
[2026-09-06 11:04:13] local.INFO: Processing buffer {"connection_id":173808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075333f80012d196840071fee38003a01172b..."} 
[2026-09-06 11:04:13] local.INFO: Packet analysis {"connection_id":173808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07533"} 
[2026-09-06 11:04:13] local.INFO: Extracted packet for processing {"connection_id":173808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07533"} 
[2026-09-06 11:04:13] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900202752001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:04: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-09-06 11:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788672688000,"timestamp_ms":1788672688000,"timestamp_seconds":1788672688,"priority":1,"record_length":96,"hex_timestamp":"000001a075333f80"} 
[2026-09-06 11:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-06 11:04:13] 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-09-06 11:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900202752001,"66":12613,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900202752001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:04:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900202752001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":173808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:04:13] local.INFO: GPS data processed {"connection_id":173808,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:04:13] local.INFO: Acknowledgment sent {"connection_id":173808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:04:16] local.INFO: TCP Data received {"connection_id":175123,"ip":"42.109.136.8","data_length":242,"data_hex":"000000000001a075337630012d45d300068ff3f8004301433000340000000a00..."} 
[2026-09-06 11:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175123,"packet_length":242,"packet_hex":"000000000001a075337630012d45d300068ff3f8004301433000340000000a00..."} 
[2026-09-06 11:04:16] local.INFO: Processing buffer {"connection_id":175123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075343598012d4526800690b358003c01492d..."} 
[2026-09-06 11:04:16] local.INFO: Packet analysis {"connection_id":175123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07534"} 
[2026-09-06 11:04:16] local.INFO: Extracted packet for processing {"connection_id":175123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07534"} 
[2026-09-06 11:04:16] local.INFO: GPS Element Parsed {"raw_longitude":759506560,"raw_latitude":110146392,"longitude_deg":75.950656,"latitude_deg":11.0146392,"altitude":60,"angle":329,"satellites":45,"speed":57,"hex_longitude":"2d452680","hex_latitude":"0690b358","is_valid_coordinates":true} 
[2026-09-06 11:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900222464001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400570605897777152,"note":"Value kept but may cause issues"} 
[2026-09-06 11:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4988721777926678528,"note":"Value kept but may cause issues"} 
[2026-09-06 11:04:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788672751000,"timestamp_ms":1788672751000,"timestamp_seconds":1788672751,"priority":1,"record_length":96,"hex_timestamp":"000001a075343598"} 
[2026-09-06 11:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:04: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-09-06 11:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 11:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900222464001,"66":27800,"86":48896,"24":57,"16":400570605897777152,"45":4988721777926678528},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-09-06 11:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900222464001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:04:16] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-09-06 11:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400570605897777152,"km_value":400570605897777.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4988721777926678528,"description":"Unknown IO ID 45"} 
[2026-09-06 11:04:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457900222464001,"power":27800,"unknown_86":48896,"ignition":57,"odometer":null,"unknown_45":4988721777926678528}} 
[2026-09-06 11:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":175123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:04:16] local.INFO: GPS data processed {"connection_id":175123,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:04:16] local.INFO: Acknowledgment sent {"connection_id":175123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:04:44] local.INFO: TCP Data received {"connection_id":173808,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075339188012d196840071fee38003a01172c..."} 
[2026-09-06 11:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075339188012d196840071fee38003a01172c..."} 
[2026-09-06 11:04:44] local.INFO: Processing buffer {"connection_id":173808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075339188012d196840071fee38003a01172c..."} 
[2026-09-06 11:04:44] local.INFO: Packet analysis {"connection_id":173808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07533"} 
[2026-09-06 11:04:44] local.INFO: Extracted packet for processing {"connection_id":173808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07533"} 
[2026-09-06 11:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900208128001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:04: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-09-06 11:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788672709000,"timestamp_ms":1788672709000,"timestamp_seconds":1788672709,"priority":1,"record_length":96,"hex_timestamp":"000001a075339188"} 
[2026-09-06 11:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:04:44] 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-09-06 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-06 11:04:44] 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-09-06 11: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-09-06 11:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900208128001,"66":12689,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900208128001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:04:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:04:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900208128001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":173808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:04:44] local.INFO: GPS data processed {"connection_id":173808,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:04:44] local.INFO: Acknowledgment sent {"connection_id":173808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:04:47] local.INFO: TCP Data received {"connection_id":172429,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:04:47] local.INFO: Processing buffer {"connection_id":172429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:04:47] local.INFO: IMEI packet received {"connection_id":172429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":172429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:05:03] local.INFO: TCP Data received {"connection_id":172429,"ip":"42.109.136.8","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-06 11:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172429,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-06 11:05:03] local.INFO: Processing buffer {"connection_id":172429,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-06 11:05:03] local.INFO: IMEI packet received {"connection_id":172429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":172429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:05:04] local.INFO: TCP Data received {"connection_id":172429,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075356260012d44af0006923c00002d016431..."} 
[2026-09-06 11:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075356260012d44af0006923c00002d016431..."} 
[2026-09-06 11:05:04] local.INFO: Processing buffer {"connection_id":172429,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a075..."} 
[2026-09-06 11:05:04] local.INFO: IMEI packet received {"connection_id":172429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":172429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:05:05] local.INFO: TCP Data received {"connection_id":172429,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0753575e8012d44aa0006925818002c015630..."} 
[2026-09-06 11:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753575e8012d44aa0006925818002c015630..."} 
[2026-09-06 11:05:05] local.INFO: Processing buffer {"connection_id":172429,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a075356260012d44af0006923c00002d016431..."} 
[2026-09-06 11:05:05] local.INFO: Packet analysis {"connection_id":172429,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07535"} 
[2026-09-06 11:05:05] local.INFO: Extracted packet for processing {"connection_id":172429,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07535"} 
[2026-09-06 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":759475968,"raw_latitude":110246912,"longitude_deg":75.9475968,"latitude_deg":11.0246912,"altitude":45,"angle":356,"satellites":49,"speed":58,"hex_longitude":"2d44af00","hex_latitude":"06923c00","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900242176001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400575802808205312,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4949737493677484032,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788672828000,"timestamp_ms":1788672828000,"timestamp_seconds":1788672828,"priority":1,"record_length":96,"hex_timestamp":"000001a075356260"} 
[2026-09-06 11:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:05: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-09-06 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 11:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900242176001,"66":27865,"142":206,"86":48640,"24":58,"16":400575802808205312,"45":4949737493677484032},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-06 11:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900242176001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:05:05] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-06 11:05:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-06 11:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400575802808205312,"km_value":400575802808205.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4949737493677484032,"description":"Unknown IO ID 45"} 
[2026-09-06 11:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900242176001,"power":27865,"unknown_142":206,"unknown_86":48640,"ignition":58,"odometer":null,"unknown_45":4949737493677484032}} 
[2026-09-06 11:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":172429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:05:05] local.INFO: GPS data processed {"connection_id":172429,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:05:05] local.INFO: Acknowledgment sent {"connection_id":172429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:05:05] local.INFO: Packet analysis {"connection_id":172429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07535"} 
[2026-09-06 11:05:05] local.INFO: Extracted packet for processing {"connection_id":172429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07535"} 
[2026-09-06 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":759474688,"raw_latitude":110254104,"longitude_deg":75.9474688,"latitude_deg":11.0254104,"altitude":44,"angle":342,"satellites":48,"speed":58,"hex_longitude":"2d44aa00","hex_latitude":"06925818","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900243968001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400576159290490880,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4949174543726673920,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788672833000,"timestamp_ms":1788672833000,"timestamp_seconds":1788672833,"priority":1,"record_length":96,"hex_timestamp":"000001a0753575e8"} 
[2026-09-06 11:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:05: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-09-06 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 11:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900243968001,"66":27821,"142":206,"86":48640,"24":58,"16":400576159290490880,"45":4949174543726673920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-06 11:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900243968001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:05:05] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-06 11:05:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-06 11:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400576159290490880,"km_value":400576159290490.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4949174543726673920,"description":"Unknown IO ID 45"} 
[2026-09-06 11:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900243968001,"power":27821,"unknown_142":206,"unknown_86":48640,"ignition":58,"odometer":null,"unknown_45":4949174543726673920}} 
[2026-09-06 11:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":172429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:05:05] local.INFO: GPS data processed {"connection_id":172429,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:05:05] local.INFO: Acknowledgment sent {"connection_id":172429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:05:06] local.INFO: TCP Data received {"connection_id":172429,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075358588012d44a0c006926c98002b014b2f..."} 
[2026-09-06 11:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075358588012d44a0c006926c98002b014b2f..."} 
[2026-09-06 11:05:06] local.INFO: Processing buffer {"connection_id":172429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075358588012d44a0c006926c98002b014b2f..."} 
[2026-09-06 11:05:06] local.INFO: Packet analysis {"connection_id":172429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07535"} 
[2026-09-06 11:05:06] local.INFO: Extracted packet for processing {"connection_id":172429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07535"} 
[2026-09-06 11:05:06] local.INFO: GPS Element Parsed {"raw_longitude":759472320,"raw_latitude":110259352,"longitude_deg":75.947232,"latitude_deg":11.0259352,"altitude":43,"angle":331,"satellites":47,"speed":56,"hex_longitude":"2d44a0c0","hex_latitude":"06926c98","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900245248001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400576438463365120,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4947767168844961792,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788672837000,"timestamp_ms":1788672837000,"timestamp_seconds":1788672837,"priority":1,"record_length":96,"hex_timestamp":"000001a075358588"} 
[2026-09-06 11:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 11:05:06] 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-09-06 11: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-09-06 11:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900245248001,"66":27832,"142":206,"86":48640,"24":56,"16":400576438463365120,"45":4947767168844961792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-06 11:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900245248001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:05:06] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-06 11:05:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-06 11:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400576438463365120,"km_value":400576438463365.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4947767168844961792,"description":"Unknown IO ID 45"} 
[2026-09-06 11:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900245248001,"power":27832,"unknown_142":206,"unknown_86":48640,"ignition":56,"odometer":null,"unknown_45":4947767168844961792}} 
[2026-09-06 11:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":172429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:05:06] local.INFO: GPS data processed {"connection_id":172429,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:05:06] local.INFO: Acknowledgment sent {"connection_id":172429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:05:07] local.INFO: TCP Data received {"connection_id":172430,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:05:07] local.INFO: Processing buffer {"connection_id":172430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:05:07] local.INFO: IMEI packet received {"connection_id":172430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":172430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:05:07] local.INFO: TCP Data received {"connection_id":172430,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:05:07] local.INFO: Processing buffer {"connection_id":172430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:05:07] local.INFO: IMEI packet received {"connection_id":172430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":172430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:05:09] local.INFO: TCP Data received {"connection_id":172651,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:05:09] local.INFO: Processing buffer {"connection_id":172651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:05:09] local.INFO: IMEI packet received {"connection_id":172651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":172651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:05:12] local.INFO: TCP Data received {"connection_id":172430,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:05:12] local.INFO: Processing buffer {"connection_id":172430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:05:12] local.INFO: IMEI packet received {"connection_id":172430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":172430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:05:14] local.INFO: TCP Data received {"connection_id":172651,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:05:14] local.INFO: Processing buffer {"connection_id":172651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:05:14] local.INFO: IMEI packet received {"connection_id":172651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":172651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:05:15] local.INFO: TCP Data received {"connection_id":172651,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07533e390012d196840071fee38003a01172d..."} 
[2026-09-06 11:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07533e390012d196840071fee38003a01172d..."} 
[2026-09-06 11:05:15] local.INFO: Processing buffer {"connection_id":172651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07533e390012d196840071fee38003a01172d..."} 
[2026-09-06 11:05:15] local.INFO: Packet analysis {"connection_id":172651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07533"} 
[2026-09-06 11:05:15] local.INFO: Extracted packet for processing {"connection_id":172651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07533"} 
[2026-09-06 11:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900213504001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788672730000,"timestamp_ms":1788672730000,"timestamp_seconds":1788672730,"priority":1,"record_length":96,"hex_timestamp":"000001a07533e390"} 
[2026-09-06 11:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-06 11:05:15] 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-09-06 11:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900213504001,"66":12558,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900213504001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:05:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900213504001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":172651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:05:15] local.INFO: GPS data processed {"connection_id":172651,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:05:15] local.INFO: Acknowledgment sent {"connection_id":172651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:05:16] local.INFO: TCP Data received {"connection_id":173809,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:05:16] local.INFO: Processing buffer {"connection_id":173809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:05:16] local.INFO: IMEI packet received {"connection_id":173809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 11:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":173809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:05:17] local.INFO: TCP Data received {"connection_id":172430,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0752a3700012d7d3cc005d112d8000b004011..."} 
[2026-09-06 11:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0752a3700012d7d3cc005d112d8000b004011..."} 
[2026-09-06 11:05:17] local.INFO: Processing buffer {"connection_id":172430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0752a3700012d7d3cc005d112d8000b004011..."} 
[2026-09-06 11:05:17] local.INFO: Packet analysis {"connection_id":172430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0752a"} 
[2026-09-06 11:05:17] local.INFO: Extracted packet for processing {"connection_id":172430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0752a"} 
[2026-09-06 11:05:17] local.INFO: GPS Element Parsed {"raw_longitude":763182272,"raw_latitude":97587928,"longitude_deg":76.3182272,"latitude_deg":9.7587928,"altitude":11,"angle":64,"satellites":17,"speed":1,"hex_longitude":"2d7d3cc0","hex_latitude":"05d112d8","is_valid_coordinates":true} 
[2026-09-06 11:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900055296001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128885019295875072,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515814486016,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:17] 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-09-06 11:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788672096000,"timestamp_ms":1788672096000,"timestamp_seconds":1788672096,"priority":1,"record_length":96,"hex_timestamp":"000001a0752a3700"} 
[2026-09-06 11:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:05:17] 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-09-06 11:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 11:05:17] 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-09-06 11:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":172430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:05:17] 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-09-06 11:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900055296001,"66":13493,"197":206,"85":15104,"24":1,"16":128885019295875072,"45":9024228515814486016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-06 11:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900055296001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:05:17] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-06 11:05:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128885019295875072,"km_value":128885019295875.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515814486016,"description":"Unknown IO ID 45"} 
[2026-09-06 11:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900055296001,"power":13493,"unknown_197":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9024228515814486016}} 
[2026-09-06 11:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":172430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:05:17] local.INFO: GPS data processed {"connection_id":172430,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:05:17] local.INFO: Acknowledgment sent {"connection_id":172430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:05:46] local.INFO: TCP Data received {"connection_id":172651,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075343598012d196840071fee38003a011729..."} 
[2026-09-06 11:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075343598012d196840071fee38003a011729..."} 
[2026-09-06 11:05:46] local.INFO: Processing buffer {"connection_id":172651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075343598012d196840071fee38003a011729..."} 
[2026-09-06 11:05:46] local.INFO: Packet analysis {"connection_id":172651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07534"} 
[2026-09-06 11:05:46] local.INFO: Extracted packet for processing {"connection_id":172651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07534"} 
[2026-09-06 11:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900218880001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788672751000,"timestamp_ms":1788672751000,"timestamp_seconds":1788672751,"priority":1,"record_length":96,"hex_timestamp":"000001a075343598"} 
[2026-09-06 11:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:05:46] 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-09-06 11:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-06 11:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:46] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:46] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2409037824,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331252280,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3996647482,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-06 11:05:46] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397048,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:46] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:46] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,143,160,145,45,64,238,58,44,10,66,63,43,237,1,240,227,117,31,4,113,205,73,104,56,239,49,2,7,120,74,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-06 11:05:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179647411217498112,"timestamp_seconds":4179647411217498.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900218880001,"66":12548,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900218880001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:05:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900218880001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":172651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:05:46] local.INFO: GPS data processed {"connection_id":172651,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:05:46] local.INFO: Acknowledgment sent {"connection_id":172651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:05:48] local.INFO: TCP Data received {"connection_id":173810,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:05:48] local.INFO: Processing buffer {"connection_id":173810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:05:48] local.INFO: IMEI packet received {"connection_id":173810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":173810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:05:48] local.INFO: TCP Data received {"connection_id":172430,"ip":"42.109.136.2","data_length":171,"data_hex":"000000000000009f8e0200000000000109a00100000000000000000000000000..."} 
[2026-09-06 11:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172430,"packet_length":171,"packet_hex":"000000000000009f8e0200000000000109a00100000000000000000000000000..."} 
[2026-09-06 11:05:48] local.INFO: Processing buffer {"connection_id":172430,"buffer_length":171,"buffer_hex":"000000000000009f8e0200000000000109a00100000000000000000000000000..."} 
[2026-09-06 11:05:48] local.INFO: Packet analysis {"connection_id":172430,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e02000000000001"} 
[2026-09-06 11:05:48] local.INFO: Extracted packet for processing {"connection_id":172430,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e02000000000001"} 
[2026-09-06 11:05:48] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 11:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-09-06 11:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900056576001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128884761597837312,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024298884558673920,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:05:48] 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-09-06 11:05:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":2,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:05:48] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 11:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":172430,"avl_records_parsed":0,"avl_records_expected":2,"crc_valid":false} 
[2026-09-06 11:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 11:05:48] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 11:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":172430,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 11:05:48] local.ERROR: GPS data processing failed {"connection_id":172430,"error":"No valid data to process"} 
[2026-09-06 11:05:48] local.INFO: Acknowledgment sent {"connection_id":172430,"records_acknowledged":0,"records_expected":2,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 11:05:50] local.INFO: TCP Data received {"connection_id":173810,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:05:50] local.INFO: Processing buffer {"connection_id":173810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:05:50] local.INFO: IMEI packet received {"connection_id":173810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":173810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:05:52] local.INFO: TCP Data received {"connection_id":173810,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075359528012d4493c006927e60002b013d30..."} 
[2026-09-06 11:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075359528012d4493c006927e60002b013d30..."} 
[2026-09-06 11:05:52] local.INFO: Processing buffer {"connection_id":173810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075359528012d4493c006927e60002b013d30..."} 
[2026-09-06 11:05:52] local.INFO: Packet analysis {"connection_id":173810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07535"} 
[2026-09-06 11:05:52] local.INFO: Extracted packet for processing {"connection_id":173810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07535"} 
[2026-09-06 11:05:52] local.INFO: GPS Element Parsed {"raw_longitude":759468992,"raw_latitude":110263904,"longitude_deg":75.9468992,"latitude_deg":11.0263904,"altitude":43,"angle":317,"satellites":48,"speed":55,"hex_longitude":"2d4493c0","hex_latitude":"06927e60","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900246272001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400576709046304768,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4945163525311731712,"note":"Value kept but may cause issues"} 
[2026-09-06 11:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788672841000,"timestamp_ms":1788672841000,"timestamp_seconds":1788672841,"priority":1,"record_length":96,"hex_timestamp":"000001a075359528"} 
[2026-09-06 11:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-06 11:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:05: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-09-06 11:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900246272001,"66":27767,"142":206,"86":48640,"24":55,"16":400576709046304768,"45":4945163525311731712},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-09-06 11:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900246272001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:05:52] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-06 11:05:52] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-06 11:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400576709046304768,"km_value":400576709046304.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4945163525311731712,"description":"Unknown IO ID 45"} 
[2026-09-06 11:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900246272001,"power":27767,"unknown_142":206,"unknown_86":48640,"ignition":55,"odometer":null,"unknown_45":4945163525311731712}} 
[2026-09-06 11:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":173810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:05:53] local.INFO: GPS data processed {"connection_id":173810,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:05:53] local.INFO: Acknowledgment sent {"connection_id":173810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:06:09] local.INFO: TCP Data received {"connection_id":172652,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:06:09] local.INFO: Processing buffer {"connection_id":172652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:06:09] local.INFO: IMEI packet received {"connection_id":172652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":172652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:06:14] local.INFO: TCP Data received {"connection_id":172652,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:06:14] local.INFO: Processing buffer {"connection_id":172652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:06:14] local.INFO: IMEI packet received {"connection_id":172652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":172652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:06:15] local.INFO: TCP Data received {"connection_id":172652,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753487a0012d196840071fee38003a01172b..."} 
[2026-09-06 11:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753487a0012d196840071fee38003a01172b..."} 
[2026-09-06 11:06:15] local.INFO: Processing buffer {"connection_id":172652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753487a0012d196840071fee38003a01172b..."} 
[2026-09-06 11:06:15] local.INFO: Packet analysis {"connection_id":172652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07534"} 
[2026-09-06 11:06:15] local.INFO: Extracted packet for processing {"connection_id":172652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07534"} 
[2026-09-06 11:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900224256001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788672772000,"timestamp_ms":1788672772000,"timestamp_seconds":1788672772,"priority":1,"record_length":96,"hex_timestamp":"000001a0753487a0"} 
[2026-09-06 11:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 11:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:15] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:15] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2409037824,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184208433357,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3996647482,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-06 11:06:15] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397048,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:15] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:15] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,143,160,227,45,64,238,58,10,66,145,44,63,1,240,69,117,31,4,113,205,155,104,56,43,239,49,2,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-06 11:06:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179647394037628928,"timestamp_seconds":4179647394037629.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900224256001,"66":12613,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900224256001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:06:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900224256001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":172652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:06:15] local.INFO: GPS data processed {"connection_id":172652,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:06:15] local.INFO: Acknowledgment sent {"connection_id":172652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:06:19] local.INFO: TCP Data received {"connection_id":172430,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e01000001a0753737200100000000000000000000000000..."} 
[2026-09-06 11:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172430,"packet_length":93,"packet_hex":"00000000000000518e01000001a0753737200100000000000000000000000000..."} 
[2026-09-06 11:06:19] local.INFO: Processing buffer {"connection_id":172430,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0753737200100000000000000000000000000..."} 
[2026-09-06 11:06:19] local.INFO: Packet analysis {"connection_id":172430,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a07537"} 
[2026-09-06 11:06:19] local.INFO: Extracted packet for processing {"connection_id":172430,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a07537"} 
[2026-09-06 11:06:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 11: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":93,"current_offset":40} 
[2026-09-06 11:06:19] 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-09-06 11:06:19] 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-09-06 11:06:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:06:19] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 11:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":172430,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-06 11:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 11:06:19] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 11:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":172430,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 11:06:19] local.ERROR: GPS data processing failed {"connection_id":172430,"error":"No valid data to process"} 
[2026-09-06 11:06:19] local.INFO: Acknowledgment sent {"connection_id":172430,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 11:06:25] local.INFO: TCP Data received {"connection_id":173810,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07536fc88012d434c400693b8d8002001432e..."} 
[2026-09-06 11:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07536fc88012d434c400693b8d8002001432e..."} 
[2026-09-06 11:06:25] local.INFO: Processing buffer {"connection_id":173810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07536fc88012d434c400693b8d8002001432e..."} 
[2026-09-06 11:06:25] local.INFO: Packet analysis {"connection_id":173810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07536"} 
[2026-09-06 11:06:25] local.INFO: Extracted packet for processing {"connection_id":173810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07536"} 
[2026-09-06 11:06:25] local.INFO: GPS Element Parsed {"raw_longitude":759385152,"raw_latitude":110344408,"longitude_deg":75.9385152,"latitude_deg":11.0344408,"altitude":32,"angle":323,"satellites":46,"speed":58,"hex_longitude":"2d434c40","hex_latitude":"0693b8d8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900269056001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400582485777317888,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4855865588969953280,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06: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-09-06 11:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788672933000,"timestamp_ms":1788672933000,"timestamp_seconds":1788672933,"priority":1,"record_length":96,"hex_timestamp":"000001a07536fc88"} 
[2026-09-06 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-09-06 11:06: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-09-06 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 11:06:25] 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-09-06 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-09-06 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-09-06 11:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:06: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-09-06 11:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900269056001,"66":27930,"212":206,"86":48640,"24":58,"16":400582485777317888,"45":4855865588969953280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-09-06 11:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900269056001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:06:25] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-06 11:06:25] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-06 11:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400582485777317888,"km_value":400582485777317.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4855865588969953280,"description":"Unknown IO ID 45"} 
[2026-09-06 11:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900269056001,"power":27930,"unknown_212":206,"unknown_86":48640,"ignition":58,"odometer":null,"unknown_45":4855865588969953280}} 
[2026-09-06 11:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":173810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:06:25] local.INFO: GPS data processed {"connection_id":173810,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:06:25] local.INFO: Acknowledgment sent {"connection_id":173810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:06:46] local.INFO: TCP Data received {"connection_id":172652,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07534d9a8012d196840071fee38003a01172b..."} 
[2026-09-06 11:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07534d9a8012d196840071fee38003a01172b..."} 
[2026-09-06 11:06:46] local.INFO: Processing buffer {"connection_id":172652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07534d9a8012d196840071fee38003a01172b..."} 
[2026-09-06 11:06:46] local.INFO: Packet analysis {"connection_id":172652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07534"} 
[2026-09-06 11:06:46] local.INFO: Extracted packet for processing {"connection_id":172652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07534"} 
[2026-09-06 11:06:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900229632001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788672793000,"timestamp_ms":1788672793000,"timestamp_seconds":1788672793,"priority":1,"record_length":96,"hex_timestamp":"000001a07534d9a8"} 
[2026-09-06 11:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:06:46] 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-09-06 11:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-06 11:06:46] 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-09-06 11:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900229632001,"66":12613,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900229632001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:06:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900229632001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":172652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:06:46] local.INFO: GPS data processed {"connection_id":172652,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:06:46] local.INFO: Acknowledgment sent {"connection_id":172652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:06:48] local.INFO: TCP Data received {"connection_id":175124,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:06:48] local.INFO: Processing buffer {"connection_id":175124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:06:48] local.INFO: IMEI packet received {"connection_id":175124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":175124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:06:49] local.INFO: TCP Data received {"connection_id":175124,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:06:49] local.INFO: Processing buffer {"connection_id":175124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:06:49] local.INFO: IMEI packet received {"connection_id":175124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":175124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:06:49] local.INFO: TCP Data received {"connection_id":172430,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e01000001a075373ef0012d7d408005d0b538000f00b007..."} 
[2026-09-06 11:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172430,"packet_length":93,"packet_hex":"00000000000000518e01000001a075373ef0012d7d408005d0b538000f00b007..."} 
[2026-09-06 11:06:49] local.INFO: Processing buffer {"connection_id":172430,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a075373ef0012d7d408005d0b538000f00b007..."} 
[2026-09-06 11:06:49] local.INFO: Packet analysis {"connection_id":172430,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a07537"} 
[2026-09-06 11:06:49] local.INFO: Extracted packet for processing {"connection_id":172430,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a07537"} 
[2026-09-06 11:06:49] local.INFO: GPS Element Parsed {"raw_longitude":763183232,"raw_latitude":97563960,"longitude_deg":76.3183232,"latitude_deg":9.756396,"altitude":15,"angle":176,"satellites":7,"speed":44,"hex_longitude":"2d7d4080","hex_latitude":"05d0b538","is_valid_coordinates":true} 
[2026-09-06 11:06:49] 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":93,"current_offset":40} 
[2026-09-06 11:06:49] 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-09-06 11:06:49] 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-09-06 11:06:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:06:49] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 11:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172430,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-06 11:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 11:06:49] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 11:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":172430,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 11:06:49] local.ERROR: GPS data processing failed {"connection_id":172430,"error":"No valid data to process"} 
[2026-09-06 11:06:49] local.INFO: Acknowledgment sent {"connection_id":172430,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 11:06:53] local.INFO: TCP Data received {"connection_id":175124,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:06:53] local.INFO: Processing buffer {"connection_id":175124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:06:53] local.INFO: IMEI packet received {"connection_id":175124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":175124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:06:53] local.INFO: TCP Data received {"connection_id":175124,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0753713f8012d4337c00693d560001e01452e..."} 
[2026-09-06 11:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753713f8012d4337c00693d560001e01452e..."} 
[2026-09-06 11:06:53] local.INFO: Processing buffer {"connection_id":175124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753713f8012d4337c00693d560001e01452e..."} 
[2026-09-06 11:06:53] local.INFO: Packet analysis {"connection_id":175124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07537"} 
[2026-09-06 11:06:53] local.INFO: Extracted packet for processing {"connection_id":175124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07537"} 
[2026-09-06 11:06:53] local.INFO: GPS Element Parsed {"raw_longitude":759379904,"raw_latitude":110351712,"longitude_deg":75.9379904,"latitude_deg":11.0351712,"altitude":30,"angle":325,"satellites":46,"speed":59,"hex_longitude":"2d4337c0","hex_latitude":"0693d560","is_valid_coordinates":true} 
[2026-09-06 11:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900270848001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400582919569014784,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4849321295763527680,"note":"Value kept but may cause issues"} 
[2026-09-06 11:06: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-09-06 11:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788672939000,"timestamp_ms":1788672939000,"timestamp_seconds":1788672939,"priority":1,"record_length":96,"hex_timestamp":"000001a0753713f8"} 
[2026-09-06 11:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:06: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-09-06 11:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-06 11:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:06: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-09-06 11:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900270848001,"66":28017,"212":206,"86":48640,"24":59,"16":400582919569014784,"45":4849321295763527680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-09-06 11:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900270848001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:06:54] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-06 11:06:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-06 11:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400582919569014784,"km_value":400582919569014.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4849321295763527680,"description":"Unknown IO ID 45"} 
[2026-09-06 11:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900270848001,"power":28017,"unknown_212":206,"unknown_86":48640,"ignition":59,"odometer":null,"unknown_45":4849321295763527680}} 
[2026-09-06 11:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":175124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:06:54] local.INFO: GPS data processed {"connection_id":175124,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:06:54] local.INFO: Acknowledgment sent {"connection_id":175124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:07:09] local.INFO: TCP Data received {"connection_id":173811,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:07:09] local.INFO: Processing buffer {"connection_id":173811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:07:09] local.INFO: IMEI packet received {"connection_id":173811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":173811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:07:14] local.INFO: TCP Data received {"connection_id":173811,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:07:14] local.INFO: Processing buffer {"connection_id":173811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:07:14] local.INFO: IMEI packet received {"connection_id":173811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":173811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:07:15] local.INFO: TCP Data received {"connection_id":173811,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075352bb0012d196840071fee38003a01172c..."} 
[2026-09-06 11:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075352bb0012d196840071fee38003a01172c..."} 
[2026-09-06 11:07:15] local.INFO: Processing buffer {"connection_id":173811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075352bb0012d196840071fee38003a01172c..."} 
[2026-09-06 11:07:15] local.INFO: Packet analysis {"connection_id":173811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07535"} 
[2026-09-06 11:07:15] local.INFO: Extracted packet for processing {"connection_id":173811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07535"} 
[2026-09-06 11:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900235008001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788672814000,"timestamp_ms":1788672814000,"timestamp_seconds":1788672814,"priority":1,"record_length":96,"hex_timestamp":"000001a075352bb0"} 
[2026-09-06 11:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-06 11:07:15] 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-09-06 11:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900235008001,"66":12558,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900235008001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:07:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:07:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900235008001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":173811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:07:15] local.INFO: GPS data processed {"connection_id":173811,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:07:15] local.INFO: Acknowledgment sent {"connection_id":173811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:07:20] local.INFO: TCP Data received {"connection_id":172430,"ip":"42.109.136.2","data_length":483,"data_hex":"00000000000001d78e06000001a075387388012d7cfdc005d08a90000101100b..."} 
[2026-09-06 11:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172430,"packet_length":483,"packet_hex":"00000000000001d78e06000001a075387388012d7cfdc005d08a90000101100b..."} 
[2026-09-06 11:07:20] local.INFO: Processing buffer {"connection_id":172430,"buffer_length":483,"buffer_hex":"00000000000001d78e06000001a075387388012d7cfdc005d08a90000101100b..."} 
[2026-09-06 11:07:20] local.INFO: Packet analysis {"connection_id":172430,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e06000001a07538"} 
[2026-09-06 11:07:20] local.INFO: Extracted packet for processing {"connection_id":172430,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e06000001a07538"} 
[2026-09-06 11:07:20] local.INFO: GPS Element Parsed {"raw_longitude":763166144,"raw_latitude":97553040,"longitude_deg":76.3166144,"latitude_deg":9.755304,"altitude":1,"angle":272,"satellites":11,"speed":13,"hex_longitude":"2d7cfdc0","hex_latitude":"05d08a90","is_valid_coordinates":true} 
[2026-09-06 11:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-09-06 11:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900294656001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128886041498091520,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007480754691246080,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788673029000,"timestamp_ms":1788673029000,"timestamp_seconds":1788673029,"priority":1,"record_length":96,"hex_timestamp":"000001a075387388"} 
[2026-09-06 11:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:07:20] 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-09-06 11:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":483,"current_offset":136} 
[2026-09-06 11:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:07:20] 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-09-06 11:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:07:20] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172430,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-09-06 11:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:07:20] 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-09-06 11:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900294656001,"66":13656,"198":206,"85":15104,"24":13,"16":128886041498091520,"45":9007480754691246080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 11:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900294656001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:07:20] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 11:07:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128886041498091520,"km_value":128886041498091.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007480754691246080,"description":"Unknown IO ID 45"} 
[2026-09-06 11:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900294656001,"power":13656,"unknown_198":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9007480754691246080}} 
[2026-09-06 11:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":172430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:07:20] local.INFO: GPS data processed {"connection_id":172430,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:07:20] local.INFO: Acknowledgment sent {"connection_id":172430,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:07:26] local.INFO: TCP Data received {"connection_id":175124,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075372780012d4329000693eef8001d01522d..."} 
[2026-09-06 11:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075372780012d4329000693eef8001d01522d..."} 
[2026-09-06 11:07:26] local.INFO: Processing buffer {"connection_id":175124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075372780012d4329000693eef8001d01522d..."} 
[2026-09-06 11:07:26] local.INFO: Packet analysis {"connection_id":175124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07537"} 
[2026-09-06 11:07:26] local.INFO: Extracted packet for processing {"connection_id":175124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07537"} 
[2026-09-06 11:07:26] local.INFO: GPS Element Parsed {"raw_longitude":759376128,"raw_latitude":110358264,"longitude_deg":75.9376128,"latitude_deg":11.0358264,"altitude":29,"angle":338,"satellites":45,"speed":60,"hex_longitude":"2d432900","hex_latitude":"0693eef8","is_valid_coordinates":true} 
[2026-09-06 11:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900272384001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400583284641234944,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4843551058742829056,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:26] 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-09-06 11:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788672944000,"timestamp_ms":1788672944000,"timestamp_seconds":1788672944,"priority":1,"record_length":96,"hex_timestamp":"000001a075372780"} 
[2026-09-06 11:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:07: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-09-06 11:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 11:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:07: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-09-06 11:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900272384001,"66":27995,"197":206,"86":48640,"24":60,"16":400583284641234944,"45":4843551058742829056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-09-06 11:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900272384001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:07:26] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-06 11:07:26] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-06 11:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400583284641234944,"km_value":400583284641234.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4843551058742829056,"description":"Unknown IO ID 45"} 
[2026-09-06 11:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900272384001,"power":27995,"unknown_197":206,"unknown_86":48640,"ignition":60,"odometer":null,"unknown_45":4843551058742829056}} 
[2026-09-06 11:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":175124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:07:26] local.INFO: GPS data processed {"connection_id":175124,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:07:26] local.INFO: Acknowledgment sent {"connection_id":175124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:07:46] local.INFO: TCP Data received {"connection_id":173811,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075357db8012d196840071fee38003a01172d..."} 
[2026-09-06 11:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075357db8012d196840071fee38003a01172d..."} 
[2026-09-06 11:07:46] local.INFO: Processing buffer {"connection_id":173811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075357db8012d196840071fee38003a01172d..."} 
[2026-09-06 11:07:46] local.INFO: Packet analysis {"connection_id":173811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07535"} 
[2026-09-06 11:07:46] local.INFO: Extracted packet for processing {"connection_id":173811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07535"} 
[2026-09-06 11:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900240384001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788672835000,"timestamp_ms":1788672835000,"timestamp_seconds":1788672835,"priority":1,"record_length":96,"hex_timestamp":"000001a075357db8"} 
[2026-09-06 11:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:07:46] 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-09-06 11:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-06 11:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:46] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:46] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2409037824,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331252280,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3996647482,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-06 11:07:46] local.WARNING: Large IO value detected {"io_id":145,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:46] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748920,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:46] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:46] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,143,160,217,45,64,238,58,43,10,66,135,53,1,240,4,227,117,31,113,205,145,104,56,44,239,49,2,7,120,74,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-06 11:07:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179647406922530816,"timestamp_seconds":4179647406922531.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900240384001,"66":12558,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900240384001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:07:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900240384001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":173811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:07:46] local.INFO: GPS data processed {"connection_id":173811,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:07:46] local.INFO: Acknowledgment sent {"connection_id":173811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:07:51] local.INFO: TCP Data received {"connection_id":172430,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e01000001a075388710012d7cf58005d08bd80001011e0b..."} 
[2026-09-06 11:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172430,"packet_length":93,"packet_hex":"00000000000000518e01000001a075388710012d7cf58005d08bd80001011e0b..."} 
[2026-09-06 11:07:51] local.INFO: Processing buffer {"connection_id":172430,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a075388710012d7cf58005d08bd80001011e0b..."} 
[2026-09-06 11:07:51] local.INFO: Packet analysis {"connection_id":172430,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a07538"} 
[2026-09-06 11:07:51] local.INFO: Extracted packet for processing {"connection_id":172430,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a07538"} 
[2026-09-06 11:07:51] local.INFO: GPS Element Parsed {"raw_longitude":763164032,"raw_latitude":97553368,"longitude_deg":76.3164032,"latitude_deg":9.7553368,"altitude":1,"angle":286,"satellites":11,"speed":16,"hex_longitude":"2d7cf580","hex_latitude":"05d08bd8","is_valid_coordinates":true} 
[2026-09-06 11: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":93,"current_offset":40} 
[2026-09-06 11:07:51] 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-09-06 11:07:51] 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-09-06 11:07:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:07:51] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 11:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172430,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-06 11:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 11:07:51] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 11:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":172430,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 11:07:51] local.ERROR: GPS data processing failed {"connection_id":172430,"error":"No valid data to process"} 
[2026-09-06 11:07:51] local.INFO: Acknowledgment sent {"connection_id":172430,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 11:07:53] local.INFO: TCP Data received {"connection_id":172431,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:07:53] local.INFO: Processing buffer {"connection_id":172431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:07:53] local.INFO: IMEI packet received {"connection_id":172431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":172431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:07:57] local.INFO: TCP Data received {"connection_id":172431,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:07:57] local.INFO: Processing buffer {"connection_id":172431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:07:57] local.INFO: IMEI packet received {"connection_id":172431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":172431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:07:58] local.INFO: TCP Data received {"connection_id":172431,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075383120012d4390c006954d98001000082f..."} 
[2026-09-06 11:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075383120012d4390c006954d98001000082f..."} 
[2026-09-06 11:07:58] local.INFO: Processing buffer {"connection_id":172431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075383120012d4390c006954d98001000082f..."} 
[2026-09-06 11:07:58] local.INFO: Packet analysis {"connection_id":172431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07538"} 
[2026-09-06 11:07:58] local.INFO: Extracted packet for processing {"connection_id":172431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07538"} 
[2026-09-06 11:07:58] local.INFO: GPS Element Parsed {"raw_longitude":759402688,"raw_latitude":110448024,"longitude_deg":75.9402688,"latitude_deg":11.0448024,"altitude":16,"angle":8,"satellites":47,"speed":47,"hex_longitude":"2d4390c0","hex_latitude":"06954d98","is_valid_coordinates":true} 
[2026-09-06 11:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900289024001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400587888846176256,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4865928319413694464,"note":"Value kept but may cause issues"} 
[2026-09-06 11:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788673012000,"timestamp_ms":1788673012000,"timestamp_seconds":1788673012,"priority":1,"record_length":96,"hex_timestamp":"000001a075383120"} 
[2026-09-06 11:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 11:07: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-09-06 11:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:07: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-09-06 11:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900289024001,"66":27865,"196":206,"86":48640,"24":47,"16":400587888846176256,"45":4865928319413694464},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,86,24,16,45]} 
[2026-09-06 11:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900289024001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:07:58] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-06 11:07:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-06 11:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400587888846176256,"km_value":400587888846176.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4865928319413694464,"description":"Unknown IO ID 45"} 
[2026-09-06 11:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900289024001,"power":27865,"unknown_196":206,"unknown_86":48640,"ignition":47,"odometer":null,"unknown_45":4865928319413694464}} 
[2026-09-06 11:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":172431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:07:58] local.INFO: GPS data processed {"connection_id":172431,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:07:58] local.INFO: Acknowledgment sent {"connection_id":172431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:08:09] local.INFO: TCP Data received {"connection_id":175125,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:08:09] local.INFO: Processing buffer {"connection_id":175125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:08:09] local.INFO: IMEI packet received {"connection_id":175125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":175125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:08:14] local.INFO: TCP Data received {"connection_id":175125,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:08:14] local.INFO: Processing buffer {"connection_id":175125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:08:14] local.INFO: IMEI packet received {"connection_id":175125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":175125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:08:15] local.INFO: TCP Data received {"connection_id":175125,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07535cfc0012d196840071fee38003a01172d..."} 
[2026-09-06 11:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07535cfc0012d196840071fee38003a01172d..."} 
[2026-09-06 11:08:15] local.INFO: Processing buffer {"connection_id":175125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07535cfc0012d196840071fee38003a01172d..."} 
[2026-09-06 11:08:15] local.INFO: Packet analysis {"connection_id":175125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07535"} 
[2026-09-06 11:08:15] local.INFO: Extracted packet for processing {"connection_id":175125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07535"} 
[2026-09-06 11:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900245760001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788672856000,"timestamp_ms":1788672856000,"timestamp_seconds":1788672856,"priority":1,"record_length":96,"hex_timestamp":"000001a07535cfc0"} 
[2026-09-06 11:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-06 11:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:15] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:15] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2409037824,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331252280,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:15] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3996647482,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-06 11:08:15] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:15] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:15] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:15] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,143,160,43,45,64,238,58,44,10,66,217,135,1,240,69,227,117,31,4,113,205,104,56,239,49,2,7,120,74,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-06 11:08:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179647411217498112,"timestamp_seconds":4179647411217498.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900245760001,"66":12558,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900245760001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:08:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:08:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900245760001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":175125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:08:15] local.INFO: GPS data processed {"connection_id":175125,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:08:15] local.INFO: Acknowledgment sent {"connection_id":175125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:08:22] local.INFO: TCP Data received {"connection_id":172430,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e01000001a0753892c8012d7cf08005d08dc00002012c0b..."} 
[2026-09-06 11:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172430,"packet_length":93,"packet_hex":"00000000000000518e01000001a0753892c8012d7cf08005d08dc00002012c0b..."} 
[2026-09-06 11:08:22] local.INFO: Processing buffer {"connection_id":172430,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0753892c8012d7cf08005d08dc00002012c0b..."} 
[2026-09-06 11:08:22] local.INFO: Packet analysis {"connection_id":172430,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a07538"} 
[2026-09-06 11:08:22] local.INFO: Extracted packet for processing {"connection_id":172430,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a07538"} 
[2026-09-06 11:08:22] local.INFO: GPS Element Parsed {"raw_longitude":763162752,"raw_latitude":97553856,"longitude_deg":76.3162752,"latitude_deg":9.7553856,"altitude":2,"angle":300,"satellites":11,"speed":16,"hex_longitude":"2d7cf080","hex_latitude":"05d08dc0","is_valid_coordinates":true} 
[2026-09-06 11: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":93,"current_offset":40} 
[2026-09-06 11:08:22] 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-09-06 11:08:22] 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-09-06 11:08:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:08:22] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 11:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172430,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-06 11:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 11:08:22] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 11:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":172430,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 11:08:22] local.ERROR: GPS data processing failed {"connection_id":172430,"error":"No valid data to process"} 
[2026-09-06 11:08:22] local.INFO: Acknowledgment sent {"connection_id":172430,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 11:08:30] local.INFO: TCP Data received {"connection_id":172431,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0753844a8012d439200069564f00011016630..."} 
[2026-09-06 11:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753844a8012d439200069564f00011016630..."} 
[2026-09-06 11:08:30] local.INFO: Processing buffer {"connection_id":172431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753844a8012d439200069564f00011016630..."} 
[2026-09-06 11:08:30] local.INFO: Packet analysis {"connection_id":172431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07538"} 
[2026-09-06 11:08:30] local.INFO: Extracted packet for processing {"connection_id":172431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07538"} 
[2026-09-06 11:08:30] local.INFO: GPS Element Parsed {"raw_longitude":759403008,"raw_latitude":110454000,"longitude_deg":75.9403008,"latitude_deg":11.0454,"altitude":17,"angle":358,"satellites":48,"speed":47,"hex_longitude":"2d439200","hex_latitude":"069564f0","is_valid_coordinates":true} 
[2026-09-06 11:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900291072001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400588176608985088,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4868602331694733312,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788673017000,"timestamp_ms":1788673017000,"timestamp_seconds":1788673017,"priority":1,"record_length":96,"hex_timestamp":"000001a0753844a8"} 
[2026-09-06 11:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 11:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:08: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-09-06 11:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900291072001,"66":27767,"211":206,"86":48640,"24":47,"16":400588176608985088,"45":4868602331694733312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,86,24,16,45]} 
[2026-09-06 11:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900291072001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:08:30] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-06 11:08:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-06 11:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400588176608985088,"km_value":400588176608985.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4868602331694733312,"description":"Unknown IO ID 45"} 
[2026-09-06 11:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900291072001,"power":27767,"unknown_211":206,"unknown_86":48640,"ignition":47,"odometer":null,"unknown_45":4868602331694733312}} 
[2026-09-06 11:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":172431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:08:30] local.INFO: GPS data processed {"connection_id":172431,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:08:30] local.INFO: Acknowledgment sent {"connection_id":172431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:08:46] local.INFO: TCP Data received {"connection_id":175125,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753621c8012d196840071fee38003a01172e..."} 
[2026-09-06 11:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753621c8012d196840071fee38003a01172e..."} 
[2026-09-06 11:08:46] local.INFO: Processing buffer {"connection_id":175125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753621c8012d196840071fee38003a01172e..."} 
[2026-09-06 11:08:46] local.INFO: Packet analysis {"connection_id":175125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07536"} 
[2026-09-06 11:08:46] local.INFO: Extracted packet for processing {"connection_id":175125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07536"} 
[2026-09-06 11:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900251136001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788672877000,"timestamp_ms":1788672877000,"timestamp_seconds":1788672877,"priority":1,"record_length":96,"hex_timestamp":"000001a0753621c8"} 
[2026-09-06 11:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:08:46] 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-09-06 11: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-06 11:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:46] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:46] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2409037824,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331252280,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3996647482,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-06 11:08:46] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:46] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:46] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,143,160,125,45,64,238,58,10,66,43,44,217,1,240,69,227,117,31,4,113,205,53,104,56,41,239,49,2,7,120,74,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-06 11:08:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179647411217498112,"timestamp_seconds":4179647411217498.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900251136001,"66":12580,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900251136001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:08:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:08:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900251136001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":175125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:08:46] local.INFO: GPS data processed {"connection_id":175125,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:08:46] local.INFO: Acknowledgment sent {"connection_id":175125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:08:48] local.INFO: TCP Data received {"connection_id":173812,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:08:48] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:08:48] local.INFO: IMEI packet received {"connection_id":173812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":173812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:08:53] local.INFO: TCP Data received {"connection_id":173812,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:08:53] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:08:53] local.INFO: IMEI packet received {"connection_id":173812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":173812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:08:53] local.INFO: TCP Data received {"connection_id":172430,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e01000001a07538e0e8012d7ce9c005d090200000011c0b..."} 
[2026-09-06 11:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172430,"packet_length":93,"packet_hex":"00000000000000518e01000001a07538e0e8012d7ce9c005d090200000011c0b..."} 
[2026-09-06 11:08:53] local.INFO: Processing buffer {"connection_id":172430,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a07538e0e8012d7ce9c005d090200000011c0b..."} 
[2026-09-06 11:08:53] local.INFO: Packet analysis {"connection_id":172430,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a07538"} 
[2026-09-06 11:08:53] local.INFO: Extracted packet for processing {"connection_id":172430,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a07538"} 
[2026-09-06 11:08:53] local.INFO: GPS Element Parsed {"raw_longitude":763161024,"raw_latitude":97554464,"longitude_deg":76.3161024,"latitude_deg":9.7554464,"altitude":0,"angle":284,"satellites":11,"speed":6,"hex_longitude":"2d7ce9c0","hex_latitude":"05d09020","is_valid_coordinates":true} 
[2026-09-06 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":93,"current_offset":40} 
[2026-09-06 11:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:08:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:08:53] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 11:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172430,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-06 11:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 11:08:53] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 11:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":172430,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 11:08:53] local.ERROR: GPS data processing failed {"connection_id":172430,"error":"No valid data to process"} 
[2026-09-06 11:08:53] local.INFO: Acknowledgment sent {"connection_id":172430,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 11:08:53] local.INFO: TCP Data received {"connection_id":173812,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075386000012d438dc0069584980014015a2e..."} 
[2026-09-06 11:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075386000012d438dc0069584980014015a2e..."} 
[2026-09-06 11:08:53] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075386000012d438dc0069584980014015a2e..."} 
[2026-09-06 11:08:53] local.INFO: Packet analysis {"connection_id":173812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07538"} 
[2026-09-06 11:08:53] local.INFO: Extracted packet for processing {"connection_id":173812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07538"} 
[2026-09-06 11:08:53] local.INFO: GPS Element Parsed {"raw_longitude":759401920,"raw_latitude":110462104,"longitude_deg":75.940192,"latitude_deg":11.0462104,"altitude":20,"angle":346,"satellites":46,"speed":45,"hex_longitude":"2d438dc0","hex_latitude":"06958498","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900292352001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400588576040943616,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4868954175417151488,"note":"Value kept but may cause issues"} 
[2026-09-06 11:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788673024000,"timestamp_ms":1788673024000,"timestamp_seconds":1788673024,"priority":1,"record_length":96,"hex_timestamp":"000001a075386000"} 
[2026-09-06 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-09-06 11:08: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-09-06 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 11:08: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-09-06 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-09-06 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-09-06 11:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:08: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-09-06 11:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900292352001,"66":27865,"211":206,"86":48640,"24":45,"16":400588576040943616,"45":4868954175417151488},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,86,24,16,45]} 
[2026-09-06 11:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900292352001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:08:53] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-06 11:08:53] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-09-06 11:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400588576040943616,"km_value":400588576040943.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4868954175417151488,"description":"Unknown IO ID 45"} 
[2026-09-06 11:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900292352001,"power":27865,"unknown_211":206,"unknown_86":48640,"ignition":45,"odometer":null,"unknown_45":4868954175417151488}} 
[2026-09-06 11:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":173812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:08:53] local.INFO: GPS data processed {"connection_id":173812,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:08:53] local.INFO: Acknowledgment sent {"connection_id":173812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:09:09] local.INFO: TCP Data received {"connection_id":172653,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:09:09] local.INFO: Processing buffer {"connection_id":172653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:09:09] local.INFO: IMEI packet received {"connection_id":172653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":172653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:09:14] local.INFO: TCP Data received {"connection_id":172653,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:09:14] local.INFO: Processing buffer {"connection_id":172653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:09:14] local.INFO: IMEI packet received {"connection_id":172653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":172653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:09:15] local.INFO: TCP Data received {"connection_id":172653,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753673d0012d196840071fee38003a01172c..."} 
[2026-09-06 11:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753673d0012d196840071fee38003a01172c..."} 
[2026-09-06 11:09:15] local.INFO: Processing buffer {"connection_id":172653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753673d0012d196840071fee38003a01172c..."} 
[2026-09-06 11:09:15] local.INFO: Packet analysis {"connection_id":172653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07536"} 
[2026-09-06 11:09:15] local.INFO: Extracted packet for processing {"connection_id":172653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07536"} 
[2026-09-06 11:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900256512001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788672898000,"timestamp_ms":1788672898000,"timestamp_seconds":1788672898,"priority":1,"record_length":96,"hex_timestamp":"000001a0753673d0"} 
[2026-09-06 11:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-06 11:09:15] 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-09-06 11:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900256512001,"66":12548,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900256512001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:09:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900256512001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":172653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:09:15] local.INFO: GPS data processed {"connection_id":172653,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:09:15] local.INFO: Acknowledgment sent {"connection_id":172653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:09:25] local.INFO: TCP Data received {"connection_id":173812,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075399c68012d42dc400696ee18001b015f31..."} 
[2026-09-06 11:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075399c68012d42dc400696ee18001b015f31..."} 
[2026-09-06 11:09:25] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075399c68012d42dc400696ee18001b015f31..."} 
[2026-09-06 11:09:25] local.INFO: Packet analysis {"connection_id":173812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07539"} 
[2026-09-06 11:09:25] local.INFO: Extracted packet for processing {"connection_id":173812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07539"} 
[2026-09-06 11:09:25] local.INFO: GPS Element Parsed {"raw_longitude":759356480,"raw_latitude":110554648,"longitude_deg":75.935648,"latitude_deg":11.0554648,"altitude":27,"angle":351,"satellites":49,"speed":43,"hex_longitude":"2d42dc40","hex_latitude":"0696ee18","is_valid_coordinates":true} 
[2026-09-06 11:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900312832001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400593639807385600,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4819696054516281344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09: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-09-06 11:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788673105000,"timestamp_ms":1788673105000,"timestamp_seconds":1788673105,"priority":1,"record_length":96,"hex_timestamp":"000001a075399c68"} 
[2026-09-06 11:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:09: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-09-06 11:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 11:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:09: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-09-06 11:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900312832001,"66":27821,"28":206,"81":47616,"24":43,"16":400593639807385600,"45":4819696054516281344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-09-06 11:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900312832001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:09:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-06 11:09:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400593639807385600,"km_value":400593639807385.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4819696054516281344,"description":"Unknown IO ID 45"} 
[2026-09-06 11:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900312832001,"power":27821,"unknown_28":206,"unknown_81":47616,"ignition":43,"odometer":null,"unknown_45":4819696054516281344}} 
[2026-09-06 11:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":173812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:09:25] local.INFO: GPS data processed {"connection_id":173812,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:09:25] local.INFO: Acknowledgment sent {"connection_id":173812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:09:25] local.INFO: TCP Data received {"connection_id":172430,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e01000001a0753907f8012d7cddc005d09330000001280c..."} 
[2026-09-06 11:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172430,"packet_length":93,"packet_hex":"00000000000000518e01000001a0753907f8012d7cddc005d09330000001280c..."} 
[2026-09-06 11:09:25] local.INFO: Processing buffer {"connection_id":172430,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0753907f8012d7cddc005d09330000001280c..."} 
[2026-09-06 11:09:25] local.INFO: Packet analysis {"connection_id":172430,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a07539"} 
[2026-09-06 11:09:25] local.INFO: Extracted packet for processing {"connection_id":172430,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a07539"} 
[2026-09-06 11:09:25] local.INFO: GPS Element Parsed {"raw_longitude":763157952,"raw_latitude":97555248,"longitude_deg":76.3157952,"latitude_deg":9.7555248,"altitude":0,"angle":296,"satellites":12,"speed":12,"hex_longitude":"2d7cddc0","hex_latitude":"05d09330","is_valid_coordinates":true} 
[2026-09-06 11:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-06 11:09:25] 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-09-06 11:09:25] 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-09-06 11:09:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:09:25] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 11:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172430,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-06 11:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172430,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 11:09:25] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 11:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":172430,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 11:09:25] local.ERROR: GPS data processing failed {"connection_id":172430,"error":"No valid data to process"} 
[2026-09-06 11:09:25] local.INFO: Acknowledgment sent {"connection_id":172430,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 11:09:46] local.INFO: TCP Data received {"connection_id":172653,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07536c5d8012d196840071fee38003a01172f..."} 
[2026-09-06 11:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07536c5d8012d196840071fee38003a01172f..."} 
[2026-09-06 11:09:46] local.INFO: Processing buffer {"connection_id":172653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07536c5d8012d196840071fee38003a01172f..."} 
[2026-09-06 11:09:46] local.INFO: Packet analysis {"connection_id":172653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07536"} 
[2026-09-06 11:09:46] local.INFO: Extracted packet for processing {"connection_id":172653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07536"} 
[2026-09-06 11:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900261888001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788672919000,"timestamp_ms":1788672919000,"timestamp_seconds":1788672919,"priority":1,"record_length":96,"hex_timestamp":"000001a07536c5d8"} 
[2026-09-06 11:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:09:46] 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-09-06 11:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 11:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:46] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:46] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2409037824,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3996647482,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-06 11:09:46] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:46] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,143,160,33,45,64,238,58,46,10,66,207,125,1,240,14,227,117,31,4,113,205,217,104,56,43,239,49,2,7,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-06 11:09:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179647406922530816,"timestamp_seconds":4179647406922531.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900261888001,"66":12526,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900261888001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:09:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900261888001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":172653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:09:46] local.INFO: GPS data processed {"connection_id":172653,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:09:46] local.INFO: Acknowledgment sent {"connection_id":172653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:09:47] local.INFO: TCP Data received {"connection_id":172432,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:09:47] local.INFO: Processing buffer {"connection_id":172432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:09:47] local.INFO: IMEI packet received {"connection_id":172432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":172432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:09:48] local.INFO: TCP Data received {"connection_id":172432,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:09:48] local.INFO: Processing buffer {"connection_id":172432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:09:48] local.INFO: IMEI packet received {"connection_id":172432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":172432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:09:52] local.INFO: TCP Data received {"connection_id":172432,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:09:52] local.INFO: Processing buffer {"connection_id":172432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:09:52] local.INFO: IMEI packet received {"connection_id":172432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":172432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:09:53] local.INFO: TCP Data received {"connection_id":172434,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:09:53] local.INFO: Processing buffer {"connection_id":172434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:09:53] local.INFO: IMEI packet received {"connection_id":172434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":172434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:09:53] local.INFO: TCP Data received {"connection_id":172432,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0753a6788012d7c478005d09780000001100e..."} 
[2026-09-06 11:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753a6788012d7c478005d09780000001100e..."} 
[2026-09-06 11:09:53] local.INFO: Processing buffer {"connection_id":172432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753a6788012d7c478005d09780000001100e..."} 
[2026-09-06 11:09:53] local.INFO: Packet analysis {"connection_id":172432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753a"} 
[2026-09-06 11:09:53] local.INFO: Extracted packet for processing {"connection_id":172432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753a"} 
[2026-09-06 11:09:53] local.INFO: GPS Element Parsed {"raw_longitude":763119488,"raw_latitude":97556352,"longitude_deg":76.3119488,"latitude_deg":9.7556352,"altitude":0,"angle":272,"satellites":14,"speed":10,"hex_longitude":"2d7c4780","hex_latitude":"05d09780","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900322816001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128888335010627584,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963711395813746688,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788673157000,"timestamp_ms":1788673157000,"timestamp_seconds":1788673157,"priority":1,"record_length":96,"hex_timestamp":"000001a0753a6788"} 
[2026-09-06 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-09-06 11:09:53] 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-09-06 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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-06 11:09:53] 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-09-06 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-09-06 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-09-06 11:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:09:53] 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-09-06 11:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900322816001,"66":13472,"199":206,"85":15104,"24":10,"16":128888335010627584,"45":8963711395813746688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 11:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900322816001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:09:53] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 11:09:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128888335010627584,"km_value":128888335010627.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963711395813746688,"description":"Unknown IO ID 45"} 
[2026-09-06 11:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900322816001,"power":13472,"trip_odometer":0.206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8963711395813746688}} 
[2026-09-06 11:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":172432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:09:53] local.INFO: GPS data processed {"connection_id":172432,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:09:53] local.INFO: Acknowledgment sent {"connection_id":172432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:09:54] local.INFO: TCP Data received {"connection_id":172434,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:09:54] local.INFO: Processing buffer {"connection_id":172434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:09:54] local.INFO: IMEI packet received {"connection_id":172434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":172434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:09:57] local.INFO: TCP Data received {"connection_id":172434,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:09:57] local.INFO: Processing buffer {"connection_id":172434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:09:57] local.INFO: IMEI packet received {"connection_id":172434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":172434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:09:58] local.INFO: TCP Data received {"connection_id":172434,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07539bf90012d42d70006971300001e01622f..."} 
[2026-09-06 11:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07539bf90012d42d70006971300001e01622f..."} 
[2026-09-06 11:09:58] local.INFO: Processing buffer {"connection_id":172434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07539bf90012d42d70006971300001e01622f..."} 
[2026-09-06 11:09:58] local.INFO: Packet analysis {"connection_id":172434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07539"} 
[2026-09-06 11:09:58] local.INFO: Extracted packet for processing {"connection_id":172434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07539"} 
[2026-09-06 11:09:58] local.INFO: GPS Element Parsed {"raw_longitude":759355136,"raw_latitude":110564096,"longitude_deg":75.9355136,"latitude_deg":11.0564096,"altitude":30,"angle":354,"satellites":47,"speed":41,"hex_longitude":"2d42d700","hex_latitude":"06971300","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900314880001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400594103663853568,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4817796098425755648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:09: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-09-06 11:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788673114000,"timestamp_ms":1788673114000,"timestamp_seconds":1788673114,"priority":1,"record_length":96,"hex_timestamp":"000001a07539bf90"} 
[2026-09-06 11:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 11:09:58] 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-09-06 11: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-09-06 11:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:09: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-09-06 11:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900314880001,"66":27800,"28":206,"81":47616,"24":41,"16":400594103663853568,"45":4817796098425755648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-09-06 11:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900314880001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:09:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-06 11:09:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400594103663853568,"km_value":400594103663853.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4817796098425755648,"description":"Unknown IO ID 45"} 
[2026-09-06 11:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900314880001,"power":27800,"unknown_28":206,"unknown_81":47616,"ignition":41,"odometer":null,"unknown_45":4817796098425755648}} 
[2026-09-06 11:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":172434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:09:58] local.INFO: GPS data processed {"connection_id":172434,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:09:58] local.INFO: Acknowledgment sent {"connection_id":172434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:10:14] local.INFO: TCP Data received {"connection_id":175126,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:10:14] local.INFO: Processing buffer {"connection_id":175126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:10:14] local.INFO: IMEI packet received {"connection_id":175126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":175126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:10:19] local.INFO: TCP Data received {"connection_id":175126,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:10:19] local.INFO: Processing buffer {"connection_id":175126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:10:19] local.INFO: IMEI packet received {"connection_id":175126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":175126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:10:20] local.INFO: TCP Data received {"connection_id":175126,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753717e0012d196840071fee38003a01172f..."} 
[2026-09-06 11:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753717e0012d196840071fee38003a01172f..."} 
[2026-09-06 11:10:20] local.INFO: Processing buffer {"connection_id":175126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753717e0012d196840071fee38003a01172f..."} 
[2026-09-06 11:10:20] local.INFO: Packet analysis {"connection_id":175126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07537"} 
[2026-09-06 11:10:20] local.INFO: Extracted packet for processing {"connection_id":175126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07537"} 
[2026-09-06 11:10:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900267264001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788672940000,"timestamp_ms":1788672940000,"timestamp_seconds":1788672940,"priority":1,"record_length":96,"hex_timestamp":"000001a0753717e0"} 
[2026-09-06 11:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 11:10:20] 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-09-06 11:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900267264001,"66":12537,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900267264001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:10:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:10:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900267264001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":175126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:10:20] local.INFO: GPS data processed {"connection_id":175126,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:10:20] local.INFO: Acknowledgment sent {"connection_id":175126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:10:24] local.INFO: TCP Data received {"connection_id":172432,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0753aa608012d7c31c005d097e00000011d0e..."} 
[2026-09-06 11:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753aa608012d7c31c005d097e00000011d0e..."} 
[2026-09-06 11:10:24] local.INFO: Processing buffer {"connection_id":172432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753aa608012d7c31c005d097e00000011d0e..."} 
[2026-09-06 11:10:24] local.INFO: Packet analysis {"connection_id":172432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753a"} 
[2026-09-06 11:10:24] local.INFO: Extracted packet for processing {"connection_id":172432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753a"} 
[2026-09-06 11:10:24] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":97556448,"longitude_deg":76.311392,"latitude_deg":9.7556448,"altitude":0,"angle":285,"satellites":14,"speed":17,"hex_longitude":"2d7c31c0","hex_latitude":"05d097e0","is_valid_coordinates":true} 
[2026-09-06 11:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900328192001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128888601298599936,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955267146512302080,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788673173000,"timestamp_ms":1788673173000,"timestamp_seconds":1788673173,"priority":1,"record_length":96,"hex_timestamp":"000001a0753aa608"} 
[2026-09-06 11:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:10:24] 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-09-06 11:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 11:10:24] 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-09-06 11:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:10:24] 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-09-06 11:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900328192001,"66":12472,"199":206,"85":15104,"24":17,"16":128888601298599936,"45":8955267146512302080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 11:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900328192001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:10:24] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 11:10:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128888601298599936,"km_value":128888601298599.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955267146512302080,"description":"Unknown IO ID 45"} 
[2026-09-06 11:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900328192001,"power":12472,"trip_odometer":0.206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8955267146512302080}} 
[2026-09-06 11:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":172432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:10:24] local.INFO: GPS data processed {"connection_id":172432,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:10:24] local.INFO: Acknowledgment sent {"connection_id":172432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:10:24] local.INFO: TCP Data received {"connection_id":175126,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753769e8012d196840071fee38003a01172e..."} 
[2026-09-06 11:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753769e8012d196840071fee38003a01172e..."} 
[2026-09-06 11:10:24] local.INFO: Processing buffer {"connection_id":175126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753769e8012d196840071fee38003a01172e..."} 
[2026-09-06 11:10:24] local.INFO: Packet analysis {"connection_id":175126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07537"} 
[2026-09-06 11:10:24] local.INFO: Extracted packet for processing {"connection_id":175126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07537"} 
[2026-09-06 11:10:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900272640001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788672961000,"timestamp_ms":1788672961000,"timestamp_seconds":1788672961,"priority":1,"record_length":96,"hex_timestamp":"000001a0753769e8"} 
[2026-09-06 11:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-06 11:10:24] 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-09-06 11:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900272640001,"66":12548,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900272640001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:10:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:10:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900272640001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":175126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:10:25] local.INFO: GPS data processed {"connection_id":175126,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:10:25] local.INFO: Acknowledgment sent {"connection_id":175126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:10:30] local.INFO: TCP Data received {"connection_id":172434,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07539e2b8012d42d4c0069735b8002201642f..."} 
[2026-09-06 11:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07539e2b8012d42d4c0069735b8002201642f..."} 
[2026-09-06 11:10:30] local.INFO: Processing buffer {"connection_id":172434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07539e2b8012d42d4c0069735b8002201642f..."} 
[2026-09-06 11:10:30] local.INFO: Packet analysis {"connection_id":172434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07539"} 
[2026-09-06 11:10:30] local.INFO: Extracted packet for processing {"connection_id":172434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07539"} 
[2026-09-06 11:10:30] local.INFO: GPS Element Parsed {"raw_longitude":759354560,"raw_latitude":110572984,"longitude_deg":75.935456,"latitude_deg":11.0572984,"altitude":34,"angle":356,"satellites":47,"speed":38,"hex_longitude":"2d42d4c0","hex_latitude":"069735b8","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900317184001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400594537455550464,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4816318354800443392,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:30] 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-09-06 11:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788673123000,"timestamp_ms":1788673123000,"timestamp_seconds":1788673123,"priority":1,"record_length":96,"hex_timestamp":"000001a07539e2b8"} 
[2026-09-06 11:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 11:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:10: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-09-06 11:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900317184001,"66":27789,"28":206,"81":47616,"24":38,"16":400594537455550464,"45":4816318354800443392},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-09-06 11:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900317184001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:10:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-06 11:10:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400594537455550464,"km_value":400594537455550.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4816318354800443392,"description":"Unknown IO ID 45"} 
[2026-09-06 11:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900317184001,"power":27789,"unknown_28":206,"unknown_81":47616,"ignition":38,"odometer":null,"unknown_45":4816318354800443392}} 
[2026-09-06 11:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":172434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:10:30] local.INFO: GPS data processed {"connection_id":172434,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:10:30] local.INFO: Acknowledgment sent {"connection_id":172434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:10:49] local.INFO: TCP Data received {"connection_id":172654,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:10:49] local.INFO: Processing buffer {"connection_id":172654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:10:49] local.INFO: IMEI packet received {"connection_id":172654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":172654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:10:50] local.INFO: TCP Data received {"connection_id":172433,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:10:50] local.INFO: Processing buffer {"connection_id":172433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:10:50] local.INFO: IMEI packet received {"connection_id":172433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 11:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":172433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:10:53] local.INFO: TCP Data received {"connection_id":172654,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:10:53] local.INFO: Processing buffer {"connection_id":172654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:10:53] local.INFO: IMEI packet received {"connection_id":172654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":172654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:10:56] local.INFO: TCP Data received {"connection_id":172654,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:10:56] local.INFO: Processing buffer {"connection_id":172654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:10:56] local.INFO: IMEI packet received {"connection_id":172654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":172654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:10:56] local.INFO: TCP Data received {"connection_id":172432,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0753b9c20012d7bab0005d083700000010c0e..."} 
[2026-09-06 11:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753b9c20012d7bab0005d083700000010c0e..."} 
[2026-09-06 11:10:56] local.INFO: Processing buffer {"connection_id":172432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753b9c20012d7bab0005d083700000010c0e..."} 
[2026-09-06 11:10:56] local.INFO: Packet analysis {"connection_id":172432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:10:56] local.INFO: Extracted packet for processing {"connection_id":172432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763079424,"raw_latitude":97551216,"longitude_deg":76.3079424,"latitude_deg":9.7551216,"altitude":0,"angle":268,"satellites":14,"speed":27,"hex_longitude":"2d7bab00","hex_latitude":"05d08370","is_valid_coordinates":true} 
[2026-09-06 11:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900346880001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128890319285518336,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915579174794967040,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788673236000,"timestamp_ms":1788673236000,"timestamp_seconds":1788673236,"priority":1,"record_length":96,"hex_timestamp":"000001a0753b9c20"} 
[2026-09-06 11:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:10:56] 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-09-06 11:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-06 11:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:10:56] 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-09-06 11:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900346880001,"66":13852,"199":206,"85":15104,"24":27,"16":128890319285518336,"45":8915579174794967040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 11:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900346880001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:10:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 11:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128890319285518336,"km_value":128890319285518.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915579174794967040,"description":"Unknown IO ID 45"} 
[2026-09-06 11:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900346880001,"power":13852,"trip_odometer":0.206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8915579174794967040}} 
[2026-09-06 11:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":172432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:10:56] local.INFO: GPS data processed {"connection_id":172432,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:10:56] local.INFO: Acknowledgment sent {"connection_id":172432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:10:57] local.INFO: TCP Data received {"connection_id":172654,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0753b1f20012d421a8006980c08002601212d..."} 
[2026-09-06 11:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753b1f20012d421a8006980c08002601212d..."} 
[2026-09-06 11:10:57] local.INFO: Processing buffer {"connection_id":172654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753b1f20012d421a8006980c08002601212d..."} 
[2026-09-06 11:10:57] local.INFO: Packet analysis {"connection_id":172654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:10:57] local.INFO: Extracted packet for processing {"connection_id":172654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:10:57] local.INFO: GPS Element Parsed {"raw_longitude":759306880,"raw_latitude":110627848,"longitude_deg":75.930688,"latitude_deg":11.0627848,"altitude":38,"angle":289,"satellites":45,"speed":54,"hex_longitude":"2d421a80","hex_latitude":"06980c08","is_valid_coordinates":true} 
[2026-09-06 11:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900338432001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400598527480168448,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4773252683379189760,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:57] 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-09-06 11:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788673204000,"timestamp_ms":1788673204000,"timestamp_seconds":1788673204,"priority":1,"record_length":96,"hex_timestamp":"000001a0753b1f20"} 
[2026-09-06 11:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:10: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-09-06 11:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 11:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:10: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-09-06 11:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900338432001,"66":27800,"72":206,"81":47616,"24":54,"16":400598527480168448,"45":4773252683379189760},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,81,24,16,45]} 
[2026-09-06 11:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900338432001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:10:57] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-06 11:10:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400598527480168448,"km_value":400598527480168.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4773252683379189760,"description":"Unknown IO ID 45"} 
[2026-09-06 11:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900338432001,"power":27800,"unknown_72":206,"unknown_81":47616,"ignition":54,"odometer":null,"unknown_45":4773252683379189760}} 
[2026-09-06 11:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":172654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:10:57] local.INFO: GPS data processed {"connection_id":172654,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:10:57] local.INFO: Acknowledgment sent {"connection_id":172654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:10:59] local.INFO: TCP Data received {"connection_id":172654,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0753b3a78012d41f6c006981920002201232e..."} 
[2026-09-06 11:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753b3a78012d41f6c006981920002201232e..."} 
[2026-09-06 11:10:59] local.INFO: Processing buffer {"connection_id":172654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753b3a78012d41f6c006981920002201232e..."} 
[2026-09-06 11:10:59] local.INFO: Packet analysis {"connection_id":172654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:10:59] local.INFO: Extracted packet for processing {"connection_id":172654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:10:59] local.INFO: GPS Element Parsed {"raw_longitude":759297728,"raw_latitude":110631200,"longitude_deg":75.9297728,"latitude_deg":11.06312,"altitude":34,"angle":291,"satellites":46,"speed":54,"hex_longitude":"2d41f6c0","hex_latitude":"06981920","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900340224001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400598991336636416,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4763260321706805248,"note":"Value kept but may cause issues"} 
[2026-09-06 11:10:59] 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-09-06 11:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788673211000,"timestamp_ms":1788673211000,"timestamp_seconds":1788673211,"priority":1,"record_length":96,"hex_timestamp":"000001a0753b3a78"} 
[2026-09-06 11:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:10: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-09-06 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 11:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:10: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-09-06 11:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900340224001,"66":27832,"72":206,"81":47616,"24":54,"16":400598991336636416,"45":4763260321706805248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,81,24,16,45]} 
[2026-09-06 11:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900340224001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:10:59] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-06 11:10:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400598991336636416,"km_value":400598991336636.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4763260321706805248,"description":"Unknown IO ID 45"} 
[2026-09-06 11:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900340224001,"power":27832,"unknown_72":206,"unknown_81":47616,"ignition":54,"odometer":null,"unknown_45":4763260321706805248}} 
[2026-09-06 11:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":172654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:10:59] local.INFO: GPS data processed {"connection_id":172654,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:10:59] local.INFO: Acknowledgment sent {"connection_id":172654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:11:09] local.INFO: TCP Data received {"connection_id":172435,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:11:09] local.INFO: Processing buffer {"connection_id":172435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:11:09] local.INFO: IMEI packet received {"connection_id":172435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":172435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:11:12] local.INFO: TCP Data received {"connection_id":172435,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:11:12] local.INFO: Processing buffer {"connection_id":172435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:11:12] local.INFO: IMEI packet received {"connection_id":172435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":172435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:11:13] local.INFO: TCP Data received {"connection_id":172435,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753af040012d196840071fee38003a01172e..."} 
[2026-09-06 11:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753af040012d196840071fee38003a01172e..."} 
[2026-09-06 11:11:13] local.INFO: Processing buffer {"connection_id":172435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753af040012d196840071fee38003a01172e..."} 
[2026-09-06 11:11:13] local.INFO: Packet analysis {"connection_id":172435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753a"} 
[2026-09-06 11:11:13] local.INFO: Extracted packet for processing {"connection_id":172435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753a"} 
[2026-09-06 11:11:13] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900331776001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11: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-09-06 11:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788673192000,"timestamp_ms":1788673192000,"timestamp_seconds":1788673192,"priority":1,"record_length":96,"hex_timestamp":"000001a0753af040"} 
[2026-09-06 11:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 11:11:13] 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-09-06 11:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":172435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":172435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":172435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900331776001,"66":12385,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900331776001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:11:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:11:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900331776001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":172435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:11:13] local.INFO: GPS data processed {"connection_id":172435,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:11:13] local.INFO: Acknowledgment sent {"connection_id":172435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:11:27] local.INFO: TCP Data received {"connection_id":172432,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0753bcee8012d7b894005d08138000000fb0e..."} 
[2026-09-06 11:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753bcee8012d7b894005d08138000000fb0e..."} 
[2026-09-06 11:11:27] local.INFO: Processing buffer {"connection_id":172432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753bcee8012d7b894005d08138000000fb0e..."} 
[2026-09-06 11:11:27] local.INFO: Packet analysis {"connection_id":172432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:11:27] local.INFO: Extracted packet for processing {"connection_id":172432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":97550648,"longitude_deg":76.3070784,"latitude_deg":9.7550648,"altitude":0,"angle":251,"satellites":14,"speed":22,"hex_longitude":"2d7b8940","hex_latitude":"05d08138","is_valid_coordinates":true} 
[2026-09-06 11:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900348416001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128890735897346048,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911216312655769600,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788673249000,"timestamp_ms":1788673249000,"timestamp_seconds":1788673249,"priority":1,"record_length":96,"hex_timestamp":"000001a0753bcee8"} 
[2026-09-06 11:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:11:27] 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-09-06 11:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-06 11:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:11:27] 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-09-06 11:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900348416001,"66":13656,"199":206,"85":15104,"24":22,"16":128890735897346048,"45":8911216312655769600},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 11:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900348416001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:11:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 11:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128890735897346048,"km_value":128890735897346.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911216312655769600,"description":"Unknown IO ID 45"} 
[2026-09-06 11:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900348416001,"power":13656,"trip_odometer":0.206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8911216312655769600}} 
[2026-09-06 11:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":172432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:11:27] local.INFO: GPS data processed {"connection_id":172432,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:11:27] local.INFO: Acknowledgment sent {"connection_id":172432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:11:29] local.INFO: TCP Data received {"connection_id":172654,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0753b55d0012d41d44006982908001e012a2d..."} 
[2026-09-06 11:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753b55d0012d41d44006982908001e012a2d..."} 
[2026-09-06 11:11:29] local.INFO: Processing buffer {"connection_id":172654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753b55d0012d41d44006982908001e012a2d..."} 
[2026-09-06 11:11:29] local.INFO: Packet analysis {"connection_id":172654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:11:29] local.INFO: Extracted packet for processing {"connection_id":172654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:11:29] local.INFO: GPS Element Parsed {"raw_longitude":759288896,"raw_latitude":110635272,"longitude_deg":75.9288896,"latitude_deg":11.0635272,"altitude":30,"angle":298,"satellites":45,"speed":56,"hex_longitude":"2d41d440","hex_latitude":"06982908","is_valid_coordinates":true} 
[2026-09-06 11:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900342016001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400599459488071680,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4753197591290257408,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:29] 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-09-06 11:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788673218000,"timestamp_ms":1788673218000,"timestamp_seconds":1788673218,"priority":1,"record_length":96,"hex_timestamp":"000001a0753b55d0"} 
[2026-09-06 11:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:11: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-09-06 11:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-06 11:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:11: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-09-06 11:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900342016001,"66":27767,"72":206,"81":47616,"24":56,"16":400599459488071680,"45":4753197591290257408},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,81,24,16,45]} 
[2026-09-06 11:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900342016001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:11:29] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-06 11:11:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400599459488071680,"km_value":400599459488071.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4753197591290257408,"description":"Unknown IO ID 45"} 
[2026-09-06 11:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900342016001,"power":27767,"unknown_72":206,"unknown_81":47616,"ignition":56,"odometer":null,"unknown_45":4753197591290257408}} 
[2026-09-06 11:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":172654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:11:29] local.INFO: GPS data processed {"connection_id":172654,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:11:29] local.INFO: Acknowledgment sent {"connection_id":172654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:11:46] local.INFO: TCP Data received {"connection_id":172655,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:11:46] local.INFO: Processing buffer {"connection_id":172655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:11:46] local.INFO: IMEI packet received {"connection_id":172655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":172655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:11:47] local.INFO: TCP Data received {"connection_id":172435,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753b4248012d196840071fee38003a01172d..."} 
[2026-09-06 11:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753b4248012d196840071fee38003a01172d..."} 
[2026-09-06 11:11:47] local.INFO: Processing buffer {"connection_id":172435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753b4248012d196840071fee38003a01172d..."} 
[2026-09-06 11:11:47] local.INFO: Packet analysis {"connection_id":172435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:11:47] local.INFO: Extracted packet for processing {"connection_id":172435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533112,"longitude_deg":75.6639808,"latitude_deg":11.9533112,"altitude":58,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-09-06 11:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900337152001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172277212315648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870760960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788673213000,"timestamp_ms":1788673213000,"timestamp_seconds":1788673213,"priority":1,"record_length":96,"hex_timestamp":"000001a0753b4248"} 
[2026-09-06 11:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 11:11:47] 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-09-06 11:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":172435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":172435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":172435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900337152001,"66":12385,"102":206,"83":41984,"24":0,"16":18172277212315648,"45":1830783647870760960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900337152001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:11:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:11:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172277212315648,"km_value":18172277212315.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870760960,"description":"Unknown IO ID 45"} 
[2026-09-06 11:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900337152001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870760960}} 
[2026-09-06 11:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":172435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:11:47] local.INFO: GPS data processed {"connection_id":172435,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:11:47] local.INFO: Acknowledgment sent {"connection_id":172435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:11:52] local.INFO: TCP Data received {"connection_id":172655,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:11:52] local.INFO: Processing buffer {"connection_id":172655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:11:52] local.INFO: IMEI packet received {"connection_id":172655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":172655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:11:52] local.INFO: TCP Data received {"connection_id":172655,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0753bd6b8012d7b858005d07f70000000ef0e..."} 
[2026-09-06 11:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753bd6b8012d7b858005d07f70000000ef0e..."} 
[2026-09-06 11:11:52] local.INFO: Processing buffer {"connection_id":172655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753bd6b8012d7b858005d07f70000000ef0e..."} 
[2026-09-06 11:11:52] local.INFO: Packet analysis {"connection_id":172655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:11:52] local.INFO: Extracted packet for processing {"connection_id":172655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:11:52] local.INFO: GPS Element Parsed {"raw_longitude":763069824,"raw_latitude":97550192,"longitude_deg":76.3069824,"latitude_deg":9.7550192,"altitude":0,"angle":239,"satellites":14,"speed":20,"hex_longitude":"2d7b8580","hex_latitude":"05d07f70","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900351744001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128890787436953600,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901716532191639552,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788673251000,"timestamp_ms":1788673251000,"timestamp_seconds":1788673251,"priority":1,"record_length":96,"hex_timestamp":"000001a0753bd6b8"} 
[2026-09-06 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-09-06 11:11:52] 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-09-06 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 11:11:52] 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-09-06 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-09-06 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-09-06 11:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:11:52] 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-09-06 11:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900351744001,"66":13820,"199":206,"85":15104,"24":20,"16":128890787436953600,"45":8901716532191639552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 11:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900351744001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:11:52] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 11:11:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128890787436953600,"km_value":128890787436953.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901716532191639552,"description":"Unknown IO ID 45"} 
[2026-09-06 11:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900351744001,"power":13820,"trip_odometer":0.206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8901716532191639552}} 
[2026-09-06 11:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":172655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:11:52] local.INFO: GPS data processed {"connection_id":172655,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:11:52] local.INFO: Acknowledgment sent {"connection_id":172655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:11:53] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:11:53] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:11:53] local.INFO: IMEI packet received {"connection_id":175127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":175127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:11:55] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:11:55] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:11:55] local.INFO: IMEI packet received {"connection_id":175127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":175127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:11:56] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0753b7128012d41b1c006983e08001b01302f..."} 
[2026-09-06 11:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753b7128012d41b1c006983e08001b01302f..."} 
[2026-09-06 11:11:56] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753b7128012d41b1c006983e08001b01302f..."} 
[2026-09-06 11:11:56] local.INFO: Packet analysis {"connection_id":175127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:11:56] local.INFO: Extracted packet for processing {"connection_id":175127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:11:56] local.INFO: GPS Element Parsed {"raw_longitude":759280064,"raw_latitude":110640648,"longitude_deg":75.9280064,"latitude_deg":11.0640648,"altitude":27,"angle":304,"satellites":47,"speed":59,"hex_longitude":"2d41b1c0","hex_latitude":"06983e08","is_valid_coordinates":true} 
[2026-09-06 11:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900343808001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400599949114343424,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4743486704594782208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:56] 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-09-06 11:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788673225000,"timestamp_ms":1788673225000,"timestamp_seconds":1788673225,"priority":1,"record_length":96,"hex_timestamp":"000001a0753b7128"} 
[2026-09-06 11:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:11: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-09-06 11:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 11:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:11: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-09-06 11:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900343808001,"66":27789,"72":206,"81":47616,"24":59,"16":400599949114343424,"45":4743486704594782208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,81,24,16,45]} 
[2026-09-06 11:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900343808001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:11:56] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-06 11:11:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400599949114343424,"km_value":400599949114343.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":4743486704594782208,"description":"Unknown IO ID 45"} 
[2026-09-06 11:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900343808001,"power":27789,"unknown_72":206,"unknown_81":47616,"ignition":59,"odometer":null,"unknown_45":4743486704594782208}} 
[2026-09-06 11:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":175127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:11:56] local.INFO: GPS data processed {"connection_id":175127,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:11:56] local.INFO: Acknowledgment sent {"connection_id":175127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:11:58] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0753b8898012d419440069851880019012f2e..."} 
[2026-09-06 11:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753b8898012d419440069851880019012f2e..."} 
[2026-09-06 11:11:58] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753b8898012d419440069851880019012f2e..."} 
[2026-09-06 11:11:58] local.INFO: Packet analysis {"connection_id":175127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:11:58] local.INFO: Extracted packet for processing {"connection_id":175127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:11:58] local.INFO: GPS Element Parsed {"raw_longitude":759272512,"raw_latitude":110645640,"longitude_deg":75.9272512,"latitude_deg":11.064564,"altitude":25,"angle":303,"satellites":46,"speed":59,"hex_longitude":"2d419440","hex_latitude":"06985188","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900345600001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400600382906040320,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4733775817899640832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788673231000,"timestamp_ms":1788673231000,"timestamp_seconds":1788673231,"priority":1,"record_length":96,"hex_timestamp":"000001a0753b8898"} 
[2026-09-06 11:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:11: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-09-06 11: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-06 11:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:11: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-09-06 11:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900345600001,"66":27887,"71":206,"81":47616,"24":59,"16":400600382906040320,"45":4733775817899640832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-09-06 11:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900345600001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:11:58] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-06 11:11:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400600382906040320,"km_value":400600382906040.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4733775817899640832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900345600001,"power":27887,"unknown_71":206,"unknown_81":47616,"ignition":59,"odometer":null,"unknown_45":4733775817899640832}} 
[2026-09-06 11:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":175127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:11:58] local.INFO: GPS data processed {"connection_id":175127,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:11:58] local.INFO: Acknowledgment sent {"connection_id":175127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:12:09] local.INFO: TCP Data received {"connection_id":175128,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:12:09] local.INFO: Processing buffer {"connection_id":175128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:12:09] local.INFO: IMEI packet received {"connection_id":175128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":175128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:12:10] local.INFO: TCP Data received {"connection_id":175128,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:12:10] local.INFO: Processing buffer {"connection_id":175128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:12:10] local.INFO: IMEI packet received {"connection_id":175128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":175128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:12:13] local.INFO: TCP Data received {"connection_id":175128,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:12:13] local.INFO: Processing buffer {"connection_id":175128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:12:13] local.INFO: IMEI packet received {"connection_id":175128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":175128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:12:14] local.INFO: TCP Data received {"connection_id":175128,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753c53b8012d19564007200b480046004e2d..."} 
[2026-09-06 11:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753c53b8012d19564007200b480046004e2d..."} 
[2026-09-06 11:12:14] local.INFO: Processing buffer {"connection_id":175128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753c53b8012d19564007200b480046004e2d..."} 
[2026-09-06 11:12:14] local.INFO: Packet analysis {"connection_id":175128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753c"} 
[2026-09-06 11:12:14] local.INFO: Extracted packet for processing {"connection_id":175128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753c"} 
[2026-09-06 11:12:14] local.INFO: GPS Element Parsed {"raw_longitude":756635200,"raw_latitude":119540552,"longitude_deg":75.66352,"latitude_deg":11.9540552,"altitude":70,"angle":78,"satellites":45,"speed":16,"hex_longitude":"2d195640","hex_latitude":"07200b48","is_valid_coordinates":true} 
[2026-09-06 11:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900360192001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172882802704384,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825294885826770944,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788673283000,"timestamp_ms":1788673283000,"timestamp_seconds":1788673283,"priority":1,"record_length":96,"hex_timestamp":"000001a0753c53b8"} 
[2026-09-06 11:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-06 11:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900360192001,"66":13961,"106":206,"83":41984,"24":16,"16":18172882802704384,"45":1825294885826770944},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 11:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900360192001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:12:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 11:12:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172882802704384,"km_value":18172882802704.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825294885826770944,"description":"Unknown IO ID 45"} 
[2026-09-06 11:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900360192001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1825294885826770944}} 
[2026-09-06 11:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":175128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:12:14] local.INFO: GPS data processed {"connection_id":175128,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:12:14] local.INFO: Acknowledgment sent {"connection_id":175128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:12:23] local.INFO: TCP Data received {"connection_id":172655,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0753cff98012d7b684005d0cfe8000500230f..."} 
[2026-09-06 11:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753cff98012d7b684005d0cfe8000500230f..."} 
[2026-09-06 11:12:23] local.INFO: Processing buffer {"connection_id":172655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753cff98012d7b684005d0cfe8000500230f..."} 
[2026-09-06 11:12:23] local.INFO: Packet analysis {"connection_id":172655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753c"} 
[2026-09-06 11:12:23] local.INFO: Extracted packet for processing {"connection_id":172655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753c"} 
[2026-09-06 11:12:23] local.INFO: GPS Element Parsed {"raw_longitude":763062336,"raw_latitude":97570792,"longitude_deg":76.3062336,"latitude_deg":9.7570792,"altitude":5,"angle":35,"satellites":15,"speed":17,"hex_longitude":"2d7b6840","hex_latitude":"05d0cfe8","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900370432001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128892183301324800,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891794539267366912,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12: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-09-06 11:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788673327000,"timestamp_ms":1788673327000,"timestamp_seconds":1788673327,"priority":1,"record_length":96,"hex_timestamp":"000001a0753cff98"} 
[2026-09-06 11:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:12:23] 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-09-06 11: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 11:12:23] 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-09-06 11: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-09-06 11:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:12:23] 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-09-06 11:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900370432001,"66":13798,"81":206,"85":15104,"24":17,"16":128892183301324800,"45":8891794539267366912},"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-09-06 11:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900370432001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:12:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 11:12:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128892183301324800,"km_value":128892183301324.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891794539267366912,"description":"Unknown IO ID 45"} 
[2026-09-06 11:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900370432001,"power":13798,"unknown_81":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8891794539267366912}} 
[2026-09-06 11:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":172655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:12:24] local.INFO: GPS data processed {"connection_id":172655,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:12:24] local.INFO: Acknowledgment sent {"connection_id":172655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:12:30] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0753ba3f0012d417340069867b0001a01302e..."} 
[2026-09-06 11:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753ba3f0012d417340069867b0001a01302e..."} 
[2026-09-06 11:12:30] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753ba3f0012d417340069867b0001a01302e..."} 
[2026-09-06 11:12:30] local.INFO: Packet analysis {"connection_id":175127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:12:30] local.INFO: Extracted packet for processing {"connection_id":175127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753b"} 
[2026-09-06 11:12:30] local.INFO: GPS Element Parsed {"raw_longitude":759264064,"raw_latitude":110651312,"longitude_deg":75.9264064,"latitude_deg":11.0651312,"altitude":26,"angle":304,"satellites":46,"speed":55,"hex_longitude":"2d417340","hex_latitude":"069867b0","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900347136001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400600872532312064,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4725472306087954432,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788673238000,"timestamp_ms":1788673238000,"timestamp_seconds":1788673238,"priority":1,"record_length":96,"hex_timestamp":"000001a0753ba3f0"} 
[2026-09-06 11:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-06 11:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:12: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-09-06 11:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900347136001,"66":27821,"71":206,"81":47616,"24":55,"16":400600872532312064,"45":4725472306087954432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-09-06 11:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900347136001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:12:30] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-06 11:12:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400600872532312064,"km_value":400600872532312.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4725472306087954432,"description":"Unknown IO ID 45"} 
[2026-09-06 11:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900347136001,"power":27821,"unknown_71":206,"unknown_81":47616,"ignition":55,"odometer":null,"unknown_45":4725472306087954432}} 
[2026-09-06 11:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":175127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:12:30] local.INFO: GPS data processed {"connection_id":175127,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:12:30] local.INFO: Acknowledgment sent {"connection_id":175127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:12:45] local.INFO: TCP Data received {"connection_id":175128,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753c5b88012d19594007200c78004500352d..."} 
[2026-09-06 11:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753c5b88012d19594007200c78004500352d..."} 
[2026-09-06 11:12:45] local.INFO: Processing buffer {"connection_id":175128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753c5b88012d19594007200c78004500352d..."} 
[2026-09-06 11:12:45] local.INFO: Packet analysis {"connection_id":175128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753c"} 
[2026-09-06 11:12:45] local.INFO: Extracted packet for processing {"connection_id":175128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753c"} 
[2026-09-06 11:12:45] local.INFO: GPS Element Parsed {"raw_longitude":756635968,"raw_latitude":119540856,"longitude_deg":75.6635968,"latitude_deg":11.9540856,"altitude":69,"angle":53,"satellites":45,"speed":17,"hex_longitude":"2d195940","hex_latitude":"07200c78","is_valid_coordinates":true} 
[2026-09-06 11:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900360448001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18172921457410048,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825717098291873792,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:45] 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-09-06 11:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788673285000,"timestamp_ms":1788673285000,"timestamp_seconds":1788673285,"priority":1,"record_length":96,"hex_timestamp":"000001a0753c5b88"} 
[2026-09-06 11:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:12: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-09-06 11:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-06 11:12:45] 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-09-06 11:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900360448001,"66":14211,"106":206,"83":41984,"24":17,"16":18172921457410048,"45":1825717098291873792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 11:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900360448001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:12:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 11:12:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18172921457410048,"km_value":18172921457410.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825717098291873792,"description":"Unknown IO ID 45"} 
[2026-09-06 11:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900360448001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1825717098291873792}} 
[2026-09-06 11:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":175128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:12:45] local.INFO: GPS data processed {"connection_id":175128,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:12:45] local.INFO: Acknowledgment sent {"connection_id":175128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:12:48] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:12:48] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:12:48] local.INFO: IMEI packet received {"connection_id":173813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":173813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:12:49] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:12:49] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:12:49] local.INFO: IMEI packet received {"connection_id":173813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":173813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:12:49] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0753cdc70012d4018c0069950d00015012032..."} 
[2026-09-06 11:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753cdc70012d4018c0069950d00015012032..."} 
[2026-09-06 11:12:49] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753cdc70012d4018c0069950d00015012032..."} 
[2026-09-06 11:12:49] local.INFO: Packet analysis {"connection_id":173813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753c"} 
[2026-09-06 11:12:49] local.INFO: Extracted packet for processing {"connection_id":173813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753c"} 
[2026-09-06 11:12:49] local.INFO: GPS Element Parsed {"raw_longitude":759175360,"raw_latitude":110710992,"longitude_deg":75.917536,"latitude_deg":11.0710992,"altitude":21,"angle":288,"satellites":50,"speed":58,"hex_longitude":"2d4018c0","hex_latitude":"069950d0","is_valid_coordinates":true} 
[2026-09-06 11:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900367872001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400606000723263488,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4627519014208448512,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:49] 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-09-06 11:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788673318000,"timestamp_ms":1788673318000,"timestamp_seconds":1788673318,"priority":1,"record_length":96,"hex_timestamp":"000001a0753cdc70"} 
[2026-09-06 11:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 11:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900367872001,"66":27876,"232":206,"81":47616,"24":58,"16":400606000723263488,"45":4627519014208448512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-09-06 11:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900367872001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:12:49] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-06 11:12:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400606000723263488,"km_value":400606000723263.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4627519014208448512,"description":"Unknown IO ID 45"} 
[2026-09-06 11:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900367872001,"power":27876,"unknown_232":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4627519014208448512}} 
[2026-09-06 11:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":173813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:12:49] local.INFO: GPS data processed {"connection_id":173813,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:12:49] local.INFO: Acknowledgment sent {"connection_id":173813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:12:52] local.INFO: TCP Data received {"connection_id":172436,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:12:52] local.INFO: Processing buffer {"connection_id":172436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:12:52] local.INFO: IMEI packet received {"connection_id":172436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":172436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:12:55] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0753cf3e0012d3ff70006995870001401142f..."} 
[2026-09-06 11:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753cf3e0012d3ff70006995870001401142f..."} 
[2026-09-06 11:12:55] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753cf3e0012d3ff70006995870001401142f..."} 
[2026-09-06 11:12:55] local.INFO: Packet analysis {"connection_id":173813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753c"} 
[2026-09-06 11:12:55] local.INFO: Extracted packet for processing {"connection_id":173813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753c"} 
[2026-09-06 11:12:55] local.INFO: GPS Element Parsed {"raw_longitude":759166720,"raw_latitude":110712944,"longitude_deg":75.916672,"latitude_deg":11.0712944,"altitude":20,"angle":276,"satellites":47,"speed":56,"hex_longitude":"2d3ff700","hex_latitude":"06995870","is_valid_coordinates":true} 
[2026-09-06 11:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900369408001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400606421630058496,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4618652552442990592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:55] 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-09-06 11:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788673324000,"timestamp_ms":1788673324000,"timestamp_seconds":1788673324,"priority":1,"record_length":96,"hex_timestamp":"000001a0753cf3e0"} 
[2026-09-06 11:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:12: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-09-06 11:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 11:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900369408001,"66":27821,"232":206,"81":47616,"24":56,"16":400606421630058496,"45":4618652552442990592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-09-06 11:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900369408001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:12:55] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-06 11:12:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400606421630058496,"km_value":400606421630058.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4618652552442990592,"description":"Unknown IO ID 45"} 
[2026-09-06 11:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900369408001,"power":27821,"unknown_232":206,"unknown_81":47616,"ignition":56,"odometer":null,"unknown_45":4618652552442990592}} 
[2026-09-06 11:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":173813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:12:55] local.INFO: GPS data processed {"connection_id":173813,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:12:55] local.INFO: Acknowledgment sent {"connection_id":173813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:12:56] local.INFO: TCP Data received {"connection_id":172436,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:12:56] local.INFO: Processing buffer {"connection_id":172436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:12:56] local.INFO: IMEI packet received {"connection_id":172436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":172436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:12:57] local.INFO: TCP Data received {"connection_id":172436,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0753d0768012d7b6b0005d0d1e8000600420f..."} 
[2026-09-06 11:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753d0768012d7b6b0005d0d1e8000600420f..."} 
[2026-09-06 11:12:57] local.INFO: Processing buffer {"connection_id":172436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753d0768012d7b6b0005d0d1e8000600420f..."} 
[2026-09-06 11:12:57] local.INFO: Packet analysis {"connection_id":172436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:12:57] local.INFO: Extracted packet for processing {"connection_id":172436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763063040,"raw_latitude":97571304,"longitude_deg":76.306304,"latitude_deg":9.7571304,"altitude":6,"angle":66,"satellites":15,"speed":16,"hex_longitude":"2d7b6b00","hex_latitude":"05d0d1e8","is_valid_coordinates":true} 
[2026-09-06 11:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900371712001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128892221956030464,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892427857965344768,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:57] 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-09-06 11:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788673329000,"timestamp_ms":1788673329000,"timestamp_seconds":1788673329,"priority":1,"record_length":96,"hex_timestamp":"000001a0753d0768"} 
[2026-09-06 11:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 11:12:57] 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-09-06 11:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:12:57] 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-09-06 11:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900371712001,"66":13678,"81":206,"85":15104,"24":16,"16":128892221956030464,"45":8892427857965344768},"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-09-06 11:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900371712001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:12:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 11:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128892221956030464,"km_value":128892221956030.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892427857965344768,"description":"Unknown IO ID 45"} 
[2026-09-06 11:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900371712001,"power":13678,"unknown_81":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8892427857965344768}} 
[2026-09-06 11:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":172436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:12:57] local.INFO: GPS data processed {"connection_id":172436,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:12:57] local.INFO: Acknowledgment sent {"connection_id":172436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:12:58] local.INFO: TCP Data received {"connection_id":172436,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0753d0b50012d7b6cc005d0d268000600510f..."} 
[2026-09-06 11:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753d0b50012d7b6cc005d0d268000600510f..."} 
[2026-09-06 11:12:58] local.INFO: Processing buffer {"connection_id":172436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753d0b50012d7b6cc005d0d268000600510f..."} 
[2026-09-06 11:12:58] local.INFO: Packet analysis {"connection_id":172436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:12:58] local.INFO: Extracted packet for processing {"connection_id":172436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:12:58] local.INFO: GPS Element Parsed {"raw_longitude":763063488,"raw_latitude":97571432,"longitude_deg":76.3063488,"latitude_deg":9.7571432,"altitude":6,"angle":81,"satellites":15,"speed":17,"hex_longitude":"2d7b6cc0","hex_latitude":"05d0d268","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900372224001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128892247725834240,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893201914151430144,"note":"Value kept but may cause issues"} 
[2026-09-06 11:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788673330000,"timestamp_ms":1788673330000,"timestamp_seconds":1788673330,"priority":1,"record_length":96,"hex_timestamp":"000001a0753d0b50"} 
[2026-09-06 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-09-06 11:12:58] 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-09-06 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 11:12:58] 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-09-06 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-09-06 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-09-06 11:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:12:58] 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-09-06 11:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900372224001,"66":13678,"81":206,"85":15104,"24":17,"16":128892247725834240,"45":8893201914151430144},"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-09-06 11:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900372224001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:12:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 11:12:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128892247725834240,"km_value":128892247725834.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893201914151430144,"description":"Unknown IO ID 45"} 
[2026-09-06 11:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900372224001,"power":13678,"unknown_81":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8893201914151430144}} 
[2026-09-06 11:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":172436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:12:58] local.INFO: GPS data processed {"connection_id":172436,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:12:58] local.INFO: Acknowledgment sent {"connection_id":172436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:13:08] local.INFO: TCP Data received {"connection_id":172656,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:13:08] local.INFO: Processing buffer {"connection_id":172656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:13:08] local.INFO: IMEI packet received {"connection_id":172656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":172656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:13:09] local.INFO: TCP Data received {"connection_id":172656,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:13:09] local.INFO: Processing buffer {"connection_id":172656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:13:09] local.INFO: IMEI packet received {"connection_id":172656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":172656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:13:14] local.INFO: TCP Data received {"connection_id":172656,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:13:14] local.INFO: Processing buffer {"connection_id":172656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:13:14] local.INFO: IMEI packet received {"connection_id":172656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":172656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:13:15] local.INFO: TCP Data received {"connection_id":172656,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753cf7c8012d196b4007203428003400fc2b..."} 
[2026-09-06 11:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753cf7c8012d196b4007203428003400fc2b..."} 
[2026-09-06 11:13:15] local.INFO: Processing buffer {"connection_id":172656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753cf7c8012d196b4007203428003400fc2b..."} 
[2026-09-06 11:13:15] local.INFO: Packet analysis {"connection_id":172656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753c"} 
[2026-09-06 11:13:15] local.INFO: Extracted packet for processing {"connection_id":172656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753c"} 
[2026-09-06 11:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119551016,"longitude_deg":75.6640576,"latitude_deg":11.9551016,"altitude":52,"angle":252,"satellites":43,"speed":8,"hex_longitude":"2d196b40","hex_latitude":"07203428","is_valid_coordinates":true} 
[2026-09-06 11:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900368384001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18173630127013888,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810293835776,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:15] 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-09-06 11:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788673325000,"timestamp_ms":1788673325000,"timestamp_seconds":1788673325,"priority":1,"record_length":96,"hex_timestamp":"000001a0753cf7c8"} 
[2026-09-06 11:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 11:13:15] 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-09-06 11:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900368384001,"66":13015,"106":206,"83":41984,"24":8,"16":18173630127013888,"45":1831768810293835776},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 11:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900368384001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:13:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 11:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18173630127013888,"km_value":18173630127013.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810293835776,"description":"Unknown IO ID 45"} 
[2026-09-06 11:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900368384001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1831768810293835776}} 
[2026-09-06 11:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":172656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:13:15] local.INFO: GPS data processed {"connection_id":172656,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:13:15] local.INFO: Acknowledgment sent {"connection_id":172656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:13:27] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0753d0f38012d3fd180069959800015010a2f..."} 
[2026-09-06 11:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753d0f38012d3fd180069959800015010a2f..."} 
[2026-09-06 11:13:27] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753d0f38012d3fd180069959800015010a2f..."} 
[2026-09-06 11:13:27] local.INFO: Packet analysis {"connection_id":173813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:13:27] local.INFO: Extracted packet for processing {"connection_id":173813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:13:27] local.INFO: GPS Element Parsed {"raw_longitude":759157120,"raw_latitude":110713216,"longitude_deg":75.915712,"latitude_deg":11.0713216,"altitude":21,"angle":266,"satellites":47,"speed":51,"hex_longitude":"2d3fd180","hex_latitude":"06995980","is_valid_coordinates":true} 
[2026-09-06 11:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900370944001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400606881191559168,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4609152771979505664,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:27] 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-09-06 11:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788673331000,"timestamp_ms":1788673331000,"timestamp_seconds":1788673331,"priority":1,"record_length":96,"hex_timestamp":"000001a0753d0f38"} 
[2026-09-06 11:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:13: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-09-06 11:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 11:13:27] 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-09-06 11:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900370944001,"66":27365,"232":206,"81":47616,"24":51,"16":400606881191559168,"45":4609152771979505664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-09-06 11:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900370944001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:13:27] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-06 11:13:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400606881191559168,"km_value":400606881191559.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4609152771979505664,"description":"Unknown IO ID 45"} 
[2026-09-06 11:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900370944001,"power":27365,"unknown_232":206,"unknown_81":47616,"ignition":51,"odometer":null,"unknown_45":4609152771979505664}} 
[2026-09-06 11:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":173813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:13:27] local.INFO: GPS data processed {"connection_id":173813,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:13:27] local.INFO: Acknowledgment sent {"connection_id":173813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:13:29] local.INFO: TCP Data received {"connection_id":172436,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0753d5970012d7b788005d0d3c80007005410..."} 
[2026-09-06 11:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753d5970012d7b788005d0d3c80007005410..."} 
[2026-09-06 11:13:29] local.INFO: Processing buffer {"connection_id":172436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753d5970012d7b788005d0d3c80007005410..."} 
[2026-09-06 11:13:29] local.INFO: Packet analysis {"connection_id":172436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:13:29] local.INFO: Extracted packet for processing {"connection_id":172436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:13:29] local.INFO: GPS Element Parsed {"raw_longitude":763066496,"raw_latitude":97571784,"longitude_deg":76.3066496,"latitude_deg":9.7571784,"altitude":7,"angle":84,"satellites":16,"speed":0,"hex_longitude":"2d7b7880","hex_latitude":"05d0d3c8","is_valid_coordinates":true} 
[2026-09-06 11:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900372480001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128892398049689600,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893694495360706560,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788673350000,"timestamp_ms":1788673350000,"timestamp_seconds":1788673350,"priority":1,"record_length":96,"hex_timestamp":"000001a0753d5970"} 
[2026-09-06 11:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:13:29] 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-09-06 11:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 11:13:29] 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-09-06 11:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:13:29] 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-09-06 11:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900372480001,"66":13222,"81":206,"85":15104,"24":0,"16":128892398049689600,"45":8893694495360706560},"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-09-06 11:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900372480001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:13:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 11:13:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128892398049689600,"km_value":128892398049689.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893694495360706560,"description":"Unknown IO ID 45"} 
[2026-09-06 11:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900372480001,"power":13222,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8893694495360706560}} 
[2026-09-06 11:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":172436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:13:29] local.INFO: GPS data processed {"connection_id":172436,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:13:29] local.INFO: Acknowledgment sent {"connection_id":172436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:13:46] local.INFO: TCP Data received {"connection_id":172656,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753d0768012d196780072032b8003300f02c..."} 
[2026-09-06 11:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753d0768012d196780072032b8003300f02c..."} 
[2026-09-06 11:13:46] local.INFO: Processing buffer {"connection_id":172656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753d0768012d196780072032b8003300f02c..."} 
[2026-09-06 11:13:46] local.INFO: Packet analysis {"connection_id":172656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:13:46] local.INFO: Extracted packet for processing {"connection_id":172656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119550648,"longitude_deg":75.6639616,"latitude_deg":11.9550648,"altitude":51,"angle":240,"satellites":44,"speed":6,"hex_longitude":"2d196780","hex_latitude":"072032b8","is_valid_coordinates":true} 
[2026-09-06 11:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900371200001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18173673076686848,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072805476352,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:46] 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-09-06 11:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788673329000,"timestamp_ms":1788673329000,"timestamp_seconds":1788673329,"priority":1,"record_length":96,"hex_timestamp":"000001a0753d0768"} 
[2026-09-06 11:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-06 11:13:46] 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-09-06 11:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900371200001,"66":12993,"106":206,"83":41984,"24":6,"16":18173673076686848,"45":1831628072805476352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 11:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900371200001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:13:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 11:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18173673076686848,"km_value":18173673076686.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072805476352,"description":"Unknown IO ID 45"} 
[2026-09-06 11:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900371200001,"power":12993,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1831628072805476352}} 
[2026-09-06 11:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":172656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:13:47] local.INFO: GPS data processed {"connection_id":172656,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:13:47] local.INFO: Acknowledgment sent {"connection_id":172656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:13:47] local.INFO: TCP Data received {"connection_id":175129,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:13:47] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:13:47] local.INFO: IMEI packet received {"connection_id":175129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":175129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:13:48] local.INFO: TCP Data received {"connection_id":175130,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:13:48] local.INFO: Processing buffer {"connection_id":175130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:13:48] local.INFO: IMEI packet received {"connection_id":175130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":175130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:13:48] local.INFO: TCP Data received {"connection_id":175130,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:13:48] local.INFO: Processing buffer {"connection_id":175130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:13:48] local.INFO: IMEI packet received {"connection_id":175130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":175130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:13:52] local.INFO: TCP Data received {"connection_id":175129,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:13:52] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:13:52] local.INFO: IMEI packet received {"connection_id":175129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":175129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:13:53] local.INFO: TCP Data received {"connection_id":175129,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0753d6910012d7b790005d0d3c00007009a10..."} 
[2026-09-06 11:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753d6910012d7b790005d0d3c00007009a10..."} 
[2026-09-06 11:13:53] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753d6910012d7b790005d0d3c00007009a10..."} 
[2026-09-06 11:13:53] local.INFO: Packet analysis {"connection_id":175129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:13:53] local.INFO: Extracted packet for processing {"connection_id":175129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:13:53] local.INFO: GPS Element Parsed {"raw_longitude":763066624,"raw_latitude":97571776,"longitude_deg":76.3066624,"latitude_deg":9.7571776,"altitude":7,"angle":154,"satellites":16,"speed":2,"hex_longitude":"2d7b7900","hex_latitude":"05d0d3c0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900377600001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128892406639624192,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897001826337146880,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:53] 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-09-06 11:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788673354000,"timestamp_ms":1788673354000,"timestamp_seconds":1788673354,"priority":1,"record_length":96,"hex_timestamp":"000001a0753d6910"} 
[2026-09-06 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-09-06 11:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 11:13:53] 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-09-06 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-09-06 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-09-06 11:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:13:53] 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-09-06 11:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900377600001,"66":13722,"81":206,"85":15104,"24":2,"16":128892406639624192,"45":8897001826337146880},"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-09-06 11:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900377600001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 11:13:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128892406639624192,"km_value":128892406639624.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897001826337146880,"description":"Unknown IO ID 45"} 
[2026-09-06 11:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900377600001,"power":13722,"unknown_81":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8897001826337146880}} 
[2026-09-06 11:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":175129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:13:53] local.INFO: GPS data processed {"connection_id":175129,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:13:53] local.INFO: Acknowledgment sent {"connection_id":175129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:13:53] local.INFO: TCP Data received {"connection_id":175130,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:13:53] local.INFO: Processing buffer {"connection_id":175130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:13:53] local.INFO: IMEI packet received {"connection_id":175130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":175130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:13:55] local.INFO: TCP Data received {"connection_id":175130,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0753d26a8012d3fb3c006995480001600fe2f..."} 
[2026-09-06 11:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753d26a8012d3fb3c006995480001600fe2f..."} 
[2026-09-06 11:13:55] local.INFO: Processing buffer {"connection_id":175130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753d26a8012d3fb3c006995480001600fe2f..."} 
[2026-09-06 11:13:55] local.INFO: Packet analysis {"connection_id":175130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:13:55] local.INFO: Extracted packet for processing {"connection_id":175130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:13:55] local.INFO: GPS Element Parsed {"raw_longitude":759149504,"raw_latitude":110711936,"longitude_deg":75.9149504,"latitude_deg":11.0711936,"altitude":22,"angle":254,"satellites":47,"speed":50,"hex_longitude":"2d3fb3c0","hex_latitude":"06995480","is_valid_coordinates":true} 
[2026-09-06 11:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900372736001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400607250558746624,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4598597460352925696,"note":"Value kept but may cause issues"} 
[2026-09-06 11:13:55] 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-09-06 11:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788673337000,"timestamp_ms":1788673337000,"timestamp_seconds":1788673337,"priority":1,"record_length":96,"hex_timestamp":"000001a0753d26a8"} 
[2026-09-06 11:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:13: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-09-06 11:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-06 11:13: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-09-06 11:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900372736001,"66":27865,"232":206,"81":47616,"24":50,"16":400607250558746624,"45":4598597460352925696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-09-06 11:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900372736001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:13:55] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-06 11:13:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400607250558746624,"km_value":400607250558746.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4598597460352925696,"description":"Unknown IO ID 45"} 
[2026-09-06 11:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900372736001,"power":27865,"unknown_232":206,"unknown_81":47616,"ignition":50,"odometer":null,"unknown_45":4598597460352925696}} 
[2026-09-06 11:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":175130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:13:55] local.INFO: GPS data processed {"connection_id":175130,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:13:55] local.INFO: Acknowledgment sent {"connection_id":175130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:14:09] local.INFO: TCP Data received {"connection_id":172437,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:14:09] local.INFO: Processing buffer {"connection_id":172437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:14:09] local.INFO: IMEI packet received {"connection_id":172437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":172437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:14:12] local.INFO: TCP Data received {"connection_id":172437,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:14:12] local.INFO: Processing buffer {"connection_id":172437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:14:12] local.INFO: IMEI packet received {"connection_id":172437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":172437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:14:14] local.INFO: TCP Data received {"connection_id":172437,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:14:14] local.INFO: Processing buffer {"connection_id":172437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:14:14] local.INFO: IMEI packet received {"connection_id":172437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":172437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:14:15] local.INFO: TCP Data received {"connection_id":172437,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753d5970012d196740072032b0003300eb27..."} 
[2026-09-06 11:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753d5970012d196740072032b0003300eb27..."} 
[2026-09-06 11:14:15] local.INFO: Processing buffer {"connection_id":172437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753d5970012d196740072032b0003300eb27..."} 
[2026-09-06 11:14:15] local.INFO: Packet analysis {"connection_id":172437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:14:15] local.INFO: Extracted packet for processing {"connection_id":172437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119550640,"longitude_deg":75.6639552,"latitude_deg":11.955064,"altitude":51,"angle":235,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"072032b0","is_valid_coordinates":true} 
[2026-09-06 11:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900372224001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18173681666621440,"note":"Value kept but may cause issues"} 
[2026-09-06 11:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541642717184,"note":"Value kept but may cause issues"} 
[2026-09-06 11:14:15] 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-09-06 11:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788673350000,"timestamp_ms":1788673350000,"timestamp_seconds":1788673350,"priority":1,"record_length":96,"hex_timestamp":"000001a0753d5970"} 
[2026-09-06 11:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-06 11:14:15] 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-09-06 11:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900372224001,"66":12939,"106":206,"83":41984,"24":0,"16":18173681666621440,"45":1830572541642717184},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 11:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900372224001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:14:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 11:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18173681666621440,"km_value":18173681666621.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541642717184,"description":"Unknown IO ID 45"} 
[2026-09-06 11:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900372224001,"power":12939,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541642717184}} 
[2026-09-06 11:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":172437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:14:15] local.INFO: GPS data processed {"connection_id":172437,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:14:15] local.INFO: Acknowledgment sent {"connection_id":172437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:14:19] local.INFO: TCP Data received {"connection_id":172437,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753dab78012d196740072032b0003300eb28..."} 
[2026-09-06 11:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753dab78012d196740072032b0003300eb28..."} 
[2026-09-06 11:14:19] local.INFO: Processing buffer {"connection_id":172437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753dab78012d196740072032b0003300eb28..."} 
[2026-09-06 11:14:19] local.INFO: Packet analysis {"connection_id":172437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:14:19] local.INFO: Extracted packet for processing {"connection_id":172437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:14:19] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119550640,"longitude_deg":75.6639552,"latitude_deg":11.955064,"altitude":51,"angle":235,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"072032b0","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900377600001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18173681666621440,"note":"Value kept but may cause issues"} 
[2026-09-06 11:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172898537472,"note":"Value kept but may cause issues"} 
[2026-09-06 11:14:19] 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-09-06 11:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788673371000,"timestamp_ms":1788673371000,"timestamp_seconds":1788673371,"priority":1,"record_length":96,"hex_timestamp":"000001a0753dab78"} 
[2026-09-06 11:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":139,"data_length":795,"current_offset":136} 
[2026-09-06 11:14:19] 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-09-06 11: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-09-06 11:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":172437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":172437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":172437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900377600001,"66":12950,"106":206,"83":41984,"24":0,"16":18173681666621440,"45":1830502172898537472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 11:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900377600001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:14:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 11:14:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18173681666621440,"km_value":18173681666621.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172898537472,"description":"Unknown IO ID 45"} 
[2026-09-06 11:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900377600001,"power":12950,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172898537472}} 
[2026-09-06 11:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":172437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:14:20] local.INFO: GPS data processed {"connection_id":172437,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:14:20] local.INFO: Acknowledgment sent {"connection_id":172437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:14:23] local.INFO: TCP Data received {"connection_id":175129,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0753efb68012d7b85c005d0fbd0000800cf15..."} 
[2026-09-06 11:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753efb68012d7b85c005d0fbd0000800cf15..."} 
[2026-09-06 11:14:23] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753efb68012d7b85c005d0fbd0000800cf15..."} 
[2026-09-06 11:14:23] local.INFO: Packet analysis {"connection_id":175129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753e"} 
[2026-09-06 11:14:23] local.INFO: Extracted packet for processing {"connection_id":175129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753e"} 
[2026-09-06 11:14:23] local.INFO: GPS Element Parsed {"raw_longitude":763069888,"raw_latitude":97582032,"longitude_deg":76.3069888,"latitude_deg":9.7582032,"altitude":8,"angle":207,"satellites":21,"speed":2,"hex_longitude":"2d7b85c0","hex_latitude":"05d0fbd0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900403456001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128892982165241856,"note":"Value kept but may cause issues"} 
[2026-09-06 11:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900942476013756416,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 11:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788673457000,"timestamp_ms":1788673457000,"timestamp_seconds":1788673457,"priority":1,"record_length":96,"hex_timestamp":"000001a0753efb68"} 
[2026-09-06 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-09-06 11:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-06 11:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 11:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:14:23] 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-09-06 11:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900403456001,"66":13678,"81":206,"85":15104,"24":2,"16":128892982165241856,"45":8900942476013756416},"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-09-06 11:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900403456001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:14:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 11:14:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128892982165241856,"km_value":128892982165241.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900942476013756416,"description":"Unknown IO ID 45"} 
[2026-09-06 11:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900403456001,"power":13678,"unknown_81":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8900942476013756416}} 
[2026-09-06 11:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":175129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:14:23] local.INFO: GPS data processed {"connection_id":175129,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:14:23] local.INFO: Acknowledgment sent {"connection_id":175129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:14:26] local.INFO: TCP Data received {"connection_id":175130,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0753d45e8012d3f8e0006994768001700f730..."} 
[2026-09-06 11:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753d45e8012d3f8e0006994768001700f730..."} 
[2026-09-06 11:14:26] local.INFO: Processing buffer {"connection_id":175130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753d45e8012d3f8e0006994768001700f730..."} 
[2026-09-06 11:14:26] local.INFO: Packet analysis {"connection_id":175130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:14:26] local.INFO: Extracted packet for processing {"connection_id":175130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:14:26] local.INFO: GPS Element Parsed {"raw_longitude":759139840,"raw_latitude":110708584,"longitude_deg":75.913984,"latitude_deg":11.0708584,"altitude":23,"angle":247,"satellites":48,"speed":50,"hex_longitude":"2d3f8e00","hex_latitude":"06994768","is_valid_coordinates":true} 
[2026-09-06 11:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900374272001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400607735890051072,"note":"Value kept but may cause issues"} 
[2026-09-06 11:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4590223579795456000,"note":"Value kept but may cause issues"} 
[2026-09-06 11:14:26] 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-09-06 11:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788673345000,"timestamp_ms":1788673345000,"timestamp_seconds":1788673345,"priority":1,"record_length":96,"hex_timestamp":"000001a0753d45e8"} 
[2026-09-06 11:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:14: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-09-06 11:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 11:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:14: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-09-06 11:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900374272001,"66":27789,"232":206,"81":47616,"24":50,"16":400607735890051072,"45":4590223579795456000},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-09-06 11:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900374272001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:14:26] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-06 11:14:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400607735890051072,"km_value":400607735890051.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4590223579795456000,"description":"Unknown IO ID 45"} 
[2026-09-06 11:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900374272001,"power":27789,"unknown_232":206,"unknown_81":47616,"ignition":50,"odometer":null,"unknown_45":4590223579795456000}} 
[2026-09-06 11:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":175130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:14:26] local.INFO: GPS data processed {"connection_id":175130,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:14:26] local.INFO: Acknowledgment sent {"connection_id":175130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:14:51] local.INFO: TCP Data received {"connection_id":172437,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753dfd80012d196740072032b0003300eb27..."} 
[2026-09-06 11:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753dfd80012d196740072032b0003300eb27..."} 
[2026-09-06 11:14:51] local.INFO: Processing buffer {"connection_id":172437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753dfd80012d196740072032b0003300eb27..."} 
[2026-09-06 11:14:51] local.INFO: Packet analysis {"connection_id":172437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:14:51] local.INFO: Extracted packet for processing {"connection_id":172437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753d"} 
[2026-09-06 11:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119550640,"longitude_deg":75.6639552,"latitude_deg":11.955064,"altitude":51,"angle":235,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"072032b0","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900382976001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18173681666621440,"note":"Value kept but may cause issues"} 
[2026-09-06 11:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172898537472,"note":"Value kept but may cause issues"} 
[2026-09-06 11:14:51] 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-09-06 11:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788673392000,"timestamp_ms":1788673392000,"timestamp_seconds":1788673392,"priority":1,"record_length":96,"hex_timestamp":"000001a0753dfd80"} 
[2026-09-06 11:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:14: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-09-06 11: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":150,"data_length":795,"current_offset":136} 
[2026-09-06 11:14:51] 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-09-06 11: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-09-06 11:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900382976001,"66":12885,"106":206,"83":41984,"24":0,"16":18173681666621440,"45":1830502172898537472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 11:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900382976001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:14:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 11:14:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18173681666621440,"km_value":18173681666621.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172898537472,"description":"Unknown IO ID 45"} 
[2026-09-06 11:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900382976001,"power":12885,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172898537472}} 
[2026-09-06 11:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":172437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:14:51] local.INFO: GPS data processed {"connection_id":172437,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:14:51] local.INFO: Acknowledgment sent {"connection_id":172437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:14:57] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:14:57] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:14:57] local.INFO: IMEI packet received {"connection_id":173814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":173814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:14:58] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:14:58] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:14:58] local.INFO: IMEI packet received {"connection_id":173814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":173814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:15:03] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:15:03] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:15:03] local.INFO: IMEI packet received {"connection_id":173814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":173814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:15:03] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0753e7698012d3e2280069949300010012632..."} 
[2026-09-06 11:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753e7698012d3e2280069949300010012632..."} 
[2026-09-06 11:15:03] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753e7698012d3e2280069949300010012632..."} 
[2026-09-06 11:15:03] local.INFO: Packet analysis {"connection_id":173814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753e"} 
[2026-09-06 11:15:03] local.INFO: Extracted packet for processing {"connection_id":173814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753e"} 
[2026-09-06 11:15:03] local.INFO: GPS Element Parsed {"raw_longitude":759046784,"raw_latitude":110709040,"longitude_deg":75.9046784,"latitude_deg":11.070904,"altitude":16,"angle":294,"satellites":50,"speed":37,"hex_longitude":"2d3e2280","hex_latitude":"06994930","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900394240001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400612284260417536,"note":"Value kept but may cause issues"} 
[2026-09-06 11:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4485937100922896384,"note":"Value kept but may cause issues"} 
[2026-09-06 11:15:03] 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-09-06 11:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788673423000,"timestamp_ms":1788673423000,"timestamp_seconds":1788673423,"priority":1,"record_length":96,"hex_timestamp":"000001a0753e7698"} 
[2026-09-06 11:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:15: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-09-06 11:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 11:15: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-09-06 11: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-09-06 11:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:15: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-09-06 11:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900394240001,"66":27865,"242":206,"81":47616,"24":37,"16":400612284260417536,"45":4485937100922896384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-09-06 11:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900394240001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:15:03] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-06 11:15:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400612284260417536,"km_value":400612284260417.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4485937100922896384,"description":"Unknown IO ID 45"} 
[2026-09-06 11:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900394240001,"power":27865,"unknown_242":206,"unknown_81":47616,"ignition":37,"odometer":null,"unknown_45":4485937100922896384}} 
[2026-09-06 11:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":173814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:15:03] local.INFO: GPS data processed {"connection_id":173814,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:15:03] local.INFO: Acknowledgment sent {"connection_id":173814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:15:09] local.INFO: TCP Data received {"connection_id":172438,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:15:09] local.INFO: Processing buffer {"connection_id":172438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:15:09] local.INFO: IMEI packet received {"connection_id":172438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":172438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:15:15] local.INFO: TCP Data received {"connection_id":172438,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:15:15] local.INFO: Processing buffer {"connection_id":172438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:15:15] local.INFO: IMEI packet received {"connection_id":172438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":172438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:15:16] local.INFO: TCP Data received {"connection_id":172438,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753e4f88012d196740072032b0003300eb29..."} 
[2026-09-06 11:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753e4f88012d196740072032b0003300eb29..."} 
[2026-09-06 11:15:16] local.INFO: Processing buffer {"connection_id":172438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753e4f88012d196740072032b0003300eb29..."} 
[2026-09-06 11:15:16] local.INFO: Packet analysis {"connection_id":172438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753e"} 
[2026-09-06 11:15:16] local.INFO: Extracted packet for processing {"connection_id":172438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753e"} 
[2026-09-06 11:15:16] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119550640,"longitude_deg":75.6639552,"latitude_deg":11.955064,"altitude":51,"angle":235,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"072032b0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900388352001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18173681666621440,"note":"Value kept but may cause issues"} 
[2026-09-06 11:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172898537472,"note":"Value kept but may cause issues"} 
[2026-09-06 11:15:16] 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-09-06 11:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788673413000,"timestamp_ms":1788673413000,"timestamp_seconds":1788673413,"priority":1,"record_length":96,"hex_timestamp":"000001a0753e4f88"} 
[2026-09-06 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-09-06 11:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-06 11:15:16] 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-09-06 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-09-06 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-09-06 11:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900388352001,"66":12102,"106":206,"83":41984,"24":0,"16":18173681666621440,"45":1830502172898537472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 11:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900388352001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:15:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 11:15:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18173681666621440,"km_value":18173681666621.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172898537472,"description":"Unknown IO ID 45"} 
[2026-09-06 11:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900388352001,"power":12102,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172898537472}} 
[2026-09-06 11:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":172438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:15:16] local.INFO: GPS data processed {"connection_id":172438,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:15:16] local.INFO: Acknowledgment sent {"connection_id":172438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:15:47] local.INFO: TCP Data received {"connection_id":172438,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753ea190012d196740072032b0003300eb27..."} 
[2026-09-06 11:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753ea190012d196740072032b0003300eb27..."} 
[2026-09-06 11:15:47] local.INFO: Processing buffer {"connection_id":172438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753ea190012d196740072032b0003300eb27..."} 
[2026-09-06 11:15:47] local.INFO: Packet analysis {"connection_id":172438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753e"} 
[2026-09-06 11:15:47] local.INFO: Extracted packet for processing {"connection_id":172438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753e"} 
[2026-09-06 11:15:47] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119550640,"longitude_deg":75.6639552,"latitude_deg":11.955064,"altitude":51,"angle":235,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"072032b0","is_valid_coordinates":true} 
[2026-09-06 11:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900393728001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18173681666621440,"note":"Value kept but may cause issues"} 
[2026-09-06 11:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172898537472,"note":"Value kept but may cause issues"} 
[2026-09-06 11:15:47] 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-09-06 11:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788673434000,"timestamp_ms":1788673434000,"timestamp_seconds":1788673434,"priority":1,"record_length":96,"hex_timestamp":"000001a0753ea190"} 
[2026-09-06 11:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 11:15:47] 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-09-06 11:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":172438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":172438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":172438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900393728001,"66":12863,"106":206,"83":41984,"24":0,"16":18173681666621440,"45":1830502172898537472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 11:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900393728001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:15:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 11:15:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18173681666621440,"km_value":18173681666621.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172898537472,"description":"Unknown IO ID 45"} 
[2026-09-06 11:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900393728001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172898537472}} 
[2026-09-06 11:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":172438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:15:47] local.INFO: GPS data processed {"connection_id":172438,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:15:47] local.INFO: Acknowledgment sent {"connection_id":172438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:15:48] local.INFO: TCP Data received {"connection_id":172439,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:15:48] local.INFO: Processing buffer {"connection_id":172439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:15:48] local.INFO: IMEI packet received {"connection_id":172439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":172439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:15:52] local.INFO: TCP Data received {"connection_id":172439,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:15:52] local.INFO: Processing buffer {"connection_id":172439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:15:52] local.INFO: IMEI packet received {"connection_id":172439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":172439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:15:53] local.INFO: TCP Data received {"connection_id":172439,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0753e8e08012d3e0ec0069953e80010013233..."} 
[2026-09-06 11:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753e8e08012d3e0ec0069953e80010013233..."} 
[2026-09-06 11:15:53] local.INFO: Processing buffer {"connection_id":172439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753e8e08012d3e0ec0069953e80010013233..."} 
[2026-09-06 11:15:53] local.INFO: Packet analysis {"connection_id":172439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753e"} 
[2026-09-06 11:15:53] local.INFO: Extracted packet for processing {"connection_id":172439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753e"} 
[2026-09-06 11:15:53] local.INFO: GPS Element Parsed {"raw_longitude":759041728,"raw_latitude":110711784,"longitude_deg":75.9041728,"latitude_deg":11.0711784,"altitude":16,"angle":306,"satellites":51,"speed":38,"hex_longitude":"2d3e0ec0","hex_latitude":"069953e8","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900396288001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400612559138324480,"note":"Value kept but may cause issues"} 
[2026-09-06 11:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4477281745389563904,"note":"Value kept but may cause issues"} 
[2026-09-06 11:15:53] 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-09-06 11:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788673429000,"timestamp_ms":1788673429000,"timestamp_seconds":1788673429,"priority":1,"record_length":96,"hex_timestamp":"000001a0753e8e08"} 
[2026-09-06 11:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:15: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-09-06 11: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":217,"data_length":795,"current_offset":136} 
[2026-09-06 11:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11: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-09-06 11:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900396288001,"66":27745,"242":206,"81":47616,"24":38,"16":400612559138324480,"45":4477281745389563904},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-09-06 11:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900396288001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:15:53] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-06 11:15:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400612559138324480,"km_value":400612559138324.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4477281745389563904,"description":"Unknown IO ID 45"} 
[2026-09-06 11:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900396288001,"power":27745,"unknown_242":206,"unknown_81":47616,"ignition":38,"odometer":null,"unknown_45":4477281745389563904}} 
[2026-09-06 11:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":172439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:15:53] local.INFO: GPS data processed {"connection_id":172439,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:15:53] local.INFO: Acknowledgment sent {"connection_id":172439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:16:09] local.INFO: TCP Data received {"connection_id":172440,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:16:09] local.INFO: Processing buffer {"connection_id":172440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:16:09] local.INFO: IMEI packet received {"connection_id":172440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":172440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:16:09] local.INFO: TCP Data received {"connection_id":172440,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:16:09] local.INFO: Processing buffer {"connection_id":172440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:16:09] local.INFO: IMEI packet received {"connection_id":172440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":172440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:16:14] local.INFO: TCP Data received {"connection_id":172440,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:16:14] local.INFO: Processing buffer {"connection_id":172440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:16:14] local.INFO: IMEI packet received {"connection_id":172440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":172440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:16:15] local.INFO: TCP Data received {"connection_id":172440,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753ff568012d195ac007200f08004600cc24..."} 
[2026-09-06 11:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753ff568012d195ac007200f08004600cc24..."} 
[2026-09-06 11:16:15] local.INFO: Processing buffer {"connection_id":172440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753ff568012d195ac007200f08004600cc24..."} 
[2026-09-06 11:16:15] local.INFO: Packet analysis {"connection_id":172440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753f"} 
[2026-09-06 11:16:15] local.INFO: Extracted packet for processing {"connection_id":172440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753f"} 
[2026-09-06 11:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756636352,"raw_latitude":119541512,"longitude_deg":75.6636352,"latitude_deg":11.9541512,"altitude":70,"angle":204,"satellites":36,"speed":8,"hex_longitude":"2d195ac0","hex_latitude":"07200f08","is_valid_coordinates":true} 
[2026-09-06 11:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900418560001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18174248602304512,"note":"Value kept but may cause issues"} 
[2026-09-06 11:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827898529362311168,"note":"Value kept but may cause issues"} 
[2026-09-06 11:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788673521000,"timestamp_ms":1788673521000,"timestamp_seconds":1788673521,"priority":1,"record_length":96,"hex_timestamp":"000001a0753ff568"} 
[2026-09-06 11:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-06 11:16:15] 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-09-06 11:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900418560001,"66":14004,"102":206,"83":41984,"24":8,"16":18174248602304512,"45":1827898529362311168},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900418560001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:16:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:16:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18174248602304512,"km_value":18174248602304.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827898529362311168,"description":"Unknown IO ID 45"} 
[2026-09-06 11:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900418560001,"power":14004,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1827898529362311168}} 
[2026-09-06 11:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":172440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:16:15] local.INFO: GPS data processed {"connection_id":172440,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:16:15] local.INFO: Acknowledgment sent {"connection_id":172440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:16:24] local.INFO: TCP Data received {"connection_id":172439,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0753ffd38012d3dc2c0069ab970002501512e..."} 
[2026-09-06 11:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753ffd38012d3dc2c0069ab970002501512e..."} 
[2026-09-06 11:16:24] local.INFO: Processing buffer {"connection_id":172439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753ffd38012d3dc2c0069ab970002501512e..."} 
[2026-09-06 11:16:24] local.INFO: Packet analysis {"connection_id":172439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753f"} 
[2026-09-06 11:16:24] local.INFO: Extracted packet for processing {"connection_id":172439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753f"} 
[2026-09-06 11:16:24] local.INFO: GPS Element Parsed {"raw_longitude":759022272,"raw_latitude":110803312,"longitude_deg":75.9022272,"latitude_deg":11.0803312,"altitude":37,"angle":337,"satellites":46,"speed":41,"hex_longitude":"2d3dc2c0","hex_latitude":"069ab970","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900419584001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400617227767775232,"note":"Value kept but may cause issues"} 
[2026-09-06 11:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4454130428577120256,"note":"Value kept but may cause issues"} 
[2026-09-06 11:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788673523000,"timestamp_ms":1788673523000,"timestamp_seconds":1788673523,"priority":1,"record_length":96,"hex_timestamp":"000001a0753ffd38"} 
[2026-09-06 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-09-06 11:16: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-09-06 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 11:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 11:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11: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-09-06 11:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900419584001,"66":27767,"225":206,"81":47616,"24":41,"16":400617227767775232,"45":4454130428577120256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-09-06 11:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900419584001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:16:24] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-06 11:16:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400617227767775232,"km_value":400617227767775.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4454130428577120256,"description":"Unknown IO ID 45"} 
[2026-09-06 11:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900419584001,"power":27767,"unknown_225":206,"unknown_81":47616,"ignition":41,"odometer":null,"unknown_45":4454130428577120256}} 
[2026-09-06 11:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":172439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:16:24] local.INFO: GPS data processed {"connection_id":172439,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:16:24] local.INFO: Acknowledgment sent {"connection_id":172439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:16:40] local.INFO: TCP Data received {"connection_id":172657,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:16:40] local.INFO: Processing buffer {"connection_id":172657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:16:40] local.INFO: IMEI packet received {"connection_id":172657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 11:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":172657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:16:46] local.INFO: TCP Data received {"connection_id":172657,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:16:46] local.INFO: Processing buffer {"connection_id":172657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:16:46] local.INFO: IMEI packet received {"connection_id":172657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 11:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":172657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:16:46] local.INFO: TCP Data received {"connection_id":172440,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0753ffd38012d19598007200d90004600e526..."} 
[2026-09-06 11:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0753ffd38012d19598007200d90004600e526..."} 
[2026-09-06 11:16:46] local.INFO: Processing buffer {"connection_id":172440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0753ffd38012d19598007200d90004600e526..."} 
[2026-09-06 11:16:46] local.INFO: Packet analysis {"connection_id":172440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0753f"} 
[2026-09-06 11:16:46] local.INFO: Extracted packet for processing {"connection_id":172440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0753f"} 
[2026-09-06 11:16:46] local.INFO: GPS Element Parsed {"raw_longitude":756636032,"raw_latitude":119541136,"longitude_deg":75.6636032,"latitude_deg":11.9541136,"altitude":70,"angle":229,"satellites":38,"speed":9,"hex_longitude":"2d195980","hex_latitude":"07200d90","is_valid_coordinates":true} 
[2026-09-06 11:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900421376001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18174270077140992,"note":"Value kept but may cause issues"} 
[2026-09-06 11:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826983735687317504,"note":"Value kept but may cause issues"} 
[2026-09-06 11:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788673523000,"timestamp_ms":1788673523000,"timestamp_seconds":1788673523,"priority":1,"record_length":96,"hex_timestamp":"000001a0753ffd38"} 
[2026-09-06 11:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-06 11:16:46] 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-09-06 11:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900421376001,"66":14080,"102":206,"83":41984,"24":9,"16":18174270077140992,"45":1826983735687317504},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 11:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900421376001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:16:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 11:16:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18174270077140992,"km_value":18174270077140.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826983735687317504,"description":"Unknown IO ID 45"} 
[2026-09-06 11:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900421376001,"power":14080,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1826983735687317504}} 
[2026-09-06 11:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":172440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:16:46] local.INFO: GPS data processed {"connection_id":172440,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:16:46] local.INFO: Acknowledgment sent {"connection_id":172440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:16:47] local.INFO: TCP Data received {"connection_id":172658,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:16:47] local.INFO: Processing buffer {"connection_id":172658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:16:47] local.INFO: IMEI packet received {"connection_id":172658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":172658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:16:48] local.INFO: TCP Data received {"connection_id":172658,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:16:48] local.INFO: Processing buffer {"connection_id":172658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:16:48] local.INFO: IMEI packet received {"connection_id":172658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":172658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:16:53] local.INFO: TCP Data received {"connection_id":172658,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:16:53] local.INFO: Processing buffer {"connection_id":172658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:16:53] local.INFO: IMEI packet received {"connection_id":172658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":172658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:16:55] local.INFO: TCP Data received {"connection_id":172658,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075402060012d3db440069add40002501512f..."} 
[2026-09-06 11:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075402060012d3db440069add40002501512f..."} 
[2026-09-06 11:16:55] local.INFO: Processing buffer {"connection_id":172658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075402060012d3db440069add40002501512f..."} 
[2026-09-06 11:16:55] local.INFO: Packet analysis {"connection_id":172658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07540"} 
[2026-09-06 11:16:55] local.INFO: Extracted packet for processing {"connection_id":172658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07540"} 
[2026-09-06 11:16:55] local.INFO: GPS Element Parsed {"raw_longitude":759018560,"raw_latitude":110812480,"longitude_deg":75.901856,"latitude_deg":11.081248,"altitude":37,"angle":337,"satellites":47,"speed":46,"hex_longitude":"2d3db440","hex_latitude":"069add40","is_valid_coordinates":true} 
[2026-09-06 11:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900421888001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400617708804112384,"note":"Value kept but may cause issues"} 
[2026-09-06 11:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4450330516393652224,"note":"Value kept but may cause issues"} 
[2026-09-06 11:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788673532000,"timestamp_ms":1788673532000,"timestamp_seconds":1788673532,"priority":1,"record_length":96,"hex_timestamp":"000001a075402060"} 
[2026-09-06 11:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:16: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-09-06 11:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 11:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900421888001,"66":27843,"225":206,"81":47616,"24":46,"16":400617708804112384,"45":4450330516393652224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-09-06 11:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900421888001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:16:55] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-06 11:16:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400617708804112384,"km_value":400617708804112.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4450330516393652224,"description":"Unknown IO ID 45"} 
[2026-09-06 11:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900421888001,"power":27843,"unknown_225":206,"unknown_81":47616,"ignition":46,"odometer":null,"unknown_45":4450330516393652224}} 
[2026-09-06 11:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":172658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:16:55] local.INFO: GPS data processed {"connection_id":172658,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:16:55] local.INFO: Acknowledgment sent {"connection_id":172658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:17:09] local.INFO: TCP Data received {"connection_id":173815,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:17:09] local.INFO: Processing buffer {"connection_id":173815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:17:09] local.INFO: IMEI packet received {"connection_id":173815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":173815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:17:09] local.INFO: TCP Data received {"connection_id":173815,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:17:09] local.INFO: Processing buffer {"connection_id":173815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:17:09] local.INFO: IMEI packet received {"connection_id":173815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":173815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:17:12] local.INFO: TCP Data received {"connection_id":173815,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:17:12] local.INFO: Processing buffer {"connection_id":173815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:17:12] local.INFO: IMEI packet received {"connection_id":173815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":173815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:17:14] local.INFO: TCP Data received {"connection_id":173815,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:17:14] local.INFO: Processing buffer {"connection_id":173815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:17:14] local.INFO: IMEI packet received {"connection_id":173815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":173815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:17:14] local.INFO: TCP Data received {"connection_id":173815,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07540b8b8012d197fc0071fef48003d002f2a..."} 
[2026-09-06 11:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07540b8b8012d197fc0071fef48003d002f2a..."} 
[2026-09-06 11:17:14] local.INFO: Processing buffer {"connection_id":173815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07540b8b8012d197fc0071fef48003d002f2a..."} 
[2026-09-06 11:17:14] local.INFO: Packet analysis {"connection_id":173815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07540"} 
[2026-09-06 11:17:14] local.INFO: Extracted packet for processing {"connection_id":173815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07540"} 
[2026-09-06 11:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756645824,"raw_latitude":119533384,"longitude_deg":75.6645824,"latitude_deg":11.9533384,"altitude":61,"angle":47,"satellites":42,"speed":19,"hex_longitude":"2d197fc0","hex_latitude":"071fef48","is_valid_coordinates":true} 
[2026-09-06 11:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900433920001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18175223559880704,"note":"Value kept but may cause issues"} 
[2026-09-06 11:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836976097358385152,"note":"Value kept but may cause issues"} 
[2026-09-06 11:17:14] 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-09-06 11:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788673571000,"timestamp_ms":1788673571000,"timestamp_seconds":1788673571,"priority":1,"record_length":96,"hex_timestamp":"000001a07540b8b8"} 
[2026-09-06 11:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-06 11:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900433920001,"66":14157,"101":206,"83":41984,"24":19,"16":18175223559880704,"45":1836976097358385152},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-06 11:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900433920001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:17:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-06 11:17:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18175223559880704,"km_value":18175223559880.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836976097358385152,"description":"Unknown IO ID 45"} 
[2026-09-06 11:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900433920001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1836976097358385152}} 
[2026-09-06 11:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":173815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:17:15] local.INFO: GPS data processed {"connection_id":173815,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:17:15] local.INFO: Acknowledgment sent {"connection_id":173815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:17:25] local.INFO: TCP Data received {"connection_id":172658,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075403fa0012d3da540069b00d80026015131..."} 
[2026-09-06 11:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075403fa0012d3da540069b00d80026015131..."} 
[2026-09-06 11:17:25] local.INFO: Processing buffer {"connection_id":172658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075403fa0012d3da540069b00d80026015131..."} 
[2026-09-06 11:17:25] local.INFO: Packet analysis {"connection_id":172658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07540"} 
[2026-09-06 11:17:25] local.INFO: Extracted packet for processing {"connection_id":172658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07540"} 
[2026-09-06 11:17:25] local.INFO: GPS Element Parsed {"raw_longitude":759014720,"raw_latitude":110821592,"longitude_deg":75.901472,"latitude_deg":11.0821592,"altitude":38,"angle":337,"satellites":49,"speed":51,"hex_longitude":"2d3da540","hex_latitude":"069b00d8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900424192001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400618185545482240,"note":"Value kept but may cause issues"} 
[2026-09-06 11:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4446249129233694720,"note":"Value kept but may cause issues"} 
[2026-09-06 11:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788673540000,"timestamp_ms":1788673540000,"timestamp_seconds":1788673540,"priority":1,"record_length":96,"hex_timestamp":"000001a075403fa0"} 
[2026-09-06 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-09-06 11:17: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-09-06 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-06 11:17:25] 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-09-06 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-09-06 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-09-06 11:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:17: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-09-06 11:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900424192001,"66":27800,"225":206,"81":47616,"24":51,"16":400618185545482240,"45":4446249129233694720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-09-06 11:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900424192001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:17:25] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-06 11:17:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400618185545482240,"km_value":400618185545482.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4446249129233694720,"description":"Unknown IO ID 45"} 
[2026-09-06 11:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900424192001,"power":27800,"unknown_225":206,"unknown_81":47616,"ignition":51,"odometer":null,"unknown_45":4446249129233694720}} 
[2026-09-06 11:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":172658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:17:25] local.INFO: GPS data processed {"connection_id":172658,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:17:25] local.INFO: Acknowledgment sent {"connection_id":172658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:17:46] local.INFO: TCP Data received {"connection_id":173815,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075417c08012d19e0c007200928002800692a..."} 
[2026-09-06 11:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075417c08012d19e0c007200928002800692a..."} 
[2026-09-06 11:17:46] local.INFO: Processing buffer {"connection_id":173815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075417c08012d19e0c007200928002800692a..."} 
[2026-09-06 11:17:46] local.INFO: Packet analysis {"connection_id":173815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07541"} 
[2026-09-06 11:17:46] local.INFO: Extracted packet for processing {"connection_id":173815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07541"} 
[2026-09-06 11:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756670656,"raw_latitude":119540008,"longitude_deg":75.6670656,"latitude_deg":11.9540008,"altitude":40,"angle":105,"satellites":42,"speed":10,"hex_longitude":"2d19e0c0","hex_latitude":"07200928","is_valid_coordinates":true} 
[2026-09-06 11:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900446720001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18176546409807872,"note":"Value kept but may cause issues"} 
[2026-09-06 11:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864490276333643776,"note":"Value kept but may cause issues"} 
[2026-09-06 11:17:46] 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-09-06 11:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788673621000,"timestamp_ms":1788673621000,"timestamp_seconds":1788673621,"priority":1,"record_length":96,"hex_timestamp":"000001a075417c08"} 
[2026-09-06 11:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-06 11:17:46] 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-09-06 11:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900446720001,"66":14157,"101":206,"83":41984,"24":10,"16":18176546409807872,"45":1864490276333643776},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-06 11:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900446720001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:17:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-06 11:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18176546409807872,"km_value":18176546409807.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864490276333643776,"description":"Unknown IO ID 45"} 
[2026-09-06 11:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900446720001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1864490276333643776}} 
[2026-09-06 11:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":173815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:17:46] local.INFO: GPS data processed {"connection_id":173815,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:17:46] local.INFO: Acknowledgment sent {"connection_id":173815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:17:47] local.INFO: TCP Data received {"connection_id":172441,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:17:47] local.INFO: Processing buffer {"connection_id":172441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:17:47] local.INFO: IMEI packet received {"connection_id":172441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":172441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:17:48] local.INFO: TCP Data received {"connection_id":172441,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:17:48] local.INFO: Processing buffer {"connection_id":172441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:17:48] local.INFO: IMEI packet received {"connection_id":172441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":172441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:17:53] local.INFO: TCP Data received {"connection_id":172441,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:17:53] local.INFO: Processing buffer {"connection_id":172441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:17:53] local.INFO: IMEI packet received {"connection_id":172441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":172441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:18:09] local.INFO: TCP Data received {"connection_id":172441,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075417c08012d3d4440069c87b8002d014c31..."} 
[2026-09-06 11:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075417c08012d3d4440069c87b8002d014c31..."} 
[2026-09-06 11:18:09] local.INFO: Processing buffer {"connection_id":172441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075417c08012d3d4440069c87b8002d014c31..."} 
[2026-09-06 11:18:09] local.INFO: Packet analysis {"connection_id":172441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07541"} 
[2026-09-06 11:18:09] local.INFO: Extracted packet for processing {"connection_id":172441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07541"} 
[2026-09-06 11:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758989888,"raw_latitude":110921656,"longitude_deg":75.8989888,"latitude_deg":11.0921656,"altitude":45,"angle":332,"satellites":49,"speed":46,"hex_longitude":"2d3d4440","hex_latitude":"069c87b8","is_valid_coordinates":true} 
[2026-09-06 11:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900444928001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400623206362251264,"note":"Value kept but may cause issues"} 
[2026-09-06 11:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4418453475309150208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:18:09] 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-09-06 11:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788673621000,"timestamp_ms":1788673621000,"timestamp_seconds":1788673621,"priority":1,"record_length":96,"hex_timestamp":"000001a075417c08"} 
[2026-09-06 11:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:18: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-09-06 11:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-06 11:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900444928001,"66":27843,"34":206,"81":47616,"24":46,"16":400623206362251264,"45":4418453475309150208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-06 11:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900444928001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:18:09] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-06 11:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400623206362251264,"km_value":400623206362251.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4418453475309150208,"description":"Unknown IO ID 45"} 
[2026-09-06 11:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900444928001,"power":27843,"unknown_34":206,"unknown_81":47616,"ignition":46,"odometer":null,"unknown_45":4418453475309150208}} 
[2026-09-06 11:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":172441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:18:09] local.INFO: GPS data processed {"connection_id":172441,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:18:09] local.INFO: Acknowledgment sent {"connection_id":172441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:18:13] local.INFO: TCP Data received {"connection_id":173816,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:18:13] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:18:13] local.INFO: IMEI packet received {"connection_id":173816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":173816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:18:14] local.INFO: TCP Data received {"connection_id":173816,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:18:14] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:18:14] local.INFO: IMEI packet received {"connection_id":173816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":173816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:18:16] local.INFO: TCP Data received {"connection_id":173816,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:18:16] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:18:16] local.INFO: IMEI packet received {"connection_id":173816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":173816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:18:17] local.INFO: TCP Data received {"connection_id":173816,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075417ff0012d19e1c0072008780028008229..."} 
[2026-09-06 11:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075417ff0012d19e1c0072008780028008229..."} 
[2026-09-06 11:18:17] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075417ff0012d19e1c0072008780028008229..."} 
[2026-09-06 11:18:17] local.INFO: Packet analysis {"connection_id":173816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07541"} 
[2026-09-06 11:18:17] local.INFO: Extracted packet for processing {"connection_id":173816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07541"} 
[2026-09-06 11:18:17] local.INFO: GPS Element Parsed {"raw_longitude":756670912,"raw_latitude":119539832,"longitude_deg":75.6670912,"latitude_deg":11.9539832,"altitude":40,"angle":130,"satellites":41,"speed":12,"hex_longitude":"2d19e1c0","hex_latitude":"07200878","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900446976001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18176559294709760,"note":"Value kept but may cause issues"} 
[2026-09-06 11:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864701382566160384,"note":"Value kept but may cause issues"} 
[2026-09-06 11:18:17] 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-09-06 11:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788673622000,"timestamp_ms":1788673622000,"timestamp_seconds":1788673622,"priority":1,"record_length":96,"hex_timestamp":"000001a075417ff0"} 
[2026-09-06 11:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-06 11:18:17] 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-09-06 11: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-09-06 11:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900446976001,"66":14189,"101":206,"83":41984,"24":12,"16":18176559294709760,"45":1864701382566160384},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-06 11:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900446976001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:18:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-06 11:18:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18176559294709760,"km_value":18176559294709.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864701382566160384,"description":"Unknown IO ID 45"} 
[2026-09-06 11:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900446976001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1864701382566160384}} 
[2026-09-06 11:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":173816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:18:17] local.INFO: GPS data processed {"connection_id":173816,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:18:17] local.INFO: Acknowledgment sent {"connection_id":173816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:18:48] local.INFO: TCP Data received {"connection_id":172442,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:18:48] local.INFO: Processing buffer {"connection_id":172442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:18:48] local.INFO: IMEI packet received {"connection_id":172442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":172442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:18:48] local.INFO: TCP Data received {"connection_id":172442,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:18:48] local.INFO: Processing buffer {"connection_id":172442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:18:48] local.INFO: IMEI packet received {"connection_id":172442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":172442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:18:53] local.INFO: TCP Data received {"connection_id":173816,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075424340012d1a7ac0071fc948002a009629..."} 
[2026-09-06 11:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075424340012d1a7ac0071fc948002a009629..."} 
[2026-09-06 11:18:53] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075424340012d1a7ac0071fc948002a009629..."} 
[2026-09-06 11:18:53] local.INFO: Packet analysis {"connection_id":173816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07542"} 
[2026-09-06 11:18:53] local.INFO: Extracted packet for processing {"connection_id":173816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07542"} 
[2026-09-06 11:18:53] local.INFO: GPS Element Parsed {"raw_longitude":756710080,"raw_latitude":119523656,"longitude_deg":75.671008,"latitude_deg":11.9523656,"altitude":42,"angle":150,"satellites":41,"speed":39,"hex_longitude":"2d1a7ac0","hex_latitude":"071fc948","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900459264001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18178668123652096,"note":"Value kept but may cause issues"} 
[2026-09-06 11:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906148572883228672,"note":"Value kept but may cause issues"} 
[2026-09-06 11:18:53] 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-09-06 11:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788673672000,"timestamp_ms":1788673672000,"timestamp_seconds":1788673672,"priority":1,"record_length":96,"hex_timestamp":"000001a075424340"} 
[2026-09-06 11:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:18: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-09-06 11: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-06 11:18:53] 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-09-06 11: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-09-06 11:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900459264001,"66":14265,"101":206,"83":41984,"24":39,"16":18178668123652096,"45":1906148572883228672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-06 11:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900459264001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:18:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-06 11:18:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18178668123652096,"km_value":18178668123652.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906148572883228672,"description":"Unknown IO ID 45"} 
[2026-09-06 11:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900459264001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1906148572883228672}} 
[2026-09-06 11:18:53] local.INFO: TCP Data received {"connection_id":172442,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:18:53] local.INFO: Processing buffer {"connection_id":172442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:18:53] local.INFO: IMEI packet received {"connection_id":172442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":172442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":173816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:18:53] local.INFO: GPS data processed {"connection_id":173816,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:18:53] local.INFO: Acknowledgment sent {"connection_id":173816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:18:55] local.INFO: TCP Data received {"connection_id":172442,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075417c08012d3d4440069c87b8002d014c31..."} 
[2026-09-06 11:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075417c08012d3d4440069c87b8002d014c31..."} 
[2026-09-06 11:18:55] local.INFO: Processing buffer {"connection_id":172442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075417c08012d3d4440069c87b8002d014c31..."} 
[2026-09-06 11:18:55] local.INFO: Packet analysis {"connection_id":172442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07541"} 
[2026-09-06 11:18:55] local.INFO: Extracted packet for processing {"connection_id":172442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07541"} 
[2026-09-06 11:18:55] local.INFO: GPS Element Parsed {"raw_longitude":758989888,"raw_latitude":110921656,"longitude_deg":75.8989888,"latitude_deg":11.0921656,"altitude":45,"angle":332,"satellites":49,"speed":46,"hex_longitude":"2d3d4440","hex_latitude":"069c87b8","is_valid_coordinates":true} 
[2026-09-06 11:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900446976001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400623206362251264,"note":"Value kept but may cause issues"} 
[2026-09-06 11:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4414723931870050304,"note":"Value kept but may cause issues"} 
[2026-09-06 11:18:55] 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-09-06 11:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788673621000,"timestamp_ms":1788673621000,"timestamp_seconds":1788673621,"priority":1,"record_length":96,"hex_timestamp":"000001a075417c08"} 
[2026-09-06 11:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:18: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-09-06 11:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-06 11:18:55] 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-09-06 11:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900446976001,"66":27843,"34":206,"81":47616,"24":46,"16":400623206362251264,"45":4414723931870050304},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-06 11:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900446976001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:18:55] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-06 11:18:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400623206362251264,"km_value":400623206362251.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4414723931870050304,"description":"Unknown IO ID 45"} 
[2026-09-06 11:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900446976001,"power":27843,"unknown_34":206,"unknown_81":47616,"ignition":46,"odometer":null,"unknown_45":4414723931870050304}} 
[2026-09-06 11:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":172442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:18:55] local.INFO: GPS data processed {"connection_id":172442,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:18:55] local.INFO: Acknowledgment sent {"connection_id":172442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:19:09] local.INFO: TCP Data received {"connection_id":172659,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:19:09] local.INFO: Processing buffer {"connection_id":172659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:19:09] local.INFO: IMEI packet received {"connection_id":172659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":172659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:19:10] local.INFO: TCP Data received {"connection_id":172659,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:19:10] local.INFO: Processing buffer {"connection_id":172659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:19:10] local.INFO: IMEI packet received {"connection_id":172659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":172659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:19:14] local.INFO: TCP Data received {"connection_id":172659,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:19:14] local.INFO: Processing buffer {"connection_id":172659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:19:14] local.INFO: IMEI packet received {"connection_id":172659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":172659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:19:16] local.INFO: TCP Data received {"connection_id":172659,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075426668012d1a8e80071facd8002a008929..."} 
[2026-09-06 11:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075426668012d1a8e80071facd8002a008929..."} 
[2026-09-06 11:19:16] local.INFO: Processing buffer {"connection_id":172659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075426668012d1a8e80071facd8002a008929..."} 
[2026-09-06 11:19:16] local.INFO: Packet analysis {"connection_id":172659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07542"} 
[2026-09-06 11:19:16] local.INFO: Extracted packet for processing {"connection_id":172659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07542"} 
[2026-09-06 11:19:16] local.INFO: GPS Element Parsed {"raw_longitude":756715136,"raw_latitude":119516376,"longitude_deg":75.6715136,"latitude_deg":11.9516376,"altitude":42,"angle":137,"satellites":41,"speed":41,"hex_longitude":"2d1a8e80","hex_latitude":"071facd8","is_valid_coordinates":true} 
[2026-09-06 11:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900460032001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18179097620381696,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908048528975415296,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:16] 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-09-06 11:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788673681000,"timestamp_ms":1788673681000,"timestamp_seconds":1788673681,"priority":1,"record_length":96,"hex_timestamp":"000001a075426668"} 
[2026-09-06 11:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-06 11:19:16] 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-09-06 11:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900460032001,"66":13993,"101":206,"83":41984,"24":41,"16":18179097620381696,"45":1908048528975415296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-06 11:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900460032001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:19:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-06 11:19:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18179097620381696,"km_value":18179097620381.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908048528975415296,"description":"Unknown IO ID 45"} 
[2026-09-06 11:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900460032001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1908048528975415296}} 
[2026-09-06 11:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":172659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:19:16] local.INFO: GPS data processed {"connection_id":172659,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:19:16] local.INFO: Acknowledgment sent {"connection_id":172659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:19:20] local.INFO: TCP Data received {"connection_id":172659,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0754281c0012d1aa300071f9ac0002a007629..."} 
[2026-09-06 11:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754281c0012d1aa300071f9ac0002a007629..."} 
[2026-09-06 11:19:20] local.INFO: Processing buffer {"connection_id":172659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754281c0012d1aa300071f9ac0002a007629..."} 
[2026-09-06 11:19:20] local.INFO: Packet analysis {"connection_id":172659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07542"} 
[2026-09-06 11:19:20] local.INFO: Extracted packet for processing {"connection_id":172659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07542"} 
[2026-09-06 11:19:20] local.INFO: GPS Element Parsed {"raw_longitude":756720384,"raw_latitude":119511744,"longitude_deg":75.6720384,"latitude_deg":11.9511744,"altitude":42,"angle":118,"satellites":41,"speed":33,"hex_longitude":"2d1aa300","hex_latitude":"071f9ac0","is_valid_coordinates":true} 
[2026-09-06 11:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900462336001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18179432627830784,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913607659763587072,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:20] 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-09-06 11:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788673688000,"timestamp_ms":1788673688000,"timestamp_seconds":1788673688,"priority":1,"record_length":96,"hex_timestamp":"000001a0754281c0"} 
[2026-09-06 11:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 11:19:20] 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-09-06 11:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900462336001,"66":14265,"101":206,"83":41984,"24":33,"16":18179432627830784,"45":1913607659763587072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-06 11:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900462336001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:19:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-06 11:19:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18179432627830784,"km_value":18179432627830.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913607659763587072,"description":"Unknown IO ID 45"} 
[2026-09-06 11:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900462336001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1913607659763587072}} 
[2026-09-06 11:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":172659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:19:20] local.INFO: GPS data processed {"connection_id":172659,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:19:20] local.INFO: Acknowledgment sent {"connection_id":172659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:19:27] local.INFO: TCP Data received {"connection_id":172442,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07542eb38012d3c6bc0069df8780036014b32..."} 
[2026-09-06 11:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07542eb38012d3c6bc0069df8780036014b32..."} 
[2026-09-06 11:19:27] local.INFO: Processing buffer {"connection_id":172442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07542eb38012d3c6bc0069df8780036014b32..."} 
[2026-09-06 11:19:27] local.INFO: Packet analysis {"connection_id":172442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07542"} 
[2026-09-06 11:19:27] local.INFO: Extracted packet for processing {"connection_id":172442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07542"} 
[2026-09-06 11:19:27] local.INFO: GPS Element Parsed {"raw_longitude":758934464,"raw_latitude":111016056,"longitude_deg":75.8934464,"latitude_deg":11.1016056,"altitude":54,"angle":331,"satellites":50,"speed":42,"hex_longitude":"2d3c6bc0","hex_latitude":"069df878","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900468736001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400628660970717184,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4359977048921942016,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:27] 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-09-06 11:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788673715000,"timestamp_ms":1788673715000,"timestamp_seconds":1788673715,"priority":1,"record_length":96,"hex_timestamp":"000001a07542eb38"} 
[2026-09-06 11:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:19: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-09-06 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 11:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900468736001,"66":27843,"35":206,"81":47616,"24":42,"16":400628660970717184,"45":4359977048921942016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-09-06 11:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900468736001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:19:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-06 11:19:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400628660970717184,"km_value":400628660970717.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4359977048921942016,"description":"Unknown IO ID 45"} 
[2026-09-06 11:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900468736001,"power":27843,"unknown_35":206,"unknown_81":47616,"ignition":42,"odometer":null,"unknown_45":4359977048921942016}} 
[2026-09-06 11:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":172442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:19:27] local.INFO: GPS data processed {"connection_id":172442,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:19:27] local.INFO: Acknowledgment sent {"connection_id":172442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:19:51] local.INFO: TCP Data received {"connection_id":172659,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a075436450012d1af480071f40f8003f008828..."} 
[2026-09-06 11:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075436450012d1af480071f40f8003f008828..."} 
[2026-09-06 11:19:51] local.INFO: Processing buffer {"connection_id":172659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075436450012d1af480071f40f8003f008828..."} 
[2026-09-06 11:19:51] local.INFO: Packet analysis {"connection_id":172659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07543"} 
[2026-09-06 11:19:51] local.INFO: Extracted packet for processing {"connection_id":172659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07543"} 
[2026-09-06 11:19:51] local.INFO: GPS Element Parsed {"raw_longitude":756741248,"raw_latitude":119488760,"longitude_deg":75.6741248,"latitude_deg":11.948876,"altitude":63,"angle":136,"satellites":40,"speed":21,"hex_longitude":"2d1af480","hex_latitude":"071f40f8","is_valid_coordinates":true} 
[2026-09-06 11:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900478720001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18181567226576896,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941895894916030464,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:51] 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-09-06 11:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788673746000,"timestamp_ms":1788673746000,"timestamp_seconds":1788673746,"priority":1,"record_length":96,"hex_timestamp":"000001a075436450"} 
[2026-09-06 11:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:19: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-09-06 11:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-06 11:19: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-09-06 11:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900478720001,"66":13993,"101":206,"83":41984,"24":21,"16":18181567226576896,"45":1941895894916030464},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-06 11:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900478720001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:19:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-06 11:19:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18181567226576896,"km_value":18181567226576.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941895894916030464,"description":"Unknown IO ID 45"} 
[2026-09-06 11:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900478720001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1941895894916030464}} 
[2026-09-06 11:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":172659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:19:51] local.INFO: GPS data processed {"connection_id":172659,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:19:51] local.INFO: Acknowledgment sent {"connection_id":172659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:19:53] local.INFO: TCP Data received {"connection_id":175131,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:19:53] local.INFO: Processing buffer {"connection_id":175131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:19:53] local.INFO: IMEI packet received {"connection_id":175131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":175131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:19:55] local.INFO: TCP Data received {"connection_id":175131,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:19:55] local.INFO: Processing buffer {"connection_id":175131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:19:55] local.INFO: IMEI packet received {"connection_id":175131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":175131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:19:56] local.INFO: TCP Data received {"connection_id":175131,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07542eb38012d3c6bc0069df8780036014b32..."} 
[2026-09-06 11:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07542eb38012d3c6bc0069df8780036014b32..."} 
[2026-09-06 11:19:56] local.INFO: Processing buffer {"connection_id":175131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07542eb38012d3c6bc0069df8780036014b32..."} 
[2026-09-06 11:19:56] local.INFO: Packet analysis {"connection_id":175131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07542"} 
[2026-09-06 11:19:56] local.INFO: Extracted packet for processing {"connection_id":175131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07542"} 
[2026-09-06 11:19:56] local.INFO: GPS Element Parsed {"raw_longitude":758934464,"raw_latitude":111016056,"longitude_deg":75.8934464,"latitude_deg":11.1016056,"altitude":54,"angle":331,"satellites":50,"speed":42,"hex_longitude":"2d3c6bc0","hex_latitude":"069df878","is_valid_coordinates":true} 
[2026-09-06 11:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900471040001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400628660970717184,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4353784599436359680,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:56] 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-09-06 11:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788673715000,"timestamp_ms":1788673715000,"timestamp_seconds":1788673715,"priority":1,"record_length":96,"hex_timestamp":"000001a07542eb38"} 
[2026-09-06 11:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:19: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-09-06 11:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-06 11:19:56] 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-09-06 11:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:19: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-09-06 11:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900471040001,"66":27843,"35":206,"81":47616,"24":42,"16":400628660970717184,"45":4353784599436359680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-09-06 11:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900471040001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:19:56] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-06 11:19:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400628660970717184,"km_value":400628660970717.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":4353784599436359680,"description":"Unknown IO ID 45"} 
[2026-09-06 11:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900471040001,"power":27843,"unknown_35":206,"unknown_81":47616,"ignition":42,"odometer":null,"unknown_45":4353784599436359680}} 
[2026-09-06 11:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":175131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:19:56] local.INFO: GPS data processed {"connection_id":175131,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:19:56] local.INFO: Acknowledgment sent {"connection_id":175131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:19:58] local.INFO: TCP Data received {"connection_id":175131,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075430e60012d3c59c0069e1a200038014c32..."} 
[2026-09-06 11:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075430e60012d3c59c0069e1a200038014c32..."} 
[2026-09-06 11:19:58] local.INFO: Processing buffer {"connection_id":175131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075430e60012d3c59c0069e1a200038014c32..."} 
[2026-09-06 11:19:58] local.INFO: Packet analysis {"connection_id":175131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07543"} 
[2026-09-06 11:19:58] local.INFO: Extracted packet for processing {"connection_id":175131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07543"} 
[2026-09-06 11:19:58] local.INFO: GPS Element Parsed {"raw_longitude":758929856,"raw_latitude":111024672,"longitude_deg":75.8929856,"latitude_deg":11.1024672,"altitude":56,"angle":332,"satellites":50,"speed":43,"hex_longitude":"2d3c59c0","hex_latitude":"069e1a20","is_valid_coordinates":true} 
[2026-09-06 11:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900471040001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400629133417119744,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4353784599436359680,"note":"Value kept but may cause issues"} 
[2026-09-06 11:19:58] 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-09-06 11:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788673724000,"timestamp_ms":1788673724000,"timestamp_seconds":1788673724,"priority":1,"record_length":96,"hex_timestamp":"000001a075430e60"} 
[2026-09-06 11:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11: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-09-06 11:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-06 11:19: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-09-06 11:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:19: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-09-06 11:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900471040001,"66":27658,"108":206,"81":47616,"24":43,"16":400629133417119744,"45":4353784599436359680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-06 11:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900471040001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:19:58] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-06 11:19:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400629133417119744,"km_value":400629133417119.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4353784599436359680,"description":"Unknown IO ID 45"} 
[2026-09-06 11:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900471040001,"power":27658,"unknown_108":206,"unknown_81":47616,"ignition":43,"odometer":null,"unknown_45":4353784599436359680}} 
[2026-09-06 11:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":175131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:19:58] local.INFO: GPS data processed {"connection_id":175131,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:19:58] local.INFO: Acknowledgment sent {"connection_id":175131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:20:30] local.INFO: TCP Data received {"connection_id":175131,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075433188012d3c47c0069e3cf0003a014c30..."} 
[2026-09-06 11:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075433188012d3c47c0069e3cf0003a014c30..."} 
[2026-09-06 11:20:30] local.INFO: Processing buffer {"connection_id":175131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075433188012d3c47c0069e3cf0003a014c30..."} 
[2026-09-06 11:20:30] local.INFO: Packet analysis {"connection_id":175131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07543"} 
[2026-09-06 11:20:30] local.INFO: Extracted packet for processing {"connection_id":175131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07543"} 
[2026-09-06 11:20:30] local.INFO: GPS Element Parsed {"raw_longitude":758925248,"raw_latitude":111033584,"longitude_deg":75.8925248,"latitude_deg":11.1033584,"altitude":58,"angle":332,"satellites":48,"speed":44,"hex_longitude":"2d3c47c0","hex_latitude":"069e3cf0","is_valid_coordinates":true} 
[2026-09-06 11:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900473344001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400629614453456896,"note":"Value kept but may cause issues"} 
[2026-09-06 11:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4348718049857773568,"note":"Value kept but may cause issues"} 
[2026-09-06 11:20:30] 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-09-06 11:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788673733000,"timestamp_ms":1788673733000,"timestamp_seconds":1788673733,"priority":1,"record_length":96,"hex_timestamp":"000001a075433188"} 
[2026-09-06 11:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 11:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:20: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-09-06 11:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900473344001,"66":27800,"108":206,"81":47616,"24":44,"16":400629614453456896,"45":4348718049857773568},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-06 11:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900473344001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:20:30] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-06 11:20:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400629614453456896,"km_value":400629614453456.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4348718049857773568,"description":"Unknown IO ID 45"} 
[2026-09-06 11:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900473344001,"power":27800,"unknown_108":206,"unknown_81":47616,"ignition":44,"odometer":null,"unknown_45":4348718049857773568}} 
[2026-09-06 11:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":175131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:20:30] local.INFO: GPS data processed {"connection_id":175131,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:20:30] local.INFO: Acknowledgment sent {"connection_id":175131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:20:39] local.INFO: TCP Data received {"connection_id":172660,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:20:39] local.INFO: Processing buffer {"connection_id":172660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:20:39] local.INFO: IMEI packet received {"connection_id":172660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":172660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:20:40] local.INFO: TCP Data received {"connection_id":172660,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:20:40] local.INFO: Processing buffer {"connection_id":172660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:20:40] local.INFO: IMEI packet received {"connection_id":172660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":172660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:20:41] local.INFO: TCP Data received {"connection_id":172660,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:20:41] local.INFO: Processing buffer {"connection_id":172660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:20:41] local.INFO: IMEI packet received {"connection_id":172660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":172660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:20:42] local.INFO: TCP Data received {"connection_id":172660,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:20:42] local.INFO: Processing buffer {"connection_id":172660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:20:42] local.INFO: IMEI packet received {"connection_id":172660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":172660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:20:48] local.INFO: TCP Data received {"connection_id":172661,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:20:48] local.INFO: Processing buffer {"connection_id":172661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:20:48] local.INFO: IMEI packet received {"connection_id":172661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":172661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:20:49] local.INFO: TCP Data received {"connection_id":172661,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:20:49] local.INFO: Processing buffer {"connection_id":172661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:20:49] local.INFO: IMEI packet received {"connection_id":172661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":172661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:20:49] local.INFO: TCP Data received {"connection_id":172661,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0754350c8012d3c3680069e5ce8003b014c31..."} 
[2026-09-06 11:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754350c8012d3c3680069e5ce8003b014c31..."} 
[2026-09-06 11:20:49] local.INFO: Processing buffer {"connection_id":172661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754350c8012d3c3680069e5ce8003b014c31..."} 
[2026-09-06 11:20:49] local.INFO: Packet analysis {"connection_id":172661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07543"} 
[2026-09-06 11:20:49] local.INFO: Extracted packet for processing {"connection_id":172661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07543"} 
[2026-09-06 11:20:49] local.INFO: GPS Element Parsed {"raw_longitude":758920832,"raw_latitude":111041768,"longitude_deg":75.8920832,"latitude_deg":11.1041768,"altitude":59,"angle":332,"satellites":49,"speed":47,"hex_longitude":"2d3c3680","hex_latitude":"069e5ce8","is_valid_coordinates":true} 
[2026-09-06 11:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900475648001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400630065425022976,"note":"Value kept but may cause issues"} 
[2026-09-06 11:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4343651500279263232,"note":"Value kept but may cause issues"} 
[2026-09-06 11:20:49] 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-09-06 11:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788673741000,"timestamp_ms":1788673741000,"timestamp_seconds":1788673741,"priority":1,"record_length":96,"hex_timestamp":"000001a0754350c8"} 
[2026-09-06 11:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 11:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":172661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":172661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":172661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900475648001,"66":27876,"108":206,"81":47616,"24":47,"16":400630065425022976,"45":4343651500279263232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-06 11:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900475648001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:20:49] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-06 11:20:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400630065425022976,"km_value":400630065425023.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4343651500279263232,"description":"Unknown IO ID 45"} 
[2026-09-06 11:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900475648001,"power":27876,"unknown_108":206,"unknown_81":47616,"ignition":47,"odometer":null,"unknown_45":4343651500279263232}} 
[2026-09-06 11:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":172661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:20:49] local.INFO: GPS data processed {"connection_id":172661,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:20:49] local.INFO: Acknowledgment sent {"connection_id":172661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:20:53] local.INFO: TCP Data received {"connection_id":172661,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075437008012d3c2540069e7e18003c014c31..."} 
[2026-09-06 11:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075437008012d3c2540069e7e18003c014c31..."} 
[2026-09-06 11:20:53] local.INFO: Processing buffer {"connection_id":172661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075437008012d3c2540069e7e18003c014c31..."} 
[2026-09-06 11:20:53] local.INFO: Packet analysis {"connection_id":172661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07543"} 
[2026-09-06 11:20:53] local.INFO: Extracted packet for processing {"connection_id":172661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07543"} 
[2026-09-06 11:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758916416,"raw_latitude":111050264,"longitude_deg":75.8916416,"latitude_deg":11.1050264,"altitude":60,"angle":332,"satellites":49,"speed":48,"hex_longitude":"2d3c2540","hex_latitude":"069e7e18","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900477696001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400630529281490944,"note":"Value kept but may cause issues"} 
[2026-09-06 11:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4338796056933099520,"note":"Value kept but may cause issues"} 
[2026-09-06 11:20:53] 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-09-06 11:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788673749000,"timestamp_ms":1788673749000,"timestamp_seconds":1788673749,"priority":1,"record_length":96,"hex_timestamp":"000001a075437008"} 
[2026-09-06 11:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:20: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-09-06 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 11:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:20: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-09-06 11:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900477696001,"66":27876,"108":206,"81":47616,"24":48,"16":400630529281490944,"45":4338796056933099520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-06 11:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900477696001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:20:53] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-06 11:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400630529281490944,"km_value":400630529281490.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4338796056933099520,"description":"Unknown IO ID 45"} 
[2026-09-06 11:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900477696001,"power":27876,"unknown_108":206,"unknown_81":47616,"ignition":48,"odometer":null,"unknown_45":4338796056933099520}} 
[2026-09-06 11:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":172661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:20:53] local.INFO: GPS data processed {"connection_id":172661,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:20:53] local.INFO: Acknowledgment sent {"connection_id":172661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:21:25] local.INFO: TCP Data received {"connection_id":172661,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07544b440012d3c0bc0069ffe28003c001131..."} 
[2026-09-06 11:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07544b440012d3c0bc0069ffe28003c001131..."} 
[2026-09-06 11:21:25] local.INFO: Processing buffer {"connection_id":172661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07544b440012d3c0bc0069ffe28003c001131..."} 
[2026-09-06 11:21:25] local.INFO: Packet analysis {"connection_id":172661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07544"} 
[2026-09-06 11:21:25] local.INFO: Extracted packet for processing {"connection_id":172661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07544"} 
[2026-09-06 11:21:25] local.INFO: GPS Element Parsed {"raw_longitude":758909888,"raw_latitude":111148584,"longitude_deg":75.8909888,"latitude_deg":11.1148584,"altitude":60,"angle":17,"satellites":49,"speed":57,"hex_longitude":"2d3c0bc0","hex_latitude":"069ffe28","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900499200001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400635507148587008,"note":"Value kept but may cause issues"} 
[2026-09-06 11:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4324018620680689664,"note":"Value kept but may cause issues"} 
[2026-09-06 11:21:25] 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-09-06 11:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788673832000,"timestamp_ms":1788673832000,"timestamp_seconds":1788673832,"priority":1,"record_length":96,"hex_timestamp":"000001a07544b440"} 
[2026-09-06 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-09-06 11:21: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-09-06 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 11:21:25] 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-09-06 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-09-06 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-09-06 11:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:21: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-09-06 11:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900499200001,"66":28093,"220":206,"81":47616,"24":57,"16":400635507148587008,"45":4324018620680689664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-06 11:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900499200001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:21:25] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-06 11:21:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400635507148587008,"km_value":400635507148587.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4324018620680689664,"description":"Unknown IO ID 45"} 
[2026-09-06 11:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900499200001,"power":28093,"unknown_220":206,"unknown_81":47616,"ignition":57,"odometer":null,"unknown_45":4324018620680689664}} 
[2026-09-06 11:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":172661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:21:25] local.INFO: GPS data processed {"connection_id":172661,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:21:25] local.INFO: Acknowledgment sent {"connection_id":172661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:21:48] local.INFO: TCP Data received {"connection_id":175132,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:21:48] local.INFO: Processing buffer {"connection_id":175132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:21:48] local.INFO: IMEI packet received {"connection_id":175132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":175132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:21:50] local.INFO: TCP Data received {"connection_id":175132,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:21:50] local.INFO: Processing buffer {"connection_id":175132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:21:50] local.INFO: IMEI packet received {"connection_id":175132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":175132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:21:53] local.INFO: TCP Data received {"connection_id":175132,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:21:53] local.INFO: Processing buffer {"connection_id":175132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:21:53] local.INFO: IMEI packet received {"connection_id":175132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":175132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:21:54] local.INFO: TCP Data received {"connection_id":175132,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07544c3e0012d3c14c006a013200039001e2f..."} 
[2026-09-06 11:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07544c3e0012d3c14c006a013200039001e2f..."} 
[2026-09-06 11:21:54] local.INFO: Processing buffer {"connection_id":175132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07544c3e0012d3c14c006a013200039001e2f..."} 
[2026-09-06 11:21:54] local.INFO: Packet analysis {"connection_id":175132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07544"} 
[2026-09-06 11:21:54] local.INFO: Extracted packet for processing {"connection_id":175132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07544"} 
[2026-09-06 11:21:54] local.INFO: GPS Element Parsed {"raw_longitude":758912192,"raw_latitude":111153952,"longitude_deg":75.8912192,"latitude_deg":11.1153952,"altitude":57,"angle":30,"satellites":47,"speed":58,"hex_longitude":"2d3c14c0","hex_latitude":"06a01320","is_valid_coordinates":true} 
[2026-09-06 11:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900500992001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400635786321461248,"note":"Value kept but may cause issues"} 
[2026-09-06 11:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4326763001706063872,"note":"Value kept but may cause issues"} 
[2026-09-06 11:21:54] 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-09-06 11:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788673836000,"timestamp_ms":1788673836000,"timestamp_seconds":1788673836,"priority":1,"record_length":96,"hex_timestamp":"000001a07544c3e0"} 
[2026-09-06 11:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:21: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-09-06 11:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-06 11:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:21: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-09-06 11:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900500992001,"66":28028,"220":206,"81":47616,"24":58,"16":400635786321461248,"45":4326763001706063872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-06 11:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900500992001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:21:54] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-06 11:21:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400635786321461248,"km_value":400635786321461.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4326763001706063872,"description":"Unknown IO ID 45"} 
[2026-09-06 11:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900500992001,"power":28028,"unknown_220":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4326763001706063872}} 
[2026-09-06 11:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":175132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:21:54] local.INFO: GPS data processed {"connection_id":175132,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:21:54] local.INFO: Acknowledgment sent {"connection_id":175132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:22:15] local.INFO: TCP Data received {"connection_id":172662,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:22:15] local.INFO: Processing buffer {"connection_id":172662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:22:15] local.INFO: IMEI packet received {"connection_id":172662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 11:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":172662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:22:25] local.INFO: TCP Data received {"connection_id":175132,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07544db50012d3c2a0006a030000035002532..."} 
[2026-09-06 11:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07544db50012d3c2a0006a030000035002532..."} 
[2026-09-06 11:22:25] local.INFO: Processing buffer {"connection_id":175132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07544db50012d3c2a0006a030000035002532..."} 
[2026-09-06 11:22:25] local.INFO: Packet analysis {"connection_id":175132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07544"} 
[2026-09-06 11:22:25] local.INFO: Extracted packet for processing {"connection_id":175132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07544"} 
[2026-09-06 11:22:25] local.INFO: GPS Element Parsed {"raw_longitude":758917632,"raw_latitude":111161344,"longitude_deg":75.8917632,"latitude_deg":11.1161344,"altitude":53,"angle":37,"satellites":50,"speed":60,"hex_longitude":"2d3c2a00","hex_latitude":"06a03000","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900502016001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400636228703092736,"note":"Value kept but may cause issues"} 
[2026-09-06 11:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4329296276497833984,"note":"Value kept but may cause issues"} 
[2026-09-06 11:22:25] 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-09-06 11:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788673842000,"timestamp_ms":1788673842000,"timestamp_seconds":1788673842,"priority":1,"record_length":96,"hex_timestamp":"000001a07544db50"} 
[2026-09-06 11:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:22: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-09-06 11: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 11:22:25] 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-09-06 11: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-09-06 11:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:22: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-09-06 11:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900502016001,"66":27876,"220":206,"81":47616,"24":60,"16":400636228703092736,"45":4329296276497833984},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-09-06 11:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900502016001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:22:25] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-06 11:22:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-09-06 11:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400636228703092736,"km_value":400636228703092.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4329296276497833984,"description":"Unknown IO ID 45"} 
[2026-09-06 11:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900502016001,"power":27876,"unknown_220":206,"unknown_81":47616,"ignition":60,"odometer":null,"unknown_45":4329296276497833984}} 
[2026-09-06 11:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":175132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:22:25] local.INFO: GPS data processed {"connection_id":175132,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:22:25] local.INFO: Acknowledgment sent {"connection_id":175132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:22:48] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:22:48] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:22:48] local.INFO: IMEI packet received {"connection_id":173818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":173818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:22:52] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:22:52] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:22:52] local.INFO: IMEI packet received {"connection_id":173818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":173818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:22:53] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07545f0a8012d3ca6c006a18638003a016634..."} 
[2026-09-06 11:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07545f0a8012d3ca6c006a18638003a016634..."} 
[2026-09-06 11:22:53] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07545f0a8012d3ca6c006a18638003a016634..."} 
[2026-09-06 11:22:53] local.INFO: Packet analysis {"connection_id":173818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07545"} 
[2026-09-06 11:22:53] local.INFO: Extracted packet for processing {"connection_id":173818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07545"} 
[2026-09-06 11:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758949568,"raw_latitude":111248952,"longitude_deg":75.8949568,"latitude_deg":11.1248952,"altitude":58,"angle":358,"satellites":52,"speed":38,"hex_longitude":"2d3ca6c0","hex_latitude":"06a18638","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900519680001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400640798548295680,"note":"Value kept but may cause issues"} 
[2026-09-06 11:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369899041910616064,"note":"Value kept but may cause issues"} 
[2026-09-06 11:22:53] 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-09-06 11:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788673913000,"timestamp_ms":1788673913000,"timestamp_seconds":1788673913,"priority":1,"record_length":96,"hex_timestamp":"000001a07545f0a8"} 
[2026-09-06 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-09-06 11:22: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-09-06 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-06 11:22: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-09-06 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-09-06 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-09-06 11:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:22: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-09-06 11:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900519680001,"66":27800,"44":206,"81":49664,"24":38,"16":400640798548295680,"45":4369899041910616064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-06 11:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900519680001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:22:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-06 11:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-06 11:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400640798548295680,"km_value":400640798548295.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369899041910616064,"description":"Unknown IO ID 45"} 
[2026-09-06 11:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900519680001,"power":27800,"unknown_44":206,"unknown_81":49664,"ignition":38,"odometer":null,"unknown_45":4369899041910616064}} 
[2026-09-06 11:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":173818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:22:53] local.INFO: GPS data processed {"connection_id":173818,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:22:53] local.INFO: Acknowledgment sent {"connection_id":173818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:23:36] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0754617b8012d3ca54006a1ab18003e016534..."} 
[2026-09-06 11:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754617b8012d3ca54006a1ab18003e016534..."} 
[2026-09-06 11:23:36] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754617b8012d3ca54006a1ab18003e016534..."} 
[2026-09-06 11:23:36] local.INFO: Packet analysis {"connection_id":173818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07546"} 
[2026-09-06 11:23:36] local.INFO: Extracted packet for processing {"connection_id":173818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07546"} 
[2026-09-06 11:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758949184,"raw_latitude":111258392,"longitude_deg":75.8949184,"latitude_deg":11.1258392,"altitude":62,"angle":357,"satellites":52,"speed":36,"hex_longitude":"2d3ca540","hex_latitude":"06a1ab18","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900521728001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400641258109796352,"note":"Value kept but may cause issues"} 
[2026-09-06 11:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370391623121909760,"note":"Value kept but may cause issues"} 
[2026-09-06 11:23:36] 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-09-06 11:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788673923000,"timestamp_ms":1788673923000,"timestamp_seconds":1788673923,"priority":1,"record_length":96,"hex_timestamp":"000001a0754617b8"} 
[2026-09-06 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-09-06 11:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 11:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 11:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900521728001,"66":27745,"44":206,"81":49664,"24":36,"16":400641258109796352,"45":4370391623121909760},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-06 11:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900521728001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:23:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-06 11:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-06 11:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400641258109796352,"km_value":400641258109796.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370391623121909760,"description":"Unknown IO ID 45"} 
[2026-09-06 11:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900521728001,"power":27745,"unknown_44":206,"unknown_81":49664,"ignition":36,"odometer":null,"unknown_45":4370391623121909760}} 
[2026-09-06 11:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":173818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:23:36] local.INFO: GPS data processed {"connection_id":173818,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:23:36] local.INFO: Acknowledgment sent {"connection_id":173818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:23:53] local.INFO: TCP Data received {"connection_id":172663,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:23:53] local.INFO: Processing buffer {"connection_id":172663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:23:53] local.INFO: IMEI packet received {"connection_id":172663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":172663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:23:55] local.INFO: TCP Data received {"connection_id":172663,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:23:55] local.INFO: Processing buffer {"connection_id":172663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:23:55] local.INFO: IMEI packet received {"connection_id":172663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":172663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:24:01] local.INFO: TCP Data received {"connection_id":172663,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0754642b0012d3ca38006a1d0480041016533..."} 
[2026-09-06 11:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754642b0012d3ca38006a1d0480041016533..."} 
[2026-09-06 11:24:01] local.INFO: Processing buffer {"connection_id":172663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754642b0012d3ca38006a1d0480041016533..."} 
[2026-09-06 11:24:01] local.INFO: Packet analysis {"connection_id":172663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07546"} 
[2026-09-06 11:24:01] local.INFO: Extracted packet for processing {"connection_id":172663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07546"} 
[2026-09-06 11:24:01] local.INFO: GPS Element Parsed {"raw_longitude":758948736,"raw_latitude":111267912,"longitude_deg":75.8948736,"latitude_deg":11.1267912,"altitude":65,"angle":357,"satellites":51,"speed":31,"hex_longitude":"2d3ca380","hex_latitude":"06a1d048","is_valid_coordinates":true} 
[2026-09-06 11:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900524288001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400641717671297024,"note":"Value kept but may cause issues"} 
[2026-09-06 11:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369969410659260416,"note":"Value kept but may cause issues"} 
[2026-09-06 11:24:01] 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-09-06 11:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788673934000,"timestamp_ms":1788673934000,"timestamp_seconds":1788673934,"priority":1,"record_length":96,"hex_timestamp":"000001a0754642b0"} 
[2026-09-06 11:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 11:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:24: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-09-06 11:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900524288001,"66":27843,"44":206,"81":49664,"24":31,"16":400641717671297024,"45":4369969410659260416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-06 11:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900524288001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:24:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-06 11:24:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-06 11:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400641717671297024,"km_value":400641717671297.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369969410659260416,"description":"Unknown IO ID 45"} 
[2026-09-06 11:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900524288001,"power":27843,"unknown_44":206,"unknown_81":49664,"ignition":31,"odometer":null,"unknown_45":4369969410659260416}} 
[2026-09-06 11:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":172663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:24:01] local.INFO: GPS data processed {"connection_id":172663,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:24:01] local.INFO: Acknowledgment sent {"connection_id":172663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:24:02] local.INFO: TCP Data received {"connection_id":172663,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075466da8012d3ca18006a1f5300044016533..."} 
[2026-09-06 11:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075466da8012d3ca18006a1f5300044016533..."} 
[2026-09-06 11:24:02] local.INFO: Processing buffer {"connection_id":172663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075466da8012d3ca18006a1f5300044016533..."} 
[2026-09-06 11:24:02] local.INFO: Packet analysis {"connection_id":172663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07546"} 
[2026-09-06 11:24:02] local.INFO: Extracted packet for processing {"connection_id":172663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07546"} 
[2026-09-06 11:24:02] local.INFO: GPS Element Parsed {"raw_longitude":758948224,"raw_latitude":111277360,"longitude_deg":75.8948224,"latitude_deg":11.127736,"altitude":68,"angle":357,"satellites":51,"speed":36,"hex_longitude":"2d3ca180","hex_latitude":"06a1f530","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900527104001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400642177232797696,"note":"Value kept but may cause issues"} 
[2026-09-06 11:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369476829452453888,"note":"Value kept but may cause issues"} 
[2026-09-06 11:24:02] 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-09-06 11:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788673945000,"timestamp_ms":1788673945000,"timestamp_seconds":1788673945,"priority":1,"record_length":96,"hex_timestamp":"000001a075466da8"} 
[2026-09-06 11:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-06 11:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:24: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-09-06 11:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900527104001,"66":27800,"44":206,"81":49664,"24":36,"16":400642177232797696,"45":4369476829452453888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-06 11:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900527104001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:24:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-06 11:24:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-06 11:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400642177232797696,"km_value":400642177232797.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369476829452453888,"description":"Unknown IO ID 45"} 
[2026-09-06 11:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900527104001,"power":27800,"unknown_44":206,"unknown_81":49664,"ignition":36,"odometer":null,"unknown_45":4369476829452453888}} 
[2026-09-06 11:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":172663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:24:02] local.INFO: GPS data processed {"connection_id":172663,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:24:02] local.INFO: Acknowledgment sent {"connection_id":172663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:24:47] local.INFO: TCP Data received {"connection_id":172444,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:24:47] local.INFO: Processing buffer {"connection_id":172444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:24:47] local.INFO: IMEI packet received {"connection_id":172444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":172444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:24:56] local.INFO: TCP Data received {"connection_id":172444,"ip":"42.109.136.8","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-06 11:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172444,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-06 11:24:56] local.INFO: Processing buffer {"connection_id":172444,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-06 11:24:56] local.INFO: IMEI packet received {"connection_id":172444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":172444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:24:57] local.INFO: TCP Data received {"connection_id":172444,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07547a628012d3c924006a36918003e000934..."} 
[2026-09-06 11:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07547a628012d3c924006a36918003e000934..."} 
[2026-09-06 11:24:57] local.INFO: Processing buffer {"connection_id":172444,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a075..."} 
[2026-09-06 11:24:57] local.INFO: IMEI packet received {"connection_id":172444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":172444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:24:58] local.INFO: TCP Data received {"connection_id":172444,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07547c568012d3c978006a39030003f000534..."} 
[2026-09-06 11:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07547c568012d3c978006a39030003f000534..."} 
[2026-09-06 11:24:58] local.INFO: Processing buffer {"connection_id":172444,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07547a628012d3c924006a36918003e000934..."} 
[2026-09-06 11:24:58] local.INFO: Packet analysis {"connection_id":172444,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07547"} 
[2026-09-06 11:24:58] local.INFO: Extracted packet for processing {"connection_id":172444,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07547"} 
[2026-09-06 11:24:58] local.INFO: GPS Element Parsed {"raw_longitude":758944320,"raw_latitude":111372568,"longitude_deg":75.894432,"latitude_deg":11.1372568,"altitude":62,"angle":9,"satellites":52,"speed":53,"hex_longitude":"2d3c9240","hex_latitude":"06a36918","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900548608001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4362932536268234752,"note":"Value kept but may cause issues"} 
[2026-09-06 11:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400646867337084928,"note":"Value kept but may cause issues"} 
[2026-09-06 11:24:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788674025000,"timestamp_ms":1788674025000,"timestamp_seconds":1788674025,"priority":1,"record_length":96,"hex_timestamp":"000001a07547a628"} 
[2026-09-06 11:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11: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-09-06 11:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 11:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11: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-09-06 11:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900548608001,"66":27865,"45":4362932536268234752,"81":49664,"24":53,"16":400646867337084928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-06 11:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900548608001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4362932536268234752,"description":"Unknown IO ID 45"} 
[2026-09-06 11:24:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-06 11:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400646867337084928,"km_value":400646867337084.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:24:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457900548608001,"power":27865,"unknown_45":4362932536268234752,"unknown_81":49664,"ignition":53,"odometer":null}} 
[2026-09-06 11:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":172444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:24:58] local.INFO: GPS data processed {"connection_id":172444,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:24:58] local.INFO: Acknowledgment sent {"connection_id":172444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:24:58] local.INFO: Packet analysis {"connection_id":172444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07547"} 
[2026-09-06 11:24:58] local.INFO: Extracted packet for processing {"connection_id":172444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07547"} 
[2026-09-06 11:24:58] local.INFO: GPS Element Parsed {"raw_longitude":758945664,"raw_latitude":111382576,"longitude_deg":75.8945664,"latitude_deg":11.1382576,"altitude":63,"angle":5,"satellites":52,"speed":49,"hex_longitude":"2d3c9780","hex_latitude":"06a39030","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900550400001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400647356963356672,"note":"Value kept but may cause issues"} 
[2026-09-06 11:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364621386130987008,"note":"Value kept but may cause issues"} 
[2026-09-06 11:24:58] 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-09-06 11:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788674033000,"timestamp_ms":1788674033000,"timestamp_seconds":1788674033,"priority":1,"record_length":96,"hex_timestamp":"000001a07547c568"} 
[2026-09-06 11:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11: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-09-06 11:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 11:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11: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-09-06 11:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900550400001,"66":27876,"133":206,"81":49664,"24":49,"16":400647356963356672,"45":4364621386130987008},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-09-06 11:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900550400001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:24:58] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-06 11:24:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-06 11:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400647356963356672,"km_value":400647356963356.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364621386130987008,"description":"Unknown IO ID 45"} 
[2026-09-06 11:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900550400001,"power":27876,"unknown_133":206,"unknown_81":49664,"ignition":49,"odometer":null,"unknown_45":4364621386130987008}} 
[2026-09-06 11:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":172444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:24:58] local.INFO: GPS data processed {"connection_id":172444,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:24:58] local.INFO: Acknowledgment sent {"connection_id":172444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:24:58] local.INFO: TCP Data received {"connection_id":172444,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07547e4a8012d3c9b0006a3b6c0003f000332..."} 
[2026-09-06 11:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07547e4a8012d3c9b0006a3b6c0003f000332..."} 
[2026-09-06 11:24:58] local.INFO: Processing buffer {"connection_id":172444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07547e4a8012d3c9b0006a3b6c0003f000332..."} 
[2026-09-06 11:24:58] local.INFO: Packet analysis {"connection_id":172444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07547"} 
[2026-09-06 11:24:58] local.INFO: Extracted packet for processing {"connection_id":172444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07547"} 
[2026-09-06 11:24:58] local.INFO: GPS Element Parsed {"raw_longitude":758946560,"raw_latitude":111392448,"longitude_deg":75.894656,"latitude_deg":11.1392448,"altitude":63,"angle":3,"satellites":50,"speed":49,"hex_longitude":"2d3c9b00","hex_latitude":"06a3b6c0","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900552448001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400647837999693824,"note":"Value kept but may cause issues"} 
[2026-09-06 11:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4366099129761280000,"note":"Value kept but may cause issues"} 
[2026-09-06 11:24:58] 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-09-06 11:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788674041000,"timestamp_ms":1788674041000,"timestamp_seconds":1788674041,"priority":1,"record_length":96,"hex_timestamp":"000001a07547e4a8"} 
[2026-09-06 11:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11: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-09-06 11:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 11:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11: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-09-06 11:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900552448001,"66":27865,"133":206,"81":49664,"24":49,"16":400647837999693824,"45":4366099129761280000},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-09-06 11:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900552448001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:24:58] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-06 11:24:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-06 11:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400647837999693824,"km_value":400647837999693.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4366099129761280000,"description":"Unknown IO ID 45"} 
[2026-09-06 11:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900552448001,"power":27865,"unknown_133":206,"unknown_81":49664,"ignition":49,"odometer":null,"unknown_45":4366099129761280000}} 
[2026-09-06 11:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":172444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:24:59] local.INFO: GPS data processed {"connection_id":172444,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:24:59] local.INFO: Acknowledgment sent {"connection_id":172444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:25:29] local.INFO: TCP Data received {"connection_id":172444,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0754803e8012d3c9bc006a3dda8003f01662b..."} 
[2026-09-06 11:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754803e8012d3c9bc006a3dda8003f01662b..."} 
[2026-09-06 11:25:29] local.INFO: Processing buffer {"connection_id":172444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754803e8012d3c9bc006a3dda8003f01662b..."} 
[2026-09-06 11:25:29] local.INFO: Packet analysis {"connection_id":172444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07548"} 
[2026-09-06 11:25:29] local.INFO: Extracted packet for processing {"connection_id":172444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07548"} 
[2026-09-06 11:25:29] local.INFO: GPS Element Parsed {"raw_longitude":758946752,"raw_latitude":111402408,"longitude_deg":75.8946752,"latitude_deg":11.1402408,"altitude":63,"angle":358,"satellites":43,"speed":49,"hex_longitude":"2d3c9bc0","hex_latitude":"06a3dda8","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900554496001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400648319036030976,"note":"Value kept but may cause issues"} 
[2026-09-06 11:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367084292182294528,"note":"Value kept but may cause issues"} 
[2026-09-06 11:25:29] 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-09-06 11:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788674049000,"timestamp_ms":1788674049000,"timestamp_seconds":1788674049,"priority":1,"record_length":96,"hex_timestamp":"000001a0754803e8"} 
[2026-09-06 11:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11: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-09-06 11:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 11:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:25: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-09-06 11:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900554496001,"66":27865,"133":206,"81":49664,"24":49,"16":400648319036030976,"45":4367084292182294528},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-09-06 11:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900554496001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:25:29] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-06 11:25:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-06 11:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400648319036030976,"km_value":400648319036031.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367084292182294528,"description":"Unknown IO ID 45"} 
[2026-09-06 11:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900554496001,"power":27865,"unknown_133":206,"unknown_81":49664,"ignition":49,"odometer":null,"unknown_45":4367084292182294528}} 
[2026-09-06 11:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":172444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:25:29] local.INFO: GPS data processed {"connection_id":172444,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:25:29] local.INFO: Acknowledgment sent {"connection_id":172444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:25:43] local.INFO: TCP Data received {"connection_id":172665,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:25:43] local.INFO: Processing buffer {"connection_id":172665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:25:43] local.INFO: IMEI packet received {"connection_id":172665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":172665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:25:44] local.INFO: TCP Data received {"connection_id":172665,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07548c350012d1cf240071db5d8004e00b022..."} 
[2026-09-06 11:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07548c350012d1cf240071db5d8004e00b022..."} 
[2026-09-06 11:25:44] local.INFO: Processing buffer {"connection_id":172665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07548c350012d1cf240071db5d8004e00b022..."} 
[2026-09-06 11:25:44] local.INFO: Packet analysis {"connection_id":172665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07548"} 
[2026-09-06 11:25:44] local.INFO: Extracted packet for processing {"connection_id":172665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07548"} 
[2026-09-06 11:25:44] local.INFO: GPS Element Parsed {"raw_longitude":756871744,"raw_latitude":119387608,"longitude_deg":75.6871744,"latitude_deg":11.9387608,"altitude":78,"angle":176,"satellites":34,"speed":30,"hex_longitude":"2d1cf240","hex_latitude":"071db5d8","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900568064001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18192257400176640,"note":"Value kept but may cause issues"} 
[2026-09-06 11:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2086011082966700032,"note":"Value kept but may cause issues"} 
[2026-09-06 11:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788674098000,"timestamp_ms":1788674098000,"timestamp_seconds":1788674098,"priority":1,"record_length":96,"hex_timestamp":"000001a07548c350"} 
[2026-09-06 11:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-06 11:25:44] 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-09-06 11: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-09-06 11:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":172665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":172665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":172665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900568064001,"66":13993,"109":206,"83":41984,"24":30,"16":18192257400176640,"45":2086011082966700032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-06 11:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900568064001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:25:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 11:25:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18192257400176640,"km_value":18192257400176.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2086011082966700032,"description":"Unknown IO ID 45"} 
[2026-09-06 11:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900568064001,"power":13993,"unknown_109":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":2086011082966700032}} 
[2026-09-06 11:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":172665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:25:44] local.INFO: GPS data processed {"connection_id":172665,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:25:44] local.INFO: Acknowledgment sent {"connection_id":172665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:25:57] local.INFO: TCP Data received {"connection_id":172445,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:25:57] local.INFO: Processing buffer {"connection_id":172445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:25:57] local.INFO: IMEI packet received {"connection_id":172445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":172445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:26:08] local.INFO: TCP Data received {"connection_id":175134,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:26:08] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:26:08] local.INFO: IMEI packet received {"connection_id":175134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":175134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:26:09] local.INFO: TCP Data received {"connection_id":175134,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:26:09] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:26:09] local.INFO: IMEI packet received {"connection_id":175134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":175134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:26:10] local.INFO: TCP Data received {"connection_id":172445,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:26:10] local.INFO: Processing buffer {"connection_id":172445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:26:10] local.INFO: IMEI packet received {"connection_id":172445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":172445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:26:11] local.INFO: TCP Data received {"connection_id":172445,"ip":"42.109.136.8","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-06 11:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172445,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-06 11:26:11] local.INFO: Processing buffer {"connection_id":172445,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-06 11:26:11] local.INFO: IMEI packet received {"connection_id":172445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":172445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:26:14] local.INFO: TCP Data received {"connection_id":175134,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:26:14] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:26:14] local.INFO: IMEI packet received {"connection_id":175134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":175134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:26:15] local.INFO: TCP Data received {"connection_id":175134,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07548cb20012d1cf3c0071db070004d009e22..."} 
[2026-09-06 11:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07548cb20012d1cf3c0071db070004d009e22..."} 
[2026-09-06 11:26:15] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07548cb20012d1cf3c0071db070004d009e22..."} 
[2026-09-06 11:26:15] local.INFO: Packet analysis {"connection_id":175134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07548"} 
[2026-09-06 11:26:15] local.INFO: Extracted packet for processing {"connection_id":175134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07548"} 
[2026-09-06 11:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756872128,"raw_latitude":119386224,"longitude_deg":75.6872128,"latitude_deg":11.9386224,"altitude":77,"angle":158,"satellites":34,"speed":27,"hex_longitude":"2d1cf3c0","hex_latitude":"071db070","is_valid_coordinates":true} 
[2026-09-06 11:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900569088001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18192326119653376,"note":"Value kept but may cause issues"} 
[2026-09-06 11:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2085799976733366272,"note":"Value kept but may cause issues"} 
[2026-09-06 11:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788674100000,"timestamp_ms":1788674100000,"timestamp_seconds":1788674100,"priority":1,"record_length":96,"hex_timestamp":"000001a07548cb20"} 
[2026-09-06 11:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 11:26:15] 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-09-06 11:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900569088001,"66":13961,"109":206,"83":41984,"24":27,"16":18192326119653376,"45":2085799976733366272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-06 11:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900569088001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:26:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 11:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18192326119653376,"km_value":18192326119653.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2085799976733366272,"description":"Unknown IO ID 45"} 
[2026-09-06 11:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900569088001,"power":13961,"unknown_109":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":2085799976733366272}} 
[2026-09-06 11:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":175134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:26:15] local.INFO: GPS data processed {"connection_id":175134,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:26:15] local.INFO: Acknowledgment sent {"connection_id":175134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:26:47] local.INFO: TCP Data received {"connection_id":175134,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07548cf08012d1cf540071dae40004d009221..."} 
[2026-09-06 11:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07548cf08012d1cf540071dae40004d009221..."} 
[2026-09-06 11:26:47] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07548cf08012d1cf540071dae40004d009221..."} 
[2026-09-06 11:26:47] local.INFO: Packet analysis {"connection_id":175134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07548"} 
[2026-09-06 11:26:47] local.INFO: Extracted packet for processing {"connection_id":175134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07548"} 
[2026-09-06 11:26:47] local.INFO: GPS Element Parsed {"raw_longitude":756872512,"raw_latitude":119385664,"longitude_deg":75.6872512,"latitude_deg":11.9385664,"altitude":77,"angle":146,"satellites":33,"speed":25,"hex_longitude":"2d1cf540","hex_latitude":"071dae40","is_valid_coordinates":true} 
[2026-09-06 11:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900569600001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18192360479391744,"note":"Value kept but may cause issues"} 
[2026-09-06 11:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2086222189198077952,"note":"Value kept but may cause issues"} 
[2026-09-06 11:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788674101000,"timestamp_ms":1788674101000,"timestamp_seconds":1788674101,"priority":1,"record_length":96,"hex_timestamp":"000001a07548cf08"} 
[2026-09-06 11:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-06 11:26:47] 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-09-06 11:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900569600001,"66":13961,"109":206,"83":41984,"24":25,"16":18192360479391744,"45":2086222189198077952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-06 11:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900569600001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:26:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 11:26:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18192360479391744,"km_value":18192360479391.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2086222189198077952,"description":"Unknown IO ID 45"} 
[2026-09-06 11:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900569600001,"power":13961,"unknown_109":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":2086222189198077952}} 
[2026-09-06 11:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":175134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:26:47] local.INFO: GPS data processed {"connection_id":175134,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:26:47] local.INFO: Acknowledgment sent {"connection_id":175134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:27:09] local.INFO: TCP Data received {"connection_id":172446,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:27:09] local.INFO: Processing buffer {"connection_id":172446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:27:09] local.INFO: IMEI packet received {"connection_id":172446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":172446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:27:14] local.INFO: TCP Data received {"connection_id":172446,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:27:14] local.INFO: Processing buffer {"connection_id":172446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:27:14] local.INFO: IMEI packet received {"connection_id":172446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":172446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:27:15] local.INFO: TCP Data received {"connection_id":172446,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07549ccf0012d1d8440071d97e80068006329..."} 
[2026-09-06 11:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07549ccf0012d1d8440071d97e80068006329..."} 
[2026-09-06 11:27:15] local.INFO: Processing buffer {"connection_id":172446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07549ccf0012d1d8440071d97e80068006329..."} 
[2026-09-06 11:27:15] local.INFO: Packet analysis {"connection_id":172446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07549"} 
[2026-09-06 11:27:15] local.INFO: Extracted packet for processing {"connection_id":172446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07549"} 
[2026-09-06 11:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756909120,"raw_latitude":119379944,"longitude_deg":75.690912,"latitude_deg":11.9379944,"altitude":104,"angle":99,"satellites":41,"speed":27,"hex_longitude":"2d1d8440","hex_latitude":"071d97e8","is_valid_coordinates":true} 
[2026-09-06 11:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900585472001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18194190135459840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2124010204820029440,"note":"Value kept but may cause issues"} 
[2026-09-06 11:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788674166000,"timestamp_ms":1788674166000,"timestamp_seconds":1788674166,"priority":1,"record_length":96,"hex_timestamp":"000001a07549ccf0"} 
[2026-09-06 11:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 11:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900585472001,"66":13972,"108":206,"83":41984,"24":27,"16":18194190135459840,"45":2124010204820029440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-06 11:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900585472001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:27:15] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-06 11:27:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18194190135459840,"km_value":18194190135459.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2124010204820029440,"description":"Unknown IO ID 45"} 
[2026-09-06 11:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900585472001,"power":13972,"unknown_108":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":2124010204820029440}} 
[2026-09-06 11:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":172446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:27:15] local.INFO: GPS data processed {"connection_id":172446,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:27:15] local.INFO: Acknowledgment sent {"connection_id":172446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:27:30] local.INFO: TCP Data received {"connection_id":172664,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:27:30] local.INFO: Processing buffer {"connection_id":172664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:27:30] local.INFO: IMEI packet received {"connection_id":172664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 11:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":172664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:27:46] local.INFO: TCP Data received {"connection_id":172446,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07549f400012d1da300071d93180063007026..."} 
[2026-09-06 11:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07549f400012d1da300071d93180063007026..."} 
[2026-09-06 11:27:46] local.INFO: Processing buffer {"connection_id":172446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07549f400012d1da300071d93180063007026..."} 
[2026-09-06 11:27:46] local.INFO: Packet analysis {"connection_id":172446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07549"} 
[2026-09-06 11:27:46] local.INFO: Extracted packet for processing {"connection_id":172446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07549"} 
[2026-09-06 11:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756916992,"raw_latitude":119378712,"longitude_deg":75.6916992,"latitude_deg":11.9378712,"altitude":99,"angle":112,"satellites":38,"speed":31,"hex_longitude":"2d1da300","hex_latitude":"071d9318","is_valid_coordinates":true} 
[2026-09-06 11:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900586496001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18194568092581888,"note":"Value kept but may cause issues"} 
[2026-09-06 11:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2126895323331160064,"note":"Value kept but may cause issues"} 
[2026-09-06 11:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788674176000,"timestamp_ms":1788674176000,"timestamp_seconds":1788674176,"priority":1,"record_length":96,"hex_timestamp":"000001a07549f400"} 
[2026-09-06 11:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-06 11:27:46] 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-09-06 11:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900586496001,"66":14265,"108":206,"83":41984,"24":31,"16":18194568092581888,"45":2126895323331160064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-06 11:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900586496001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:27:46] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-06 11:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18194568092581888,"km_value":18194568092581.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2126895323331160064,"description":"Unknown IO ID 45"} 
[2026-09-06 11:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900586496001,"power":14265,"unknown_108":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":2126895323331160064}} 
[2026-09-06 11:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":172446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:27:46] local.INFO: GPS data processed {"connection_id":172446,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:27:46] local.INFO: Acknowledgment sent {"connection_id":172446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:28:08] local.INFO: TCP Data received {"connection_id":175135,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:28:08] local.INFO: Processing buffer {"connection_id":175135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:28:08] local.INFO: IMEI packet received {"connection_id":175135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":175135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:28:09] local.INFO: TCP Data received {"connection_id":175135,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:28:09] local.INFO: Processing buffer {"connection_id":175135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:28:09] local.INFO: IMEI packet received {"connection_id":175135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":175135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:28:09] local.INFO: TCP Data received {"connection_id":175135,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:28:09] local.INFO: Processing buffer {"connection_id":175135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:28:09] local.INFO: IMEI packet received {"connection_id":175135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":175135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:28:13] local.INFO: TCP Data received {"connection_id":175135,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:28:13] local.INFO: Processing buffer {"connection_id":175135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:28:13] local.INFO: IMEI packet received {"connection_id":175135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":175135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:28:14] local.INFO: TCP Data received {"connection_id":175135,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0754ae630012d1e6600071dabb80052006326..."} 
[2026-09-06 11:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754ae630012d1e6600071dabb80052006326..."} 
[2026-09-06 11:28:14] local.INFO: Processing buffer {"connection_id":175135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754ae630012d1e6600071dabb80052006326..."} 
[2026-09-06 11:28:14] local.INFO: Packet analysis {"connection_id":175135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754a"} 
[2026-09-06 11:28:14] local.INFO: Extracted packet for processing {"connection_id":175135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754a"} 
[2026-09-06 11:28:14] local.INFO: GPS Element Parsed {"raw_longitude":756966912,"raw_latitude":119385016,"longitude_deg":75.6966912,"latitude_deg":11.9385016,"altitude":82,"angle":99,"satellites":38,"speed":33,"hex_longitude":"2d1e6600","hex_latitude":"071dabb8","is_valid_coordinates":true} 
[2026-09-06 11:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900604416001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18197011928973312,"note":"Value kept but may cause issues"} 
[2026-09-06 11:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2188608711976306688,"note":"Value kept but may cause issues"} 
[2026-09-06 11:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788674238000,"timestamp_ms":1788674238000,"timestamp_seconds":1788674238,"priority":1,"record_length":96,"hex_timestamp":"000001a0754ae630"} 
[2026-09-06 11:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:28: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-09-06 11:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 11:28:14] 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-09-06 11:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900604416001,"66":13993,"108":206,"83":41984,"24":33,"16":18197011928973312,"45":2188608711976306688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-06 11:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900604416001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:28:14] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-06 11:28:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18197011928973312,"km_value":18197011928973.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2188608711976306688,"description":"Unknown IO ID 45"} 
[2026-09-06 11:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900604416001,"power":13993,"unknown_108":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":2188608711976306688}} 
[2026-09-06 11:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":175135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:28:14] local.INFO: GPS data processed {"connection_id":175135,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:28:14] local.INFO: Acknowledgment sent {"connection_id":175135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:28:15] local.INFO: TCP Data received {"connection_id":173820,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:28:15] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:28:15] local.INFO: IMEI packet received {"connection_id":173820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":173820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:28:16] local.INFO: TCP Data received {"connection_id":173820,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:28:16] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:28:16] local.INFO: IMEI packet received {"connection_id":173820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":173820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:28:20] local.INFO: TCP Data received {"connection_id":173820,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:28:20] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:28:20] local.INFO: IMEI packet received {"connection_id":173820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":173820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:28:20] local.INFO: TCP Data received {"connection_id":173820,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-09-06 11:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-09-06 11:28:20] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-09-06 11:28:20] local.INFO: Packet analysis {"connection_id":173820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-06 11:28:20] local.INFO: Extracted packet for processing {"connection_id":173820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-06 11:28:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 11:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893007935045632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:28:20] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-06 11:28:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7000,"timestamp_seconds":7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:28:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 11:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173820,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 11:28:20] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 11:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":173820,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 11:28:20] local.ERROR: GPS data processing failed {"connection_id":173820,"error":"No valid data to process"} 
[2026-09-06 11:28:20] local.INFO: Acknowledgment sent {"connection_id":173820,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 11:28:45] local.INFO: TCP Data received {"connection_id":175135,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0754b0958012d1e7e00071da8e0004b005425..."} 
[2026-09-06 11:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754b0958012d1e7e00071da8e0004b005425..."} 
[2026-09-06 11:28:45] local.INFO: Processing buffer {"connection_id":175135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754b0958012d1e7e00071da8e0004b005425..."} 
[2026-09-06 11:28:45] local.INFO: Packet analysis {"connection_id":175135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754b"} 
[2026-09-06 11:28:45] local.INFO: Extracted packet for processing {"connection_id":175135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754b"} 
[2026-09-06 11:28:45] local.INFO: GPS Element Parsed {"raw_longitude":756973056,"raw_latitude":119384288,"longitude_deg":75.6973056,"latitude_deg":11.9384288,"altitude":75,"angle":84,"satellites":37,"speed":18,"hex_longitude":"2d1e7e00","hex_latitude":"071da8e0","is_valid_coordinates":true} 
[2026-09-06 11:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900604928001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18197303986749440,"note":"Value kept but may cause issues"} 
[2026-09-06 11:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190438299324889088,"note":"Value kept but may cause issues"} 
[2026-09-06 11:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788674247000,"timestamp_ms":1788674247000,"timestamp_seconds":1788674247,"priority":1,"record_length":96,"hex_timestamp":"000001a0754b0958"} 
[2026-09-06 11:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 11:28:45] 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-09-06 11:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900604928001,"66":14298,"108":206,"83":41984,"24":18,"16":18197303986749440,"45":2190438299324889088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-06 11:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900604928001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:28:45] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-06 11:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18197303986749440,"km_value":18197303986749.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2190438299324889088,"description":"Unknown IO ID 45"} 
[2026-09-06 11:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900604928001,"power":14298,"unknown_108":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":2190438299324889088}} 
[2026-09-06 11:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":175135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:28:45] local.INFO: GPS data processed {"connection_id":175135,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:28:45] local.INFO: Acknowledgment sent {"connection_id":175135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:28:52] local.INFO: TCP Data received {"connection_id":173820,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 11:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 11:28:52] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 11:28:52] local.INFO: Packet analysis {"connection_id":173820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-06 11:28:52] local.INFO: Extracted packet for processing {"connection_id":173820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-06 11:28:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893007935045632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:28:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:28:52] 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-09-06 11:28:52] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 11:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173820,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 11:28:52] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 11:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":173820,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 11:28:52] local.ERROR: GPS data processing failed {"connection_id":173820,"error":"No valid data to process"} 
[2026-09-06 11:28:52] local.INFO: Acknowledgment sent {"connection_id":173820,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 11:29:09] local.INFO: TCP Data received {"connection_id":172448,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:29:09] local.INFO: Processing buffer {"connection_id":172448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:29:09] local.INFO: IMEI packet received {"connection_id":172448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":172448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:29:14] local.INFO: TCP Data received {"connection_id":172448,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:29:14] local.INFO: Processing buffer {"connection_id":172448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:29:14] local.INFO: IMEI packet received {"connection_id":172448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":172448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:29:15] local.INFO: TCP Data received {"connection_id":172448,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0754bc8c0012d1ef5c0071dbe100049005b2c..."} 
[2026-09-06 11:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754bc8c0012d1ef5c0071dbe100049005b2c..."} 
[2026-09-06 11:29:15] local.INFO: Processing buffer {"connection_id":172448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754bc8c0012d1ef5c0071dbe100049005b2c..."} 
[2026-09-06 11:29:15] local.INFO: Packet analysis {"connection_id":172448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754b"} 
[2026-09-06 11:29:15] local.INFO: Extracted packet for processing {"connection_id":172448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754b"} 
[2026-09-06 11:29:15] local.INFO: GPS Element Parsed {"raw_longitude":757003712,"raw_latitude":119389712,"longitude_deg":75.7003712,"latitude_deg":11.9389712,"altitude":73,"angle":91,"satellites":44,"speed":33,"hex_longitude":"2d1ef5c0","hex_latitude":"071dbe10","is_valid_coordinates":true} 
[2026-09-06 11:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900618240001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18198863059877888,"note":"Value kept but may cause issues"} 
[2026-09-06 11:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2224989352717105152,"note":"Value kept but may cause issues"} 
[2026-09-06 11:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788674296000,"timestamp_ms":1788674296000,"timestamp_seconds":1788674296,"priority":1,"record_length":96,"hex_timestamp":"000001a0754bc8c0"} 
[2026-09-06 11:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 11:29:15] 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-09-06 11:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900618240001,"66":13820,"108":206,"83":41984,"24":33,"16":18198863059877888,"45":2224989352717105152},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-06 11:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900618240001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:29:15] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-06 11:29:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18198863059877888,"km_value":18198863059877.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2224989352717105152,"description":"Unknown IO ID 45"} 
[2026-09-06 11:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900618240001,"power":13820,"unknown_108":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":2224989352717105152}} 
[2026-09-06 11:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":172448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:29:15] local.INFO: GPS data processed {"connection_id":172448,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:29:15] local.INFO: Acknowledgment sent {"connection_id":172448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:29:23] local.INFO: TCP Data received {"connection_id":173820,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-06 11:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-06 11:29:23] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-06 11:29:23] local.INFO: Packet analysis {"connection_id":173820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 11:29:23] local.INFO: Extracted packet for processing {"connection_id":173820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 11:29:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893007935045632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:29:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:29:23] 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-09-06 11:29:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 11:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173820,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 11:29:23] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 11:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":173820,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 11:29:23] local.ERROR: GPS data processing failed {"connection_id":173820,"error":"No valid data to process"} 
[2026-09-06 11:29:23] local.INFO: Acknowledgment sent {"connection_id":173820,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 11:29:46] local.INFO: TCP Data received {"connection_id":172448,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0754bdc48012d1f03c0071dbc100049006b2c..."} 
[2026-09-06 11:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754bdc48012d1f03c0071dbc100049006b2c..."} 
[2026-09-06 11:29:46] local.INFO: Processing buffer {"connection_id":172448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754bdc48012d1f03c0071dbc100049006b2c..."} 
[2026-09-06 11:29:46] local.INFO: Packet analysis {"connection_id":172448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754b"} 
[2026-09-06 11:29:46] local.INFO: Extracted packet for processing {"connection_id":172448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754b"} 
[2026-09-06 11:29:46] local.INFO: GPS Element Parsed {"raw_longitude":757007296,"raw_latitude":119389200,"longitude_deg":75.7007296,"latitude_deg":11.93892,"altitude":73,"angle":107,"satellites":44,"speed":23,"hex_longitude":"2d1f03c0","hex_latitude":"071dbc10","is_valid_coordinates":true} 
[2026-09-06 11:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900619776001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18199034858569728,"note":"Value kept but may cause issues"} 
[2026-09-06 11:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2230900327228248064,"note":"Value kept but may cause issues"} 
[2026-09-06 11:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788674301000,"timestamp_ms":1788674301000,"timestamp_seconds":1788674301,"priority":1,"record_length":96,"hex_timestamp":"000001a0754bdc48"} 
[2026-09-06 11:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 11:29:46] 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-09-06 11:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900619776001,"66":13961,"108":206,"83":41984,"24":23,"16":18199034858569728,"45":2230900327228248064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-06 11:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900619776001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:29:46] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-06 11:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18199034858569728,"km_value":18199034858569.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2230900327228248064,"description":"Unknown IO ID 45"} 
[2026-09-06 11:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900619776001,"power":13961,"unknown_108":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":2230900327228248064}} 
[2026-09-06 11:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":172448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:29:46] local.INFO: GPS data processed {"connection_id":172448,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:29:46] local.INFO: Acknowledgment sent {"connection_id":172448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:29:54] local.INFO: TCP Data received {"connection_id":173820,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-06 11:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-06 11:29:54] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-06 11:29:54] local.INFO: Packet analysis {"connection_id":173820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 11:29:54] local.INFO: Extracted packet for processing {"connection_id":173820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 11:29:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 11:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893007935045632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:29:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:29:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":89000,"timestamp_seconds":89,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:29:54] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 11:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173820,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 11:29:54] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 11:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":173820,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 11:29:54] local.ERROR: GPS data processing failed {"connection_id":173820,"error":"No valid data to process"} 
[2026-09-06 11:29:54] local.INFO: Acknowledgment sent {"connection_id":173820,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 11:30:11] local.INFO: TCP Data received {"connection_id":172670,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:30:11] local.INFO: Processing buffer {"connection_id":172670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:30:11] local.INFO: IMEI packet received {"connection_id":172670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":172670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:30:14] local.INFO: TCP Data received {"connection_id":172670,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:30:14] local.INFO: Processing buffer {"connection_id":172670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:30:14] local.INFO: IMEI packet received {"connection_id":172670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":172670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:30:19] local.INFO: TCP Data received {"connection_id":172670,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:30:19] local.INFO: Processing buffer {"connection_id":172670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:30:19] local.INFO: IMEI packet received {"connection_id":172670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":172670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:30:20] local.INFO: TCP Data received {"connection_id":172670,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0754befd0012d1f1000071db9e00048005b29..."} 
[2026-09-06 11:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754befd0012d1f1000071db9e00048005b29..."} 
[2026-09-06 11:30:20] local.INFO: Processing buffer {"connection_id":172670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754befd0012d1f1000071db9e00048005b29..."} 
[2026-09-06 11:30:20] local.INFO: Packet analysis {"connection_id":172670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754b"} 
[2026-09-06 11:30:20] local.INFO: Extracted packet for processing {"connection_id":172670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754b"} 
[2026-09-06 11:30:20] local.INFO: GPS Element Parsed {"raw_longitude":757010432,"raw_latitude":119388640,"longitude_deg":75.7010432,"latitude_deg":11.938864,"altitude":72,"angle":91,"satellites":41,"speed":30,"hex_longitude":"2d1f1000","hex_latitude":"071db9e0","is_valid_coordinates":true} 
[2026-09-06 11:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900621056001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18199185182425088,"note":"Value kept but may cause issues"} 
[2026-09-06 11:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2234840976902066176,"note":"Value kept but may cause issues"} 
[2026-09-06 11:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788674306000,"timestamp_ms":1788674306000,"timestamp_seconds":1788674306,"priority":1,"record_length":96,"hex_timestamp":"000001a0754befd0"} 
[2026-09-06 11:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-06 11:30:20] 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-09-06 11:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900621056001,"66":13972,"108":206,"83":41984,"24":30,"16":18199185182425088,"45":2234840976902066176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-06 11:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900621056001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:30:20] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-06 11:30:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18199185182425088,"km_value":18199185182425.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2234840976902066176,"description":"Unknown IO ID 45"} 
[2026-09-06 11:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900621056001,"power":13972,"unknown_108":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":2234840976902066176}} 
[2026-09-06 11:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":172670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:30:20] local.INFO: GPS data processed {"connection_id":172670,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:30:20] local.INFO: Acknowledgment sent {"connection_id":172670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:30:21] local.INFO: TCP Data received {"connection_id":172670,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0754c1ac8012d1f3540071dbac0004300632a..."} 
[2026-09-06 11:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754c1ac8012d1f3540071dbac0004300632a..."} 
[2026-09-06 11:30:21] local.INFO: Processing buffer {"connection_id":172670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754c1ac8012d1f3540071dbac0004300632a..."} 
[2026-09-06 11:30:21] local.INFO: Packet analysis {"connection_id":172670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754c"} 
[2026-09-06 11:30:21] local.INFO: Extracted packet for processing {"connection_id":172670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754c"} 
[2026-09-06 11:30:21] local.INFO: GPS Element Parsed {"raw_longitude":757019968,"raw_latitude":119388864,"longitude_deg":75.7019968,"latitude_deg":11.9388864,"altitude":67,"angle":99,"satellites":42,"speed":33,"hex_longitude":"2d1f3540","hex_latitude":"071dbac0","is_valid_coordinates":true} 
[2026-09-06 11:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900622336001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18199640448958464,"note":"Value kept but may cause issues"} 
[2026-09-06 11:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2238289045366628352,"note":"Value kept but may cause issues"} 
[2026-09-06 11:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788674317000,"timestamp_ms":1788674317000,"timestamp_seconds":1788674317,"priority":1,"record_length":96,"hex_timestamp":"000001a0754c1ac8"} 
[2026-09-06 11:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-06 11:30:21] 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-09-06 11:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900622336001,"66":14298,"108":206,"83":41984,"24":33,"16":18199640448958464,"45":2238289045366628352},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-06 11:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900622336001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:30:21] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-06 11:30:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18199640448958464,"km_value":18199640448958.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2238289045366628352,"description":"Unknown IO ID 45"} 
[2026-09-06 11:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900622336001,"power":14298,"unknown_108":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":2238289045366628352}} 
[2026-09-06 11:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":172670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:30:21] local.INFO: GPS data processed {"connection_id":172670,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:30:21] local.INFO: Acknowledgment sent {"connection_id":172670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:30:25] local.INFO: TCP Data received {"connection_id":173820,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-06 11:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-06 11:30:25] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-06 11:30:25] local.INFO: Packet analysis {"connection_id":173820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 11:30:25] local.INFO: Extracted packet for processing {"connection_id":173820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 11:30: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-09-06 11: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-09-06 11:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893007935045632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:30:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:30:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":110000,"timestamp_seconds":110,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:30:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 11:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173820,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 11:30:25] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 11:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":173820,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 11:30:25] local.ERROR: GPS data processing failed {"connection_id":173820,"error":"No valid data to process"} 
[2026-09-06 11:30:25] local.INFO: Acknowledgment sent {"connection_id":173820,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 11:30:52] local.INFO: TCP Data received {"connection_id":172670,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0754d18b0012d1fcf40071d8840003e00992b..."} 
[2026-09-06 11:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754d18b0012d1fcf40071d8840003e00992b..."} 
[2026-09-06 11:30:52] local.INFO: Processing buffer {"connection_id":172670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754d18b0012d1fcf40071d8840003e00992b..."} 
[2026-09-06 11:30:52] local.INFO: Packet analysis {"connection_id":172670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754d"} 
[2026-09-06 11:30:52] local.INFO: Extracted packet for processing {"connection_id":172670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754d"} 
[2026-09-06 11:30:52] local.INFO: GPS Element Parsed {"raw_longitude":757059392,"raw_latitude":119375936,"longitude_deg":75.7059392,"latitude_deg":11.9375936,"altitude":62,"angle":153,"satellites":43,"speed":10,"hex_longitude":"2d1fcf40","hex_latitude":"071d8840","is_valid_coordinates":true} 
[2026-09-06 11:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900639488001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18201753572868096,"note":"Value kept but may cause issues"} 
[2026-09-06 11:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2288391591219032064,"note":"Value kept but may cause issues"} 
[2026-09-06 11:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788674382000,"timestamp_ms":1788674382000,"timestamp_seconds":1788674382,"priority":1,"record_length":96,"hex_timestamp":"000001a0754d18b0"} 
[2026-09-06 11:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 11:30:52] 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-09-06 11:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900639488001,"66":14048,"10":206,"83":41984,"24":10,"16":18201753572868096,"45":2288391591219032064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900639488001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:30:52] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:30:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18201753572868096,"km_value":18201753572868.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2288391591219032064,"description":"Unknown IO ID 45"} 
[2026-09-06 11:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900639488001,"power":14048,"unknown_10":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":2288391591219032064}} 
[2026-09-06 11:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":172670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:30:52] local.INFO: GPS data processed {"connection_id":172670,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:30:52] local.INFO: Acknowledgment sent {"connection_id":172670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:30:56] local.INFO: TCP Data received {"connection_id":173820,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-06 11:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-06 11:30:56] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-06 11:30:56] local.INFO: Packet analysis {"connection_id":173820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 11:30:56] local.INFO: Extracted packet for processing {"connection_id":173820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 11:30: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-09-06 11:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893007935045632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:30:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:30:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":131000,"timestamp_seconds":131,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:30:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 11:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173820,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 11:30:56] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 11:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":173820,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 11:30:56] local.ERROR: GPS data processing failed {"connection_id":173820,"error":"No valid data to process"} 
[2026-09-06 11:30:56] local.INFO: Acknowledgment sent {"connection_id":173820,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 11:31:09] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:31:09] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:31:09] local.INFO: IMEI packet received {"connection_id":175136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":175136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:31:10] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:31:10] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:31:10] local.INFO: IMEI packet received {"connection_id":175136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":175136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:31:11] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0754d37f0012d1fd380071d82400040008a2b..."} 
[2026-09-06 11:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754d37f0012d1fd380071d82400040008a2b..."} 
[2026-09-06 11:31:11] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754d37f0012d1fd380071d82400040008a2b..."} 
[2026-09-06 11:31:11] local.INFO: Packet analysis {"connection_id":175136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754d"} 
[2026-09-06 11:31:11] local.INFO: Extracted packet for processing {"connection_id":175136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754d"} 
[2026-09-06 11:31:11] local.INFO: GPS Element Parsed {"raw_longitude":757060480,"raw_latitude":119374400,"longitude_deg":75.706048,"latitude_deg":11.93744,"altitude":64,"angle":138,"satellites":43,"speed":8,"hex_longitude":"2d1fd380","hex_latitude":"071d8240","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900641792001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18201843767181312,"note":"Value kept but may cause issues"} 
[2026-09-06 11:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2292121134659289088,"note":"Value kept but may cause issues"} 
[2026-09-06 11:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788674390000,"timestamp_ms":1788674390000,"timestamp_seconds":1788674390,"priority":1,"record_length":96,"hex_timestamp":"000001a0754d37f0"} 
[2026-09-06 11:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-06 11:31: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-09-06 11: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-09-06 11:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900641792001,"66":13993,"10":206,"83":41984,"24":8,"16":18201843767181312,"45":2292121134659289088},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900641792001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:31:11] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:31:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18201843767181312,"km_value":18201843767181.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2292121134659289088,"description":"Unknown IO ID 45"} 
[2026-09-06 11:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900641792001,"power":13993,"unknown_10":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":2292121134659289088}} 
[2026-09-06 11:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":175136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:31:11] local.INFO: GPS data processed {"connection_id":175136,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:31:11] local.INFO: Acknowledgment sent {"connection_id":175136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:31:13] local.INFO: TCP Data received {"connection_id":173821,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:31:13] local.INFO: Processing buffer {"connection_id":173821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:31:13] local.INFO: IMEI packet received {"connection_id":173821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":173821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:31:22] local.INFO: TCP Data received {"connection_id":173821,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0754d2c38012d3991c006a86218000d01302b..."} 
[2026-09-06 11:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754d2c38012d3991c006a86218000d01302b..."} 
[2026-09-06 11:31:22] local.INFO: Processing buffer {"connection_id":173821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754d2c38012d3991c006a86218000d01302b..."} 
[2026-09-06 11:31:22] local.INFO: Packet analysis {"connection_id":173821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754d"} 
[2026-09-06 11:31:22] local.INFO: Extracted packet for processing {"connection_id":173821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754d"} 
[2026-09-06 11:31:22] local.INFO: GPS Element Parsed {"raw_longitude":758747584,"raw_latitude":111698456,"longitude_deg":75.8747584,"latitude_deg":11.1698456,"altitude":13,"angle":304,"satellites":43,"speed":27,"hex_longitude":"2d3991c0","hex_latitude":"06a86218","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900642304001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400668101655396352,"note":"Value kept but may cause issues"} 
[2026-09-06 11:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4150067085216387072,"note":"Value kept but may cause issues"} 
[2026-09-06 11:31:22] 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-09-06 11:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788674387000,"timestamp_ms":1788674387000,"timestamp_seconds":1788674387,"priority":1,"record_length":96,"hex_timestamp":"000001a0754d2c38"} 
[2026-09-06 11:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 11:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:31: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-09-06 11:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900642304001,"66":27800,"239":206,"81":49664,"24":27,"16":400668101655396352,"45":4150067085216387072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-09-06 11:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900642304001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:31:22] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-09-06 11:31:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-06 11:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400668101655396352,"km_value":400668101655396.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4150067085216387072,"description":"Unknown IO ID 45"} 
[2026-09-06 11:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900642304001,"power":27800,"unknown_239":206,"unknown_81":49664,"ignition":27,"odometer":null,"unknown_45":4150067085216387072}} 
[2026-09-06 11:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":173821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:31:22] local.INFO: GPS data processed {"connection_id":173821,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:31:22] local.INFO: Acknowledgment sent {"connection_id":173821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:31:27] local.INFO: TCP Data received {"connection_id":173820,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-09-06 11:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-09-06 11:31:27] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-09-06 11:31:27] local.INFO: Packet analysis {"connection_id":173820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-06 11:31:27] local.INFO: Extracted packet for processing {"connection_id":173820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-06 11:31: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-09-06 11:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893007935045632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:31:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:31:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":152000,"timestamp_seconds":152,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:31:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 11:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173820,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 11:31:27] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 11:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":173820,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 11:31:27] local.ERROR: GPS data processing failed {"connection_id":173820,"error":"No valid data to process"} 
[2026-09-06 11:31:27] local.INFO: Acknowledgment sent {"connection_id":173820,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 11:31:42] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0754d89f8012d1fd440071d80980041008e2d..."} 
[2026-09-06 11:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754d89f8012d1fd440071d80980041008e2d..."} 
[2026-09-06 11:31:42] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754d89f8012d1fd440071d80980041008e2d..."} 
[2026-09-06 11:31:42] local.INFO: Packet analysis {"connection_id":175136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754d"} 
[2026-09-06 11:31:42] local.INFO: Extracted packet for processing {"connection_id":175136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754d"} 
[2026-09-06 11:31:42] local.INFO: GPS Element Parsed {"raw_longitude":757060672,"raw_latitude":119373976,"longitude_deg":75.7060672,"latitude_deg":11.9373976,"altitude":65,"angle":142,"satellites":45,"speed":0,"hex_longitude":"2d1fd440","hex_latitude":"071d8098","is_valid_coordinates":true} 
[2026-09-06 11:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900643840001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18201869536985088,"note":"Value kept but may cause issues"} 
[2026-09-06 11:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2293317403309916160,"note":"Value kept but may cause issues"} 
[2026-09-06 11:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788674411000,"timestamp_ms":1788674411000,"timestamp_seconds":1788674411,"priority":1,"record_length":96,"hex_timestamp":"000001a0754d89f8"} 
[2026-09-06 11:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:31: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-09-06 11:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 11:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900643840001,"66":14070,"10":206,"83":41984,"24":0,"16":18201869536985088,"45":2293317403309916160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900643840001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:31:42] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18201869536985088,"km_value":18201869536985.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2293317403309916160,"description":"Unknown IO ID 45"} 
[2026-09-06 11:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900643840001,"power":14070,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2293317403309916160}} 
[2026-09-06 11:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":175136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:31:42] local.INFO: GPS data processed {"connection_id":175136,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:31:42] local.INFO: Acknowledgment sent {"connection_id":175136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:31:48] local.INFO: TCP Data received {"connection_id":172449,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:31:48] local.INFO: Processing buffer {"connection_id":172449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:31:48] local.INFO: IMEI packet received {"connection_id":172449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":172449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:31:50] local.INFO: TCP Data received {"connection_id":172449,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:31:50] local.INFO: Processing buffer {"connection_id":172449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:31:50] local.INFO: IMEI packet received {"connection_id":172449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":172449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:31:53] local.INFO: TCP Data received {"connection_id":172449,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:31:53] local.INFO: Processing buffer {"connection_id":172449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:31:53] local.INFO: IMEI packet received {"connection_id":172449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":172449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:31:55] local.INFO: TCP Data received {"connection_id":172449,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0754e2250012d3901c006a90848000a01272a..."} 
[2026-09-06 11:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754e2250012d3901c006a90848000a01272a..."} 
[2026-09-06 11:31:55] local.INFO: Processing buffer {"connection_id":172449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754e2250012d3901c006a90848000a01272a..."} 
[2026-09-06 11:31:55] local.INFO: Packet analysis {"connection_id":172449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:31:55] local.INFO: Extracted packet for processing {"connection_id":172449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:31:55] local.INFO: GPS Element Parsed {"raw_longitude":758710720,"raw_latitude":111741000,"longitude_deg":75.871072,"latitude_deg":11.1741,"altitude":10,"angle":295,"satellites":42,"speed":44,"hex_longitude":"2d3901c0","hex_latitude":"06a90848","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900656896001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400671017938190336,"note":"Value kept but may cause issues"} 
[2026-09-06 11:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4117064144207036416,"note":"Value kept but may cause issues"} 
[2026-09-06 11:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788674450000,"timestamp_ms":1788674450000,"timestamp_seconds":1788674450,"priority":1,"record_length":96,"hex_timestamp":"000001a0754e2250"} 
[2026-09-06 11:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:31: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-09-06 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 11:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900656896001,"66":27865,"46":206,"81":23296,"24":44,"16":400671017938190336,"45":4117064144207036416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-06 11:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900656896001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:31:55] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-06 11:31:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400671017938190336,"km_value":400671017938190.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4117064144207036416,"description":"Unknown IO ID 45"} 
[2026-09-06 11:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900656896001,"power":27865,"unknown_46":206,"unknown_81":23296,"ignition":44,"odometer":null,"unknown_45":4117064144207036416}} 
[2026-09-06 11:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":172449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:31:55] local.INFO: GPS data processed {"connection_id":172449,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:31:55] local.INFO: Acknowledgment sent {"connection_id":172449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:31:58] local.INFO: TCP Data received {"connection_id":173820,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-09-06 11:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-09-06 11:31:58] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-09-06 11:31:58] local.INFO: Packet analysis {"connection_id":173820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-06 11:31:58] local.INFO: Extracted packet for processing {"connection_id":173820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-06 11:31:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893007935045632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:31:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:31:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":173000,"timestamp_seconds":173,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:31:58] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 11:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173820,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 11:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 11:31:58] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 11:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":173820,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 11:31:58] local.ERROR: GPS data processing failed {"connection_id":173820,"error":"No valid data to process"} 
[2026-09-06 11:31:58] local.INFO: Acknowledgment sent {"connection_id":173820,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 11:32:09] local.INFO: TCP Data received {"connection_id":173822,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:32:09] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:32:09] local.INFO: IMEI packet received {"connection_id":173822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":173822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:32:13] local.INFO: TCP Data received {"connection_id":173822,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:32:13] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:32:13] local.INFO: IMEI packet received {"connection_id":173822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":173822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:32:14] local.INFO: TCP Data received {"connection_id":173822,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0754ddc00012d1fd440071d80980041008e2a..."} 
[2026-09-06 11:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754ddc00012d1fd440071d80980041008e2a..."} 
[2026-09-06 11:32:14] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754ddc00012d1fd440071d80980041008e2a..."} 
[2026-09-06 11:32:14] local.INFO: Packet analysis {"connection_id":173822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754d"} 
[2026-09-06 11:32:14] local.INFO: Extracted packet for processing {"connection_id":173822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754d"} 
[2026-09-06 11:32:14] local.INFO: GPS Element Parsed {"raw_longitude":757060672,"raw_latitude":119373976,"longitude_deg":75.7060672,"latitude_deg":11.9373976,"altitude":65,"angle":142,"satellites":42,"speed":0,"hex_longitude":"2d1fd440","hex_latitude":"071d8098","is_valid_coordinates":true} 
[2026-09-06 11:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900649216001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18201869536985088,"note":"Value kept but may cause issues"} 
[2026-09-06 11:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2293528509542340608,"note":"Value kept but may cause issues"} 
[2026-09-06 11:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788674432000,"timestamp_ms":1788674432000,"timestamp_seconds":1788674432,"priority":1,"record_length":96,"hex_timestamp":"000001a0754ddc00"} 
[2026-09-06 11:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:32: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-09-06 11:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-06 11:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900649216001,"66":13993,"10":206,"83":41984,"24":0,"16":18201869536985088,"45":2293528509542340608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900649216001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:32:14] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18201869536985088,"km_value":18201869536985.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2293528509542340608,"description":"Unknown IO ID 45"} 
[2026-09-06 11:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900649216001,"power":13993,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2293528509542340608}} 
[2026-09-06 11:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":173822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:32:14] local.INFO: GPS data processed {"connection_id":173822,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:32:14] local.INFO: Acknowledgment sent {"connection_id":173822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:32:26] local.INFO: TCP Data received {"connection_id":172449,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0754e4190012d38e20006a91888000901282d..."} 
[2026-09-06 11:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754e4190012d38e20006a91888000901282d..."} 
[2026-09-06 11:32:26] local.INFO: Processing buffer {"connection_id":172449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754e4190012d38e20006a91888000901282d..."} 
[2026-09-06 11:32:26] local.INFO: Packet analysis {"connection_id":172449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:32:26] local.INFO: Extracted packet for processing {"connection_id":172449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:32:26] local.INFO: GPS Element Parsed {"raw_longitude":758702592,"raw_latitude":111745160,"longitude_deg":75.8702592,"latitude_deg":11.174516,"altitude":9,"angle":296,"satellites":45,"speed":45,"hex_longitude":"2d38e200","hex_latitude":"06a91888","is_valid_coordinates":true} 
[2026-09-06 11:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900659200001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400671451729887232,"note":"Value kept but may cause issues"} 
[2026-09-06 11:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4107775469976832000,"note":"Value kept but may cause issues"} 
[2026-09-06 11:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788674458000,"timestamp_ms":1788674458000,"timestamp_seconds":1788674458,"priority":1,"record_length":96,"hex_timestamp":"000001a0754e4190"} 
[2026-09-06 11:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 11:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:32: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-09-06 11:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900659200001,"66":27865,"46":206,"81":23296,"24":45,"16":400671451729887232,"45":4107775469976832000},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-06 11:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900659200001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:32:26] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-06 11:32:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400671451729887232,"km_value":400671451729887.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4107775469976832000,"description":"Unknown IO ID 45"} 
[2026-09-06 11:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900659200001,"power":27865,"unknown_46":206,"unknown_81":23296,"ignition":45,"odometer":null,"unknown_45":4107775469976832000}} 
[2026-09-06 11:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":172449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:32:26] local.INFO: GPS data processed {"connection_id":172449,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:32:26] local.INFO: Acknowledgment sent {"connection_id":172449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:32:29] local.INFO: TCP Data received {"connection_id":173820,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0754dff280100000000000000000000000000..."} 
[2026-09-06 11:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754dff280100000000000000000000000000..."} 
[2026-09-06 11:32:29] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754dff280100000000000000000000000000..."} 
[2026-09-06 11:32:29] local.INFO: Packet analysis {"connection_id":173820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754d"} 
[2026-09-06 11:32:29] local.INFO: Extracted packet for processing {"connection_id":173820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754d"} 
[2026-09-06 11:32: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-09-06 11:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893007935045632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:32:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788674441000,"timestamp_ms":1788674441000,"timestamp_seconds":1788674441,"priority":1,"record_length":96,"hex_timestamp":"000001a0754dff28"} 
[2026-09-06 11:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-06 11:32:29] 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-09-06 11:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:32:29] 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-09-06 11:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":173820,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 11:32:29] local.INFO: GPS data processed {"connection_id":173820,"processed":0,"errors":0,"total":1} 
[2026-09-06 11:32:29] local.INFO: Acknowledgment sent {"connection_id":173820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:32:45] local.INFO: TCP Data received {"connection_id":173822,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0754e2e08012d1fd440071d80980041008e2a..."} 
[2026-09-06 11:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754e2e08012d1fd440071d80980041008e2a..."} 
[2026-09-06 11:32:45] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754e2e08012d1fd440071d80980041008e2a..."} 
[2026-09-06 11:32:45] local.INFO: Packet analysis {"connection_id":173822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:32:45] local.INFO: Extracted packet for processing {"connection_id":173822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:32:45] local.INFO: GPS Element Parsed {"raw_longitude":757060672,"raw_latitude":119373976,"longitude_deg":75.7060672,"latitude_deg":11.9373976,"altitude":65,"angle":142,"satellites":42,"speed":0,"hex_longitude":"2d1fd440","hex_latitude":"071d8098","is_valid_coordinates":true} 
[2026-09-06 11:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900654592001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18201869536985088,"note":"Value kept but may cause issues"} 
[2026-09-06 11:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2293528509542340608,"note":"Value kept but may cause issues"} 
[2026-09-06 11:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788674453000,"timestamp_ms":1788674453000,"timestamp_seconds":1788674453,"priority":1,"record_length":96,"hex_timestamp":"000001a0754e2e08"} 
[2026-09-06 11:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:32: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-09-06 11:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 11:32:45] 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-09-06 11:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900654592001,"66":13993,"10":206,"83":41984,"24":0,"16":18201869536985088,"45":2293528509542340608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900654592001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:32:45] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:32:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18201869536985088,"km_value":18201869536985.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2293528509542340608,"description":"Unknown IO ID 45"} 
[2026-09-06 11:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900654592001,"power":13993,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2293528509542340608}} 
[2026-09-06 11:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":173822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:32:45] local.INFO: GPS data processed {"connection_id":173822,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:32:45] local.INFO: Acknowledgment sent {"connection_id":173822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:32:48] local.INFO: TCP Data received {"connection_id":173823,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:32:48] local.INFO: Processing buffer {"connection_id":173823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:32:48] local.INFO: IMEI packet received {"connection_id":173823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":173823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:32:53] local.INFO: TCP Data received {"connection_id":173823,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:32:53] local.INFO: Processing buffer {"connection_id":173823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:32:53] local.INFO: IMEI packet received {"connection_id":173823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":173823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:32:54] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:32:54] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:32:54] local.INFO: IMEI packet received {"connection_id":173824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":173824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:32:55] local.INFO: TCP Data received {"connection_id":173823,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0754e5900012d38ca8006a92698000901332b..."} 
[2026-09-06 11:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754e5900012d38ca8006a92698000901332b..."} 
[2026-09-06 11:32:55] local.INFO: Processing buffer {"connection_id":173823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754e5900012d38ca8006a92698000901332b..."} 
[2026-09-06 11:32:55] local.INFO: Packet analysis {"connection_id":173823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:32:55] local.INFO: Extracted packet for processing {"connection_id":173823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:32:55] local.INFO: GPS Element Parsed {"raw_longitude":758696576,"raw_latitude":111748760,"longitude_deg":75.8696576,"latitude_deg":11.174876,"altitude":9,"angle":307,"satellites":43,"speed":45,"hex_longitude":"2d38ca80","hex_latitude":"06a92698","is_valid_coordinates":true} 
[2026-09-06 11:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900661248001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400671786737336320,"note":"Value kept but may cause issues"} 
[2026-09-06 11:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4098838639467333632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788674464000,"timestamp_ms":1788674464000,"timestamp_seconds":1788674464,"priority":1,"record_length":96,"hex_timestamp":"000001a0754e5900"} 
[2026-09-06 11:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:32: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-09-06 11:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 11:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900661248001,"66":27767,"46":206,"81":23296,"24":45,"16":400671786737336320,"45":4098838639467333632},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-06 11:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900661248001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:32:55] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-06 11:32:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400671786737336320,"km_value":400671786737336.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4098838639467333632,"description":"Unknown IO ID 45"} 
[2026-09-06 11:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900661248001,"power":27767,"unknown_46":206,"unknown_81":23296,"ignition":45,"odometer":null,"unknown_45":4098838639467333632}} 
[2026-09-06 11:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":173823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:32:55] local.INFO: GPS data processed {"connection_id":173823,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:32:55] local.INFO: Acknowledgment sent {"connection_id":173823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:32:59] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:32:59] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:32:59] local.INFO: IMEI packet received {"connection_id":173824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":173824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:33:00] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0754e51300100000000000000000000000000..."} 
[2026-09-06 11:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754e51300100000000000000000000000000..."} 
[2026-09-06 11:33:00] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754e51300100000000000000000000000000..."} 
[2026-09-06 11:33:00] local.INFO: Packet analysis {"connection_id":173824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:33:00] local.INFO: Extracted packet for processing {"connection_id":173824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:33: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-09-06 11:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893007935045632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:33:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788674462000,"timestamp_ms":1788674462000,"timestamp_seconds":1788674462,"priority":1,"record_length":96,"hex_timestamp":"000001a0754e5130"} 
[2026-09-06 11:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-06 11:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:33:00] 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-09-06 11:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":173824,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 11:33:00] local.INFO: GPS data processed {"connection_id":173824,"processed":0,"errors":0,"total":1} 
[2026-09-06 11:33:00] local.INFO: Acknowledgment sent {"connection_id":173824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:33:05] local.INFO: TCP Data received {"connection_id":172669,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:33:05] local.INFO: Processing buffer {"connection_id":172669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:33:05] local.INFO: IMEI packet received {"connection_id":172669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 11:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":172669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:33:09] local.INFO: TCP Data received {"connection_id":175137,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:33:09] local.INFO: Processing buffer {"connection_id":175137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:33:09] local.INFO: IMEI packet received {"connection_id":175137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":175137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:33:15] local.INFO: TCP Data received {"connection_id":175137,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:33:15] local.INFO: Processing buffer {"connection_id":175137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:33:15] local.INFO: IMEI packet received {"connection_id":175137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":175137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:33:15] local.INFO: TCP Data received {"connection_id":175137,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0754e8010012d1fd440071d80980041008e2c..."} 
[2026-09-06 11:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754e8010012d1fd440071d80980041008e2c..."} 
[2026-09-06 11:33:15] local.INFO: Processing buffer {"connection_id":175137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754e8010012d1fd440071d80980041008e2c..."} 
[2026-09-06 11:33:15] local.INFO: Packet analysis {"connection_id":175137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:33:15] local.INFO: Extracted packet for processing {"connection_id":175137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:33:15] local.INFO: GPS Element Parsed {"raw_longitude":757060672,"raw_latitude":119373976,"longitude_deg":75.7060672,"latitude_deg":11.9373976,"altitude":65,"angle":142,"satellites":44,"speed":0,"hex_longitude":"2d1fd440","hex_latitude":"071d8098","is_valid_coordinates":true} 
[2026-09-06 11:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900659968001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18201869536985088,"note":"Value kept but may cause issues"} 
[2026-09-06 11:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2293528509542340608,"note":"Value kept but may cause issues"} 
[2026-09-06 11:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788674474000,"timestamp_ms":1788674474000,"timestamp_seconds":1788674474,"priority":1,"record_length":96,"hex_timestamp":"000001a0754e8010"} 
[2026-09-06 11:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 11:33:15] 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-09-06 11:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900659968001,"66":14265,"10":206,"83":41984,"24":0,"16":18201869536985088,"45":2293528509542340608},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900659968001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:33:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18201869536985088,"km_value":18201869536985.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2293528509542340608,"description":"Unknown IO ID 45"} 
[2026-09-06 11:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900659968001,"power":14265,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2293528509542340608}} 
[2026-09-06 11:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":175137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:33:15] local.INFO: GPS data processed {"connection_id":175137,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:33:15] local.INFO: Acknowledgment sent {"connection_id":175137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:33:27] local.INFO: TCP Data received {"connection_id":173823,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0754e7840012d38b00006a93e700008013b2e..."} 
[2026-09-06 11:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754e7840012d38b00006a93e700008013b2e..."} 
[2026-09-06 11:33:27] local.INFO: Processing buffer {"connection_id":173823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754e7840012d38b00006a93e700008013b2e..."} 
[2026-09-06 11:33:27] local.INFO: Packet analysis {"connection_id":173823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:33:27] local.INFO: Extracted packet for processing {"connection_id":173823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:33:27] local.INFO: GPS Element Parsed {"raw_longitude":758689792,"raw_latitude":111754864,"longitude_deg":75.8689792,"latitude_deg":11.1754864,"altitude":8,"angle":315,"satellites":46,"speed":44,"hex_longitude":"2d38b000","hex_latitude":"06a93e70","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900662784001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400672224824000512,"note":"Value kept but may cause issues"} 
[2026-09-06 11:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4092223977515554816,"note":"Value kept but may cause issues"} 
[2026-09-06 11:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788674472000,"timestamp_ms":1788674472000,"timestamp_seconds":1788674472,"priority":1,"record_length":96,"hex_timestamp":"000001a0754e7840"} 
[2026-09-06 11:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:33: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-09-06 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 11:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900662784001,"66":27658,"49":206,"81":23296,"24":44,"16":400672224824000512,"45":4092223977515554816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,81,24,16,45]} 
[2026-09-06 11:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900662784001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:33:27] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-06 11:33:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400672224824000512,"km_value":400672224824000.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4092223977515554816,"description":"Unknown IO ID 45"} 
[2026-09-06 11:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900662784001,"power":27658,"unknown_49":206,"unknown_81":23296,"ignition":44,"odometer":null,"unknown_45":4092223977515554816}} 
[2026-09-06 11:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":173823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:33:27] local.INFO: GPS data processed {"connection_id":173823,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:33:27] local.INFO: Acknowledgment sent {"connection_id":173823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:33:31] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0754ea3380100000000000000000000000000..."} 
[2026-09-06 11:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754ea3380100000000000000000000000000..."} 
[2026-09-06 11:33:31] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754ea3380100000000000000000000000000..."} 
[2026-09-06 11:33:31] local.INFO: Packet analysis {"connection_id":173824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:33:31] local.INFO: Extracted packet for processing {"connection_id":173824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:33: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-09-06 11:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893007935045632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:33:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788674483000,"timestamp_ms":1788674483000,"timestamp_seconds":1788674483,"priority":1,"record_length":96,"hex_timestamp":"000001a0754ea338"} 
[2026-09-06 11:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:33:31] 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-09-06 11:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-06 11:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:33:31] 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-09-06 11:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":173824,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 11:33:31] local.INFO: GPS data processed {"connection_id":173824,"processed":0,"errors":0,"total":1} 
[2026-09-06 11:33:31] local.INFO: Acknowledgment sent {"connection_id":173824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:33:46] local.INFO: TCP Data received {"connection_id":175137,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0754ed218012d1fd440071d80980041008e2a..."} 
[2026-09-06 11:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754ed218012d1fd440071d80980041008e2a..."} 
[2026-09-06 11:33:46] local.INFO: Processing buffer {"connection_id":175137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754ed218012d1fd440071d80980041008e2a..."} 
[2026-09-06 11:33:46] local.INFO: Packet analysis {"connection_id":175137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:33:46] local.INFO: Extracted packet for processing {"connection_id":175137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754e"} 
[2026-09-06 11:33:46] local.INFO: GPS Element Parsed {"raw_longitude":757060672,"raw_latitude":119373976,"longitude_deg":75.7060672,"latitude_deg":11.9373976,"altitude":65,"angle":142,"satellites":42,"speed":0,"hex_longitude":"2d1fd440","hex_latitude":"071d8098","is_valid_coordinates":true} 
[2026-09-06 11:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900665344001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18201869536985088,"note":"Value kept but may cause issues"} 
[2026-09-06 11:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2293528509542340608,"note":"Value kept but may cause issues"} 
[2026-09-06 11:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788674495000,"timestamp_ms":1788674495000,"timestamp_seconds":1788674495,"priority":1,"record_length":96,"hex_timestamp":"000001a0754ed218"} 
[2026-09-06 11:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-06 11:33:46] 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-09-06 11:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900665344001,"66":14341,"10":206,"83":41984,"24":0,"16":18201869536985088,"45":2293528509542340608},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900665344001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:33:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18201869536985088,"km_value":18201869536985.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2293528509542340608,"description":"Unknown IO ID 45"} 
[2026-09-06 11:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900665344001,"power":14341,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2293528509542340608}} 
[2026-09-06 11:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":175137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:33:47] local.INFO: GPS data processed {"connection_id":175137,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:33:47] local.INFO: Acknowledgment sent {"connection_id":175137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:33:57] local.INFO: TCP Data received {"connection_id":172671,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:33:57] local.INFO: Processing buffer {"connection_id":172671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:33:57] local.INFO: IMEI packet received {"connection_id":172671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":172671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:33:58] local.INFO: TCP Data received {"connection_id":172671,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:33:58] local.INFO: Processing buffer {"connection_id":172671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:33:58] local.INFO: IMEI packet received {"connection_id":172671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":172671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:34:03] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07550c618012d7c0c8005d21360000800d70f..."} 
[2026-09-06 11:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07550c618012d7c0c8005d21360000800d70f..."} 
[2026-09-06 11:34:03] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07550c618012d7c0c8005d21360000800d70f..."} 
[2026-09-06 11:34:03] local.INFO: Packet analysis {"connection_id":173824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07550"} 
[2026-09-06 11:34:03] local.INFO: Extracted packet for processing {"connection_id":173824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07550"} 
[2026-09-06 11:34:03] local.INFO: GPS Element Parsed {"raw_longitude":763104384,"raw_latitude":97653600,"longitude_deg":76.3104384,"latitude_deg":9.76536,"altitude":8,"angle":215,"satellites":15,"speed":1,"hex_longitude":"2d7c0c80","hex_latitude":"05d21360","is_valid_coordinates":true} 
[2026-09-06 11:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900702976001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893162553868288,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938730491655444480,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:03] 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-09-06 11:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788674623000,"timestamp_ms":1788674623000,"timestamp_seconds":1788674623,"priority":1,"record_length":96,"hex_timestamp":"000001a07550c618"} 
[2026-09-06 11:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:34:03] 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-09-06 11:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 11:34:03] 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-09-06 11:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:34:03] 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-09-06 11:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900702976001,"66":13656,"187":206,"85":15104,"24":1,"16":128893162553868288,"45":8938730491655444480},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 11:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900702976001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:34:03] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 11:34:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128893162553868288,"km_value":128893162553868.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938730491655444480,"description":"Unknown IO ID 45"} 
[2026-09-06 11:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900702976001,"power":13656,"unknown_187":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8938730491655444480}} 
[2026-09-06 11:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":173824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:34:03] local.INFO: GPS data processed {"connection_id":173824,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:34:03] local.INFO: Acknowledgment sent {"connection_id":173824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:34:03] local.INFO: TCP Data received {"connection_id":172671,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:34:03] local.INFO: Processing buffer {"connection_id":172671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:34:03] local.INFO: IMEI packet received {"connection_id":172671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":172671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:34:04] local.INFO: TCP Data received {"connection_id":172671,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075500a98012d375b8006a98b20000b01142c..."} 
[2026-09-06 11:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075500a98012d375b8006a98b20000b01142c..."} 
[2026-09-06 11:34:04] local.INFO: Processing buffer {"connection_id":172671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075500a98012d375b8006a98b20000b01142c..."} 
[2026-09-06 11:34:04] local.INFO: Packet analysis {"connection_id":172671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07550"} 
[2026-09-06 11:34:04] local.INFO: Extracted packet for processing {"connection_id":172671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07550"} 
[2026-09-06 11:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758602624,"raw_latitude":111774496,"longitude_deg":75.8602624,"latitude_deg":11.1774496,"altitude":11,"angle":276,"satellites":44,"speed":46,"hex_longitude":"2d375b80","hex_latitude":"06a98b20","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900689152001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400676764604432384,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3998633547765929984,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:04] 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-09-06 11:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788674575000,"timestamp_ms":1788674575000,"timestamp_seconds":1788674575,"priority":1,"record_length":96,"hex_timestamp":"000001a075500a98"} 
[2026-09-06 11:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 11:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900689152001,"66":27800,"77":206,"81":23296,"24":46,"16":400676764604432384,"45":3998633547765929984},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-06 11:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900689152001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:34:04] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-06 11:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400676764604432384,"km_value":400676764604432.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3998633547765929984,"description":"Unknown IO ID 45"} 
[2026-09-06 11:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900689152001,"power":27800,"unknown_77":206,"unknown_81":23296,"ignition":46,"odometer":null,"unknown_45":3998633547765929984}} 
[2026-09-06 11:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":172671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:34:04] local.INFO: GPS data processed {"connection_id":172671,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:34:04] local.INFO: Acknowledgment sent {"connection_id":172671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:34:09] local.INFO: TCP Data received {"connection_id":175138,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:34:09] local.INFO: Processing buffer {"connection_id":175138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:34:09] local.INFO: IMEI packet received {"connection_id":175138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":175138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:34:14] local.INFO: TCP Data received {"connection_id":175138,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:34:14] local.INFO: Processing buffer {"connection_id":175138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:34:14] local.INFO: IMEI packet received {"connection_id":175138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":175138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:34:15] local.INFO: TCP Data received {"connection_id":175138,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0754f2420012d1fd400071d7e40004700a22c..."} 
[2026-09-06 11:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754f2420012d1fd400071d7e40004700a22c..."} 
[2026-09-06 11:34:15] local.INFO: Processing buffer {"connection_id":175138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754f2420012d1fd400071d7e40004700a22c..."} 
[2026-09-06 11:34:15] local.INFO: Packet analysis {"connection_id":175138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754f"} 
[2026-09-06 11:34:15] local.INFO: Extracted packet for processing {"connection_id":175138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754f"} 
[2026-09-06 11:34:15] local.INFO: GPS Element Parsed {"raw_longitude":757060608,"raw_latitude":119373376,"longitude_deg":75.7060608,"latitude_deg":11.9373376,"altitude":71,"angle":162,"satellites":44,"speed":5,"hex_longitude":"2d1fd400","hex_latitude":"071d7e40","is_valid_coordinates":true} 
[2026-09-06 11:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900670720001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18201899601756160,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2293528509542340608,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788674516000,"timestamp_ms":1788674516000,"timestamp_seconds":1788674516,"priority":1,"record_length":96,"hex_timestamp":"000001a0754f2420"} 
[2026-09-06 11:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-06 11:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987009269,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:15] local.WARNING: Large IO value detected {"io_id":170,"raw_value":2164260864,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:15] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2860187648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":17452054867877632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:15] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503877364088832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:15] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2157445185,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1795817678,"corrected_to":0} 
[2026-09-06 11:34:15] local.WARNING: Large IO value detected {"io_id":55,"raw_value":4026608927,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:15] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2147949954,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:15] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402091,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:15] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84758886074490265,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:15] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,10,83,24,241,157,16,170,160,128,45,64,65,44,66,46,42,220,1,240,169,227,117,29,4,113,205,55,211,43,239,54,2,7,62,206,136],"length":529,"final_offset":659,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1795817678,"validated":0}]} 
[2026-09-06 11:34:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4683899923505086464,"timestamp_seconds":4683899923505086.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900670720001,"66":13135,"10":206,"83":41984,"24":5,"16":18201899601756160,"45":2293528509542340608},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900670720001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:34:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18201899601756160,"km_value":18201899601756.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2293528509542340608,"description":"Unknown IO ID 45"} 
[2026-09-06 11:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900670720001,"power":13135,"unknown_10":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":2293528509542340608}} 
[2026-09-06 11:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":175138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:34:15] local.INFO: GPS data processed {"connection_id":175138,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:34:15] local.INFO: Acknowledgment sent {"connection_id":175138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:34:34] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07550e170012d7c0c4005d21320000900cb0f..."} 
[2026-09-06 11:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07550e170012d7c0c4005d21320000900cb0f..."} 
[2026-09-06 11:34:34] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07550e170012d7c0c4005d21320000900cb0f..."} 
[2026-09-06 11:34:34] local.INFO: Packet analysis {"connection_id":173824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07550"} 
[2026-09-06 11:34:34] local.INFO: Extracted packet for processing {"connection_id":173824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07550"} 
[2026-09-06 11:34:34] local.INFO: GPS Element Parsed {"raw_longitude":763104320,"raw_latitude":97653536,"longitude_deg":76.310432,"latitude_deg":9.7653536,"altitude":9,"angle":203,"satellites":15,"speed":1,"hex_longitude":"2d7c0c40","hex_latitude":"05d21320","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900703488001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893171143802880,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938660122911268864,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:34] 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-09-06 11:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788674630000,"timestamp_ms":1788674630000,"timestamp_seconds":1788674630,"priority":1,"record_length":96,"hex_timestamp":"000001a07550e170"} 
[2026-09-06 11:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:34:34] 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-09-06 11: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 11:34: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-09-06 11: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-09-06 11:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:34:34] 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-09-06 11:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900703488001,"66":13363,"187":206,"85":15104,"24":1,"16":128893171143802880,"45":8938660122911268864},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 11:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900703488001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:34:34] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 11:34:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128893171143802880,"km_value":128893171143802.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938660122911268864,"description":"Unknown IO ID 45"} 
[2026-09-06 11:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900703488001,"power":13363,"unknown_187":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8938660122911268864}} 
[2026-09-06 11:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":173824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:34:34] local.INFO: GPS data processed {"connection_id":173824,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:34:34] local.INFO: Acknowledgment sent {"connection_id":173824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:34:46] local.INFO: TCP Data received {"connection_id":175138,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0754f2420012d1fd400071d7e40004700a22c..."} 
[2026-09-06 11:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754f2420012d1fd400071d7e40004700a22c..."} 
[2026-09-06 11:34:46] local.INFO: Processing buffer {"connection_id":175138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754f2420012d1fd400071d7e40004700a22c..."} 
[2026-09-06 11:34:46] local.INFO: Packet analysis {"connection_id":175138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754f"} 
[2026-09-06 11:34:46] local.INFO: Extracted packet for processing {"connection_id":175138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754f"} 
[2026-09-06 11:34:46] local.INFO: GPS Element Parsed {"raw_longitude":757060608,"raw_latitude":119373376,"longitude_deg":75.7060608,"latitude_deg":11.9373376,"altitude":71,"angle":162,"satellites":44,"speed":5,"hex_longitude":"2d1fd400","hex_latitude":"071d7e40","is_valid_coordinates":true} 
[2026-09-06 11:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900676096001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18201899601756160,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2293458140798009344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788674516000,"timestamp_ms":1788674516000,"timestamp_seconds":1788674516,"priority":1,"record_length":96,"hex_timestamp":"000001a0754f2420"} 
[2026-09-06 11:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 11:34:46] 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-09-06 11:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900676096001,"66":13135,"10":206,"83":41984,"24":5,"16":18201899601756160,"45":2293458140798009344},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900676096001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:34:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18201899601756160,"km_value":18201899601756.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2293458140798009344,"description":"Unknown IO ID 45"} 
[2026-09-06 11:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900676096001,"power":13135,"unknown_10":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":2293458140798009344}} 
[2026-09-06 11:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":175138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:34:47] local.INFO: GPS data processed {"connection_id":175138,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:34:47] local.INFO: Acknowledgment sent {"connection_id":175138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:34:48] local.INFO: TCP Data received {"connection_id":175139,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:34:48] local.INFO: Processing buffer {"connection_id":175139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:34:48] local.INFO: IMEI packet received {"connection_id":175139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":175139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:34:53] local.INFO: TCP Data received {"connection_id":175139,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:34:53] local.INFO: Processing buffer {"connection_id":175139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:34:53] local.INFO: IMEI packet received {"connection_id":175139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":175139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:34:54] local.INFO: TCP Data received {"connection_id":175139,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0755029d8012d3735c006a990c00008011b2c..."} 
[2026-09-06 11:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755029d8012d3735c006a990c00008011b2c..."} 
[2026-09-06 11:34:54] local.INFO: Processing buffer {"connection_id":175139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755029d8012d3735c006a990c00008011b2c..."} 
[2026-09-06 11:34:54] local.INFO: Packet analysis {"connection_id":175139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07550"} 
[2026-09-06 11:34:54] local.INFO: Extracted packet for processing {"connection_id":175139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07550"} 
[2026-09-06 11:34:54] local.INFO: GPS Element Parsed {"raw_longitude":758592960,"raw_latitude":111775936,"longitude_deg":75.859296,"latitude_deg":11.1775936,"altitude":8,"angle":283,"satellites":44,"speed":48,"hex_longitude":"2d3735c0","hex_latitude":"06a990c0","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900691200001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400677228460900352,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3988922661069332480,"note":"Value kept but may cause issues"} 
[2026-09-06 11:34:54] 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-09-06 11:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788674583000,"timestamp_ms":1788674583000,"timestamp_seconds":1788674583,"priority":1,"record_length":96,"hex_timestamp":"000001a0755029d8"} 
[2026-09-06 11:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:34: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-09-06 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 11:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:34: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-09-06 11:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900691200001,"66":27843,"77":206,"81":23296,"24":48,"16":400677228460900352,"45":3988922661069332480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-06 11:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900691200001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:34:54] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-06 11:34:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400677228460900352,"km_value":400677228460900.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3988922661069332480,"description":"Unknown IO ID 45"} 
[2026-09-06 11:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900691200001,"power":27843,"unknown_77":206,"unknown_81":23296,"ignition":48,"odometer":null,"unknown_45":3988922661069332480}} 
[2026-09-06 11:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":175139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:34:54] local.INFO: GPS data processed {"connection_id":175139,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:34:54] local.INFO: Acknowledgment sent {"connection_id":175139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:34:59] local.INFO: TCP Data received {"connection_id":172450,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:34:59] local.INFO: Processing buffer {"connection_id":172450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:34:59] local.INFO: IMEI packet received {"connection_id":172450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":172450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:35:04] local.INFO: TCP Data received {"connection_id":172450,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:35:04] local.INFO: Processing buffer {"connection_id":172450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:35:04] local.INFO: IMEI packet received {"connection_id":172450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":172450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:35:05] local.INFO: TCP Data received {"connection_id":172450,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075519908012d7c090005d210180008004611..."} 
[2026-09-06 11:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075519908012d7c090005d210180008004611..."} 
[2026-09-06 11:35:05] local.INFO: Processing buffer {"connection_id":172450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075519908012d7c090005d210180008004611..."} 
[2026-09-06 11:35:05] local.INFO: Packet analysis {"connection_id":172450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07551"} 
[2026-09-06 11:35:05] local.INFO: Extracted packet for processing {"connection_id":172450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07551"} 
[2026-09-06 11:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763103488,"raw_latitude":97652760,"longitude_deg":76.3103488,"latitude_deg":9.765276,"altitude":8,"angle":70,"satellites":17,"speed":1,"hex_longitude":"2d7c0900","hex_latitude":"05d21018","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900713216001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893252748181504,"note":"Value kept but may cause issues"} 
[2026-09-06 11:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937745329236744192,"note":"Value kept but may cause issues"} 
[2026-09-06 11:35:05] 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-09-06 11:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788674677000,"timestamp_ms":1788674677000,"timestamp_seconds":1788674677,"priority":1,"record_length":96,"hex_timestamp":"000001a075519908"} 
[2026-09-06 11:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:35:05] 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-09-06 11: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 11:35: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-09-06 11: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-09-06 11:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:35:05] 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-09-06 11:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900713216001,"66":13406,"187":206,"85":15104,"24":1,"16":128893252748181504,"45":8937745329236744192},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 11:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900713216001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:35:05] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 11:35:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128893252748181504,"km_value":128893252748181.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937745329236744192,"description":"Unknown IO ID 45"} 
[2026-09-06 11:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900713216001,"power":13406,"unknown_187":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8937745329236744192}} 
[2026-09-06 11:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":172450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:35:05] local.INFO: GPS data processed {"connection_id":172450,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:35:05] local.INFO: Acknowledgment sent {"connection_id":172450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:35:10] local.INFO: TCP Data received {"connection_id":172450,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075519cf0012d7c090005d210180008006a11..."} 
[2026-09-06 11:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075519cf0012d7c090005d210180008006a11..."} 
[2026-09-06 11:35:10] local.INFO: Processing buffer {"connection_id":172450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075519cf0012d7c090005d210180008006a11..."} 
[2026-09-06 11:35:10] local.INFO: Packet analysis {"connection_id":172450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07551"} 
[2026-09-06 11:35:10] local.INFO: Extracted packet for processing {"connection_id":172450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07551"} 
[2026-09-06 11:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763103488,"raw_latitude":97652760,"longitude_deg":76.3103488,"latitude_deg":9.765276,"altitude":8,"angle":106,"satellites":17,"speed":1,"hex_longitude":"2d7c0900","hex_latitude":"05d21018","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900717312001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893252748181504,"note":"Value kept but may cause issues"} 
[2026-09-06 11:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937674960492566528,"note":"Value kept but may cause issues"} 
[2026-09-06 11:35:10] 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-09-06 11:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788674678000,"timestamp_ms":1788674678000,"timestamp_seconds":1788674678,"priority":1,"record_length":96,"hex_timestamp":"000001a075519cf0"} 
[2026-09-06 11:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:35:10] 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-09-06 11: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-06 11:35:10] 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-09-06 11: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-09-06 11:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:35:10] 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-09-06 11:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900717312001,"66":13406,"187":206,"85":15104,"24":1,"16":128893252748181504,"45":8937674960492566528},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 11:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900717312001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:35:10] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 11:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128893252748181504,"km_value":128893252748181.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937674960492566528,"description":"Unknown IO ID 45"} 
[2026-09-06 11:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900717312001,"power":13406,"unknown_187":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8937674960492566528}} 
[2026-09-06 11:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":172450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:35:10] local.INFO: GPS data processed {"connection_id":172450,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:35:10] local.INFO: Acknowledgment sent {"connection_id":172450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:35:14] local.INFO: TCP Data received {"connection_id":172672,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:35:14] local.INFO: Processing buffer {"connection_id":172672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:35:14] local.INFO: IMEI packet received {"connection_id":172672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":172672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:35:19] local.INFO: TCP Data received {"connection_id":172672,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:35:19] local.INFO: Processing buffer {"connection_id":172672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:35:19] local.INFO: IMEI packet received {"connection_id":172672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":172672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:35:20] local.INFO: TCP Data received {"connection_id":172672,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:35:20] local.INFO: Processing buffer {"connection_id":172672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:35:20] local.INFO: Packet analysis {"connection_id":172672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754f"} 
[2026-09-06 11:35:20] local.INFO: Extracted packet for processing {"connection_id":172672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754f"} 
[2026-09-06 11:35:20] local.INFO: GPS Element Parsed {"raw_longitude":757064000,"raw_latitude":119366392,"longitude_deg":75.7064,"latitude_deg":11.9366392,"altitude":69,"angle":156,"satellites":43,"speed":13,"hex_longitude":"2d1fe140","hex_latitude":"071d62f8","is_valid_coordinates":true} 
[2026-09-06 11:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900676096001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2293458140798009344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788674535000,"timestamp_ms":1788674535000,"timestamp_seconds":1788674535,"priority":1,"record_length":96,"hex_timestamp":"000001a0754f6e58"} 
[2026-09-06 11:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 11:35: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-09-06 11:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900676096001,"66":13102,"10":206,"83":41984,"24":13,"16":18202277558878208,"45":2293458140798009344},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900676096001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:35:20] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:35:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2293458140798009344,"description":"Unknown IO ID 45"} 
[2026-09-06 11:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900676096001,"power":13102,"unknown_10":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":2293458140798009344}} 
[2026-09-06 11:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":172672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:35:20] local.INFO: GPS data processed {"connection_id":172672,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:35:20] local.INFO: Acknowledgment sent {"connection_id":172672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:35:25] local.INFO: TCP Data received {"connection_id":172672,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:35:25] local.INFO: Processing buffer {"connection_id":172672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:35:25] local.INFO: Packet analysis {"connection_id":172672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754f"} 
[2026-09-06 11:35:25] local.INFO: Extracted packet for processing {"connection_id":172672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754f"} 
[2026-09-06 11:35:25] local.INFO: GPS Element Parsed {"raw_longitude":757064000,"raw_latitude":119366392,"longitude_deg":75.7064,"latitude_deg":11.9366392,"altitude":69,"angle":156,"satellites":43,"speed":13,"hex_longitude":"2d1fe140","hex_latitude":"071d62f8","is_valid_coordinates":true} 
[2026-09-06 11:35:25] 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-09-06 11:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900680960001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2297187684237637632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788674535000,"timestamp_ms":1788674535000,"timestamp_seconds":1788674535,"priority":1,"record_length":96,"hex_timestamp":"000001a0754f6e58"} 
[2026-09-06 11:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 11:35:25] 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-09-06 11: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-09-06 11:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900680960001,"66":13102,"10":206,"83":41984,"24":13,"16":18202277558878208,"45":2297187684237637632},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900680960001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:35:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:35:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2297187684237637632,"description":"Unknown IO ID 45"} 
[2026-09-06 11:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900680960001,"power":13102,"unknown_10":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":2297187684237637632}} 
[2026-09-06 11:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":172672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:35:25] local.INFO: GPS data processed {"connection_id":172672,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:35:25] local.INFO: Acknowledgment sent {"connection_id":172672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:35:26] local.INFO: TCP Data received {"connection_id":175139,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075516258012d35e20006aa0e40000701242d..."} 
[2026-09-06 11:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075516258012d35e20006aa0e40000701242d..."} 
[2026-09-06 11:35:26] local.INFO: Processing buffer {"connection_id":175139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075516258012d35e20006aa0e40000701242d..."} 
[2026-09-06 11:35:26] local.INFO: Packet analysis {"connection_id":175139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07551"} 
[2026-09-06 11:35:26] local.INFO: Extracted packet for processing {"connection_id":175139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07551"} 
[2026-09-06 11:35:26] local.INFO: GPS Element Parsed {"raw_longitude":758505984,"raw_latitude":111808064,"longitude_deg":75.8505984,"latitude_deg":11.1808064,"altitude":7,"angle":292,"satellites":45,"speed":48,"hex_longitude":"2d35e200","hex_latitude":"06aa0e40","is_valid_coordinates":true} 
[2026-09-06 11:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900711680001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400681703816822784,"note":"Value kept but may cause issues"} 
[2026-09-06 11:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3892447112809420800,"note":"Value kept but may cause issues"} 
[2026-09-06 11:35:26] 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-09-06 11:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788674663000,"timestamp_ms":1788674663000,"timestamp_seconds":1788674663,"priority":1,"record_length":96,"hex_timestamp":"000001a075516258"} 
[2026-09-06 11:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11: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-09-06 11:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-06 11:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:35: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-09-06 11:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900711680001,"66":27691,"96":206,"81":23296,"24":48,"16":400681703816822784,"45":3892447112809420800},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-06 11:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900711680001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:35:26] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-06 11:35:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400681703816822784,"km_value":400681703816822.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3892447112809420800,"description":"Unknown IO ID 45"} 
[2026-09-06 11:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900711680001,"power":27691,"unknown_96":206,"unknown_81":23296,"ignition":48,"odometer":null,"unknown_45":3892447112809420800}} 
[2026-09-06 11:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":175139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:35:26] local.INFO: GPS data processed {"connection_id":175139,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:35:26] local.INFO: Acknowledgment sent {"connection_id":175139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:35:54] local.INFO: TCP Data received {"connection_id":172451,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:35:54] local.INFO: Processing buffer {"connection_id":172451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:35:54] local.INFO: IMEI packet received {"connection_id":172451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":172451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:35:59] local.INFO: TCP Data received {"connection_id":172451,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:35:59] local.INFO: Processing buffer {"connection_id":172451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:35:59] local.INFO: IMEI packet received {"connection_id":172451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":172451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:36:00] local.INFO: TCP Data received {"connection_id":172451,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07551b848012d7c094005d20fe80007007e11..."} 
[2026-09-06 11:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07551b848012d7c094005d20fe80007007e11..."} 
[2026-09-06 11:36:00] local.INFO: Processing buffer {"connection_id":172451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07551b848012d7c094005d20fe80007007e11..."} 
[2026-09-06 11:36:00] local.INFO: Packet analysis {"connection_id":172451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07551"} 
[2026-09-06 11:36:00] local.INFO: Extracted packet for processing {"connection_id":172451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07551"} 
[2026-09-06 11:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763103552,"raw_latitude":97652712,"longitude_deg":76.3103552,"latitude_deg":9.7652712,"altitude":7,"angle":126,"satellites":17,"speed":1,"hex_longitude":"2d7c0940","hex_latitude":"05d20fe8","is_valid_coordinates":true} 
[2026-09-06 11:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900717568001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893257043148800,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937674960492566528,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:00] 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-09-06 11:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788674685000,"timestamp_ms":1788674685000,"timestamp_seconds":1788674685,"priority":1,"record_length":96,"hex_timestamp":"000001a07551b848"} 
[2026-09-06 11:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:36:00] 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-09-06 11:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-06 11:36:00] 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-09-06 11:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:36:00] 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-09-06 11:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900717568001,"66":13493,"187":206,"85":15104,"24":1,"16":128893257043148800,"45":8937674960492566528},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 11:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900717568001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:36:00] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 11:36:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128893257043148800,"km_value":128893257043148.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937674960492566528,"description":"Unknown IO ID 45"} 
[2026-09-06 11:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900717568001,"power":13493,"unknown_187":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8937674960492566528}} 
[2026-09-06 11:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":172451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:36:00] local.INFO: GPS data processed {"connection_id":172451,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:36:00] local.INFO: Acknowledgment sent {"connection_id":172451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:36:09] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:36:09] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:36:09] local.INFO: IMEI packet received {"connection_id":173825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":173825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:36:14] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:36:14] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:36:14] local.INFO: IMEI packet received {"connection_id":173825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":173825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:36:15] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:36:15] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:36:15] local.INFO: Packet analysis {"connection_id":173825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754f"} 
[2026-09-06 11:36:15] local.INFO: Extracted packet for processing {"connection_id":173825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754f"} 
[2026-09-06 11:36:15] local.INFO: GPS Element Parsed {"raw_longitude":757064000,"raw_latitude":119366392,"longitude_deg":75.7064,"latitude_deg":11.9366392,"altitude":69,"angle":156,"satellites":43,"speed":13,"hex_longitude":"2d1fe140","hex_latitude":"071d62f8","is_valid_coordinates":true} 
[2026-09-06 11:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900680960001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2297187684237637632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788674535000,"timestamp_ms":1788674535000,"timestamp_seconds":1788674535,"priority":1,"record_length":96,"hex_timestamp":"000001a0754f6e58"} 
[2026-09-06 11:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 11:36:15] 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-09-06 11:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900680960001,"66":13102,"10":206,"83":41984,"24":13,"16":18202277558878208,"45":2297187684237637632},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900680960001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:36:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2297187684237637632,"description":"Unknown IO ID 45"} 
[2026-09-06 11:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900680960001,"power":13102,"unknown_10":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":2297187684237637632}} 
[2026-09-06 11:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":173825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:36:15] local.INFO: GPS data processed {"connection_id":173825,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:36:15] local.INFO: Acknowledgment sent {"connection_id":173825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:36:21] local.INFO: TCP Data received {"connection_id":175140,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:21] local.INFO: Processing buffer {"connection_id":175140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:21] local.INFO: IMEI packet received {"connection_id":175140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":175140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:36:22] local.INFO: TCP Data received {"connection_id":175140,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:22] local.INFO: Processing buffer {"connection_id":175140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:22] local.INFO: IMEI packet received {"connection_id":175140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":175140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:36:23] local.INFO: TCP Data received {"connection_id":175140,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:23] local.INFO: Processing buffer {"connection_id":175140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:23] local.INFO: IMEI packet received {"connection_id":175140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":175140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:36:28] local.INFO: TCP Data received {"connection_id":175140,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:28] local.INFO: Processing buffer {"connection_id":175140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:28] local.INFO: IMEI packet received {"connection_id":175140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":175140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:36:29] local.INFO: TCP Data received {"connection_id":175140,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075518198012d35bec006aa1d48000801242d..."} 
[2026-09-06 11:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075518198012d35bec006aa1d48000801242d..."} 
[2026-09-06 11:36:29] local.INFO: Processing buffer {"connection_id":175140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075518198012d35bec006aa1d48000801242d..."} 
[2026-09-06 11:36:29] local.INFO: Packet analysis {"connection_id":175140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07551"} 
[2026-09-06 11:36:29] local.INFO: Extracted packet for processing {"connection_id":175140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07551"} 
[2026-09-06 11:36:29] local.INFO: GPS Element Parsed {"raw_longitude":758496960,"raw_latitude":111811912,"longitude_deg":75.849696,"latitude_deg":11.1811912,"altitude":8,"angle":292,"satellites":45,"speed":49,"hex_longitude":"2d35bec0","hex_latitude":"06aa1d48","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900713728001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400682176263225344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3882665857369653248,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:29] 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-09-06 11:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788674671000,"timestamp_ms":1788674671000,"timestamp_seconds":1788674671,"priority":1,"record_length":96,"hex_timestamp":"000001a075518198"} 
[2026-09-06 11:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:36: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-09-06 11: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 11:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:36: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-09-06 11:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900713728001,"66":27713,"96":206,"81":23296,"24":49,"16":400682176263225344,"45":3882665857369653248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-06 11:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900713728001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:36:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-06 11:36:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400682176263225344,"km_value":400682176263225.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3882665857369653248,"description":"Unknown IO ID 45"} 
[2026-09-06 11:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900713728001,"power":27713,"unknown_96":206,"unknown_81":23296,"ignition":49,"odometer":null,"unknown_45":3882665857369653248}} 
[2026-09-06 11:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":175140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:36:29] local.INFO: GPS data processed {"connection_id":175140,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:36:29] local.INFO: Acknowledgment sent {"connection_id":175140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:36:31] local.INFO: TCP Data received {"connection_id":172451,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07551c7e8012d7c098005d20fe80007005f11..."} 
[2026-09-06 11:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07551c7e8012d7c098005d20fe80007005f11..."} 
[2026-09-06 11:36:31] local.INFO: Processing buffer {"connection_id":172451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07551c7e8012d7c098005d20fe80007005f11..."} 
[2026-09-06 11:36:31] local.INFO: Packet analysis {"connection_id":172451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07551"} 
[2026-09-06 11:36:31] local.INFO: Extracted packet for processing {"connection_id":172451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07551"} 
[2026-09-06 11:36:31] local.INFO: GPS Element Parsed {"raw_longitude":763103616,"raw_latitude":97652712,"longitude_deg":76.3103616,"latitude_deg":9.7652712,"altitude":7,"angle":95,"satellites":17,"speed":1,"hex_longitude":"2d7c0980","hex_latitude":"05d20fe8","is_valid_coordinates":true} 
[2026-09-06 11:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900719360001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893265633083392,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937745329236731904,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:31] 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-09-06 11:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788674689000,"timestamp_ms":1788674689000,"timestamp_seconds":1788674689,"priority":1,"record_length":96,"hex_timestamp":"000001a07551c7e8"} 
[2026-09-06 11:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:36:31] 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-09-06 11:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-06 11:36:31] 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-09-06 11:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:36:31] 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-09-06 11:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900719360001,"66":13406,"187":206,"85":15104,"24":1,"16":128893265633083392,"45":8937745329236731904},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 11:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900719360001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:36:31] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 11:36:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128893265633083392,"km_value":128893265633083.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937745329236731904,"description":"Unknown IO ID 45"} 
[2026-09-06 11:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900719360001,"power":13406,"unknown_187":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8937745329236731904}} 
[2026-09-06 11:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":172451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:36:31] local.INFO: GPS data processed {"connection_id":172451,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:36:31] local.INFO: Acknowledgment sent {"connection_id":172451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:36:33] local.INFO: TCP Data received {"connection_id":175140,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07551a0d8012d359a8006aa2cb0000801252f..."} 
[2026-09-06 11:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07551a0d8012d359a8006aa2cb0000801252f..."} 
[2026-09-06 11:36:33] local.INFO: Processing buffer {"connection_id":175140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07551a0d8012d359a8006aa2cb0000801252f..."} 
[2026-09-06 11:36:33] local.INFO: Packet analysis {"connection_id":175140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07551"} 
[2026-09-06 11:36:33] local.INFO: Extracted packet for processing {"connection_id":175140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07551"} 
[2026-09-06 11:36:33] local.INFO: GPS Element Parsed {"raw_longitude":758487680,"raw_latitude":111815856,"longitude_deg":75.848768,"latitude_deg":11.1815856,"altitude":8,"angle":293,"satellites":47,"speed":48,"hex_longitude":"2d359a80","hex_latitude":"06aa2cb0","is_valid_coordinates":true} 
[2026-09-06 11:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900715776001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400682653004595200,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3872743864441587712,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:33] 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-09-06 11:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788674679000,"timestamp_ms":1788674679000,"timestamp_seconds":1788674679,"priority":1,"record_length":96,"hex_timestamp":"000001a07551a0d8"} 
[2026-09-06 11:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:36: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-09-06 11:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-06 11:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900715776001,"66":27691,"96":206,"81":23296,"24":48,"16":400682653004595200,"45":3872743864441587712},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-09-06 11:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900715776001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:36:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-06 11:36:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400682653004595200,"km_value":400682653004595.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3872743864441587712,"description":"Unknown IO ID 45"} 
[2026-09-06 11:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900715776001,"power":27691,"unknown_96":206,"unknown_81":23296,"ignition":48,"odometer":null,"unknown_45":3872743864441587712}} 
[2026-09-06 11:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":175140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:36:33] local.INFO: GPS data processed {"connection_id":175140,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:36:33] local.INFO: Acknowledgment sent {"connection_id":175140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:36:46] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:36:46] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:36:46] local.INFO: Packet analysis {"connection_id":173825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754f"} 
[2026-09-06 11:36:46] local.INFO: Extracted packet for processing {"connection_id":173825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754f"} 
[2026-09-06 11:36:46] local.INFO: GPS Element Parsed {"raw_longitude":757064000,"raw_latitude":119366392,"longitude_deg":75.7064,"latitude_deg":11.9366392,"altitude":69,"angle":156,"satellites":43,"speed":13,"hex_longitude":"2d1fe140","hex_latitude":"071d62f8","is_valid_coordinates":true} 
[2026-09-06 11:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900680960001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2297187684237637632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788674535000,"timestamp_ms":1788674535000,"timestamp_seconds":1788674535,"priority":1,"record_length":96,"hex_timestamp":"000001a0754f6e58"} 
[2026-09-06 11:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 11:36:46] 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-09-06 11: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-09-06 11:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900680960001,"66":13102,"10":206,"83":41984,"24":13,"16":18202277558878208,"45":2297187684237637632},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900680960001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:36:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:36:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2297187684237637632,"description":"Unknown IO ID 45"} 
[2026-09-06 11:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900680960001,"power":13102,"unknown_10":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":2297187684237637632}} 
[2026-09-06 11:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":173825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:36:46] local.INFO: GPS data processed {"connection_id":173825,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:36:46] local.INFO: Acknowledgment sent {"connection_id":173825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:36:49] local.INFO: TCP Data received {"connection_id":175141,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:49] local.INFO: Processing buffer {"connection_id":175141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:49] local.INFO: IMEI packet received {"connection_id":175141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":175141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:36:50] local.INFO: TCP Data received {"connection_id":175141,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:50] local.INFO: Processing buffer {"connection_id":175141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:50] local.INFO: IMEI packet received {"connection_id":175141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":175141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:36:51] local.INFO: TCP Data received {"connection_id":175141,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:51] local.INFO: Processing buffer {"connection_id":175141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:51] local.INFO: IMEI packet received {"connection_id":175141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":175141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:36:52] local.INFO: TCP Data received {"connection_id":175141,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:52] local.INFO: Processing buffer {"connection_id":175141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:36:52] local.INFO: IMEI packet received {"connection_id":175141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":175141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:36:54] local.INFO: TCP Data received {"connection_id":172673,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:36:54] local.INFO: Processing buffer {"connection_id":172673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:36:54] local.INFO: IMEI packet received {"connection_id":172673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":172673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:36:55] local.INFO: TCP Data received {"connection_id":172673,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:36:55] local.INFO: Processing buffer {"connection_id":172673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:36:55] local.INFO: IMEI packet received {"connection_id":172673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":172673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:37:00] local.INFO: TCP Data received {"connection_id":172673,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:37:00] local.INFO: Processing buffer {"connection_id":172673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:37:00] local.INFO: IMEI packet received {"connection_id":172673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":172673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:37:00] local.INFO: TCP Data received {"connection_id":172673,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075521608012d7c0a0005d210380007005f13..."} 
[2026-09-06 11:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075521608012d7c0a0005d210380007005f13..."} 
[2026-09-06 11:37:00] local.INFO: Processing buffer {"connection_id":172673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075521608012d7c0a0005d210380007005f13..."} 
[2026-09-06 11:37:00] local.INFO: Packet analysis {"connection_id":172673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07552"} 
[2026-09-06 11:37:00] local.INFO: Extracted packet for processing {"connection_id":172673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07552"} 
[2026-09-06 11:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763103744,"raw_latitude":97652792,"longitude_deg":76.3103744,"latitude_deg":9.7652792,"altitude":7,"angle":95,"satellites":19,"speed":0,"hex_longitude":"2d7c0a00","hex_latitude":"05d21038","is_valid_coordinates":true} 
[2026-09-06 11:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900720384001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893278517985280,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937815697980909568,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:00] 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-09-06 11:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788674709000,"timestamp_ms":1788674709000,"timestamp_seconds":1788674709,"priority":1,"record_length":96,"hex_timestamp":"000001a075521608"} 
[2026-09-06 11:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-06 11:37:00] 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-09-06 11:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:37:00] 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-09-06 11:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900720384001,"66":13472,"187":206,"85":15104,"24":0,"16":128893278517985280,"45":8937815697980909568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 11:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900720384001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:37:00] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 11:37:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128893278517985280,"km_value":128893278517985.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937815697980909568,"description":"Unknown IO ID 45"} 
[2026-09-06 11:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900720384001,"power":13472,"unknown_187":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937815697980909568}} 
[2026-09-06 11:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":172673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:37:00] local.INFO: GPS data processed {"connection_id":172673,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:37:00] local.INFO: Acknowledgment sent {"connection_id":172673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:37:09] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:37:09] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:37:09] local.INFO: IMEI packet received {"connection_id":175142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":175142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:37:14] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:37:14] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:37:14] local.INFO: IMEI packet received {"connection_id":175142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":175142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:37:15] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:37:15] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:37:15] local.INFO: Packet analysis {"connection_id":175142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754f"} 
[2026-09-06 11:37:15] local.INFO: Extracted packet for processing {"connection_id":175142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754f"} 
[2026-09-06 11:37:15] local.INFO: GPS Element Parsed {"raw_longitude":757064000,"raw_latitude":119366392,"longitude_deg":75.7064,"latitude_deg":11.9366392,"altitude":69,"angle":156,"satellites":43,"speed":13,"hex_longitude":"2d1fe140","hex_latitude":"071d62f8","is_valid_coordinates":true} 
[2026-09-06 11:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900680960001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2297187684237637632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788674535000,"timestamp_ms":1788674535000,"timestamp_seconds":1788674535,"priority":1,"record_length":96,"hex_timestamp":"000001a0754f6e58"} 
[2026-09-06 11:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 11:37:15] 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-09-06 11:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900680960001,"66":13102,"10":206,"83":41984,"24":13,"16":18202277558878208,"45":2297187684237637632},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900680960001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:37:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2297187684237637632,"description":"Unknown IO ID 45"} 
[2026-09-06 11:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900680960001,"power":13102,"unknown_10":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":2297187684237637632}} 
[2026-09-06 11:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":175142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:37:15] local.INFO: GPS data processed {"connection_id":175142,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:37:15] local.INFO: Acknowledgment sent {"connection_id":175142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:37:31] local.INFO: TCP Data received {"connection_id":172673,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07553cb88012d7c02c005d20dd0000600f814..."} 
[2026-09-06 11:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07553cb88012d7c02c005d20dd0000600f814..."} 
[2026-09-06 11:37:31] local.INFO: Processing buffer {"connection_id":172673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07553cb88012d7c02c005d20dd0000600f814..."} 
[2026-09-06 11:37:31] local.INFO: Packet analysis {"connection_id":172673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07553"} 
[2026-09-06 11:37:31] local.INFO: Extracted packet for processing {"connection_id":172673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07553"} 
[2026-09-06 11:37:31] local.INFO: GPS Element Parsed {"raw_longitude":763101888,"raw_latitude":97652176,"longitude_deg":76.3101888,"latitude_deg":9.7652176,"altitude":6,"angle":248,"satellites":20,"speed":11,"hex_longitude":"2d7c02c0","hex_latitude":"05d20dd0","is_valid_coordinates":true} 
[2026-09-06 11:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900753408001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893433136807936,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936689798073974784,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:31] 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-09-06 11:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788674821000,"timestamp_ms":1788674821000,"timestamp_seconds":1788674821,"priority":1,"record_length":96,"hex_timestamp":"000001a07553cb88"} 
[2026-09-06 11:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:37:31] 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-09-06 11:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 11:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630827,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:31] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3539992576,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3896805548279988224,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635957600084923,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1673199822,"corrected_to":0} 
[2026-09-06 11:37:31] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3623955836,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":393473,"corrected_to":0} 
[2026-09-06 11:37:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:31] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3955621888,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3524265984,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:31] local.WARNING: Large IO value detected {"io_id":124,"raw_value":684553543131594758,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:31] local.WARNING: Large IO value detected {"io_id":53,"raw_value":5620718163181227605,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:31] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:31] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,187,85,24,241,157,16,235,160,176,45,128,14,6,20,10,66,137,192,55,1,240,7,227,117,210,4,113,205,154,9,200,19,239,52,2,201,5,124,53,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1673199822,"validated":0},{"io_id":200,"original":393473,"validated":0}]} 
[2026-09-06 11:37:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432631523150659584,"timestamp_seconds":432631523150659.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:37:31] 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-09-06 11:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900753408001,"66":13798,"187":206,"85":15104,"24":11,"16":128893433136807936,"45":8936689798073974784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 11:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900753408001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:37:31] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 11:37:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128893433136807936,"km_value":128893433136807.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936689798073974784,"description":"Unknown IO ID 45"} 
[2026-09-06 11:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900753408001,"power":13798,"unknown_187":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8936689798073974784}} 
[2026-09-06 11:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":172673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:37:31] local.INFO: GPS data processed {"connection_id":172673,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:37:31] local.INFO: Acknowledgment sent {"connection_id":172673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:37:46] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:37:46] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0754f6e58012d1fe140071d62f80045009c2b..."} 
[2026-09-06 11:37:46] local.INFO: Packet analysis {"connection_id":175142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0754f"} 
[2026-09-06 11:37:46] local.INFO: Extracted packet for processing {"connection_id":175142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0754f"} 
[2026-09-06 11:37:46] local.INFO: GPS Element Parsed {"raw_longitude":757064000,"raw_latitude":119366392,"longitude_deg":75.7064,"latitude_deg":11.9366392,"altitude":69,"angle":156,"satellites":43,"speed":13,"hex_longitude":"2d1fe140","hex_latitude":"071d62f8","is_valid_coordinates":true} 
[2026-09-06 11:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900680960001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2297187684237637632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788674535000,"timestamp_ms":1788674535000,"timestamp_seconds":1788674535,"priority":1,"record_length":96,"hex_timestamp":"000001a0754f6e58"} 
[2026-09-06 11:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 11:37:46] 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-09-06 11:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900680960001,"66":13102,"10":206,"83":41984,"24":13,"16":18202277558878208,"45":2297187684237637632},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900680960001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:37:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2297187684237637632,"description":"Unknown IO ID 45"} 
[2026-09-06 11:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900680960001,"power":13102,"unknown_10":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":2297187684237637632}} 
[2026-09-06 11:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":175142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:37:46] local.INFO: GPS data processed {"connection_id":175142,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:37:46] local.INFO: Acknowledgment sent {"connection_id":175142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:37:54] local.INFO: TCP Data received {"connection_id":172452,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:37:54] local.INFO: Processing buffer {"connection_id":172452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:37:54] local.INFO: IMEI packet received {"connection_id":172452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":172452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:37:59] local.INFO: TCP Data received {"connection_id":172452,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:37:59] local.INFO: Processing buffer {"connection_id":172452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:37:59] local.INFO: IMEI packet received {"connection_id":172452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":172452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:38:00] local.INFO: TCP Data received {"connection_id":172452,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0755419a8012d7be78005d20630000600f114..."} 
[2026-09-06 11:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755419a8012d7be78005d20630000600f114..."} 
[2026-09-06 11:38:00] local.INFO: Processing buffer {"connection_id":172452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755419a8012d7be78005d20630000600f114..."} 
[2026-09-06 11:38:00] local.INFO: Packet analysis {"connection_id":172452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:38:00] local.INFO: Extracted packet for processing {"connection_id":172452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763094912,"raw_latitude":97650224,"longitude_deg":76.3094912,"latitude_deg":9.7650224,"altitude":6,"angle":241,"satellites":20,"speed":8,"hex_longitude":"2d7be780","hex_latitude":"05d20630","is_valid_coordinates":true} 
[2026-09-06 11:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900754176001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893781029158912,"note":"Value kept but may cause issues"} 
[2026-09-06 11:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935915741887975424,"note":"Value kept but may cause issues"} 
[2026-09-06 11:38:00] 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-09-06 11:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788674841000,"timestamp_ms":1788674841000,"timestamp_seconds":1788674841,"priority":1,"record_length":96,"hex_timestamp":"000001a0755419a8"} 
[2026-09-06 11:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 11:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:38:00] 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-09-06 11:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900754176001,"66":13678,"187":206,"85":15104,"24":8,"16":128893781029158912,"45":8935915741887975424},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 11:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900754176001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:38:00] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 11:38:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128893781029158912,"km_value":128893781029158.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935915741887975424,"description":"Unknown IO ID 45"} 
[2026-09-06 11:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900754176001,"power":13678,"unknown_187":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8935915741887975424}} 
[2026-09-06 11:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":172452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":773999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:38:00] local.INFO: GPS data processed {"connection_id":172452,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:38:00] local.INFO: Acknowledgment sent {"connection_id":172452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:38:09] local.INFO: TCP Data received {"connection_id":172453,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:38:09] local.INFO: Processing buffer {"connection_id":172453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:38:09] local.INFO: IMEI packet received {"connection_id":172453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":172453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:38:14] local.INFO: TCP Data received {"connection_id":172453,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:38:14] local.INFO: Processing buffer {"connection_id":172453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:38:14] local.INFO: IMEI packet received {"connection_id":172453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":172453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:38:15] local.INFO: TCP Data received {"connection_id":172453,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:38:15] local.INFO: Processing buffer {"connection_id":172453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:38:15] local.INFO: Packet analysis {"connection_id":172453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:38:15] local.INFO: Extracted packet for processing {"connection_id":172453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:38:15] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":67,"angle":153,"satellites":44,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900680960001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2297187684237637632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788674837000,"timestamp_ms":1788674837000,"timestamp_seconds":1788674837,"priority":1,"record_length":96,"hex_timestamp":"000001a075540a08"} 
[2026-09-06 11:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 11:38:15] 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-09-06 11:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900680960001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2297187684237637632},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900680960001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:38:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2297187684237637632,"description":"Unknown IO ID 45"} 
[2026-09-06 11:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900680960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2297187684237637632}} 
[2026-09-06 11:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":172453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:38:15] local.INFO: GPS data processed {"connection_id":172453,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:38:15] local.INFO: Acknowledgment sent {"connection_id":172453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:38:31] local.INFO: TCP Data received {"connection_id":172452,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075542948012d7be38005d204f80006010614..."} 
[2026-09-06 11:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075542948012d7be38005d204f80006010614..."} 
[2026-09-06 11:38:31] local.INFO: Processing buffer {"connection_id":172452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075542948012d7be38005d204f80006010614..."} 
[2026-09-06 11:38:31] local.INFO: Packet analysis {"connection_id":172452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:38:31] local.INFO: Extracted packet for processing {"connection_id":172452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:38:31] local.INFO: GPS Element Parsed {"raw_longitude":763093888,"raw_latitude":97649912,"longitude_deg":76.3093888,"latitude_deg":9.7649912,"altitude":6,"angle":262,"satellites":20,"speed":13,"hex_longitude":"2d7be380","hex_latitude":"05d204f8","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900759296001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893832568766464,"note":"Value kept but may cause issues"} 
[2026-09-06 11:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928245548772110336,"note":"Value kept but may cause issues"} 
[2026-09-06 11:38:31] 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-09-06 11:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788674845000,"timestamp_ms":1788674845000,"timestamp_seconds":1788674845,"priority":1,"record_length":96,"hex_timestamp":"000001a075542948"} 
[2026-09-06 11:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 11:38:31] 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-09-06 11: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-09-06 11:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:38:31] 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-09-06 11:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900759296001,"66":13820,"187":206,"85":15104,"24":13,"16":128893832568766464,"45":8928245548772110336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 11:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900759296001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:38:31] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 11:38:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128893832568766464,"km_value":128893832568766.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928245548772110336,"description":"Unknown IO ID 45"} 
[2026-09-06 11:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900759296001,"power":13820,"unknown_187":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8928245548772110336}} 
[2026-09-06 11:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":172452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:38:31] local.INFO: GPS data processed {"connection_id":172452,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:38:31] local.INFO: Acknowledgment sent {"connection_id":172452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:38:46] local.INFO: TCP Data received {"connection_id":172453,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:38:46] local.INFO: Processing buffer {"connection_id":172453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:38:46] local.INFO: Packet analysis {"connection_id":172453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:38:46] local.INFO: Extracted packet for processing {"connection_id":172453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:38:46] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":67,"angle":153,"satellites":44,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900680960001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2297187684237637632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788674837000,"timestamp_ms":1788674837000,"timestamp_seconds":1788674837,"priority":1,"record_length":96,"hex_timestamp":"000001a075540a08"} 
[2026-09-06 11:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 11:38:46] 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-09-06 11: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-09-06 11:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900680960001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2297187684237637632},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900680960001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:38:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2297187684237637632,"description":"Unknown IO ID 45"} 
[2026-09-06 11:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900680960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2297187684237637632}} 
[2026-09-06 11:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":172453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:38:46] local.INFO: GPS data processed {"connection_id":172453,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:38:46] local.INFO: Acknowledgment sent {"connection_id":172453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:38:54] local.INFO: TCP Data received {"connection_id":175143,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:38:54] local.INFO: Processing buffer {"connection_id":175143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:38:54] local.INFO: IMEI packet received {"connection_id":175143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":175143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:38:55] local.INFO: TCP Data received {"connection_id":175143,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:38:55] local.INFO: Processing buffer {"connection_id":175143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:38:55] local.INFO: IMEI packet received {"connection_id":175143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":175143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:38:56] local.INFO: TCP Data received {"connection_id":175143,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:38:56] local.INFO: Processing buffer {"connection_id":175143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:38:56] local.INFO: IMEI packet received {"connection_id":175143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":175143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:38:59] local.INFO: TCP Data received {"connection_id":175143,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:38:59] local.INFO: Processing buffer {"connection_id":175143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:38:59] local.INFO: IMEI packet received {"connection_id":175143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":175143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:39:00] local.INFO: TCP Data received {"connection_id":175143,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0755440b8012d7bda4005d20378000600ea14..."} 
[2026-09-06 11:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755440b8012d7bda4005d20378000600ea14..."} 
[2026-09-06 11:39:00] local.INFO: Processing buffer {"connection_id":175143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755440b8012d7bda4005d20378000600ea14..."} 
[2026-09-06 11:39:00] local.INFO: Packet analysis {"connection_id":175143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:39:00] local.INFO: Extracted packet for processing {"connection_id":175143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:39:00] local.INFO: GPS Element Parsed {"raw_longitude":763091520,"raw_latitude":97649528,"longitude_deg":76.309152,"latitude_deg":9.7649528,"altitude":6,"angle":234,"satellites":20,"speed":12,"hex_longitude":"2d7bda40","hex_latitude":"05d20378","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900760320001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128893952827850752,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927119648865187840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:00] 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-09-06 11:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788674851000,"timestamp_ms":1788674851000,"timestamp_seconds":1788674851,"priority":1,"record_length":96,"hex_timestamp":"000001a0755440b8"} 
[2026-09-06 11:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 11:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:39:00] 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-09-06 11:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900760320001,"66":13798,"187":206,"85":15104,"24":12,"16":128893952827850752,"45":8927119648865187840},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 11:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900760320001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:39:00] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 11:39:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128893952827850752,"km_value":128893952827850.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927119648865187840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900760320001,"power":13798,"unknown_187":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8927119648865187840}} 
[2026-09-06 11:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":175143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:39:00] local.INFO: GPS data processed {"connection_id":175143,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:39:00] local.INFO: Acknowledgment sent {"connection_id":175143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:39:09] local.INFO: TCP Data received {"connection_id":172454,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:39:09] local.INFO: Processing buffer {"connection_id":172454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:39:09] local.INFO: IMEI packet received {"connection_id":172454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":172454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:39:14] local.INFO: TCP Data received {"connection_id":172454,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:39:14] local.INFO: Processing buffer {"connection_id":172454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:39:14] local.INFO: IMEI packet received {"connection_id":172454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":172454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:39:15] local.INFO: TCP Data received {"connection_id":172454,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:39:15] local.INFO: Processing buffer {"connection_id":172454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:39:15] local.INFO: Packet analysis {"connection_id":172454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:39:15] local.INFO: Extracted packet for processing {"connection_id":172454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:39:15] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":67,"angle":153,"satellites":44,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900680960001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2297187684237637632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788674837000,"timestamp_ms":1788674837000,"timestamp_seconds":1788674837,"priority":1,"record_length":96,"hex_timestamp":"000001a075540a08"} 
[2026-09-06 11:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 11:39:15] 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-09-06 11:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900680960001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2297187684237637632},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900680960001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:39:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:39:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2297187684237637632,"description":"Unknown IO ID 45"} 
[2026-09-06 11:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900680960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2297187684237637632}} 
[2026-09-06 11:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":172454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:39:15] local.INFO: GPS data processed {"connection_id":172454,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:39:15] local.INFO: Acknowledgment sent {"connection_id":172454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:39:31] local.INFO: TCP Data received {"connection_id":175143,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07555d310012d7b83c005d1e930000000da15..."} 
[2026-09-06 11:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07555d310012d7b83c005d1e930000000da15..."} 
[2026-09-06 11:39:31] local.INFO: Processing buffer {"connection_id":175143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07555d310012d7b83c005d1e930000000da15..."} 
[2026-09-06 11:39:31] local.INFO: Packet analysis {"connection_id":175143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07555"} 
[2026-09-06 11:39:31] local.INFO: Extracted packet for processing {"connection_id":175143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07555"} 
[2026-09-06 11:39:31] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":97642800,"longitude_deg":76.3069376,"latitude_deg":9.76428,"altitude":0,"angle":218,"satellites":21,"speed":7,"hex_longitude":"2d7b83c0","hex_latitude":"05d1e930","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900787968001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128895129648889856,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157331712000,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788674954000,"timestamp_ms":1788674954000,"timestamp_seconds":1788674954,"priority":1,"record_length":96,"hex_timestamp":"000001a07555d310"} 
[2026-09-06 11:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:39:31] 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-09-06 11: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 11:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169757302115,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:31] local.WARNING: Large IO value detected {"io_id":187,"raw_value":58077557095399433,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:31] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3969908737,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1673199822,"corrected_to":0} 
[2026-09-06 11:39:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3522248704,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:31] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2684431739,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:31] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3221606896,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:31] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3971153920,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:31] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,188,85,24,241,157,16,237,160,136,45,235,21,10,66,132,192,187,74,64,1,240,220,227,117,209,4,113,205,5,193,196,184,20,239,53,2,201,9],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1673199822,"validated":0}]} 
[2026-09-06 11:39:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":257375915540480,"timestamp_seconds":257375915540.48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:39:31] 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-09-06 11:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900787968001,"66":13059,"188":206,"85":15104,"24":7,"16":128895129648889856,"45":8900309157331712000},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-06 11:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900787968001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:39:31] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-06 11:39:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128895129648889856,"km_value":128895129648889.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157331712000,"description":"Unknown IO ID 45"} 
[2026-09-06 11:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900787968001,"power":13059,"unknown_188":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8900309157331712000}} 
[2026-09-06 11:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":175143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:39:31] local.INFO: GPS data processed {"connection_id":175143,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:39:31] local.INFO: Acknowledgment sent {"connection_id":175143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:39:46] local.INFO: TCP Data received {"connection_id":172454,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:39:46] local.INFO: Processing buffer {"connection_id":172454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:39:46] local.INFO: Packet analysis {"connection_id":172454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:39:46] local.INFO: Extracted packet for processing {"connection_id":172454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:39:46] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":67,"angle":153,"satellites":44,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900680960001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2297187684237637632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788674837000,"timestamp_ms":1788674837000,"timestamp_seconds":1788674837,"priority":1,"record_length":96,"hex_timestamp":"000001a075540a08"} 
[2026-09-06 11:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 11:39:46] 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-09-06 11:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900680960001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2297187684237637632},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900680960001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:39:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2297187684237637632,"description":"Unknown IO ID 45"} 
[2026-09-06 11:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900680960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2297187684237637632}} 
[2026-09-06 11:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":172454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:39:46] local.INFO: GPS data processed {"connection_id":172454,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:39:46] local.INFO: Acknowledgment sent {"connection_id":172454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:39:54] local.INFO: TCP Data received {"connection_id":172677,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:39:54] local.INFO: Processing buffer {"connection_id":172677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:39:54] local.INFO: IMEI packet received {"connection_id":172677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":172677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:39:59] local.INFO: TCP Data received {"connection_id":172677,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:39:59] local.INFO: Processing buffer {"connection_id":172677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:39:59] local.INFO: IMEI packet received {"connection_id":172677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":172677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:40:00] local.INFO: TCP Data received {"connection_id":172677,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07555d6f8012d7b834005d1e890000000c715..."} 
[2026-09-06 11:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07555d6f8012d7b834005d1e890000000c715..."} 
[2026-09-06 11:40:00] local.INFO: Processing buffer {"connection_id":172677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07555d6f8012d7b834005d1e890000000c715..."} 
[2026-09-06 11:40:00] local.INFO: Packet analysis {"connection_id":172677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07555"} 
[2026-09-06 11:40:00] local.INFO: Extracted packet for processing {"connection_id":172677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07555"} 
[2026-09-06 11:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":97642640,"longitude_deg":76.3069248,"latitude_deg":9.764264,"altitude":0,"angle":199,"satellites":21,"speed":6,"hex_longitude":"2d7b8340","hex_latitude":"05d1e890","is_valid_coordinates":true} 
[2026-09-06 11:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900788224001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128895138238824448,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168419843321856,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788674955000,"timestamp_ms":1788674955000,"timestamp_seconds":1788674955,"priority":1,"record_length":96,"hex_timestamp":"000001a07555d6f8"} 
[2026-09-06 11:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 11:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303172122889571,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:00] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3936354304,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1673199822,"corrected_to":0} 
[2026-09-06 11:40:00] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2147865068,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:00] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812259,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:00] local.WARNING: Large IO value detected {"io_id":187,"raw_value":58077557095399434,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:00] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3974496256,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3522213888,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:00] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,188,85,24,241,157,16,237,160,207,45,64,233,21,10,66,136,235,132,192,1,240,34,227,117,209,4,113,205,15,252,179,239,53,187,2,201,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1673199822,"validated":0}]} 
[2026-09-06 11:40:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":239783729627136,"timestamp_seconds":239783729627.136,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:40:00] 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-09-06 11:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900788224001,"66":13363,"188":206,"85":15104,"24":6,"16":128895138238824448,"45":8900168419843321856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-06 11:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900788224001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:40:00] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-06 11:40:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128895138238824448,"km_value":128895138238824.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168419843321856,"description":"Unknown IO ID 45"} 
[2026-09-06 11:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900788224001,"power":13363,"unknown_188":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8900168419843321856}} 
[2026-09-06 11:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":172677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:40:00] local.INFO: GPS data processed {"connection_id":172677,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:40:00] local.INFO: Acknowledgment sent {"connection_id":172677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:40:14] local.INFO: TCP Data received {"connection_id":175144,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:40:14] local.INFO: Processing buffer {"connection_id":175144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:40:14] local.INFO: IMEI packet received {"connection_id":175144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":175144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:40:19] local.INFO: TCP Data received {"connection_id":175144,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:40:19] local.INFO: Processing buffer {"connection_id":175144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:40:19] local.INFO: IMEI packet received {"connection_id":175144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":175144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:40:19] local.INFO: TCP Data received {"connection_id":175144,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:40:20] local.INFO: Processing buffer {"connection_id":175144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:40:20] local.INFO: Packet analysis {"connection_id":175144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:40:20] local.INFO: Extracted packet for processing {"connection_id":175144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:40:20] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":67,"angle":153,"satellites":44,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:40: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-09-06 11:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900680960001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2297187684237637632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788674837000,"timestamp_ms":1788674837000,"timestamp_seconds":1788674837,"priority":1,"record_length":96,"hex_timestamp":"000001a075540a08"} 
[2026-09-06 11:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:40: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":46,"data_length":795,"current_offset":136} 
[2026-09-06 11:40:20] 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-09-06 11:40: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-09-06 11:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:40:20] 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-09-06 11:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900680960001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2297187684237637632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900680960001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:40:20] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:40:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2297187684237637632,"description":"Unknown IO ID 45"} 
[2026-09-06 11:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900680960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2297187684237637632}} 
[2026-09-06 11:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":175144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:40:20] local.INFO: GPS data processed {"connection_id":175144,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:40:20] local.INFO: Acknowledgment sent {"connection_id":175144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:40:24] local.INFO: TCP Data received {"connection_id":175144,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:40:24] local.INFO: Processing buffer {"connection_id":175144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:40:24] local.INFO: Packet analysis {"connection_id":175144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:40:24] local.INFO: Extracted packet for processing {"connection_id":175144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:40:24] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":67,"angle":153,"satellites":44,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900680960001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2297187684237637632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788674837000,"timestamp_ms":1788674837000,"timestamp_seconds":1788674837,"priority":1,"record_length":96,"hex_timestamp":"000001a075540a08"} 
[2026-09-06 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-09-06 11:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 11:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 11:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:40:24] 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-09-06 11:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900680960001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2297187684237637632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900680960001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:40:24] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:40:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2297187684237637632,"description":"Unknown IO ID 45"} 
[2026-09-06 11:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900680960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2297187684237637632}} 
[2026-09-06 11:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":175144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:40:24] local.INFO: GPS data processed {"connection_id":175144,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:40:24] local.INFO: Acknowledgment sent {"connection_id":175144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:40:33] local.INFO: TCP Data received {"connection_id":172677,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07555dae0012d7b834005d1e7b8000000af15..."} 
[2026-09-06 11:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07555dae0012d7b834005d1e7b8000000af15..."} 
[2026-09-06 11:40:33] local.INFO: Processing buffer {"connection_id":172677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07555dae0012d7b834005d1e7b8000000af15..."} 
[2026-09-06 11:40:33] local.INFO: Packet analysis {"connection_id":172677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07555"} 
[2026-09-06 11:40:33] local.INFO: Extracted packet for processing {"connection_id":172677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07555"} 
[2026-09-06 11:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763069248,"raw_latitude":97642424,"longitude_deg":76.3069248,"latitude_deg":9.7642424,"altitude":0,"angle":175,"satellites":21,"speed":8,"hex_longitude":"2d7b8340","hex_latitude":"05d1e7b8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900788480001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128895151123726336,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900027682354925568,"note":"Value kept but may cause issues"} 
[2026-09-06 11:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788674956000,"timestamp_ms":1788674956000,"timestamp_seconds":1788674956,"priority":1,"record_length":96,"hex_timestamp":"000001a07555dae0"} 
[2026-09-06 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-09-06 11:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-06 11:40:33] 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-09-06 11: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-09-06 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-09-06 11:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:40:33] 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-09-06 11:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900788480001,"66":13678,"188":206,"85":15104,"24":8,"16":128895151123726336,"45":8900027682354925568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-06 11:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900788480001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:40:33] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-06 11:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128895151123726336,"km_value":128895151123726.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900027682354925568,"description":"Unknown IO ID 45"} 
[2026-09-06 11:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900788480001,"power":13678,"unknown_188":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8900027682354925568}} 
[2026-09-06 11:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":172677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:40:33] local.INFO: GPS data processed {"connection_id":172677,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:40:33] local.INFO: Acknowledgment sent {"connection_id":172677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:40:54] local.INFO: TCP Data received {"connection_id":173827,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:40:54] local.INFO: Processing buffer {"connection_id":173827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:40:54] local.INFO: IMEI packet received {"connection_id":173827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":173827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:40:55] local.INFO: TCP Data received {"connection_id":173827,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:40:55] local.INFO: Processing buffer {"connection_id":173827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:40:55] local.INFO: IMEI packet received {"connection_id":173827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":173827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:41:00] local.INFO: TCP Data received {"connection_id":173827,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:41:00] local.INFO: Processing buffer {"connection_id":173827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:41:00] local.INFO: IMEI packet received {"connection_id":173827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":173827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:41:00] local.INFO: TCP Data received {"connection_id":173827,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07556e480012d7b66c005d14510000000af17..."} 
[2026-09-06 11:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07556e480012d7b66c005d14510000000af17..."} 
[2026-09-06 11:41:00] local.INFO: Processing buffer {"connection_id":173827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07556e480012d7b66c005d14510000000af17..."} 
[2026-09-06 11:41:00] local.INFO: Packet analysis {"connection_id":173827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07556"} 
[2026-09-06 11:41:00] local.INFO: Extracted packet for processing {"connection_id":173827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07556"} 
[2026-09-06 11:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763061952,"raw_latitude":97600784,"longitude_deg":76.3061952,"latitude_deg":9.7600784,"altitude":0,"angle":175,"satellites":23,"speed":29,"hex_longitude":"2d7b66c0","hex_latitude":"05d14510","is_valid_coordinates":true} 
[2026-09-06 11:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900802816001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128897350146981888,"note":"Value kept but may cause issues"} 
[2026-09-06 11:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891442695556952064,"note":"Value kept but may cause issues"} 
[2026-09-06 11:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788675024000,"timestamp_ms":1788675024000,"timestamp_seconds":1788675024,"priority":1,"record_length":96,"hex_timestamp":"000001a07556e480"} 
[2026-09-06 11:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 11:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:41:00] 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-09-06 11:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900802816001,"66":13820,"188":206,"85":15104,"24":29,"16":128897350146981888,"45":8891442695556952064},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-06 11:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900802816001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:41:00] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-06 11:41:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128897350146981888,"km_value":128897350146981.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891442695556952064,"description":"Unknown IO ID 45"} 
[2026-09-06 11:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900802816001,"power":13820,"unknown_188":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8891442695556952064}} 
[2026-09-06 11:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":173827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:41:00] local.INFO: GPS data processed {"connection_id":173827,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:41:00] local.INFO: Acknowledgment sent {"connection_id":173827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:41:09] local.INFO: TCP Data received {"connection_id":173828,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:41:09] local.INFO: Processing buffer {"connection_id":173828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:41:09] local.INFO: IMEI packet received {"connection_id":173828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":173828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:41:14] local.INFO: TCP Data received {"connection_id":173828,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:41:14] local.INFO: Processing buffer {"connection_id":173828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:41:14] local.INFO: IMEI packet received {"connection_id":173828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":173828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:41:15] local.INFO: TCP Data received {"connection_id":173828,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:41:15] local.INFO: Processing buffer {"connection_id":173828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:41:15] local.INFO: Packet analysis {"connection_id":173828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:41:15] local.INFO: Extracted packet for processing {"connection_id":173828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:41:15] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":67,"angle":153,"satellites":44,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900680960001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2297187684237637632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788674837000,"timestamp_ms":1788674837000,"timestamp_seconds":1788674837,"priority":1,"record_length":96,"hex_timestamp":"000001a075540a08"} 
[2026-09-06 11:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11: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":46,"data_length":795,"current_offset":136} 
[2026-09-06 11:41:15] 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-09-06 11: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-09-06 11:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:41:15] 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-09-06 11:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900680960001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2297187684237637632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900680960001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:41:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2297187684237637632,"description":"Unknown IO ID 45"} 
[2026-09-06 11:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900680960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2297187684237637632}} 
[2026-09-06 11:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":173828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:41:15] local.INFO: GPS data processed {"connection_id":173828,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:41:15] local.INFO: Acknowledgment sent {"connection_id":173828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:41:32] local.INFO: TCP Data received {"connection_id":173827,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075571748012d7b6bc005d11fe0000100ab17..."} 
[2026-09-06 11:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075571748012d7b6bc005d11fe0000100ab17..."} 
[2026-09-06 11:41:32] local.INFO: Processing buffer {"connection_id":173827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075571748012d7b6bc005d11fe0000100ab17..."} 
[2026-09-06 11:41:32] local.INFO: Packet analysis {"connection_id":173827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07557"} 
[2026-09-06 11:41:32] local.INFO: Extracted packet for processing {"connection_id":173827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07557"} 
[2026-09-06 11:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763063232,"raw_latitude":97591264,"longitude_deg":76.3063232,"latitude_deg":9.7591264,"altitude":1,"angle":171,"satellites":23,"speed":29,"hex_longitude":"2d7b6bc0","hex_latitude":"05d11fe0","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900806144001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128897814003449856,"note":"Value kept but may cause issues"} 
[2026-09-06 11:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892005645507956736,"note":"Value kept but may cause issues"} 
[2026-09-06 11:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788675037000,"timestamp_ms":1788675037000,"timestamp_seconds":1788675037,"priority":1,"record_length":96,"hex_timestamp":"000001a075571748"} 
[2026-09-06 11:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:41:32] 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-09-06 11: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 11:41:32] 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-09-06 11: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-09-06 11:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:41:32] 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-09-06 11:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900806144001,"66":13906,"188":206,"85":15104,"24":29,"16":128897814003449856,"45":8892005645507956736},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-09-06 11:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900806144001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:41:32] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-06 11:41:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128897814003449856,"km_value":128897814003449.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892005645507956736,"description":"Unknown IO ID 45"} 
[2026-09-06 11:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900806144001,"power":13906,"unknown_188":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8892005645507956736}} 
[2026-09-06 11:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":173827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:41:32] local.INFO: GPS data processed {"connection_id":173827,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:41:32] local.INFO: Acknowledgment sent {"connection_id":173827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:41:45] local.INFO: TCP Data received {"connection_id":173828,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:41:45] local.INFO: Processing buffer {"connection_id":173828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:41:45] local.INFO: Packet analysis {"connection_id":173828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:41:45] local.INFO: Extracted packet for processing {"connection_id":173828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:41:45] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":67,"angle":153,"satellites":44,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900680960001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2297187684237637632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788674837000,"timestamp_ms":1788674837000,"timestamp_seconds":1788674837,"priority":1,"record_length":96,"hex_timestamp":"000001a075540a08"} 
[2026-09-06 11:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 11:41: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-09-06 11:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:41:45] 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-09-06 11:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900680960001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2297187684237637632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900680960001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:41:45] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:41:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2297187684237637632,"description":"Unknown IO ID 45"} 
[2026-09-06 11:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900680960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2297187684237637632}} 
[2026-09-06 11:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":173828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:41:46] local.INFO: GPS data processed {"connection_id":173828,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:41:46] local.INFO: Acknowledgment sent {"connection_id":173828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:41:53] local.INFO: TCP Data received {"connection_id":173829,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:41:53] local.INFO: Processing buffer {"connection_id":173829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:41:53] local.INFO: IMEI packet received {"connection_id":173829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":173829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:41:58] local.INFO: TCP Data received {"connection_id":175145,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:41:58] local.INFO: Processing buffer {"connection_id":175145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:41:58] local.INFO: IMEI packet received {"connection_id":175145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":175145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:41:58] local.INFO: TCP Data received {"connection_id":173829,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:41:58] local.INFO: Processing buffer {"connection_id":173829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:41:58] local.INFO: IMEI packet received {"connection_id":173829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":173829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:41:58] local.INFO: TCP Data received {"connection_id":175145,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:41:58] local.INFO: Processing buffer {"connection_id":175145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:41:58] local.INFO: IMEI packet received {"connection_id":175145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":175145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:41:59] local.INFO: TCP Data received {"connection_id":173829,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07552fc80012d34ca0006aa5718000b00ff2f..."} 
[2026-09-06 11:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07552fc80012d34ca0006aa5718000b00ff2f..."} 
[2026-09-06 11:41:59] local.INFO: Processing buffer {"connection_id":173829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07552fc80012d34ca0006aa5718000b00ff2f..."} 
[2026-09-06 11:41:59] local.INFO: Packet analysis {"connection_id":173829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07552"} 
[2026-09-06 11:41:59] local.INFO: Extracted packet for processing {"connection_id":173829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07552"} 
[2026-09-06 11:41:59] local.INFO: GPS Element Parsed {"raw_longitude":758434304,"raw_latitude":111826712,"longitude_deg":75.8434304,"latitude_deg":11.1826712,"altitude":11,"angle":255,"satellites":47,"speed":17,"hex_longitude":"2d34ca00","hex_latitude":"06aa5718","is_valid_coordinates":true} 
[2026-09-06 11:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900737024001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685358833991680,"note":"Value kept but may cause issues"} 
[2026-09-06 11:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3810467525848426496,"note":"Value kept but may cause issues"} 
[2026-09-06 11:41: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-09-06 11:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788674768000,"timestamp_ms":1788674768000,"timestamp_seconds":1788674768,"priority":1,"record_length":96,"hex_timestamp":"000001a07552fc80"} 
[2026-09-06 11:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:41: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-09-06 11:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 11:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:41: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-09-06 11:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900737024001,"66":27995,"97":206,"81":23296,"24":17,"16":400685358833991680,"45":3810467525848426496},"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-09-06 11:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900737024001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:41:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:41:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685358833991680,"km_value":400685358833991.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3810467525848426496,"description":"Unknown IO ID 45"} 
[2026-09-06 11:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900737024001,"power":27995,"unknown_97":206,"unknown_81":23296,"ignition":17,"odometer":null,"unknown_45":3810467525848426496}} 
[2026-09-06 11:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":173829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:41:59] local.INFO: GPS data processed {"connection_id":173829,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:41:59] local.INFO: Acknowledgment sent {"connection_id":173829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:41:59] local.INFO: TCP Data received {"connection_id":175145,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:41:59] local.INFO: Processing buffer {"connection_id":175145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:41:59] local.INFO: IMEI packet received {"connection_id":175145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":175145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:42:00] local.INFO: TCP Data received {"connection_id":175145,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:42:00] local.INFO: Processing buffer {"connection_id":175145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:42:00] local.INFO: IMEI packet received {"connection_id":175145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":175145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:42:04] local.INFO: TCP Data received {"connection_id":173829,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075530450012d34c70006aa55e8000b00ee2f..."} 
[2026-09-06 11:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075530450012d34c70006aa55e8000b00ee2f..."} 
[2026-09-06 11:42:04] local.INFO: Processing buffer {"connection_id":173829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075530450012d34c70006aa55e8000b00ee2f..."} 
[2026-09-06 11:42:04] local.INFO: Packet analysis {"connection_id":173829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07553"} 
[2026-09-06 11:42:04] local.INFO: Extracted packet for processing {"connection_id":173829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07553"} 
[2026-09-06 11:42:04] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111826408,"longitude_deg":75.8433536,"latitude_deg":11.1826408,"altitude":11,"angle":238,"satellites":47,"speed":15,"hex_longitude":"2d34c700","hex_latitude":"06aa55e8","is_valid_coordinates":true} 
[2026-09-06 11:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900740608001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685397488697344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803852863895443456,"note":"Value kept but may cause issues"} 
[2026-09-06 11:42: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-09-06 11:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788674770000,"timestamp_ms":1788674770000,"timestamp_seconds":1788674770,"priority":1,"record_length":96,"hex_timestamp":"000001a075530450"} 
[2026-09-06 11:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-06 11:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900740608001,"66":27604,"97":206,"81":23296,"24":15,"16":400685397488697344,"45":3803852863895443456},"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-09-06 11:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900740608001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:42:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:42:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685397488697344,"km_value":400685397488697.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803852863895443456,"description":"Unknown IO ID 45"} 
[2026-09-06 11:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900740608001,"power":27604,"unknown_97":206,"unknown_81":23296,"ignition":15,"odometer":null,"unknown_45":3803852863895443456}} 
[2026-09-06 11:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":173829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:42:04] local.INFO: GPS data processed {"connection_id":173829,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:42:04] local.INFO: Acknowledgment sent {"connection_id":173829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:42:09] local.INFO: TCP Data received {"connection_id":172678,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:42:09] local.INFO: Processing buffer {"connection_id":172678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:42:09] local.INFO: IMEI packet received {"connection_id":172678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":172678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:42:14] local.INFO: TCP Data received {"connection_id":172678,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:42:14] local.INFO: Processing buffer {"connection_id":172678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:42:14] local.INFO: IMEI packet received {"connection_id":172678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":172678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:42:15] local.INFO: TCP Data received {"connection_id":172678,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:42:15] local.INFO: Processing buffer {"connection_id":172678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:42:15] local.INFO: Packet analysis {"connection_id":172678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:42:15] local.INFO: Extracted packet for processing {"connection_id":172678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:42:15] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":67,"angle":153,"satellites":44,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900680960001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2297187684237637632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788674837000,"timestamp_ms":1788674837000,"timestamp_seconds":1788674837,"priority":1,"record_length":96,"hex_timestamp":"000001a075540a08"} 
[2026-09-06 11:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 11:42:15] 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-09-06 11:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:42:15] 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-09-06 11:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900680960001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2297187684237637632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900680960001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:42:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2297187684237637632,"description":"Unknown IO ID 45"} 
[2026-09-06 11:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900680960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2297187684237637632}} 
[2026-09-06 11:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":172678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:42:15] local.INFO: GPS data processed {"connection_id":172678,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:42:15] local.INFO: Acknowledgment sent {"connection_id":172678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:42:46] local.INFO: TCP Data received {"connection_id":172678,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:42:46] local.INFO: Processing buffer {"connection_id":172678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075540a08012d1fe640071d5d10004300992c..."} 
[2026-09-06 11:42:46] local.INFO: Packet analysis {"connection_id":172678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:42:46] local.INFO: Extracted packet for processing {"connection_id":172678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:42:46] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":67,"angle":153,"satellites":44,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900680960001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2297187684237637632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788674837000,"timestamp_ms":1788674837000,"timestamp_seconds":1788674837,"priority":1,"record_length":96,"hex_timestamp":"000001a075540a08"} 
[2026-09-06 11:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 11:42:46] 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-09-06 11:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:42:46] 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-09-06 11:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900680960001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2297187684237637632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900680960001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:42:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2297187684237637632,"description":"Unknown IO ID 45"} 
[2026-09-06 11:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900680960001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2297187684237637632}} 
[2026-09-06 11:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":172678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:42:46] local.INFO: GPS data processed {"connection_id":172678,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:42:46] local.INFO: Acknowledgment sent {"connection_id":172678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:42:48] local.INFO: TCP Data received {"connection_id":175146,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:42:48] local.INFO: Processing buffer {"connection_id":175146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:42:48] local.INFO: IMEI packet received {"connection_id":175146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":175146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:42:53] local.INFO: TCP Data received {"connection_id":175146,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:42:53] local.INFO: Processing buffer {"connection_id":175146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:42:53] local.INFO: IMEI packet received {"connection_id":175146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":175146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:42:54] local.INFO: TCP Data received {"connection_id":175146,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075530838012d34c5c006aa5518000c00db2f..."} 
[2026-09-06 11:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075530838012d34c5c006aa5518000c00db2f..."} 
[2026-09-06 11:42:54] local.INFO: Processing buffer {"connection_id":175146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075530838012d34c5c006aa5518000c00db2f..."} 
[2026-09-06 11:42:54] local.INFO: Packet analysis {"connection_id":175146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07553"} 
[2026-09-06 11:42:54] local.INFO: Extracted packet for processing {"connection_id":175146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07553"} 
[2026-09-06 11:42:54] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111826200,"longitude_deg":75.8433216,"latitude_deg":11.18262,"altitude":12,"angle":219,"satellites":47,"speed":13,"hex_longitude":"2d34c5c0","hex_latitude":"06aa5518","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900741120001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685414668566528,"note":"Value kept but may cause issues"} 
[2026-09-06 11:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965233664,"note":"Value kept but may cause issues"} 
[2026-09-06 11: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-09-06 11:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788674771000,"timestamp_ms":1788674771000,"timestamp_seconds":1788674771,"priority":1,"record_length":96,"hex_timestamp":"000001a075530838"} 
[2026-09-06 11:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:42: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-09-06 11: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 11:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:42: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-09-06 11:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900741120001,"66":27832,"97":206,"81":23296,"24":13,"16":400685414668566528,"45":3803008438965233664},"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-09-06 11:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900741120001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:42:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:42:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685414668566528,"km_value":400685414668566.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965233664,"description":"Unknown IO ID 45"} 
[2026-09-06 11:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900741120001,"power":27832,"unknown_97":206,"unknown_81":23296,"ignition":13,"odometer":null,"unknown_45":3803008438965233664}} 
[2026-09-06 11:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":175146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:42:54] local.INFO: GPS data processed {"connection_id":175146,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:42:54] local.INFO: Acknowledgment sent {"connection_id":175146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:43:05] local.INFO: TCP Data received {"connection_id":175147,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:43:05] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:43:05] local.INFO: IMEI packet received {"connection_id":175147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 11:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":175147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:43:06] local.INFO: TCP Data received {"connection_id":175147,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:43:06] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:43:06] local.INFO: IMEI packet received {"connection_id":175147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 11:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":175147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:43:09] local.INFO: TCP Data received {"connection_id":173831,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:43:09] local.INFO: Processing buffer {"connection_id":173831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:43:09] local.INFO: IMEI packet received {"connection_id":173831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":173831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:43:10] local.INFO: TCP Data received {"connection_id":175147,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:43:10] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:43:10] local.INFO: IMEI packet received {"connection_id":175147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 11:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":175147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:43:11] local.INFO: TCP Data received {"connection_id":175147,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a07557bb58012c58b98009c1c8a0027b013c1d..."} 
[2026-09-06 11:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07557bb58012c58b98009c1c8a0027b013c1d..."} 
[2026-09-06 11:43:11] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07557bb58012c58b98009c1c8a0027b013c1d..."} 
[2026-09-06 11:43:11] local.INFO: Packet analysis {"connection_id":175147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07557"} 
[2026-09-06 11:43:11] local.INFO: Extracted packet for processing {"connection_id":175147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07557"} 
[2026-09-06 11:43:11] local.INFO: GPS Element Parsed {"raw_longitude":744012160,"raw_latitude":163694752,"longitude_deg":74.401216,"latitude_deg":16.3694752,"altitude":635,"angle":316,"satellites":29,"speed":40,"hex_longitude":"2c58b980","hex_latitude":"09c1c8a0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900818176001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2474154565566464,"note":"Value kept but may cause issues"} 
[2026-09-06 11:43:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6400178062351052802,"note":"Value kept but may cause issues"} 
[2026-09-06 11:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,105,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788675079000,"timestamp_ms":1788675079000,"timestamp_seconds":1788675079,"priority":1,"record_length":96,"hex_timestamp":"000001a07557bb58"} 
[2026-09-06 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-09-06 11:43: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-09-06 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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 11:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 11:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900818176001,"66":28082,"25":206,"105":19712,"24":40,"16":2474154565566464,"44":6400178062351052802},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,105,24,16,44]} 
[2026-09-06 11:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900818176001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:43:11] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:43:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":19712,"description":"Unknown IO ID 105"} 
[2026-09-06 11:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2474154565566464,"km_value":2474154565566.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:43:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":6400178062351052802,"description":"Unknown IO ID 44"} 
[2026-09-06 11:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900818176001,"power":28082,"unknown_25":206,"unknown_105":19712,"ignition":40,"odometer":null,"unknown_44":6400178062351052802}} 
[2026-09-06 11:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":175147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774020,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:43:11] local.INFO: GPS data processed {"connection_id":175147,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:43:11] local.INFO: Acknowledgment sent {"connection_id":175147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:43:14] local.INFO: TCP Data received {"connection_id":173831,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:43:14] local.INFO: Processing buffer {"connection_id":173831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:43:14] local.INFO: IMEI packet received {"connection_id":173831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":173831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:43:15] local.INFO: TCP Data received {"connection_id":173831,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:43:15] local.INFO: Processing buffer {"connection_id":173831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:43:15] local.INFO: Packet analysis {"connection_id":173831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:43:15] local.INFO: Extracted packet for processing {"connection_id":173831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:43:15] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":43,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900758272001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788675138000,"timestamp_ms":1788675138000,"timestamp_seconds":1788675138,"priority":1,"record_length":96,"hex_timestamp":"000001a07558a1d0"} 
[2026-09-06 11:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 11:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:43:15] 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-09-06 11:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900758272001,"66":2155,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900758272001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:43:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900758272001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":173831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:43:15] local.INFO: GPS data processed {"connection_id":173831,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:43:15] local.INFO: Acknowledgment sent {"connection_id":173831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:43:26] local.INFO: TCP Data received {"connection_id":175146,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075530c20012d34c54006aa5420000c00c52e..."} 
[2026-09-06 11:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075530c20012d34c54006aa5420000c00c52e..."} 
[2026-09-06 11:43:26] local.INFO: Processing buffer {"connection_id":175146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075530c20012d34c54006aa5420000c00c52e..."} 
[2026-09-06 11:43:26] local.INFO: Packet analysis {"connection_id":175146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07553"} 
[2026-09-06 11:43:26] local.INFO: Extracted packet for processing {"connection_id":175146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07553"} 
[2026-09-06 11:43:26] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825952,"longitude_deg":75.8433088,"latitude_deg":11.1825952,"altitude":12,"angle":197,"satellites":46,"speed":10,"hex_longitude":"2d34c540","hex_latitude":"06aa5420","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900741376001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685427553468416,"note":"Value kept but may cause issues"} 
[2026-09-06 11:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595244292096,"note":"Value kept but may cause issues"} 
[2026-09-06 11: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-09-06 11:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788674772000,"timestamp_ms":1788674772000,"timestamp_seconds":1788674772,"priority":1,"record_length":96,"hex_timestamp":"000001a075530c20"} 
[2026-09-06 11:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:43: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-09-06 11: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-06 11:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:43: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-09-06 11:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900741376001,"66":27832,"97":206,"81":23296,"24":10,"16":400685427553468416,"45":3802656595244292096},"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-09-06 11:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900741376001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:43:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:43:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685427553468416,"km_value":400685427553468.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595244292096,"description":"Unknown IO ID 45"} 
[2026-09-06 11:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900741376001,"power":27832,"unknown_97":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":3802656595244292096}} 
[2026-09-06 11:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":175146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:43:26] local.INFO: GPS data processed {"connection_id":175146,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:43:26] local.INFO: Acknowledgment sent {"connection_id":175146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:43:42] local.INFO: TCP Data received {"connection_id":175147,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a07557de80012c58a08009c1e370027c013d1c..."} 
[2026-09-06 11:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07557de80012c58a08009c1e370027c013d1c..."} 
[2026-09-06 11:43:42] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07557de80012c58a08009c1e370027c013d1c..."} 
[2026-09-06 11:43:42] local.INFO: Packet analysis {"connection_id":175147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07557"} 
[2026-09-06 11:43:42] local.INFO: Extracted packet for processing {"connection_id":175147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07557"} 
[2026-09-06 11:43:42] local.INFO: GPS Element Parsed {"raw_longitude":744005760,"raw_latitude":163701616,"longitude_deg":74.400576,"latitude_deg":16.3701616,"altitude":636,"angle":317,"satellites":28,"speed":41,"hex_longitude":"2c58a080","hex_latitude":"09c1e370","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900820224001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2474601242165248,"note":"Value kept but may cause issues"} 
[2026-09-06 11:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6393281925423341570,"note":"Value kept but may cause issues"} 
[2026-09-06 11:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,105,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788675088000,"timestamp_ms":1788675088000,"timestamp_seconds":1788675088,"priority":1,"record_length":96,"hex_timestamp":"000001a07557de80"} 
[2026-09-06 11:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 11:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":175147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900820224001,"66":28224,"25":206,"105":19712,"24":41,"16":2474601242165248,"44":6393281925423341570},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,105,24,16,44]} 
[2026-09-06 11:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900820224001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:43:42] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:43:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":19712,"description":"Unknown IO ID 105"} 
[2026-09-06 11:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2474601242165248,"km_value":2474601242165.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":6393281925423341570,"description":"Unknown IO ID 44"} 
[2026-09-06 11:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900820224001,"power":28224,"unknown_25":206,"unknown_105":19712,"ignition":41,"odometer":null,"unknown_44":6393281925423341570}} 
[2026-09-06 11:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":175147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774023,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:43:43] local.INFO: GPS data processed {"connection_id":175147,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:43:43] local.INFO: Acknowledgment sent {"connection_id":175147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:43:45] local.INFO: TCP Data received {"connection_id":173831,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:43:45] local.INFO: Processing buffer {"connection_id":173831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:43:45] local.INFO: Packet analysis {"connection_id":173831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:43:45] local.INFO: Extracted packet for processing {"connection_id":173831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:43:45] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":43,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900758272001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788675138000,"timestamp_ms":1788675138000,"timestamp_seconds":1788675138,"priority":1,"record_length":96,"hex_timestamp":"000001a07558a1d0"} 
[2026-09-06 11:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:43:45] 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-09-06 11:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 11:43: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-09-06 11:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:43:45] 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-09-06 11:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900758272001,"66":2155,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900758272001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:43:45] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:43:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900758272001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":173831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:43:45] local.INFO: GPS data processed {"connection_id":173831,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:43:45] local.INFO: Acknowledgment sent {"connection_id":173831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:43:48] local.INFO: TCP Data received {"connection_id":172679,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:43:48] local.INFO: Processing buffer {"connection_id":172679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:43:48] local.INFO: IMEI packet received {"connection_id":172679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":172679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:43:53] local.INFO: TCP Data received {"connection_id":172679,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:43:53] local.INFO: Processing buffer {"connection_id":172679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:43:53] local.INFO: IMEI packet received {"connection_id":172679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":172679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:43:54] local.INFO: TCP Data received {"connection_id":172679,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075531008012d34c54006aa5320000c00b430..."} 
[2026-09-06 11:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075531008012d34c54006aa5320000c00b430..."} 
[2026-09-06 11:43:54] local.INFO: Processing buffer {"connection_id":172679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075531008012d34c54006aa5320000c00b430..."} 
[2026-09-06 11:43:54] local.INFO: Packet analysis {"connection_id":172679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07553"} 
[2026-09-06 11:43:54] local.INFO: Extracted packet for processing {"connection_id":172679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07553"} 
[2026-09-06 11:43:54] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825696,"longitude_deg":75.8433088,"latitude_deg":11.1825696,"altitude":12,"angle":180,"satellites":48,"speed":9,"hex_longitude":"2d34c540","hex_latitude":"06aa5320","is_valid_coordinates":true} 
[2026-09-06 11:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900741632001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685440438370304,"note":"Value kept but may cause issues"} 
[2026-09-06 11:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755873280,"note":"Value kept but may cause issues"} 
[2026-09-06 11:43: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-09-06 11:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788674773000,"timestamp_ms":1788674773000,"timestamp_seconds":1788674773,"priority":1,"record_length":96,"hex_timestamp":"000001a075531008"} 
[2026-09-06 11:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:43: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-09-06 11:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-06 11:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:43: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-09-06 11:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900741632001,"66":27691,"97":206,"81":23296,"24":9,"16":400685440438370304,"45":3802515857755873280},"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-09-06 11:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900741632001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:43:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:43:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685440438370304,"km_value":400685440438370.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755873280,"description":"Unknown IO ID 45"} 
[2026-09-06 11:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900741632001,"power":27691,"unknown_97":206,"unknown_81":23296,"ignition":9,"odometer":null,"unknown_45":3802515857755873280}} 
[2026-09-06 11:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":172679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:43:54] local.INFO: GPS data processed {"connection_id":172679,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:43:54] local.INFO: Acknowledgment sent {"connection_id":172679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:44:09] local.INFO: TCP Data received {"connection_id":175148,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:44:09] local.INFO: Processing buffer {"connection_id":175148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:44:09] local.INFO: IMEI packet received {"connection_id":175148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":175148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:44:14] local.INFO: TCP Data received {"connection_id":175148,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:44:14] local.INFO: Processing buffer {"connection_id":175148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:44:14] local.INFO: IMEI packet received {"connection_id":175148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":175148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:44:14] local.INFO: TCP Data received {"connection_id":175148,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:44:14] local.INFO: Processing buffer {"connection_id":175148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:44:14] local.INFO: Packet analysis {"connection_id":175148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:44:14] local.INFO: Extracted packet for processing {"connection_id":175148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:44:14] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":43,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900758272001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788675138000,"timestamp_ms":1788675138000,"timestamp_seconds":1788675138,"priority":1,"record_length":96,"hex_timestamp":"000001a07558a1d0"} 
[2026-09-06 11:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:44:14] 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-09-06 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 11:44: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-09-06 11: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-09-06 11:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:44:14] 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-09-06 11:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900758272001,"66":2155,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900758272001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:44:14] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:44:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900758272001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":175148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:44:15] local.INFO: GPS data processed {"connection_id":175148,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:44:15] local.INFO: Acknowledgment sent {"connection_id":175148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:44:15] local.INFO: TCP Data received {"connection_id":175147,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0755801a8012c58860009c1fec0027e013d23..."} 
[2026-09-06 11:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755801a8012c58860009c1fec0027e013d23..."} 
[2026-09-06 11:44:15] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755801a8012c58860009c1fec0027e013d23..."} 
[2026-09-06 11:44:15] local.INFO: Packet analysis {"connection_id":175147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:44:15] local.INFO: Extracted packet for processing {"connection_id":175147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:44:15] local.INFO: GPS Element Parsed {"raw_longitude":743998976,"raw_latitude":163708608,"longitude_deg":74.3998976,"latitude_deg":16.3708608,"altitude":638,"angle":317,"satellites":35,"speed":42,"hex_longitude":"2c588600","hex_latitude":"09c1fec0","is_valid_coordinates":true} 
[2026-09-06 11:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900822528001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2475065098633216,"note":"Value kept but may cause issues"} 
[2026-09-06 11:44:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6386245051007332354,"note":"Value kept but may cause issues"} 
[2026-09-06 11:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,105,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788675097000,"timestamp_ms":1788675097000,"timestamp_seconds":1788675097,"priority":1,"record_length":96,"hex_timestamp":"000001a0755801a8"} 
[2026-09-06 11:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:44: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-09-06 11:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-06 11:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900822528001,"66":28191,"25":206,"105":19712,"24":42,"16":2475065098633216,"44":6386245051007332354},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,105,24,16,44]} 
[2026-09-06 11:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900822528001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:44:15] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:44:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":19712,"description":"Unknown IO ID 105"} 
[2026-09-06 11:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2475065098633216,"km_value":2475065098633.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:44:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":6386245051007332354,"description":"Unknown IO ID 44"} 
[2026-09-06 11:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900822528001,"power":28191,"unknown_25":206,"unknown_105":19712,"ignition":42,"odometer":null,"unknown_44":6386245051007332354}} 
[2026-09-06 11:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":175147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774027,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:44:15] local.INFO: GPS data processed {"connection_id":175147,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:44:15] local.INFO: Acknowledgment sent {"connection_id":175147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:44:26] local.INFO: TCP Data received {"connection_id":172679,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0755313f0012d34c54006aa5240000c00a730..."} 
[2026-09-06 11:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755313f0012d34c54006aa5240000c00a730..."} 
[2026-09-06 11:44:26] local.INFO: Processing buffer {"connection_id":172679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755313f0012d34c54006aa5240000c00a730..."} 
[2026-09-06 11:44:26] local.INFO: Packet analysis {"connection_id":172679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07553"} 
[2026-09-06 11:44:26] local.INFO: Extracted packet for processing {"connection_id":172679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07553"} 
[2026-09-06 11:44:26] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825472,"longitude_deg":75.8433088,"latitude_deg":11.1825472,"altitude":12,"angle":167,"satellites":48,"speed":7,"hex_longitude":"2d34c540","hex_latitude":"06aa5240","is_valid_coordinates":true} 
[2026-09-06 11:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900741888001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685453323272192,"note":"Value kept but may cause issues"} 
[2026-09-06 11:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755807744,"note":"Value kept but may cause issues"} 
[2026-09-06 11: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-09-06 11:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788674774000,"timestamp_ms":1788674774000,"timestamp_seconds":1788674774,"priority":1,"record_length":96,"hex_timestamp":"000001a0755313f0"} 
[2026-09-06 11:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:44: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-09-06 11:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 11:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:44: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-09-06 11:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900741888001,"66":27691,"97":206,"81":23296,"24":7,"16":400685453323272192,"45":3802515857755807744},"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-09-06 11:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900741888001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:44:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:44:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685453323272192,"km_value":400685453323272.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755807744,"description":"Unknown IO ID 45"} 
[2026-09-06 11:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900741888001,"power":27691,"unknown_97":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3802515857755807744}} 
[2026-09-06 11:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":172679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:44:26] local.INFO: GPS data processed {"connection_id":172679,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:44:26] local.INFO: Acknowledgment sent {"connection_id":172679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:44:46] local.INFO: TCP Data received {"connection_id":175148,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:44:46] local.INFO: Processing buffer {"connection_id":175148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:44:46] local.INFO: Packet analysis {"connection_id":175148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:44:46] local.INFO: Extracted packet for processing {"connection_id":175148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:44:46] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":43,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900758272001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788675138000,"timestamp_ms":1788675138000,"timestamp_seconds":1788675138,"priority":1,"record_length":96,"hex_timestamp":"000001a07558a1d0"} 
[2026-09-06 11:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:44:46] 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-09-06 11:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 11:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:44:46] 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-09-06 11:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900758272001,"66":2155,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900758272001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:44:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900758272001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":175148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:44:46] local.INFO: GPS data processed {"connection_id":175148,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:44:46] local.INFO: Acknowledgment sent {"connection_id":175148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:44:47] local.INFO: TCP Data received {"connection_id":175147,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a075583858012c586dc009c21870027e013c28..."} 
[2026-09-06 11:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075583858012c586dc009c21870027e013c28..."} 
[2026-09-06 11:44:47] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075583858012c586dc009c21870027e013c28..."} 
[2026-09-06 11:44:47] local.INFO: Packet analysis {"connection_id":175147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:44:47] local.INFO: Extracted packet for processing {"connection_id":175147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:44:47] local.INFO: GPS Element Parsed {"raw_longitude":743992768,"raw_latitude":163715184,"longitude_deg":74.3992768,"latitude_deg":16.3715184,"altitude":638,"angle":316,"satellites":40,"speed":9,"hex_longitude":"2c586dc0","hex_latitude":"09c21870","is_valid_coordinates":true} 
[2026-09-06 11:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900824832001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2475494595362816,"note":"Value kept but may cause issues"} 
[2026-09-06 11:44:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6378785964126289922,"note":"Value kept but may cause issues"} 
[2026-09-06 11:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,105,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788675111000,"timestamp_ms":1788675111000,"timestamp_seconds":1788675111,"priority":1,"record_length":96,"hex_timestamp":"000001a075583858"} 
[2026-09-06 11:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:44: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-09-06 11:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 11:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900824832001,"66":28137,"25":206,"105":19712,"24":9,"16":2475494595362816,"44":6378785964126289922},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,105,24,16,44]} 
[2026-09-06 11:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900824832001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:44:47] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:44:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":19712,"description":"Unknown IO ID 105"} 
[2026-09-06 11:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2475494595362816,"km_value":2475494595362.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:44:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":6378785964126289922,"description":"Unknown IO ID 44"} 
[2026-09-06 11:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900824832001,"power":28137,"unknown_25":206,"unknown_105":19712,"ignition":9,"odometer":null,"unknown_44":6378785964126289922}} 
[2026-09-06 11:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":175147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774030,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:44:47] local.INFO: GPS data processed {"connection_id":175147,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:44:47] local.INFO: Acknowledgment sent {"connection_id":175147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:44:48] local.INFO: TCP Data received {"connection_id":172455,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:44:48] local.INFO: Processing buffer {"connection_id":172455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:44:48] local.INFO: IMEI packet received {"connection_id":172455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":172455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:44:53] local.INFO: TCP Data received {"connection_id":172455,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:44:53] local.INFO: Processing buffer {"connection_id":172455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:44:53] local.INFO: IMEI packet received {"connection_id":172455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":172455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:44:54] local.INFO: TCP Data received {"connection_id":172455,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0755365f8012d34c54006aa5108000c00a72e..."} 
[2026-09-06 11:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755365f8012d34c54006aa5108000c00a72e..."} 
[2026-09-06 11:44:54] local.INFO: Processing buffer {"connection_id":172455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755365f8012d34c54006aa5108000c00a72e..."} 
[2026-09-06 11:44:54] local.INFO: Packet analysis {"connection_id":172455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07553"} 
[2026-09-06 11:44:54] local.INFO: Extracted packet for processing {"connection_id":172455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07553"} 
[2026-09-06 11:44:54] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825160,"longitude_deg":75.8433088,"latitude_deg":11.182516,"altitude":12,"angle":167,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-09-06 11:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900742144001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685470503141376,"note":"Value kept but may cause issues"} 
[2026-09-06 11:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755750400,"note":"Value kept but may cause issues"} 
[2026-09-06 11: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-09-06 11:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788674795000,"timestamp_ms":1788674795000,"timestamp_seconds":1788674795,"priority":1,"record_length":96,"hex_timestamp":"000001a0755365f8"} 
[2026-09-06 11:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:44: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-09-06 11:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 11:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:44: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-09-06 11:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900742144001,"66":27908,"97":206,"81":23296,"24":0,"16":400685470503141376,"45":3802515857755750400},"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-09-06 11:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900742144001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:44:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:44:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685470503141376,"km_value":400685470503141.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755750400,"description":"Unknown IO ID 45"} 
[2026-09-06 11:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900742144001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857755750400}} 
[2026-09-06 11:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":172455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:44:54] local.INFO: GPS data processed {"connection_id":172455,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:44:54] local.INFO: Acknowledgment sent {"connection_id":172455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:45:09] local.INFO: TCP Data received {"connection_id":172456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:45:09] local.INFO: Processing buffer {"connection_id":172456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:45:09] local.INFO: IMEI packet received {"connection_id":172456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":172456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:45:14] local.INFO: TCP Data received {"connection_id":172456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:45:14] local.INFO: Processing buffer {"connection_id":172456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:45:14] local.INFO: IMEI packet received {"connection_id":172456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":172456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:45:14] local.INFO: TCP Data received {"connection_id":172456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:45:15] local.INFO: Processing buffer {"connection_id":172456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:45:15] local.INFO: Packet analysis {"connection_id":172456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:45:15] local.INFO: Extracted packet for processing {"connection_id":172456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:45:15] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":43,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900758272001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788675138000,"timestamp_ms":1788675138000,"timestamp_seconds":1788675138,"priority":1,"record_length":96,"hex_timestamp":"000001a07558a1d0"} 
[2026-09-06 11:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 11:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:45:15] 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-09-06 11:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900758272001,"66":2155,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900758272001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:45:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900758272001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":172456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:45:15] local.INFO: GPS data processed {"connection_id":172456,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:45:15] local.INFO: Acknowledgment sent {"connection_id":172456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:45:18] local.INFO: TCP Data received {"connection_id":175147,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0755a99b8012c57e58009c2b5d00278014228..."} 
[2026-09-06 11:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755a99b8012c57e58009c2b5d00278014228..."} 
[2026-09-06 11:45:18] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755a99b8012c57e58009c2b5d00278014228..."} 
[2026-09-06 11:45:18] local.INFO: Packet analysis {"connection_id":175147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755a"} 
[2026-09-06 11:45:18] local.INFO: Extracted packet for processing {"connection_id":175147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755a"} 
[2026-09-06 11:45:18] local.INFO: GPS Element Parsed {"raw_longitude":743957888,"raw_latitude":163755472,"longitude_deg":74.3957888,"latitude_deg":16.3755472,"altitude":632,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2c57e580","hex_latitude":"09c2b5d0","is_valid_coordinates":true} 
[2026-09-06 11:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900862720001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2478041510969344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:45:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6333609230376226818,"note":"Value kept but may cause issues"} 
[2026-09-06 11:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788675267000,"timestamp_ms":1788675267000,"timestamp_seconds":1788675267,"priority":1,"record_length":96,"hex_timestamp":"000001a0755a99b8"} 
[2026-09-06 11:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-06 11:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900862720001,"66":27767,"111":206,"9":7680,"24":0,"16":2478041510969344,"44":6333609230376226818},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16,44]} 
[2026-09-06 11:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900862720001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:45:18] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-06 11:45:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 11:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2478041510969344,"km_value":2478041510969.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:45:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":6333609230376226818,"description":"Unknown IO ID 44"} 
[2026-09-06 11:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900862720001,"power":27767,"unknown_111":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":6333609230376226818}} 
[2026-09-06 11:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":175147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774033,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:45:18] local.INFO: GPS data processed {"connection_id":175147,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:45:18] local.INFO: Acknowledgment sent {"connection_id":175147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:45:25] local.INFO: TCP Data received {"connection_id":172455,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07553b800012d34c48006aa4b88000b00a72f..."} 
[2026-09-06 11:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07553b800012d34c48006aa4b88000b00a72f..."} 
[2026-09-06 11:45:25] local.INFO: Processing buffer {"connection_id":172455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07553b800012d34c48006aa4b88000b00a72f..."} 
[2026-09-06 11:45:25] local.INFO: Packet analysis {"connection_id":172455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07553"} 
[2026-09-06 11:45:25] local.INFO: Extracted packet for processing {"connection_id":172455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07553"} 
[2026-09-06 11:45:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823752,"longitude_deg":75.8432896,"latitude_deg":11.1823752,"altitude":11,"angle":167,"satellites":47,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4b88","is_valid_coordinates":true} 
[2026-09-06 11:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900747520001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685543517585408,"note":"Value kept but may cause issues"} 
[2026-09-06 11:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755670528,"note":"Value kept but may cause issues"} 
[2026-09-06 11: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-09-06 11:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788674816000,"timestamp_ms":1788674816000,"timestamp_seconds":1788674816,"priority":1,"record_length":96,"hex_timestamp":"000001a07553b800"} 
[2026-09-06 11:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:45: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-09-06 11:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 11:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:45: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-09-06 11:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900747520001,"66":27876,"97":206,"81":23296,"24":0,"16":400685543517585408,"45":3802515857755670528},"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-09-06 11:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900747520001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:45:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:45:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685543517585408,"km_value":400685543517585.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755670528,"description":"Unknown IO ID 45"} 
[2026-09-06 11:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900747520001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857755670528}} 
[2026-09-06 11:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":172455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:45:25] local.INFO: GPS data processed {"connection_id":172455,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:45:25] local.INFO: Acknowledgment sent {"connection_id":172455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:45:45] local.INFO: TCP Data received {"connection_id":172456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:45:45] local.INFO: Processing buffer {"connection_id":172456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:45:45] local.INFO: Packet analysis {"connection_id":172456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:45:45] local.INFO: Extracted packet for processing {"connection_id":172456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:45:45] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":43,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900758272001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788675138000,"timestamp_ms":1788675138000,"timestamp_seconds":1788675138,"priority":1,"record_length":96,"hex_timestamp":"000001a07558a1d0"} 
[2026-09-06 11:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:45:45] 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-09-06 11: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":118,"data_length":795,"current_offset":136} 
[2026-09-06 11:45: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-09-06 11: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-09-06 11:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:45:45] 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-09-06 11:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900758272001,"66":2155,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900758272001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:45:45] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900758272001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":172456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:45:45] local.INFO: GPS data processed {"connection_id":172456,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:45:45] local.INFO: Acknowledgment sent {"connection_id":172456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:45:48] local.INFO: TCP Data received {"connection_id":173832,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:45:48] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:45:48] local.INFO: IMEI packet received {"connection_id":173832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":173832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:45:49] local.INFO: TCP Data received {"connection_id":175147,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0755988480100000000000000000000000000..."} 
[2026-09-06 11:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755988480100000000000000000000000000..."} 
[2026-09-06 11:45:49] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755988480100000000000000000000000000..."} 
[2026-09-06 11:45:49] local.INFO: Packet analysis {"connection_id":175147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07559"} 
[2026-09-06 11:45:49] local.INFO: Extracted packet for processing {"connection_id":175147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07559"} 
[2026-09-06 11:45:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 11:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900868352001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2478041510969344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:45:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6333609230376226818,"note":"Value kept but may cause issues"} 
[2026-09-06 11:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788675197000,"timestamp_ms":1788675197000,"timestamp_seconds":1788675197,"priority":1,"record_length":96,"hex_timestamp":"000001a075598848"} 
[2026-09-06 11:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 11:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":175147,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 11:45:49] local.INFO: GPS data processed {"connection_id":175147,"processed":0,"errors":0,"total":1} 
[2026-09-06 11:45:49] local.INFO: Acknowledgment sent {"connection_id":175147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:45:53] local.INFO: TCP Data received {"connection_id":173832,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:45:53] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:45:53] local.INFO: IMEI packet received {"connection_id":173832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":173832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:45:54] local.INFO: TCP Data received {"connection_id":173832,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075540a08012d34c48006aa4b88000b00a72d..."} 
[2026-09-06 11:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075540a08012d34c48006aa4b88000b00a72d..."} 
[2026-09-06 11:45:54] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075540a08012d34c48006aa4b88000b00a72d..."} 
[2026-09-06 11:45:54] local.INFO: Packet analysis {"connection_id":173832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:45:54] local.INFO: Extracted packet for processing {"connection_id":173832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:45:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823752,"longitude_deg":75.8432896,"latitude_deg":11.1823752,"altitude":11,"angle":167,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4b88","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900752896001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685543517585408,"note":"Value kept but may cause issues"} 
[2026-09-06 11:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522777088,"note":"Value kept but may cause issues"} 
[2026-09-06 11: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-09-06 11:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788674837000,"timestamp_ms":1788674837000,"timestamp_seconds":1788674837,"priority":1,"record_length":96,"hex_timestamp":"000001a075540a08"} 
[2026-09-06 11:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:45: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-09-06 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 11:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:45: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-09-06 11:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900752896001,"66":27865,"97":206,"81":23296,"24":0,"16":400685543517585408,"45":3802304751522777088},"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-09-06 11:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900752896001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:45:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:45:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685543517585408,"km_value":400685543517585.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522777088,"description":"Unknown IO ID 45"} 
[2026-09-06 11:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900752896001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522777088}} 
[2026-09-06 11:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":173832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:45:54] local.INFO: GPS data processed {"connection_id":173832,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:45:54] local.INFO: Acknowledgment sent {"connection_id":173832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:46:09] local.INFO: TCP Data received {"connection_id":175149,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:46:09] local.INFO: Processing buffer {"connection_id":175149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:46:09] local.INFO: IMEI packet received {"connection_id":175149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":175149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:46:14] local.INFO: TCP Data received {"connection_id":175149,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:46:14] local.INFO: Processing buffer {"connection_id":175149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:46:14] local.INFO: IMEI packet received {"connection_id":175149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":175149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:46:15] local.INFO: TCP Data received {"connection_id":175149,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:46:15] local.INFO: Processing buffer {"connection_id":175149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:46:15] local.INFO: Packet analysis {"connection_id":175149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:46:15] local.INFO: Extracted packet for processing {"connection_id":175149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:46:15] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":43,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900758272001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788675138000,"timestamp_ms":1788675138000,"timestamp_seconds":1788675138,"priority":1,"record_length":96,"hex_timestamp":"000001a07558a1d0"} 
[2026-09-06 11:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 11:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:46:15] 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-09-06 11:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900758272001,"66":2155,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900758272001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:46:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900758272001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":175149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:46:15] local.INFO: GPS data processed {"connection_id":175149,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:46:15] local.INFO: Acknowledgment sent {"connection_id":175149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:46:20] local.INFO: TCP Data received {"connection_id":175147,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0755b0ee8012c57b94009c2ea700273013e28..."} 
[2026-09-06 11:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755b0ee8012c57b94009c2ea700273013e28..."} 
[2026-09-06 11:46:20] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755b0ee8012c57b94009c2ea700273013e28..."} 
[2026-09-06 11:46:20] local.INFO: Packet analysis {"connection_id":175147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755b"} 
[2026-09-06 11:46:20] local.INFO: Extracted packet for processing {"connection_id":175147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755b"} 
[2026-09-06 11:46:20] local.INFO: GPS Element Parsed {"raw_longitude":743946560,"raw_latitude":163768944,"longitude_deg":74.394656,"latitude_deg":16.3768944,"altitude":627,"angle":318,"satellites":40,"speed":42,"hex_longitude":"2c57b940","hex_latitude":"09c2ea70","is_valid_coordinates":true} 
[2026-09-06 11:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2478041510969344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:46:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788675297000,"timestamp_ms":1788675297000,"timestamp_seconds":1788675297,"priority":1,"record_length":96,"hex_timestamp":"000001a0755b0ee8"} 
[2026-09-06 11:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-06 11:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28137,"111":206,"9":7680,"24":42,"16":2478041510969344},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16]} 
[2026-09-06 11:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 11:46:20] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-06 11:46:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 11:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2478041510969344,"km_value":2478041510969.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:46:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28137,"unknown_111":206,"unknown_9":7680,"ignition":42,"odometer":null}} 
[2026-09-06 11:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":175147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774038,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:46:20] local.INFO: GPS data processed {"connection_id":175147,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:46:20] local.INFO: Acknowledgment sent {"connection_id":175147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:46:26] local.INFO: TCP Data received {"connection_id":173832,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075544888012d34c58006aa4aa0000a00a733..."} 
[2026-09-06 11:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075544888012d34c58006aa4aa0000a00a733..."} 
[2026-09-06 11:46:26] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075544888012d34c58006aa4aa0000a00a733..."} 
[2026-09-06 11:46:26] local.INFO: Packet analysis {"connection_id":173832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:46:26] local.INFO: Extracted packet for processing {"connection_id":173832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07554"} 
[2026-09-06 11:46:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823520,"longitude_deg":75.8433152,"latitude_deg":11.182352,"altitude":10,"angle":167,"satellites":51,"speed":2,"hex_longitude":"2d34c580","hex_latitude":"06aa4aa0","is_valid_coordinates":true} 
[2026-09-06 11:46: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-09-06 11:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900758272001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522777088,"note":"Value kept but may cause issues"} 
[2026-09-06 11: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-09-06 11:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788674853000,"timestamp_ms":1788674853000,"timestamp_seconds":1788674853,"priority":1,"record_length":96,"hex_timestamp":"000001a075544888"} 
[2026-09-06 11:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:46: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-09-06 11:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 11:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:46: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-09-06 11:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900758272001,"66":27821,"97":206,"81":23296,"24":2,"16":400685560697454592,"45":3802304751522777088},"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-09-06 11:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900758272001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:46:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:46:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522777088,"description":"Unknown IO ID 45"} 
[2026-09-06 11:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900758272001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802304751522777088}} 
[2026-09-06 11:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":173832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:46:26] local.INFO: GPS data processed {"connection_id":173832,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:46:26] local.INFO: Acknowledgment sent {"connection_id":173832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:46:46] local.INFO: TCP Data received {"connection_id":175149,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:46:46] local.INFO: Processing buffer {"connection_id":175149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:46:46] local.INFO: Packet analysis {"connection_id":175149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:46:46] local.INFO: Extracted packet for processing {"connection_id":175149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:46:46] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":43,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900758272001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788675138000,"timestamp_ms":1788675138000,"timestamp_seconds":1788675138,"priority":1,"record_length":96,"hex_timestamp":"000001a07558a1d0"} 
[2026-09-06 11:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:46:46] 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-09-06 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 11:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:46:46] 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-09-06 11:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900758272001,"66":2155,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900758272001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:46:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900758272001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":175149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:46:46] local.INFO: GPS data processed {"connection_id":175149,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:46:46] local.INFO: Acknowledgment sent {"connection_id":175149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:46:51] local.INFO: TCP Data received {"connection_id":175147,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0755b60f0012c5780c009c32c90026b014027..."} 
[2026-09-06 11:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755b60f0012c5780c009c32c90026b014027..."} 
[2026-09-06 11:46:51] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755b60f0012c5780c009c32c90026b014027..."} 
[2026-09-06 11:46:51] local.INFO: Packet analysis {"connection_id":175147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755b"} 
[2026-09-06 11:46:51] local.INFO: Extracted packet for processing {"connection_id":175147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755b"} 
[2026-09-06 11:46:51] local.INFO: GPS Element Parsed {"raw_longitude":743932096,"raw_latitude":163785872,"longitude_deg":74.3932096,"latitude_deg":16.3785872,"altitude":619,"angle":320,"satellites":39,"speed":0,"hex_longitude":"2c5780c0","hex_latitude":"09c32c90","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900876032001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2478041510969344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6321153962660229122,"note":"Value kept but may cause issues"} 
[2026-09-06 11:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788675318000,"timestamp_ms":1788675318000,"timestamp_seconds":1788675318,"priority":1,"record_length":96,"hex_timestamp":"000001a0755b60f0"} 
[2026-09-06 11:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 11:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900876032001,"66":28137,"111":206,"9":7680,"24":0,"16":2478041510969344,"44":6321153962660229122},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16,44]} 
[2026-09-06 11:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900876032001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:46:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-06 11:46:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 11:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2478041510969344,"km_value":2478041510969.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":6321153962660229122,"description":"Unknown IO ID 44"} 
[2026-09-06 11:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900876032001,"power":28137,"unknown_111":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":6321153962660229122}} 
[2026-09-06 11:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":175147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774041,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:46:51] local.INFO: GPS data processed {"connection_id":175147,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:46:51] local.INFO: Acknowledgment sent {"connection_id":175147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:46:53] local.INFO: TCP Data received {"connection_id":172457,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:46:53] local.INFO: Processing buffer {"connection_id":172457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:46:53] local.INFO: IMEI packet received {"connection_id":172457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":172457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:46:58] local.INFO: TCP Data received {"connection_id":172457,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:46:58] local.INFO: Processing buffer {"connection_id":172457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:46:58] local.INFO: IMEI packet received {"connection_id":172457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":172457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:46:59] local.INFO: TCP Data received {"connection_id":172457,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07558e820012d34c48006aa3e58000900a72f..."} 
[2026-09-06 11:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07558e820012d34c48006aa3e58000900a72f..."} 
[2026-09-06 11:46:59] local.INFO: Processing buffer {"connection_id":172457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07558e820012d34c48006aa3e58000900a72f..."} 
[2026-09-06 11:46:59] local.INFO: Packet analysis {"connection_id":172457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:46:59] local.INFO: Extracted packet for processing {"connection_id":172457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:46:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":47,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900762368001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499428352,"note":"Value kept but may cause issues"} 
[2026-09-06 11: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-09-06 11:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788675156000,"timestamp_ms":1788675156000,"timestamp_seconds":1788675156,"priority":1,"record_length":96,"hex_timestamp":"000001a07558e820"} 
[2026-09-06 11:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 11:46:59] 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-09-06 11: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-09-06 11:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:46: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-09-06 11:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900762368001,"66":26408,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802586226499428352},"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-09-06 11:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900762368001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:46:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:46:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499428352,"description":"Unknown IO ID 45"} 
[2026-09-06 11:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900762368001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499428352}} 
[2026-09-06 11:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":172457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:46:59] local.INFO: GPS data processed {"connection_id":172457,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:46:59] local.INFO: Acknowledgment sent {"connection_id":172457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:47:04] local.INFO: TCP Data received {"connection_id":172458,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:47:04] local.INFO: Processing buffer {"connection_id":172458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:47:04] local.INFO: IMEI packet received {"connection_id":172458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":172458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:47:05] local.INFO: TCP Data received {"connection_id":172458,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0755ca528012d7cb4c005d16de80004016018..."} 
[2026-09-06 11:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755ca528012d7cb4c005d16de80004016018..."} 
[2026-09-06 11:47:05] local.INFO: Processing buffer {"connection_id":172458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755ca528012d7cb4c005d16de80004016018..."} 
[2026-09-06 11:47:05] local.INFO: Packet analysis {"connection_id":172458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755c"} 
[2026-09-06 11:47:05] local.INFO: Extracted packet for processing {"connection_id":172458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755c"} 
[2026-09-06 11:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763147456,"raw_latitude":97611240,"longitude_deg":76.3147456,"latitude_deg":9.761124,"altitude":4,"angle":352,"satellites":24,"speed":22,"hex_longitude":"2d7cb4c0","hex_latitude":"05d16de8","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900901376001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128907177032155136,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986862712661473280,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788675401000,"timestamp_ms":1788675401000,"timestamp_seconds":1788675401,"priority":1,"record_length":96,"hex_timestamp":"000001a0755ca528"} 
[2026-09-06 11:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:47: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-09-06 11: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":181,"data_length":795,"current_offset":136} 
[2026-09-06 11:47: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-09-06 11: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-09-06 11:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:47:05] 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-09-06 11:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900901376001,"66":13472,"25":206,"85":15104,"24":22,"16":128907177032155136,"45":8986862712661473280},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900901376001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:47:05] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:47:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128907177032155136,"km_value":128907177032155.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986862712661473280,"description":"Unknown IO ID 45"} 
[2026-09-06 11:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900901376001,"power":13472,"unknown_25":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8986862712661473280}} 
[2026-09-06 11:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":172458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:47:05] local.INFO: GPS data processed {"connection_id":172458,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:47:05] local.INFO: Acknowledgment sent {"connection_id":172458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:47:05] local.INFO: TCP Data received {"connection_id":172457,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07558e820012d34c48006aa3e58000900a72f..."} 
[2026-09-06 11:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07558e820012d34c48006aa3e58000900a72f..."} 
[2026-09-06 11:47:05] local.INFO: Processing buffer {"connection_id":172457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07558e820012d34c48006aa3e58000900a72f..."} 
[2026-09-06 11:47:05] local.INFO: Packet analysis {"connection_id":172457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:47:05] local.INFO: Extracted packet for processing {"connection_id":172457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":47,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900762368001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499428352,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47: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-09-06 11:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788675156000,"timestamp_ms":1788675156000,"timestamp_seconds":1788675156,"priority":1,"record_length":96,"hex_timestamp":"000001a07558e820"} 
[2026-09-06 11:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 11:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900762368001,"66":26408,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802586226499428352},"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-09-06 11:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900762368001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:47:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:47:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499428352,"description":"Unknown IO ID 45"} 
[2026-09-06 11:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900762368001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499428352}} 
[2026-09-06 11:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":172457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:47:05] local.INFO: GPS data processed {"connection_id":172457,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:47:05] local.INFO: Acknowledgment sent {"connection_id":172457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:47:14] local.INFO: TCP Data received {"connection_id":175150,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:47:14] local.INFO: Processing buffer {"connection_id":175150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:47:14] local.INFO: IMEI packet received {"connection_id":175150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":175150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:47:19] local.INFO: TCP Data received {"connection_id":175150,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:47:19] local.INFO: Processing buffer {"connection_id":175150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:47:19] local.INFO: IMEI packet received {"connection_id":175150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":175150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:47:20] local.INFO: TCP Data received {"connection_id":175150,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:47:20] local.INFO: Processing buffer {"connection_id":175150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:47:20] local.INFO: Packet analysis {"connection_id":175150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:47:20] local.INFO: Extracted packet for processing {"connection_id":175150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:47:20] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":43,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900758272001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788675138000,"timestamp_ms":1788675138000,"timestamp_seconds":1788675138,"priority":1,"record_length":96,"hex_timestamp":"000001a07558a1d0"} 
[2026-09-06 11:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:47:20] 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-09-06 11:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 11:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:47:20] 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-09-06 11:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900758272001,"66":2155,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900758272001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:47:20] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:47:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900758272001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":175150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:47:20] local.INFO: GPS data processed {"connection_id":175150,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:47:20] local.INFO: Acknowledgment sent {"connection_id":175150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:47:22] local.INFO: TCP Data received {"connection_id":175147,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0755a4f800100000000000000000000000000..."} 
[2026-09-06 11:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755a4f800100000000000000000000000000..."} 
[2026-09-06 11:47:22] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755a4f800100000000000000000000000000..."} 
[2026-09-06 11:47:22] local.INFO: Packet analysis {"connection_id":175147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755a"} 
[2026-09-06 11:47:22] local.INFO: Extracted packet for processing {"connection_id":175147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755a"} 
[2026-09-06 11:47:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 11:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900881408001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2478041510969344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6305250626480410626,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788675248000,"timestamp_ms":1788675248000,"timestamp_seconds":1788675248,"priority":1,"record_length":96,"hex_timestamp":"000001a0755a4f80"} 
[2026-09-06 11:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 11:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":175147,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 11:47:22] local.INFO: GPS data processed {"connection_id":175147,"processed":0,"errors":0,"total":1} 
[2026-09-06 11:47:22] local.INFO: Acknowledgment sent {"connection_id":175147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:47:36] local.INFO: TCP Data received {"connection_id":172458,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0755cd020012d7cb14005d180f80003015418..."} 
[2026-09-06 11:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755cd020012d7cb14005d180f80003015418..."} 
[2026-09-06 11:47:36] local.INFO: Processing buffer {"connection_id":172458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755cd020012d7cb14005d180f80003015418..."} 
[2026-09-06 11:47:36] local.INFO: Packet analysis {"connection_id":172458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755c"} 
[2026-09-06 11:47:36] local.INFO: Extracted packet for processing {"connection_id":172458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755c"} 
[2026-09-06 11:47:36] local.INFO: GPS Element Parsed {"raw_longitude":763146560,"raw_latitude":97616120,"longitude_deg":76.314656,"latitude_deg":9.761612,"altitude":3,"angle":340,"satellites":24,"speed":8,"hex_longitude":"2d7cb140","hex_latitude":"05d180f8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900902656001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128907421845291008,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986018287731992576,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788675412000,"timestamp_ms":1788675412000,"timestamp_seconds":1788675412,"priority":1,"record_length":96,"hex_timestamp":"000001a0755cd020"} 
[2026-09-06 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-09-06 11:47: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-09-06 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 11:47:36] 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-09-06 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-09-06 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-09-06 11:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:47:36] 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-09-06 11:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900902656001,"66":13678,"25":206,"85":15104,"24":8,"16":128907421845291008,"45":8986018287731992576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900902656001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:47:36] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:47:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128907421845291008,"km_value":128907421845291.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986018287731992576,"description":"Unknown IO ID 45"} 
[2026-09-06 11:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900902656001,"power":13678,"unknown_25":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8986018287731992576}} 
[2026-09-06 11:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":172458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:47:36] local.INFO: GPS data processed {"connection_id":172458,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:47:36] local.INFO: Acknowledgment sent {"connection_id":172458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:47:48] local.INFO: TCP Data received {"connection_id":175151,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:47:48] local.INFO: Processing buffer {"connection_id":175151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:47:48] local.INFO: IMEI packet received {"connection_id":175151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":175151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:47:51] local.INFO: TCP Data received {"connection_id":175150,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:47:51] local.INFO: Processing buffer {"connection_id":175150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07558a1d0012d1fe640071d5d10004000992b..."} 
[2026-09-06 11:47:51] local.INFO: Packet analysis {"connection_id":175150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:47:51] local.INFO: Extracted packet for processing {"connection_id":175150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:47:51] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":43,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900758272001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788675138000,"timestamp_ms":1788675138000,"timestamp_seconds":1788675138,"priority":1,"record_length":96,"hex_timestamp":"000001a07558a1d0"} 
[2026-09-06 11:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 11:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:47:51] 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-09-06 11:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900758272001,"66":2155,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900758272001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:47:51] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900758272001,"power":2155,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":175150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:47:51] local.INFO: GPS data processed {"connection_id":175150,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:47:51] local.INFO: Acknowledgment sent {"connection_id":175150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:47:53] local.INFO: TCP Data received {"connection_id":175151,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:47:53] local.INFO: Processing buffer {"connection_id":175151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:47:53] local.INFO: IMEI packet received {"connection_id":175151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":175151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:47:54] local.INFO: TCP Data received {"connection_id":175147,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0755bce50012c5704c009c3c0c0025b014227..."} 
[2026-09-06 11:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755bce50012c5704c009c3c0c0025b014227..."} 
[2026-09-06 11:47:54] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755bce50012c5704c009c3c0c0025b014227..."} 
[2026-09-06 11:47:54] local.INFO: Packet analysis {"connection_id":175147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755b"} 
[2026-09-06 11:47:54] local.INFO: Extracted packet for processing {"connection_id":175147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755b"} 
[2026-09-06 11:47:54] local.INFO: GPS Element Parsed {"raw_longitude":743900352,"raw_latitude":163823808,"longitude_deg":74.3900352,"latitude_deg":16.3823808,"altitude":603,"angle":322,"satellites":39,"speed":60,"hex_longitude":"2c5704c0","hex_latitude":"09c3c0c0","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2478041510969344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788675346000,"timestamp_ms":1788675346000,"timestamp_seconds":1788675346,"priority":1,"record_length":96,"hex_timestamp":"000001a0755bce50"} 
[2026-09-06 11:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:47: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-06 11:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"111":206,"9":7680,"24":60,"16":2478041510969344},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16]} 
[2026-09-06 11:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 11:47:54] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-06 11:47:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 11:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2478041510969344,"km_value":2478041510969.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:47:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_111":206,"unknown_9":7680,"ignition":60,"odometer":null}} 
[2026-09-06 11:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":175147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774048,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:47:54] local.INFO: GPS data processed {"connection_id":175147,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:47:54] local.INFO: Acknowledgment sent {"connection_id":175147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:47:54] local.INFO: TCP Data received {"connection_id":175151,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07558e820012d34c48006aa3e58000900a72f..."} 
[2026-09-06 11:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07558e820012d34c48006aa3e58000900a72f..."} 
[2026-09-06 11:47:54] local.INFO: Processing buffer {"connection_id":175151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07558e820012d34c48006aa3e58000900a72f..."} 
[2026-09-06 11:47:54] local.INFO: Packet analysis {"connection_id":175151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:47:54] local.INFO: Extracted packet for processing {"connection_id":175151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07558"} 
[2026-09-06 11:47:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":47,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900762368001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499428352,"note":"Value kept but may cause issues"} 
[2026-09-06 11:47: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-09-06 11:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788675156000,"timestamp_ms":1788675156000,"timestamp_seconds":1788675156,"priority":1,"record_length":96,"hex_timestamp":"000001a07558e820"} 
[2026-09-06 11:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:47: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-09-06 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 11:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:47: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-09-06 11:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900762368001,"66":26408,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802586226499428352},"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-09-06 11:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900762368001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:47:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:47:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499428352,"description":"Unknown IO ID 45"} 
[2026-09-06 11:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900762368001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499428352}} 
[2026-09-06 11:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":175151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:47:54] local.INFO: GPS data processed {"connection_id":175151,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:47:54] local.INFO: Acknowledgment sent {"connection_id":175151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:47:59] local.INFO: TCP Data received {"connection_id":172459,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:47:59] local.INFO: Processing buffer {"connection_id":172459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:47:59] local.INFO: IMEI packet received {"connection_id":172459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":172459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:47:59] local.INFO: TCP Data received {"connection_id":172459,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:47:59] local.INFO: Processing buffer {"connection_id":172459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:47:59] local.INFO: IMEI packet received {"connection_id":172459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":172459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:48:04] local.INFO: TCP Data received {"connection_id":172459,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:48:04] local.INFO: Processing buffer {"connection_id":172459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:48:04] local.INFO: IMEI packet received {"connection_id":172459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":172459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:48:05] local.INFO: TCP Data received {"connection_id":172459,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0755cd408012d7cb14005d181800003014518..."} 
[2026-09-06 11:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755cd408012d7cb14005d181800003014518..."} 
[2026-09-06 11:48:05] local.INFO: Processing buffer {"connection_id":172459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755cd408012d7cb14005d181800003014518..."} 
[2026-09-06 11:48:05] local.INFO: Packet analysis {"connection_id":172459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755c"} 
[2026-09-06 11:48:05] local.INFO: Extracted packet for processing {"connection_id":172459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755c"} 
[2026-09-06 11:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763146560,"raw_latitude":97616256,"longitude_deg":76.314656,"latitude_deg":9.7616256,"altitude":3,"angle":325,"satellites":24,"speed":5,"hex_longitude":"2d7cb140","hex_latitude":"05d18180","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900905472001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128907426140258304,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985033125314754560,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788675413000,"timestamp_ms":1788675413000,"timestamp_seconds":1788675413,"priority":1,"record_length":96,"hex_timestamp":"000001a0755cd408"} 
[2026-09-06 11:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:48: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-09-06 11: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 11:48: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-09-06 11: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-09-06 11:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:48:05] 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-09-06 11:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900905472001,"66":13417,"25":206,"85":15104,"24":5,"16":128907426140258304,"45":8985033125314754560},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900905472001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:48:05] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128907426140258304,"km_value":128907426140258.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985033125314754560,"description":"Unknown IO ID 45"} 
[2026-09-06 11:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900905472001,"power":13417,"unknown_25":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8985033125314754560}} 
[2026-09-06 11:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":172459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:48:05] local.INFO: GPS data processed {"connection_id":172459,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:48:05] local.INFO: Acknowledgment sent {"connection_id":172459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:48:09] local.INFO: TCP Data received {"connection_id":175152,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:48:09] local.INFO: Processing buffer {"connection_id":175152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:48:09] local.INFO: IMEI packet received {"connection_id":175152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":175152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:48:14] local.INFO: TCP Data received {"connection_id":175152,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:48:14] local.INFO: Processing buffer {"connection_id":175152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:48:14] local.INFO: IMEI packet received {"connection_id":175152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":175152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:48:15] local.INFO: TCP Data received {"connection_id":175152,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:48:15] local.INFO: Processing buffer {"connection_id":175152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:48:15] local.INFO: Packet analysis {"connection_id":175152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:48:15] local.INFO: Extracted packet for processing {"connection_id":175152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:48:15] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":42,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900835328001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788675439000,"timestamp_ms":1788675439000,"timestamp_seconds":1788675439,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d3998"} 
[2026-09-06 11:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:48:15] 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-09-06 11:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 11:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:48:15] 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-09-06 11:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900835328001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900835328001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:48:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:48:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900835328001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":175152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:48:15] local.INFO: GPS data processed {"connection_id":175152,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:48:15] local.INFO: Acknowledgment sent {"connection_id":175152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:48:25] local.INFO: TCP Data received {"connection_id":175147,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0755ac0c80100000000000000000000000000..."} 
[2026-09-06 11:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755ac0c80100000000000000000000000000..."} 
[2026-09-06 11:48:25] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755ac0c80100000000000000000000000000..."} 
[2026-09-06 11:48:25] local.INFO: Packet analysis {"connection_id":175147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755a"} 
[2026-09-06 11:48:25] local.INFO: Extracted packet for processing {"connection_id":175147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755a"} 
[2026-09-06 11:48: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-09-06 11: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-09-06 11:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900888576001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2478041510969344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6270347729378000898,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788675277000,"timestamp_ms":1788675277000,"timestamp_seconds":1788675277,"priority":1,"record_length":96,"hex_timestamp":"000001a0755ac0c8"} 
[2026-09-06 11:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:48: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-09-06 11: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-06 11:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":175147,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 11:48:25] local.INFO: GPS data processed {"connection_id":175147,"processed":0,"errors":0,"total":1} 
[2026-09-06 11:48:25] local.INFO: Acknowledgment sent {"connection_id":175147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:48:25] local.INFO: TCP Data received {"connection_id":175151,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:48:25] local.INFO: Processing buffer {"connection_id":175151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:48:25] local.INFO: Packet analysis {"connection_id":175151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:48:25] local.INFO: Extracted packet for processing {"connection_id":175151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:48:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900839936001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48: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-09-06 11:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788675457000,"timestamp_ms":1788675457000,"timestamp_seconds":1788675457,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d7fe8"} 
[2026-09-06 11:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:48: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-09-06 11:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-06 11:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:48: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-09-06 11:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900839936001,"66":26223,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900839936001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:48:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:48:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900839936001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":175151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:48:25] local.INFO: GPS data processed {"connection_id":175151,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:48:25] local.INFO: Acknowledgment sent {"connection_id":175151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:48:36] local.INFO: TCP Data received {"connection_id":172459,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0755cd7f0012d7cb0c005d181e80002013318..."} 
[2026-09-06 11:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755cd7f0012d7cb0c005d181e80002013318..."} 
[2026-09-06 11:48:36] local.INFO: Processing buffer {"connection_id":172459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755cd7f0012d7cb0c005d181e80002013318..."} 
[2026-09-06 11:48:36] local.INFO: Packet analysis {"connection_id":172459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755c"} 
[2026-09-06 11:48:36] local.INFO: Extracted packet for processing {"connection_id":172459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755c"} 
[2026-09-06 11:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763146432,"raw_latitude":97616360,"longitude_deg":76.3146432,"latitude_deg":9.761636,"altitude":2,"angle":307,"satellites":24,"speed":5,"hex_longitude":"2d7cb0c0","hex_latitude":"05d181e8","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900905728001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128907434730192896,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985033125314789376,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788675414000,"timestamp_ms":1788675414000,"timestamp_seconds":1788675414,"priority":1,"record_length":96,"hex_timestamp":"000001a0755cd7f0"} 
[2026-09-06 11:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:48: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-09-06 11: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-06 11:48:36] 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-09-06 11: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-09-06 11:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:48:36] 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-09-06 11:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900905728001,"66":13319,"25":206,"85":15104,"24":5,"16":128907434730192896,"45":8985033125314789376},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900905728001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:48:36] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:48:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128907434730192896,"km_value":128907434730192.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985033125314789376,"description":"Unknown IO ID 45"} 
[2026-09-06 11:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900905728001,"power":13319,"unknown_25":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8985033125314789376}} 
[2026-09-06 11:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":172459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:48:36] local.INFO: GPS data processed {"connection_id":172459,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:48:36] local.INFO: Acknowledgment sent {"connection_id":172459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:48:46] local.INFO: TCP Data received {"connection_id":175152,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:48:46] local.INFO: Processing buffer {"connection_id":175152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:48:46] local.INFO: Packet analysis {"connection_id":175152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:48:46] local.INFO: Extracted packet for processing {"connection_id":175152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:48:46] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":42,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900835328001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788675439000,"timestamp_ms":1788675439000,"timestamp_seconds":1788675439,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d3998"} 
[2026-09-06 11:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:48:46] 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-09-06 11:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 11:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:48:46] 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-09-06 11:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900835328001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900835328001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:48:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:48:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900835328001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":175152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:48:46] local.INFO: GPS data processed {"connection_id":175152,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:48:46] local.INFO: Acknowledgment sent {"connection_id":175152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:48:48] local.INFO: TCP Data received {"connection_id":173834,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:48:48] local.INFO: Processing buffer {"connection_id":173834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:48:48] local.INFO: IMEI packet received {"connection_id":173834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":173834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:48:53] local.INFO: TCP Data received {"connection_id":173834,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:48:53] local.INFO: Processing buffer {"connection_id":173834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:48:53] local.INFO: IMEI packet received {"connection_id":173834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":173834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:48:54] local.INFO: TCP Data received {"connection_id":173834,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:48:54] local.INFO: Processing buffer {"connection_id":173834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:48:54] local.INFO: Packet analysis {"connection_id":173834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:48:54] local.INFO: Extracted packet for processing {"connection_id":173834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:48:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900839936001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48: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-09-06 11:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788675457000,"timestamp_ms":1788675457000,"timestamp_seconds":1788675457,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d7fe8"} 
[2026-09-06 11:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:48: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-09-06 11: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-06 11:48: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-09-06 11: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-09-06 11:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:48: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-09-06 11:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900839936001,"66":26223,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900839936001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:48:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:48:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900839936001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":173834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:48:54] local.INFO: GPS data processed {"connection_id":173834,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:48:54] local.INFO: Acknowledgment sent {"connection_id":173834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:48:54] local.INFO: TCP Data received {"connection_id":175153,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:48:54] local.INFO: Processing buffer {"connection_id":175153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:48:54] local.INFO: IMEI packet received {"connection_id":175153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":175153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:48:56] local.INFO: TCP Data received {"connection_id":175147,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0755c4b50012c56aa8009c44b900258013c28..."} 
[2026-09-06 11:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755c4b50012c56aa8009c44b900258013c28..."} 
[2026-09-06 11:48:56] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755c4b50012c56aa8009c44b900258013c28..."} 
[2026-09-06 11:48:56] local.INFO: Packet analysis {"connection_id":175147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755c"} 
[2026-09-06 11:48:56] local.INFO: Extracted packet for processing {"connection_id":175147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755c"} 
[2026-09-06 11:48:56] local.INFO: GPS Element Parsed {"raw_longitude":743877248,"raw_latitude":163859344,"longitude_deg":74.3877248,"latitude_deg":16.3859344,"altitude":600,"angle":316,"satellites":40,"speed":21,"hex_longitude":"2c56aa80","hex_latitude":"09c44b90","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2478041510969344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:48:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788675378000,"timestamp_ms":1788675378000,"timestamp_seconds":1788675378,"priority":1,"record_length":96,"hex_timestamp":"000001a0755c4b50"} 
[2026-09-06 11:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:48: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 11:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28278,"111":206,"9":7680,"24":21,"16":2478041510969344},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16]} 
[2026-09-06 11:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 11:48:56] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-06 11:48:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 11:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2478041510969344,"km_value":2478041510969.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:48:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28278,"unknown_111":206,"unknown_9":7680,"ignition":21,"odometer":null}} 
[2026-09-06 11:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":175147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774056,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:48:56] local.INFO: GPS data processed {"connection_id":175147,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:48:56] local.INFO: Acknowledgment sent {"connection_id":175147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:48:59] local.INFO: TCP Data received {"connection_id":175153,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:48:59] local.INFO: Processing buffer {"connection_id":175153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:48:59] local.INFO: IMEI packet received {"connection_id":175153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":175153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:49:00] local.INFO: TCP Data received {"connection_id":175153,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0755cdbd8012d7cb04005d182180002011918..."} 
[2026-09-06 11:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755cdbd8012d7cb04005d182180002011918..."} 
[2026-09-06 11:49:00] local.INFO: Processing buffer {"connection_id":175153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755cdbd8012d7cb04005d182180002011918..."} 
[2026-09-06 11:49:00] local.INFO: Packet analysis {"connection_id":175153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755c"} 
[2026-09-06 11:49:00] local.INFO: Extracted packet for processing {"connection_id":175153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755c"} 
[2026-09-06 11:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97616408,"longitude_deg":76.3146304,"latitude_deg":9.7616408,"altitude":2,"angle":281,"satellites":24,"speed":6,"hex_longitude":"2d7cb040","hex_latitude":"05d18218","is_valid_coordinates":true} 
[2026-09-06 11:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900905984001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128907443320127488,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984892387826460672,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788675415000,"timestamp_ms":1788675415000,"timestamp_seconds":1788675415,"priority":1,"record_length":96,"hex_timestamp":"000001a0755cdbd8"} 
[2026-09-06 11:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-06 11:49:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:00] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4217621068235806720,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2820210894,"corrected_to":0} 
[2026-09-06 11:49:00] local.WARNING: Large IO value detected {"io_id":102,"raw_value":2818649468,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:00] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812328,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:00] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4160815104,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3510900736,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:00] local.WARNING: Large IO value detected {"io_id":88,"raw_value":57887186976920891,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:00] local.WARNING: Large IO value detected {"io_id":92,"raw_value":4863888892438151173,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:00] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,25,85,24,241,157,16,248,160,212,45,64,129,3,10,66,208,128,165,192,1,240,227,117,209,4,113,205,19,102,186,239,53,23,2,201,5,6,17,88,92],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2820210894,"validated":0}]} 
[2026-09-06 11:49:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144452841225125888,"timestamp_seconds":144452841225125.88,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:49:00] 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-09-06 11:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900905984001,"66":13319,"25":206,"85":15104,"24":6,"16":128907443320127488,"45":8984892387826460672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900905984001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:49:00] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128907443320127488,"km_value":128907443320127.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984892387826460672,"description":"Unknown IO ID 45"} 
[2026-09-06 11:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900905984001,"power":13319,"unknown_25":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8984892387826460672}} 
[2026-09-06 11:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":175153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:49:00] local.INFO: GPS data processed {"connection_id":175153,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:49:00] local.INFO: Acknowledgment sent {"connection_id":175153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:49:09] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:49:09] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:49:09] local.INFO: IMEI packet received {"connection_id":173835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":173835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:49:14] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:49:14] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:49:14] local.INFO: IMEI packet received {"connection_id":173835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":173835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:49:14] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:49:15] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:49:15] local.INFO: Packet analysis {"connection_id":173835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:49:15] local.INFO: Extracted packet for processing {"connection_id":173835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:49:15] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":42,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900835328001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788675439000,"timestamp_ms":1788675439000,"timestamp_seconds":1788675439,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d3998"} 
[2026-09-06 11:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:49:15] 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-09-06 11:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 11:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:49:15] 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-09-06 11:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900835328001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900835328001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:49:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900835328001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":173835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:49:15] local.INFO: GPS data processed {"connection_id":173835,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:49:15] local.INFO: Acknowledgment sent {"connection_id":173835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:49:25] local.INFO: TCP Data received {"connection_id":173834,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:49:25] local.INFO: Processing buffer {"connection_id":173834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:49:25] local.INFO: Packet analysis {"connection_id":173834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:49:25] local.INFO: Extracted packet for processing {"connection_id":173834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:49:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900839936001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 11:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788675457000,"timestamp_ms":1788675457000,"timestamp_seconds":1788675457,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d7fe8"} 
[2026-09-06 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-09-06 11:49: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-09-06 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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-06 11:49: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-09-06 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-09-06 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-09-06 11:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:49: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-09-06 11:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900839936001,"66":26223,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900839936001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:49:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:49:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900839936001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":173834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:49:25] local.INFO: GPS data processed {"connection_id":173834,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:49:25] local.INFO: Acknowledgment sent {"connection_id":173834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:49:28] local.INFO: TCP Data received {"connection_id":175147,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0755b39e00100000000000000000000000000..."} 
[2026-09-06 11:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755b39e00100000000000000000000000000..."} 
[2026-09-06 11:49:28] local.INFO: Processing buffer {"connection_id":175147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755b39e00100000000000000000000000000..."} 
[2026-09-06 11:49:28] local.INFO: Packet analysis {"connection_id":175147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755b"} 
[2026-09-06 11:49:28] local.INFO: Extracted packet for processing {"connection_id":175147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755b"} 
[2026-09-06 11:49:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900896768001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2478041510969344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6244944612738961410,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788675308000,"timestamp_ms":1788675308000,"timestamp_seconds":1788675308,"priority":1,"record_length":96,"hex_timestamp":"000001a0755b39e0"} 
[2026-09-06 11:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 11:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":175147,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 11:49:28] local.INFO: GPS data processed {"connection_id":175147,"processed":0,"errors":0,"total":1} 
[2026-09-06 11:49:28] local.INFO: Acknowledgment sent {"connection_id":175147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:49:31] local.INFO: TCP Data received {"connection_id":175153,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d29f8012d7cae8005d181d00002011918..."} 
[2026-09-06 11:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d29f8012d7cae8005d181d00002011918..."} 
[2026-09-06 11:49:31] local.INFO: Processing buffer {"connection_id":175153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d29f8012d7cae8005d181d00002011918..."} 
[2026-09-06 11:49:31] local.INFO: Packet analysis {"connection_id":175153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:49:31] local.INFO: Extracted packet for processing {"connection_id":175153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763145856,"raw_latitude":97616336,"longitude_deg":76.3145856,"latitude_deg":9.7616336,"altitude":2,"angle":281,"satellites":24,"speed":0,"hex_longitude":"2d7cae80","hex_latitude":"05d181d0","is_valid_coordinates":true} 
[2026-09-06 11:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900906240001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128907464794963968,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650338117632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788675435000,"timestamp_ms":1788675435000,"timestamp_seconds":1788675435,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d29f8"} 
[2026-09-06 11:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:49:31] 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-09-06 11:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-06 11:49:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:31] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4906671819812247552,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2820210894,"corrected_to":0} 
[2026-09-06 11:49:31] local.WARNING: Large IO value detected {"io_id":145,"raw_value":2684431740,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:31] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3221606755,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:31] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728744,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:31] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4165402624,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511406592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:31] local.WARNING: Large IO value detected {"io_id":230,"raw_value":57887186976920891,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:31] local.WARNING: Large IO value detected {"io_id":92,"raw_value":6271263775991332869,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:31] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,25,85,24,241,157,16,248,160,215,45,192,129,2,10,66,212,64,3,208,1,240,110,227,117,209,4,113,205,22,145,183,239,52,201,5,7,19,230,92],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2820210894,"validated":0}]} 
[2026-09-06 11:49:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144424253922869248,"timestamp_seconds":144424253922869.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:49:31] 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-09-06 11:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900906240001,"66":13689,"25":206,"85":15104,"24":0,"16":128907464794963968,"45":8984751650338117632},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900906240001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:49:31] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:49:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128907464794963968,"km_value":128907464794963.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650338117632,"description":"Unknown IO ID 45"} 
[2026-09-06 11:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900906240001,"power":13689,"unknown_25":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650338117632}} 
[2026-09-06 11:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":175153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:49:31] local.INFO: GPS data processed {"connection_id":175153,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:49:31] local.INFO: Acknowledgment sent {"connection_id":175153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:49:45] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:49:45] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:49:45] local.INFO: Packet analysis {"connection_id":173835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:49:45] local.INFO: Extracted packet for processing {"connection_id":173835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:49:45] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":42,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900835328001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788675439000,"timestamp_ms":1788675439000,"timestamp_seconds":1788675439,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d3998"} 
[2026-09-06 11:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:49:45] 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-09-06 11:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 11:49: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-09-06 11:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:49:45] 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-09-06 11:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900835328001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900835328001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:49:45] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:49:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900835328001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":173835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:49:45] local.INFO: GPS data processed {"connection_id":173835,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:49:45] local.INFO: Acknowledgment sent {"connection_id":173835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:49:48] local.INFO: TCP Data received {"connection_id":172682,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:49:48] local.INFO: Processing buffer {"connection_id":172682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:49:48] local.INFO: IMEI packet received {"connection_id":172682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":172682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:49:50] local.INFO: TCP Data received {"connection_id":172460,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:49:50] local.INFO: Processing buffer {"connection_id":172460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:49:50] local.INFO: IMEI packet received {"connection_id":172460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 11:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":172460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:49:52] local.INFO: TCP Data received {"connection_id":175154,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:49:52] local.INFO: Processing buffer {"connection_id":175154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:49:52] local.INFO: IMEI packet received {"connection_id":175154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":175154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:49:53] local.INFO: TCP Data received {"connection_id":172682,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:49:53] local.INFO: Processing buffer {"connection_id":172682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:49:53] local.INFO: IMEI packet received {"connection_id":172682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":172682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:49:54] local.INFO: TCP Data received {"connection_id":172682,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:49:54] local.INFO: Processing buffer {"connection_id":172682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:49:54] local.INFO: Packet analysis {"connection_id":172682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:49:54] local.INFO: Extracted packet for processing {"connection_id":172682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:49:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900839936001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49: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-09-06 11:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788675457000,"timestamp_ms":1788675457000,"timestamp_seconds":1788675457,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d7fe8"} 
[2026-09-06 11:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:49: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-09-06 11:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-06 11:49: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-09-06 11:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:49: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-09-06 11:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900839936001,"66":26223,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900839936001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:49:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:49:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900839936001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":172682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:49:54] local.INFO: GPS data processed {"connection_id":172682,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:49:54] local.INFO: Acknowledgment sent {"connection_id":172682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:49:55] local.INFO: TCP Data received {"connection_id":175154,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:49:55] local.INFO: Processing buffer {"connection_id":175154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:49:55] local.INFO: IMEI packet received {"connection_id":175154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":175154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:49:55] local.INFO: TCP Data received {"connection_id":172460,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:49:55] local.INFO: Processing buffer {"connection_id":172460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:49:55] local.INFO: IMEI packet received {"connection_id":172460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 11:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":172460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:49:56] local.INFO: TCP Data received {"connection_id":172460,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0755cacf8012c568ec009c47ab0025c014c29..."} 
[2026-09-06 11:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755cacf8012c568ec009c47ab0025c014c29..."} 
[2026-09-06 11:49:56] local.INFO: Processing buffer {"connection_id":172460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755cacf8012c568ec009c47ab0025c014c29..."} 
[2026-09-06 11:49:56] local.INFO: Packet analysis {"connection_id":172460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755c"} 
[2026-09-06 11:49:56] local.INFO: Extracted packet for processing {"connection_id":172460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755c"} 
[2026-09-06 11:49:56] local.INFO: GPS Element Parsed {"raw_longitude":743870144,"raw_latitude":163871408,"longitude_deg":74.3870144,"latitude_deg":16.3871408,"altitude":604,"angle":332,"satellites":41,"speed":15,"hex_longitude":"2c568ec0","hex_latitude":"09c47ab0","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2478041510969344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:49:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788675403000,"timestamp_ms":1788675403000,"timestamp_seconds":1788675403,"priority":1,"record_length":96,"hex_timestamp":"000001a0755cacf8"} 
[2026-09-06 11:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:49: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-06 11:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28191,"111":206,"9":7680,"24":15,"16":2478041510969344},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16]} 
[2026-09-06 11:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 11:49:56] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-06 11:49:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 11:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2478041510969344,"km_value":2478041510969.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:49:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28191,"unknown_111":206,"unknown_9":7680,"ignition":15,"odometer":null}} 
[2026-09-06 11:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":172460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774063,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:49:56] local.INFO: GPS data processed {"connection_id":172460,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:49:56] local.INFO: Acknowledgment sent {"connection_id":172460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:49:59] local.INFO: TCP Data received {"connection_id":175154,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:49:59] local.INFO: Processing buffer {"connection_id":175154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:49:59] local.INFO: IMEI packet received {"connection_id":175154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":175154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:50:00] local.INFO: TCP Data received {"connection_id":175154,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0755f6c18012d7ca84005d180b8000300f31d..."} 
[2026-09-06 11:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755f6c18012d7ca84005d180b8000300f31d..."} 
[2026-09-06 11:50:00] local.INFO: Processing buffer {"connection_id":175154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755f6c18012d7ca84005d180b8000300f31d..."} 
[2026-09-06 11:50:00] local.INFO: Packet analysis {"connection_id":175154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755f"} 
[2026-09-06 11:50:00] local.INFO: Extracted packet for processing {"connection_id":175154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755f"} 
[2026-09-06 11:50:00] local.INFO: GPS Element Parsed {"raw_longitude":763144256,"raw_latitude":97616056,"longitude_deg":76.3144256,"latitude_deg":9.7616056,"altitude":3,"angle":243,"satellites":29,"speed":8,"hex_longitude":"2d7ca840","hex_latitude":"05d180b8","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900948480001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128907546399342592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982992431733628928,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788675583000,"timestamp_ms":1788675583000,"timestamp_seconds":1788675583,"priority":1,"record_length":96,"hex_timestamp":"000001a0755f6c18"} 
[2026-09-06 11:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-06 11:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:50:00] 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-09-06 11:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900948480001,"66":13798,"25":206,"85":15104,"24":8,"16":128907546399342592,"45":8982992431733628928},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900948480001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:50:00] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:50:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128907546399342592,"km_value":128907546399342.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982992431733628928,"description":"Unknown IO ID 45"} 
[2026-09-06 11:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900948480001,"power":13798,"unknown_25":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8982992431733628928}} 
[2026-09-06 11:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":175154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:50:00] local.INFO: GPS data processed {"connection_id":175154,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:50:00] local.INFO: Acknowledgment sent {"connection_id":175154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:50:09] local.INFO: TCP Data received {"connection_id":175155,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:50:09] local.INFO: Processing buffer {"connection_id":175155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:50:09] local.INFO: IMEI packet received {"connection_id":175155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":175155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:50:14] local.INFO: TCP Data received {"connection_id":175155,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:50:14] local.INFO: Processing buffer {"connection_id":175155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:50:14] local.INFO: IMEI packet received {"connection_id":175155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":175155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:50:15] local.INFO: TCP Data received {"connection_id":175155,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:50:15] local.INFO: Processing buffer {"connection_id":175155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:50:15] local.INFO: Packet analysis {"connection_id":175155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:50:15] local.INFO: Extracted packet for processing {"connection_id":175155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:50:15] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":42,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900835328001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788675439000,"timestamp_ms":1788675439000,"timestamp_seconds":1788675439,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d3998"} 
[2026-09-06 11:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:50:15] 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-09-06 11:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 11:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:50:15] 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-09-06 11:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900835328001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900835328001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:50:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:50:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900835328001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":175155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:50:15] local.INFO: GPS data processed {"connection_id":175155,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:50:15] local.INFO: Acknowledgment sent {"connection_id":175155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:50:26] local.INFO: TCP Data received {"connection_id":172682,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:50:26] local.INFO: Processing buffer {"connection_id":172682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:50:26] local.INFO: Packet analysis {"connection_id":172682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:50:26] local.INFO: Extracted packet for processing {"connection_id":172682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:50:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900839936001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50: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-09-06 11:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788675457000,"timestamp_ms":1788675457000,"timestamp_seconds":1788675457,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d7fe8"} 
[2026-09-06 11:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-06 11:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:50: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-09-06 11:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900839936001,"66":26223,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900839936001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:50:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:50:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900839936001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":172682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:50:26] local.INFO: GPS data processed {"connection_id":172682,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:50:26] local.INFO: Acknowledgment sent {"connection_id":172682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:50:29] local.INFO: TCP Data received {"connection_id":172460,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0755cff00012c568ec009c47ab0025c014c29..."} 
[2026-09-06 11:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755cff00012c568ec009c47ab0025c014c29..."} 
[2026-09-06 11:50:29] local.INFO: Processing buffer {"connection_id":172460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755cff00012c568ec009c47ab0025c014c29..."} 
[2026-09-06 11:50:29] local.INFO: Packet analysis {"connection_id":172460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755c"} 
[2026-09-06 11:50:29] local.INFO: Extracted packet for processing {"connection_id":172460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755c"} 
[2026-09-06 11:50:29] local.INFO: GPS Element Parsed {"raw_longitude":743870144,"raw_latitude":163871408,"longitude_deg":74.3870144,"latitude_deg":16.3871408,"altitude":604,"angle":332,"satellites":41,"speed":0,"hex_longitude":"2c568ec0","hex_latitude":"09c47ab0","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900903168001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2478041510969344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6237133682138329090,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788675424000,"timestamp_ms":1788675424000,"timestamp_seconds":1788675424,"priority":1,"record_length":96,"hex_timestamp":"000001a0755cff00"} 
[2026-09-06 11:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:50: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-09-06 11: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":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 11:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900903168001,"66":28224,"111":206,"9":7680,"24":0,"16":2478041510969344,"44":6237133682138329090},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16,44]} 
[2026-09-06 11:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900903168001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:50:29] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-06 11:50:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 11:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2478041510969344,"km_value":2478041510969.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":6237133682138329090,"description":"Unknown IO ID 44"} 
[2026-09-06 11:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900903168001,"power":28224,"unknown_111":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":6237133682138329090}} 
[2026-09-06 11:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":172460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774067,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:50:29] local.INFO: GPS data processed {"connection_id":172460,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:50:29] local.INFO: Acknowledgment sent {"connection_id":172460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:50:31] local.INFO: TCP Data received {"connection_id":175154,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0755f73e8012d7ca64005d17f98000300e81d..."} 
[2026-09-06 11:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755f73e8012d7ca64005d17f98000300e81d..."} 
[2026-09-06 11:50:31] local.INFO: Processing buffer {"connection_id":175154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755f73e8012d7ca64005d17f98000300e81d..."} 
[2026-09-06 11:50:31] local.INFO: Packet analysis {"connection_id":175154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755f"} 
[2026-09-06 11:50:31] local.INFO: Extracted packet for processing {"connection_id":175154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755f"} 
[2026-09-06 11:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763143744,"raw_latitude":97615768,"longitude_deg":76.3143744,"latitude_deg":9.7615768,"altitude":3,"angle":232,"satellites":29,"speed":11,"hex_longitude":"2d7ca640","hex_latitude":"05d17f98","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900949248001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128907572169146368,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982499850524342272,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788675585000,"timestamp_ms":1788675585000,"timestamp_seconds":1788675585,"priority":1,"record_length":96,"hex_timestamp":"000001a0755f73e8"} 
[2026-09-06 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-09-06 11:50:31] 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-09-06 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 11:50:31] 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-09-06 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-09-06 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-09-06 11:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:50:31] 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-09-06 11:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900949248001,"66":13613,"25":206,"85":15104,"24":11,"16":128907572169146368,"45":8982499850524342272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900949248001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:50:31] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:50:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128907572169146368,"km_value":128907572169146.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982499850524342272,"description":"Unknown IO ID 45"} 
[2026-09-06 11:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900949248001,"power":13613,"unknown_25":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8982499850524342272}} 
[2026-09-06 11:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":175154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:50:31] local.INFO: GPS data processed {"connection_id":175154,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:50:31] local.INFO: Acknowledgment sent {"connection_id":175154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:50:46] local.INFO: TCP Data received {"connection_id":175155,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:50:46] local.INFO: Processing buffer {"connection_id":175155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:50:46] local.INFO: Packet analysis {"connection_id":175155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:50:46] local.INFO: Extracted packet for processing {"connection_id":175155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:50:46] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":42,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900835328001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788675439000,"timestamp_ms":1788675439000,"timestamp_seconds":1788675439,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d3998"} 
[2026-09-06 11:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:50:46] 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-09-06 11:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 11:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:50:46] 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-09-06 11:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900835328001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900835328001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:50:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:50:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900835328001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":175155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:50:46] local.INFO: GPS data processed {"connection_id":175155,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:50:46] local.INFO: Acknowledgment sent {"connection_id":175155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:50:48] local.INFO: TCP Data received {"connection_id":173836,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:50:48] local.INFO: Processing buffer {"connection_id":173836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:50:48] local.INFO: IMEI packet received {"connection_id":173836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":173836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:50:50] local.INFO: TCP Data received {"connection_id":175156,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:50:50] local.INFO: Processing buffer {"connection_id":175156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:50:50] local.INFO: IMEI packet received {"connection_id":175156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 11:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":175156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:50:53] local.INFO: TCP Data received {"connection_id":173836,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:50:53] local.INFO: Processing buffer {"connection_id":173836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:50:53] local.INFO: IMEI packet received {"connection_id":173836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":173836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:50:53] local.INFO: TCP Data received {"connection_id":173837,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:50:53] local.INFO: Processing buffer {"connection_id":173837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:50:53] local.INFO: IMEI packet received {"connection_id":173837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":173837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:50:54] local.INFO: TCP Data received {"connection_id":173836,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:50:54] local.INFO: Processing buffer {"connection_id":173836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:50:54] local.INFO: Packet analysis {"connection_id":173836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:50:54] local.INFO: Extracted packet for processing {"connection_id":173836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:50:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900839936001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50: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-09-06 11:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788675457000,"timestamp_ms":1788675457000,"timestamp_seconds":1788675457,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d7fe8"} 
[2026-09-06 11:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:50: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-09-06 11:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-06 11:50: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-09-06 11:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:50: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-09-06 11:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900839936001,"66":26223,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900839936001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:50:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:50:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900839936001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":173836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:50:54] local.INFO: GPS data processed {"connection_id":173836,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:50:54] local.INFO: Acknowledgment sent {"connection_id":173836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:50:54] local.INFO: TCP Data received {"connection_id":173837,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:50:54] local.INFO: Processing buffer {"connection_id":173837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:50:54] local.INFO: IMEI packet received {"connection_id":173837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":173837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:50:55] local.INFO: TCP Data received {"connection_id":175156,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:50:55] local.INFO: Processing buffer {"connection_id":175156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:50:55] local.INFO: IMEI packet received {"connection_id":175156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 11:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":175156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:50:56] local.INFO: TCP Data received {"connection_id":175156,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0755fb650012c55a90009c525700262012526..."} 
[2026-09-06 11:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755fb650012c55a90009c525700262012526..."} 
[2026-09-06 11:50:56] local.INFO: Processing buffer {"connection_id":175156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755fb650012c55a90009c525700262012526..."} 
[2026-09-06 11:50:56] local.INFO: Packet analysis {"connection_id":175156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755f"} 
[2026-09-06 11:50:56] local.INFO: Extracted packet for processing {"connection_id":175156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755f"} 
[2026-09-06 11:50:56] local.INFO: GPS Element Parsed {"raw_longitude":743811328,"raw_latitude":163915120,"longitude_deg":74.3811328,"latitude_deg":16.391512,"altitude":610,"angle":293,"satellites":38,"speed":20,"hex_longitude":"2c55a900","hex_latitude":"09c52570","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2478041510969344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:50:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788675602000,"timestamp_ms":1788675602000,"timestamp_seconds":1788675602,"priority":1,"record_length":96,"hex_timestamp":"000001a0755fb650"} 
[2026-09-06 11:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-06 11:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175156,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175156,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28343,"111":206,"9":7680,"24":20,"16":2478041510969344},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16]} 
[2026-09-06 11:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 11:50:56] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-06 11:50:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 11:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2478041510969344,"km_value":2478041510969.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:50:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28343,"unknown_111":206,"unknown_9":7680,"ignition":20,"odometer":null}} 
[2026-09-06 11:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":175156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774071,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:50:56] local.INFO: GPS data processed {"connection_id":175156,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:50:56] local.INFO: Acknowledgment sent {"connection_id":175156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:50:59] local.INFO: TCP Data received {"connection_id":173837,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:50:59] local.INFO: Processing buffer {"connection_id":173837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:50:59] local.INFO: IMEI packet received {"connection_id":173837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":173837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:51:00] local.INFO: TCP Data received {"connection_id":173837,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0755f8388012d7ca28005d17ce8000400f91d..."} 
[2026-09-06 11:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755f8388012d7ca28005d17ce8000400f91d..."} 
[2026-09-06 11:51:00] local.INFO: Processing buffer {"connection_id":173837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755f8388012d7ca28005d17ce8000400f91d..."} 
[2026-09-06 11:51:00] local.INFO: Packet analysis {"connection_id":173837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755f"} 
[2026-09-06 11:51:00] local.INFO: Extracted packet for processing {"connection_id":173837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755f"} 
[2026-09-06 11:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763142784,"raw_latitude":97615080,"longitude_deg":76.3142784,"latitude_deg":9.761508,"altitude":4,"angle":249,"satellites":29,"speed":13,"hex_longitude":"2d7ca280","hex_latitude":"05d17ce8","is_valid_coordinates":true} 
[2026-09-06 11:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900949760001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128907632298688512,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981936900570847232,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788675589000,"timestamp_ms":1788675589000,"timestamp_seconds":1788675589,"priority":1,"record_length":96,"hex_timestamp":"000001a0755f8388"} 
[2026-09-06 11:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-06 11:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:51:00] 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-09-06 11:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900949760001,"66":13678,"25":206,"85":15104,"24":13,"16":128907632298688512,"45":8981936900570847232},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900949760001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:51:00] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128907632298688512,"km_value":128907632298688.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981936900570847232,"description":"Unknown IO ID 45"} 
[2026-09-06 11:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900949760001,"power":13678,"unknown_25":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8981936900570847232}} 
[2026-09-06 11:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":173837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:51:00] local.INFO: GPS data processed {"connection_id":173837,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:51:00] local.INFO: Acknowledgment sent {"connection_id":173837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:51:09] local.INFO: TCP Data received {"connection_id":173838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:51:09] local.INFO: Processing buffer {"connection_id":173838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:51:09] local.INFO: IMEI packet received {"connection_id":173838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":173838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:51:14] local.INFO: TCP Data received {"connection_id":173838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:51:14] local.INFO: Processing buffer {"connection_id":173838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:51:14] local.INFO: IMEI packet received {"connection_id":173838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":173838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:51:14] local.INFO: TCP Data received {"connection_id":173838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:51:15] local.INFO: Processing buffer {"connection_id":173838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:51:15] local.INFO: Packet analysis {"connection_id":173838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:51:15] local.INFO: Extracted packet for processing {"connection_id":173838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:51:15] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":42,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900835328001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788675439000,"timestamp_ms":1788675439000,"timestamp_seconds":1788675439,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d3998"} 
[2026-09-06 11:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:51:15] 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-09-06 11:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 11:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:51:15] 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-09-06 11:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900835328001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900835328001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:51:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900835328001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":173838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:51:15] local.INFO: GPS data processed {"connection_id":173838,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:51:15] local.INFO: Acknowledgment sent {"connection_id":173838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:51:25] local.INFO: TCP Data received {"connection_id":173836,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:51:25] local.INFO: Processing buffer {"connection_id":173836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:51:25] local.INFO: Packet analysis {"connection_id":173836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:51:25] local.INFO: Extracted packet for processing {"connection_id":173836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:51:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900839936001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51: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-09-06 11:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788675457000,"timestamp_ms":1788675457000,"timestamp_seconds":1788675457,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d7fe8"} 
[2026-09-06 11:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:51: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-09-06 11:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-06 11:51: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-09-06 11:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:51: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-09-06 11:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900839936001,"66":26223,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900839936001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:51:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:51:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900839936001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":173836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:51:25] local.INFO: GPS data processed {"connection_id":173836,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:51:25] local.INFO: Acknowledgment sent {"connection_id":173836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:51:27] local.INFO: TCP Data received {"connection_id":175156,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0755e91580100000000000000000000000000..."} 
[2026-09-06 11:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755e91580100000000000000000000000000..."} 
[2026-09-06 11:51:27] local.INFO: Processing buffer {"connection_id":175156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755e91580100000000000000000000000000..."} 
[2026-09-06 11:51:27] local.INFO: Packet analysis {"connection_id":175156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755e"} 
[2026-09-06 11:51:27] local.INFO: Extracted packet for processing {"connection_id":175156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755e"} 
[2026-09-06 11:51: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-09-06 11: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-09-06 11:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900954112001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2478041510969344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6172464806250246146,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788675527000,"timestamp_ms":1788675527000,"timestamp_seconds":1788675527,"priority":1,"record_length":96,"hex_timestamp":"000001a0755e9158"} 
[2026-09-06 11:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:51: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-09-06 11: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":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 11:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2395,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175156,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175156,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":175156,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 11:51:27] local.INFO: GPS data processed {"connection_id":175156,"processed":0,"errors":0,"total":1} 
[2026-09-06 11:51:27] local.INFO: Acknowledgment sent {"connection_id":175156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:51:31] local.INFO: TCP Data received {"connection_id":173837,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0755f8b58012d7ca00005d17c60000401081d..."} 
[2026-09-06 11:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755f8b58012d7ca00005d17c60000401081d..."} 
[2026-09-06 11:51:31] local.INFO: Processing buffer {"connection_id":173837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755f8b58012d7ca00005d17c60000401081d..."} 
[2026-09-06 11:51:31] local.INFO: Packet analysis {"connection_id":173837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755f"} 
[2026-09-06 11:51:31] local.INFO: Extracted packet for processing {"connection_id":173837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755f"} 
[2026-09-06 11:51:31] local.INFO: GPS Element Parsed {"raw_longitude":763142144,"raw_latitude":97614944,"longitude_deg":76.3142144,"latitude_deg":9.7614944,"altitude":4,"angle":264,"satellites":29,"speed":12,"hex_longitude":"2d7ca000","hex_latitude":"05d17c60","is_valid_coordinates":true} 
[2026-09-06 11:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900950784001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128907662363459584,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980881369408006144,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788675591000,"timestamp_ms":1788675591000,"timestamp_seconds":1788675591,"priority":1,"record_length":96,"hex_timestamp":"000001a0755f8b58"} 
[2026-09-06 11:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 11:51:31] 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-09-06 11:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:51:31] 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-09-06 11:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900950784001,"66":13515,"25":206,"85":15104,"24":12,"16":128907662363459584,"45":8980881369408006144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900950784001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:51:31] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:51:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128907662363459584,"km_value":128907662363459.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980881369408006144,"description":"Unknown IO ID 45"} 
[2026-09-06 11:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900950784001,"power":13515,"unknown_25":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8980881369408006144}} 
[2026-09-06 11:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":173837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:51:32] local.INFO: GPS data processed {"connection_id":173837,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:51:32] local.INFO: Acknowledgment sent {"connection_id":173837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:51:45] local.INFO: TCP Data received {"connection_id":173838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:51:45] local.INFO: Processing buffer {"connection_id":173838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:51:45] local.INFO: Packet analysis {"connection_id":173838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:51:45] local.INFO: Extracted packet for processing {"connection_id":173838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:51:45] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":42,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900835328001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788675439000,"timestamp_ms":1788675439000,"timestamp_seconds":1788675439,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d3998"} 
[2026-09-06 11:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:51:45] 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-09-06 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-06 11:51: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-09-06 11: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-09-06 11:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:51:45] 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-09-06 11:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900835328001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900835328001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:51:45] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900835328001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":173838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:51:45] local.INFO: GPS data processed {"connection_id":173838,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:51:45] local.INFO: Acknowledgment sent {"connection_id":173838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:51:48] local.INFO: TCP Data received {"connection_id":172683,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:51:48] local.INFO: Processing buffer {"connection_id":172683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:51:48] local.INFO: IMEI packet received {"connection_id":172683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":172683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:51:54] local.INFO: TCP Data received {"connection_id":172683,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:51:54] local.INFO: Processing buffer {"connection_id":172683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:51:54] local.INFO: IMEI packet received {"connection_id":172683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":172683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:51:54] local.INFO: TCP Data received {"connection_id":173839,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:51:54] local.INFO: Processing buffer {"connection_id":173839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:51:54] local.INFO: IMEI packet received {"connection_id":173839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":173839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:51:55] local.INFO: TCP Data received {"connection_id":172683,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:51:55] local.INFO: Processing buffer {"connection_id":172683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:51:55] local.INFO: Packet analysis {"connection_id":172683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:51:55] local.INFO: Extracted packet for processing {"connection_id":172683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:51:55] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900839936001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11: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-09-06 11:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788675457000,"timestamp_ms":1788675457000,"timestamp_seconds":1788675457,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d7fe8"} 
[2026-09-06 11:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-06 11:51: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-09-06 11:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900839936001,"66":26223,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900839936001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:51:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:51:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900839936001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":172683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:51:55] local.INFO: GPS data processed {"connection_id":172683,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:51:55] local.INFO: Acknowledgment sent {"connection_id":172683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:51:55] local.INFO: TCP Data received {"connection_id":175157,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:51:55] local.INFO: Processing buffer {"connection_id":175157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:51:55] local.INFO: IMEI packet received {"connection_id":175157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 11:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":175157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:51:59] local.INFO: TCP Data received {"connection_id":173839,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:51:59] local.INFO: Processing buffer {"connection_id":173839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:51:59] local.INFO: IMEI packet received {"connection_id":173839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":173839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:52:00] local.INFO: TCP Data received {"connection_id":173839,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075613520012d7c7e0005d17db0000500611d..."} 
[2026-09-06 11:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075613520012d7c7e0005d17db0000500611d..."} 
[2026-09-06 11:52:00] local.INFO: Processing buffer {"connection_id":173839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075613520012d7c7e0005d17db0000500611d..."} 
[2026-09-06 11:52:00] local.INFO: Packet analysis {"connection_id":173839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:52:00] local.INFO: Extracted packet for processing {"connection_id":173839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763133440,"raw_latitude":97615280,"longitude_deg":76.313344,"latitude_deg":9.761528,"altitude":5,"angle":97,"satellites":29,"speed":1,"hex_longitude":"2d7c7e00","hex_latitude":"05d17db0","is_valid_coordinates":true} 
[2026-09-06 11:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900978944001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908117629992960,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970537164013942784,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788675700000,"timestamp_ms":1788675700000,"timestamp_seconds":1788675700,"priority":1,"record_length":96,"hex_timestamp":"000001a075613520"} 
[2026-09-06 11:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 11:52:00] 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-09-06 11:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:52:00] 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-09-06 11:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900978944001,"66":13678,"25":206,"85":15104,"24":1,"16":128908117629992960,"45":8970537164013942784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900978944001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:52:00] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:52:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908117629992960,"km_value":128908117629992.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970537164013942784,"description":"Unknown IO ID 45"} 
[2026-09-06 11:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900978944001,"power":13678,"unknown_25":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8970537164013942784}} 
[2026-09-06 11:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":173839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:52:00] local.INFO: GPS data processed {"connection_id":173839,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:52:00] local.INFO: Acknowledgment sent {"connection_id":173839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:52:01] local.INFO: TCP Data received {"connection_id":175157,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:52:01] local.INFO: Processing buffer {"connection_id":175157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:52:01] local.INFO: IMEI packet received {"connection_id":175157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 11:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":175157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:52:02] local.INFO: TCP Data received {"connection_id":175157,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a075602f68012c55808009c539600262012927..."} 
[2026-09-06 11:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075602f68012c55808009c539600262012927..."} 
[2026-09-06 11:52:02] local.INFO: Processing buffer {"connection_id":175157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075602f68012c55808009c539600262012927..."} 
[2026-09-06 11:52:02] local.INFO: Packet analysis {"connection_id":175157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07560"} 
[2026-09-06 11:52:02] local.INFO: Extracted packet for processing {"connection_id":175157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07560"} 
[2026-09-06 11:52:02] local.INFO: GPS Element Parsed {"raw_longitude":743800960,"raw_latitude":163920224,"longitude_deg":74.380096,"latitude_deg":16.3920224,"altitude":610,"angle":297,"satellites":39,"speed":0,"hex_longitude":"2c558080","hex_latitude":"09c53960","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2478041510969344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 11:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788675633000,"timestamp_ms":1788675633000,"timestamp_seconds":1788675633,"priority":1,"record_length":96,"hex_timestamp":"000001a075602f68"} 
[2026-09-06 11:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 11:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175157,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175157,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"111":206,"9":7680,"24":0,"16":2478041510969344},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,9,24,16]} 
[2026-09-06 11:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 11:52:02] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-06 11:52:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 11:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2478041510969344,"km_value":2478041510969.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:52:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_111":206,"unknown_9":7680,"ignition":0,"odometer":null}} 
[2026-09-06 11:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":175157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774079,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:52:02] local.INFO: GPS data processed {"connection_id":175157,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:52:02] local.INFO: Acknowledgment sent {"connection_id":175157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:52:05] local.INFO: TCP Data received {"connection_id":175157,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a075608170012c55808009c539600262012927..."} 
[2026-09-06 11:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075608170012c55808009c539600262012927..."} 
[2026-09-06 11:52:05] local.INFO: Processing buffer {"connection_id":175157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075608170012c55808009c539600262012927..."} 
[2026-09-06 11:52:05] local.INFO: Packet analysis {"connection_id":175157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07560"} 
[2026-09-06 11:52:05] local.INFO: Extracted packet for processing {"connection_id":175157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07560"} 
[2026-09-06 11:52:05] local.INFO: GPS Element Parsed {"raw_longitude":743800960,"raw_latitude":163920224,"longitude_deg":74.380096,"latitude_deg":16.3920224,"altitude":610,"angle":297,"satellites":39,"speed":0,"hex_longitude":"2c558080","hex_latitude":"09c53960","is_valid_coordinates":true} 
[2026-09-06 11:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900962048001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2478041510969344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6161065069694771202,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788675654000,"timestamp_ms":1788675654000,"timestamp_seconds":1788675654,"priority":1,"record_length":96,"hex_timestamp":"000001a075608170"} 
[2026-09-06 11:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:52: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-09-06 11:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-06 11:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175157,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175157,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900962048001,"66":28126,"112":206,"9":7680,"24":0,"16":2478041510969344,"44":6161065069694771202},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,9,24,16,44]} 
[2026-09-06 11:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900962048001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:52:05] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-06 11:52:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 11:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2478041510969344,"km_value":2478041510969.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:52:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":6161065069694771202,"description":"Unknown IO ID 44"} 
[2026-09-06 11:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900962048001,"power":28126,"unknown_112":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":6161065069694771202}} 
[2026-09-06 11:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":175157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774080,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:52:05] local.INFO: GPS data processed {"connection_id":175157,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:52:05] local.INFO: Acknowledgment sent {"connection_id":175157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:52:09] local.INFO: TCP Data received {"connection_id":172461,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:52:09] local.INFO: Processing buffer {"connection_id":172461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:52:09] local.INFO: IMEI packet received {"connection_id":172461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":172461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:52:14] local.INFO: TCP Data received {"connection_id":172461,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:52:14] local.INFO: Processing buffer {"connection_id":172461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:52:14] local.INFO: IMEI packet received {"connection_id":172461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":172461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:52:15] local.INFO: TCP Data received {"connection_id":172461,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:52:15] local.INFO: Processing buffer {"connection_id":172461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d3998012d1fe640071d5d10004000992a..."} 
[2026-09-06 11:52:15] local.INFO: Packet analysis {"connection_id":172461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:52:15] local.INFO: Extracted packet for processing {"connection_id":172461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:52:15] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":42,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900835328001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788675439000,"timestamp_ms":1788675439000,"timestamp_seconds":1788675439,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d3998"} 
[2026-09-06 11:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:52:15] 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-09-06 11:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 11:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:52:15] 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-09-06 11:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900835328001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900835328001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:52:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900835328001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":172461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:52:15] local.INFO: GPS data processed {"connection_id":172461,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:52:15] local.INFO: Acknowledgment sent {"connection_id":172461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:52:26] local.INFO: TCP Data received {"connection_id":172683,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:52:26] local.INFO: Processing buffer {"connection_id":172683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:52:26] local.INFO: Packet analysis {"connection_id":172683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:52:26] local.INFO: Extracted packet for processing {"connection_id":172683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:52:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900839936001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11: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-09-06 11:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788675457000,"timestamp_ms":1788675457000,"timestamp_seconds":1788675457,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d7fe8"} 
[2026-09-06 11:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-06 11:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:52: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-09-06 11:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900839936001,"66":26223,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900839936001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:52:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:52:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900839936001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":172683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:52:26] local.INFO: GPS data processed {"connection_id":172683,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:52:26] local.INFO: Acknowledgment sent {"connection_id":172683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:52:31] local.INFO: TCP Data received {"connection_id":173839,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075613908012d7c7e8005d17d90000500761d..."} 
[2026-09-06 11:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075613908012d7c7e8005d17d90000500761d..."} 
[2026-09-06 11:52:31] local.INFO: Processing buffer {"connection_id":173839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075613908012d7c7e8005d17d90000500761d..."} 
[2026-09-06 11:52:31] local.INFO: Packet analysis {"connection_id":173839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:52:31] local.INFO: Extracted packet for processing {"connection_id":173839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:52:31] local.INFO: GPS Element Parsed {"raw_longitude":763133568,"raw_latitude":97615248,"longitude_deg":76.3133568,"latitude_deg":9.7615248,"altitude":5,"angle":118,"satellites":29,"speed":1,"hex_longitude":"2d7c7e80","hex_latitude":"05d17d90","is_valid_coordinates":true} 
[2026-09-06 11:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900979200001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908121924960256,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970607532758118400,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788675701000,"timestamp_ms":1788675701000,"timestamp_seconds":1788675701,"priority":1,"record_length":96,"hex_timestamp":"000001a075613908"} 
[2026-09-06 11:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 11:52:31] 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-09-06 11:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:52:31] 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-09-06 11:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900979200001,"66":13678,"25":206,"85":15104,"24":1,"16":128908121924960256,"45":8970607532758118400},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900979200001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:52:31] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:52:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908121924960256,"km_value":128908121924960.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970607532758118400,"description":"Unknown IO ID 45"} 
[2026-09-06 11:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900979200001,"power":13678,"unknown_25":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8970607532758118400}} 
[2026-09-06 11:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":173839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:52:31] local.INFO: GPS data processed {"connection_id":173839,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:52:31] local.INFO: Acknowledgment sent {"connection_id":173839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:52:45] local.INFO: TCP Data received {"connection_id":172461,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075615c30012d1fe640071d5d100040009929..."} 
[2026-09-06 11:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075615c30012d1fe640071d5d100040009929..."} 
[2026-09-06 11:52:45] local.INFO: Processing buffer {"connection_id":172461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075615c30012d1fe640071d5d100040009929..."} 
[2026-09-06 11:52:45] local.INFO: Packet analysis {"connection_id":172461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:52:45] local.INFO: Extracted packet for processing {"connection_id":172461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:52:45] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":41,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900912384001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788675710000,"timestamp_ms":1788675710000,"timestamp_seconds":1788675710,"priority":1,"record_length":96,"hex_timestamp":"000001a075615c30"} 
[2026-09-06 11:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11: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-09-06 11: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":118,"data_length":795,"current_offset":136} 
[2026-09-06 11:52: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-09-06 11: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-09-06 11:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:52:45] 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-09-06 11:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900912384001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900912384001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:52:45] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:52:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900912384001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":172461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:52:46] local.INFO: GPS data processed {"connection_id":172461,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:52:46] local.INFO: Acknowledgment sent {"connection_id":172461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:52:50] local.INFO: TCP Data received {"connection_id":175158,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:52:50] local.INFO: Processing buffer {"connection_id":175158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:52:50] local.INFO: IMEI packet received {"connection_id":175158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 11:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":175158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:52:53] local.INFO: TCP Data received {"connection_id":172462,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:52:53] local.INFO: Processing buffer {"connection_id":172462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:52:53] local.INFO: IMEI packet received {"connection_id":172462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":172462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:52:54] local.INFO: TCP Data received {"connection_id":173840,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:52:54] local.INFO: Processing buffer {"connection_id":173840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:52:54] local.INFO: IMEI packet received {"connection_id":173840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":173840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:52:55] local.INFO: TCP Data received {"connection_id":175158,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:52:55] local.INFO: Processing buffer {"connection_id":175158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:52:55] local.INFO: IMEI packet received {"connection_id":175158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 11:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":175158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:52:56] local.INFO: TCP Data received {"connection_id":175158,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a07560d760012c5553c009c54f300260012928..."} 
[2026-09-06 11:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07560d760012c5553c009c54f300260012928..."} 
[2026-09-06 11:52:56] local.INFO: Processing buffer {"connection_id":175158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07560d760012c5553c009c54f300260012928..."} 
[2026-09-06 11:52:56] local.INFO: Packet analysis {"connection_id":175158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07560"} 
[2026-09-06 11:52:56] local.INFO: Extracted packet for processing {"connection_id":175158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07560"} 
[2026-09-06 11:52:56] local.INFO: GPS Element Parsed {"raw_longitude":743789504,"raw_latitude":163925808,"longitude_deg":74.3789504,"latitude_deg":16.3925808,"altitude":608,"angle":297,"satellites":40,"speed":0,"hex_longitude":"2c5553c0","hex_latitude":"09c54f30","is_valid_coordinates":true} 
[2026-09-06 11:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900967424001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2478041510969344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6161065069694771202,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788675676000,"timestamp_ms":1788675676000,"timestamp_seconds":1788675676,"priority":1,"record_length":96,"hex_timestamp":"000001a07560d760"} 
[2026-09-06 11:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:52: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-09-06 11:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-06 11:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900967424001,"66":28224,"112":206,"9":7680,"24":0,"16":2478041510969344,"44":6161065069694771202},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,9,24,16,44]} 
[2026-09-06 11:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900967424001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:52:56] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-06 11:52:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 11:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2478041510969344,"km_value":2478041510969.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:52:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":6161065069694771202,"description":"Unknown IO ID 44"} 
[2026-09-06 11:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900967424001,"power":28224,"unknown_112":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":6161065069694771202}} 
[2026-09-06 11:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":175158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774085,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:52:56] local.INFO: GPS data processed {"connection_id":175158,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:52:56] local.INFO: Acknowledgment sent {"connection_id":175158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:52:58] local.INFO: TCP Data received {"connection_id":172462,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:52:58] local.INFO: Processing buffer {"connection_id":172462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:52:58] local.INFO: IMEI packet received {"connection_id":172462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":172462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:52:59] local.INFO: TCP Data received {"connection_id":172462,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:52:59] local.INFO: Processing buffer {"connection_id":172462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0755d7fe8012d34c48006aa3e58000900a72a..."} 
[2026-09-06 11:52:59] local.INFO: Packet analysis {"connection_id":172462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:52:59] local.INFO: Extracted packet for processing {"connection_id":172462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0755d"} 
[2026-09-06 11:52:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900839936001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:52: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-09-06 11:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788675457000,"timestamp_ms":1788675457000,"timestamp_seconds":1788675457,"priority":1,"record_length":96,"hex_timestamp":"000001a0755d7fe8"} 
[2026-09-06 11:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-06 11:52: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-09-06 11:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:52: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-09-06 11:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900839936001,"66":26223,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900839936001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:52:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:52:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900839936001,"power":26223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":172462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:52:59] local.INFO: GPS data processed {"connection_id":172462,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:52:59] local.INFO: Acknowledgment sent {"connection_id":172462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:52:59] local.INFO: TCP Data received {"connection_id":173840,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:52:59] local.INFO: Processing buffer {"connection_id":173840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:52:59] local.INFO: IMEI packet received {"connection_id":173840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":173840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:53:00] local.INFO: TCP Data received {"connection_id":173840,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075614c90012d7c7f8005d17c90000500851d..."} 
[2026-09-06 11:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075614c90012d7c7f8005d17c90000500851d..."} 
[2026-09-06 11:53:00] local.INFO: Processing buffer {"connection_id":173840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075614c90012d7c7f8005d17c90000500851d..."} 
[2026-09-06 11:53:00] local.INFO: Packet analysis {"connection_id":173840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:53:00] local.INFO: Extracted packet for processing {"connection_id":173840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763133824,"raw_latitude":97614992,"longitude_deg":76.3133824,"latitude_deg":9.7614992,"altitude":5,"angle":133,"satellites":29,"speed":3,"hex_longitude":"2d7c7f80","hex_latitude":"05d17c90","is_valid_coordinates":true} 
[2026-09-06 11:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900979456001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908143399796736,"note":"Value kept but may cause issues"} 
[2026-09-06 11:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970748270246465536,"note":"Value kept but may cause issues"} 
[2026-09-06 11:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788675706000,"timestamp_ms":1788675706000,"timestamp_seconds":1788675706,"priority":1,"record_length":96,"hex_timestamp":"000001a075614c90"} 
[2026-09-06 11:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 11:53:00] 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-09-06 11:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:53:00] 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-09-06 11:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900979456001,"66":13624,"25":206,"85":15104,"24":3,"16":128908143399796736,"45":8970748270246465536},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900979456001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:53:00] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:53:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908143399796736,"km_value":128908143399796.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970748270246465536,"description":"Unknown IO ID 45"} 
[2026-09-06 11:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900979456001,"power":13624,"unknown_25":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8970748270246465536}} 
[2026-09-06 11:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":173840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:53:00] local.INFO: GPS data processed {"connection_id":173840,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:53:00] local.INFO: Acknowledgment sent {"connection_id":173840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:53:11] local.INFO: TCP Data received {"connection_id":175159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:53:11] local.INFO: Processing buffer {"connection_id":175159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:53:11] local.INFO: IMEI packet received {"connection_id":175159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":175159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:53:14] local.INFO: TCP Data received {"connection_id":175159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:53:14] local.INFO: Processing buffer {"connection_id":175159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:53:14] local.INFO: IMEI packet received {"connection_id":175159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":175159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:53:19] local.INFO: TCP Data received {"connection_id":175159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:53:19] local.INFO: Processing buffer {"connection_id":175159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:53:19] local.INFO: IMEI packet received {"connection_id":175159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":175159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:53:19] local.INFO: TCP Data received {"connection_id":175159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075615c30012d1fe640071d5d100040009929..."} 
[2026-09-06 11:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075615c30012d1fe640071d5d100040009929..."} 
[2026-09-06 11:53:19] local.INFO: Processing buffer {"connection_id":175159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075615c30012d1fe640071d5d100040009929..."} 
[2026-09-06 11:53:19] local.INFO: Packet analysis {"connection_id":175159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:53:19] local.INFO: Extracted packet for processing {"connection_id":175159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:53:19] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":41,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:53:19] 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-09-06 11:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900981760001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788675710000,"timestamp_ms":1788675710000,"timestamp_seconds":1788675710,"priority":1,"record_length":96,"hex_timestamp":"000001a075615c30"} 
[2026-09-06 11:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:53:19] 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-09-06 11:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 11:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:53:19] 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-09-06 11:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900981760001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900981760001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:53:19] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:53:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900981760001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":175159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:53:20] local.INFO: GPS data processed {"connection_id":175159,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:53:20] local.INFO: Acknowledgment sent {"connection_id":175159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:53:31] local.INFO: TCP Data received {"connection_id":173840,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075615460012d7c804005d17c18000500771d..."} 
[2026-09-06 11:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075615460012d7c804005d17c18000500771d..."} 
[2026-09-06 11:53:31] local.INFO: Processing buffer {"connection_id":173840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075615460012d7c804005d17c18000500771d..."} 
[2026-09-06 11:53:31] local.INFO: Packet analysis {"connection_id":173840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:53:31] local.INFO: Extracted packet for processing {"connection_id":173840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:53:31] local.INFO: GPS Element Parsed {"raw_longitude":763134016,"raw_latitude":97614872,"longitude_deg":76.3134016,"latitude_deg":9.7614872,"altitude":5,"angle":119,"satellites":29,"speed":5,"hex_longitude":"2d7c8040","hex_latitude":"05d17c18","is_valid_coordinates":true} 
[2026-09-06 11:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900980736001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908151989731328,"note":"Value kept but may cause issues"} 
[2026-09-06 11:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971029745223110656,"note":"Value kept but may cause issues"} 
[2026-09-06 11:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788675708000,"timestamp_ms":1788675708000,"timestamp_seconds":1788675708,"priority":1,"record_length":96,"hex_timestamp":"000001a075615460"} 
[2026-09-06 11:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-06 11:53:31] 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-09-06 11:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:53:31] 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-09-06 11:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900980736001,"66":13526,"25":206,"85":15104,"24":5,"16":128908151989731328,"45":8971029745223110656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900980736001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:53:31] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:53:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908151989731328,"km_value":128908151989731.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971029745223110656,"description":"Unknown IO ID 45"} 
[2026-09-06 11:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900980736001,"power":13526,"unknown_25":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8971029745223110656}} 
[2026-09-06 11:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":173840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:53:31] local.INFO: GPS data processed {"connection_id":173840,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:53:31] local.INFO: Acknowledgment sent {"connection_id":173840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:53:31] local.INFO: TCP Data received {"connection_id":172462,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:53:31] local.INFO: Processing buffer {"connection_id":172462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:53:31] local.INFO: Packet analysis {"connection_id":172462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:53:31] local.INFO: Extracted packet for processing {"connection_id":172462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:53:31] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900916992001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:53: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-09-06 11:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788675758000,"timestamp_ms":1788675758000,"timestamp_seconds":1788675758,"priority":1,"record_length":96,"hex_timestamp":"000001a0756217b0"} 
[2026-09-06 11:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-06 11:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:53: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-09-06 11:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900916992001,"66":26169,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900916992001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:53:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:53:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900916992001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":172462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:53:31] local.INFO: GPS data processed {"connection_id":172462,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:53:31] local.INFO: Acknowledgment sent {"connection_id":172462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:53:48] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:53:48] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:53:48] local.INFO: IMEI packet received {"connection_id":173841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":173841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:53:51] local.INFO: TCP Data received {"connection_id":175159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075615c30012d1fe640071d5d100040009929..."} 
[2026-09-06 11:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075615c30012d1fe640071d5d100040009929..."} 
[2026-09-06 11:53:51] local.INFO: Processing buffer {"connection_id":175159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075615c30012d1fe640071d5d100040009929..."} 
[2026-09-06 11:53:51] local.INFO: Packet analysis {"connection_id":175159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:53:51] local.INFO: Extracted packet for processing {"connection_id":175159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:53:51] local.INFO: GPS Element Parsed {"raw_longitude":757065280,"raw_latitude":119364880,"longitude_deg":75.706528,"latitude_deg":11.936488,"altitude":64,"angle":153,"satellites":41,"speed":0,"hex_longitude":"2d1fe640","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-06 11:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900981760001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788675710000,"timestamp_ms":1788675710000,"timestamp_seconds":1788675710,"priority":1,"record_length":96,"hex_timestamp":"000001a075615c30"} 
[2026-09-06 11:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:53: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-09-06 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 11:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:53:51] 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-09-06 11:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900981760001,"66":2166,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900981760001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:53:51] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900981760001,"power":2166,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":175159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:53:51] local.INFO: GPS data processed {"connection_id":175159,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:53:51] local.INFO: Acknowledgment sent {"connection_id":175159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:53:53] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:53:53] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:53:53] local.INFO: IMEI packet received {"connection_id":173841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":173841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:53:54] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:53:54] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:53:54] local.INFO: Packet analysis {"connection_id":173841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:53:54] local.INFO: Extracted packet for processing {"connection_id":173841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:53:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900916992001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11: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-09-06 11:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788675758000,"timestamp_ms":1788675758000,"timestamp_seconds":1788675758,"priority":1,"record_length":96,"hex_timestamp":"000001a0756217b0"} 
[2026-09-06 11:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:53: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-09-06 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-06 11:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:53: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-09-06 11:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900916992001,"66":26169,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900916992001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:53:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:53:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900916992001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":173841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:53:54] local.INFO: GPS data processed {"connection_id":173841,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:53:54] local.INFO: Acknowledgment sent {"connection_id":173841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:53:59] local.INFO: TCP Data received {"connection_id":172684,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172684,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:53:59] local.INFO: Processing buffer {"connection_id":172684,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:53:59] local.INFO: IMEI packet received {"connection_id":172684,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":172684,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:54:04] local.INFO: TCP Data received {"connection_id":172684,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172684,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:54:04] local.INFO: Processing buffer {"connection_id":172684,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:54:04] local.INFO: IMEI packet received {"connection_id":172684,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":172684,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:54:05] local.INFO: TCP Data received {"connection_id":172684,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07561a280012d7c81c005d17b20000400731d..."} 
[2026-09-06 11:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07561a280012d7c81c005d17b20000400731d..."} 
[2026-09-06 11:54:05] local.INFO: Processing buffer {"connection_id":172684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07561a280012d7c81c005d17b20000400731d..."} 
[2026-09-06 11:54:05] local.INFO: Packet analysis {"connection_id":172684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:54:05] local.INFO: Extracted packet for processing {"connection_id":172684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:54:05] local.INFO: GPS Element Parsed {"raw_longitude":763134400,"raw_latitude":97614624,"longitude_deg":76.31344,"latitude_deg":9.7614624,"altitude":4,"angle":115,"satellites":29,"speed":0,"hex_longitude":"2d7c81c0","hex_latitude":"05d17b20","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900981248001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908173464567808,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971240851455612928,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788675728000,"timestamp_ms":1788675728000,"timestamp_seconds":1788675728,"priority":1,"record_length":96,"hex_timestamp":"000001a07561a280"} 
[2026-09-06 11:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:54:05] 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-09-06 11: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-06 11:54:05] 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-09-06 11: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-09-06 11:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:54:05] 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-09-06 11:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900981248001,"66":13798,"25":206,"85":15104,"24":0,"16":128908173464567808,"45":8971240851455612928},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900981248001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:54:05] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:54:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908173464567808,"km_value":128908173464567.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971240851455612928,"description":"Unknown IO ID 45"} 
[2026-09-06 11:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900981248001,"power":13798,"unknown_25":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971240851455612928}} 
[2026-09-06 11:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":172684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:54:05] local.INFO: GPS data processed {"connection_id":172684,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:54:05] local.INFO: Acknowledgment sent {"connection_id":172684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:54:06] local.INFO: TCP Data received {"connection_id":175160,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:54:06] local.INFO: Processing buffer {"connection_id":175160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:54:06] local.INFO: IMEI packet received {"connection_id":175160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":175160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:54:09] local.INFO: TCP Data received {"connection_id":175160,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:54:09] local.INFO: Processing buffer {"connection_id":175160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:54:09] local.INFO: IMEI packet received {"connection_id":175160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":175160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:54:10] local.INFO: TCP Data received {"connection_id":172684,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07561e4e8012d7c80c005d17bc80005012b1d..."} 
[2026-09-06 11:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07561e4e8012d7c80c005d17bc80005012b1d..."} 
[2026-09-06 11:54:10] local.INFO: Processing buffer {"connection_id":172684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07561e4e8012d7c80c005d17bc80005012b1d..."} 
[2026-09-06 11:54:10] local.INFO: Packet analysis {"connection_id":172684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:54:10] local.INFO: Extracted packet for processing {"connection_id":172684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763134144,"raw_latitude":97614792,"longitude_deg":76.3134144,"latitude_deg":9.7614792,"altitude":5,"angle":299,"satellites":29,"speed":4,"hex_longitude":"2d7c80c0","hex_latitude":"05d17bc8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900986368001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908190644436992,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971663063920615424,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788675745000,"timestamp_ms":1788675745000,"timestamp_seconds":1788675745,"priority":1,"record_length":96,"hex_timestamp":"000001a07561e4e8"} 
[2026-09-06 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-09-06 11:54: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-09-06 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 11:54: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-09-06 11:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 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-09-06 11:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:54:10] 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-09-06 11:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900986368001,"66":13428,"25":206,"85":15104,"24":4,"16":128908190644436992,"45":8971663063920615424},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900986368001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:54:10] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908190644436992,"km_value":128908190644436.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971663063920615424,"description":"Unknown IO ID 45"} 
[2026-09-06 11:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900986368001,"power":13428,"unknown_25":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8971663063920615424}} 
[2026-09-06 11:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":172684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:54:10] local.INFO: GPS data processed {"connection_id":172684,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:54:10] local.INFO: Acknowledgment sent {"connection_id":172684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:54:14] local.INFO: TCP Data received {"connection_id":175160,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:54:14] local.INFO: Processing buffer {"connection_id":175160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:54:14] local.INFO: IMEI packet received {"connection_id":175160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":175160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:54:15] local.INFO: TCP Data received {"connection_id":175160,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07561b220012d1fe500071d5bd00040009427..."} 
[2026-09-06 11:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07561b220012d1fe500071d5bd00040009427..."} 
[2026-09-06 11:54:15] local.INFO: Processing buffer {"connection_id":175160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07561b220012d1fe500071d5bd00040009427..."} 
[2026-09-06 11:54:15] local.INFO: Packet analysis {"connection_id":175160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:54:15] local.INFO: Extracted packet for processing {"connection_id":175160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:54:15] local.INFO: GPS Element Parsed {"raw_longitude":757064960,"raw_latitude":119364560,"longitude_deg":75.706496,"latitude_deg":11.936456,"altitude":64,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1fe500","hex_latitude":"071d5bd0","is_valid_coordinates":true} 
[2026-09-06 11:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900981760001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298595059120803840,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788675732000,"timestamp_ms":1788675732000,"timestamp_seconds":1788675732,"priority":1,"record_length":96,"hex_timestamp":"000001a07561b220"} 
[2026-09-06 11:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:54:15] 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-09-06 11:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 11:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:54:15] 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-09-06 11:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900981760001,"66":14135,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298595059120803840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900981760001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:54:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:54:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298595059120803840,"description":"Unknown IO ID 45"} 
[2026-09-06 11:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900981760001,"power":14135,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298595059120803840}} 
[2026-09-06 11:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":175160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:54:15] local.INFO: GPS data processed {"connection_id":175160,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:54:15] local.INFO: Acknowledgment sent {"connection_id":175160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:54:20] local.INFO: TCP Data received {"connection_id":172463,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:20] local.INFO: Processing buffer {"connection_id":172463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:20] local.INFO: IMEI packet received {"connection_id":172463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 11:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":172463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:54:20] local.INFO: TCP Data received {"connection_id":172463,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:20] local.INFO: Processing buffer {"connection_id":172463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:20] local.INFO: IMEI packet received {"connection_id":172463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 11:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":172463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:54:25] local.INFO: TCP Data received {"connection_id":172463,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:25] local.INFO: Processing buffer {"connection_id":172463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:25] local.INFO: IMEI packet received {"connection_id":172463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 11:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":172463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:54:26] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:54:26] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:54:26] local.INFO: Packet analysis {"connection_id":173841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:54:26] local.INFO: Extracted packet for processing {"connection_id":173841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:54:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900916992001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54: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-09-06 11:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788675758000,"timestamp_ms":1788675758000,"timestamp_seconds":1788675758,"priority":1,"record_length":96,"hex_timestamp":"000001a0756217b0"} 
[2026-09-06 11:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-06 11:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:54: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-09-06 11:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900916992001,"66":26169,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900916992001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:54:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:54:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900916992001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":173841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:54:26] local.INFO: GPS data processed {"connection_id":173841,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:54:26] local.INFO: Acknowledgment sent {"connection_id":173841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:54:30] local.INFO: TCP Data received {"connection_id":172463,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:30] local.INFO: Processing buffer {"connection_id":172463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:30] local.INFO: IMEI packet received {"connection_id":172463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 11:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":172463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:54:31] local.INFO: TCP Data received {"connection_id":172463,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a075634860012c54330009c6df20025401672b..."} 
[2026-09-06 11:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075634860012c54330009c6df20025401672b..."} 
[2026-09-06 11:54:31] local.INFO: Processing buffer {"connection_id":172463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075634860012c54330009c6df20025401672b..."} 
[2026-09-06 11:54:31] local.INFO: Packet analysis {"connection_id":172463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07563"} 
[2026-09-06 11:54:31] local.INFO: Extracted packet for processing {"connection_id":172463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07563"} 
[2026-09-06 11:54:31] local.INFO: GPS Element Parsed {"raw_longitude":743715584,"raw_latitude":164028192,"longitude_deg":74.3715584,"latitude_deg":16.4028192,"altitude":596,"angle":359,"satellites":43,"speed":49,"hex_longitude":"2c543300","hex_latitude":"09c6df20","is_valid_coordinates":true} 
[2026-09-06 11:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901012224001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2479922706644992,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6067404271219638274,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788675836000,"timestamp_ms":1788675836000,"timestamp_seconds":1788675836,"priority":1,"record_length":96,"hex_timestamp":"000001a075634860"} 
[2026-09-06 11:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-06 11:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901012224001,"66":27691,"206":206,"9":7936,"24":49,"16":2479922706644992,"44":6067404271219638274},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-06 11:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901012224001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:54:31] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-06 11:54:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-09-06 11:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2479922706644992,"km_value":2479922706644.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:54:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":6067404271219638274,"description":"Unknown IO ID 44"} 
[2026-09-06 11:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901012224001,"power":27691,"unknown_206":206,"unknown_9":7936,"ignition":49,"odometer":null,"unknown_44":6067404271219638274}} 
[2026-09-06 11:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":172463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774097,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:54:32] local.INFO: GPS data processed {"connection_id":172463,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:54:32] local.INFO: Acknowledgment sent {"connection_id":172463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:54:33] local.INFO: TCP Data received {"connection_id":172463,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a075636b88012c54330009c704e0025501672b..."} 
[2026-09-06 11:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075636b88012c54330009c704e0025501672b..."} 
[2026-09-06 11:54:33] local.INFO: Processing buffer {"connection_id":172463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075636b88012c54330009c704e0025501672b..."} 
[2026-09-06 11:54:33] local.INFO: Packet analysis {"connection_id":172463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07563"} 
[2026-09-06 11:54:33] local.INFO: Extracted packet for processing {"connection_id":172463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07563"} 
[2026-09-06 11:54:33] local.INFO: GPS Element Parsed {"raw_longitude":743715584,"raw_latitude":164037856,"longitude_deg":74.3715584,"latitude_deg":16.4037856,"altitude":597,"angle":359,"satellites":43,"speed":37,"hex_longitude":"2c543300","hex_latitude":"09c704e0","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901014016001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2480390858080256,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6067193164989407234,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788675845000,"timestamp_ms":1788675845000,"timestamp_seconds":1788675845,"priority":1,"record_length":96,"hex_timestamp":"000001a075636b88"} 
[2026-09-06 11:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 11:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901014016001,"66":28267,"206":206,"9":7936,"24":37,"16":2480390858080256,"44":6067193164989407234},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-06 11:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901014016001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:54:33] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-06 11:54:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-09-06 11:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2480390858080256,"km_value":2480390858080.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:54:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":6067193164989407234,"description":"Unknown IO ID 44"} 
[2026-09-06 11:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901014016001,"power":28267,"unknown_206":206,"unknown_9":7936,"ignition":37,"odometer":null,"unknown_44":6067193164989407234}} 
[2026-09-06 11:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":172463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774098,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:54:33] local.INFO: GPS data processed {"connection_id":172463,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:54:33] local.INFO: Acknowledgment sent {"connection_id":172463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:54:35] local.INFO: TCP Data received {"connection_id":175158,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a075612d50012c552a0009c56320025c012729..."} 
[2026-09-06 11:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075612d50012c552a0009c56320025c012729..."} 
[2026-09-06 11:54:35] local.INFO: Processing buffer {"connection_id":175158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075612d50012c552a0009c56320025c012729..."} 
[2026-09-06 11:54:35] local.INFO: Packet analysis {"connection_id":175158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:54:35] local.INFO: Extracted packet for processing {"connection_id":175158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07561"} 
[2026-09-06 11:54:35] local.INFO: GPS Element Parsed {"raw_longitude":743778816,"raw_latitude":163930912,"longitude_deg":74.3778816,"latitude_deg":16.3930912,"altitude":604,"angle":295,"satellites":41,"speed":0,"hex_longitude":"2c552a00","hex_latitude":"09c56320","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900973056001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2478041510969344,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6148469064488398850,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788675698000,"timestamp_ms":1788675698000,"timestamp_seconds":1788675698,"priority":1,"record_length":96,"hex_timestamp":"000001a075612d50"} 
[2026-09-06 11:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-06 11:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900973056001,"66":28234,"112":206,"9":7680,"24":0,"16":2478041510969344,"44":6148469064488398850},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,9,24,16,44]} 
[2026-09-06 11:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900973056001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:54:35] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-06 11:54:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":7680,"description":"Unknown IO ID 9"} 
[2026-09-06 11:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2478041510969344,"km_value":2478041510969.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:54:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":6148469064488398850,"description":"Unknown IO ID 44"} 
[2026-09-06 11:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900973056001,"power":28234,"unknown_112":206,"unknown_9":7680,"ignition":0,"odometer":null,"unknown_44":6148469064488398850}} 
[2026-09-06 11:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":175158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:54:35] local.INFO: GPS data processed {"connection_id":175158,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:54:35] local.INFO: Acknowledgment sent {"connection_id":175158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:54:46] local.INFO: TCP Data received {"connection_id":175160,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075620428012d1fe500071d5bd00040009427..."} 
[2026-09-06 11:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075620428012d1fe500071d5bd00040009427..."} 
[2026-09-06 11:54:46] local.INFO: Processing buffer {"connection_id":175160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075620428012d1fe500071d5bd00040009427..."} 
[2026-09-06 11:54:46] local.INFO: Packet analysis {"connection_id":175160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:54:46] local.INFO: Extracted packet for processing {"connection_id":175160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:54:46] local.INFO: GPS Element Parsed {"raw_longitude":757064960,"raw_latitude":119364560,"longitude_deg":75.706496,"latitude_deg":11.936456,"altitude":64,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d1fe500","hex_latitude":"071d5bd0","is_valid_coordinates":true} 
[2026-09-06 11:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900987392001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202277558878208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298243215399833600,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788675753000,"timestamp_ms":1788675753000,"timestamp_seconds":1788675753,"priority":1,"record_length":96,"hex_timestamp":"000001a075620428"} 
[2026-09-06 11:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:54:46] 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-09-06 11:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-06 11:54:46] 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-09-06 11:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:54:46] 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-09-06 11:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900987392001,"66":14189,"10":206,"83":41984,"24":0,"16":18202277558878208,"45":2298243215399833600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900987392001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:54:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202277558878208,"km_value":18202277558878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298243215399833600,"description":"Unknown IO ID 45"} 
[2026-09-06 11:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900987392001,"power":14189,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2298243215399833600}} 
[2026-09-06 11:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":175160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:54:46] local.INFO: GPS data processed {"connection_id":175160,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:54:46] local.INFO: Acknowledgment sent {"connection_id":175160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:54:48] local.INFO: TCP Data received {"connection_id":172685,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:54:48] local.INFO: Processing buffer {"connection_id":172685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:54:48] local.INFO: IMEI packet received {"connection_id":172685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":172685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:54:53] local.INFO: TCP Data received {"connection_id":172685,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:54:53] local.INFO: Processing buffer {"connection_id":172685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:54:53] local.INFO: IMEI packet received {"connection_id":172685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":172685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:54:53] local.INFO: TCP Data received {"connection_id":172464,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:54:53] local.INFO: Processing buffer {"connection_id":172464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:54:53] local.INFO: IMEI packet received {"connection_id":172464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":172464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:54:54] local.INFO: TCP Data received {"connection_id":172685,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:54:54] local.INFO: Processing buffer {"connection_id":172685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:54:54] local.INFO: Packet analysis {"connection_id":172685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:54:54] local.INFO: Extracted packet for processing {"connection_id":172685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:54:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900916992001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:54: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-09-06 11:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788675758000,"timestamp_ms":1788675758000,"timestamp_seconds":1788675758,"priority":1,"record_length":96,"hex_timestamp":"000001a0756217b0"} 
[2026-09-06 11:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:54: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-09-06 11:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-06 11:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:54: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-09-06 11:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900916992001,"66":26169,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900916992001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:54:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:54:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900916992001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":172685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:54:54] local.INFO: GPS data processed {"connection_id":172685,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:54:54] local.INFO: Acknowledgment sent {"connection_id":172685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:54:54] local.INFO: TCP Data received {"connection_id":172464,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:54:54] local.INFO: Processing buffer {"connection_id":172464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:54:54] local.INFO: IMEI packet received {"connection_id":172464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":172464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:54:55] local.INFO: TCP Data received {"connection_id":175161,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:55] local.INFO: Processing buffer {"connection_id":175161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:55] local.INFO: IMEI packet received {"connection_id":175161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 11:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":175161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:54:56] local.INFO: TCP Data received {"connection_id":175161,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:56] local.INFO: Processing buffer {"connection_id":175161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:54:56] local.INFO: IMEI packet received {"connection_id":175161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 11:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":175161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:54:59] local.INFO: TCP Data received {"connection_id":172464,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:54:59] local.INFO: Processing buffer {"connection_id":172464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:54:59] local.INFO: IMEI packet received {"connection_id":172464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":172464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:55:00] local.INFO: TCP Data received {"connection_id":175161,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:55:00] local.INFO: Processing buffer {"connection_id":175161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:55:00] local.INFO: IMEI packet received {"connection_id":175161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 11:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":175161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:55:00] local.INFO: TCP Data received {"connection_id":172464,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0756236f0012d7c7ec005d17d08000501231d..."} 
[2026-09-06 11:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756236f0012d7c7ec005d17d08000501231d..."} 
[2026-09-06 11:55:00] local.INFO: Processing buffer {"connection_id":172464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756236f0012d7c7ec005d17d08000501231d..."} 
[2026-09-06 11:55:00] local.INFO: Packet analysis {"connection_id":172464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:55:00] local.INFO: Extracted packet for processing {"connection_id":172464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763133632,"raw_latitude":97615112,"longitude_deg":76.3133632,"latitude_deg":9.7615112,"altitude":5,"angle":291,"satellites":29,"speed":0,"hex_longitude":"2d7c7ec0","hex_latitude":"05d17d08","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900990720001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908220709208064,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971381588943947776,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788675766000,"timestamp_ms":1788675766000,"timestamp_seconds":1788675766,"priority":1,"record_length":96,"hex_timestamp":"000001a0756236f0"} 
[2026-09-06 11:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:55:00] 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-09-06 11: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-06 11:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:55:00] 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-09-06 11:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900990720001,"66":13319,"25":206,"85":15104,"24":0,"16":128908220709208064,"45":8971381588943947776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900990720001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:55:00] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908220709208064,"km_value":128908220709208.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971381588943947776,"description":"Unknown IO ID 45"} 
[2026-09-06 11:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900990720001,"power":13319,"unknown_25":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971381588943947776}} 
[2026-09-06 11:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":172464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:55:00] local.INFO: GPS data processed {"connection_id":172464,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:55:00] local.INFO: Acknowledgment sent {"connection_id":172464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:55:01] local.INFO: TCP Data received {"connection_id":175161,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a075639298012c5432c009c727d00254016729..."} 
[2026-09-06 11:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075639298012c5432c009c727d00254016729..."} 
[2026-09-06 11:55:01] local.INFO: Processing buffer {"connection_id":175161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075639298012c5432c009c727d00254016729..."} 
[2026-09-06 11:55:01] local.INFO: Packet analysis {"connection_id":175161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07563"} 
[2026-09-06 11:55:01] local.INFO: Extracted packet for processing {"connection_id":175161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07563"} 
[2026-09-06 11:55:01] local.INFO: GPS Element Parsed {"raw_longitude":743715520,"raw_latitude":164046800,"longitude_deg":74.371552,"latitude_deg":16.40468,"altitude":596,"angle":359,"satellites":41,"speed":35,"hex_longitude":"2c5432c0","hex_latitude":"09c727d0","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901016320001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2480824649777152,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6067193164991881218,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788675855000,"timestamp_ms":1788675855000,"timestamp_seconds":1788675855,"priority":1,"record_length":96,"hex_timestamp":"000001a075639298"} 
[2026-09-06 11:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:55: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-09-06 11: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 11:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901016320001,"66":28300,"206":206,"9":7936,"24":35,"16":2480824649777152,"44":6067193164991881218},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-06 11:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901016320001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:55:01] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-06 11:55:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-09-06 11:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2480824649777152,"km_value":2480824649777.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:55:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":6067193164991881218,"description":"Unknown IO ID 44"} 
[2026-09-06 11:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901016320001,"power":28300,"unknown_206":206,"unknown_9":7936,"ignition":35,"odometer":null,"unknown_44":6067193164991881218}} 
[2026-09-06 11:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":175161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774103,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:55:01] local.INFO: GPS data processed {"connection_id":175161,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:55:01] local.INFO: Acknowledgment sent {"connection_id":175161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:55:11] local.INFO: TCP Data received {"connection_id":175162,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:55:11] local.INFO: Processing buffer {"connection_id":175162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:55:11] local.INFO: IMEI packet received {"connection_id":175162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":175162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:55:13] local.INFO: TCP Data received {"connection_id":175162,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:55:13] local.INFO: Processing buffer {"connection_id":175162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:55:13] local.INFO: IMEI packet received {"connection_id":175162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":175162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:55:14] local.INFO: TCP Data received {"connection_id":175162,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075622750012d1fe340071d5c40004300ce29..."} 
[2026-09-06 11:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075622750012d1fe340071d5c40004300ce29..."} 
[2026-09-06 11:55:14] local.INFO: Processing buffer {"connection_id":175162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075622750012d1fe340071d5c40004300ce29..."} 
[2026-09-06 11:55:14] local.INFO: Packet analysis {"connection_id":175162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:55:14] local.INFO: Extracted packet for processing {"connection_id":175162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:55:14] local.INFO: GPS Element Parsed {"raw_longitude":757064512,"raw_latitude":119364672,"longitude_deg":75.7064512,"latitude_deg":11.9364672,"altitude":67,"angle":206,"satellites":41,"speed":2,"hex_longitude":"2d1fe340","hex_latitude":"071d5c40","is_valid_coordinates":true} 
[2026-09-06 11:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900992768001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202299033714688,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298243215399833600,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788675762000,"timestamp_ms":1788675762000,"timestamp_seconds":1788675762,"priority":1,"record_length":96,"hex_timestamp":"000001a075622750"} 
[2026-09-06 11:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-06 11:55:14] 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-09-06 11:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:55:14] 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-09-06 11:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900992768001,"66":14080,"10":206,"83":41984,"24":2,"16":18202299033714688,"45":2298243215399833600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900992768001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:55:14] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:55:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202299033714688,"km_value":18202299033714.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2298243215399833600,"description":"Unknown IO ID 45"} 
[2026-09-06 11:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900992768001,"power":14080,"unknown_10":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":2298243215399833600}} 
[2026-09-06 11:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":175162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:55:14] local.INFO: GPS data processed {"connection_id":175162,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:55:14] local.INFO: Acknowledgment sent {"connection_id":175162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:55:14] local.INFO: TCP Data received {"connection_id":175162,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075622b38012d1fe340071d5c08004300df28..."} 
[2026-09-06 11:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075622b38012d1fe340071d5c08004300df28..."} 
[2026-09-06 11:55:14] local.INFO: Processing buffer {"connection_id":175162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075622b38012d1fe340071d5c08004300df28..."} 
[2026-09-06 11:55:14] local.INFO: Packet analysis {"connection_id":175162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:55:14] local.INFO: Extracted packet for processing {"connection_id":175162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:55:14] local.INFO: GPS Element Parsed {"raw_longitude":757064512,"raw_latitude":119364616,"longitude_deg":75.7064512,"latitude_deg":11.9364616,"altitude":67,"angle":223,"satellites":40,"speed":2,"hex_longitude":"2d1fe340","hex_latitude":"071d5c08","is_valid_coordinates":true} 
[2026-09-06 11:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900995072001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202299033714688,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2297750634190618624,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788675763000,"timestamp_ms":1788675763000,"timestamp_seconds":1788675763,"priority":1,"record_length":96,"hex_timestamp":"000001a075622b38"} 
[2026-09-06 11:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-06 11:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446344192,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:14] local.WARNING: Large IO value detected {"io_id":170,"raw_value":3758096384,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1795817678,"corrected_to":0} 
[2026-09-06 11:55:14] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,10,83,24,241,157,16,170,160,4,45,91,64,39,66,178,92,1,240,118,227,117,29,113,205,230,41,239,8,2,7],"length":479,"final_offset":609,"validated_count":31,"validation_warnings":[{"io_id":205,"original":1795817678,"validated":0}]} 
[2026-09-06 11:55:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828085476030283776,"timestamp_seconds":4828085476030284.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:55:14] 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-09-06 11:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900995072001,"66":14080,"10":206,"83":41984,"24":2,"16":18202299033714688,"45":2297750634190618624},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900995072001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:55:14] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:55:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202299033714688,"km_value":18202299033714.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2297750634190618624,"description":"Unknown IO ID 45"} 
[2026-09-06 11:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900995072001,"power":14080,"unknown_10":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":2297750634190618624}} 
[2026-09-06 11:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":175162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:55:15] local.INFO: GPS data processed {"connection_id":175162,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:55:15] local.INFO: Acknowledgment sent {"connection_id":175162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:55:25] local.INFO: TCP Data received {"connection_id":172685,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:55:25] local.INFO: Processing buffer {"connection_id":172685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:55:25] local.INFO: Packet analysis {"connection_id":172685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:55:25] local.INFO: Extracted packet for processing {"connection_id":172685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:55:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900916992001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 11:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788675758000,"timestamp_ms":1788675758000,"timestamp_seconds":1788675758,"priority":1,"record_length":96,"hex_timestamp":"000001a0756217b0"} 
[2026-09-06 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-09-06 11:55: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-09-06 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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-06 11:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 11:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:55: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-09-06 11:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900916992001,"66":26169,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900916992001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:55:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:55:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900916992001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":172685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:55:25] local.INFO: GPS data processed {"connection_id":172685,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:55:25] local.INFO: Acknowledgment sent {"connection_id":172685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:55:31] local.INFO: TCP Data received {"connection_id":172464,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0756288f8012d7c7ec005d17d08000501231d..."} 
[2026-09-06 11:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756288f8012d7c7ec005d17d08000501231d..."} 
[2026-09-06 11:55:31] local.INFO: Processing buffer {"connection_id":172464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756288f8012d7c7ec005d17d08000501231d..."} 
[2026-09-06 11:55:31] local.INFO: Packet analysis {"connection_id":172464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:55:31] local.INFO: Extracted packet for processing {"connection_id":172464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:55:31] local.INFO: GPS Element Parsed {"raw_longitude":763133632,"raw_latitude":97615112,"longitude_deg":76.3133632,"latitude_deg":9.7615112,"altitude":5,"angle":291,"satellites":29,"speed":0,"hex_longitude":"2d7c7ec0","hex_latitude":"05d17d08","is_valid_coordinates":true} 
[2026-09-06 11:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900996096001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908220709208064,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970818638990608384,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788675787000,"timestamp_ms":1788675787000,"timestamp_seconds":1788675787,"priority":1,"record_length":96,"hex_timestamp":"000001a0756288f8"} 
[2026-09-06 11:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-06 11:55:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:31] local.WARNING: Large IO value detected {"io_id":209,"raw_value":9058990671936101632,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2820210894,"corrected_to":0} 
[2026-09-06 11:55:31] local.WARNING: Large IO value detected {"io_id":126,"raw_value":2147864957,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:31] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4181786624,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:31] local.WARNING: Large IO value detected {"io_id":110,"raw_value":57887195566855483,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:31] local.WARNING: Large IO value detected {"io_id":97,"raw_value":3546586001428037637,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:31] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,25,85,24,241,157,16,249,160,228,45,192,123,5,29,10,66,162,4,84,64,1,240,214,227,117,209,113,205,3,57,126,144,239,53,2,201,110,97],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2820210894,"validated":0}]} 
[2026-09-06 11:55:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360608052627374080,"timestamp_seconds":360608052627374.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:55:31] 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-09-06 11:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900996096001,"66":13678,"25":206,"85":15104,"24":0,"16":128908220709208064,"45":8970818638990608384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900996096001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:55:31] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:55:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908220709208064,"km_value":128908220709208.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970818638990608384,"description":"Unknown IO ID 45"} 
[2026-09-06 11:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900996096001,"power":13678,"unknown_25":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8970818638990608384}} 
[2026-09-06 11:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":172464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:55:31] local.INFO: GPS data processed {"connection_id":172464,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:55:31] local.INFO: Acknowledgment sent {"connection_id":172464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:55:32] local.INFO: TCP Data received {"connection_id":175161,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a07563c178012c5432c009c74d40025301672a..."} 
[2026-09-06 11:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07563c178012c5432c009c74d40025301672a..."} 
[2026-09-06 11:55:32] local.INFO: Processing buffer {"connection_id":175161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07563c178012c5432c009c74d40025301672a..."} 
[2026-09-06 11:55:32] local.INFO: Packet analysis {"connection_id":175161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07563"} 
[2026-09-06 11:55:32] local.INFO: Extracted packet for processing {"connection_id":175161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07563"} 
[2026-09-06 11:55:32] local.INFO: GPS Element Parsed {"raw_longitude":743715520,"raw_latitude":164056384,"longitude_deg":74.371552,"latitude_deg":16.4056384,"altitude":595,"angle":359,"satellites":42,"speed":35,"hex_longitude":"2c5432c0","hex_latitude":"09c74d40","is_valid_coordinates":true} 
[2026-09-06 11:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901018880001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2481288506245120,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6067122796249993218,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788675867000,"timestamp_ms":1788675867000,"timestamp_seconds":1788675867,"priority":1,"record_length":96,"hex_timestamp":"000001a07563c178"} 
[2026-09-06 11:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-06 11:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901018880001,"66":28148,"206":206,"9":7936,"24":35,"16":2481288506245120,"44":6067122796249993218},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,9,24,16,44]} 
[2026-09-06 11:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901018880001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:55:32] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-06 11:55:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-09-06 11:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2481288506245120,"km_value":2481288506245.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:55:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":6067122796249993218,"description":"Unknown IO ID 44"} 
[2026-09-06 11:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901018880001,"power":28148,"unknown_206":206,"unknown_9":7936,"ignition":35,"odometer":null,"unknown_44":6067122796249993218}} 
[2026-09-06 11:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":175161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774108,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:55:32] local.INFO: GPS data processed {"connection_id":175161,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:55:32] local.INFO: Acknowledgment sent {"connection_id":175161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:55:45] local.INFO: TCP Data received {"connection_id":175162,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075643a90012d1fdb00071d73a80038007d24..."} 
[2026-09-06 11:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075643a90012d1fdb00071d73a80038007d24..."} 
[2026-09-06 11:55:45] local.INFO: Processing buffer {"connection_id":175162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075643a90012d1fdb00071d73a80038007d24..."} 
[2026-09-06 11:55:45] local.INFO: Packet analysis {"connection_id":175162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07564"} 
[2026-09-06 11:55:45] local.INFO: Extracted packet for processing {"connection_id":175162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07564"} 
[2026-09-06 11:55:45] local.INFO: GPS Element Parsed {"raw_longitude":757062400,"raw_latitude":119370664,"longitude_deg":75.70624,"latitude_deg":11.9370664,"altitude":56,"angle":125,"satellites":36,"speed":14,"hex_longitude":"2d1fdb00","hex_latitude":"071d73a8","is_valid_coordinates":true} 
[2026-09-06 11:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901029632001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202934688874496,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2295076621913464832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788675898000,"timestamp_ms":1788675898000,"timestamp_seconds":1788675898,"priority":1,"record_length":96,"hex_timestamp":"000001a075643a90"} 
[2026-09-06 11:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:55: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-09-06 11:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-06 11:55:45] 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-09-06 11:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:55:45] 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-09-06 11:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901029632001,"66":14265,"10":206,"83":41984,"24":14,"16":18202934688874496,"45":2295076621913464832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901029632001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:55:45] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:55:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202934688874496,"km_value":18202934688874.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2295076621913464832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901029632001,"power":14265,"unknown_10":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":2295076621913464832}} 
[2026-09-06 11:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":175162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:55:46] local.INFO: GPS data processed {"connection_id":175162,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:55:46] local.INFO: Acknowledgment sent {"connection_id":175162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:55:48] local.INFO: TCP Data received {"connection_id":172686,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:55:48] local.INFO: Processing buffer {"connection_id":172686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:55:48] local.INFO: IMEI packet received {"connection_id":172686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":172686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:55:53] local.INFO: TCP Data received {"connection_id":172686,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:55:53] local.INFO: Processing buffer {"connection_id":172686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:55:53] local.INFO: IMEI packet received {"connection_id":172686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":172686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:55:54] local.INFO: TCP Data received {"connection_id":172686,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:55:54] local.INFO: Processing buffer {"connection_id":172686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:55:54] local.INFO: Packet analysis {"connection_id":172686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:55:54] local.INFO: Extracted packet for processing {"connection_id":172686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:55:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900916992001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55: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-09-06 11:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788675758000,"timestamp_ms":1788675758000,"timestamp_seconds":1788675758,"priority":1,"record_length":96,"hex_timestamp":"000001a0756217b0"} 
[2026-09-06 11:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:55: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-09-06 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-06 11:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:55: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-09-06 11:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900916992001,"66":26169,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900916992001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:55:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:55:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900916992001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":172686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:55:54] local.INFO: GPS data processed {"connection_id":172686,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:55:54] local.INFO: Acknowledgment sent {"connection_id":172686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:55:54] local.INFO: TCP Data received {"connection_id":172687,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:55:54] local.INFO: Processing buffer {"connection_id":172687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:55:54] local.INFO: IMEI packet received {"connection_id":172687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":172687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:55:55] local.INFO: TCP Data received {"connection_id":172465,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:55:55] local.INFO: Processing buffer {"connection_id":172465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:55:55] local.INFO: IMEI packet received {"connection_id":172465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 11:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":172465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:55:56] local.INFO: TCP Data received {"connection_id":172687,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:55:56] local.INFO: Processing buffer {"connection_id":172687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:55:56] local.INFO: IMEI packet received {"connection_id":172687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":172687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:55:57] local.INFO: TCP Data received {"connection_id":172465,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:55:57] local.INFO: Processing buffer {"connection_id":172465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:55:57] local.INFO: IMEI packet received {"connection_id":172465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 11:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":172465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:55:57] local.INFO: TCP Data received {"connection_id":172687,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07562db00012d7c7ec005d17d08000501231d..."} 
[2026-09-06 11:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07562db00012d7c7ec005d17d08000501231d..."} 
[2026-09-06 11:55:57] local.INFO: Processing buffer {"connection_id":172687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07562db00012d7c7ec005d17d08000501231d..."} 
[2026-09-06 11:55:57] local.INFO: Packet analysis {"connection_id":172687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:55:57] local.INFO: Extracted packet for processing {"connection_id":172687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:55:57] local.INFO: GPS Element Parsed {"raw_longitude":763133632,"raw_latitude":97615112,"longitude_deg":76.3133632,"latitude_deg":9.7615112,"altitude":5,"angle":291,"satellites":29,"speed":0,"hex_longitude":"2d7c7ec0","hex_latitude":"05d17d08","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901001472001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908220709208064,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970818638990608384,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788675808000,"timestamp_ms":1788675808000,"timestamp_seconds":1788675808,"priority":1,"record_length":96,"hex_timestamp":"000001a07562db00"} 
[2026-09-06 11:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 11:55:57] 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-09-06 11: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-09-06 11:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:55:57] 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-09-06 11:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901001472001,"66":13406,"25":206,"85":15104,"24":0,"16":128908220709208064,"45":8970818638990608384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901001472001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:55:57] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:55:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908220709208064,"km_value":128908220709208.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970818638990608384,"description":"Unknown IO ID 45"} 
[2026-09-06 11:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901001472001,"power":13406,"unknown_25":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8970818638990608384}} 
[2026-09-06 11:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":172687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:55:57] local.INFO: GPS data processed {"connection_id":172687,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:55:57] local.INFO: Acknowledgment sent {"connection_id":172687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:55:58] local.INFO: TCP Data received {"connection_id":172465,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a07564f610012c54830009c8d5c0023e01602b..."} 
[2026-09-06 11:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07564f610012c54830009c8d5c0023e01602b..."} 
[2026-09-06 11:55:58] local.INFO: Processing buffer {"connection_id":172465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07564f610012c54830009c8d5c0023e01602b..."} 
[2026-09-06 11:55:58] local.INFO: Packet analysis {"connection_id":172465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07564"} 
[2026-09-06 11:55:58] local.INFO: Extracted packet for processing {"connection_id":172465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07564"} 
[2026-09-06 11:55:58] local.INFO: GPS Element Parsed {"raw_longitude":743736064,"raw_latitude":164156864,"longitude_deg":74.3736064,"latitude_deg":16.4156864,"altitude":574,"angle":352,"satellites":43,"speed":53,"hex_longitude":"2c548300","hex_latitude":"09c8d5c0","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901040896001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2486279258243072,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6090133375622520834,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788675946000,"timestamp_ms":1788675946000,"timestamp_seconds":1788675946,"priority":1,"record_length":96,"hex_timestamp":"000001a07564f610"} 
[2026-09-06 11:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 11:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901040896001,"66":28278,"140":206,"9":7936,"24":53,"16":2486279258243072,"44":6090133375622520834},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-09-06 11:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901040896001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:55:58] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-09-06 11:55:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-09-06 11:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2486279258243072,"km_value":2486279258243.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:55:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":6090133375622520834,"description":"Unknown IO ID 44"} 
[2026-09-06 11:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901040896001,"power":28278,"unknown_140":206,"unknown_9":7936,"ignition":53,"odometer":null,"unknown_44":6090133375622520834}} 
[2026-09-06 11:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":172465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774112,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:55:58] local.INFO: GPS data processed {"connection_id":172465,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:55:58] local.INFO: Acknowledgment sent {"connection_id":172465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:55:58] local.INFO: TCP Data received {"connection_id":172465,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a075651168012c547a0009c8f8b0023d01532a..."} 
[2026-09-06 11:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075651168012c547a0009c8f8b0023d01532a..."} 
[2026-09-06 11:55:58] local.INFO: Processing buffer {"connection_id":172465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075651168012c547a0009c8f8b0023d01532a..."} 
[2026-09-06 11:55:58] local.INFO: Packet analysis {"connection_id":172465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:55:58] local.INFO: Extracted packet for processing {"connection_id":172465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:55:58] local.INFO: GPS Element Parsed {"raw_longitude":743733760,"raw_latitude":164165808,"longitude_deg":74.373376,"latitude_deg":16.4165808,"altitude":573,"angle":339,"satellites":42,"speed":49,"hex_longitude":"2c547a00","hex_latitude":"09c8f8b0","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901042176001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2486725934841856,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6089711163159199746,"note":"Value kept but may cause issues"} 
[2026-09-06 11:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788675953000,"timestamp_ms":1788675953000,"timestamp_seconds":1788675953,"priority":1,"record_length":96,"hex_timestamp":"000001a075651168"} 
[2026-09-06 11:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 11:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901042176001,"66":28071,"140":206,"9":7936,"24":49,"16":2486725934841856,"44":6089711163159199746},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-09-06 11:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901042176001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:55:58] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-09-06 11:55:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-09-06 11:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2486725934841856,"km_value":2486725934841.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:55:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":6089711163159199746,"description":"Unknown IO ID 44"} 
[2026-09-06 11:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901042176001,"power":28071,"unknown_140":206,"unknown_9":7936,"ignition":49,"odometer":null,"unknown_44":6089711163159199746}} 
[2026-09-06 11:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":172465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774113,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:55:59] local.INFO: GPS data processed {"connection_id":172465,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:55:59] local.INFO: Acknowledgment sent {"connection_id":172465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:56:09] local.INFO: TCP Data received {"connection_id":173842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:56:09] local.INFO: Processing buffer {"connection_id":173842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:56:09] local.INFO: IMEI packet received {"connection_id":173842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":173842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:56:14] local.INFO: TCP Data received {"connection_id":173842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:56:14] local.INFO: Processing buffer {"connection_id":173842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:56:14] local.INFO: IMEI packet received {"connection_id":173842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":173842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:56:15] local.INFO: TCP Data received {"connection_id":173842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075643e78012d1fdc00071d73200038006924..."} 
[2026-09-06 11:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075643e78012d1fdc00071d73200038006924..."} 
[2026-09-06 11:56:15] local.INFO: Processing buffer {"connection_id":173842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075643e78012d1fdc00071d73200038006924..."} 
[2026-09-06 11:56:15] local.INFO: Packet analysis {"connection_id":173842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07564"} 
[2026-09-06 11:56:15] local.INFO: Extracted packet for processing {"connection_id":173842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07564"} 
[2026-09-06 11:56:15] local.INFO: GPS Element Parsed {"raw_longitude":757062656,"raw_latitude":119370528,"longitude_deg":75.7062656,"latitude_deg":11.9370528,"altitude":56,"angle":105,"satellites":36,"speed":14,"hex_longitude":"2d1fdc00","hex_latitude":"071d7320","is_valid_coordinates":true} 
[2026-09-06 11:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901029888001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18202947573776384,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2295428465634289664,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788675899000,"timestamp_ms":1788675899000,"timestamp_seconds":1788675899,"priority":1,"record_length":96,"hex_timestamp":"000001a075643e78"} 
[2026-09-06 11:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:56:15] 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-09-06 11:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-06 11:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:56:15] 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-09-06 11:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901029888001,"66":14265,"10":206,"83":41984,"24":14,"16":18202947573776384,"45":2295428465634289664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901029888001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:56:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18202947573776384,"km_value":18202947573776.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2295428465634289664,"description":"Unknown IO ID 45"} 
[2026-09-06 11:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901029888001,"power":14265,"unknown_10":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":2295428465634289664}} 
[2026-09-06 11:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":173842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:56:15] local.INFO: GPS data processed {"connection_id":173842,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:56:15] local.INFO: Acknowledgment sent {"connection_id":173842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:56:26] local.INFO: TCP Data received {"connection_id":172686,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:56:26] local.INFO: Processing buffer {"connection_id":172686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:56:26] local.INFO: Packet analysis {"connection_id":172686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:56:26] local.INFO: Extracted packet for processing {"connection_id":172686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:56:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900916992001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56: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-09-06 11:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788675758000,"timestamp_ms":1788675758000,"timestamp_seconds":1788675758,"priority":1,"record_length":96,"hex_timestamp":"000001a0756217b0"} 
[2026-09-06 11:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-06 11:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:56: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-09-06 11:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900916992001,"66":26169,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900916992001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:56:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:56:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900916992001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":172686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:56:26] local.INFO: GPS data processed {"connection_id":172686,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:56:26] local.INFO: Acknowledgment sent {"connection_id":172686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:56:28] local.INFO: TCP Data received {"connection_id":172687,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075632d08012d7c7ec005d17d08000501231d..."} 
[2026-09-06 11:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075632d08012d7c7ec005d17d08000501231d..."} 
[2026-09-06 11:56:28] local.INFO: Processing buffer {"connection_id":172687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075632d08012d7c7ec005d17d08000501231d..."} 
[2026-09-06 11:56:28] local.INFO: Packet analysis {"connection_id":172687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07563"} 
[2026-09-06 11:56:28] local.INFO: Extracted packet for processing {"connection_id":172687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07563"} 
[2026-09-06 11:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763133632,"raw_latitude":97615112,"longitude_deg":76.3133632,"latitude_deg":9.7615112,"altitude":5,"angle":291,"satellites":29,"speed":0,"hex_longitude":"2d7c7ec0","hex_latitude":"05d17d08","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901006848001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908220709208064,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970818638990608384,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788675829000,"timestamp_ms":1788675829000,"timestamp_seconds":1788675829,"priority":1,"record_length":96,"hex_timestamp":"000001a075632d08"} 
[2026-09-06 11:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-06 11:56:28] 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-09-06 11: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-09-06 11:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:56:28] 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-09-06 11:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901006848001,"66":13472,"25":206,"85":15104,"24":0,"16":128908220709208064,"45":8970818638990608384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901006848001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:56:28] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908220709208064,"km_value":128908220709208.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970818638990608384,"description":"Unknown IO ID 45"} 
[2026-09-06 11:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901006848001,"power":13472,"unknown_25":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8970818638990608384}} 
[2026-09-06 11:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":172687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:56:28] local.INFO: GPS data processed {"connection_id":172687,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:56:28] local.INFO: Acknowledgment sent {"connection_id":172687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:56:30] local.INFO: TCP Data received {"connection_id":172465,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a075651168012c547a0009c8f8b0023d01532a..."} 
[2026-09-06 11:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075651168012c547a0009c8f8b0023d01532a..."} 
[2026-09-06 11:56:30] local.INFO: Processing buffer {"connection_id":172465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075651168012c547a0009c8f8b0023d01532a..."} 
[2026-09-06 11:56:30] local.INFO: Packet analysis {"connection_id":172465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:56:30] local.INFO: Extracted packet for processing {"connection_id":172465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:56:30] local.INFO: GPS Element Parsed {"raw_longitude":743733760,"raw_latitude":164165808,"longitude_deg":74.373376,"latitude_deg":16.4165808,"altitude":573,"angle":339,"satellites":42,"speed":49,"hex_longitude":"2c547a00","hex_latitude":"09c8f8b0","is_valid_coordinates":true} 
[2026-09-06 11:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901043968001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2486725934841856,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6087177888371093506,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788675953000,"timestamp_ms":1788675953000,"timestamp_seconds":1788675953,"priority":1,"record_length":96,"hex_timestamp":"000001a075651168"} 
[2026-09-06 11:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-06 11:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901043968001,"66":28071,"140":206,"9":7936,"24":49,"16":2486725934841856,"44":6087177888371093506},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-09-06 11:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901043968001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:56:30] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-09-06 11:56:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-09-06 11:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2486725934841856,"km_value":2486725934841.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":6087177888371093506,"description":"Unknown IO ID 44"} 
[2026-09-06 11:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901043968001,"power":28071,"unknown_140":206,"unknown_9":7936,"ignition":49,"odometer":null,"unknown_44":6087177888371093506}} 
[2026-09-06 11:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":172465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774117,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:56:30] local.INFO: GPS data processed {"connection_id":172465,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:56:30] local.INFO: Acknowledgment sent {"connection_id":172465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:56:46] local.INFO: TCP Data received {"connection_id":173842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075645200012d1fe5c0071d72700035005e28..."} 
[2026-09-06 11:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075645200012d1fe5c0071d72700035005e28..."} 
[2026-09-06 11:56:46] local.INFO: Processing buffer {"connection_id":173842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075645200012d1fe5c0071d72700035005e28..."} 
[2026-09-06 11:56:46] local.INFO: Packet analysis {"connection_id":173842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07564"} 
[2026-09-06 11:56:46] local.INFO: Extracted packet for processing {"connection_id":173842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07564"} 
[2026-09-06 11:56:46] local.INFO: GPS Element Parsed {"raw_longitude":757065152,"raw_latitude":119370352,"longitude_deg":75.7065152,"latitude_deg":11.9370352,"altitude":53,"angle":94,"satellites":40,"speed":22,"hex_longitude":"2d1fe5c0","hex_latitude":"071d7270","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901030144001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18203067832860672,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2295709940610965504,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788675904000,"timestamp_ms":1788675904000,"timestamp_seconds":1788675904,"priority":1,"record_length":96,"hex_timestamp":"000001a075645200"} 
[2026-09-06 11:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:56:46] 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-09-06 11: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-06 11:56:46] 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-09-06 11: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-09-06 11:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:56:46] 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-09-06 11:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901030144001,"66":14004,"10":206,"83":41984,"24":22,"16":18203067832860672,"45":2295709940610965504},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 11:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901030144001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:56:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 11:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18203067832860672,"km_value":18203067832860.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2295709940610965504,"description":"Unknown IO ID 45"} 
[2026-09-06 11:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901030144001,"power":14004,"unknown_10":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":2295709940610965504}} 
[2026-09-06 11:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":173842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:56:46] local.INFO: GPS data processed {"connection_id":173842,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:56:46] local.INFO: Acknowledgment sent {"connection_id":173842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:56:48] local.INFO: TCP Data received {"connection_id":172466,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:56:48] local.INFO: Processing buffer {"connection_id":172466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:56:48] local.INFO: IMEI packet received {"connection_id":172466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":172466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:56:50] local.INFO: TCP Data received {"connection_id":173843,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:56:50] local.INFO: Processing buffer {"connection_id":173843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:56:50] local.INFO: IMEI packet received {"connection_id":173843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 11:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":173843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:56:51] local.INFO: TCP Data received {"connection_id":173843,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:56:51] local.INFO: Processing buffer {"connection_id":173843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:56:51] local.INFO: IMEI packet received {"connection_id":173843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 11:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":173843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:56:52] local.INFO: TCP Data received {"connection_id":173843,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a075652cc0012c54698009c918f00239014a2b..."} 
[2026-09-06 11:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075652cc0012c54698009c918f00239014a2b..."} 
[2026-09-06 11:56:52] local.INFO: Processing buffer {"connection_id":173843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075652cc0012c54698009c918f00239014a2b..."} 
[2026-09-06 11:56:52] local.INFO: Packet analysis {"connection_id":173843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:56:52] local.INFO: Extracted packet for processing {"connection_id":173843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:56:52] local.INFO: GPS Element Parsed {"raw_longitude":743729536,"raw_latitude":164174064,"longitude_deg":74.3729536,"latitude_deg":16.4174064,"altitude":569,"angle":330,"satellites":43,"speed":56,"hex_longitude":"2c546980","hex_latitude":"09c918f0","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901043968001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2487172611440640,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6087177888371093506,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788675960000,"timestamp_ms":1788675960000,"timestamp_seconds":1788675960,"priority":1,"record_length":96,"hex_timestamp":"000001a075652cc0"} 
[2026-09-06 11:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-06 11:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11: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-09-06 11:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901043968001,"66":27908,"140":206,"9":7936,"24":56,"16":2487172611440640,"44":6087177888371093506},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-09-06 11:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901043968001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:56:52] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-09-06 11:56:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-09-06 11:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2487172611440640,"km_value":2487172611440.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:56:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":6087177888371093506,"description":"Unknown IO ID 44"} 
[2026-09-06 11:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901043968001,"power":27908,"unknown_140":206,"unknown_9":7936,"ignition":56,"odometer":null,"unknown_44":6087177888371093506}} 
[2026-09-06 11:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":173843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:56:52] local.INFO: GPS data processed {"connection_id":173843,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:56:52] local.INFO: Acknowledgment sent {"connection_id":173843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:56:53] local.INFO: TCP Data received {"connection_id":172466,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:56:53] local.INFO: Processing buffer {"connection_id":172466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:56:53] local.INFO: IMEI packet received {"connection_id":172466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":172466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:56:54] local.INFO: TCP Data received {"connection_id":172466,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:56:54] local.INFO: Processing buffer {"connection_id":172466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:56:54] local.INFO: Packet analysis {"connection_id":172466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:56:54] local.INFO: Extracted packet for processing {"connection_id":172466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:56:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900916992001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56: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-09-06 11:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788675758000,"timestamp_ms":1788675758000,"timestamp_seconds":1788675758,"priority":1,"record_length":96,"hex_timestamp":"000001a0756217b0"} 
[2026-09-06 11:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:56: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-09-06 11:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-06 11:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:56: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-09-06 11:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900916992001,"66":26169,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900916992001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:56:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:56:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900916992001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":172466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:56:54] local.INFO: GPS data processed {"connection_id":172466,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:56:54] local.INFO: Acknowledgment sent {"connection_id":172466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:56:54] local.INFO: TCP Data received {"connection_id":172467,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:56:54] local.INFO: Processing buffer {"connection_id":172467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:56:54] local.INFO: IMEI packet received {"connection_id":172467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":172467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:56:55] local.INFO: TCP Data received {"connection_id":173843,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a075654430012c54584009c937c00235014c2b..."} 
[2026-09-06 11:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075654430012c54584009c937c00235014c2b..."} 
[2026-09-06 11:56:55] local.INFO: Processing buffer {"connection_id":173843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075654430012c54584009c937c00235014c2b..."} 
[2026-09-06 11:56:55] local.INFO: Packet analysis {"connection_id":173843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:56:55] local.INFO: Extracted packet for processing {"connection_id":173843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:56:55] local.INFO: GPS Element Parsed {"raw_longitude":743725120,"raw_latitude":164181952,"longitude_deg":74.372512,"latitude_deg":16.4181952,"altitude":565,"angle":332,"satellites":43,"speed":60,"hex_longitude":"2c545840","hex_latitude":"09c937c0","is_valid_coordinates":true} 
[2026-09-06 11:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901045760001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2487610698104832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6082533551257481218,"note":"Value kept but may cause issues"} 
[2026-09-06 11:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788675966000,"timestamp_ms":1788675966000,"timestamp_seconds":1788675966,"priority":1,"record_length":96,"hex_timestamp":"000001a075654430"} 
[2026-09-06 11:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:56: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-09-06 11:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 11:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901045760001,"66":27974,"140":206,"9":7936,"24":60,"16":2487610698104832,"44":6082533551257481218},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-09-06 11:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901045760001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:56:55] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-09-06 11:56:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-09-06 11:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2487610698104832,"km_value":2487610698104.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:56:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":6082533551257481218,"description":"Unknown IO ID 44"} 
[2026-09-06 11:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901045760001,"power":27974,"unknown_140":206,"unknown_9":7936,"ignition":60,"odometer":null,"unknown_44":6082533551257481218}} 
[2026-09-06 11:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":173843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774121,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:56:55] local.INFO: GPS data processed {"connection_id":173843,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:56:55] local.INFO: Acknowledgment sent {"connection_id":173843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:56:59] local.INFO: TCP Data received {"connection_id":172467,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:56:59] local.INFO: Processing buffer {"connection_id":172467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:56:59] local.INFO: IMEI packet received {"connection_id":172467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":172467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:57:00] local.INFO: TCP Data received {"connection_id":172467,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075637f10012d7c7ec005d17d08000501231d..."} 
[2026-09-06 11:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075637f10012d7c7ec005d17d08000501231d..."} 
[2026-09-06 11:57:00] local.INFO: Processing buffer {"connection_id":172467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075637f10012d7c7ec005d17d08000501231d..."} 
[2026-09-06 11:57:00] local.INFO: Packet analysis {"connection_id":172467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07563"} 
[2026-09-06 11:57:00] local.INFO: Extracted packet for processing {"connection_id":172467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07563"} 
[2026-09-06 11:57:00] local.INFO: GPS Element Parsed {"raw_longitude":763133632,"raw_latitude":97615112,"longitude_deg":76.3133632,"latitude_deg":9.7615112,"altitude":5,"angle":291,"satellites":29,"speed":0,"hex_longitude":"2d7c7ec0","hex_latitude":"05d17d08","is_valid_coordinates":true} 
[2026-09-06 11:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901012224001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908220709208064,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970818638990608384,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788675850000,"timestamp_ms":1788675850000,"timestamp_seconds":1788675850,"priority":1,"record_length":96,"hex_timestamp":"000001a075637f10"} 
[2026-09-06 11:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:57:00] 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-09-06 11:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 11:57:00] 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-09-06 11:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:57:00] 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-09-06 11:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901012224001,"66":13580,"25":206,"85":15104,"24":0,"16":128908220709208064,"45":8970818638990608384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901012224001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:57:00] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:57:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908220709208064,"km_value":128908220709208.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970818638990608384,"description":"Unknown IO ID 45"} 
[2026-09-06 11:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901012224001,"power":13580,"unknown_25":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8970818638990608384}} 
[2026-09-06 11:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":172467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:57:00] local.INFO: GPS data processed {"connection_id":172467,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:57:00] local.INFO: Acknowledgment sent {"connection_id":172467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:57:09] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:57:09] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:57:09] local.INFO: IMEI packet received {"connection_id":175163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":175163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:57:16] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:57:16] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:57:16] local.INFO: IMEI packet received {"connection_id":175163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":175163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:57:17] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:57:17] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:57:17] local.INFO: IMEI packet received {"connection_id":175163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":175163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:57:17] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075658a80012d20ad00071d85800042009225..."} 
[2026-09-06 11:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075658a80012d20ad00071d85800042009225..."} 
[2026-09-06 11:57:17] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075658a80012d20ad00071d85800042009225..."} 
[2026-09-06 11:57:17] local.INFO: Packet analysis {"connection_id":175163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:57:17] local.INFO: Extracted packet for processing {"connection_id":175163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:57:17] local.INFO: GPS Element Parsed {"raw_longitude":757116160,"raw_latitude":119375232,"longitude_deg":75.711616,"latitude_deg":11.9375232,"altitude":66,"angle":146,"satellites":37,"speed":22,"hex_longitude":"2d20ad00","hex_latitude":"071d8580","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901051136001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18205619043434496,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2353341942094036992,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788675984000,"timestamp_ms":1788675984000,"timestamp_seconds":1788675984,"priority":1,"record_length":96,"hex_timestamp":"000001a075658a80"} 
[2026-09-06 11:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-06 11:57:17] 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-09-06 11: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-09-06 11:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:57:17] 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-09-06 11:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901051136001,"66":14298,"57":206,"83":41984,"24":22,"16":18205619043434496,"45":2353341942094036992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-06 11:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901051136001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:57:17] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-06 11:57:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18205619043434496,"km_value":18205619043434.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2353341942094036992,"description":"Unknown IO ID 45"} 
[2026-09-06 11:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901051136001,"power":14298,"unknown_57":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":2353341942094036992}} 
[2026-09-06 11:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":175163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:57:18] local.INFO: GPS data processed {"connection_id":175163,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:57:18] local.INFO: Acknowledgment sent {"connection_id":175163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:57:19] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075659638012d20b040071d81b80042007e26..."} 
[2026-09-06 11:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075659638012d20b040071d81b80042007e26..."} 
[2026-09-06 11:57:19] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075659638012d20b040071d81b80042007e26..."} 
[2026-09-06 11:57:19] local.INFO: Packet analysis {"connection_id":175163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:57:19] local.INFO: Extracted packet for processing {"connection_id":175163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:57:19] local.INFO: GPS Element Parsed {"raw_longitude":757116992,"raw_latitude":119374264,"longitude_deg":75.7116992,"latitude_deg":11.9374264,"altitude":66,"angle":126,"satellites":38,"speed":12,"hex_longitude":"2d20b040","hex_latitude":"071d81b8","is_valid_coordinates":true} 
[2026-09-06 11:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901051904001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18205679172976640,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2354538210744696832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788675987000,"timestamp_ms":1788675987000,"timestamp_seconds":1788675987,"priority":1,"record_length":96,"hex_timestamp":"000001a075659638"} 
[2026-09-06 11:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:57:19] 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-09-06 11:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-06 11:57:19] 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-09-06 11:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:57:19] 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-09-06 11:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901051904001,"66":14265,"57":206,"83":41984,"24":12,"16":18205679172976640,"45":2354538210744696832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-06 11:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901051904001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:57:19] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-06 11:57:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18205679172976640,"km_value":18205679172976.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2354538210744696832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901051904001,"power":14265,"unknown_57":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":2354538210744696832}} 
[2026-09-06 11:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":175163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:57:19] local.INFO: GPS data processed {"connection_id":175163,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:57:19] local.INFO: Acknowledgment sent {"connection_id":175163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:57:25] local.INFO: TCP Data received {"connection_id":172466,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:57:25] local.INFO: Processing buffer {"connection_id":172466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:57:25] local.INFO: Packet analysis {"connection_id":172466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:57:25] local.INFO: Extracted packet for processing {"connection_id":172466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:57:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900916992001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 11:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788675758000,"timestamp_ms":1788675758000,"timestamp_seconds":1788675758,"priority":1,"record_length":96,"hex_timestamp":"000001a0756217b0"} 
[2026-09-06 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-09-06 11:57: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-09-06 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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-06 11:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 11:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11: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-09-06 11:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900916992001,"66":26169,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900916992001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:57:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:57:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900916992001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":172466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:57:25] local.INFO: GPS data processed {"connection_id":172466,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:57:25] local.INFO: Acknowledgment sent {"connection_id":172466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:57:26] local.INFO: TCP Data received {"connection_id":173843,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a075655ba0012c5446c009c957e00231014d29..."} 
[2026-09-06 11:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075655ba0012c5446c009c957e00231014d29..."} 
[2026-09-06 11:57:26] local.INFO: Processing buffer {"connection_id":173843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075655ba0012c5446c009c957e00231014d29..."} 
[2026-09-06 11:57:26] local.INFO: Packet analysis {"connection_id":173843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:57:26] local.INFO: Extracted packet for processing {"connection_id":173843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:57:26] local.INFO: GPS Element Parsed {"raw_longitude":743720640,"raw_latitude":164190176,"longitude_deg":74.372064,"latitude_deg":16.4190176,"altitude":561,"angle":333,"satellites":41,"speed":62,"hex_longitude":"2c5446c0","hex_latitude":"09c957e0","is_valid_coordinates":true} 
[2026-09-06 11:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901047296001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2488057374703616,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6077678107911241730,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788675972000,"timestamp_ms":1788675972000,"timestamp_seconds":1788675972,"priority":1,"record_length":96,"hex_timestamp":"000001a075655ba0"} 
[2026-09-06 11:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:57: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-09-06 11:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-06 11:57:26] 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-09-06 11:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901047296001,"66":28234,"140":206,"9":7936,"24":62,"16":2488057374703616,"44":6077678107911241730},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-09-06 11:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901047296001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:57:26] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-09-06 11:57:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-09-06 11:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2488057374703616,"km_value":2488057374703.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:57:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":6077678107911241730,"description":"Unknown IO ID 44"} 
[2026-09-06 11:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901047296001,"power":28234,"unknown_140":206,"unknown_9":7936,"ignition":62,"odometer":null,"unknown_44":6077678107911241730}} 
[2026-09-06 11:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":173843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774126,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:57:26] local.INFO: GPS data processed {"connection_id":173843,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:57:26] local.INFO: Acknowledgment sent {"connection_id":173843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:57:31] local.INFO: TCP Data received {"connection_id":172467,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07563d118012d7c7ec005d17d08000501231e..."} 
[2026-09-06 11:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07563d118012d7c7ec005d17d08000501231e..."} 
[2026-09-06 11:57:31] local.INFO: Processing buffer {"connection_id":172467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07563d118012d7c7ec005d17d08000501231e..."} 
[2026-09-06 11:57:31] local.INFO: Packet analysis {"connection_id":172467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07563"} 
[2026-09-06 11:57:31] local.INFO: Extracted packet for processing {"connection_id":172467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07563"} 
[2026-09-06 11:57:31] local.INFO: GPS Element Parsed {"raw_longitude":763133632,"raw_latitude":97615112,"longitude_deg":76.3133632,"latitude_deg":9.7615112,"altitude":5,"angle":291,"satellites":30,"speed":0,"hex_longitude":"2d7c7ec0","hex_latitude":"05d17d08","is_valid_coordinates":true} 
[2026-09-06 11:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901017600001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908220709208064,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970818638990608384,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788675871000,"timestamp_ms":1788675871000,"timestamp_seconds":1788675871,"priority":1,"record_length":96,"hex_timestamp":"000001a07563d118"} 
[2026-09-06 11:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 11:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630841,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3514507264,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3892995740489744384,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435131417,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2820210894,"corrected_to":0} 
[2026-09-06 11:57:31] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:31] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3221606779,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":327979,"corrected_to":0} 
[2026-09-06 11:57:31] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026192827735290283,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:31] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4182835200,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:31] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-9205351241057042427,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:31] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:31] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,25,85,24,241,157,16,249,160,45,192,125,5,29,10,66,219,136,1,240,110,227,117,209,4,113,205,228,128,200,239,52,2,201,124,59],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2820210894,"validated":0},{"io_id":200,"original":327979,"validated":0}]} 
[2026-09-06 11:57:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360608052627374080,"timestamp_seconds":360608052627374.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:57:31] 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-09-06 11:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901017600001,"66":13363,"25":206,"85":15104,"24":0,"16":128908220709208064,"45":8970818638990608384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901017600001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:57:31] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:57:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908220709208064,"km_value":128908220709208.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970818638990608384,"description":"Unknown IO ID 45"} 
[2026-09-06 11:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901017600001,"power":13363,"unknown_25":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8970818638990608384}} 
[2026-09-06 11:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":172467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:57:31] local.INFO: GPS data processed {"connection_id":172467,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:57:31] local.INFO: Acknowledgment sent {"connection_id":172467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:57:48] local.INFO: TCP Data received {"connection_id":172688,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:57:48] local.INFO: Processing buffer {"connection_id":172688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:57:48] local.INFO: IMEI packet received {"connection_id":172688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 11:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":172688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:57:50] local.INFO: TCP Data received {"connection_id":172688,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:57:50] local.INFO: Processing buffer {"connection_id":172688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:57:50] local.INFO: IMEI packet received {"connection_id":172688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 11:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":172688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:57:50] local.INFO: TCP Data received {"connection_id":175163,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075659a20012d20b180071d81380043007026..."} 
[2026-09-06 11:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075659a20012d20b180071d81380043007026..."} 
[2026-09-06 11:57:50] local.INFO: Processing buffer {"connection_id":175163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075659a20012d20b180071d81380043007026..."} 
[2026-09-06 11:57:50] local.INFO: Packet analysis {"connection_id":175163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:57:50] local.INFO: Extracted packet for processing {"connection_id":175163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:57:50] local.INFO: GPS Element Parsed {"raw_longitude":757117312,"raw_latitude":119374136,"longitude_deg":75.7117312,"latitude_deg":11.9374136,"altitude":67,"angle":112,"satellites":38,"speed":10,"hex_longitude":"2d20b180","hex_latitude":"071d8138","is_valid_coordinates":true} 
[2026-09-06 11:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901052672001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18205696352845824,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2355453004418758656,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788675988000,"timestamp_ms":1788675988000,"timestamp_seconds":1788675988,"priority":1,"record_length":96,"hex_timestamp":"000001a075659a20"} 
[2026-09-06 11:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-06 11:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:57:50] 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-09-06 11:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901052672001,"66":14341,"57":206,"83":41984,"24":10,"16":18205696352845824,"45":2355453004418758656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-06 11:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901052672001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:57:50] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-06 11:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18205696352845824,"km_value":18205696352845.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2355453004418758656,"description":"Unknown IO ID 45"} 
[2026-09-06 11:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901052672001,"power":14341,"unknown_57":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":2355453004418758656}} 
[2026-09-06 11:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":175163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:57:50] local.INFO: GPS data processed {"connection_id":175163,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:57:50] local.INFO: Acknowledgment sent {"connection_id":175163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:57:53] local.INFO: TCP Data received {"connection_id":173844,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:57:53] local.INFO: Processing buffer {"connection_id":173844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:57:53] local.INFO: IMEI packet received {"connection_id":173844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":173844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:57:55] local.INFO: TCP Data received {"connection_id":172689,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:57:55] local.INFO: Processing buffer {"connection_id":172689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:57:55] local.INFO: IMEI packet received {"connection_id":172689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":172689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:57:55] local.INFO: TCP Data received {"connection_id":172688,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:57:55] local.INFO: Processing buffer {"connection_id":172688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:57:55] local.INFO: IMEI packet received {"connection_id":172688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 11:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":172688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:57:55] local.INFO: TCP Data received {"connection_id":172689,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:57:55] local.INFO: Processing buffer {"connection_id":172689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:57:55] local.INFO: IMEI packet received {"connection_id":172689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":172689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:57:56] local.INFO: TCP Data received {"connection_id":172688,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a075668098012c538a0009cad9d00235014e2a..."} 
[2026-09-06 11:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075668098012c538a0009cad9d00235014e2a..."} 
[2026-09-06 11:57:56] local.INFO: Processing buffer {"connection_id":172688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075668098012c538a0009cad9d00235014e2a..."} 
[2026-09-06 11:57:56] local.INFO: Packet analysis {"connection_id":172688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 11:57:56] local.INFO: Extracted packet for processing {"connection_id":172688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 11:57:56] local.INFO: GPS Element Parsed {"raw_longitude":743672320,"raw_latitude":164288976,"longitude_deg":74.367232,"latitude_deg":16.4288976,"altitude":565,"angle":334,"satellites":42,"speed":53,"hex_longitude":"2c538a00","hex_latitude":"09cad9d0","is_valid_coordinates":true} 
[2026-09-06 11:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901066240001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2493348774412288,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6024268231105585154,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788676047000,"timestamp_ms":1788676047000,"timestamp_seconds":1788676047,"priority":1,"record_length":96,"hex_timestamp":"000001a075668098"} 
[2026-09-06 11:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 11:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901066240001,"66":28234,"140":206,"9":7936,"24":53,"16":2493348774412288,"44":6024268231105585154},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-09-06 11:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901066240001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:57:56] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-09-06 11:57:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-09-06 11:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2493348774412288,"km_value":2493348774412.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:57:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":6024268231105585154,"description":"Unknown IO ID 44"} 
[2026-09-06 11:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901066240001,"power":28234,"unknown_140":206,"unknown_9":7936,"ignition":53,"odometer":null,"unknown_44":6024268231105585154}} 
[2026-09-06 11:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":172688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774129,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:57:56] local.INFO: GPS data processed {"connection_id":172688,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:57:56] local.INFO: Acknowledgment sent {"connection_id":172688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:57:58] local.INFO: TCP Data received {"connection_id":173844,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:57:58] local.INFO: Processing buffer {"connection_id":173844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:57:58] local.INFO: IMEI packet received {"connection_id":173844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":173844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:57:59] local.INFO: TCP Data received {"connection_id":173844,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:57:59] local.INFO: Processing buffer {"connection_id":173844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:57:59] local.INFO: Packet analysis {"connection_id":173844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:57:59] local.INFO: Extracted packet for processing {"connection_id":173844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900916992001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:57: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-09-06 11:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788675758000,"timestamp_ms":1788675758000,"timestamp_seconds":1788675758,"priority":1,"record_length":96,"hex_timestamp":"000001a0756217b0"} 
[2026-09-06 11:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-06 11:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:57: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-09-06 11:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900916992001,"66":26169,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900916992001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:57:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:57:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900916992001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":173844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:57:59] local.INFO: GPS data processed {"connection_id":173844,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:57:59] local.INFO: Acknowledgment sent {"connection_id":173844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:57:59] local.INFO: TCP Data received {"connection_id":172689,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:57:59] local.INFO: Processing buffer {"connection_id":172689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:57:59] local.INFO: IMEI packet received {"connection_id":172689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":172689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:58:00] local.INFO: TCP Data received {"connection_id":172689,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075642320012d7c7ec005d17d08000501231e..."} 
[2026-09-06 11:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075642320012d7c7ec005d17d08000501231e..."} 
[2026-09-06 11:58:00] local.INFO: Processing buffer {"connection_id":172689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075642320012d7c7ec005d17d08000501231e..."} 
[2026-09-06 11:58:00] local.INFO: Packet analysis {"connection_id":172689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07564"} 
[2026-09-06 11:58:00] local.INFO: Extracted packet for processing {"connection_id":172689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07564"} 
[2026-09-06 11:58:00] local.INFO: GPS Element Parsed {"raw_longitude":763133632,"raw_latitude":97615112,"longitude_deg":76.3133632,"latitude_deg":9.7615112,"altitude":5,"angle":291,"satellites":30,"speed":0,"hex_longitude":"2d7c7ec0","hex_latitude":"05d17d08","is_valid_coordinates":true} 
[2026-09-06 11:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901022976001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908220709208064,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970818638990608384,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788675892000,"timestamp_ms":1788675892000,"timestamp_seconds":1788675892,"priority":1,"record_length":96,"hex_timestamp":"000001a075642320"} 
[2026-09-06 11:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-06 11:58:00] 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-09-06 11:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:58:00] 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-09-06 11:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901022976001,"66":13656,"25":206,"85":15104,"24":0,"16":128908220709208064,"45":8970818638990608384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901022976001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:58:00] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908220709208064,"km_value":128908220709208.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970818638990608384,"description":"Unknown IO ID 45"} 
[2026-09-06 11:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901022976001,"power":13656,"unknown_25":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8970818638990608384}} 
[2026-09-06 11:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":172689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:58:00] local.INFO: GPS data processed {"connection_id":172689,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:58:00] local.INFO: Acknowledgment sent {"connection_id":172689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:58:04] local.INFO: TCP Data received {"connection_id":173844,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:58:04] local.INFO: Processing buffer {"connection_id":173844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756217b0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 11:58:04] local.INFO: Packet analysis {"connection_id":173844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:58:04] local.INFO: Extracted packet for processing {"connection_id":173844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07562"} 
[2026-09-06 11:58:04] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900916992001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58: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-09-06 11:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788675758000,"timestamp_ms":1788675758000,"timestamp_seconds":1788675758,"priority":1,"record_length":96,"hex_timestamp":"000001a0756217b0"} 
[2026-09-06 11:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 11:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-06 11:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900916992001,"66":26169,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900916992001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:58:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:58:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900916992001,"power":26169,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":173844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:58:04] local.INFO: GPS data processed {"connection_id":173844,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:58:04] local.INFO: Acknowledgment sent {"connection_id":173844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:58:09] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:58:09] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:58:09] local.INFO: IMEI packet received {"connection_id":175164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":175164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:58:13] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:58:13] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:58:13] local.INFO: IMEI packet received {"connection_id":175164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":175164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:58:14] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:58:14] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:58:14] local.INFO: IMEI packet received {"connection_id":175164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":175164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:58:15] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07565ada8012d20b780071d7ef00043006326..."} 
[2026-09-06 11:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07565ada8012d20b780071d7ef00043006326..."} 
[2026-09-06 11:58:15] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07565ada8012d20b780071d7ef00043006326..."} 
[2026-09-06 11:58:15] local.INFO: Packet analysis {"connection_id":175164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:58:15] local.INFO: Extracted packet for processing {"connection_id":175164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:58:15] local.INFO: GPS Element Parsed {"raw_longitude":757118848,"raw_latitude":119373552,"longitude_deg":75.7118848,"latitude_deg":11.9373552,"altitude":67,"angle":99,"satellites":38,"speed":16,"hex_longitude":"2d20b780","hex_latitude":"071d7ef0","is_valid_coordinates":true} 
[2026-09-06 11:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901052928001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18205773662257152,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2355804848139614208,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788675993000,"timestamp_ms":1788675993000,"timestamp_seconds":1788675993,"priority":1,"record_length":96,"hex_timestamp":"000001a07565ada8"} 
[2026-09-06 11:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-06 11:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987015441,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:15] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3590324224,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:15] local.WARNING: Large IO value detected {"io_id":160,"raw_value":16044422152066816,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:15] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2914648064,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:15] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503877414223872,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:15] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2383413312,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1027145934,"corrected_to":0} 
[2026-09-06 11:58:15] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837501,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:15] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84759561458097551,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:15] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,57,83,24,241,157,16,173,160,150,45,64,129,66,38,10,138,133,37,126,192,1,240,77,227,117,29,4,113,205,111,40,239,55,2,7,61,28,206,104],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1027145934,"validated":0}]} 
[2026-09-06 11:58:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4827982109052895232,"timestamp_seconds":4827982109052895.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:58:15] 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-09-06 11:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901052928001,"66":14070,"57":206,"83":41984,"24":16,"16":18205773662257152,"45":2355804848139614208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-06 11:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901052928001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:58:15] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-06 11:58:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18205773662257152,"km_value":18205773662257.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2355804848139614208,"description":"Unknown IO ID 45"} 
[2026-09-06 11:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901052928001,"power":14070,"unknown_57":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":2355804848139614208}} 
[2026-09-06 11:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":175164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:58:15] local.INFO: GPS data processed {"connection_id":175164,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:58:15] local.INFO: Acknowledgment sent {"connection_id":175164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:58:20] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07565f010012d20db80071d7c700042005f27..."} 
[2026-09-06 11:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07565f010012d20db80071d7c700042005f27..."} 
[2026-09-06 11:58:20] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07565f010012d20db80071d7c700042005f27..."} 
[2026-09-06 11:58:20] local.INFO: Packet analysis {"connection_id":175164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:58:20] local.INFO: Extracted packet for processing {"connection_id":175164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07565"} 
[2026-09-06 11:58:20] local.INFO: GPS Element Parsed {"raw_longitude":757128064,"raw_latitude":119372912,"longitude_deg":75.7128064,"latitude_deg":11.9372912,"altitude":66,"angle":95,"satellites":39,"speed":26,"hex_longitude":"2d20db80","hex_latitude":"071d7c70","is_valid_coordinates":true} 
[2026-09-06 11:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901054208001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18206216043888640,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2357493697999728640,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788676010000,"timestamp_ms":1788676010000,"timestamp_seconds":1788676010,"priority":1,"record_length":96,"hex_timestamp":"000001a07565f010"} 
[2026-09-06 11:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-06 11:58:20] 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-09-06 11:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:58:20] 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-09-06 11:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901054208001,"66":14374,"9":206,"83":41984,"24":26,"16":18206216043888640,"45":2357493697999728640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,83,24,16,45]} 
[2026-09-06 11:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901054208001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:58:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 11:58:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18206216043888640,"km_value":18206216043888.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2357493697999728640,"description":"Unknown IO ID 45"} 
[2026-09-06 11:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901054208001,"power":14374,"unknown_9":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":2357493697999728640}} 
[2026-09-06 11:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":175164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:58:20] local.INFO: GPS data processed {"connection_id":175164,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:58:20] local.INFO: Acknowledgment sent {"connection_id":175164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:58:29] local.INFO: TCP Data received {"connection_id":172688,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a075669bf0012c537a4009cafae00237014e2a..."} 
[2026-09-06 11:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075669bf0012c537a4009cafae00237014e2a..."} 
[2026-09-06 11:58:29] local.INFO: Processing buffer {"connection_id":172688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075669bf0012c537a4009cafae00237014e2a..."} 
[2026-09-06 11:58:29] local.INFO: Packet analysis {"connection_id":172688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 11:58:29] local.INFO: Extracted packet for processing {"connection_id":172688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 11:58:29] local.INFO: GPS Element Parsed {"raw_longitude":743668288,"raw_latitude":164297440,"longitude_deg":74.3668288,"latitude_deg":16.429744,"altitude":567,"angle":334,"satellites":42,"speed":52,"hex_longitude":"2c537a40","hex_latitude":"09cafae0","is_valid_coordinates":true} 
[2026-09-06 11:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901068032001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2493799745978368,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6019623893992067074,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788676054000,"timestamp_ms":1788676054000,"timestamp_seconds":1788676054,"priority":1,"record_length":96,"hex_timestamp":"000001a075669bf0"} 
[2026-09-06 11:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-06 11:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901068032001,"66":28158,"140":206,"9":7936,"24":52,"16":2493799745978368,"44":6019623893992067074},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-09-06 11:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901068032001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:58:29] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-09-06 11:58:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-09-06 11:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2493799745978368,"km_value":2493799745978.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":6019623893992067074,"description":"Unknown IO ID 44"} 
[2026-09-06 11:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901068032001,"power":28158,"unknown_140":206,"unknown_9":7936,"ignition":52,"odometer":null,"unknown_44":6019623893992067074}} 
[2026-09-06 11:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":172688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774135,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:58:29] local.INFO: GPS data processed {"connection_id":172688,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:58:29] local.INFO: Acknowledgment sent {"connection_id":172688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:58:31] local.INFO: TCP Data received {"connection_id":172689,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075675388012d7c85c005d17aa0000500521c..."} 
[2026-09-06 11:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075675388012d7c85c005d17aa0000500521c..."} 
[2026-09-06 11:58:31] local.INFO: Processing buffer {"connection_id":172689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075675388012d7c85c005d17aa0000500521c..."} 
[2026-09-06 11:58:31] local.INFO: Packet analysis {"connection_id":172689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07567"} 
[2026-09-06 11:58:31] local.INFO: Extracted packet for processing {"connection_id":172689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07567"} 
[2026-09-06 11:58:31] local.INFO: GPS Element Parsed {"raw_longitude":763135424,"raw_latitude":97614496,"longitude_deg":76.3135424,"latitude_deg":9.7614496,"altitude":5,"angle":82,"satellites":28,"speed":4,"hex_longitude":"2d7c85c0","hex_latitude":"05d17aa0","is_valid_coordinates":true} 
[2026-09-06 11:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901081344001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908328083390464,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972648226339069952,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788676101000,"timestamp_ms":1788676101000,"timestamp_seconds":1788676101,"priority":1,"record_length":96,"hex_timestamp":"000001a075675388"} 
[2026-09-06 11:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 11:58:31] 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-09-06 11:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:58:31] 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-09-06 11:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901081344001,"66":13646,"25":206,"85":15104,"24":4,"16":128908328083390464,"45":8972648226339069952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901081344001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:58:31] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:58:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908328083390464,"km_value":128908328083390.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972648226339069952,"description":"Unknown IO ID 45"} 
[2026-09-06 11:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901081344001,"power":13646,"unknown_25":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8972648226339069952}} 
[2026-09-06 11:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":172689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:58:31] local.INFO: GPS data processed {"connection_id":172689,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:58:31] local.INFO: Acknowledgment sent {"connection_id":172689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:58:48] local.INFO: TCP Data received {"connection_id":172468,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:58:48] local.INFO: Processing buffer {"connection_id":172468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:58:48] local.INFO: IMEI packet received {"connection_id":172468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":172468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:58:50] local.INFO: TCP Data received {"connection_id":172469,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:58:50] local.INFO: Processing buffer {"connection_id":172469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:58:50] local.INFO: IMEI packet received {"connection_id":172469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 11:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":172469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:58:51] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0756626c0012d210080071d7ac0003b005827..."} 
[2026-09-06 11:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756626c0012d210080071d7ac0003b005827..."} 
[2026-09-06 11:58:51] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756626c0012d210080071d7ac0003b005827..."} 
[2026-09-06 11:58:51] local.INFO: Packet analysis {"connection_id":175164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 11:58:51] local.INFO: Extracted packet for processing {"connection_id":175164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 11:58:51] local.INFO: GPS Element Parsed {"raw_longitude":757137536,"raw_latitude":119372480,"longitude_deg":75.7137536,"latitude_deg":11.937248,"altitude":59,"angle":88,"satellites":39,"speed":26,"hex_longitude":"2d210080","hex_latitude":"071d7ac0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 11:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901058560001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18206662720487424,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2367626797161148416,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788676024000,"timestamp_ms":1788676024000,"timestamp_seconds":1788676024,"priority":1,"record_length":96,"hex_timestamp":"000001a0756626c0"} 
[2026-09-06 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-09-06 11:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-06 11:58:51] 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-09-06 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-09-06 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-09-06 11:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:58:51] 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-09-06 11:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901058560001,"66":14363,"9":206,"83":41984,"24":26,"16":18206662720487424,"45":2367626797161148416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,83,24,16,45]} 
[2026-09-06 11:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901058560001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:58:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 11:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18206662720487424,"km_value":18206662720487.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2367626797161148416,"description":"Unknown IO ID 45"} 
[2026-09-06 11:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901058560001,"power":14363,"unknown_9":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":2367626797161148416}} 
[2026-09-06 11:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":175164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:58:51] local.INFO: GPS data processed {"connection_id":175164,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:58:51] local.INFO: Acknowledgment sent {"connection_id":175164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:58:53] local.INFO: TCP Data received {"connection_id":172468,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:58:53] local.INFO: Processing buffer {"connection_id":172468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:58:53] local.INFO: IMEI packet received {"connection_id":172468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":172468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:58:54] local.INFO: TCP Data received {"connection_id":172468,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 11:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 11:58:54] local.INFO: Processing buffer {"connection_id":172468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 11:58:54] local.INFO: Packet analysis {"connection_id":172468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 11:58:54] local.INFO: Extracted packet for processing {"connection_id":172468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 11:58:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900994048001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58: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-09-06 11:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788676059000,"timestamp_ms":1788676059000,"timestamp_seconds":1788676059,"priority":1,"record_length":96,"hex_timestamp":"000001a07566af78"} 
[2026-09-06 11:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:58: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-09-06 11:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-06 11:58:54] 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-09-06 11:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:58: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-09-06 11:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900994048001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900994048001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:58:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:58:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900994048001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":172468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:58:54] local.INFO: GPS data processed {"connection_id":172468,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:58:54] local.INFO: Acknowledgment sent {"connection_id":172468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:58:54] local.INFO: TCP Data received {"connection_id":173845,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:58:54] local.INFO: Processing buffer {"connection_id":173845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:58:54] local.INFO: IMEI packet received {"connection_id":173845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":173845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:58:55] local.INFO: TCP Data received {"connection_id":172469,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:58:55] local.INFO: Processing buffer {"connection_id":172469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 11:58:55] local.INFO: IMEI packet received {"connection_id":172469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 11:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":172469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:58:56] local.INFO: TCP Data received {"connection_id":172469,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a07566b748012c536a4009cb1bd00238014e2b..."} 
[2026-09-06 11:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07566b748012c536a4009cb1bd00238014e2b..."} 
[2026-09-06 11:58:56] local.INFO: Processing buffer {"connection_id":172469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07566b748012c536a4009cb1bd00238014e2b..."} 
[2026-09-06 11:58:56] local.INFO: Packet analysis {"connection_id":172469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 11:58:56] local.INFO: Extracted packet for processing {"connection_id":172469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 11:58:56] local.INFO: GPS Element Parsed {"raw_longitude":743664192,"raw_latitude":164305872,"longitude_deg":74.3664192,"latitude_deg":16.4305872,"altitude":568,"angle":334,"satellites":43,"speed":51,"hex_longitude":"2c536a40","hex_latitude":"09cb1bd0","is_valid_coordinates":true} 
[2026-09-06 11:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901069824001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2494250717544448,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6015190663111041026,"note":"Value kept but may cause issues"} 
[2026-09-06 11:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788676061000,"timestamp_ms":1788676061000,"timestamp_seconds":1788676061,"priority":1,"record_length":96,"hex_timestamp":"000001a07566b748"} 
[2026-09-06 11:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-06 11:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3029,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 11:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 11:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 11:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 11:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 11:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901069824001,"66":28028,"140":206,"9":7936,"24":51,"16":2494250717544448,"44":6015190663111041026},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,44]} 
[2026-09-06 11:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 11:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 11:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901069824001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:58:56] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-09-06 11:58:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":7936,"description":"Unknown IO ID 9"} 
[2026-09-06 11:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2494250717544448,"km_value":2494250717544.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:58:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":6015190663111041026,"description":"Unknown IO ID 44"} 
[2026-09-06 11:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901069824001,"power":28028,"unknown_140":206,"unknown_9":7936,"ignition":51,"odometer":null,"unknown_44":6015190663111041026}} 
[2026-09-06 11:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":172469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774139,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:58:56] local.INFO: GPS data processed {"connection_id":172469,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:58:56] local.INFO: Acknowledgment sent {"connection_id":172469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:58:59] local.INFO: TCP Data received {"connection_id":173845,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:58:59] local.INFO: Processing buffer {"connection_id":173845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:58:59] local.INFO: IMEI packet received {"connection_id":173845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":173845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:59:00] local.INFO: TCP Data received {"connection_id":173845,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075676328012d7c874005d17ac80004005f1c..."} 
[2026-09-06 11:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075676328012d7c874005d17ac80004005f1c..."} 
[2026-09-06 11:59:00] local.INFO: Processing buffer {"connection_id":173845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075676328012d7c874005d17ac80004005f1c..."} 
[2026-09-06 11:59:00] local.INFO: Packet analysis {"connection_id":173845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07567"} 
[2026-09-06 11:59:00] local.INFO: Extracted packet for processing {"connection_id":173845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07567"} 
[2026-09-06 11:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763135808,"raw_latitude":97614536,"longitude_deg":76.3135808,"latitude_deg":9.7614536,"altitude":4,"angle":95,"satellites":28,"speed":3,"hex_longitude":"2d7c8740","hex_latitude":"05d17ac8","is_valid_coordinates":true} 
[2026-09-06 11:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901081856001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908345263259648,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972788963827425280,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788676105000,"timestamp_ms":1788676105000,"timestamp_seconds":1788676105,"priority":1,"record_length":96,"hex_timestamp":"000001a075676328"} 
[2026-09-06 11:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 11:59:00] 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-09-06 11:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:59:00] 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-09-06 11:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901081856001,"66":13493,"25":206,"85":15104,"24":3,"16":128908345263259648,"45":8972788963827425280},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901081856001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:59:00] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:59:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908345263259648,"km_value":128908345263259.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972788963827425280,"description":"Unknown IO ID 45"} 
[2026-09-06 11:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901081856001,"power":13493,"unknown_25":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8972788963827425280}} 
[2026-09-06 11:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":173845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:59:00] local.INFO: GPS data processed {"connection_id":173845,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:59:00] local.INFO: Acknowledgment sent {"connection_id":173845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:59:09] local.INFO: TCP Data received {"connection_id":172690,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:59:09] local.INFO: Processing buffer {"connection_id":172690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:59:09] local.INFO: IMEI packet received {"connection_id":172690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 11:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":172690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:59:10] local.INFO: TCP Data received {"connection_id":172690,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:59:10] local.INFO: Processing buffer {"connection_id":172690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:59:10] local.INFO: IMEI packet received {"connection_id":172690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":172690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:59:14] local.INFO: TCP Data received {"connection_id":172690,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:59:14] local.INFO: Processing buffer {"connection_id":172690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 11:59:14] local.INFO: IMEI packet received {"connection_id":172690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 11:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":172690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:59:15] local.INFO: TCP Data received {"connection_id":172690,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0756724a8012d214240071dc9c8004f000322..."} 
[2026-09-06 11:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756724a8012d214240071dc9c8004f000322..."} 
[2026-09-06 11:59:15] local.INFO: Processing buffer {"connection_id":172690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756724a8012d214240071dc9c8004f000322..."} 
[2026-09-06 11:59:15] local.INFO: Packet analysis {"connection_id":172690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07567"} 
[2026-09-06 11:59:15] local.INFO: Extracted packet for processing {"connection_id":172690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07567"} 
[2026-09-06 11:59:15] local.INFO: GPS Element Parsed {"raw_longitude":757154368,"raw_latitude":119392712,"longitude_deg":75.7154368,"latitude_deg":11.9392712,"altitude":79,"angle":3,"satellites":34,"speed":11,"hex_longitude":"2d214240","hex_latitude":"071dc9c8","is_valid_coordinates":true} 
[2026-09-06 11:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901078016001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18208238973485056,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2396548351023020032,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788676089000,"timestamp_ms":1788676089000,"timestamp_seconds":1788676089,"priority":1,"record_length":96,"hex_timestamp":"000001a0756724a8"} 
[2026-09-06 11:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-06 11:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987015804,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:15] local.WARNING: Large IO value detected {"io_id":176,"raw_value":84760487023549827,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:15] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2944401408,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:15] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2701131776,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:15] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503877449482240,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:15] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2248671288,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1027145934,"corrected_to":0} 
[2026-09-06 11:59:15] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2147560737,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:15] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391933,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:15] local.WARNING: Large IO value detected {"io_id":192,"raw_value":15481429248969984,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:15] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,57,83,24,241,157,16,176,160,9,45,64,191,75,37,10,66,128,156,63,38,175,159,1,240,84,227,117,29,4,113,205,14,132,56,8,34,239,51,2,7,11,206,192],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1027145934,"validated":0}]} 
[2026-09-06 11:59:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548819724609781760,"timestamp_seconds":5548819724609782.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:59:15] 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-09-06 11:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901078016001,"66":14341,"57":206,"83":41984,"24":11,"16":18208238973485056,"45":2396548351023020032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-06 11:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901078016001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:59:15] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-06 11:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18208238973485056,"km_value":18208238973485.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2396548351023020032,"description":"Unknown IO ID 45"} 
[2026-09-06 11:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901078016001,"power":14341,"unknown_57":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":2396548351023020032}} 
[2026-09-06 11:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":172690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:59:15] local.INFO: GPS data processed {"connection_id":172690,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:59:15] local.INFO: Acknowledgment sent {"connection_id":172690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:59:25] local.INFO: TCP Data received {"connection_id":172468,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 11:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 11:59:25] local.INFO: Processing buffer {"connection_id":172468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 11:59:25] local.INFO: Packet analysis {"connection_id":172468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 11:59:25] local.INFO: Extracted packet for processing {"connection_id":172468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 11:59:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900994048001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11: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-09-06 11:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788676059000,"timestamp_ms":1788676059000,"timestamp_seconds":1788676059,"priority":1,"record_length":96,"hex_timestamp":"000001a07566af78"} 
[2026-09-06 11:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:59: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-09-06 11: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-06 11:59:25] 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-09-06 11: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-09-06 11:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:59: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-09-06 11:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900994048001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900994048001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:59:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:59:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900994048001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":172468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:59:25] local.INFO: GPS data processed {"connection_id":172468,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:59:25] local.INFO: Acknowledgment sent {"connection_id":172468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:59:31] local.INFO: TCP Data received {"connection_id":173845,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075676710012d7c880005d17ad8000400491c..."} 
[2026-09-06 11:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075676710012d7c880005d17ad8000400491c..."} 
[2026-09-06 11:59:31] local.INFO: Processing buffer {"connection_id":173845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075676710012d7c880005d17ad8000400491c..."} 
[2026-09-06 11:59:31] local.INFO: Packet analysis {"connection_id":173845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07567"} 
[2026-09-06 11:59:31] local.INFO: Extracted packet for processing {"connection_id":173845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07567"} 
[2026-09-06 11:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763136000,"raw_latitude":97614552,"longitude_deg":76.3136,"latitude_deg":9.7614552,"altitude":4,"angle":73,"satellites":28,"speed":4,"hex_longitude":"2d7c8800","hex_latitude":"05d17ad8","is_valid_coordinates":true} 
[2026-09-06 11:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 11:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901082880001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908353853194240,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973211176292501504,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788676106000,"timestamp_ms":1788676106000,"timestamp_seconds":1788676106,"priority":1,"record_length":96,"hex_timestamp":"000001a075676710"} 
[2026-09-06 11:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 11:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-06 11:59:31] 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-09-06 11:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 11:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 11:59:31] 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-09-06 11:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 11:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 11:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901082880001,"66":13493,"25":206,"85":15104,"24":4,"16":128908353853194240,"45":8973211176292501504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 11:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 11:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 11:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901082880001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:59:31] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 11:59:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 11:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908353853194240,"km_value":128908353853194.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973211176292501504,"description":"Unknown IO ID 45"} 
[2026-09-06 11:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901082880001,"power":13493,"unknown_25":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8973211176292501504}} 
[2026-09-06 11:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":173845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:59:31] local.INFO: GPS data processed {"connection_id":173845,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:59:31] local.INFO: Acknowledgment sent {"connection_id":173845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:59:48] local.INFO: TCP Data received {"connection_id":172470,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:59:48] local.INFO: Processing buffer {"connection_id":172470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:59:48] local.INFO: IMEI packet received {"connection_id":172470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 11:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":172470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:59:48] local.INFO: TCP Data received {"connection_id":172690,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075673830012d214340071dcf300050001225..."} 
[2026-09-06 11:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075673830012d214340071dcf300050001225..."} 
[2026-09-06 11:59:48] local.INFO: Processing buffer {"connection_id":172690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075673830012d214340071dcf300050001225..."} 
[2026-09-06 11:59:48] local.INFO: Packet analysis {"connection_id":172690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07567"} 
[2026-09-06 11:59:48] local.INFO: Extracted packet for processing {"connection_id":172690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07567"} 
[2026-09-06 11:59:48] local.INFO: GPS Element Parsed {"raw_longitude":757154624,"raw_latitude":119394096,"longitude_deg":75.7154624,"latitude_deg":11.9394096,"altitude":80,"angle":18,"satellites":37,"speed":12,"hex_longitude":"2d214340","hex_latitude":"071dcf30","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901078784001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18208307692961792,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2396548351023237120,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 11:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788676094000,"timestamp_ms":1788676094000,"timestamp_seconds":1788676094,"priority":1,"record_length":96,"hex_timestamp":"000001a075673830"} 
[2026-09-06 11:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:59:48] 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-09-06 11:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-06 11:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987015808,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:48] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2944663552,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:48] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503877449678848,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:48] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:48] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2402811963,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1027145934,"corrected_to":0} 
[2026-09-06 11:59:48] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391933,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:48] local.WARNING: Large IO value detected {"io_id":56,"raw_value":15762839784393472,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:48] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84760492392258948,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:48] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,57,83,24,241,157,16,176,160,45,64,198,77,36,10,66,9,191,75,37,128,1,240,153,227,175,117,29,4,113,205,17,136,8,35,239,51,2,7,56,12,206,152],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1027145934,"validated":0}]} 
[2026-09-06 11:59:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692553373560799232,"timestamp_seconds":5692553373560799.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 11:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":172690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":172690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":172690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 11:59:48] 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-09-06 11:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 11:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 11:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901078784001,"66":14048,"57":206,"83":41984,"24":12,"16":18208307692961792,"45":2396548351023237120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-06 11:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 11:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 11:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901078784001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:59:48] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-06 11:59:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 11:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18208307692961792,"km_value":18208307692961.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2396548351023237120,"description":"Unknown IO ID 45"} 
[2026-09-06 11:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901078784001,"power":14048,"unknown_57":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":2396548351023237120}} 
[2026-09-06 11:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":172690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:59:48] local.INFO: GPS data processed {"connection_id":172690,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:59:48] local.INFO: Acknowledgment sent {"connection_id":172690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:59:53] local.INFO: TCP Data received {"connection_id":172470,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:59:53] local.INFO: Processing buffer {"connection_id":172470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 11:59:53] local.INFO: IMEI packet received {"connection_id":172470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 11:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":172470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 11:59:54] local.INFO: TCP Data received {"connection_id":172470,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 11:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 11:59:54] local.INFO: Processing buffer {"connection_id":172470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 11:59:54] local.INFO: Packet analysis {"connection_id":172470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 11:59:54] local.INFO: Extracted packet for processing {"connection_id":172470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 11:59:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 11: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-09-06 11:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900994048001,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 11:59: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-09-06 11:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788676059000,"timestamp_ms":1788676059000,"timestamp_seconds":1788676059,"priority":1,"record_length":96,"hex_timestamp":"000001a07566af78"} 
[2026-09-06 11:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 11:59: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-09-06 11: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-06 11:59:54] 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-09-06 11: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-09-06 11:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 11:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 11:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 11:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 11:59: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-09-06 11:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 11:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 11:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900994048001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 11:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 11:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 11:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900994048001,"description":"Unknown IO ID 0"} 
[2026-09-06 11:59:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 11:59:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 11:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 11:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 11:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900994048001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 11:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":172470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 11:59:54] local.INFO: GPS data processed {"connection_id":172470,"processed":1,"errors":0,"total":1} 
[2026-09-06 11:59:54] local.INFO: Acknowledgment sent {"connection_id":172470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 11:59:55] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:59:55] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:59:55] local.INFO: IMEI packet received {"connection_id":173846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 11:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":173846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 11:59:59] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:59:59] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 11:59:59] local.INFO: IMEI packet received {"connection_id":173846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 11:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":173846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:00:01] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:00:01] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:00:01] local.INFO: IMEI packet received {"connection_id":173846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 12:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":173846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:00:02] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07567b530012d7c8e4005d17bd0000100501c..."} 
[2026-09-06 12:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07567b530012d7c8e4005d17bd0000100501c..."} 
[2026-09-06 12:00:02] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07567b530012d7c8e4005d17bd0000100501c..."} 
[2026-09-06 12:00:02] local.INFO: Packet analysis {"connection_id":173846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07567"} 
[2026-09-06 12:00:02] local.INFO: Extracted packet for processing {"connection_id":173846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07567"} 
[2026-09-06 12:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763137600,"raw_latitude":97614800,"longitude_deg":76.31376,"latitude_deg":9.76148,"altitude":1,"angle":80,"satellites":28,"speed":2,"hex_longitude":"2d7c8e40","hex_latitude":"05d17bd0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901083136001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908431162605568,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973422282525038592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788676126000,"timestamp_ms":1788676126000,"timestamp_seconds":1788676126,"priority":1,"record_length":96,"hex_timestamp":"000001a07567b530"} 
[2026-09-06 12:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-06 12:00:02] 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-09-06 12: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-09-06 12:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:00:02] 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-09-06 12:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901083136001,"66":13602,"25":206,"85":15104,"24":2,"16":128908431162605568,"45":8973422282525038592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 12:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901083136001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:00:02] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 12:00:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908431162605568,"km_value":128908431162605.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973422282525038592,"description":"Unknown IO ID 45"} 
[2026-09-06 12:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901083136001,"power":13602,"unknown_25":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8973422282525038592}} 
[2026-09-06 12:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":173846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:00:02] local.INFO: GPS data processed {"connection_id":173846,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:00:02] local.INFO: Acknowledgment sent {"connection_id":173846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:00:03] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075680738012d7c8fc005d17c00000100591c..."} 
[2026-09-06 12:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075680738012d7c8fc005d17c00000100591c..."} 
[2026-09-06 12:00:03] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075680738012d7c8fc005d17c00000100591c..."} 
[2026-09-06 12:00:03] local.INFO: Packet analysis {"connection_id":173846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07568"} 
[2026-09-06 12:00:03] local.INFO: Extracted packet for processing {"connection_id":173846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07568"} 
[2026-09-06 12:00:03] local.INFO: GPS Element Parsed {"raw_longitude":763137984,"raw_latitude":97614848,"longitude_deg":76.3137984,"latitude_deg":9.7614848,"altitude":1,"angle":89,"satellites":28,"speed":1,"hex_longitude":"2d7c8fc0","hex_latitude":"05d17c00","is_valid_coordinates":true} 
[2026-09-06 12:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901088256001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908452637442048,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975181501129543680,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788676147000,"timestamp_ms":1788676147000,"timestamp_seconds":1788676147,"priority":1,"record_length":96,"hex_timestamp":"000001a075680738"} 
[2026-09-06 12:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-06 12:00:03] 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-09-06 12:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:00:03] 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-09-06 12:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901088256001,"66":13656,"25":206,"85":15104,"24":1,"16":128908452637442048,"45":8975181501129543680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 12:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901088256001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:00:03] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 12:00:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908452637442048,"km_value":128908452637442.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975181501129543680,"description":"Unknown IO ID 45"} 
[2026-09-06 12:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901088256001,"power":13656,"unknown_25":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8975181501129543680}} 
[2026-09-06 12:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":173846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:00:04] local.INFO: GPS data processed {"connection_id":173846,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:00:04] local.INFO: Acknowledgment sent {"connection_id":173846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:00:14] local.INFO: TCP Data received {"connection_id":175165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:00:14] local.INFO: Processing buffer {"connection_id":175165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:00:14] local.INFO: IMEI packet received {"connection_id":175165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":175165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:00:19] local.INFO: TCP Data received {"connection_id":175165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:00:19] local.INFO: Processing buffer {"connection_id":175165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:00:19] local.INFO: IMEI packet received {"connection_id":175165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":175165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:00:20] local.INFO: TCP Data received {"connection_id":175165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075676328012d214580071ddf08004e000426..."} 
[2026-09-06 12:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075676328012d214580071ddf08004e000426..."} 
[2026-09-06 12:00:20] local.INFO: Processing buffer {"connection_id":175165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075676328012d214580071ddf08004e000426..."} 
[2026-09-06 12:00:20] local.INFO: Packet analysis {"connection_id":175165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07567"} 
[2026-09-06 12:00:20] local.INFO: Extracted packet for processing {"connection_id":175165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07567"} 
[2026-09-06 12:00:20] local.INFO: GPS Element Parsed {"raw_longitude":757155200,"raw_latitude":119398152,"longitude_deg":75.71552,"latitude_deg":11.9398152,"altitude":78,"angle":4,"satellites":38,"speed":16,"hex_longitude":"2d214580","hex_latitude":"071ddf08","is_valid_coordinates":true} 
[2026-09-06 12:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901080064001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18208505261457408,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2396829826000302080,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788676105000,"timestamp_ms":1788676105000,"timestamp_seconds":1788676105,"priority":1,"record_length":96,"hex_timestamp":"000001a075676328"} 
[2026-09-06 12:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-06 12:00:20] 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-09-06 12:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:00:20] 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-09-06 12:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901080064001,"66":13993,"132":206,"83":41984,"24":16,"16":18208505261457408,"45":2396829826000302080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-06 12:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901080064001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:00:20] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-06 12:00:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18208505261457408,"km_value":18208505261457.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2396829826000302080,"description":"Unknown IO ID 45"} 
[2026-09-06 12:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901080064001,"power":13993,"unknown_132":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":2396829826000302080}} 
[2026-09-06 12:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":175165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:00:20] local.INFO: GPS data processed {"connection_id":175165,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:00:20] local.INFO: Acknowledgment sent {"connection_id":175165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:00:26] local.INFO: TCP Data received {"connection_id":172470,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:00:26] local.INFO: Processing buffer {"connection_id":172470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:00:26] local.INFO: Packet analysis {"connection_id":172470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 12:00:26] local.INFO: Extracted packet for processing {"connection_id":172470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 12:00:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900994048001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788676059000,"timestamp_ms":1788676059000,"timestamp_seconds":1788676059,"priority":1,"record_length":96,"hex_timestamp":"000001a07566af78"} 
[2026-09-06 12:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-06 12:00:26] 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-09-06 12: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-09-06 12:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:00: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-09-06 12:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900994048001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900994048001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:00:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:00:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900994048001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":172470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:00:27] local.INFO: GPS data processed {"connection_id":172470,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:00:27] local.INFO: Acknowledgment sent {"connection_id":172470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:00:34] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075683230012d7c91c005d17be0000200641c..."} 
[2026-09-06 12:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075683230012d7c91c005d17be0000200641c..."} 
[2026-09-06 12:00:34] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075683230012d7c91c005d17be0000200641c..."} 
[2026-09-06 12:00:34] local.INFO: Packet analysis {"connection_id":173846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07568"} 
[2026-09-06 12:00:34] local.INFO: Extracted packet for processing {"connection_id":173846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07568"} 
[2026-09-06 12:00:34] local.INFO: GPS Element Parsed {"raw_longitude":763138496,"raw_latitude":97614816,"longitude_deg":76.3138496,"latitude_deg":9.7614816,"altitude":2,"angle":100,"satellites":28,"speed":2,"hex_longitude":"2d7c91c0","hex_latitude":"05d17be0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901093632001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908478407245824,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975603713594621952,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788676158000,"timestamp_ms":1788676158000,"timestamp_seconds":1788676158,"priority":1,"record_length":96,"hex_timestamp":"000001a075683230"} 
[2026-09-06 12:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":88,"data_length":795,"current_offset":136} 
[2026-09-06 12:00: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-09-06 12: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-09-06 12:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:00:34] 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-09-06 12:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901093632001,"66":13917,"25":206,"85":15104,"24":2,"16":128908478407245824,"45":8975603713594621952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 12:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901093632001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:00:34] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 12:00:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908478407245824,"km_value":128908478407245.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975603713594621952,"description":"Unknown IO ID 45"} 
[2026-09-06 12:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901093632001,"power":13917,"unknown_25":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8975603713594621952}} 
[2026-09-06 12:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":173846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:00:35] local.INFO: GPS data processed {"connection_id":173846,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:00:35] local.INFO: Acknowledgment sent {"connection_id":173846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:00:48] local.INFO: TCP Data received {"connection_id":172691,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:00:48] local.INFO: Processing buffer {"connection_id":172691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:00:48] local.INFO: IMEI packet received {"connection_id":172691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":172691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:00:53] local.INFO: TCP Data received {"connection_id":175165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07568d258012d213540071e5ad0005001602a..."} 
[2026-09-06 12:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07568d258012d213540071e5ad0005001602a..."} 
[2026-09-06 12:00:53] local.INFO: Processing buffer {"connection_id":175165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07568d258012d213540071e5ad0005001602a..."} 
[2026-09-06 12:00:53] local.INFO: Packet analysis {"connection_id":175165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07568"} 
[2026-09-06 12:00:53] local.INFO: Extracted packet for processing {"connection_id":175165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07568"} 
[2026-09-06 12:00:53] local.INFO: GPS Element Parsed {"raw_longitude":757151040,"raw_latitude":119429840,"longitude_deg":75.715104,"latitude_deg":11.942984,"altitude":80,"angle":352,"satellites":42,"speed":8,"hex_longitude":"2d213540","hex_latitude":"071e5ad0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901106176001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18210085809422336,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2392959545079511040,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788676199000,"timestamp_ms":1788676199000,"timestamp_seconds":1788676199,"priority":1,"record_length":96,"hex_timestamp":"000001a07568d258"} 
[2026-09-06 12:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 12:00:53] 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-09-06 12: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-09-06 12:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:00:53] 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-09-06 12:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901106176001,"66":14374,"132":206,"83":41984,"24":8,"16":18210085809422336,"45":2392959545079511040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-06 12:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901106176001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:00:53] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-06 12:00:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18210085809422336,"km_value":18210085809422.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2392959545079511040,"description":"Unknown IO ID 45"} 
[2026-09-06 12:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901106176001,"power":14374,"unknown_132":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":2392959545079511040}} 
[2026-09-06 12:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":175165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:00:53] local.INFO: GPS data processed {"connection_id":175165,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:00:53] local.INFO: Acknowledgment sent {"connection_id":175165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:00:53] local.INFO: TCP Data received {"connection_id":172691,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:00:53] local.INFO: Processing buffer {"connection_id":172691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:00:53] local.INFO: IMEI packet received {"connection_id":172691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":172691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:00:54] local.INFO: TCP Data received {"connection_id":172471,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:00:54] local.INFO: Processing buffer {"connection_id":172471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:00:54] local.INFO: IMEI packet received {"connection_id":172471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 12:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":172471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:00:55] local.INFO: TCP Data received {"connection_id":172691,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:00:55] local.INFO: Processing buffer {"connection_id":172691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:00:55] local.INFO: Packet analysis {"connection_id":172691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 12:00:55] local.INFO: Extracted packet for processing {"connection_id":172691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 12:00:55] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900994048001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00: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-09-06 12:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788676059000,"timestamp_ms":1788676059000,"timestamp_seconds":1788676059,"priority":1,"record_length":96,"hex_timestamp":"000001a07566af78"} 
[2026-09-06 12:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-06 12:00:55] 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-09-06 12:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900994048001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900994048001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:00:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:00:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900994048001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":172691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:00:55] local.INFO: GPS data processed {"connection_id":172691,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:00:55] local.INFO: Acknowledgment sent {"connection_id":172691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:00:55] local.INFO: TCP Data received {"connection_id":172471,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:00:55] local.INFO: Processing buffer {"connection_id":172471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:00:55] local.INFO: IMEI packet received {"connection_id":172471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 12:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":172471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:00:56] local.INFO: TCP Data received {"connection_id":172471,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075696ab0012d7ca64005d17f380002002f1c..."} 
[2026-09-06 12:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075696ab0012d7ca64005d17f380002002f1c..."} 
[2026-09-06 12:00:56] local.INFO: Processing buffer {"connection_id":172471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075696ab0012d7ca64005d17f380002002f1c..."} 
[2026-09-06 12:00:56] local.INFO: Packet analysis {"connection_id":172471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:00:56] local.INFO: Extracted packet for processing {"connection_id":172471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763143744,"raw_latitude":97615672,"longitude_deg":76.3143744,"latitude_deg":9.7615672,"altitude":2,"angle":47,"satellites":28,"speed":0,"hex_longitude":"2d7ca640","hex_latitude":"05d17f38","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901111808001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908753285152768,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981022106896345088,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788676238000,"timestamp_ms":1788676238000,"timestamp_seconds":1788676238,"priority":1,"record_length":96,"hex_timestamp":"000001a075696ab0"} 
[2026-09-06 12:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-06 12:00:56] 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-09-06 12: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-09-06 12:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:00:56] 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-09-06 12:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901111808001,"66":13613,"25":206,"85":15104,"24":0,"16":128908753285152768,"45":8981022106896345088},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 12:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901111808001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:00:56] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 12:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908753285152768,"km_value":128908753285152.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981022106896345088,"description":"Unknown IO ID 45"} 
[2026-09-06 12:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901111808001,"power":13613,"unknown_25":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8981022106896345088}} 
[2026-09-06 12:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":172471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:00:56] local.INFO: GPS data processed {"connection_id":172471,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:00:56] local.INFO: Acknowledgment sent {"connection_id":172471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:00:56] local.INFO: TCP Data received {"connection_id":172471,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075697668012d7ca74005d17fd0000200411c..."} 
[2026-09-06 12:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075697668012d7ca74005d17fd0000200411c..."} 
[2026-09-06 12:00:56] local.INFO: Processing buffer {"connection_id":172471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075697668012d7ca74005d17fd0000200411c..."} 
[2026-09-06 12:00:56] local.INFO: Packet analysis {"connection_id":172471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:00:56] local.INFO: Extracted packet for processing {"connection_id":172471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763144000,"raw_latitude":97615824,"longitude_deg":76.3144,"latitude_deg":9.7615824,"altitude":2,"angle":65,"satellites":28,"speed":2,"hex_longitude":"2d7ca740","hex_latitude":"05d17fd0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901116928001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908766170054656,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981936900570822656,"note":"Value kept but may cause issues"} 
[2026-09-06 12:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788676241000,"timestamp_ms":1788676241000,"timestamp_seconds":1788676241,"priority":1,"record_length":96,"hex_timestamp":"000001a075697668"} 
[2026-09-06 12:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-06 12:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:00:56] 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-09-06 12:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901116928001,"66":13580,"25":206,"85":15104,"24":2,"16":128908766170054656,"45":8981936900570822656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 12:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901116928001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:00:56] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 12:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908766170054656,"km_value":128908766170054.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981936900570822656,"description":"Unknown IO ID 45"} 
[2026-09-06 12:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901116928001,"power":13580,"unknown_25":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8981936900570822656}} 
[2026-09-06 12:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":172471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:00:57] local.INFO: GPS data processed {"connection_id":172471,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:00:57] local.INFO: Acknowledgment sent {"connection_id":172471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:00:57] local.INFO: TCP Data received {"connection_id":175166,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:00:57] local.INFO: Processing buffer {"connection_id":175166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:00:57] local.INFO: IMEI packet received {"connection_id":175166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":175166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:01:00] local.INFO: TCP Data received {"connection_id":175166,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:01:00] local.INFO: Processing buffer {"connection_id":175166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:01:00] local.INFO: IMEI packet received {"connection_id":175166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":175166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:01:05] local.INFO: TCP Data received {"connection_id":175166,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:01:05] local.INFO: Processing buffer {"connection_id":175166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:01:05] local.INFO: IMEI packet received {"connection_id":175166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":175166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:01:07] local.INFO: TCP Data received {"connection_id":173847,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:01:07] local.INFO: Processing buffer {"connection_id":173847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:01:07] local.INFO: IMEI packet received {"connection_id":173847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":173847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:01:07] local.INFO: TCP Data received {"connection_id":175166,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0756937e8012c51f4c009ce04a00227014e2a..."} 
[2026-09-06 12:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756937e8012c51f4c009ce04a00227014e2a..."} 
[2026-09-06 12:01:07] local.INFO: Processing buffer {"connection_id":175166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756937e8012c51f4c009ce04a00227014e2a..."} 
[2026-09-06 12:01:07] local.INFO: Packet analysis {"connection_id":175166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:01:07] local.INFO: Extracted packet for processing {"connection_id":175166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:01:07] local.INFO: GPS Element Parsed {"raw_longitude":743568576,"raw_latitude":164496544,"longitude_deg":74.3568576,"latitude_deg":16.4496544,"altitude":551,"angle":334,"satellites":42,"speed":59,"hex_longitude":"2c51f4c0","hex_latitude":"09ce04a0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901112064001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2504511394414592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5909919021870170114,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788676225000,"timestamp_ms":1788676225000,"timestamp_seconds":1788676225,"priority":1,"record_length":96,"hex_timestamp":"000001a0756937e8"} 
[2026-09-06 12:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 12:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175166,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175166,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901112064001,"66":28300,"165":206,"9":8448,"24":59,"16":2504511394414592,"44":5909919021870170114},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,9,24,16,44]} 
[2026-09-06 12:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901112064001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:01:07] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-06 12:01:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-06 12:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2504511394414592,"km_value":2504511394414.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:01:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":5909919021870170114,"description":"Unknown IO ID 44"} 
[2026-09-06 12:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901112064001,"power":28300,"unknown_165":206,"unknown_9":8448,"ignition":59,"odometer":null,"unknown_44":5909919021870170114}} 
[2026-09-06 12:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":175166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774155,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:01:08] local.INFO: GPS data processed {"connection_id":175166,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:01:08] local.INFO: Acknowledgment sent {"connection_id":175166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:01:09] local.INFO: TCP Data received {"connection_id":173847,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:01:09] local.INFO: Processing buffer {"connection_id":173847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:01:09] local.INFO: IMEI packet received {"connection_id":173847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":173847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:01:16] local.INFO: TCP Data received {"connection_id":173847,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:01:16] local.INFO: Processing buffer {"connection_id":173847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:01:16] local.INFO: IMEI packet received {"connection_id":173847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":173847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:01:17] local.INFO: TCP Data received {"connection_id":173847,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07568e9c8012d213580071e6148005200042a..."} 
[2026-09-06 12:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07568e9c8012d213580071e6148005200042a..."} 
[2026-09-06 12:01:17] local.INFO: Processing buffer {"connection_id":173847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07568e9c8012d213580071e6148005200042a..."} 
[2026-09-06 12:01:17] local.INFO: Packet analysis {"connection_id":173847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07568"} 
[2026-09-06 12:01:17] local.INFO: Extracted packet for processing {"connection_id":173847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07568"} 
[2026-09-06 12:01:17] local.INFO: GPS Element Parsed {"raw_longitude":757151104,"raw_latitude":119431496,"longitude_deg":75.7151104,"latitude_deg":11.9431496,"altitude":82,"angle":4,"satellites":42,"speed":10,"hex_longitude":"2d213580","hex_latitude":"071e6148","is_valid_coordinates":true} 
[2026-09-06 12:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901106944001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18210167413800960,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2392889176335503360,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788676205000,"timestamp_ms":1788676205000,"timestamp_seconds":1788676205,"priority":1,"record_length":96,"hex_timestamp":"000001a07568e9c8"} 
[2026-09-06 12:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:01: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-09-06 12:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-06 12:01:17] 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-09-06 12:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:01:17] 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-09-06 12:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901106944001,"66":14048,"132":206,"83":41984,"24":10,"16":18210167413800960,"45":2392889176335503360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-06 12:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901106944001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:01:17] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-06 12:01:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18210167413800960,"km_value":18210167413800.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2392889176335503360,"description":"Unknown IO ID 45"} 
[2026-09-06 12:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901106944001,"power":14048,"unknown_132":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":2392889176335503360}} 
[2026-09-06 12:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":173847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:01:17] local.INFO: GPS data processed {"connection_id":173847,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:01:17] local.INFO: Acknowledgment sent {"connection_id":173847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:01:26] local.INFO: TCP Data received {"connection_id":172691,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:01:26] local.INFO: Processing buffer {"connection_id":172691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:01:26] local.INFO: Packet analysis {"connection_id":172691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 12:01:26] local.INFO: Extracted packet for processing {"connection_id":172691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 12:01:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900994048001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01: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-09-06 12:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788676059000,"timestamp_ms":1788676059000,"timestamp_seconds":1788676059,"priority":1,"record_length":96,"hex_timestamp":"000001a07566af78"} 
[2026-09-06 12:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-06 12:01:26] 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-09-06 12:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:01: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-09-06 12:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900994048001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900994048001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:01:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:01:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900994048001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":172691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:01:26] local.INFO: GPS data processed {"connection_id":172691,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:01:26] local.INFO: Acknowledgment sent {"connection_id":172691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:01:28] local.INFO: TCP Data received {"connection_id":172471,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075698220012d7ca88005d180280002004c1c..."} 
[2026-09-06 12:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075698220012d7ca88005d180280002004c1c..."} 
[2026-09-06 12:01:28] local.INFO: Processing buffer {"connection_id":172471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075698220012d7ca88005d180280002004c1c..."} 
[2026-09-06 12:01:28] local.INFO: Packet analysis {"connection_id":172471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:01:28] local.INFO: Extracted packet for processing {"connection_id":172471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:01:28] local.INFO: GPS Element Parsed {"raw_longitude":763144320,"raw_latitude":97615912,"longitude_deg":76.314432,"latitude_deg":9.7615912,"altitude":2,"angle":76,"satellites":28,"speed":4,"hex_longitude":"2d7ca880","hex_latitude":"05d18028","is_valid_coordinates":true} 
[2026-09-06 12:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901117696001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128908783349923840,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982218375547572224,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788676244000,"timestamp_ms":1788676244000,"timestamp_seconds":1788676244,"priority":1,"record_length":96,"hex_timestamp":"000001a075698220"} 
[2026-09-06 12:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 12:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630841,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:28] local.WARNING: Large IO value detected {"io_id":249,"raw_value":3305111552,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:28] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:28] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-6863479434827005949,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3892869296652550144,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132260889,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2820210894,"corrected_to":0} 
[2026-09-06 12:01:28] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3758173564,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:28] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4190175232,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3514564608,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:28] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2017838754919665237,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:28] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,25,85,24,241,157,16,249,160,106,45,64,127,2,28,10,66,124,3,128,1,240,110,227,117,209,4,113,205,229,161,239,52,201,5,54,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2820210894,"validated":0}]} 
[2026-09-06 12:01:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144186776590876672,"timestamp_seconds":144186776590876.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 12:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:01:28] 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-09-06 12:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901117696001,"66":13798,"25":206,"85":15104,"24":4,"16":128908783349923840,"45":8982218375547572224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 12:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901117696001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:01:28] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 12:01:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128908783349923840,"km_value":128908783349923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982218375547572224,"description":"Unknown IO ID 45"} 
[2026-09-06 12:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901117696001,"power":13798,"unknown_25":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8982218375547572224}} 
[2026-09-06 12:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":172471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:01:28] local.INFO: GPS data processed {"connection_id":172471,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:01:28] local.INFO: Acknowledgment sent {"connection_id":172471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:01:48] local.INFO: TCP Data received {"connection_id":173848,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:01:48] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:01:48] local.INFO: IMEI packet received {"connection_id":173848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":173848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:01:48] local.INFO: TCP Data received {"connection_id":173847,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07569cc58012d215980071ea278004a001128..."} 
[2026-09-06 12:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07569cc58012d215980071ea278004a001128..."} 
[2026-09-06 12:01:48] local.INFO: Processing buffer {"connection_id":173847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07569cc58012d215980071ea278004a001128..."} 
[2026-09-06 12:01:48] local.INFO: Packet analysis {"connection_id":173847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:01:48] local.INFO: Extracted packet for processing {"connection_id":173847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:01:48] local.INFO: GPS Element Parsed {"raw_longitude":757160320,"raw_latitude":119448184,"longitude_deg":75.716032,"latitude_deg":11.9448184,"altitude":74,"angle":17,"satellites":40,"speed":17,"hex_longitude":"2d215980","hex_latitude":"071ea278","is_valid_coordinates":true} 
[2026-09-06 12:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901121024001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18211133781442560,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2400911213175748608,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788676263000,"timestamp_ms":1788676263000,"timestamp_seconds":1788676263,"priority":1,"record_length":96,"hex_timestamp":"000001a07569cc58"} 
[2026-09-06 12:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:01:48] 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-09-06 12:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-06 12:01:48] 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-09-06 12:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:01:48] 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-09-06 12:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901121024001,"66":14330,"132":206,"83":41984,"24":17,"16":18211133781442560,"45":2400911213175748608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-06 12:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901121024001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:01:48] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-06 12:01:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18211133781442560,"km_value":18211133781442.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2400911213175748608,"description":"Unknown IO ID 45"} 
[2026-09-06 12:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901121024001,"power":14330,"unknown_132":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":2400911213175748608}} 
[2026-09-06 12:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":173847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:01:48] local.INFO: GPS data processed {"connection_id":173847,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:01:48] local.INFO: Acknowledgment sent {"connection_id":173847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:01:53] local.INFO: TCP Data received {"connection_id":173848,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:01:53] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:01:53] local.INFO: IMEI packet received {"connection_id":173848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":173848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:01:54] local.INFO: TCP Data received {"connection_id":175168,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:01:54] local.INFO: Processing buffer {"connection_id":175168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:01:54] local.INFO: IMEI packet received {"connection_id":175168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":175168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:01:54] local.INFO: TCP Data received {"connection_id":173848,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:01:54] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:01:54] local.INFO: Packet analysis {"connection_id":173848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 12:01:54] local.INFO: Extracted packet for processing {"connection_id":173848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 12:01:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900994048001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788676059000,"timestamp_ms":1788676059000,"timestamp_seconds":1788676059,"priority":1,"record_length":96,"hex_timestamp":"000001a07566af78"} 
[2026-09-06 12:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:01: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-09-06 12: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-06 12:01:54] 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-09-06 12: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-09-06 12:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:01: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-09-06 12:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900994048001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900994048001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:01:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:01:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900994048001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":173848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:01:54] local.INFO: GPS data processed {"connection_id":173848,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:01:54] local.INFO: Acknowledgment sent {"connection_id":173848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:01:54] local.INFO: TCP Data received {"connection_id":175167,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:01:54] local.INFO: Processing buffer {"connection_id":175167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:01:54] local.INFO: IMEI packet received {"connection_id":175167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 12:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":175167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:01:55] local.INFO: TCP Data received {"connection_id":175168,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:01:55] local.INFO: Processing buffer {"connection_id":175168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:01:55] local.INFO: IMEI packet received {"connection_id":175168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":175168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:01:57] local.INFO: TCP Data received {"connection_id":175167,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:01:57] local.INFO: Processing buffer {"connection_id":175167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:01:57] local.INFO: IMEI packet received {"connection_id":175167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 12:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":175167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:01:58] local.INFO: TCP Data received {"connection_id":175167,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0756a31e8012d7cb70005d168380003009f1c..."} 
[2026-09-06 12:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756a31e8012d7cb70005d168380003009f1c..."} 
[2026-09-06 12:01:58] local.INFO: Processing buffer {"connection_id":175167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756a31e8012d7cb70005d168380003009f1c..."} 
[2026-09-06 12:01:58] local.INFO: Packet analysis {"connection_id":175167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756a"} 
[2026-09-06 12:01:58] local.INFO: Extracted packet for processing {"connection_id":175167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756a"} 
[2026-09-06 12:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763148032,"raw_latitude":97609784,"longitude_deg":76.3148032,"latitude_deg":9.7609784,"altitude":3,"angle":159,"satellites":28,"speed":18,"hex_longitude":"2d7cb700","hex_latitude":"05d16838","is_valid_coordinates":true} 
[2026-09-06 12:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901128192001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128909238616457216,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985877550244034560,"note":"Value kept but may cause issues"} 
[2026-09-06 12:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788676289000,"timestamp_ms":1788676289000,"timestamp_seconds":1788676289,"priority":1,"record_length":96,"hex_timestamp":"000001a0756a31e8"} 
[2026-09-06 12:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-06 12:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:01:58] 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-09-06 12:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901128192001,"66":13526,"25":206,"85":15104,"24":18,"16":128909238616457216,"45":8985877550244034560},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 12:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901128192001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:01:58] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 12:01:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128909238616457216,"km_value":128909238616457.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985877550244034560,"description":"Unknown IO ID 45"} 
[2026-09-06 12:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901128192001,"power":13526,"unknown_25":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8985877550244034560}} 
[2026-09-06 12:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":175167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:01:58] local.INFO: GPS data processed {"connection_id":175167,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:01:58] local.INFO: Acknowledgment sent {"connection_id":175167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:02:00] local.INFO: TCP Data received {"connection_id":175168,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:02:00] local.INFO: Processing buffer {"connection_id":175168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:02:00] local.INFO: IMEI packet received {"connection_id":175168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":175168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:02:04] local.INFO: TCP Data received {"connection_id":175168,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a075694f58012c51e4c009ce24100225014d2a..."} 
[2026-09-06 12:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075694f58012c51e4c009ce24100225014d2a..."} 
[2026-09-06 12:02:04] local.INFO: Processing buffer {"connection_id":175168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075694f58012c51e4c009ce24100225014d2a..."} 
[2026-09-06 12:02:04] local.INFO: Packet analysis {"connection_id":175168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:02:04] local.INFO: Extracted packet for processing {"connection_id":175168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:02:04] local.INFO: GPS Element Parsed {"raw_longitude":743564480,"raw_latitude":164504592,"longitude_deg":74.356448,"latitude_deg":16.4504592,"altitude":549,"angle":333,"satellites":42,"speed":59,"hex_longitude":"2c51e4c0","hex_latitude":"09ce2410","is_valid_coordinates":true} 
[2026-09-06 12:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901113600001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2504945186111488,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5905556159733211138,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788676231000,"timestamp_ms":1788676231000,"timestamp_seconds":1788676231,"priority":1,"record_length":96,"hex_timestamp":"000001a075694f58"} 
[2026-09-06 12:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-06 12:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175168,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175168,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901113600001,"66":27441,"165":206,"9":8448,"24":59,"16":2504945186111488,"44":5905556159733211138},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,9,24,16,44]} 
[2026-09-06 12:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901113600001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:02:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-06 12:02:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-06 12:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2504945186111488,"km_value":2504945186111.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:02:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":5905556159733211138,"description":"Unknown IO ID 44"} 
[2026-09-06 12:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901113600001,"power":27441,"unknown_165":206,"unknown_9":8448,"ignition":59,"odometer":null,"unknown_44":5905556159733211138}} 
[2026-09-06 12:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":175168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774162,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:02:04] local.INFO: GPS data processed {"connection_id":175168,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:02:04] local.INFO: Acknowledgment sent {"connection_id":175168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:02:09] local.INFO: TCP Data received {"connection_id":175169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:02:09] local.INFO: Processing buffer {"connection_id":175169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:02:09] local.INFO: IMEI packet received {"connection_id":175169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":175169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:02:09] local.INFO: TCP Data received {"connection_id":175169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:02:09] local.INFO: Processing buffer {"connection_id":175169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:02:09] local.INFO: IMEI packet received {"connection_id":175169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":175169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:02:10] local.INFO: TCP Data received {"connection_id":175168,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0756966c8012c51d48009ce43b00223014d2a..."} 
[2026-09-06 12:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756966c8012c51d48009ce43b00223014d2a..."} 
[2026-09-06 12:02:10] local.INFO: Processing buffer {"connection_id":175168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756966c8012c51d48009ce43b00223014d2a..."} 
[2026-09-06 12:02:10] local.INFO: Packet analysis {"connection_id":175168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:02:10] local.INFO: Extracted packet for processing {"connection_id":175168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:02:10] local.INFO: GPS Element Parsed {"raw_longitude":743560320,"raw_latitude":164512688,"longitude_deg":74.356032,"latitude_deg":16.4512688,"altitude":547,"angle":333,"satellites":42,"speed":59,"hex_longitude":"2c51d480","hex_latitude":"09ce43b0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901115136001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2505383272775680,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5901052560107900930,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788676237000,"timestamp_ms":1788676237000,"timestamp_seconds":1788676237,"priority":1,"record_length":96,"hex_timestamp":"000001a0756966c8"} 
[2026-09-06 12:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-06 12:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175168,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175168,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901115136001,"66":27245,"165":206,"9":8448,"24":59,"16":2505383272775680,"44":5901052560107900930},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,9,24,16,44]} 
[2026-09-06 12:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901115136001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:02:10] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-06 12:02:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-06 12:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2505383272775680,"km_value":2505383272775.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":5901052560107900930,"description":"Unknown IO ID 44"} 
[2026-09-06 12:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901115136001,"power":27245,"unknown_165":206,"unknown_9":8448,"ignition":59,"odometer":null,"unknown_44":5901052560107900930}} 
[2026-09-06 12:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":175168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:02:10] local.INFO: GPS data processed {"connection_id":175168,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:02:10] local.INFO: Acknowledgment sent {"connection_id":175168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:02:14] local.INFO: TCP Data received {"connection_id":175169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:02:14] local.INFO: Processing buffer {"connection_id":175169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:02:14] local.INFO: IMEI packet received {"connection_id":175169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":175169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:02:15] local.INFO: TCP Data received {"connection_id":175169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07569d428012d215a40071ea610004a016328..."} 
[2026-09-06 12:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07569d428012d215a40071ea610004a016328..."} 
[2026-09-06 12:02:15] local.INFO: Processing buffer {"connection_id":175169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07569d428012d215a40071ea610004a016328..."} 
[2026-09-06 12:02:15] local.INFO: Packet analysis {"connection_id":175169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:02:15] local.INFO: Extracted packet for processing {"connection_id":175169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:02:15] local.INFO: GPS Element Parsed {"raw_longitude":757160512,"raw_latitude":119449104,"longitude_deg":75.7160512,"latitude_deg":11.9449104,"altitude":74,"angle":355,"satellites":40,"speed":18,"hex_longitude":"2d215a40","hex_latitude":"071ea610","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901123328001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18211181026082816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2403092644245960704,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788676265000,"timestamp_ms":1788676265000,"timestamp_seconds":1788676265,"priority":1,"record_length":96,"hex_timestamp":"000001a07569d428"} 
[2026-09-06 12:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-06 12:02:15] 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-09-06 12:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:02:15] 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-09-06 12:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901123328001,"66":14396,"132":206,"83":41984,"24":18,"16":18211181026082816,"45":2403092644245960704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-06 12:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901123328001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:02:15] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-06 12:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18211181026082816,"km_value":18211181026082.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2403092644245960704,"description":"Unknown IO ID 45"} 
[2026-09-06 12:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901123328001,"power":14396,"unknown_132":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":2403092644245960704}} 
[2026-09-06 12:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":175169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:02:15] local.INFO: GPS data processed {"connection_id":175169,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:02:15] local.INFO: Acknowledgment sent {"connection_id":175169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:02:26] local.INFO: TCP Data received {"connection_id":173848,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:02:26] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:02:26] local.INFO: Packet analysis {"connection_id":173848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 12:02:26] local.INFO: Extracted packet for processing {"connection_id":173848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 12:02:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900994048001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788676059000,"timestamp_ms":1788676059000,"timestamp_seconds":1788676059,"priority":1,"record_length":96,"hex_timestamp":"000001a07566af78"} 
[2026-09-06 12:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-06 12:02:26] 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-09-06 12: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-09-06 12:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:02: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-09-06 12:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900994048001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900994048001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:02:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:02:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900994048001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":173848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:02:26] local.INFO: GPS data processed {"connection_id":173848,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:02:26] local.INFO: Acknowledgment sent {"connection_id":173848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:02:29] local.INFO: TCP Data received {"connection_id":175167,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0756a4958012d7cba4005d15e98000400ad1c..."} 
[2026-09-06 12:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756a4958012d7cba4005d15e98000400ad1c..."} 
[2026-09-06 12:02:29] local.INFO: Processing buffer {"connection_id":175167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756a4958012d7cba4005d15e98000400ad1c..."} 
[2026-09-06 12:02:29] local.INFO: Packet analysis {"connection_id":175167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756a"} 
[2026-09-06 12:02:29] local.INFO: Extracted packet for processing {"connection_id":175167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756a"} 
[2026-09-06 12:02:29] local.INFO: GPS Element Parsed {"raw_longitude":763148864,"raw_latitude":97607320,"longitude_deg":76.3148864,"latitude_deg":9.760732,"altitude":4,"angle":173,"satellites":28,"speed":15,"hex_longitude":"2d7cba40","hex_latitude":"05d15e98","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901129984001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128909363170508800,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986651606429218816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788676295000,"timestamp_ms":1788676295000,"timestamp_seconds":1788676295,"priority":1,"record_length":96,"hex_timestamp":"000001a0756a4958"} 
[2026-09-06 12:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-06 12:02:29] 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-09-06 12: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-09-06 12:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:02:29] 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-09-06 12:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901129984001,"66":13613,"25":206,"85":15104,"24":15,"16":128909363170508800,"45":8986651606429218816},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 12:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901129984001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:02:29] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 12:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128909363170508800,"km_value":128909363170508.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986651606429218816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901129984001,"power":13613,"unknown_25":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8986651606429218816}} 
[2026-09-06 12:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":175167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:02:29] local.INFO: GPS data processed {"connection_id":175167,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:02:29] local.INFO: Acknowledgment sent {"connection_id":175167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:02:46] local.INFO: TCP Data received {"connection_id":175169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0756a87d8012d214480071ec8e80051010727..."} 
[2026-09-06 12:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756a87d8012d214480071ec8e80051010727..."} 
[2026-09-06 12:02:46] local.INFO: Processing buffer {"connection_id":175169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756a87d8012d214480071ec8e80051010727..."} 
[2026-09-06 12:02:46] local.INFO: Packet analysis {"connection_id":175169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756a"} 
[2026-09-06 12:02:46] local.INFO: Extracted packet for processing {"connection_id":175169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756a"} 
[2026-09-06 12:02:46] local.INFO: GPS Element Parsed {"raw_longitude":757154944,"raw_latitude":119458024,"longitude_deg":75.7154944,"latitude_deg":11.9458024,"altitude":81,"angle":263,"satellites":39,"speed":20,"hex_longitude":"2d214480","hex_latitude":"071ec8e8","is_valid_coordinates":true} 
[2026-09-06 12:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901133824001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18211936940326912,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2400418631970056192,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788676311000,"timestamp_ms":1788676311000,"timestamp_seconds":1788676311,"priority":1,"record_length":96,"hex_timestamp":"000001a0756a87d8"} 
[2026-09-06 12:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:02:46] 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-09-06 12:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 12:02:46] 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-09-06 12:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:02:46] 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-09-06 12:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901133824001,"66":13798,"9":206,"83":41984,"24":20,"16":18211936940326912,"45":2400418631970056192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,83,24,16,45]} 
[2026-09-06 12:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901133824001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:02:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18211936940326912,"km_value":18211936940326.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2400418631970056192,"description":"Unknown IO ID 45"} 
[2026-09-06 12:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901133824001,"power":13798,"unknown_9":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":2400418631970056192}} 
[2026-09-06 12:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":175169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:02:46] local.INFO: GPS data processed {"connection_id":175169,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:02:46] local.INFO: Acknowledgment sent {"connection_id":175169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:02:48] local.INFO: TCP Data received {"connection_id":175170,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:02:48] local.INFO: Processing buffer {"connection_id":175170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:02:48] local.INFO: IMEI packet received {"connection_id":175170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":175170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:02:50] local.INFO: TCP Data received {"connection_id":173849,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:02:50] local.INFO: Processing buffer {"connection_id":173849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:02:50] local.INFO: IMEI packet received {"connection_id":173849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":173849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:02:53] local.INFO: TCP Data received {"connection_id":175170,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:02:53] local.INFO: Processing buffer {"connection_id":175170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:02:53] local.INFO: IMEI packet received {"connection_id":175170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":175170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:02:54] local.INFO: TCP Data received {"connection_id":175170,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:02:54] local.INFO: Processing buffer {"connection_id":175170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07566af78012d34c48006aa3e58000900a72d..."} 
[2026-09-06 12:02:54] local.INFO: Packet analysis {"connection_id":175170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 12:02:54] local.INFO: Extracted packet for processing {"connection_id":175170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07566"} 
[2026-09-06 12:02:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":45,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457900994048001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788676059000,"timestamp_ms":1788676059000,"timestamp_seconds":1788676059,"priority":1,"record_length":96,"hex_timestamp":"000001a07566af78"} 
[2026-09-06 12:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:02: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-09-06 12:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-06 12:02:54] 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-09-06 12:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:02: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-09-06 12:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457900994048001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457900994048001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:02:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:02:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457900994048001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":175170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:02:54] local.INFO: GPS data processed {"connection_id":175170,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:02:54] local.INFO: Acknowledgment sent {"connection_id":175170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:02:54] local.INFO: TCP Data received {"connection_id":172472,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:02:54] local.INFO: Processing buffer {"connection_id":172472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:02:54] local.INFO: IMEI packet received {"connection_id":172472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 12:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":172472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:02:55] local.INFO: TCP Data received {"connection_id":173849,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:02:55] local.INFO: Processing buffer {"connection_id":173849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:02:55] local.INFO: IMEI packet received {"connection_id":173849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":173849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:02:57] local.INFO: TCP Data received {"connection_id":173849,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a075697e38012c51c4c009ce63300221014f29..."} 
[2026-09-06 12:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075697e38012c51c4c009ce63300221014f29..."} 
[2026-09-06 12:02:57] local.INFO: Processing buffer {"connection_id":173849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075697e38012c51c4c009ce63300221014f29..."} 
[2026-09-06 12:02:57] local.INFO: Packet analysis {"connection_id":173849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:02:57] local.INFO: Extracted packet for processing {"connection_id":173849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07569"} 
[2026-09-06 12:02:57] local.INFO: GPS Element Parsed {"raw_longitude":743556288,"raw_latitude":164520752,"longitude_deg":74.3556288,"latitude_deg":16.4520752,"altitude":545,"angle":335,"satellites":41,"speed":58,"hex_longitude":"2c51c4c0","hex_latitude":"09ce6330","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901116672001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2505817064472576,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5896478591738425346,"note":"Value kept but may cause issues"} 
[2026-09-06 12:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788676243000,"timestamp_ms":1788676243000,"timestamp_seconds":1788676243,"priority":1,"record_length":96,"hex_timestamp":"000001a075697e38"} 
[2026-09-06 12:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:02: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-09-06 12:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-06 12:02:57] 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-09-06 12: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-09-06 12:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901116672001,"66":28256,"165":206,"9":8448,"24":58,"16":2505817064472576,"44":5896478591738425346},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,9,24,16,44]} 
[2026-09-06 12:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901116672001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:02:57] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-06 12:02:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-06 12:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2505817064472576,"km_value":2505817064472.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:02:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":5896478591738425346,"description":"Unknown IO ID 44"} 
[2026-09-06 12:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901116672001,"power":28256,"unknown_165":206,"unknown_9":8448,"ignition":58,"odometer":null,"unknown_44":5896478591738425346}} 
[2026-09-06 12:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":173849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774169,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:02:57] local.INFO: GPS data processed {"connection_id":173849,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:02:57] local.INFO: Acknowledgment sent {"connection_id":173849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:03:00] local.INFO: TCP Data received {"connection_id":172472,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:03:00] local.INFO: Processing buffer {"connection_id":172472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:03:00] local.INFO: IMEI packet received {"connection_id":172472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 12:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":172472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:03:00] local.INFO: TCP Data received {"connection_id":172472,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0756a9b60012d7cbb4005d15908000600ab1e..."} 
[2026-09-06 12:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756a9b60012d7cbb4005d15908000600ab1e..."} 
[2026-09-06 12:03:00] local.INFO: Processing buffer {"connection_id":172472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756a9b60012d7cbb4005d15908000600ab1e..."} 
[2026-09-06 12:03:00] local.INFO: Packet analysis {"connection_id":172472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756a"} 
[2026-09-06 12:03:00] local.INFO: Extracted packet for processing {"connection_id":172472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756a"} 
[2026-09-06 12:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763149120,"raw_latitude":97605896,"longitude_deg":76.314912,"latitude_deg":9.7605896,"altitude":6,"angle":171,"satellites":30,"speed":0,"hex_longitude":"2d7cbb40","hex_latitude":"05d15908","is_valid_coordinates":true} 
[2026-09-06 12:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901131520001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128909436184952832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987566400102897664,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788676316000,"timestamp_ms":1788676316000,"timestamp_seconds":1788676316,"priority":1,"record_length":96,"hex_timestamp":"000001a0756a9b60"} 
[2026-09-06 12:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-06 12:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:03:00] 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-09-06 12:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901131520001,"66":13602,"25":206,"85":15104,"24":0,"16":128909436184952832,"45":8987566400102897664},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 12:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901131520001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:03:00] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 12:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128909436184952832,"km_value":128909436184952.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987566400102897664,"description":"Unknown IO ID 45"} 
[2026-09-06 12:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901131520001,"power":13602,"unknown_25":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8987566400102897664}} 
[2026-09-06 12:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":172472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:03:00] local.INFO: GPS data processed {"connection_id":172472,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:03:00] local.INFO: Acknowledgment sent {"connection_id":172472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:03:10] local.INFO: TCP Data received {"connection_id":172692,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:03:10] local.INFO: Processing buffer {"connection_id":172692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:03:10] local.INFO: IMEI packet received {"connection_id":172692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":172692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:03:14] local.INFO: TCP Data received {"connection_id":172692,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:03:14] local.INFO: Processing buffer {"connection_id":172692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:03:14] local.INFO: IMEI packet received {"connection_id":172692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":172692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:03:15] local.INFO: TCP Data received {"connection_id":172692,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0756a8fa8012d214000071ec9380051011327..."} 
[2026-09-06 12:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756a8fa8012d214000071ec9380051011327..."} 
[2026-09-06 12:03:15] local.INFO: Processing buffer {"connection_id":172692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756a8fa8012d214000071ec9380051011327..."} 
[2026-09-06 12:03:15] local.INFO: Packet analysis {"connection_id":172692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756a"} 
[2026-09-06 12:03:15] local.INFO: Extracted packet for processing {"connection_id":172692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756a"} 
[2026-09-06 12:03:15] local.INFO: GPS Element Parsed {"raw_longitude":757153792,"raw_latitude":119458104,"longitude_deg":75.7153792,"latitude_deg":11.9458104,"altitude":81,"angle":275,"satellites":39,"speed":21,"hex_longitude":"2d214000","hex_latitude":"071ec938","is_valid_coordinates":true} 
[2026-09-06 12:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901135616001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18211988479934464,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2397181669737555968,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788676313000,"timestamp_ms":1788676313000,"timestamp_seconds":1788676313,"priority":1,"record_length":96,"hex_timestamp":"000001a0756a8fa8"} 
[2026-09-06 12:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 12:03:15] 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-09-06 12:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:03:15] 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-09-06 12:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901135616001,"66":13820,"9":206,"83":41984,"24":21,"16":18211988479934464,"45":2397181669737555968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,83,24,16,45]} 
[2026-09-06 12:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901135616001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:03:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18211988479934464,"km_value":18211988479934.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2397181669737555968,"description":"Unknown IO ID 45"} 
[2026-09-06 12:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901135616001,"power":13820,"unknown_9":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":2397181669737555968}} 
[2026-09-06 12:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":172692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:03:16] local.INFO: GPS data processed {"connection_id":172692,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:03:16] local.INFO: Acknowledgment sent {"connection_id":172692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:03:25] local.INFO: TCP Data received {"connection_id":175170,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:03:25] local.INFO: Processing buffer {"connection_id":175170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:03:25] local.INFO: Packet analysis {"connection_id":175170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:03:25] local.INFO: Extracted packet for processing {"connection_id":175170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901071104001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788676360000,"timestamp_ms":1788676360000,"timestamp_seconds":1788676360,"priority":1,"record_length":96,"hex_timestamp":"000001a0756b4740"} 
[2026-09-06 12:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:03: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-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:03: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-09-06 12:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901071104001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901071104001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901071104001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":175170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:03:25] local.INFO: GPS data processed {"connection_id":175170,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:03:25] local.INFO: Acknowledgment sent {"connection_id":175170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:03:29] local.INFO: TCP Data received {"connection_id":173849,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0756b6a68012c51260009cfc0800226014f29..."} 
[2026-09-06 12:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756b6a68012c51260009cfc0800226014f29..."} 
[2026-09-06 12:03:29] local.INFO: Processing buffer {"connection_id":173849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756b6a68012c51260009cfc0800226014f29..."} 
[2026-09-06 12:03:29] local.INFO: Packet analysis {"connection_id":173849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:03:29] local.INFO: Extracted packet for processing {"connection_id":173849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:03:29] local.INFO: GPS Element Parsed {"raw_longitude":743515648,"raw_latitude":164610176,"longitude_deg":74.3515648,"latitude_deg":16.4610176,"altitude":550,"angle":335,"satellites":41,"speed":41,"hex_longitude":"2c512600","hex_latitude":"09cfc080","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901147904001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2510567298301952,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5852005545440817154,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788676369000,"timestamp_ms":1788676369000,"timestamp_seconds":1788676369,"priority":1,"record_length":96,"hex_timestamp":"000001a0756b6a68"} 
[2026-09-06 12:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:03: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-09-06 12: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901147904001,"66":28234,"165":206,"9":8448,"24":41,"16":2510567298301952,"44":5852005545440817154},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,9,24,16,44]} 
[2026-09-06 12:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901147904001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:03:29] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-06 12:03:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-06 12:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2510567298301952,"km_value":2510567298301.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:03:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":5852005545440817154,"description":"Unknown IO ID 44"} 
[2026-09-06 12:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901147904001,"power":28234,"unknown_165":206,"unknown_9":8448,"ignition":41,"odometer":null,"unknown_44":5852005545440817154}} 
[2026-09-06 12:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":173849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:03:29] local.INFO: GPS data processed {"connection_id":173849,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:03:29] local.INFO: Acknowledgment sent {"connection_id":173849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:03:31] local.INFO: TCP Data received {"connection_id":172472,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0756aed68012d7cbb4005d15908000600ab22..."} 
[2026-09-06 12:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756aed68012d7cbb4005d15908000600ab22..."} 
[2026-09-06 12:03:31] local.INFO: Processing buffer {"connection_id":172472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756aed68012d7cbb4005d15908000600ab22..."} 
[2026-09-06 12:03:31] local.INFO: Packet analysis {"connection_id":172472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756a"} 
[2026-09-06 12:03:31] local.INFO: Extracted packet for processing {"connection_id":172472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756a"} 
[2026-09-06 12:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763149120,"raw_latitude":97605896,"longitude_deg":76.314912,"latitude_deg":9.7605896,"altitude":6,"angle":171,"satellites":34,"speed":0,"hex_longitude":"2d7cbb40","hex_latitude":"05d15908","is_valid_coordinates":true} 
[2026-09-06 12:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901136896001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128909436184952832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987847875079243776,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:31] 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-09-06 12:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788676337000,"timestamp_ms":1788676337000,"timestamp_seconds":1788676337,"priority":1,"record_length":96,"hex_timestamp":"000001a0756aed68"} 
[2026-09-06 12:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-06 12:03:31] 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-09-06 12:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:03:31] 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-09-06 12:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901136896001,"66":13830,"23":206,"85":15104,"24":0,"16":128909436184952832,"45":8987847875079243776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 12:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901136896001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:03:31] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 12:03:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128909436184952832,"km_value":128909436184952.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987847875079243776,"description":"Unknown IO ID 45"} 
[2026-09-06 12:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901136896001,"power":13830,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8987847875079243776}} 
[2026-09-06 12:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":172472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:03:31] local.INFO: GPS data processed {"connection_id":172472,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:03:31] local.INFO: Acknowledgment sent {"connection_id":172472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:03:48] local.INFO: TCP Data received {"connection_id":172473,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:03:48] local.INFO: Processing buffer {"connection_id":172473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:03:48] local.INFO: IMEI packet received {"connection_id":172473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":172473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:03:48] local.INFO: TCP Data received {"connection_id":172692,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0756a9f48012d213980071ec8e80052010629..."} 
[2026-09-06 12:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756a9f48012d213980071ec8e80052010629..."} 
[2026-09-06 12:03:48] local.INFO: Processing buffer {"connection_id":172692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756a9f48012d213980071ec8e80052010629..."} 
[2026-09-06 12:03:48] local.INFO: Packet analysis {"connection_id":172692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756a"} 
[2026-09-06 12:03:48] local.INFO: Extracted packet for processing {"connection_id":172692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756a"} 
[2026-09-06 12:03:48] local.INFO: GPS Element Parsed {"raw_longitude":757152128,"raw_latitude":119458024,"longitude_deg":75.7152128,"latitude_deg":11.9458024,"altitude":82,"angle":262,"satellites":41,"speed":11,"hex_longitude":"2d213980","hex_latitude":"071ec8e8","is_valid_coordinates":true} 
[2026-09-06 12:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901136128001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18212070084313088,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2395915032342378496,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788676317000,"timestamp_ms":1788676317000,"timestamp_seconds":1788676317,"priority":1,"record_length":96,"hex_timestamp":"000001a0756a9f48"} 
[2026-09-06 12:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:03:48] 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-09-06 12:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 12:03:48] 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-09-06 12:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":172692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":172692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":172692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:03:48] 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-09-06 12:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901136128001,"66":13993,"9":206,"83":41984,"24":11,"16":18212070084313088,"45":2395915032342378496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,83,24,16,45]} 
[2026-09-06 12:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901136128001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:03:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:03:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18212070084313088,"km_value":18212070084313.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2395915032342378496,"description":"Unknown IO ID 45"} 
[2026-09-06 12:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901136128001,"power":13993,"unknown_9":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":2395915032342378496}} 
[2026-09-06 12:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":172692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:03:48] local.INFO: GPS data processed {"connection_id":172692,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:03:48] local.INFO: Acknowledgment sent {"connection_id":172692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:03:51] local.INFO: TCP Data received {"connection_id":173850,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:03:51] local.INFO: Processing buffer {"connection_id":173850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:03:51] local.INFO: IMEI packet received {"connection_id":173850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":173850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:03:53] local.INFO: TCP Data received {"connection_id":172473,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:03:53] local.INFO: Processing buffer {"connection_id":172473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:03:53] local.INFO: IMEI packet received {"connection_id":172473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":172473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:03:54] local.INFO: TCP Data received {"connection_id":172473,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:03:54] local.INFO: Processing buffer {"connection_id":172473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:03:54] local.INFO: Packet analysis {"connection_id":172473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:03:54] local.INFO: Extracted packet for processing {"connection_id":172473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:03:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901071104001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03: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-09-06 12:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788676360000,"timestamp_ms":1788676360000,"timestamp_seconds":1788676360,"priority":1,"record_length":96,"hex_timestamp":"000001a0756b4740"} 
[2026-09-06 12:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:03: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-09-06 12:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:03:54] 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-09-06 12:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901071104001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901071104001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:03:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:03:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901071104001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":172473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:03:54] local.INFO: GPS data processed {"connection_id":172473,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:03:54] local.INFO: Acknowledgment sent {"connection_id":172473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:03:54] local.INFO: TCP Data received {"connection_id":173851,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:03:54] local.INFO: Processing buffer {"connection_id":173851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:03:54] local.INFO: IMEI packet received {"connection_id":173851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 12:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":173851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:03:55] local.INFO: TCP Data received {"connection_id":173850,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:03:55] local.INFO: Processing buffer {"connection_id":173850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:03:55] local.INFO: IMEI packet received {"connection_id":173850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":173850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:03:57] local.INFO: TCP Data received {"connection_id":173851,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:03:57] local.INFO: Processing buffer {"connection_id":173851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:03:57] local.INFO: IMEI packet received {"connection_id":173851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 12:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":173851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:03:58] local.INFO: TCP Data received {"connection_id":173850,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:03:58] local.INFO: Processing buffer {"connection_id":173850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:03:58] local.INFO: IMEI packet received {"connection_id":173850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":173850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:03:58] local.INFO: TCP Data received {"connection_id":173851,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0756b3f70012d7cbb4005d15908000600ab23..."} 
[2026-09-06 12:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756b3f70012d7cbb4005d15908000600ab23..."} 
[2026-09-06 12:03:58] local.INFO: Processing buffer {"connection_id":173851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756b3f70012d7cbb4005d15908000600ab23..."} 
[2026-09-06 12:03:58] local.INFO: Packet analysis {"connection_id":173851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:03:58] local.INFO: Extracted packet for processing {"connection_id":173851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763149120,"raw_latitude":97605896,"longitude_deg":76.314912,"latitude_deg":9.7605896,"altitude":6,"angle":171,"satellites":35,"speed":0,"hex_longitude":"2d7cbb40","hex_latitude":"05d15908","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901142272001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128909436184952832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987847875079243776,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788676358000,"timestamp_ms":1788676358000,"timestamp_seconds":1788676358,"priority":1,"record_length":96,"hex_timestamp":"000001a0756b3f70"} 
[2026-09-06 12:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-06 12:03:58] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1125908512571392,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627230295296,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2820210894,"corrected_to":0} 
[2026-09-06 12:03:58] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2147864955,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:58] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4195155968,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3514904576,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:58] local.WARNING: Large IO value detected {"io_id":223,"raw_value":-2305511520655637039,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:58] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2882305963679547392,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:58] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,23,85,24,241,157,16,250,160,155,45,64,89,6,30,10,66,25,73,94,4,28,49,1,240,214,227,117,209,113,205,3,179,32,239,53,2,201,5,223,130],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2820210894,"validated":0}]} 
[2026-09-06 12:03:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432533726744805376,"timestamp_seconds":432533726744805.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 12:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:03:58] 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-09-06 12:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901142272001,"66":13580,"23":206,"85":15104,"24":0,"16":128909436184952832,"45":8987847875079243776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 12:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901142272001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:03:58] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 12:03:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128909436184952832,"km_value":128909436184952.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987847875079243776,"description":"Unknown IO ID 45"} 
[2026-09-06 12:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901142272001,"power":13580,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8987847875079243776}} 
[2026-09-06 12:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":173851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:03:58] local.INFO: GPS data processed {"connection_id":173851,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:03:58] local.INFO: Acknowledgment sent {"connection_id":173851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:03:59] local.INFO: TCP Data received {"connection_id":173850,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0756b8d90012c5116c009cfe2600225015029..."} 
[2026-09-06 12:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756b8d90012c5116c009cfe2600225015029..."} 
[2026-09-06 12:03:59] local.INFO: Processing buffer {"connection_id":173850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756b8d90012c5116c009cfe2600225015029..."} 
[2026-09-06 12:03:59] local.INFO: Packet analysis {"connection_id":173850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:03:59] local.INFO: Extracted packet for processing {"connection_id":173850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:03:59] local.INFO: GPS Element Parsed {"raw_longitude":743511744,"raw_latitude":164618848,"longitude_deg":74.3511744,"latitude_deg":16.4618848,"altitude":549,"angle":336,"satellites":41,"speed":44,"hex_longitude":"2c5116c0","hex_latitude":"09cfe260","is_valid_coordinates":true} 
[2026-09-06 12:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901150464001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2511022564835328,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5847361208327372802,"note":"Value kept but may cause issues"} 
[2026-09-06 12:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788676378000,"timestamp_ms":1788676378000,"timestamp_seconds":1788676378,"priority":1,"record_length":96,"hex_timestamp":"000001a0756b8d90"} 
[2026-09-06 12:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:03: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-09-06 12:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-06 12:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901150464001,"66":28267,"165":206,"9":8448,"24":44,"16":2511022564835328,"44":5847361208327372802},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,9,24,16,44]} 
[2026-09-06 12:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901150464001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:03:59] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-06 12:03:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-06 12:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2511022564835328,"km_value":2511022564835.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:03:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":5847361208327372802,"description":"Unknown IO ID 44"} 
[2026-09-06 12:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901150464001,"power":28267,"unknown_165":206,"unknown_9":8448,"ignition":44,"odometer":null,"unknown_44":5847361208327372802}} 
[2026-09-06 12:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":173850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:03:59] local.INFO: GPS data processed {"connection_id":173850,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:03:59] local.INFO: Acknowledgment sent {"connection_id":173850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:04:02] local.INFO: TCP Data received {"connection_id":173850,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0756bacd0012c5108c009d004b0022501512a..."} 
[2026-09-06 12:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756bacd0012c5108c009d004b0022501512a..."} 
[2026-09-06 12:04:02] local.INFO: Processing buffer {"connection_id":173850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756bacd0012c5108c009d004b0022501512a..."} 
[2026-09-06 12:04:02] local.INFO: Packet analysis {"connection_id":173850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:04:02] local.INFO: Extracted packet for processing {"connection_id":173850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:04:02] local.INFO: GPS Element Parsed {"raw_longitude":743508160,"raw_latitude":164627632,"longitude_deg":74.350816,"latitude_deg":16.4627632,"altitude":549,"angle":337,"satellites":42,"speed":49,"hex_longitude":"2c5108c0","hex_latitude":"09d004b0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901152768001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2511482126336000,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5843068714934755330,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788676386000,"timestamp_ms":1788676386000,"timestamp_seconds":1788676386,"priority":1,"record_length":96,"hex_timestamp":"000001a0756bacd0"} 
[2026-09-06 12:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:04: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-09-06 12: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 12:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901152768001,"66":28234,"165":206,"9":8448,"24":49,"16":2511482126336000,"44":5843068714934755330},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,9,24,16,44]} 
[2026-09-06 12:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901152768001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:04:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-06 12:04:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-06 12:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2511482126336000,"km_value":2511482126336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:04:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":5843068714934755330,"description":"Unknown IO ID 44"} 
[2026-09-06 12:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901152768001,"power":28234,"unknown_165":206,"unknown_9":8448,"ignition":49,"odometer":null,"unknown_44":5843068714934755330}} 
[2026-09-06 12:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":173850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774179,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:04:02] local.INFO: GPS data processed {"connection_id":173850,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:04:02] local.INFO: Acknowledgment sent {"connection_id":173850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:04:09] local.INFO: TCP Data received {"connection_id":173852,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:04:09] local.INFO: Processing buffer {"connection_id":173852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:04:09] local.INFO: IMEI packet received {"connection_id":173852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":173852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:04:14] local.INFO: TCP Data received {"connection_id":173852,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:04:14] local.INFO: Processing buffer {"connection_id":173852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:04:14] local.INFO: IMEI packet received {"connection_id":173852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":173852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:04:15] local.INFO: TCP Data received {"connection_id":173852,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0756af150012d213500071ec7e80053010729..."} 
[2026-09-06 12:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756af150012d213500071ec7e80053010729..."} 
[2026-09-06 12:04:15] local.INFO: Processing buffer {"connection_id":173852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756af150012d213500071ec7e80053010729..."} 
[2026-09-06 12:04:15] local.INFO: Packet analysis {"connection_id":173852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756a"} 
[2026-09-06 12:04:15] local.INFO: Extracted packet for processing {"connection_id":173852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756a"} 
[2026-09-06 12:04:15] local.INFO: GPS Element Parsed {"raw_longitude":757150976,"raw_latitude":119457768,"longitude_deg":75.7150976,"latitude_deg":11.9457768,"altitude":83,"angle":263,"satellites":41,"speed":0,"hex_longitude":"2d213500","hex_latitude":"071ec7e8","is_valid_coordinates":true} 
[2026-09-06 12:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901137152001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18212130213855232,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2394085444993738752,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788676338000,"timestamp_ms":1788676338000,"timestamp_seconds":1788676338,"priority":1,"record_length":96,"hex_timestamp":"000001a0756af150"} 
[2026-09-06 12:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 12:04:15] 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-09-06 12:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:04:15] 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-09-06 12:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901137152001,"66":13939,"9":206,"83":41984,"24":0,"16":18212130213855232,"45":2394085444993738752},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,83,24,16,45]} 
[2026-09-06 12:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901137152001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:04:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18212130213855232,"km_value":18212130213855.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2394085444993738752,"description":"Unknown IO ID 45"} 
[2026-09-06 12:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901137152001,"power":13939,"unknown_9":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2394085444993738752}} 
[2026-09-06 12:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":173852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:04:15] local.INFO: GPS data processed {"connection_id":173852,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:04:15] local.INFO: Acknowledgment sent {"connection_id":173852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:04:25] local.INFO: TCP Data received {"connection_id":172473,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:04:25] local.INFO: Processing buffer {"connection_id":172473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:04:25] local.INFO: Packet analysis {"connection_id":172473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:04:25] local.INFO: Extracted packet for processing {"connection_id":172473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:04:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901071104001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788676360000,"timestamp_ms":1788676360000,"timestamp_seconds":1788676360,"priority":1,"record_length":96,"hex_timestamp":"000001a0756b4740"} 
[2026-09-06 12:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:04: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-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:04: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-09-06 12:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901071104001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901071104001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:04:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:04:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901071104001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":172473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:04:25] local.INFO: GPS data processed {"connection_id":172473,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:04:25] local.INFO: Acknowledgment sent {"connection_id":172473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:04:29] local.INFO: TCP Data received {"connection_id":173851,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0756b9178012d7cbb4005d15908000600ab23..."} 
[2026-09-06 12:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756b9178012d7cbb4005d15908000600ab23..."} 
[2026-09-06 12:04:29] local.INFO: Processing buffer {"connection_id":173851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756b9178012d7cbb4005d15908000600ab23..."} 
[2026-09-06 12:04:29] local.INFO: Packet analysis {"connection_id":173851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:04:29] local.INFO: Extracted packet for processing {"connection_id":173851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:04:29] local.INFO: GPS Element Parsed {"raw_longitude":763149120,"raw_latitude":97605896,"longitude_deg":76.314912,"latitude_deg":9.7605896,"altitude":6,"angle":171,"satellites":35,"speed":0,"hex_longitude":"2d7cbb40","hex_latitude":"05d15908","is_valid_coordinates":true} 
[2026-09-06 12:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901147648001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128909436184952832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987847875079243776,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788676379000,"timestamp_ms":1788676379000,"timestamp_seconds":1788676379,"priority":1,"record_length":96,"hex_timestamp":"000001a0756b9178"} 
[2026-09-06 12:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 12:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630841,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3892784634257211392,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:29] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635957600102425,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2820210894,"corrected_to":0} 
[2026-09-06 12:04:29] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2415996284,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:29] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3305164200,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:29] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:29] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4196532224,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3514507264,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:29] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-5620485937584668670,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:29] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026192827735290283,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:29] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755416621056241,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:29] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,23,85,24,241,157,16,250,160,237,45,64,89,6,34,10,66,155,30,25,73,1,240,227,117,209,4,113,205,18,22,180,248,28,239,53,2,201,5,11,124,52,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2820210894,"validated":0}]} 
[2026-09-06 12:04:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432533731039772672,"timestamp_seconds":432533731039772.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 12:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:04:29] 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-09-06 12:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901147648001,"66":13798,"23":206,"85":15104,"24":0,"16":128909436184952832,"45":8987847875079243776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 12:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901147648001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:04:29] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 12:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128909436184952832,"km_value":128909436184952.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987847875079243776,"description":"Unknown IO ID 45"} 
[2026-09-06 12:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901147648001,"power":13798,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8987847875079243776}} 
[2026-09-06 12:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":173851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:04:29] local.INFO: GPS data processed {"connection_id":173851,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:04:29] local.INFO: Acknowledgment sent {"connection_id":173851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:04:33] local.INFO: TCP Data received {"connection_id":173850,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0756bc828012c50fac009d024a0022401512a..."} 
[2026-09-06 12:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756bc828012c50fac009d024a0022401512a..."} 
[2026-09-06 12:04:33] local.INFO: Processing buffer {"connection_id":173850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756bc828012c50fac009d024a0022401512a..."} 
[2026-09-06 12:04:33] local.INFO: Packet analysis {"connection_id":173850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:04:33] local.INFO: Extracted packet for processing {"connection_id":173850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:04:33] local.INFO: GPS Element Parsed {"raw_longitude":743504576,"raw_latitude":164635808,"longitude_deg":74.3504576,"latitude_deg":16.4635808,"altitude":548,"angle":337,"satellites":42,"speed":51,"hex_longitude":"2c50fac0","hex_latitude":"09d024a0","is_valid_coordinates":true} 
[2026-09-06 12:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901154816001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2511911623065600,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5839128065263054850,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788676393000,"timestamp_ms":1788676393000,"timestamp_seconds":1788676393,"priority":1,"record_length":96,"hex_timestamp":"000001a0756bc828"} 
[2026-09-06 12:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:04: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-09-06 12:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-06 12:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901154816001,"66":28267,"165":206,"9":8448,"24":51,"16":2511911623065600,"44":5839128065263054850},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,9,24,16,44]} 
[2026-09-06 12:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901154816001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:04:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-06 12:04:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-06 12:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2511911623065600,"km_value":2511911623065.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:04:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":5839128065263054850,"description":"Unknown IO ID 44"} 
[2026-09-06 12:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901154816001,"power":28267,"unknown_165":206,"unknown_9":8448,"ignition":51,"odometer":null,"unknown_44":5839128065263054850}} 
[2026-09-06 12:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":173850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774183,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:04:34] local.INFO: GPS data processed {"connection_id":173850,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:04:34] local.INFO: Acknowledgment sent {"connection_id":173850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:04:46] local.INFO: TCP Data received {"connection_id":173852,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0756b4358012d213500071ec7e80053010727..."} 
[2026-09-06 12:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756b4358012d213500071ec7e80053010727..."} 
[2026-09-06 12:04:46] local.INFO: Processing buffer {"connection_id":173852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756b4358012d213500071ec7e80053010727..."} 
[2026-09-06 12:04:46] local.INFO: Packet analysis {"connection_id":173852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:04:46] local.INFO: Extracted packet for processing {"connection_id":173852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:04:46] local.INFO: GPS Element Parsed {"raw_longitude":757150976,"raw_latitude":119457768,"longitude_deg":75.7150976,"latitude_deg":11.9457768,"altitude":83,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d213500","hex_latitude":"071ec7e8","is_valid_coordinates":true} 
[2026-09-06 12:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901142528001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18212130213855232,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2392818807598475264,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788676359000,"timestamp_ms":1788676359000,"timestamp_seconds":1788676359,"priority":1,"record_length":96,"hex_timestamp":"000001a0756b4358"} 
[2026-09-06 12:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:04:46] 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-09-06 12:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-06 12:04:46] 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-09-06 12:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:04:46] 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-09-06 12:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901142528001,"66":13896,"57":206,"83":41984,"24":0,"16":18212130213855232,"45":2392818807598475264},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-06 12:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901142528001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:04:46] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-06 12:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18212130213855232,"km_value":18212130213855.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2392818807598475264,"description":"Unknown IO ID 45"} 
[2026-09-06 12:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901142528001,"power":13896,"unknown_57":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2392818807598475264}} 
[2026-09-06 12:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":173852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:04:46] local.INFO: GPS data processed {"connection_id":173852,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:04:46] local.INFO: Acknowledgment sent {"connection_id":173852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:04:47] local.INFO: TCP Data received {"connection_id":172474,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:04:47] local.INFO: Processing buffer {"connection_id":172474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:04:47] local.INFO: IMEI packet received {"connection_id":172474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":172474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:04:48] local.INFO: TCP Data received {"connection_id":175171,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:04:48] local.INFO: Processing buffer {"connection_id":175171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:04:48] local.INFO: IMEI packet received {"connection_id":175171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":175171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:04:50] local.INFO: TCP Data received {"connection_id":172474,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:04:50] local.INFO: Processing buffer {"connection_id":172474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:04:50] local.INFO: IMEI packet received {"connection_id":172474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":172474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:04:53] local.INFO: TCP Data received {"connection_id":175171,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:04:53] local.INFO: Processing buffer {"connection_id":175171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:04:53] local.INFO: IMEI packet received {"connection_id":175171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":175171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:04:54] local.INFO: TCP Data received {"connection_id":175171,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:04:54] local.INFO: Processing buffer {"connection_id":175171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:04:54] local.INFO: Packet analysis {"connection_id":175171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:04:54] local.INFO: Extracted packet for processing {"connection_id":175171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:04:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901071104001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788676360000,"timestamp_ms":1788676360000,"timestamp_seconds":1788676360,"priority":1,"record_length":96,"hex_timestamp":"000001a0756b4740"} 
[2026-09-06 12:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:04: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-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:04:54] 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-09-06 12:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901071104001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901071104001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:04:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:04:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901071104001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":175171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:04:54] local.INFO: GPS data processed {"connection_id":175171,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:04:54] local.INFO: Acknowledgment sent {"connection_id":175171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:04:55] local.INFO: TCP Data received {"connection_id":172693,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:04:55] local.INFO: Processing buffer {"connection_id":172693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:04:55] local.INFO: IMEI packet received {"connection_id":172693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 12:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":172693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:04:55] local.INFO: TCP Data received {"connection_id":172693,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:04:55] local.INFO: Processing buffer {"connection_id":172693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:04:55] local.INFO: IMEI packet received {"connection_id":172693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 12:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":172693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:04:55] local.INFO: TCP Data received {"connection_id":172474,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:04:55] local.INFO: Processing buffer {"connection_id":172474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:04:55] local.INFO: IMEI packet received {"connection_id":172474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":172474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:04:56] local.INFO: TCP Data received {"connection_id":172474,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0756be380012c50ebc009d04610022201502a..."} 
[2026-09-06 12:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756be380012c50ebc009d04610022201502a..."} 
[2026-09-06 12:04:56] local.INFO: Processing buffer {"connection_id":172474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756be380012c50ebc009d04610022201502a..."} 
[2026-09-06 12:04:56] local.INFO: Packet analysis {"connection_id":172474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:04:56] local.INFO: Extracted packet for processing {"connection_id":172474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:04:56] local.INFO: GPS Element Parsed {"raw_longitude":743500736,"raw_latitude":164644368,"longitude_deg":74.3500736,"latitude_deg":16.4644368,"altitude":546,"angle":336,"satellites":42,"speed":55,"hex_longitude":"2c50ebc0","hex_latitude":"09d04610","is_valid_coordinates":true} 
[2026-09-06 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-09-06 12:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901156608001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2512362594631680,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5835187415591198722,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788676400000,"timestamp_ms":1788676400000,"timestamp_seconds":1788676400,"priority":1,"record_length":96,"hex_timestamp":"000001a0756be380"} 
[2026-09-06 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-09-06 12:04: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-09-06 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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 12:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 12:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901156608001,"66":28256,"165":206,"9":8448,"24":55,"16":2512362594631680,"44":5835187415591198722},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,9,24,16,44]} 
[2026-09-06 12:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901156608001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:04:56] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-06 12:04:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-06 12:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2512362594631680,"km_value":2512362594631.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:04:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5835187415591198722,"description":"Unknown IO ID 44"} 
[2026-09-06 12:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901156608001,"power":28256,"unknown_165":206,"unknown_9":8448,"ignition":55,"odometer":null,"unknown_44":5835187415591198722}} 
[2026-09-06 12:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":172474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774186,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:04:56] local.INFO: GPS data processed {"connection_id":172474,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:04:56] local.INFO: Acknowledgment sent {"connection_id":172474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:04:57] local.INFO: TCP Data received {"connection_id":172474,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0756bfed8012c50dc0009d06a600222015029..."} 
[2026-09-06 12:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756bfed8012c50dc0009d06a600222015029..."} 
[2026-09-06 12:04:57] local.INFO: Processing buffer {"connection_id":172474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756bfed8012c50dc0009d06a600222015029..."} 
[2026-09-06 12:04:57] local.INFO: Packet analysis {"connection_id":172474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:04:57] local.INFO: Extracted packet for processing {"connection_id":172474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:04:57] local.INFO: GPS Element Parsed {"raw_longitude":743496704,"raw_latitude":164653664,"longitude_deg":74.3496704,"latitude_deg":16.4653664,"altitude":546,"angle":336,"satellites":41,"speed":57,"hex_longitude":"2c50dc00","hex_latitude":"09d06a60","is_valid_coordinates":true} 
[2026-09-06 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-09-06 12:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901158400001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2512847925936128,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5830965290942730242,"note":"Value kept but may cause issues"} 
[2026-09-06 12:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788676407000,"timestamp_ms":1788676407000,"timestamp_seconds":1788676407,"priority":1,"record_length":96,"hex_timestamp":"000001a0756bfed8"} 
[2026-09-06 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-09-06 12:04: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-09-06 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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 12:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 12:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901158400001,"66":28104,"165":206,"9":8448,"24":57,"16":2512847925936128,"44":5830965290942730242},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,9,24,16,44]} 
[2026-09-06 12:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901158400001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:04:57] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-06 12:04:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-06 12:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2512847925936128,"km_value":2512847925936.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:04:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":5830965290942730242,"description":"Unknown IO ID 44"} 
[2026-09-06 12:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901158400001,"power":28104,"unknown_165":206,"unknown_9":8448,"ignition":57,"odometer":null,"unknown_44":5830965290942730242}} 
[2026-09-06 12:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":172474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774187,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:04:57] local.INFO: GPS data processed {"connection_id":172474,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:04:57] local.INFO: Acknowledgment sent {"connection_id":172474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:04:59] local.INFO: TCP Data received {"connection_id":172693,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:04:59] local.INFO: Processing buffer {"connection_id":172693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:04:59] local.INFO: IMEI packet received {"connection_id":172693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 12:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":172693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:05:00] local.INFO: TCP Data received {"connection_id":172693,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0756ced20012d7cd34005d10b500007009026..."} 
[2026-09-06 12:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756ced20012d7cd34005d10b500007009026..."} 
[2026-09-06 12:05:00] local.INFO: Processing buffer {"connection_id":172693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756ced20012d7cd34005d10b500007009026..."} 
[2026-09-06 12:05:00] local.INFO: Packet analysis {"connection_id":172693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756c"} 
[2026-09-06 12:05:00] local.INFO: Extracted packet for processing {"connection_id":172693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756c"} 
[2026-09-06 12:05:00] local.INFO: GPS Element Parsed {"raw_longitude":763155264,"raw_latitude":97586000,"longitude_deg":76.3155264,"latitude_deg":9.7586,"altitude":7,"angle":144,"satellites":38,"speed":15,"hex_longitude":"2d7cd340","hex_latitude":"05d10b50","is_valid_coordinates":true} 
[2026-09-06 12:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901174528001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128910484156973056,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993618112097396736,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788676468000,"timestamp_ms":1788676468000,"timestamp_seconds":1788676468,"priority":1,"record_length":96,"hex_timestamp":"000001a0756ced20"} 
[2026-09-06 12:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-06 12:05:00] 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-09-06 12:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:05:00] 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-09-06 12:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901174528001,"66":13396,"25":206,"85":15104,"24":15,"16":128910484156973056,"45":8993618112097396736},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-09-06 12:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901174528001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:05:00] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-06 12:05:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128910484156973056,"km_value":128910484156973.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993618112097396736,"description":"Unknown IO ID 45"} 
[2026-09-06 12:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901174528001,"power":13396,"unknown_25":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8993618112097396736}} 
[2026-09-06 12:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":172693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:05:00] local.INFO: GPS data processed {"connection_id":172693,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:05:00] local.INFO: Acknowledgment sent {"connection_id":172693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:05:09] local.INFO: TCP Data received {"connection_id":172475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:05:09] local.INFO: Processing buffer {"connection_id":172475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:05:09] local.INFO: IMEI packet received {"connection_id":172475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":172475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:05:09] local.INFO: TCP Data received {"connection_id":172475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:05:09] local.INFO: Processing buffer {"connection_id":172475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:05:09] local.INFO: IMEI packet received {"connection_id":172475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":172475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:05:15] local.INFO: TCP Data received {"connection_id":172475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:05:15] local.INFO: Processing buffer {"connection_id":172475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:05:15] local.INFO: IMEI packet received {"connection_id":172475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":172475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:05:16] local.INFO: TCP Data received {"connection_id":172475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0756b9560012d213500071ec7e80053010728..."} 
[2026-09-06 12:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756b9560012d213500071ec7e80053010728..."} 
[2026-09-06 12:05:16] local.INFO: Processing buffer {"connection_id":172475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756b9560012d213500071ec7e80053010728..."} 
[2026-09-06 12:05:16] local.INFO: Packet analysis {"connection_id":172475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:05:16] local.INFO: Extracted packet for processing {"connection_id":172475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:05:16] local.INFO: GPS Element Parsed {"raw_longitude":757150976,"raw_latitude":119457768,"longitude_deg":75.7150976,"latitude_deg":11.9457768,"altitude":83,"angle":263,"satellites":40,"speed":0,"hex_longitude":"2d213500","hex_latitude":"071ec7e8","is_valid_coordinates":true} 
[2026-09-06 12:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901147904001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18212130213855232,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2392818807598475264,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788676380000,"timestamp_ms":1788676380000,"timestamp_seconds":1788676380,"priority":1,"record_length":96,"hex_timestamp":"000001a0756b9560"} 
[2026-09-06 12:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-06 12:05:16] 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-09-06 12:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:05:16] 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-09-06 12:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901147904001,"66":14352,"57":206,"83":41984,"24":0,"16":18212130213855232,"45":2392818807598475264},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-06 12:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901147904001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:05:16] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-06 12:05:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18212130213855232,"km_value":18212130213855.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2392818807598475264,"description":"Unknown IO ID 45"} 
[2026-09-06 12:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901147904001,"power":14352,"unknown_57":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2392818807598475264}} 
[2026-09-06 12:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":172475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:05:16] local.INFO: GPS data processed {"connection_id":172475,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:05:16] local.INFO: Acknowledgment sent {"connection_id":172475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:05:25] local.INFO: TCP Data received {"connection_id":175171,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:05:25] local.INFO: Processing buffer {"connection_id":175171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:05:25] local.INFO: Packet analysis {"connection_id":175171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:05:25] local.INFO: Extracted packet for processing {"connection_id":175171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901071104001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788676360000,"timestamp_ms":1788676360000,"timestamp_seconds":1788676360,"priority":1,"record_length":96,"hex_timestamp":"000001a0756b4740"} 
[2026-09-06 12:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:05: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-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:05: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-09-06 12:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901071104001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901071104001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:05:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901071104001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":175171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:05:25] local.INFO: GPS data processed {"connection_id":175171,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:05:25] local.INFO: Acknowledgment sent {"connection_id":175171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:05:28] local.INFO: TCP Data received {"connection_id":172474,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0756d4ec8012c500a8009d20220022e014b29..."} 
[2026-09-06 12:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756d4ec8012c500a8009d20220022e014b29..."} 
[2026-09-06 12:05:28] local.INFO: Processing buffer {"connection_id":172474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756d4ec8012c500a8009d20220022e014b29..."} 
[2026-09-06 12:05:28] local.INFO: Packet analysis {"connection_id":172474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:05:28] local.INFO: Extracted packet for processing {"connection_id":172474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:05:28] local.INFO: GPS Element Parsed {"raw_longitude":743443072,"raw_latitude":164758048,"longitude_deg":74.3443072,"latitude_deg":16.4758048,"altitude":558,"angle":331,"satellites":41,"speed":51,"hex_longitude":"2c500a80","hex_latitude":"09d20220","is_valid_coordinates":true} 
[2026-09-06 12:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901180416001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2518521577734144,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5772699970790727682,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788676493000,"timestamp_ms":1788676493000,"timestamp_seconds":1788676493,"priority":1,"record_length":96,"hex_timestamp":"000001a0756d4ec8"} 
[2026-09-06 12:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-06 12:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901180416001,"66":28202,"166":206,"9":8448,"24":51,"16":2518521577734144,"44":5772699970790727682},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,9,24,16,44]} 
[2026-09-06 12:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901180416001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:05:28] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-06 12:05:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-06 12:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2518521577734144,"km_value":2518521577734.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:05:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":5772699970790727682,"description":"Unknown IO ID 44"} 
[2026-09-06 12:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901180416001,"power":28202,"unknown_166":206,"unknown_9":8448,"ignition":51,"odometer":null,"unknown_44":5772699970790727682}} 
[2026-09-06 12:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":172474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:05:29] local.INFO: GPS data processed {"connection_id":172474,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:05:29] local.INFO: Acknowledgment sent {"connection_id":172474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:05:31] local.INFO: TCP Data received {"connection_id":172693,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0756db458012d7cd10005d099280004010b26..."} 
[2026-09-06 12:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756db458012d7cd10005d099280004010b26..."} 
[2026-09-06 12:05:31] local.INFO: Processing buffer {"connection_id":172693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756db458012d7cd10005d099280004010b26..."} 
[2026-09-06 12:05:31] local.INFO: Packet analysis {"connection_id":172693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:05:31] local.INFO: Extracted packet for processing {"connection_id":172693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763154688,"raw_latitude":97556776,"longitude_deg":76.3154688,"latitude_deg":9.7556776,"altitude":4,"angle":267,"satellites":38,"speed":9,"hex_longitude":"2d7cd100","hex_latitude":"05d09928","is_valid_coordinates":true} 
[2026-09-06 12:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901188608001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128911953035788288,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994181062042662912,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788676519000,"timestamp_ms":1788676519000,"timestamp_seconds":1788676519,"priority":1,"record_length":96,"hex_timestamp":"000001a0756db458"} 
[2026-09-06 12:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 12:05:31] 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-09-06 12:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:05:31] 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-09-06 12:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901188608001,"66":13656,"199":206,"85":15104,"24":9,"16":128911953035788288,"45":8994181062042662912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 12:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901188608001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:05:31] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 12:05:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128911953035788288,"km_value":128911953035788.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994181062042662912,"description":"Unknown IO ID 45"} 
[2026-09-06 12:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901188608001,"power":13656,"trip_odometer":0.206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8994181062042662912}} 
[2026-09-06 12:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":172693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:05:31] local.INFO: GPS data processed {"connection_id":172693,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:05:31] local.INFO: Acknowledgment sent {"connection_id":172693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:05:47] local.INFO: TCP Data received {"connection_id":172475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0756d6e08012d215980071ea498004200b828..."} 
[2026-09-06 12:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756d6e08012d215980071ea498004200b828..."} 
[2026-09-06 12:05:47] local.INFO: Processing buffer {"connection_id":172475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756d6e08012d215980071ea498004200b828..."} 
[2026-09-06 12:05:47] local.INFO: Packet analysis {"connection_id":172475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:05:47] local.INFO: Extracted packet for processing {"connection_id":172475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:05:47] local.INFO: GPS Element Parsed {"raw_longitude":757160320,"raw_latitude":119448728,"longitude_deg":75.716032,"latitude_deg":11.9448728,"altitude":66,"angle":184,"satellites":40,"speed":20,"hex_longitude":"2d215980","hex_latitude":"071ea498","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901182720001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18213826725937152,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2402459325549115392,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788676501000,"timestamp_ms":1788676501000,"timestamp_seconds":1788676501,"priority":1,"record_length":96,"hex_timestamp":"000001a0756d6e08"} 
[2026-09-06 12:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-06 12:05:47] 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-09-06 12: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-09-06 12:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":172475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":172475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":172475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:05:47] 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-09-06 12:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901182720001,"66":14428,"132":206,"83":41984,"24":20,"16":18213826725937152,"45":2402459325549115392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-06 12:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901182720001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:05:47] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-06 12:05:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18213826725937152,"km_value":18213826725937.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2402459325549115392,"description":"Unknown IO ID 45"} 
[2026-09-06 12:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901182720001,"power":14428,"unknown_132":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":2402459325549115392}} 
[2026-09-06 12:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":172475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:05:47] local.INFO: GPS data processed {"connection_id":172475,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:05:47] local.INFO: Acknowledgment sent {"connection_id":172475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:05:48] local.INFO: TCP Data received {"connection_id":172694,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:05:48] local.INFO: Processing buffer {"connection_id":172694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:05:48] local.INFO: IMEI packet received {"connection_id":172694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":172694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:05:50] local.INFO: TCP Data received {"connection_id":175172,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:05:50] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:05:50] local.INFO: IMEI packet received {"connection_id":175172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":175172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:05:53] local.INFO: TCP Data received {"connection_id":172694,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:05:53] local.INFO: Processing buffer {"connection_id":172694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:05:53] local.INFO: IMEI packet received {"connection_id":172694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":172694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:05:54] local.INFO: TCP Data received {"connection_id":172694,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:05:54] local.INFO: Processing buffer {"connection_id":172694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:05:54] local.INFO: Packet analysis {"connection_id":172694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:05:54] local.INFO: Extracted packet for processing {"connection_id":172694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:05:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901071104001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05: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-09-06 12:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788676360000,"timestamp_ms":1788676360000,"timestamp_seconds":1788676360,"priority":1,"record_length":96,"hex_timestamp":"000001a0756b4740"} 
[2026-09-06 12:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:05: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-09-06 12:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:05:54] 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-09-06 12:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901071104001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901071104001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:05:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:05:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901071104001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":172694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:05:54] local.INFO: GPS data processed {"connection_id":172694,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:05:54] local.INFO: Acknowledgment sent {"connection_id":172694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:05:54] local.INFO: TCP Data received {"connection_id":175172,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:05:54] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:05:54] local.INFO: IMEI packet received {"connection_id":175172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":175172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:05:54] local.INFO: TCP Data received {"connection_id":175173,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:05:54] local.INFO: Processing buffer {"connection_id":175173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:05:54] local.INFO: IMEI packet received {"connection_id":175173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 12:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":175173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:05:55] local.INFO: TCP Data received {"connection_id":175172,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:05:55] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:05:55] local.INFO: IMEI packet received {"connection_id":175172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":175172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:05:56] local.INFO: TCP Data received {"connection_id":175172,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0756d6a20012c4ffa0009d223d0022e015228..."} 
[2026-09-06 12:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756d6a20012c4ffa0009d223d0022e015228..."} 
[2026-09-06 12:05:56] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756d6a20012c4ffa0009d223d0022e015228..."} 
[2026-09-06 12:05:56] local.INFO: Packet analysis {"connection_id":175172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:05:56] local.INFO: Extracted packet for processing {"connection_id":175172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:05:56] local.INFO: GPS Element Parsed {"raw_longitude":743438848,"raw_latitude":164766672,"longitude_deg":74.3438848,"latitude_deg":16.4766672,"altitude":558,"angle":338,"satellites":40,"speed":56,"hex_longitude":"2c4ffa00","hex_latitude":"09d223d0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901182208001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2518981139234816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5767563052467757058,"note":"Value kept but may cause issues"} 
[2026-09-06 12:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788676500000,"timestamp_ms":1788676500000,"timestamp_seconds":1788676500,"priority":1,"record_length":96,"hex_timestamp":"000001a0756d6a20"} 
[2026-09-06 12:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:05: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-09-06 12: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-06 12:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901182208001,"66":28234,"166":206,"9":8448,"24":56,"16":2518981139234816,"44":5767563052467757058},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,9,24,16,44]} 
[2026-09-06 12:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901182208001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:05:56] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-06 12:05:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-06 12:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2518981139234816,"km_value":2518981139234.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:05:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5767563052467757058,"description":"Unknown IO ID 44"} 
[2026-09-06 12:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901182208001,"power":28234,"unknown_166":206,"unknown_9":8448,"ignition":56,"odometer":null,"unknown_44":5767563052467757058}} 
[2026-09-06 12:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":175172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774195,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:05:56] local.INFO: GPS data processed {"connection_id":175172,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:05:56] local.INFO: Acknowledgment sent {"connection_id":175172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:05:59] local.INFO: TCP Data received {"connection_id":175173,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:05:59] local.INFO: Processing buffer {"connection_id":175173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:05:59] local.INFO: IMEI packet received {"connection_id":175173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 12:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":175173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:06:00] local.INFO: TCP Data received {"connection_id":175173,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0756dc7e0012d7cc9c005d09898000600fe26..."} 
[2026-09-06 12:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756dc7e0012d7cc9c005d09898000600fe26..."} 
[2026-09-06 12:06:00] local.INFO: Processing buffer {"connection_id":175173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756dc7e0012d7cc9c005d09898000600fe26..."} 
[2026-09-06 12:06:00] local.INFO: Packet analysis {"connection_id":175173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:06:00] local.INFO: Extracted packet for processing {"connection_id":175173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:06:00] local.INFO: GPS Element Parsed {"raw_longitude":763152832,"raw_latitude":97556632,"longitude_deg":76.3152832,"latitude_deg":9.7556632,"altitude":6,"angle":254,"satellites":38,"speed":14,"hex_longitude":"2d7cc9c0","hex_latitude":"05d09898","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901188864001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128912038935134208,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993969955810125824,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788676524000,"timestamp_ms":1788676524000,"timestamp_seconds":1788676524,"priority":1,"record_length":96,"hex_timestamp":"000001a0756dc7e0"} 
[2026-09-06 12:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 12:06:00] 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-09-06 12: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-09-06 12:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:06:00] 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-09-06 12:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901188864001,"66":13820,"199":206,"85":15104,"24":14,"16":128912038935134208,"45":8993969955810125824},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 12:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901188864001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:06:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 12:06:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128912038935134208,"km_value":128912038935134.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993969955810125824,"description":"Unknown IO ID 45"} 
[2026-09-06 12:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901188864001,"power":13820,"trip_odometer":0.206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8993969955810125824}} 
[2026-09-06 12:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":175173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:06:00] local.INFO: GPS data processed {"connection_id":175173,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:06:00] local.INFO: Acknowledgment sent {"connection_id":175173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:06:06] local.INFO: TCP Data received {"connection_id":175172,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0756d8578012c4feb8009d247e0022d015229..."} 
[2026-09-06 12:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756d8578012c4feb8009d247e0022d015229..."} 
[2026-09-06 12:06:06] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756d8578012c4feb8009d247e0022d015229..."} 
[2026-09-06 12:06:06] local.INFO: Packet analysis {"connection_id":175172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:06:06] local.INFO: Extracted packet for processing {"connection_id":175172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:06:06] local.INFO: GPS Element Parsed {"raw_longitude":743435136,"raw_latitude":164775904,"longitude_deg":74.3435136,"latitude_deg":16.4775904,"altitude":557,"angle":338,"satellites":41,"speed":57,"hex_longitude":"2c4feb80","hex_latitude":"09d247e0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901184000001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2519462175571968,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5762918715354238978,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788676507000,"timestamp_ms":1788676507000,"timestamp_seconds":1788676507,"priority":1,"record_length":96,"hex_timestamp":"000001a0756d8578"} 
[2026-09-06 12:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-06 12:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901184000001,"66":28137,"166":206,"9":8448,"24":57,"16":2519462175571968,"44":5762918715354238978},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,9,24,16,44]} 
[2026-09-06 12:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901184000001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:06:06] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-06 12:06:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-06 12:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2519462175571968,"km_value":2519462175571.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:06:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":5762918715354238978,"description":"Unknown IO ID 44"} 
[2026-09-06 12:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901184000001,"power":28137,"unknown_166":206,"unknown_9":8448,"ignition":57,"odometer":null,"unknown_44":5762918715354238978}} 
[2026-09-06 12:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":175172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:06:06] local.INFO: GPS data processed {"connection_id":175172,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:06:06] local.INFO: Acknowledgment sent {"connection_id":175172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:06:09] local.INFO: TCP Data received {"connection_id":175174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:06:09] local.INFO: Processing buffer {"connection_id":175174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:06:09] local.INFO: IMEI packet received {"connection_id":175174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":175174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:06:10] local.INFO: TCP Data received {"connection_id":175174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:06:10] local.INFO: Processing buffer {"connection_id":175174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:06:10] local.INFO: IMEI packet received {"connection_id":175174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":175174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:06:14] local.INFO: TCP Data received {"connection_id":175174,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:06:14] local.INFO: Processing buffer {"connection_id":175174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:06:14] local.INFO: IMEI packet received {"connection_id":175174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":175174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:06:15] local.INFO: TCP Data received {"connection_id":175174,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0756d71f0012d215900071ea2b8004100cb28..."} 
[2026-09-06 12:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756d71f0012d215900071ea2b8004100cb28..."} 
[2026-09-06 12:06:15] local.INFO: Processing buffer {"connection_id":175174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756d71f0012d215900071ea2b8004100cb28..."} 
[2026-09-06 12:06:15] local.INFO: Packet analysis {"connection_id":175174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:06:15] local.INFO: Extracted packet for processing {"connection_id":175174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:06:15] local.INFO: GPS Element Parsed {"raw_longitude":757160192,"raw_latitude":119448248,"longitude_deg":75.7160192,"latitude_deg":11.9448248,"altitude":65,"angle":203,"satellites":40,"speed":20,"hex_longitude":"2d215900","hex_latitude":"071ea2b8","is_valid_coordinates":true} 
[2026-09-06 12:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901184256001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18213848200773632,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2403092644246099968,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788676502000,"timestamp_ms":1788676502000,"timestamp_seconds":1788676502,"priority":1,"record_length":96,"hex_timestamp":"000001a0756d71f0"} 
[2026-09-06 12:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 12:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:06:15] 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-09-06 12:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901184256001,"66":14428,"132":206,"83":41984,"24":20,"16":18213848200773632,"45":2403092644246099968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-06 12:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901184256001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:06:15] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-06 12:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18213848200773632,"km_value":18213848200773.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2403092644246099968,"description":"Unknown IO ID 45"} 
[2026-09-06 12:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901184256001,"power":14428,"unknown_132":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":2403092644246099968}} 
[2026-09-06 12:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":175174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:06:15] local.INFO: GPS data processed {"connection_id":175174,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:06:15] local.INFO: Acknowledgment sent {"connection_id":175174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:06:25] local.INFO: TCP Data received {"connection_id":172694,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:06:25] local.INFO: Processing buffer {"connection_id":172694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:06:25] local.INFO: Packet analysis {"connection_id":172694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:06:25] local.INFO: Extracted packet for processing {"connection_id":172694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:06:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901071104001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788676360000,"timestamp_ms":1788676360000,"timestamp_seconds":1788676360,"priority":1,"record_length":96,"hex_timestamp":"000001a0756b4740"} 
[2026-09-06 12:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:06: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-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:06: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-09-06 12:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901071104001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901071104001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:06:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:06:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901071104001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":172694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:06:25] local.INFO: GPS data processed {"connection_id":172694,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:06:25] local.INFO: Acknowledgment sent {"connection_id":172694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:06:31] local.INFO: TCP Data received {"connection_id":175173,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0756dd398012d7cc54005d097e00007010b26..."} 
[2026-09-06 12:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756dd398012d7cc54005d097e00007010b26..."} 
[2026-09-06 12:06:31] local.INFO: Processing buffer {"connection_id":175173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756dd398012d7cc54005d097e00007010b26..."} 
[2026-09-06 12:06:31] local.INFO: Packet analysis {"connection_id":175173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:06:31] local.INFO: Extracted packet for processing {"connection_id":175173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:06:31] local.INFO: GPS Element Parsed {"raw_longitude":763151680,"raw_latitude":97556448,"longitude_deg":76.315168,"latitude_deg":9.7556448,"altitude":7,"angle":267,"satellites":38,"speed":14,"hex_longitude":"2d7cc540","hex_latitude":"05d097e0","is_valid_coordinates":true} 
[2026-09-06 12:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901190144001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128912094769709056,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991929262228936704,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788676527000,"timestamp_ms":1788676527000,"timestamp_seconds":1788676527,"priority":1,"record_length":96,"hex_timestamp":"000001a0756dd398"} 
[2026-09-06 12:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 12:06:31] 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-09-06 12:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:06:31] 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-09-06 12:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901190144001,"66":13515,"199":206,"85":15104,"24":14,"16":128912094769709056,"45":8991929262228936704},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 12:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901190144001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:06:31] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 12:06:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128912094769709056,"km_value":128912094769709.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991929262228936704,"description":"Unknown IO ID 45"} 
[2026-09-06 12:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901190144001,"power":13515,"trip_odometer":0.206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8991929262228936704}} 
[2026-09-06 12:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":175173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:06:31] local.INFO: GPS data processed {"connection_id":175173,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:06:31] local.INFO: Acknowledgment sent {"connection_id":175173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:06:45] local.INFO: TCP Data received {"connection_id":175174,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0756d79c0012d215740071e9fb8004100d927..."} 
[2026-09-06 12:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756d79c0012d215740071e9fb8004100d927..."} 
[2026-09-06 12:06:45] local.INFO: Processing buffer {"connection_id":175174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756d79c0012d215740071e9fb8004100d927..."} 
[2026-09-06 12:06:45] local.INFO: Packet analysis {"connection_id":175174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:06:45] local.INFO: Extracted packet for processing {"connection_id":175174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756d"} 
[2026-09-06 12:06:45] local.INFO: GPS Element Parsed {"raw_longitude":757159744,"raw_latitude":119447480,"longitude_deg":75.7159744,"latitude_deg":11.944748,"altitude":65,"angle":217,"satellites":39,"speed":18,"hex_longitude":"2d215740","hex_latitude":"071e9fb8","is_valid_coordinates":true} 
[2026-09-06 12:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901184512001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18213891150446592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2402951906757621760,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788676504000,"timestamp_ms":1788676504000,"timestamp_seconds":1788676504,"priority":1,"record_length":96,"hex_timestamp":"000001a0756d79c0"} 
[2026-09-06 12:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:06: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-09-06 12:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 12:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:06:45] 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-09-06 12:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901184512001,"66":14428,"132":206,"83":41984,"24":18,"16":18213891150446592,"45":2402951906757621760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-06 12:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901184512001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:06:45] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-06 12:06:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18213891150446592,"km_value":18213891150446.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2402951906757621760,"description":"Unknown IO ID 45"} 
[2026-09-06 12:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901184512001,"power":14428,"unknown_132":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":2402951906757621760}} 
[2026-09-06 12:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":175174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:06:45] local.INFO: GPS data processed {"connection_id":175174,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:06:45] local.INFO: Acknowledgment sent {"connection_id":175174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:06:48] local.INFO: TCP Data received {"connection_id":173853,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:06:48] local.INFO: Processing buffer {"connection_id":173853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:06:48] local.INFO: IMEI packet received {"connection_id":173853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":173853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:06:53] local.INFO: TCP Data received {"connection_id":173853,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:06:53] local.INFO: Processing buffer {"connection_id":173853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:06:53] local.INFO: IMEI packet received {"connection_id":173853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":173853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:06:54] local.INFO: TCP Data received {"connection_id":173853,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:06:54] local.INFO: Processing buffer {"connection_id":173853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:06:54] local.INFO: Packet analysis {"connection_id":173853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:06:54] local.INFO: Extracted packet for processing {"connection_id":173853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:06:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901071104001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788676360000,"timestamp_ms":1788676360000,"timestamp_seconds":1788676360,"priority":1,"record_length":96,"hex_timestamp":"000001a0756b4740"} 
[2026-09-06 12:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:06: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-09-06 12:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:06:54] 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-09-06 12:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901071104001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901071104001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:06:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:06:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901071104001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":173853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:06:54] local.INFO: GPS data processed {"connection_id":173853,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:06:54] local.INFO: Acknowledgment sent {"connection_id":173853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:06:54] local.INFO: TCP Data received {"connection_id":172695,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:06:54] local.INFO: Processing buffer {"connection_id":172695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:06:54] local.INFO: IMEI packet received {"connection_id":172695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 12:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":172695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:06:55] local.INFO: TCP Data received {"connection_id":172695,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:06:55] local.INFO: Processing buffer {"connection_id":172695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:06:55] local.INFO: IMEI packet received {"connection_id":172695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 12:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":172695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:06:59] local.INFO: TCP Data received {"connection_id":172695,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:06:59] local.INFO: Processing buffer {"connection_id":172695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:06:59] local.INFO: IMEI packet received {"connection_id":172695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 12:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":172695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:07:00] local.INFO: TCP Data received {"connection_id":172695,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0756e1218012d7cbf0005d098300007011f26..."} 
[2026-09-06 12:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756e1218012d7cbf0005d098300007011f26..."} 
[2026-09-06 12:07:00] local.INFO: Processing buffer {"connection_id":172695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756e1218012d7cbf0005d098300007011f26..."} 
[2026-09-06 12:07:00] local.INFO: Packet analysis {"connection_id":172695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:07:00] local.INFO: Extracted packet for processing {"connection_id":172695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:07:00] local.INFO: GPS Element Parsed {"raw_longitude":763150080,"raw_latitude":97556528,"longitude_deg":76.315008,"latitude_deg":9.7556528,"altitude":7,"angle":287,"satellites":38,"speed":5,"hex_longitude":"2d7cbf00","hex_latitude":"05d09830","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901190912001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128912176374087680,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990662624833691648,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788676543000,"timestamp_ms":1788676543000,"timestamp_seconds":1788676543,"priority":1,"record_length":96,"hex_timestamp":"000001a0756e1218"} 
[2026-09-06 12:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-06 12:07:00] 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-09-06 12: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-09-06 12:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:07:00] 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-09-06 12:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901190912001,"66":13939,"199":206,"85":15104,"24":5,"16":128912176374087680,"45":8990662624833691648},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 12:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901190912001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:07:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 12:07:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128912176374087680,"km_value":128912176374087.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990662624833691648,"description":"Unknown IO ID 45"} 
[2026-09-06 12:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901190912001,"power":13939,"trip_odometer":0.206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8990662624833691648}} 
[2026-09-06 12:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":172695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:07:00] local.INFO: GPS data processed {"connection_id":172695,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:07:00] local.INFO: Acknowledgment sent {"connection_id":172695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:07:09] local.INFO: TCP Data received {"connection_id":172476,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:07:09] local.INFO: Processing buffer {"connection_id":172476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:07:09] local.INFO: IMEI packet received {"connection_id":172476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":172476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:07:13] local.INFO: TCP Data received {"connection_id":172476,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:07:13] local.INFO: Processing buffer {"connection_id":172476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:07:13] local.INFO: IMEI packet received {"connection_id":172476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":172476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:07:14] local.INFO: TCP Data received {"connection_id":172476,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:07:14] local.INFO: Processing buffer {"connection_id":172476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:07:14] local.INFO: IMEI packet received {"connection_id":172476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":172476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:07:14] local.INFO: TCP Data received {"connection_id":172476,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0756e3d10012d213600071e6698004c00b929..."} 
[2026-09-06 12:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756e3d10012d213600071e6698004c00b929..."} 
[2026-09-06 12:07:14] local.INFO: Processing buffer {"connection_id":172476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756e3d10012d213600071e6698004c00b929..."} 
[2026-09-06 12:07:14] local.INFO: Packet analysis {"connection_id":172476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:07:14] local.INFO: Extracted packet for processing {"connection_id":172476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:07:14] local.INFO: GPS Element Parsed {"raw_longitude":757151232,"raw_latitude":119432856,"longitude_deg":75.7151232,"latitude_deg":11.9432856,"altitude":76,"angle":185,"satellites":41,"speed":8,"hex_longitude":"2d213600","hex_latitude":"071e6698","is_valid_coordinates":true} 
[2026-09-06 12:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901196800001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18214750143905792,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2393381757545707520,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788676554000,"timestamp_ms":1788676554000,"timestamp_seconds":1788676554,"priority":1,"record_length":96,"hex_timestamp":"000001a0756e3d10"} 
[2026-09-06 12:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-06 12:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987017648,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:14] local.WARNING: Large IO value detected {"io_id":192,"raw_value":18859627286369792,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:14] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":49153,"corrected_to":0} 
[2026-09-06 12:07:14] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503877554208768,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1602486478,"corrected_to":0} 
[2026-09-06 12:07:14] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2147950214,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:14] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531167,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:14] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3049324544,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:14] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84760596545216138,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:14] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,132,83,24,241,157,16,182,160,33,45,107,74,41,10,66,2,192,113,72,246,1,240,169,227,117,30,4,205,184,78,176,40,239,54,64,7,67,22,206,112],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":246,"original":49153,"validated":0},{"io_id":205,"original":1602486478,"validated":0}]} 
[2026-09-06 12:07:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404536337024352256,"timestamp_seconds":5404536337024352.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 12:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:07:14] 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-09-06 12:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901196800001,"66":14265,"132":206,"83":41984,"24":8,"16":18214750143905792,"45":2393381757545707520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-06 12:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901196800001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:07:14] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-06 12:07:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18214750143905792,"km_value":18214750143905.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2393381757545707520,"description":"Unknown IO ID 45"} 
[2026-09-06 12:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901196800001,"power":14265,"unknown_132":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":2393381757545707520}} 
[2026-09-06 12:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":172476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:07:14] local.INFO: GPS data processed {"connection_id":172476,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:07:14] local.INFO: Acknowledgment sent {"connection_id":172476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:07:25] local.INFO: TCP Data received {"connection_id":172477,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:07:25] local.INFO: Processing buffer {"connection_id":172477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:07:25] local.INFO: IMEI packet received {"connection_id":172477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":172477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:07:25] local.INFO: TCP Data received {"connection_id":173853,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:07:25] local.INFO: Processing buffer {"connection_id":173853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:07:25] local.INFO: Packet analysis {"connection_id":173853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:07:25] local.INFO: Extracted packet for processing {"connection_id":173853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:07:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901071104001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788676360000,"timestamp_ms":1788676360000,"timestamp_seconds":1788676360,"priority":1,"record_length":96,"hex_timestamp":"000001a0756b4740"} 
[2026-09-06 12:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:07: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-09-06 12:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12: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-09-06 12:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901071104001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901071104001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:07:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:07:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901071104001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":173853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:07:25] local.INFO: GPS data processed {"connection_id":173853,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:07:25] local.INFO: Acknowledgment sent {"connection_id":173853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:07:31] local.INFO: TCP Data received {"connection_id":172695,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0756e21b8012d7cba0005d099080007011326..."} 
[2026-09-06 12:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756e21b8012d7cba0005d099080007011326..."} 
[2026-09-06 12:07:31] local.INFO: Processing buffer {"connection_id":172695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756e21b8012d7cba0005d099080007011326..."} 
[2026-09-06 12:07:31] local.INFO: Packet analysis {"connection_id":172695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:07:31] local.INFO: Extracted packet for processing {"connection_id":172695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:07:31] local.INFO: GPS Element Parsed {"raw_longitude":763148800,"raw_latitude":97556744,"longitude_deg":76.31488,"latitude_deg":9.7556744,"altitude":7,"angle":275,"satellites":38,"speed":22,"hex_longitude":"2d7cba00","hex_latitude":"05d09908","is_valid_coordinates":true} 
[2026-09-06 12:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901195008001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128912236503629824,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988903406229270528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788676547000,"timestamp_ms":1788676547000,"timestamp_seconds":1788676547,"priority":1,"record_length":96,"hex_timestamp":"000001a0756e21b8"} 
[2026-09-06 12:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-06 12:07:31] 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-09-06 12:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:07:31] 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-09-06 12:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901195008001,"66":13939,"199":206,"85":15104,"24":22,"16":128912236503629824,"45":8988903406229270528},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 12:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901195008001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:07:31] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 12:07:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128912236503629824,"km_value":128912236503629.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988903406229270528,"description":"Unknown IO ID 45"} 
[2026-09-06 12:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901195008001,"power":13939,"trip_odometer":0.206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8988903406229270528}} 
[2026-09-06 12:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":172695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:07:31] local.INFO: GPS data processed {"connection_id":172695,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:07:31] local.INFO: Acknowledgment sent {"connection_id":172695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:07:33] local.INFO: TCP Data received {"connection_id":172477,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:07:33] local.INFO: Processing buffer {"connection_id":172477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:07:33] local.INFO: IMEI packet received {"connection_id":172477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":172477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:07:34] local.INFO: TCP Data received {"connection_id":172477,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0756ebdf8012c4f500009d3cb60024101522a..."} 
[2026-09-06 12:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756ebdf8012c4f500009d3cb60024101522a..."} 
[2026-09-06 12:07:34] local.INFO: Processing buffer {"connection_id":172477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756ebdf8012c4f500009d3cb60024101522a..."} 
[2026-09-06 12:07:34] local.INFO: Packet analysis {"connection_id":172477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:07:34] local.INFO: Extracted packet for processing {"connection_id":172477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:07:34] local.INFO: GPS Element Parsed {"raw_longitude":743395328,"raw_latitude":164875104,"longitude_deg":74.3395328,"latitude_deg":16.4875104,"altitude":577,"angle":338,"satellites":42,"speed":41,"hex_longitude":"2c4f5000","hex_latitude":"09d3cb60","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901203968001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2524616136327168,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5719149356501147650,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788676587000,"timestamp_ms":1788676587000,"timestamp_seconds":1788676587,"priority":1,"record_length":96,"hex_timestamp":"000001a0756ebdf8"} 
[2026-09-06 12:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:07: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-09-06 12:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 12:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901203968001,"66":28234,"164":206,"9":8448,"24":41,"16":2524616136327168,"44":5719149356501147650},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,9,24,16,44]} 
[2026-09-06 12:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901203968001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:07:34] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-06 12:07:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-06 12:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2524616136327168,"km_value":2524616136327.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:07:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":5719149356501147650,"description":"Unknown IO ID 44"} 
[2026-09-06 12:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901203968001,"power":28234,"unknown_164":206,"unknown_9":8448,"ignition":41,"odometer":null,"unknown_44":5719149356501147650}} 
[2026-09-06 12:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":172477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:07:35] local.INFO: GPS data processed {"connection_id":172477,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:07:35] local.INFO: Acknowledgment sent {"connection_id":172477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:07:45] local.INFO: TCP Data received {"connection_id":172476,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0756e8f18012d213600071e53b0005500b82a..."} 
[2026-09-06 12:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756e8f18012d213600071e53b0005500b82a..."} 
[2026-09-06 12:07:45] local.INFO: Processing buffer {"connection_id":172476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756e8f18012d213600071e53b0005500b82a..."} 
[2026-09-06 12:07:45] local.INFO: Packet analysis {"connection_id":172476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:07:45] local.INFO: Extracted packet for processing {"connection_id":172476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:07:45] local.INFO: GPS Element Parsed {"raw_longitude":757151232,"raw_latitude":119428016,"longitude_deg":75.7151232,"latitude_deg":11.9428016,"altitude":85,"angle":184,"satellites":42,"speed":9,"hex_longitude":"2d213600","hex_latitude":"071e53b0","is_valid_coordinates":true} 
[2026-09-06 12:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901197824001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18214986367107072,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2393100282568808448,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788676575000,"timestamp_ms":1788676575000,"timestamp_seconds":1788676575,"priority":1,"record_length":96,"hex_timestamp":"000001a0756e8f18"} 
[2026-09-06 12:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:07: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-09-06 12:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-06 12:07:45] 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-09-06 12:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:07:45] 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-09-06 12:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901197824001,"66":14483,"132":206,"83":41984,"24":9,"16":18214986367107072,"45":2393100282568808448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-06 12:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901197824001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:07:45] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-06 12:07:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18214986367107072,"km_value":18214986367107.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2393100282568808448,"description":"Unknown IO ID 45"} 
[2026-09-06 12:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901197824001,"power":14483,"unknown_132":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":2393100282568808448}} 
[2026-09-06 12:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":172476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:07:45] local.INFO: GPS data processed {"connection_id":172476,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:07:45] local.INFO: Acknowledgment sent {"connection_id":172476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:07:48] local.INFO: TCP Data received {"connection_id":175175,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:07:48] local.INFO: Processing buffer {"connection_id":175175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:07:48] local.INFO: IMEI packet received {"connection_id":175175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":175175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:07:53] local.INFO: TCP Data received {"connection_id":175175,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:07:53] local.INFO: Processing buffer {"connection_id":175175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:07:53] local.INFO: IMEI packet received {"connection_id":175175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":175175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:07:54] local.INFO: TCP Data received {"connection_id":175175,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:07:54] local.INFO: Processing buffer {"connection_id":175175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756b4740012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:07:54] local.INFO: Packet analysis {"connection_id":175175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:07:54] local.INFO: Extracted packet for processing {"connection_id":175175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756b"} 
[2026-09-06 12:07:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901071104001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788676360000,"timestamp_ms":1788676360000,"timestamp_seconds":1788676360,"priority":1,"record_length":96,"hex_timestamp":"000001a0756b4740"} 
[2026-09-06 12:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:07: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-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:07:54] 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-09-06 12:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901071104001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901071104001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:07:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:07:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901071104001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":175175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:07:54] local.INFO: GPS data processed {"connection_id":175175,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:07:54] local.INFO: Acknowledgment sent {"connection_id":175175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:07:56] local.INFO: TCP Data received {"connection_id":175176,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:07:56] local.INFO: Processing buffer {"connection_id":175176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:07:56] local.INFO: IMEI packet received {"connection_id":175176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 12:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":175176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:07:57] local.INFO: TCP Data received {"connection_id":172696,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:07:57] local.INFO: Processing buffer {"connection_id":172696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:07:57] local.INFO: IMEI packet received {"connection_id":172696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":172696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:08:00] local.INFO: TCP Data received {"connection_id":175176,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:08:00] local.INFO: Processing buffer {"connection_id":175176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:08:00] local.INFO: IMEI packet received {"connection_id":175176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 12:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":175176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:08:04] local.INFO: TCP Data received {"connection_id":175176,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:08:04] local.INFO: Processing buffer {"connection_id":175176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:08:04] local.INFO: IMEI packet received {"connection_id":175176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 12:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":175176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:08:04] local.INFO: TCP Data received {"connection_id":175176,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0756feea8012d7bed0005d09770000a010227..."} 
[2026-09-06 12:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756feea8012d7bed0005d09770000a010227..."} 
[2026-09-06 12:08:04] local.INFO: Processing buffer {"connection_id":175176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756feea8012d7bed0005d09770000a010227..."} 
[2026-09-06 12:08:04] local.INFO: Packet analysis {"connection_id":175176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:08:04] local.INFO: Extracted packet for processing {"connection_id":175176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763096320,"raw_latitude":97556336,"longitude_deg":76.309632,"latitude_deg":9.7556336,"altitude":10,"angle":258,"satellites":39,"speed":21,"hex_longitude":"2d7bed00","hex_latitude":"05d09770","is_valid_coordinates":true} 
[2026-09-06 12:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901222912001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128914753354465280,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938308279165581312,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788676665000,"timestamp_ms":1788676665000,"timestamp_seconds":1788676665,"priority":1,"record_length":96,"hex_timestamp":"000001a0756feea8"} 
[2026-09-06 12:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:08: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-09-06 12:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-06 12:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:08:04] 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-09-06 12:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901222912001,"66":13820,"199":206,"85":15104,"24":21,"16":128914753354465280,"45":8938308279165581312},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 12:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901222912001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:08:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 12:08:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128914753354465280,"km_value":128914753354465.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938308279165581312,"description":"Unknown IO ID 45"} 
[2026-09-06 12:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901222912001,"power":13820,"trip_odometer":0.206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8938308279165581312}} 
[2026-09-06 12:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":175176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:08:04] local.INFO: GPS data processed {"connection_id":175176,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:08:04] local.INFO: Acknowledgment sent {"connection_id":175176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:08:05] local.INFO: TCP Data received {"connection_id":175176,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0756ffe48012d7be8c005d096a80009011828..."} 
[2026-09-06 12:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756ffe48012d7be8c005d096a80009011828..."} 
[2026-09-06 12:08:05] local.INFO: Processing buffer {"connection_id":175176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756ffe48012d7be8c005d096a80009011828..."} 
[2026-09-06 12:08:05] local.INFO: Packet analysis {"connection_id":175176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:08:05] local.INFO: Extracted packet for processing {"connection_id":175176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:08:05] local.INFO: GPS Element Parsed {"raw_longitude":763095232,"raw_latitude":97556136,"longitude_deg":76.3095232,"latitude_deg":9.7556136,"altitude":9,"angle":280,"satellites":40,"speed":7,"hex_longitude":"2d7be8c0","hex_latitude":"05d096a8","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901226240001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128914809189040128,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929793661119983616,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788676669000,"timestamp_ms":1788676669000,"timestamp_seconds":1788676669,"priority":1,"record_length":96,"hex_timestamp":"000001a0756ffe48"} 
[2026-09-06 12:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 12:08:05] 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-09-06 12: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-09-06 12:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:08:05] 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-09-06 12:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901226240001,"66":13798,"199":206,"85":15104,"24":7,"16":128914809189040128,"45":8929793661119983616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 12:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901226240001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:08:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 12:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128914809189040128,"km_value":128914809189040.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929793661119983616,"description":"Unknown IO ID 45"} 
[2026-09-06 12:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901226240001,"power":13798,"trip_odometer":0.206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8929793661119983616}} 
[2026-09-06 12:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":175176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:08:05] local.INFO: GPS data processed {"connection_id":175176,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:08:05] local.INFO: Acknowledgment sent {"connection_id":175176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:08:07] local.INFO: TCP Data received {"connection_id":172696,"ip":"117.225.190.252","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:08:07] local.INFO: Processing buffer {"connection_id":172696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:08:07] local.INFO: IMEI packet received {"connection_id":172696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":172696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:08:14] local.INFO: TCP Data received {"connection_id":172478,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:08:14] local.INFO: Processing buffer {"connection_id":172478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:08:14] local.INFO: IMEI packet received {"connection_id":172478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":172478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:08:19] local.INFO: TCP Data received {"connection_id":172478,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:08:19] local.INFO: Processing buffer {"connection_id":172478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:08:19] local.INFO: IMEI packet received {"connection_id":172478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":172478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:08:19] local.INFO: TCP Data received {"connection_id":172696,"ip":"117.225.190.252","data_length":795,"data_hex":"000000000000030f8e0a000001a0756ee120012c4f428009d3ed30024301522a..."} 
[2026-09-06 12:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756ee120012c4f428009d3ed30024301522a..."} 
[2026-09-06 12:08:19] local.INFO: Processing buffer {"connection_id":172696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756ee120012c4f428009d3ed30024301522a..."} 
[2026-09-06 12:08:19] local.INFO: Packet analysis {"connection_id":172696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:08:19] local.INFO: Extracted packet for processing {"connection_id":172696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:08:19] local.INFO: GPS Element Parsed {"raw_longitude":743391872,"raw_latitude":164883760,"longitude_deg":74.3391872,"latitude_deg":16.488376,"altitude":579,"angle":338,"satellites":42,"speed":41,"hex_longitude":"2c4f4280","hex_latitude":"09d3ed30","is_valid_coordinates":true} 
[2026-09-06 12:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901206272001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2525067107893248,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5715067969341186050,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788676596000,"timestamp_ms":1788676596000,"timestamp_seconds":1788676596,"priority":1,"record_length":96,"hex_timestamp":"000001a0756ee120"} 
[2026-09-06 12:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:08: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-09-06 12:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-06 12:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":172696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":172696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":172696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.190.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901206272001,"66":28158,"164":206,"9":8448,"24":41,"16":2525067107893248,"44":5715067969341186050},"client_ip":"117.225.190.252","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,9,24,16,44]} 
[2026-09-06 12:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901206272001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:08:19] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-06 12:08:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":8448,"description":"Unknown IO ID 9"} 
[2026-09-06 12:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2525067107893248,"km_value":2525067107893.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:08:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":5715067969341186050,"description":"Unknown IO ID 44"} 
[2026-09-06 12:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901206272001,"power":28158,"unknown_164":206,"unknown_9":8448,"ignition":41,"odometer":null,"unknown_44":5715067969341186050}} 
[2026-09-06 12:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":172696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774212,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:08:19] local.INFO: GPS data processed {"connection_id":172696,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:08:19] local.INFO: Acknowledgment sent {"connection_id":172696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:08:20] local.INFO: TCP Data received {"connection_id":172478,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0756ebdf8012d2135c0071e4620005700a92a..."} 
[2026-09-06 12:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756ebdf8012d2135c0071e4620005700a92a..."} 
[2026-09-06 12:08:20] local.INFO: Processing buffer {"connection_id":172478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756ebdf8012d2135c0071e4620005700a92a..."} 
[2026-09-06 12:08:20] local.INFO: Packet analysis {"connection_id":172478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:08:20] local.INFO: Extracted packet for processing {"connection_id":172478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:08:20] local.INFO: GPS Element Parsed {"raw_longitude":757151168,"raw_latitude":119424544,"longitude_deg":75.7151168,"latitude_deg":11.9424544,"altitude":87,"angle":169,"satellites":42,"speed":10,"hex_longitude":"2d2135c0","hex_latitude":"071e4620","is_valid_coordinates":true} 
[2026-09-06 12:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901203200001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18215153870831616,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2393100282567569408,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788676587000,"timestamp_ms":1788676587000,"timestamp_seconds":1788676587,"priority":1,"record_length":96,"hex_timestamp":"000001a0756ebdf8"} 
[2026-09-06 12:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-06 12:08:20] 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-09-06 12:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:08:20] 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-09-06 12:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901203200001,"66":14363,"132":206,"83":41984,"24":10,"16":18215153870831616,"45":2393100282567569408},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-06 12:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901203200001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:08:20] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-06 12:08:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18215153870831616,"km_value":18215153870831.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2393100282567569408,"description":"Unknown IO ID 45"} 
[2026-09-06 12:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901203200001,"power":14363,"unknown_132":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":2393100282567569408}} 
[2026-09-06 12:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":172478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:08:20] local.INFO: GPS data processed {"connection_id":172478,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:08:20] local.INFO: Acknowledgment sent {"connection_id":172478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:08:23] local.INFO: TCP Data received {"connection_id":172478,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0756edd38012d2139c0071e3b40005800992a..."} 
[2026-09-06 12:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756edd38012d2139c0071e3b40005800992a..."} 
[2026-09-06 12:08:23] local.INFO: Processing buffer {"connection_id":172478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756edd38012d2139c0071e3b40005800992a..."} 
[2026-09-06 12:08:23] local.INFO: Packet analysis {"connection_id":172478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:08:23] local.INFO: Extracted packet for processing {"connection_id":172478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:08:23] local.INFO: GPS Element Parsed {"raw_longitude":757152192,"raw_latitude":119421760,"longitude_deg":75.7152192,"latitude_deg":11.942176,"altitude":88,"angle":153,"satellites":42,"speed":11,"hex_longitude":"2d2139c0","hex_latitude":"071e3b40","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901206272001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18215295604752384,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2393029913822502912,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788676595000,"timestamp_ms":1788676595000,"timestamp_seconds":1788676595,"priority":1,"record_length":96,"hex_timestamp":"000001a0756edd38"} 
[2026-09-06 12:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-06 12:08:23] 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-09-06 12: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-09-06 12:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:08:23] 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-09-06 12:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901206272001,"66":14341,"132":206,"83":41984,"24":11,"16":18215295604752384,"45":2393029913822502912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-06 12:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901206272001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:08:23] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-06 12:08:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18215295604752384,"km_value":18215295604752.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2393029913822502912,"description":"Unknown IO ID 45"} 
[2026-09-06 12:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901206272001,"power":14341,"unknown_132":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":2393029913822502912}} 
[2026-09-06 12:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":172478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:08:23] local.INFO: GPS data processed {"connection_id":172478,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:08:23] local.INFO: Acknowledgment sent {"connection_id":172478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:08:26] local.INFO: TCP Data received {"connection_id":175175,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:08:26] local.INFO: Processing buffer {"connection_id":175175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:08:26] local.INFO: Packet analysis {"connection_id":175175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:08:26] local.INFO: Extracted packet for processing {"connection_id":175175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:08:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901148160001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788676661000,"timestamp_ms":1788676661000,"timestamp_seconds":1788676661,"priority":1,"record_length":96,"hex_timestamp":"000001a0756fdf08"} 
[2026-09-06 12:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:08: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-09-06 12:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901148160001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901148160001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:08:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:08:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901148160001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":175175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:08:26] local.INFO: GPS data processed {"connection_id":175175,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:08:26] local.INFO: Acknowledgment sent {"connection_id":175175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:08:36] local.INFO: TCP Data received {"connection_id":175176,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075700a00012d7be44005d097080009010928..."} 
[2026-09-06 12:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075700a00012d7be44005d097080009010928..."} 
[2026-09-06 12:08:36] local.INFO: Processing buffer {"connection_id":175176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075700a00012d7be44005d097080009010928..."} 
[2026-09-06 12:08:36] local.INFO: Packet analysis {"connection_id":175176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07570"} 
[2026-09-06 12:08:36] local.INFO: Extracted packet for processing {"connection_id":175176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07570"} 
[2026-09-06 12:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763094080,"raw_latitude":97556232,"longitude_deg":76.309408,"latitude_deg":9.7556232,"altitude":9,"angle":265,"satellites":40,"speed":19,"hex_longitude":"2d7be440","hex_latitude":"05d09708","is_valid_coordinates":true} 
[2026-09-06 12:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901227264001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128914860728647680,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928597392468912128,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788676672000,"timestamp_ms":1788676672000,"timestamp_seconds":1788676672,"priority":1,"record_length":96,"hex_timestamp":"000001a075700a00"} 
[2026-09-06 12:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:08: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-09-06 12:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 12:08: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-09-06 12:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:08:36] 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-09-06 12:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901227264001,"66":13037,"199":206,"85":15104,"24":19,"16":128914860728647680,"45":8928597392468912128},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 12:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901227264001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:08:36] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 12:08:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128914860728647680,"km_value":128914860728647.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928597392468912128,"description":"Unknown IO ID 45"} 
[2026-09-06 12:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901227264001,"power":13037,"trip_odometer":0.206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8928597392468912128}} 
[2026-09-06 12:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":175176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:08:36] local.INFO: GPS data processed {"connection_id":175176,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:08:36] local.INFO: Acknowledgment sent {"connection_id":175176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:08:53] local.INFO: TCP Data received {"connection_id":172479,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:08:53] local.INFO: Processing buffer {"connection_id":172479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:08:53] local.INFO: IMEI packet received {"connection_id":172479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":172479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:08:54] local.INFO: TCP Data received {"connection_id":172478,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0756ef4a8012d213c40071e3568005800a429..."} 
[2026-09-06 12:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756ef4a8012d213c40071e3568005800a429..."} 
[2026-09-06 12:08:54] local.INFO: Processing buffer {"connection_id":172478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756ef4a8012d213c40071e3568005800a429..."} 
[2026-09-06 12:08:54] local.INFO: Packet analysis {"connection_id":172478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:08:54] local.INFO: Extracted packet for processing {"connection_id":172478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756e"} 
[2026-09-06 12:08:54] local.INFO: GPS Element Parsed {"raw_longitude":757152832,"raw_latitude":119420264,"longitude_deg":75.7152832,"latitude_deg":11.9420264,"altitude":88,"angle":164,"satellites":41,"speed":11,"hex_longitude":"2d213c40","hex_latitude":"071e3568","is_valid_coordinates":true} 
[2026-09-06 12:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901208320001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18215377209131008,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2394155813728632832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788676601000,"timestamp_ms":1788676601000,"timestamp_seconds":1788676601,"priority":1,"record_length":96,"hex_timestamp":"000001a0756ef4a8"} 
[2026-09-06 12:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:08:54] 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-09-06 12:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-06 12:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987017718,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:54] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84760526751997555,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:54] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503877559713792,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1602486478,"corrected_to":0} 
[2026-09-06 12:08:54] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3087084833,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:54] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3056009216,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:54] local.WARNING: Large IO value detected {"io_id":224,"raw_value":20267135297128960,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:54] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,132,83,24,241,157,16,182,160,189,45,192,70,87,42,10,66,143,85,61,1,240,185,227,117,30,4,113,205,7,33,56,248,41,239,54,2,64,72,9,206,224],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1602486478,"validated":0}]} 
[2026-09-06 12:08:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6341236681006055424,"timestamp_seconds":6341236681006055.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 12:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:08:54] 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-09-06 12:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901208320001,"66":14341,"132":206,"83":41984,"24":11,"16":18215377209131008,"45":2394155813728632832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-06 12:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901208320001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:08:54] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-06 12:08:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18215377209131008,"km_value":18215377209131.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2394155813728632832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901208320001,"power":14341,"unknown_132":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":2394155813728632832}} 
[2026-09-06 12:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":172478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:08:54] local.INFO: GPS data processed {"connection_id":172478,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:08:54] local.INFO: Acknowledgment sent {"connection_id":172478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:08:54] local.INFO: TCP Data received {"connection_id":172480,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:08:54] local.INFO: Processing buffer {"connection_id":172480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:08:54] local.INFO: IMEI packet received {"connection_id":172480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 12:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":172480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:08:58] local.INFO: TCP Data received {"connection_id":172479,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:08:58] local.INFO: Processing buffer {"connection_id":172479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:08:58] local.INFO: IMEI packet received {"connection_id":172479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":172479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:08:59] local.INFO: TCP Data received {"connection_id":172479,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:08:59] local.INFO: Processing buffer {"connection_id":172479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:08:59] local.INFO: Packet analysis {"connection_id":172479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:08:59] local.INFO: Extracted packet for processing {"connection_id":172479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:08:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901148160001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:08: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-09-06 12:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788676661000,"timestamp_ms":1788676661000,"timestamp_seconds":1788676661,"priority":1,"record_length":96,"hex_timestamp":"000001a0756fdf08"} 
[2026-09-06 12:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:08: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-09-06 12:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901148160001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901148160001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:08:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:08:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901148160001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":172479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:08:59] local.INFO: GPS data processed {"connection_id":172479,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:08:59] local.INFO: Acknowledgment sent {"connection_id":172479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:08:59] local.INFO: TCP Data received {"connection_id":172480,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:08:59] local.INFO: Processing buffer {"connection_id":172480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:08:59] local.INFO: IMEI packet received {"connection_id":172480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 12:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":172480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:09:00] local.INFO: TCP Data received {"connection_id":172480,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07570ae10012d7b84c005d07b98000600ef28..."} 
[2026-09-06 12:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07570ae10012d7b84c005d07b98000600ef28..."} 
[2026-09-06 12:09:00] local.INFO: Processing buffer {"connection_id":172480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07570ae10012d7b84c005d07b98000600ef28..."} 
[2026-09-06 12:09:00] local.INFO: Packet analysis {"connection_id":172480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07570"} 
[2026-09-06 12:09:00] local.INFO: Extracted packet for processing {"connection_id":172480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07570"} 
[2026-09-06 12:09:00] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":97549208,"longitude_deg":76.3069632,"latitude_deg":9.7549208,"altitude":6,"angle":239,"satellites":40,"speed":9,"hex_longitude":"2d7b84c0","hex_latitude":"05d07b98","is_valid_coordinates":true} 
[2026-09-06 12:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901237760001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128916127744000000,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900731369772867584,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788676714000,"timestamp_ms":1788676714000,"timestamp_seconds":1788676714,"priority":1,"record_length":96,"hex_timestamp":"000001a07570ae10"} 
[2026-09-06 12:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-06 12:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:09:00] 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-09-06 12:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901237760001,"66":13656,"199":206,"85":15104,"24":9,"16":128916127744000000,"45":8900731369772867584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 12:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901237760001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:09:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 12:09:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128916127744000000,"km_value":128916127744000,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900731369772867584,"description":"Unknown IO ID 45"} 
[2026-09-06 12:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901237760001,"power":13656,"trip_odometer":0.206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8900731369772867584}} 
[2026-09-06 12:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":172480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:09:00] local.INFO: GPS data processed {"connection_id":172480,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:09:00] local.INFO: Acknowledgment sent {"connection_id":172480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:09:04] local.INFO: TCP Data received {"connection_id":172480,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07570c198012d7b7d4005d077800006010128..."} 
[2026-09-06 12:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07570c198012d7b7d4005d077800006010128..."} 
[2026-09-06 12:09:04] local.INFO: Processing buffer {"connection_id":172480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07570c198012d7b7d4005d077800006010128..."} 
[2026-09-06 12:09:04] local.INFO: Packet analysis {"connection_id":172480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07570"} 
[2026-09-06 12:09:04] local.INFO: Extracted packet for processing {"connection_id":172480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07570"} 
[2026-09-06 12:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763067712,"raw_latitude":97548160,"longitude_deg":76.3067712,"latitude_deg":9.754816,"altitude":6,"angle":257,"satellites":40,"speed":17,"hex_longitude":"2d7b7d40","hex_latitude":"05d07780","is_valid_coordinates":true} 
[2026-09-06 12:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901238784001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128916230823215104,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449894796072960,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788676719000,"timestamp_ms":1788676719000,"timestamp_seconds":1788676719,"priority":1,"record_length":96,"hex_timestamp":"000001a07570c198"} 
[2026-09-06 12:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:09:04] 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-09-06 12:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 12:09:04] 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-09-06 12:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:09:04] 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-09-06 12:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901238784001,"66":13341,"199":206,"85":15104,"24":17,"16":128916230823215104,"45":8900449894796072960},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 12:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901238784001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:09:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 12:09:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128916230823215104,"km_value":128916230823215.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449894796072960,"description":"Unknown IO ID 45"} 
[2026-09-06 12:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901238784001,"power":13341,"trip_odometer":0.206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8900449894796072960}} 
[2026-09-06 12:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":172480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:09:04] local.INFO: GPS data processed {"connection_id":172480,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:09:04] local.INFO: Acknowledgment sent {"connection_id":172480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:09:06] local.INFO: TCP Data received {"connection_id":175177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:09:06] local.INFO: Processing buffer {"connection_id":175177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:09:06] local.INFO: IMEI packet received {"connection_id":175177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":175177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:09:09] local.INFO: TCP Data received {"connection_id":175177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:09:09] local.INFO: Processing buffer {"connection_id":175177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:09:09] local.INFO: IMEI packet received {"connection_id":175177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":175177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:09:15] local.INFO: TCP Data received {"connection_id":175177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:09:15] local.INFO: Processing buffer {"connection_id":175177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:09:15] local.INFO: IMEI packet received {"connection_id":175177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":175177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:09:16] local.INFO: TCP Data received {"connection_id":175177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0756f46b0012d214340071e19b8005500aa28..."} 
[2026-09-06 12:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756f46b0012d214340071e19b8005500aa28..."} 
[2026-09-06 12:09:16] local.INFO: Processing buffer {"connection_id":175177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756f46b0012d214340071e19b8005500aa28..."} 
[2026-09-06 12:09:16] local.INFO: Packet analysis {"connection_id":175177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:09:16] local.INFO: Extracted packet for processing {"connection_id":175177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:09:16] local.INFO: GPS Element Parsed {"raw_longitude":757154624,"raw_latitude":119413176,"longitude_deg":75.7154624,"latitude_deg":11.9413176,"altitude":85,"angle":170,"satellites":40,"speed":16,"hex_longitude":"2d214340","hex_latitude":"071e19b8","is_valid_coordinates":true} 
[2026-09-06 12:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901209856001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18215733691416576,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2394859501170026496,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788676622000,"timestamp_ms":1788676622000,"timestamp_seconds":1788676622,"priority":1,"record_length":96,"hex_timestamp":"000001a0756f46b0"} 
[2026-09-06 12:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-06 12:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987017730,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:16] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503877561286656,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1602486478,"corrected_to":0} 
[2026-09-06 12:09:16] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84760517088321137,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:16] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3056533504,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:16] local.WARNING: Large IO value detected {"io_id":144,"raw_value":20267186853513472,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:16] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,132,83,24,241,157,16,182,160,221,45,192,59,88,42,10,66,189,70,87,143,1,240,147,227,117,30,4,113,205,8,55,120,239,56,2,64,7,74,206,144],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1602486478,"validated":0}]} 
[2026-09-06 12:09:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6341248771338993664,"timestamp_seconds":6341248771338994.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 12:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:09:16] 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-09-06 12:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901209856001,"66":14396,"132":206,"83":41984,"24":16,"16":18215733691416576,"45":2394859501170026496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-09-06 12:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901209856001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:09:16] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-06 12:09:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18215733691416576,"km_value":18215733691416.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2394859501170026496,"description":"Unknown IO ID 45"} 
[2026-09-06 12:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901209856001,"power":14396,"unknown_132":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":2394859501170026496}} 
[2026-09-06 12:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":175177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:09:16] local.INFO: GPS data processed {"connection_id":175177,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:09:16] local.INFO: Acknowledgment sent {"connection_id":175177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:09:31] local.INFO: TCP Data received {"connection_id":172479,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:09:31] local.INFO: Processing buffer {"connection_id":172479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:09:31] local.INFO: Packet analysis {"connection_id":172479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:09:31] local.INFO: Extracted packet for processing {"connection_id":172479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:09:31] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901148160001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09: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-09-06 12:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788676661000,"timestamp_ms":1788676661000,"timestamp_seconds":1788676661,"priority":1,"record_length":96,"hex_timestamp":"000001a0756fdf08"} 
[2026-09-06 12:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901148160001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901148160001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:09:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:09:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901148160001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":172479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:09:31] local.INFO: GPS data processed {"connection_id":172479,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:09:31] local.INFO: Acknowledgment sent {"connection_id":172479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:09:35] local.INFO: TCP Data received {"connection_id":172480,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07570cd50012d7b794005d077280005010d28..."} 
[2026-09-06 12:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07570cd50012d7b794005d077280005010d28..."} 
[2026-09-06 12:09:35] local.INFO: Processing buffer {"connection_id":172480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07570cd50012d7b794005d077280005010d28..."} 
[2026-09-06 12:09:35] local.INFO: Packet analysis {"connection_id":172480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07570"} 
[2026-09-06 12:09:35] local.INFO: Extracted packet for processing {"connection_id":172480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07570"} 
[2026-09-06 12:09:35] local.INFO: GPS Element Parsed {"raw_longitude":763066688,"raw_latitude":97548072,"longitude_deg":76.3066688,"latitude_deg":9.7548072,"altitude":5,"angle":269,"satellites":40,"speed":7,"hex_longitude":"2d7b7940","hex_latitude":"05d07728","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901240064001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128916282362822656,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898338832470474752,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788676722000,"timestamp_ms":1788676722000,"timestamp_seconds":1788676722,"priority":1,"record_length":96,"hex_timestamp":"000001a07570cd50"} 
[2026-09-06 12:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:09: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-09-06 12: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-06 12:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:09:35] 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-09-06 12:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901240064001,"66":13222,"199":206,"85":15104,"24":7,"16":128916282362822656,"45":8898338832470474752},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 12:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901240064001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:09:35] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 12:09:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128916282362822656,"km_value":128916282362822.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898338832470474752,"description":"Unknown IO ID 45"} 
[2026-09-06 12:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901240064001,"power":13222,"trip_odometer":0.206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8898338832470474752}} 
[2026-09-06 12:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":172480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:09:35] local.INFO: GPS data processed {"connection_id":172480,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:09:35] local.INFO: Acknowledgment sent {"connection_id":172480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:09:47] local.INFO: TCP Data received {"connection_id":175177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075710018012d213600071d8428004c01022b..."} 
[2026-09-06 12:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075710018012d213600071d8428004c01022b..."} 
[2026-09-06 12:09:47] local.INFO: Processing buffer {"connection_id":175177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075710018012d213600071d8428004c01022b..."} 
[2026-09-06 12:09:47] local.INFO: Packet analysis {"connection_id":175177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07571"} 
[2026-09-06 12:09:47] local.INFO: Extracted packet for processing {"connection_id":175177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07571"} 
[2026-09-06 12:09:47] local.INFO: GPS Element Parsed {"raw_longitude":757151232,"raw_latitude":119374888,"longitude_deg":75.7151232,"latitude_deg":11.9374888,"altitude":76,"angle":258,"satellites":43,"speed":16,"hex_longitude":"2d213600","hex_latitude":"071d8428","is_valid_coordinates":true} 
[2026-09-06 12:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901243648001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18217653541797888,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2393803969995796480,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788676735000,"timestamp_ms":1788676735000,"timestamp_seconds":1788676735,"priority":1,"record_length":96,"hex_timestamp":"000001a075710018"} 
[2026-09-06 12:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-06 12:09:47] 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-09-06 12:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:09:47] 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-09-06 12:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901243648001,"66":14330,"9":206,"83":41984,"24":16,"16":18217653541797888,"45":2393803969995796480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,83,24,16,45]} 
[2026-09-06 12:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901243648001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:09:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:09:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18217653541797888,"km_value":18217653541797.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2393803969995796480,"description":"Unknown IO ID 45"} 
[2026-09-06 12:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901243648001,"power":14330,"unknown_9":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":2393803969995796480}} 
[2026-09-06 12:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":175177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:09:47] local.INFO: GPS data processed {"connection_id":175177,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:09:47] local.INFO: Acknowledgment sent {"connection_id":175177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:09:48] local.INFO: TCP Data received {"connection_id":173854,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:09:48] local.INFO: Processing buffer {"connection_id":173854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:09:48] local.INFO: IMEI packet received {"connection_id":173854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":173854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:09:53] local.INFO: TCP Data received {"connection_id":173854,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:09:53] local.INFO: Processing buffer {"connection_id":173854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:09:53] local.INFO: IMEI packet received {"connection_id":173854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":173854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:09:54] local.INFO: TCP Data received {"connection_id":173854,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:09:54] local.INFO: Processing buffer {"connection_id":173854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:09:54] local.INFO: Packet analysis {"connection_id":173854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:09:54] local.INFO: Extracted packet for processing {"connection_id":173854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:09:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901148160001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:09: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-09-06 12:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788676661000,"timestamp_ms":1788676661000,"timestamp_seconds":1788676661,"priority":1,"record_length":96,"hex_timestamp":"000001a0756fdf08"} 
[2026-09-06 12:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:09: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-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:09:54] 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-09-06 12:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901148160001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901148160001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:09:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:09:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901148160001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":173854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:09:54] local.INFO: GPS data processed {"connection_id":173854,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:09:54] local.INFO: Acknowledgment sent {"connection_id":173854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:09:56] local.INFO: TCP Data received {"connection_id":172481,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:09:56] local.INFO: Processing buffer {"connection_id":172481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:09:56] local.INFO: IMEI packet received {"connection_id":172481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 12:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":172481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:09:59] local.INFO: TCP Data received {"connection_id":172481,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:09:59] local.INFO: Processing buffer {"connection_id":172481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:09:59] local.INFO: IMEI packet received {"connection_id":172481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 12:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":172481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:10:00] local.INFO: TCP Data received {"connection_id":172481,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07570d520012d7b784005d077580005012528..."} 
[2026-09-06 12:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07570d520012d7b784005d077580005012528..."} 
[2026-09-06 12:10:00] local.INFO: Processing buffer {"connection_id":172481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07570d520012d7b784005d077580005012528..."} 
[2026-09-06 12:10:00] local.INFO: Packet analysis {"connection_id":172481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07570"} 
[2026-09-06 12:10:00] local.INFO: Extracted packet for processing {"connection_id":172481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07570"} 
[2026-09-06 12:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763066432,"raw_latitude":97548120,"longitude_deg":76.3066432,"latitude_deg":9.754812,"altitude":5,"angle":293,"satellites":40,"speed":6,"hex_longitude":"2d7b7840","hex_latitude":"05d07758","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901240832001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128916295247724544,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897212932563609600,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788676724000,"timestamp_ms":1788676724000,"timestamp_seconds":1788676724,"priority":1,"record_length":96,"hex_timestamp":"000001a07570d520"} 
[2026-09-06 12:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:10:00] 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-09-06 12: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-09-06 12:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:10:00] 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-09-06 12:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901240832001,"66":13352,"199":206,"85":15104,"24":6,"16":128916295247724544,"45":8897212932563609600},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 12:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901240832001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:10:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 12:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128916295247724544,"km_value":128916295247724.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897212932563609600,"description":"Unknown IO ID 45"} 
[2026-09-06 12:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901240832001,"power":13352,"trip_odometer":0.206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8897212932563609600}} 
[2026-09-06 12:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":172481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:10:00] local.INFO: GPS data processed {"connection_id":172481,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:10:00] local.INFO: Acknowledgment sent {"connection_id":172481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:10:01] local.INFO: TCP Data received {"connection_id":172481,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07570d908012d7b778005d077e00005013f28..."} 
[2026-09-06 12:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07570d908012d7b778005d077e00005013f28..."} 
[2026-09-06 12:10:01] local.INFO: Processing buffer {"connection_id":172481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07570d908012d7b778005d077e00005013f28..."} 
[2026-09-06 12:10:01] local.INFO: Packet analysis {"connection_id":172481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07570"} 
[2026-09-06 12:10:01] local.INFO: Extracted packet for processing {"connection_id":172481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07570"} 
[2026-09-06 12:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763066240,"raw_latitude":97548256,"longitude_deg":76.306624,"latitude_deg":9.7548256,"altitude":5,"angle":319,"satellites":40,"speed":10,"hex_longitude":"2d7b7780","hex_latitude":"05d077e0","is_valid_coordinates":true} 
[2026-09-06 12:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901241344001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128916303837659136,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896931457586911232,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788676725000,"timestamp_ms":1788676725000,"timestamp_seconds":1788676725,"priority":1,"record_length":96,"hex_timestamp":"000001a07570d908"} 
[2026-09-06 12:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:10:01] 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-09-06 12:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-06 12:10:01] 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-09-06 12:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:10:01] 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-09-06 12:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901241344001,"66":13906,"199":206,"85":15104,"24":10,"16":128916303837659136,"45":8896931457586911232},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 12:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901241344001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:10:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 12:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128916303837659136,"km_value":128916303837659.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896931457586911232,"description":"Unknown IO ID 45"} 
[2026-09-06 12:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901241344001,"power":13906,"trip_odometer":0.206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8896931457586911232}} 
[2026-09-06 12:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":172481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:10:01] local.INFO: GPS data processed {"connection_id":172481,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:10:01] local.INFO: Acknowledgment sent {"connection_id":172481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:10:09] local.INFO: TCP Data received {"connection_id":173855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:10:09] local.INFO: Processing buffer {"connection_id":173855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:10:09] local.INFO: IMEI packet received {"connection_id":173855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":173855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:10:11] local.INFO: TCP Data received {"connection_id":173855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:10:11] local.INFO: Processing buffer {"connection_id":173855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:10:11] local.INFO: IMEI packet received {"connection_id":173855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":173855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:10:12] local.INFO: TCP Data received {"connection_id":173855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075710bd0012d2130c0071d8398004b010d2b..."} 
[2026-09-06 12:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075710bd0012d2130c0071d8398004b010d2b..."} 
[2026-09-06 12:10:12] local.INFO: Processing buffer {"connection_id":173855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075710bd0012d2130c0071d8398004b010d2b..."} 
[2026-09-06 12:10:12] local.INFO: Packet analysis {"connection_id":173855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07571"} 
[2026-09-06 12:10:12] local.INFO: Extracted packet for processing {"connection_id":173855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07571"} 
[2026-09-06 12:10:12] local.INFO: GPS Element Parsed {"raw_longitude":757149888,"raw_latitude":119374744,"longitude_deg":75.7149888,"latitude_deg":11.9374744,"altitude":75,"angle":269,"satellites":43,"speed":21,"hex_longitude":"2d2130c0","hex_latitude":"071d8398","is_valid_coordinates":true} 
[2026-09-06 12:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901244160001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18217722261274624,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2393100282553968640,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788676738000,"timestamp_ms":1788676738000,"timestamp_seconds":1788676738,"priority":1,"record_length":96,"hex_timestamp":"000001a075710bd0"} 
[2026-09-06 12:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-06 12:10:12] 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-09-06 12:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":173855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":173855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":173855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:10:12] 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-09-06 12:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901244160001,"66":13993,"9":206,"83":41984,"24":21,"16":18217722261274624,"45":2393100282553968640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,83,24,16,45]} 
[2026-09-06 12:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901244160001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:10:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:10:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18217722261274624,"km_value":18217722261274.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2393100282553968640,"description":"Unknown IO ID 45"} 
[2026-09-06 12:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901244160001,"power":13993,"unknown_9":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":2393100282553968640}} 
[2026-09-06 12:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":173855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:10:12] local.INFO: GPS data processed {"connection_id":173855,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:10:12] local.INFO: Acknowledgment sent {"connection_id":173855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:10:25] local.INFO: TCP Data received {"connection_id":173854,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:10:25] local.INFO: Processing buffer {"connection_id":173854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:10:25] local.INFO: Packet analysis {"connection_id":173854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:10:25] local.INFO: Extracted packet for processing {"connection_id":173854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:10:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901148160001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788676661000,"timestamp_ms":1788676661000,"timestamp_seconds":1788676661,"priority":1,"record_length":96,"hex_timestamp":"000001a0756fdf08"} 
[2026-09-06 12:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:10: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-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:10: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-09-06 12:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901148160001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901148160001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:10:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:10:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901148160001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":173854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:10:25] local.INFO: GPS data processed {"connection_id":173854,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:10:25] local.INFO: Acknowledgment sent {"connection_id":173854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:10:32] local.INFO: TCP Data received {"connection_id":172481,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a075725bc0012d7b66c005d0ca70000900102a..."} 
[2026-09-06 12:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075725bc0012d7b66c005d0ca70000900102a..."} 
[2026-09-06 12:10:32] local.INFO: Processing buffer {"connection_id":172481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075725bc0012d7b66c005d0ca70000900102a..."} 
[2026-09-06 12:10:32] local.INFO: Packet analysis {"connection_id":172481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:10:32] local.INFO: Extracted packet for processing {"connection_id":172481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763061952,"raw_latitude":97569392,"longitude_deg":76.3061952,"latitude_deg":9.7569392,"altitude":9,"angle":16,"satellites":42,"speed":10,"hex_longitude":"2d7b66c0","hex_latitude":"05d0ca70","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901266688001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917557968109568,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891864908011503616,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10: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-09-06 12:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788676824000,"timestamp_ms":1788676824000,"timestamp_seconds":1788676824,"priority":1,"record_length":96,"hex_timestamp":"000001a075725bc0"} 
[2026-09-06 12:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:10:32] 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-09-06 12: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 12:10:32] 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-09-06 12: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-09-06 12:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:10:32] 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-09-06 12:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901266688001,"66":13928,"81":206,"85":15104,"24":10,"16":128917557968109568,"45":8891864908011503616},"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-09-06 12:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901266688001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:10:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 12:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128917557968109568,"km_value":128917557968109.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891864908011503616,"description":"Unknown IO ID 45"} 
[2026-09-06 12:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901266688001,"power":13928,"unknown_81":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8891864908011503616}} 
[2026-09-06 12:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":172481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:10:32] local.INFO: GPS data processed {"connection_id":172481,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:10:32] local.INFO: Acknowledgment sent {"connection_id":172481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:10:43] local.INFO: TCP Data received {"connection_id":173855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075711f58012d2125c0071d8220004600ff2a..."} 
[2026-09-06 12:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075711f58012d2125c0071d8220004600ff2a..."} 
[2026-09-06 12:10:43] local.INFO: Processing buffer {"connection_id":173855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075711f58012d2125c0071d8220004600ff2a..."} 
[2026-09-06 12:10:43] local.INFO: Packet analysis {"connection_id":173855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07571"} 
[2026-09-06 12:10:43] local.INFO: Extracted packet for processing {"connection_id":173855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07571"} 
[2026-09-06 12:10:43] local.INFO: GPS Element Parsed {"raw_longitude":757147072,"raw_latitude":119374368,"longitude_deg":75.7147072,"latitude_deg":11.9374368,"altitude":70,"angle":255,"satellites":42,"speed":18,"hex_longitude":"2d2125c0","hex_latitude":"071d8220","is_valid_coordinates":true} 
[2026-09-06 12:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901244928001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18217855405260800,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2391622538926200832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788676743000,"timestamp_ms":1788676743000,"timestamp_seconds":1788676743,"priority":1,"record_length":96,"hex_timestamp":"000001a075711f58"} 
[2026-09-06 12:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 12:10:43] 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-09-06 12:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:10: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-09-06 12:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901244928001,"66":14026,"9":206,"83":41984,"24":18,"16":18217855405260800,"45":2391622538926200832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,83,24,16,45]} 
[2026-09-06 12:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901244928001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:10:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:10:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18217855405260800,"km_value":18217855405260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2391622538926200832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901244928001,"power":14026,"unknown_9":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":2391622538926200832}} 
[2026-09-06 12:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":173855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:10:43] local.INFO: GPS data processed {"connection_id":173855,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:10:43] local.INFO: Acknowledgment sent {"connection_id":173855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:10:48] local.INFO: TCP Data received {"connection_id":172697,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:10:48] local.INFO: Processing buffer {"connection_id":172697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:10:48] local.INFO: IMEI packet received {"connection_id":172697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":172697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:10:53] local.INFO: TCP Data received {"connection_id":172697,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:10:53] local.INFO: Processing buffer {"connection_id":172697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:10:53] local.INFO: IMEI packet received {"connection_id":172697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":172697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:10:54] local.INFO: TCP Data received {"connection_id":172697,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:10:54] local.INFO: Processing buffer {"connection_id":172697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:10:54] local.INFO: Packet analysis {"connection_id":172697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:10:54] local.INFO: Extracted packet for processing {"connection_id":172697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:10:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901148160001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788676661000,"timestamp_ms":1788676661000,"timestamp_seconds":1788676661,"priority":1,"record_length":96,"hex_timestamp":"000001a0756fdf08"} 
[2026-09-06 12:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:10: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-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12: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-09-06 12:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901148160001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901148160001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:10:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:10:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901148160001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":172697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:10:54] local.INFO: GPS data processed {"connection_id":172697,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:10:54] local.INFO: Acknowledgment sent {"connection_id":172697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:11:09] local.INFO: TCP Data received {"connection_id":172699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:11:09] local.INFO: Processing buffer {"connection_id":172699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:11:09] local.INFO: IMEI packet received {"connection_id":172699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":172699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:11:11] local.INFO: TCP Data received {"connection_id":172699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:11:11] local.INFO: Processing buffer {"connection_id":172699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:11:11] local.INFO: IMEI packet received {"connection_id":172699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":172699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:11:13] local.INFO: TCP Data received {"connection_id":172699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:11:13] local.INFO: Processing buffer {"connection_id":172699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:11:13] local.INFO: IMEI packet received {"connection_id":172699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":172699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:11:14] local.INFO: TCP Data received {"connection_id":172699,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075724c20012d207a40071d91280041010b2a..."} 
[2026-09-06 12:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075724c20012d207a40071d91280041010b2a..."} 
[2026-09-06 12:11:14] local.INFO: Processing buffer {"connection_id":172699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075724c20012d207a40071d91280041010b2a..."} 
[2026-09-06 12:11:14] local.INFO: Packet analysis {"connection_id":172699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:11:14] local.INFO: Extracted packet for processing {"connection_id":172699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:11:14] local.INFO: GPS Element Parsed {"raw_longitude":757103168,"raw_latitude":119378216,"longitude_deg":75.7103168,"latitude_deg":11.9378216,"altitude":65,"angle":267,"satellites":42,"speed":29,"hex_longitude":"2d207a40","hex_latitude":"071d9128","is_valid_coordinates":true} 
[2026-09-06 12:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901262848001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18220028658712576,"note":"Value kept but may cause issues"} 
[2026-09-06 12:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2349753136141297664,"note":"Value kept but may cause issues"} 
[2026-09-06 12:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788676820000,"timestamp_ms":1788676820000,"timestamp_seconds":1788676820,"priority":1,"record_length":96,"hex_timestamp":"000001a075724c20"} 
[2026-09-06 12:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-06 12:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:11:14] 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-09-06 12:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901262848001,"66":14461,"57":206,"83":41984,"24":29,"16":18220028658712576,"45":2349753136141297664},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,83,24,16,45]} 
[2026-09-06 12:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901262848001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:11:14] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-06 12:11:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18220028658712576,"km_value":18220028658712.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2349753136141297664,"description":"Unknown IO ID 45"} 
[2026-09-06 12:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901262848001,"power":14461,"unknown_57":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":2349753136141297664}} 
[2026-09-06 12:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":172699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:11:14] local.INFO: GPS data processed {"connection_id":172699,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:11:14] local.INFO: Acknowledgment sent {"connection_id":172699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:11:14] local.INFO: TCP Data received {"connection_id":172699,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075727ee8012d205800071d8d48004300fb2b..."} 
[2026-09-06 12:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075727ee8012d205800071d8d48004300fb2b..."} 
[2026-09-06 12:11:14] local.INFO: Processing buffer {"connection_id":172699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075727ee8012d205800071d8d48004300fb2b..."} 
[2026-09-06 12:11:14] local.INFO: Packet analysis {"connection_id":172699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:11:14] local.INFO: Extracted packet for processing {"connection_id":172699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:11:14] local.INFO: GPS Element Parsed {"raw_longitude":757094400,"raw_latitude":119377224,"longitude_deg":75.70944,"latitude_deg":11.9377224,"altitude":67,"angle":251,"satellites":43,"speed":29,"hex_longitude":"2d205800","hex_latitude":"071d8d48","is_valid_coordinates":true} 
[2026-09-06 12:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901265920001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18220449565507584,"note":"Value kept but may cause issues"} 
[2026-09-06 12:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2340253355677394944,"note":"Value kept but may cause issues"} 
[2026-09-06 12:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788676833000,"timestamp_ms":1788676833000,"timestamp_seconds":1788676833,"priority":1,"record_length":96,"hex_timestamp":"000001a075727ee8"} 
[2026-09-06 12:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 12:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:11:14] 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-09-06 12:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901265920001,"66":14483,"10":206,"83":41984,"24":29,"16":18220449565507584,"45":2340253355677394944},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 12:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901265920001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:11:14] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 12:11:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18220449565507584,"km_value":18220449565507.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2340253355677394944,"description":"Unknown IO ID 45"} 
[2026-09-06 12:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901265920001,"power":14483,"unknown_10":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":2340253355677394944}} 
[2026-09-06 12:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":172699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:11:14] local.INFO: GPS data processed {"connection_id":172699,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:11:14] local.INFO: Acknowledgment sent {"connection_id":172699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:11:26] local.INFO: TCP Data received {"connection_id":172697,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:11:26] local.INFO: Processing buffer {"connection_id":172697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:11:26] local.INFO: Packet analysis {"connection_id":172697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:11:26] local.INFO: Extracted packet for processing {"connection_id":172697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:11:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901148160001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788676661000,"timestamp_ms":1788676661000,"timestamp_seconds":1788676661,"priority":1,"record_length":96,"hex_timestamp":"000001a0756fdf08"} 
[2026-09-06 12:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:11: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-09-06 12:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901148160001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901148160001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:11:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:11:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901148160001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":172697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:11:26] local.INFO: GPS data processed {"connection_id":172697,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:11:26] local.INFO: Acknowledgment sent {"connection_id":172697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:11:45] local.INFO: TCP Data received {"connection_id":172699,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0757286b8012d205300071d8b08004400ee2a..."} 
[2026-09-06 12:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757286b8012d205300071d8b08004400ee2a..."} 
[2026-09-06 12:11:45] local.INFO: Processing buffer {"connection_id":172699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757286b8012d205300071d8b08004400ee2a..."} 
[2026-09-06 12:11:45] local.INFO: Packet analysis {"connection_id":172699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:11:45] local.INFO: Extracted packet for processing {"connection_id":172699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:11:45] local.INFO: GPS Element Parsed {"raw_longitude":757093120,"raw_latitude":119376648,"longitude_deg":75.709312,"latitude_deg":11.9376648,"altitude":68,"angle":238,"satellites":42,"speed":26,"hex_longitude":"2d205300","hex_latitude":"071d8b08","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901269248001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18220513990017024,"note":"Value kept but may cause issues"} 
[2026-09-06 12:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2330612837724801024,"note":"Value kept but may cause issues"} 
[2026-09-06 12:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788676835000,"timestamp_ms":1788676835000,"timestamp_seconds":1788676835,"priority":1,"record_length":96,"hex_timestamp":"000001a0757286b8"} 
[2026-09-06 12:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-06 12:11:45] 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-09-06 12: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-09-06 12:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:11:45] 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-09-06 12:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901269248001,"66":14494,"10":206,"83":41984,"24":26,"16":18220513990017024,"45":2330612837724801024},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 12:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901269248001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:11:45] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 12:11:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18220513990017024,"km_value":18220513990017.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2330612837724801024,"description":"Unknown IO ID 45"} 
[2026-09-06 12:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901269248001,"power":14494,"unknown_10":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":2330612837724801024}} 
[2026-09-06 12:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":172699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:11:45] local.INFO: GPS data processed {"connection_id":172699,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:11:45] local.INFO: Acknowledgment sent {"connection_id":172699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:11:48] local.INFO: TCP Data received {"connection_id":173856,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:11:48] local.INFO: Processing buffer {"connection_id":173856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:11:48] local.INFO: IMEI packet received {"connection_id":173856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":173856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:11:53] local.INFO: TCP Data received {"connection_id":173856,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:11:53] local.INFO: Processing buffer {"connection_id":173856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:11:53] local.INFO: IMEI packet received {"connection_id":173856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":173856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:11:54] local.INFO: TCP Data received {"connection_id":173856,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:11:54] local.INFO: Processing buffer {"connection_id":173856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:11:54] local.INFO: Packet analysis {"connection_id":173856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:11:54] local.INFO: Extracted packet for processing {"connection_id":173856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901148160001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788676661000,"timestamp_ms":1788676661000,"timestamp_seconds":1788676661,"priority":1,"record_length":96,"hex_timestamp":"000001a0756fdf08"} 
[2026-09-06 12:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:11: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-09-06 12:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:11:54] 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-09-06 12:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901148160001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901148160001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:11:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:11:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901148160001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":173856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:11:54] local.INFO: GPS data processed {"connection_id":173856,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:11:54] local.INFO: Acknowledgment sent {"connection_id":173856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:11:59] local.INFO: TCP Data received {"connection_id":172482,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:11:59] local.INFO: Processing buffer {"connection_id":172482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:11:59] local.INFO: IMEI packet received {"connection_id":172482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":172482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:12:09] local.INFO: TCP Data received {"connection_id":173857,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:12:09] local.INFO: Processing buffer {"connection_id":173857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:12:09] local.INFO: IMEI packet received {"connection_id":173857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":173857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:12:13] local.INFO: TCP Data received {"connection_id":173857,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:12:13] local.INFO: Processing buffer {"connection_id":173857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:12:13] local.INFO: IMEI packet received {"connection_id":173857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":173857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:12:14] local.INFO: TCP Data received {"connection_id":173857,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07572b1b0012d203bc0071d7dc0004100fc28..."} 
[2026-09-06 12:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07572b1b0012d203bc0071d7dc0004100fc28..."} 
[2026-09-06 12:12:14] local.INFO: Processing buffer {"connection_id":173857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07572b1b0012d203bc0071d7dc0004100fc28..."} 
[2026-09-06 12:12:14] local.INFO: Packet analysis {"connection_id":173857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:12:14] local.INFO: Extracted packet for processing {"connection_id":173857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:12:14] local.INFO: GPS Element Parsed {"raw_longitude":757087168,"raw_latitude":119373248,"longitude_deg":75.7087168,"latitude_deg":11.9373248,"altitude":65,"angle":252,"satellites":40,"speed":28,"hex_longitude":"2d203bc0","hex_latitude":"071d7dc0","is_valid_coordinates":true} 
[2026-09-06 12:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901269760001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18220844702498816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2329205462841100288,"note":"Value kept but may cause issues"} 
[2026-09-06 12:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788676846000,"timestamp_ms":1788676846000,"timestamp_seconds":1788676846,"priority":1,"record_length":96,"hex_timestamp":"000001a07572b1b0"} 
[2026-09-06 12:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-06 12:12:14] 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-09-06 12:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:12:14] 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-09-06 12:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901269760001,"66":13917,"10":206,"83":41984,"24":28,"16":18220844702498816,"45":2329205462841100288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 12:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901269760001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:12:14] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 12:12:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18220844702498816,"km_value":18220844702498.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2329205462841100288,"description":"Unknown IO ID 45"} 
[2026-09-06 12:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901269760001,"power":13917,"unknown_10":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":2329205462841100288}} 
[2026-09-06 12:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":173857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:12:14] local.INFO: GPS data processed {"connection_id":173857,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:12:14] local.INFO: Acknowledgment sent {"connection_id":173857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:12:25] local.INFO: TCP Data received {"connection_id":173856,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:12:25] local.INFO: Processing buffer {"connection_id":173856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:12:25] local.INFO: Packet analysis {"connection_id":173856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:12:25] local.INFO: Extracted packet for processing {"connection_id":173856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:12:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 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-09-06 12:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901148160001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788676661000,"timestamp_ms":1788676661000,"timestamp_seconds":1788676661,"priority":1,"record_length":96,"hex_timestamp":"000001a0756fdf08"} 
[2026-09-06 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-09-06 12:12: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-09-06 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 12:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:12: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-09-06 12:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901148160001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901148160001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:12:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:12:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901148160001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":173856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:12:25] local.INFO: GPS data processed {"connection_id":173856,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:12:25] local.INFO: Acknowledgment sent {"connection_id":173856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:12:44] local.INFO: TCP Data received {"connection_id":173857,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07572e860012d201840071d74300041010528..."} 
[2026-09-06 12:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07572e860012d201840071d74300041010528..."} 
[2026-09-06 12:12:44] local.INFO: Processing buffer {"connection_id":173857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07572e860012d201840071d74300041010528..."} 
[2026-09-06 12:12:44] local.INFO: Packet analysis {"connection_id":173857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:12:44] local.INFO: Extracted packet for processing {"connection_id":173857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:12:44] local.INFO: GPS Element Parsed {"raw_longitude":757078080,"raw_latitude":119370800,"longitude_deg":75.707808,"latitude_deg":11.93708,"altitude":65,"angle":261,"satellites":40,"speed":26,"hex_longitude":"2d201840","hex_latitude":"071d7430","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901272576001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18221291379097600,"note":"Value kept but may cause issues"} 
[2026-09-06 12:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2322661169631707136,"note":"Value kept but may cause issues"} 
[2026-09-06 12:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788676860000,"timestamp_ms":1788676860000,"timestamp_seconds":1788676860,"priority":1,"record_length":96,"hex_timestamp":"000001a07572e860"} 
[2026-09-06 12:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-06 12:12:44] 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-09-06 12: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-09-06 12:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:12: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-09-06 12:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901272576001,"66":13993,"10":206,"83":41984,"24":26,"16":18221291379097600,"45":2322661169631707136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 12:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901272576001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:12:44] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 12:12:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18221291379097600,"km_value":18221291379097.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2322661169631707136,"description":"Unknown IO ID 45"} 
[2026-09-06 12:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901272576001,"power":13993,"unknown_10":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":2322661169631707136}} 
[2026-09-06 12:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":173857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:12:44] local.INFO: GPS data processed {"connection_id":173857,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:12:44] local.INFO: Acknowledgment sent {"connection_id":173857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:12:48] local.INFO: TCP Data received {"connection_id":173859,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:12:48] local.INFO: Processing buffer {"connection_id":173859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:12:48] local.INFO: IMEI packet received {"connection_id":173859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":173859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:12:53] local.INFO: TCP Data received {"connection_id":173859,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:12:53] local.INFO: Processing buffer {"connection_id":173859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:12:53] local.INFO: IMEI packet received {"connection_id":173859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":173859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:12:54] local.INFO: TCP Data received {"connection_id":173859,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:12:54] local.INFO: Processing buffer {"connection_id":173859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0756fdf08012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:12:54] local.INFO: Packet analysis {"connection_id":173859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:12:54] local.INFO: Extracted packet for processing {"connection_id":173859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0756f"} 
[2026-09-06 12:12:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901148160001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:12: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-09-06 12:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788676661000,"timestamp_ms":1788676661000,"timestamp_seconds":1788676661,"priority":1,"record_length":96,"hex_timestamp":"000001a0756fdf08"} 
[2026-09-06 12:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:12: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-09-06 12:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:12:54] 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-09-06 12:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901148160001,"66":26115,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901148160001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:12:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:12:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901148160001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":173859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:12:54] local.INFO: GPS data processed {"connection_id":173859,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:12:54] local.INFO: Acknowledgment sent {"connection_id":173859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:13:09] local.INFO: TCP Data received {"connection_id":173860,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:13:09] local.INFO: Processing buffer {"connection_id":173860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:13:09] local.INFO: IMEI packet received {"connection_id":173860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":173860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:13:14] local.INFO: TCP Data received {"connection_id":173860,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:13:14] local.INFO: Processing buffer {"connection_id":173860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:13:14] local.INFO: IMEI packet received {"connection_id":173860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":173860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:13:15] local.INFO: TCP Data received {"connection_id":173860,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075740970012d1fa500071da400004e01222a..."} 
[2026-09-06 12:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075740970012d1fa500071da400004e01222a..."} 
[2026-09-06 12:13:15] local.INFO: Processing buffer {"connection_id":173860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075740970012d1fa500071da400004e01222a..."} 
[2026-09-06 12:13:15] local.INFO: Packet analysis {"connection_id":173860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:13:15] local.INFO: Extracted packet for processing {"connection_id":173860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:13:15] local.INFO: GPS Element Parsed {"raw_longitude":757048576,"raw_latitude":119383040,"longitude_deg":75.7048576,"latitude_deg":11.938304,"altitude":78,"angle":290,"satellites":42,"speed":25,"hex_longitude":"2d1fa500","hex_latitude":"071da400","is_valid_coordinates":true} 
[2026-09-06 12:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901294080001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18222996481114112,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2283325041638764544,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788676934000,"timestamp_ms":1788676934000,"timestamp_seconds":1788676934,"priority":1,"record_length":96,"hex_timestamp":"000001a075740970"} 
[2026-09-06 12:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-06 12:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:13:15] 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-09-06 12:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901294080001,"66":14341,"10":206,"83":41984,"24":25,"16":18222996481114112,"45":2283325041638764544},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 12:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901294080001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:13:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 12:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18222996481114112,"km_value":18222996481114.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2283325041638764544,"description":"Unknown IO ID 45"} 
[2026-09-06 12:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901294080001,"power":14341,"unknown_10":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":2283325041638764544}} 
[2026-09-06 12:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":173860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:13:15] local.INFO: GPS data processed {"connection_id":173860,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:13:15] local.INFO: Acknowledgment sent {"connection_id":173860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:13:25] local.INFO: TCP Data received {"connection_id":173859,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:13:25] local.INFO: Processing buffer {"connection_id":173859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:13:25] local.INFO: Packet analysis {"connection_id":173859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:13:25] local.INFO: Extracted packet for processing {"connection_id":173859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:13:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901225216001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788676962000,"timestamp_ms":1788676962000,"timestamp_seconds":1788676962,"priority":1,"record_length":96,"hex_timestamp":"000001a0757476d0"} 
[2026-09-06 12:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:13: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-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:13: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-09-06 12:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901225216001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901225216001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:13:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:13:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901225216001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":173859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:13:25] local.INFO: GPS data processed {"connection_id":173859,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:13:25] local.INFO: Acknowledgment sent {"connection_id":173859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:13:46] local.INFO: TCP Data received {"connection_id":173860,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075741140012d1fa080071da688004e01352a..."} 
[2026-09-06 12:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075741140012d1fa080071da688004e01352a..."} 
[2026-09-06 12:13:46] local.INFO: Processing buffer {"connection_id":173860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075741140012d1fa080071da688004e01352a..."} 
[2026-09-06 12:13:46] local.INFO: Packet analysis {"connection_id":173860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:13:46] local.INFO: Extracted packet for processing {"connection_id":173860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:13:46] local.INFO: GPS Element Parsed {"raw_longitude":757047424,"raw_latitude":119383688,"longitude_deg":75.7047424,"latitude_deg":11.9383688,"altitude":78,"angle":309,"satellites":42,"speed":24,"hex_longitude":"2d1fa080","hex_latitude":"071da688","is_valid_coordinates":true} 
[2026-09-06 12:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901295104001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18223060905623552,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2280228816895082496,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788676936000,"timestamp_ms":1788676936000,"timestamp_seconds":1788676936,"priority":1,"record_length":96,"hex_timestamp":"000001a075741140"} 
[2026-09-06 12:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-06 12:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987019148,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":19423178568764672,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503877676433408,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:46] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2357198921,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1795817678,"corrected_to":0} 
[2026-09-06 12:13:46] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2550213919,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:46] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3171745792,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:46] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84758975195061624,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:46] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,10,83,24,241,157,16,189,160,249,45,161,76,42,66,238,159,75,230,1,240,147,227,117,29,4,113,205,25,175,210,88,239,56,2,64,7,71,9,206,112],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1795817678,"validated":0}]} 
[2026-09-06 12:13:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620811373720698880,"timestamp_seconds":5620811373720699.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 12:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:13:46] 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-09-06 12:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901295104001,"66":14407,"10":206,"83":41984,"24":24,"16":18223060905623552,"45":2280228816895082496},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 12:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901295104001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:13:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 12:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18223060905623552,"km_value":18223060905623.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2280228816895082496,"description":"Unknown IO ID 45"} 
[2026-09-06 12:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901295104001,"power":14407,"unknown_10":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":2280228816895082496}} 
[2026-09-06 12:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":173860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:13:46] local.INFO: GPS data processed {"connection_id":173860,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:13:46] local.INFO: Acknowledgment sent {"connection_id":173860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:13:53] local.INFO: TCP Data received {"connection_id":172484,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:13:53] local.INFO: Processing buffer {"connection_id":172484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:13:53] local.INFO: IMEI packet received {"connection_id":172484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":172484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:13:58] local.INFO: TCP Data received {"connection_id":172484,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:13:58] local.INFO: Processing buffer {"connection_id":172484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:13:58] local.INFO: IMEI packet received {"connection_id":172484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":172484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:13:59] local.INFO: TCP Data received {"connection_id":172484,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:13:59] local.INFO: Processing buffer {"connection_id":172484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:13:59] local.INFO: Packet analysis {"connection_id":172484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:13:59] local.INFO: Extracted packet for processing {"connection_id":172484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901225216001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788676962000,"timestamp_ms":1788676962000,"timestamp_seconds":1788676962,"priority":1,"record_length":96,"hex_timestamp":"000001a0757476d0"} 
[2026-09-06 12:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:13:59] 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-09-06 12:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901225216001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901225216001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:13:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:13:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901225216001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":172484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:13:59] local.INFO: GPS data processed {"connection_id":172484,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:13:59] local.INFO: Acknowledgment sent {"connection_id":172484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:14:09] local.INFO: TCP Data received {"connection_id":173861,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:14:09] local.INFO: Processing buffer {"connection_id":173861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:14:09] local.INFO: IMEI packet received {"connection_id":173861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":173861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:14:14] local.INFO: TCP Data received {"connection_id":173861,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:14:14] local.INFO: Processing buffer {"connection_id":173861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:14:14] local.INFO: IMEI packet received {"connection_id":173861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":173861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:14:15] local.INFO: TCP Data received {"connection_id":173861,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a075741910012d1f9d80071daa60004e01482a..."} 
[2026-09-06 12:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075741910012d1f9d80071daa60004e01482a..."} 
[2026-09-06 12:14:15] local.INFO: Processing buffer {"connection_id":173861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075741910012d1f9d80071daa60004e01482a..."} 
[2026-09-06 12:14:15] local.INFO: Packet analysis {"connection_id":173861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:14:15] local.INFO: Extracted packet for processing {"connection_id":173861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:14:15] local.INFO: GPS Element Parsed {"raw_longitude":757046656,"raw_latitude":119384672,"longitude_deg":75.7046656,"latitude_deg":11.9384672,"altitude":78,"angle":328,"satellites":42,"speed":24,"hex_longitude":"2d1f9d80","hex_latitude":"071daa60","is_valid_coordinates":true} 
[2026-09-06 12:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901295616001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18223121035165696,"note":"Value kept but may cause issues"} 
[2026-09-06 12:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2278962179500050432,"note":"Value kept but may cause issues"} 
[2026-09-06 12:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788676938000,"timestamp_ms":1788676938000,"timestamp_seconds":1788676938,"priority":1,"record_length":96,"hex_timestamp":"000001a075741910"} 
[2026-09-06 12:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-06 12:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:14:15] 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-09-06 12:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901295616001,"66":14396,"10":206,"83":41984,"24":24,"16":18223121035165696,"45":2278962179500050432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-09-06 12:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901295616001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:14:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-06 12:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18223121035165696,"km_value":18223121035165.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2278962179500050432,"description":"Unknown IO ID 45"} 
[2026-09-06 12:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901295616001,"power":14396,"unknown_10":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":2278962179500050432}} 
[2026-09-06 12:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":173861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:14:15] local.INFO: GPS data processed {"connection_id":173861,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:14:15] local.INFO: Acknowledgment sent {"connection_id":173861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:14:30] local.INFO: TCP Data received {"connection_id":172484,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:14:30] local.INFO: Processing buffer {"connection_id":172484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:14:30] local.INFO: Packet analysis {"connection_id":172484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:14:30] local.INFO: Extracted packet for processing {"connection_id":172484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:14:30] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901225216001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788676962000,"timestamp_ms":1788676962000,"timestamp_seconds":1788676962,"priority":1,"record_length":96,"hex_timestamp":"000001a0757476d0"} 
[2026-09-06 12:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12: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-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:14:30] 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-09-06 12:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901225216001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901225216001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:14:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:14:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901225216001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":172484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:14:30] local.INFO: GPS data processed {"connection_id":172484,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:14:30] local.INFO: Acknowledgment sent {"connection_id":172484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:14:46] local.INFO: TCP Data received {"connection_id":173861,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0757428b0012d1f9940071db1700050013728..."} 
[2026-09-06 12:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757428b0012d1f9940071db1700050013728..."} 
[2026-09-06 12:14:46] local.INFO: Processing buffer {"connection_id":173861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757428b0012d1f9940071db1700050013728..."} 
[2026-09-06 12:14:46] local.INFO: Packet analysis {"connection_id":173861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:14:46] local.INFO: Extracted packet for processing {"connection_id":173861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:14:46] local.INFO: GPS Element Parsed {"raw_longitude":757045568,"raw_latitude":119386480,"longitude_deg":75.7045568,"latitude_deg":11.938648,"altitude":80,"angle":311,"satellites":40,"speed":16,"hex_longitude":"2d1f9940","hex_latitude":"071db170","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901296128001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18223224114380800,"note":"Value kept but may cause issues"} 
[2026-09-06 12:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2278117754570170368,"note":"Value kept but may cause issues"} 
[2026-09-06 12:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788676942000,"timestamp_ms":1788676942000,"timestamp_seconds":1788676942,"priority":1,"record_length":96,"hex_timestamp":"000001a0757428b0"} 
[2026-09-06 12:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-06 12:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:14:46] 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-09-06 12:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901296128001,"66":14374,"12":206,"83":41984,"24":16,"16":18223224114380800,"45":2278117754570170368},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-09-06 12:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901296128001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:14:46] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-06 12:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18223224114380800,"km_value":18223224114380.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2278117754570170368,"description":"Unknown IO ID 45"} 
[2026-09-06 12:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901296128001,"power":14374,"unknown_12":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":2278117754570170368}} 
[2026-09-06 12:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":173861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:14:46] local.INFO: GPS data processed {"connection_id":173861,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:14:46] local.INFO: Acknowledgment sent {"connection_id":173861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:14:48] local.INFO: TCP Data received {"connection_id":173862,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:14:48] local.INFO: Processing buffer {"connection_id":173862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:14:48] local.INFO: IMEI packet received {"connection_id":173862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":173862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:14:53] local.INFO: TCP Data received {"connection_id":173862,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:14:53] local.INFO: Processing buffer {"connection_id":173862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:14:53] local.INFO: IMEI packet received {"connection_id":173862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":173862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:14:54] local.INFO: TCP Data received {"connection_id":173862,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:14:54] local.INFO: Processing buffer {"connection_id":173862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:14:54] local.INFO: Packet analysis {"connection_id":173862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:14:54] local.INFO: Extracted packet for processing {"connection_id":173862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:14:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901225216001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788676962000,"timestamp_ms":1788676962000,"timestamp_seconds":1788676962,"priority":1,"record_length":96,"hex_timestamp":"000001a0757476d0"} 
[2026-09-06 12:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:14: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-09-06 12:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:14: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-09-06 12:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901225216001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901225216001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:14:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:14:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901225216001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":173862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:14:54] local.INFO: GPS data processed {"connection_id":173862,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:14:54] local.INFO: Acknowledgment sent {"connection_id":173862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:15:09] local.INFO: TCP Data received {"connection_id":175178,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:15:09] local.INFO: Processing buffer {"connection_id":175178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:15:09] local.INFO: IMEI packet received {"connection_id":175178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":175178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:15:10] local.INFO: TCP Data received {"connection_id":175178,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:15:10] local.INFO: Processing buffer {"connection_id":175178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:15:10] local.INFO: IMEI packet received {"connection_id":175178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":175178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:15:14] local.INFO: TCP Data received {"connection_id":175178,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:15:14] local.INFO: Processing buffer {"connection_id":175178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:15:14] local.INFO: IMEI packet received {"connection_id":175178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":175178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:15:14] local.INFO: TCP Data received {"connection_id":175178,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07575af50012d1eb000071dbc380050010a29..."} 
[2026-09-06 12:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07575af50012d1eb000071dbc380050010a29..."} 
[2026-09-06 12:15:14] local.INFO: Processing buffer {"connection_id":175178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07575af50012d1eb000071dbc380050010a29..."} 
[2026-09-06 12:15:14] local.INFO: Packet analysis {"connection_id":175178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07575"} 
[2026-09-06 12:15:14] local.INFO: Extracted packet for processing {"connection_id":175178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07575"} 
[2026-09-06 12:15:14] local.INFO: GPS Element Parsed {"raw_longitude":756985856,"raw_latitude":119389240,"longitude_deg":75.6985856,"latitude_deg":11.938924,"altitude":80,"angle":266,"satellites":41,"speed":26,"hex_longitude":"2d1eb000","hex_latitude":"071dbc38","is_valid_coordinates":true} 
[2026-09-06 12:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901318912001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18226075972665344,"note":"Value kept but may cause issues"} 
[2026-09-06 12:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2221822759229069312,"note":"Value kept but may cause issues"} 
[2026-09-06 12:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788677042000,"timestamp_ms":1788677042000,"timestamp_seconds":1788677042,"priority":1,"record_length":96,"hex_timestamp":"000001a07575af50"} 
[2026-09-06 12:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:15: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-09-06 12:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-06 12:15:14] 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-09-06 12:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:15:14] 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-09-06 12:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901318912001,"66":12798,"108":206,"83":41984,"24":26,"16":18226075972665344,"45":2221822759229069312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-06 12:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901318912001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:15:14] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-06 12:15:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18226075972665344,"km_value":18226075972665.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2221822759229069312,"description":"Unknown IO ID 45"} 
[2026-09-06 12:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901318912001,"power":12798,"unknown_108":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":2221822759229069312}} 
[2026-09-06 12:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":175178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:15:15] local.INFO: GPS data processed {"connection_id":175178,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:15:15] local.INFO: Acknowledgment sent {"connection_id":175178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:15:25] local.INFO: TCP Data received {"connection_id":173862,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:15:25] local.INFO: Processing buffer {"connection_id":173862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:15:25] local.INFO: Packet analysis {"connection_id":173862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:15:25] local.INFO: Extracted packet for processing {"connection_id":173862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:15:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901225216001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788676962000,"timestamp_ms":1788676962000,"timestamp_seconds":1788676962,"priority":1,"record_length":96,"hex_timestamp":"000001a0757476d0"} 
[2026-09-06 12:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:15: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-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901225216001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901225216001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:15:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:15:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901225216001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":173862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:15:25] local.INFO: GPS data processed {"connection_id":173862,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:15:25] local.INFO: Acknowledgment sent {"connection_id":173862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:15:48] local.INFO: TCP Data received {"connection_id":173865,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:15:48] local.INFO: Processing buffer {"connection_id":173865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:15:48] local.INFO: IMEI packet received {"connection_id":173865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":173865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:15:53] local.INFO: TCP Data received {"connection_id":173865,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:15:53] local.INFO: Processing buffer {"connection_id":173865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:15:53] local.INFO: IMEI packet received {"connection_id":173865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":173865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:15:54] local.INFO: TCP Data received {"connection_id":173865,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:15:54] local.INFO: Processing buffer {"connection_id":173865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:15:54] local.INFO: Packet analysis {"connection_id":173865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:15:54] local.INFO: Extracted packet for processing {"connection_id":173865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:15:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901225216001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788676962000,"timestamp_ms":1788676962000,"timestamp_seconds":1788676962,"priority":1,"record_length":96,"hex_timestamp":"000001a0757476d0"} 
[2026-09-06 12:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12: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-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:15: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-09-06 12:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901225216001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901225216001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:15:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:15:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901225216001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":173865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:15:54] local.INFO: GPS data processed {"connection_id":173865,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:15:54] local.INFO: Acknowledgment sent {"connection_id":173865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:16:24] local.INFO: TCP Data received {"connection_id":173866,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:16:24] local.INFO: Processing buffer {"connection_id":173866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:16:24] local.INFO: IMEI packet received {"connection_id":173866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":173866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:16:25] local.INFO: TCP Data received {"connection_id":173865,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:16:25] local.INFO: Processing buffer {"connection_id":173865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:16:25] local.INFO: Packet analysis {"connection_id":173865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:16:25] local.INFO: Extracted packet for processing {"connection_id":173865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:16:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901225216001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788676962000,"timestamp_ms":1788676962000,"timestamp_seconds":1788676962,"priority":1,"record_length":96,"hex_timestamp":"000001a0757476d0"} 
[2026-09-06 12:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12: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-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:16: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-09-06 12:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901225216001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901225216001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:16:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:16:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901225216001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":173865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:16:25] local.INFO: GPS data processed {"connection_id":173865,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:16:25] local.INFO: Acknowledgment sent {"connection_id":173865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:16:26] local.INFO: TCP Data received {"connection_id":173866,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:16:26] local.INFO: Processing buffer {"connection_id":173866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:16:26] local.INFO: IMEI packet received {"connection_id":173866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":173866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:16:27] local.INFO: TCP Data received {"connection_id":173866,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075762480012d1e6c00071da8b0004b011b28..."} 
[2026-09-06 12:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075762480012d1e6c00071da8b0004b011b28..."} 
[2026-09-06 12:16:27] local.INFO: Processing buffer {"connection_id":173866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075762480012d1e6c00071da8b0004b011b28..."} 
[2026-09-06 12:16:27] local.INFO: Packet analysis {"connection_id":173866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07576"} 
[2026-09-06 12:16:27] local.INFO: Extracted packet for processing {"connection_id":173866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07576"} 
[2026-09-06 12:16:27] local.INFO: GPS Element Parsed {"raw_longitude":756968448,"raw_latitude":119384240,"longitude_deg":75.6968448,"latitude_deg":11.938424,"altitude":75,"angle":283,"satellites":40,"speed":28,"hex_longitude":"2d1e6c00","hex_latitude":"071da8b0","is_valid_coordinates":true} 
[2026-09-06 12:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901329152001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18227003685601280,"note":"Value kept but may cause issues"} 
[2026-09-06 12:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2195997430114633728,"note":"Value kept but may cause issues"} 
[2026-09-06 12:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788677072000,"timestamp_ms":1788677072000,"timestamp_seconds":1788677072,"priority":1,"record_length":96,"hex_timestamp":"000001a075762480"} 
[2026-09-06 12:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 12:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:16:27] 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-09-06 12:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901329152001,"66":12613,"108":206,"83":41984,"24":28,"16":18227003685601280,"45":2195997430114633728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,83,24,16,45]} 
[2026-09-06 12:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901329152001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:16:27] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-06 12:16:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18227003685601280,"km_value":18227003685601.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2195997430114633728,"description":"Unknown IO ID 45"} 
[2026-09-06 12:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901329152001,"power":12613,"unknown_108":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":2195997430114633728}} 
[2026-09-06 12:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":173866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:16:27] local.INFO: GPS data processed {"connection_id":173866,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:16:27] local.INFO: Acknowledgment sent {"connection_id":173866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:16:29] local.INFO: TCP Data received {"connection_id":175180,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:16:29] local.INFO: Processing buffer {"connection_id":175180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:16:29] local.INFO: IMEI packet received {"connection_id":175180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 12:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":175180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:16:30] local.INFO: TCP Data received {"connection_id":175180,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075726f48012d7b684005d0cf600008001c2a..."} 
[2026-09-06 12:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075726f48012d7b684005d0cf600008001c2a..."} 
[2026-09-06 12:16:30] local.INFO: Processing buffer {"connection_id":175180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075726f48012d7b684005d0cf600008001c2a..."} 
[2026-09-06 12:16:30] local.INFO: Packet analysis {"connection_id":175180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:16:30] local.INFO: Extracted packet for processing {"connection_id":175180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:16:30] local.INFO: GPS Element Parsed {"raw_longitude":763062336,"raw_latitude":97570656,"longitude_deg":76.3062336,"latitude_deg":9.7570656,"altitude":8,"angle":28,"satellites":42,"speed":9,"hex_longitude":"2d7b6840","hex_latitude":"05d0cf60","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901266944001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917622392619008,"note":"Value kept but may cause issues"} 
[2026-09-06 12:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892005645499920384,"note":"Value kept but may cause issues"} 
[2026-09-06 12:16:30] 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-09-06 12:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788676829000,"timestamp_ms":1788676829000,"timestamp_seconds":1788676829,"priority":1,"record_length":96,"hex_timestamp":"000001a075726f48"} 
[2026-09-06 12:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 12:16:30] 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-09-06 12: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-09-06 12:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901266944001,"66":13580,"81":206,"85":15104,"24":9,"16":128917622392619008,"45":8892005645499920384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-06 12:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901266944001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:16:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 12:16:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128917622392619008,"km_value":128917622392619.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892005645499920384,"description":"Unknown IO ID 45"} 
[2026-09-06 12:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901266944001,"power":13580,"unknown_81":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8892005645499920384}} 
[2026-09-06 12:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":175180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:16:30] local.INFO: GPS data processed {"connection_id":175180,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:16:30] local.INFO: Acknowledgment sent {"connection_id":175180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:16:48] local.INFO: TCP Data received {"connection_id":175181,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:16:48] local.INFO: Processing buffer {"connection_id":175181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:16:48] local.INFO: IMEI packet received {"connection_id":175181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":175181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:16:53] local.INFO: TCP Data received {"connection_id":175181,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:16:53] local.INFO: Processing buffer {"connection_id":175181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:16:53] local.INFO: IMEI packet received {"connection_id":175181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":175181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:16:54] local.INFO: TCP Data received {"connection_id":172700,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:16:54] local.INFO: Processing buffer {"connection_id":172700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:16:54] local.INFO: IMEI packet received {"connection_id":172700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 12:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":172700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:16:54] local.INFO: TCP Data received {"connection_id":175181,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:16:54] local.INFO: Processing buffer {"connection_id":175181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:16:54] local.INFO: Packet analysis {"connection_id":175181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:16:54] local.INFO: Extracted packet for processing {"connection_id":175181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:16:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901225216001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788676962000,"timestamp_ms":1788676962000,"timestamp_seconds":1788676962,"priority":1,"record_length":96,"hex_timestamp":"000001a0757476d0"} 
[2026-09-06 12:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:16: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-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:16: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-09-06 12:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901225216001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901225216001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:16:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:16:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901225216001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":175181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:16:54] local.INFO: GPS data processed {"connection_id":175181,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:16:54] local.INFO: Acknowledgment sent {"connection_id":175181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:16:59] local.INFO: TCP Data received {"connection_id":172700,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:16:59] local.INFO: Processing buffer {"connection_id":172700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:16:59] local.INFO: IMEI packet received {"connection_id":172700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 12:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":172700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:17:00] local.INFO: TCP Data received {"connection_id":172700,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075727330012d7b690005d0d0100008002a2a..."} 
[2026-09-06 12:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075727330012d7b690005d0d0100008002a2a..."} 
[2026-09-06 12:17:00] local.INFO: Processing buffer {"connection_id":172700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075727330012d7b690005d0d0100008002a2a..."} 
[2026-09-06 12:17:00] local.INFO: Packet analysis {"connection_id":172700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:17:00] local.INFO: Extracted packet for processing {"connection_id":172700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763062528,"raw_latitude":97570832,"longitude_deg":76.3062528,"latitude_deg":9.7570832,"altitude":8,"angle":42,"satellites":42,"speed":7,"hex_longitude":"2d7b6900","hex_latitude":"05d0d010","is_valid_coordinates":true} 
[2026-09-06 12:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901268224001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917635277520896,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892427857965309952,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:00] 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-09-06 12:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788676830000,"timestamp_ms":1788676830000,"timestamp_seconds":1788676830,"priority":1,"record_length":96,"hex_timestamp":"000001a075727330"} 
[2026-09-06 12:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 12:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630849,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3890630690978398208,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:00] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":28835840,"corrected_to":0} 
[2026-09-06 12:17:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:00] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3340763144,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110803281,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1599144142,"corrected_to":0} 
[2026-09-06 12:17:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3502977024,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:00] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2147864777,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:00] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271635721531819,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:00] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:00] local.WARNING: Large IO value detected {"io_id":123,"raw_value":7025621813002502152,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:00] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:00] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,81,85,24,241,157,16,1,160,91,45,192,202,9,42,10,66,87,64,201,8,68,128,240,34,227,117,208,4,113,205,7,5,97,144,239,53,2,123,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":202,"original":28835840,"validated":0},{"io_id":205,"original":1599144142,"validated":0}]} 
[2026-09-06 12:17:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576491719018217472,"timestamp_seconds":576491719018217.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 12:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901268224001,"66":13580,"81":206,"85":15104,"24":7,"16":128917635277520896,"45":8892427857965309952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-06 12:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901268224001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:17:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 12:17:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128917635277520896,"km_value":128917635277520.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892427857965309952,"description":"Unknown IO ID 45"} 
[2026-09-06 12:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901268224001,"power":13580,"unknown_81":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8892427857965309952}} 
[2026-09-06 12:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":172700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:17:00] local.INFO: GPS data processed {"connection_id":172700,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:17:00] local.INFO: Acknowledgment sent {"connection_id":172700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:17:09] local.INFO: TCP Data received {"connection_id":172487,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:17:09] local.INFO: Processing buffer {"connection_id":172487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:17:09] local.INFO: IMEI packet received {"connection_id":172487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":172487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:17:14] local.INFO: TCP Data received {"connection_id":172487,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:17:14] local.INFO: Processing buffer {"connection_id":172487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:17:14] local.INFO: IMEI packet received {"connection_id":172487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":172487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:17:15] local.INFO: TCP Data received {"connection_id":172486,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:17:15] local.INFO: Processing buffer {"connection_id":172486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:17:15] local.INFO: IMEI packet received {"connection_id":172486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":172486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:17:15] local.INFO: TCP Data received {"connection_id":172487,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075777858012d1d7b00071d99a8006f012427..."} 
[2026-09-06 12:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075777858012d1d7b00071d99a8006f012427..."} 
[2026-09-06 12:17:15] local.INFO: Processing buffer {"connection_id":172487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075777858012d1d7b00071d99a8006f012427..."} 
[2026-09-06 12:17:15] local.INFO: Packet analysis {"connection_id":172487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07577"} 
[2026-09-06 12:17:15] local.INFO: Extracted packet for processing {"connection_id":172487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07577"} 
[2026-09-06 12:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756906752,"raw_latitude":119380392,"longitude_deg":75.6906752,"latitude_deg":11.9380392,"altitude":111,"angle":292,"satellites":39,"speed":30,"hex_longitude":"2d1d7b00","hex_latitude":"071d99a8","is_valid_coordinates":true} 
[2026-09-06 12:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901349888001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18230027342577664,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2133721091516162048,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788677159000,"timestamp_ms":1788677159000,"timestamp_seconds":1788677159,"priority":1,"record_length":96,"hex_timestamp":"000001a075777858"} 
[2026-09-06 12:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-06 12:17:15] 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-09-06 12:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:17:15] 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-09-06 12:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901349888001,"66":13820,"109":206,"83":41984,"24":30,"16":18230027342577664,"45":2133721091516162048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-06 12:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901349888001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:17:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 12:17:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18230027342577664,"km_value":18230027342577.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2133721091516162048,"description":"Unknown IO ID 45"} 
[2026-09-06 12:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901349888001,"power":13820,"unknown_109":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":2133721091516162048}} 
[2026-09-06 12:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":172487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:17:15] local.INFO: GPS data processed {"connection_id":172487,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:17:15] local.INFO: Acknowledgment sent {"connection_id":172487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:17:29] local.INFO: TCP Data received {"connection_id":175181,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:17:29] local.INFO: Processing buffer {"connection_id":175181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:17:29] local.INFO: Packet analysis {"connection_id":175181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:17:29] local.INFO: Extracted packet for processing {"connection_id":175181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:17:29] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901225216001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788676962000,"timestamp_ms":1788676962000,"timestamp_seconds":1788676962,"priority":1,"record_length":96,"hex_timestamp":"000001a0757476d0"} 
[2026-09-06 12:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:17: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-09-06 12:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901225216001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901225216001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:17:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:17:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901225216001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":175181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:17:29] local.INFO: GPS data processed {"connection_id":175181,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:17:29] local.INFO: Acknowledgment sent {"connection_id":175181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:17:31] local.INFO: TCP Data received {"connection_id":172700,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07572b1b0012d7b678005d0cf280006002a2a..."} 
[2026-09-06 12:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07572b1b0012d7b678005d0cf280006002a2a..."} 
[2026-09-06 12:17:31] local.INFO: Processing buffer {"connection_id":172700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07572b1b0012d7b678005d0cf280006002a2a..."} 
[2026-09-06 12:17:31] local.INFO: Packet analysis {"connection_id":172700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:17:31] local.INFO: Extracted packet for processing {"connection_id":172700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:17:31] local.INFO: GPS Element Parsed {"raw_longitude":763062144,"raw_latitude":97570600,"longitude_deg":76.3062144,"latitude_deg":9.75706,"altitude":6,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d7b6780","hex_latitude":"05d0cf28","is_valid_coordinates":true} 
[2026-09-06 12:17: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-09-06 12:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901268480001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917682522161152,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892638964197888000,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:31] 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-09-06 12:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788676846000,"timestamp_ms":1788676846000,"timestamp_seconds":1788676846,"priority":1,"record_length":96,"hex_timestamp":"000001a07572b1b0"} 
[2026-09-06 12:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:17: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-09-06 12:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 12:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630849,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3890626292931887104,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:31] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":29818880,"corrected_to":0} 
[2026-09-06 12:17:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:31] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3348627464,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549756753,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1599144142,"corrected_to":0} 
[2026-09-06 12:17:31] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4035451075388558933,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:31] local.WARNING: Large IO value detected {"io_id":123,"raw_value":7025621813018230791,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:31] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:31] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,81,85,24,241,157,16,1,160,111,45,64,207,8,42,10,66,91,192,202,9,87,240,104,227,117,208,4,113,205,99,32,239,53,2,5,123,59],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":202,"original":29818880,"validated":0},{"io_id":205,"original":1599144142,"validated":0}]} 
[2026-09-06 12:17:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576507112180875264,"timestamp_seconds":576507112180875.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 12:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901268480001,"66":13678,"81":206,"85":15104,"24":0,"16":128917682522161152,"45":8892638964197888000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-06 12:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901268480001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:17:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 12:17:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128917682522161152,"km_value":128917682522161.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892638964197888000,"description":"Unknown IO ID 45"} 
[2026-09-06 12:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901268480001,"power":13678,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8892638964197888000}} 
[2026-09-06 12:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":172700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:17:31] local.INFO: GPS data processed {"connection_id":172700,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:17:31] local.INFO: Acknowledgment sent {"connection_id":172700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:17:53] local.INFO: TCP Data received {"connection_id":172701,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:17:53] local.INFO: Processing buffer {"connection_id":172701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:17:53] local.INFO: IMEI packet received {"connection_id":172701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":172701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:17:56] local.INFO: TCP Data received {"connection_id":172487,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07577a350012d1d5ac0071daa900069012a26..."} 
[2026-09-06 12:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07577a350012d1d5ac0071daa900069012a26..."} 
[2026-09-06 12:17:56] local.INFO: Processing buffer {"connection_id":172487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07577a350012d1d5ac0071daa900069012a26..."} 
[2026-09-06 12:17:56] local.INFO: Packet analysis {"connection_id":172487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07577"} 
[2026-09-06 12:17:56] local.INFO: Extracted packet for processing {"connection_id":172487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07577"} 
[2026-09-06 12:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756898496,"raw_latitude":119384720,"longitude_deg":75.6898496,"latitude_deg":11.938472,"altitude":105,"angle":298,"satellites":38,"speed":32,"hex_longitude":"2d1d5ac0","hex_latitude":"071daa90","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901352704001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18230469724209152,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2124291679796701184,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788677170000,"timestamp_ms":1788677170000,"timestamp_seconds":1788677170,"priority":1,"record_length":96,"hex_timestamp":"000001a07577a350"} 
[2026-09-06 12:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 12:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:17:56] 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-09-06 12:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901352704001,"66":14157,"109":206,"83":41984,"24":32,"16":18230469724209152,"45":2124291679796701184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-06 12:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901352704001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:17:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 12:17:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18230469724209152,"km_value":18230469724209.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2124291679796701184,"description":"Unknown IO ID 45"} 
[2026-09-06 12:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901352704001,"power":14157,"unknown_109":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":2124291679796701184}} 
[2026-09-06 12:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":172487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:17:56] local.INFO: GPS data processed {"connection_id":172487,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:17:56] local.INFO: Acknowledgment sent {"connection_id":172487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:17:58] local.INFO: TCP Data received {"connection_id":172701,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:17:58] local.INFO: Processing buffer {"connection_id":172701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:17:58] local.INFO: IMEI packet received {"connection_id":172701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":172701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:17:59] local.INFO: TCP Data received {"connection_id":172701,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:17:59] local.INFO: Processing buffer {"connection_id":172701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:17:59] local.INFO: Packet analysis {"connection_id":172701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:17:59] local.INFO: Extracted packet for processing {"connection_id":172701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:17:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901225216001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788676962000,"timestamp_ms":1788676962000,"timestamp_seconds":1788676962,"priority":1,"record_length":96,"hex_timestamp":"000001a0757476d0"} 
[2026-09-06 12:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12: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-09-06 12:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901225216001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901225216001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:17:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:17:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901225216001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":172701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:17:59] local.INFO: GPS data processed {"connection_id":172701,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:17:59] local.INFO: Acknowledgment sent {"connection_id":172701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:17:59] local.INFO: TCP Data received {"connection_id":172702,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:17:59] local.INFO: Processing buffer {"connection_id":172702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:17:59] local.INFO: IMEI packet received {"connection_id":172702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 12:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":172702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:18:03] local.INFO: TCP Data received {"connection_id":172701,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:18:03] local.INFO: Processing buffer {"connection_id":172701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757476d0012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:18:03] local.INFO: Packet analysis {"connection_id":172701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:18:03] local.INFO: Extracted packet for processing {"connection_id":172701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07574"} 
[2026-09-06 12:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901225216001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788676962000,"timestamp_ms":1788676962000,"timestamp_seconds":1788676962,"priority":1,"record_length":96,"hex_timestamp":"000001a0757476d0"} 
[2026-09-06 12:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 12:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:18: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-09-06 12:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901225216001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901225216001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:18:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:18:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901225216001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":172701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:18:03] local.INFO: GPS data processed {"connection_id":172701,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:18:03] local.INFO: Acknowledgment sent {"connection_id":172701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:18:04] local.INFO: TCP Data received {"connection_id":172702,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:18:04] local.INFO: Processing buffer {"connection_id":172702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 12:18:04] local.INFO: IMEI packet received {"connection_id":172702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 12:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":172702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:18:05] local.INFO: TCP Data received {"connection_id":172702,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07572b1b0012d7b678005d0cf280006002a2a..."} 
[2026-09-06 12:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07572b1b0012d7b678005d0cf280006002a2a..."} 
[2026-09-06 12:18:05] local.INFO: Processing buffer {"connection_id":172702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07572b1b0012d7b678005d0cf280006002a2a..."} 
[2026-09-06 12:18:05] local.INFO: Packet analysis {"connection_id":172702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:18:05] local.INFO: Extracted packet for processing {"connection_id":172702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763062144,"raw_latitude":97570600,"longitude_deg":76.3062144,"latitude_deg":9.75706,"altitude":6,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d7b6780","hex_latitude":"05d0cf28","is_valid_coordinates":true} 
[2026-09-06 12:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901272576001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917682522161152,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892216751732762624,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788676846000,"timestamp_ms":1788676846000,"timestamp_seconds":1788676846,"priority":1,"record_length":96,"hex_timestamp":"000001a07572b1b0"} 
[2026-09-06 12:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:18: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-09-06 12: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 12:18: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-09-06 12: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-09-06 12:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901272576001,"66":13678,"81":206,"85":15104,"24":0,"16":128917682522161152,"45":8892216751732762624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-06 12:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901272576001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 12:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128917682522161152,"km_value":128917682522161.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892216751732762624,"description":"Unknown IO ID 45"} 
[2026-09-06 12:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901272576001,"power":13678,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8892216751732762624}} 
[2026-09-06 12:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":172702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:18:05] local.INFO: GPS data processed {"connection_id":172702,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:18:05] local.INFO: Acknowledgment sent {"connection_id":172702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:18:09] local.INFO: TCP Data received {"connection_id":172488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:18:09] local.INFO: Processing buffer {"connection_id":172488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:18:09] local.INFO: IMEI packet received {"connection_id":172488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":172488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:18:10] local.INFO: TCP Data received {"connection_id":172488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:18:10] local.INFO: Processing buffer {"connection_id":172488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:18:10] local.INFO: IMEI packet received {"connection_id":172488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":172488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:18:13] local.INFO: TCP Data received {"connection_id":172488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:18:13] local.INFO: Processing buffer {"connection_id":172488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:18:13] local.INFO: IMEI packet received {"connection_id":172488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":172488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:18:14] local.INFO: TCP Data received {"connection_id":172488,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0757866a0012d1cf600071dd570005d016723..."} 
[2026-09-06 12:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757866a0012d1cf600071dd570005d016723..."} 
[2026-09-06 12:18:14] local.INFO: Processing buffer {"connection_id":172488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757866a0012d1cf600071dd570005d016723..."} 
[2026-09-06 12:18:14] local.INFO: Packet analysis {"connection_id":172488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07578"} 
[2026-09-06 12:18:14] local.INFO: Extracted packet for processing {"connection_id":172488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07578"} 
[2026-09-06 12:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756872704,"raw_latitude":119395696,"longitude_deg":75.6872704,"latitude_deg":11.9395696,"altitude":93,"angle":359,"satellites":35,"speed":19,"hex_longitude":"2d1cf600","hex_latitude":"071dd570","is_valid_coordinates":true} 
[2026-09-06 12:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901367040001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18232247840669696,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2086362926688262144,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788677220000,"timestamp_ms":1788677220000,"timestamp_seconds":1788677220,"priority":1,"record_length":96,"hex_timestamp":"000001a0757866a0"} 
[2026-09-06 12:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:18: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-09-06 12:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-06 12:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:18:14] 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-09-06 12:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901367040001,"66":13993,"109":206,"83":41984,"24":19,"16":18232247840669696,"45":2086362926688262144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,45]} 
[2026-09-06 12:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901367040001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:18:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 12:18:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18232247840669696,"km_value":18232247840669.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2086362926688262144,"description":"Unknown IO ID 45"} 
[2026-09-06 12:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901367040001,"power":13993,"unknown_109":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":2086362926688262144}} 
[2026-09-06 12:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":172488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:18:14] local.INFO: GPS data processed {"connection_id":172488,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:18:14] local.INFO: Acknowledgment sent {"connection_id":172488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:18:36] local.INFO: TCP Data received {"connection_id":172702,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07572c538012d7b678005d0cf280006002a2a..."} 
[2026-09-06 12:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07572c538012d7b678005d0cf280006002a2a..."} 
[2026-09-06 12:18:36] local.INFO: Processing buffer {"connection_id":172702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07572c538012d7b678005d0cf280006002a2a..."} 
[2026-09-06 12:18:36] local.INFO: Packet analysis {"connection_id":172702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:18:36] local.INFO: Extracted packet for processing {"connection_id":172702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07572"} 
[2026-09-06 12:18:36] local.INFO: GPS Element Parsed {"raw_longitude":763062144,"raw_latitude":97570600,"longitude_deg":76.3062144,"latitude_deg":9.75706,"altitude":6,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d7b6780","hex_latitude":"05d0cf28","is_valid_coordinates":true} 
[2026-09-06 12:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901272576001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917682522161152,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892216751732762624,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788676851000,"timestamp_ms":1788676851000,"timestamp_seconds":1788676851,"priority":1,"record_length":96,"hex_timestamp":"000001a07572c538"} 
[2026-09-06 12:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:18:36] 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-09-06 12: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 12:18:36] 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-09-06 12: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-09-06 12:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 12:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 12:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 12:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901272576001,"66":13580,"81":206,"85":15104,"24":0,"16":128917682522161152,"45":8892216751732762624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-06 12:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 12:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 12:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901272576001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 12:18:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 12:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128917682522161152,"km_value":128917682522161.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892216751732762624,"description":"Unknown IO ID 45"} 
[2026-09-06 12:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901272576001,"power":13580,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8892216751732762624}} 
[2026-09-06 12:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":172702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:18:36] local.INFO: GPS data processed {"connection_id":172702,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:18:36] local.INFO: Acknowledgment sent {"connection_id":172702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:18:46] local.INFO: TCP Data received {"connection_id":172488,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075794d18012d1d1540071e5450004b014626..."} 
[2026-09-06 12:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075794d18012d1d1540071e5450004b014626..."} 
[2026-09-06 12:18:46] local.INFO: Processing buffer {"connection_id":172488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075794d18012d1d1540071e5450004b014626..."} 
[2026-09-06 12:18:46] local.INFO: Packet analysis {"connection_id":172488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:18:46] local.INFO: Extracted packet for processing {"connection_id":172488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:18:46] local.INFO: GPS Element Parsed {"raw_longitude":756880704,"raw_latitude":119428176,"longitude_deg":75.6880704,"latitude_deg":11.9428176,"altitude":75,"angle":326,"satellites":38,"speed":20,"hex_longitude":"2d1d1540","hex_latitude":"071e5450","is_valid_coordinates":true} 
[2026-09-06 12:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901380864001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18233952942686208,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2096566394601936896,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18: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-09-06 12:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788677279000,"timestamp_ms":1788677279000,"timestamp_seconds":1788677279,"priority":1,"record_length":96,"hex_timestamp":"000001a075794d18"} 
[2026-09-06 12:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-06 12:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:18:46] 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-09-06 12:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901380864001,"66":14428,"107":206,"83":41984,"24":20,"16":18233952942686208,"45":2096566394601936896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 12:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901380864001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:18:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 12:18:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18233952942686208,"km_value":18233952942686.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2096566394601936896,"description":"Unknown IO ID 45"} 
[2026-09-06 12:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901380864001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":2096566394601936896}} 
[2026-09-06 12:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":172488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:18:46] local.INFO: GPS data processed {"connection_id":172488,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:18:46] local.INFO: Acknowledgment sent {"connection_id":172488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:18:48] local.INFO: TCP Data received {"connection_id":172489,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:18:48] local.INFO: Processing buffer {"connection_id":172489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:18:48] local.INFO: IMEI packet received {"connection_id":172489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":172489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:18:53] local.INFO: TCP Data received {"connection_id":172489,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:18:53] local.INFO: Processing buffer {"connection_id":172489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:18:53] local.INFO: IMEI packet received {"connection_id":172489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":172489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:18:54] local.INFO: TCP Data received {"connection_id":172489,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:18:54] local.INFO: Processing buffer {"connection_id":172489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:18:54] local.INFO: Packet analysis {"connection_id":172489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:18:54] local.INFO: Extracted packet for processing {"connection_id":172489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:18:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901302272001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788677263000,"timestamp_ms":1788677263000,"timestamp_seconds":1788677263,"priority":1,"record_length":96,"hex_timestamp":"000001a075790e98"} 
[2026-09-06 12:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:18: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-09-06 12:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:18: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-09-06 12:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901302272001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901302272001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:18:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:18:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901302272001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":172489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:18:54] local.INFO: GPS data processed {"connection_id":172489,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:18:54] local.INFO: Acknowledgment sent {"connection_id":172489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:19:09] local.INFO: TCP Data received {"connection_id":173868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:19:09] local.INFO: Processing buffer {"connection_id":173868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:19:09] local.INFO: IMEI packet received {"connection_id":173868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":173868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:19:14] local.INFO: TCP Data received {"connection_id":173868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:19:14] local.INFO: Processing buffer {"connection_id":173868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:19:14] local.INFO: IMEI packet received {"connection_id":173868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":173868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:19:14] local.INFO: TCP Data received {"connection_id":173868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075795100012d1d13c0071e55e0004b013a27..."} 
[2026-09-06 12:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075795100012d1d13c0071e55e0004b013a27..."} 
[2026-09-06 12:19:14] local.INFO: Processing buffer {"connection_id":173868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075795100012d1d13c0071e55e0004b013a27..."} 
[2026-09-06 12:19:14] local.INFO: Packet analysis {"connection_id":173868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:19:14] local.INFO: Extracted packet for processing {"connection_id":173868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:19:14] local.INFO: GPS Element Parsed {"raw_longitude":756880320,"raw_latitude":119428576,"longitude_deg":75.688032,"latitude_deg":11.9428576,"altitude":75,"angle":314,"satellites":39,"speed":23,"hex_longitude":"2d1d13c0","hex_latitude":"071e55e0","is_valid_coordinates":true} 
[2026-09-06 12:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901383424001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18233978712489984,"note":"Value kept but may cause issues"} 
[2026-09-06 12:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2095651600928624640,"note":"Value kept but may cause issues"} 
[2026-09-06 12:19:14] 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-09-06 12:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788677280000,"timestamp_ms":1788677280000,"timestamp_seconds":1788677280,"priority":1,"record_length":96,"hex_timestamp":"000001a075795100"} 
[2026-09-06 12:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:19: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-09-06 12:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 12:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:19:14] 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-09-06 12:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901383424001,"66":13939,"107":206,"83":41984,"24":23,"16":18233978712489984,"45":2095651600928624640},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 12:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901383424001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:19:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 12:19:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18233978712489984,"km_value":18233978712489.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2095651600928624640,"description":"Unknown IO ID 45"} 
[2026-09-06 12:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901383424001,"power":13939,"unknown_107":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":2095651600928624640}} 
[2026-09-06 12:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":173868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:19:14] local.INFO: GPS data processed {"connection_id":173868,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:19:14] local.INFO: Acknowledgment sent {"connection_id":173868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:19:25] local.INFO: TCP Data received {"connection_id":172489,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:19:25] local.INFO: Processing buffer {"connection_id":172489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:19:25] local.INFO: Packet analysis {"connection_id":172489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:19:25] local.INFO: Extracted packet for processing {"connection_id":172489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:19:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901302272001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788677263000,"timestamp_ms":1788677263000,"timestamp_seconds":1788677263,"priority":1,"record_length":96,"hex_timestamp":"000001a075790e98"} 
[2026-09-06 12:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:19: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-09-06 12: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":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:19: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-09-06 12:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901302272001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901302272001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:19:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:19:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901302272001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":172489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:19:25] local.INFO: GPS data processed {"connection_id":172489,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:19:25] local.INFO: Acknowledgment sent {"connection_id":172489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:19:48] local.INFO: TCP Data received {"connection_id":175182,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:19:48] local.INFO: Processing buffer {"connection_id":175182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:19:48] local.INFO: IMEI packet received {"connection_id":175182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":175182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:19:53] local.INFO: TCP Data received {"connection_id":173868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0757958d0012d1d0fc0071e5860004d012827..."} 
[2026-09-06 12:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757958d0012d1d0fc0071e5860004d012827..."} 
[2026-09-06 12:19:53] local.INFO: Processing buffer {"connection_id":173868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757958d0012d1d0fc0071e5860004d012827..."} 
[2026-09-06 12:19:53] local.INFO: Packet analysis {"connection_id":173868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:19:53] local.INFO: Extracted packet for processing {"connection_id":173868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:19:53] local.INFO: GPS Element Parsed {"raw_longitude":756879296,"raw_latitude":119429216,"longitude_deg":75.6879296,"latitude_deg":11.9429216,"altitude":77,"angle":296,"satellites":39,"speed":23,"hex_longitude":"2d1d0fc0","hex_latitude":"071e5860","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901383680001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18234038842032128,"note":"Value kept but may cause issues"} 
[2026-09-06 12:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2095229388463661056,"note":"Value kept but may cause issues"} 
[2026-09-06 12:19:53] 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-09-06 12:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788677282000,"timestamp_ms":1788677282000,"timestamp_seconds":1788677282,"priority":1,"record_length":96,"hex_timestamp":"000001a0757958d0"} 
[2026-09-06 12:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-06 12:19:53] 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-09-06 12: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-09-06 12:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:19:53] 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-09-06 12:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901383680001,"66":14483,"107":206,"83":41984,"24":23,"16":18234038842032128,"45":2095229388463661056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 12:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901383680001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:19:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 12:19:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18234038842032128,"km_value":18234038842032.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2095229388463661056,"description":"Unknown IO ID 45"} 
[2026-09-06 12:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901383680001,"power":14483,"unknown_107":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":2095229388463661056}} 
[2026-09-06 12:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":173868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:19:53] local.INFO: GPS data processed {"connection_id":173868,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:19:53] local.INFO: Acknowledgment sent {"connection_id":173868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:19:53] local.INFO: TCP Data received {"connection_id":175182,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:19:53] local.INFO: Processing buffer {"connection_id":175182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:19:53] local.INFO: IMEI packet received {"connection_id":175182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":175182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:19:54] local.INFO: TCP Data received {"connection_id":175182,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:19:54] local.INFO: Processing buffer {"connection_id":175182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:19:54] local.INFO: Packet analysis {"connection_id":175182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:19:54] local.INFO: Extracted packet for processing {"connection_id":175182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:19:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901302272001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788677263000,"timestamp_ms":1788677263000,"timestamp_seconds":1788677263,"priority":1,"record_length":96,"hex_timestamp":"000001a075790e98"} 
[2026-09-06 12:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:19: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-09-06 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:19: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-09-06 12:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901302272001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901302272001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:19:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:19:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901302272001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":175182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:19:54] local.INFO: GPS data processed {"connection_id":175182,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:19:54] local.INFO: Acknowledgment sent {"connection_id":175182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:20:09] local.INFO: TCP Data received {"connection_id":172492,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:20:09] local.INFO: Processing buffer {"connection_id":172492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:20:09] local.INFO: IMEI packet received {"connection_id":172492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":172492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:20:10] local.INFO: TCP Data received {"connection_id":172492,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:20:10] local.INFO: Processing buffer {"connection_id":172492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:20:10] local.INFO: IMEI packet received {"connection_id":172492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":172492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:20:14] local.INFO: TCP Data received {"connection_id":172492,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:20:14] local.INFO: Processing buffer {"connection_id":172492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:20:14] local.INFO: IMEI packet received {"connection_id":172492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":172492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:20:15] local.INFO: TCP Data received {"connection_id":172492,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07579aad8012d1d0340071e5e580051012d29..."} 
[2026-09-06 12:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07579aad8012d1d0340071e5e580051012d29..."} 
[2026-09-06 12:20:15] local.INFO: Processing buffer {"connection_id":172492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07579aad8012d1d0340071e5e580051012d29..."} 
[2026-09-06 12:20:15] local.INFO: Packet analysis {"connection_id":172492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:20:15] local.INFO: Extracted packet for processing {"connection_id":172492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756876096,"raw_latitude":119430744,"longitude_deg":75.6876096,"latitude_deg":11.9430744,"altitude":81,"angle":301,"satellites":41,"speed":8,"hex_longitude":"2d1d0340","hex_latitude":"071e5e58","is_valid_coordinates":true} 
[2026-09-06 12:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901384192001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18234214935691264,"note":"Value kept but may cause issues"} 
[2026-09-06 12:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2094103488556982272,"note":"Value kept but may cause issues"} 
[2026-09-06 12:20:15] 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-09-06 12:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788677303000,"timestamp_ms":1788677303000,"timestamp_seconds":1788677303,"priority":1,"record_length":96,"hex_timestamp":"000001a07579aad8"} 
[2026-09-06 12:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-06 12:20:15] 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-09-06 12:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:20:15] 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-09-06 12:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901384192001,"66":14048,"107":206,"83":41984,"24":8,"16":18234214935691264,"45":2094103488556982272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 12:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901384192001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:20:15] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 12:20:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18234214935691264,"km_value":18234214935691.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2094103488556982272,"description":"Unknown IO ID 45"} 
[2026-09-06 12:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901384192001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":2094103488556982272}} 
[2026-09-06 12:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":172492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:20:15] local.INFO: GPS data processed {"connection_id":172492,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:20:15] local.INFO: Acknowledgment sent {"connection_id":172492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:20:26] local.INFO: TCP Data received {"connection_id":175182,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:20:26] local.INFO: Processing buffer {"connection_id":175182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:20:26] local.INFO: Packet analysis {"connection_id":175182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:20:26] local.INFO: Extracted packet for processing {"connection_id":175182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:20:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901302272001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788677263000,"timestamp_ms":1788677263000,"timestamp_seconds":1788677263,"priority":1,"record_length":96,"hex_timestamp":"000001a075790e98"} 
[2026-09-06 12:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:20: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-09-06 12:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901302272001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901302272001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:20:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:20:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901302272001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":175182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:20:26] local.INFO: GPS data processed {"connection_id":175182,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:20:26] local.INFO: Acknowledgment sent {"connection_id":175182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:20:46] local.INFO: TCP Data received {"connection_id":172492,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07579e958012d1ce980071e6c680054012127..."} 
[2026-09-06 12:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07579e958012d1ce980071e6c680054012127..."} 
[2026-09-06 12:20:46] local.INFO: Processing buffer {"connection_id":172492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07579e958012d1ce980071e6c680054012127..."} 
[2026-09-06 12:20:46] local.INFO: Packet analysis {"connection_id":172492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:20:46] local.INFO: Extracted packet for processing {"connection_id":172492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:20:46] local.INFO: GPS Element Parsed {"raw_longitude":756869504,"raw_latitude":119434344,"longitude_deg":75.6869504,"latitude_deg":11.9434344,"altitude":84,"angle":289,"satellites":39,"speed":18,"hex_longitude":"2d1ce980","hex_latitude":"071e6c68","is_valid_coordinates":true} 
[2026-09-06 12:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901389568001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18234571417976832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2090585051348490240,"note":"Value kept but may cause issues"} 
[2026-09-06 12:20: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-09-06 12:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788677319000,"timestamp_ms":1788677319000,"timestamp_seconds":1788677319,"priority":1,"record_length":96,"hex_timestamp":"000001a07579e958"} 
[2026-09-06 12:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-06 12:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:20:46] 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-09-06 12:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901389568001,"66":12950,"107":206,"83":41984,"24":18,"16":18234571417976832,"45":2090585051348490240},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-06 12:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901389568001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:20:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-06 12:20:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18234571417976832,"km_value":18234571417976.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2090585051348490240,"description":"Unknown IO ID 45"} 
[2026-09-06 12:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901389568001,"power":12950,"unknown_107":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":2090585051348490240}} 
[2026-09-06 12:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":172492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:20:46] local.INFO: GPS data processed {"connection_id":172492,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:20:46] local.INFO: Acknowledgment sent {"connection_id":172492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:20:53] local.INFO: TCP Data received {"connection_id":175183,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:20:53] local.INFO: Processing buffer {"connection_id":175183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:20:53] local.INFO: IMEI packet received {"connection_id":175183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":175183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:20:58] local.INFO: TCP Data received {"connection_id":175183,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:20:58] local.INFO: Processing buffer {"connection_id":175183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:20:58] local.INFO: IMEI packet received {"connection_id":175183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":175183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:20:59] local.INFO: TCP Data received {"connection_id":175183,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:20:59] local.INFO: Processing buffer {"connection_id":175183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:20:59] local.INFO: Packet analysis {"connection_id":175183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:20:59] local.INFO: Extracted packet for processing {"connection_id":175183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:20:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901302272001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788677263000,"timestamp_ms":1788677263000,"timestamp_seconds":1788677263,"priority":1,"record_length":96,"hex_timestamp":"000001a075790e98"} 
[2026-09-06 12:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:20:59] 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-09-06 12:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901302272001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901302272001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:20:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:20:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901302272001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":175183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:20:59] local.INFO: GPS data processed {"connection_id":175183,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:20:59] local.INFO: Acknowledgment sent {"connection_id":175183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:21:03] local.INFO: TCP Data received {"connection_id":175183,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:21:03] local.INFO: Processing buffer {"connection_id":175183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:21:03] local.INFO: Packet analysis {"connection_id":175183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:21:03] local.INFO: Extracted packet for processing {"connection_id":175183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:21:03] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901302272001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788677263000,"timestamp_ms":1788677263000,"timestamp_seconds":1788677263,"priority":1,"record_length":96,"hex_timestamp":"000001a075790e98"} 
[2026-09-06 12:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:21:03] 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-09-06 12:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901302272001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901302272001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:21:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:21:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901302272001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":175183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:21:03] local.INFO: GPS data processed {"connection_id":175183,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:21:03] local.INFO: Acknowledgment sent {"connection_id":175183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:21:09] local.INFO: TCP Data received {"connection_id":175184,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:21:09] local.INFO: Processing buffer {"connection_id":175184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:21:09] local.INFO: IMEI packet received {"connection_id":175184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":175184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:21:15] local.INFO: TCP Data received {"connection_id":175184,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:21:15] local.INFO: Processing buffer {"connection_id":175184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:21:15] local.INFO: IMEI packet received {"connection_id":175184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":175184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:21:36] local.INFO: TCP Data received {"connection_id":175184,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:21:36] local.INFO: Processing buffer {"connection_id":175184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:21:36] local.INFO: IMEI packet received {"connection_id":175184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":175184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:21:44] local.INFO: TCP Data received {"connection_id":175184,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:21:44] local.INFO: Processing buffer {"connection_id":175184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:21:44] local.INFO: IMEI packet received {"connection_id":175184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":175184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:21:45] local.INFO: TCP Data received {"connection_id":175184,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0757c17f0012d1ba8c0071e6da80069012927..."} 
[2026-09-06 12:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757c17f0012d1ba8c0071e6da80069012927..."} 
[2026-09-06 12:21:45] local.INFO: Processing buffer {"connection_id":175184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757c17f0012d1ba8c0071e6da80069012927..."} 
[2026-09-06 12:21:45] local.INFO: Packet analysis {"connection_id":175184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0757c"} 
[2026-09-06 12:21:45] local.INFO: Extracted packet for processing {"connection_id":175184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0757c"} 
[2026-09-06 12:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756787392,"raw_latitude":119434664,"longitude_deg":75.6787392,"latitude_deg":11.9434664,"altitude":105,"angle":297,"satellites":39,"speed":28,"hex_longitude":"2d1ba8c0","hex_latitude":"071e6da8","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901428224001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18238578622464000,"note":"Value kept but may cause issues"} 
[2026-09-06 12:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1999105683918149632,"note":"Value kept but may cause issues"} 
[2026-09-06 12:21:45] 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-09-06 12:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788677462000,"timestamp_ms":1788677462000,"timestamp_seconds":1788677462,"priority":1,"record_length":96,"hex_timestamp":"000001a0757c17f0"} 
[2026-09-06 12:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:21: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-09-06 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-06 12:21:45] 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-09-06 12: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-09-06 12:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:21:45] 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-09-06 12:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901428224001,"66":13961,"106":206,"83":41984,"24":28,"16":18238578622464000,"45":1999105683918149632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 12:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901428224001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:21:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 12:21:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18238578622464000,"km_value":18238578622464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1999105683918149632,"description":"Unknown IO ID 45"} 
[2026-09-06 12:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901428224001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1999105683918149632}} 
[2026-09-06 12:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":175184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:21:45] local.INFO: GPS data processed {"connection_id":175184,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:21:45] local.INFO: Acknowledgment sent {"connection_id":175184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:21:46] local.INFO: TCP Data received {"connection_id":175184,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0757c1bd8012d1ba680071e6f480069013427..."} 
[2026-09-06 12:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757c1bd8012d1ba680071e6f480069013427..."} 
[2026-09-06 12:21:46] local.INFO: Processing buffer {"connection_id":175184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757c1bd8012d1ba680071e6f480069013427..."} 
[2026-09-06 12:21:46] local.INFO: Packet analysis {"connection_id":175184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0757c"} 
[2026-09-06 12:21:46] local.INFO: Extracted packet for processing {"connection_id":175184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0757c"} 
[2026-09-06 12:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756786816,"raw_latitude":119435080,"longitude_deg":75.6786816,"latitude_deg":11.943508,"altitude":105,"angle":308,"satellites":39,"speed":30,"hex_longitude":"2d1ba680","hex_latitude":"071e6f48","is_valid_coordinates":true} 
[2026-09-06 12:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901430272001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18238617277169664,"note":"Value kept but may cause issues"} 
[2026-09-06 12:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1993053971919251456,"note":"Value kept but may cause issues"} 
[2026-09-06 12:21:46] 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-09-06 12:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788677463000,"timestamp_ms":1788677463000,"timestamp_seconds":1788677463,"priority":1,"record_length":96,"hex_timestamp":"000001a0757c1bd8"} 
[2026-09-06 12:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-06 12:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:21:46] 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-09-06 12:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901430272001,"66":13961,"106":206,"83":41984,"24":30,"16":18238617277169664,"45":1993053971919251456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-06 12:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901430272001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:21:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-06 12:21:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18238617277169664,"km_value":18238617277169.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1993053971919251456,"description":"Unknown IO ID 45"} 
[2026-09-06 12:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901430272001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1993053971919251456}} 
[2026-09-06 12:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":175184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:21:46] local.INFO: GPS data processed {"connection_id":175184,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:21:46] local.INFO: Acknowledgment sent {"connection_id":175184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:21:48] local.INFO: TCP Data received {"connection_id":175185,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:21:48] local.INFO: Processing buffer {"connection_id":175185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:21:48] local.INFO: IMEI packet received {"connection_id":175185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":175185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:21:53] local.INFO: TCP Data received {"connection_id":175185,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:21:53] local.INFO: Processing buffer {"connection_id":175185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:21:53] local.INFO: IMEI packet received {"connection_id":175185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":175185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:21:56] local.INFO: TCP Data received {"connection_id":175185,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:21:56] local.INFO: Processing buffer {"connection_id":175185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:21:56] local.INFO: Packet analysis {"connection_id":175185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:21:56] local.INFO: Extracted packet for processing {"connection_id":175185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:21:56] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901302272001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788677263000,"timestamp_ms":1788677263000,"timestamp_seconds":1788677263,"priority":1,"record_length":96,"hex_timestamp":"000001a075790e98"} 
[2026-09-06 12:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:21: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-09-06 12:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901302272001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901302272001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:21:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:21:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901302272001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":175185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:21:56] local.INFO: GPS data processed {"connection_id":175185,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:21:56] local.INFO: Acknowledgment sent {"connection_id":175185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:22:27] local.INFO: TCP Data received {"connection_id":175185,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:22:27] local.INFO: Processing buffer {"connection_id":175185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:22:27] local.INFO: Packet analysis {"connection_id":175185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:22:27] local.INFO: Extracted packet for processing {"connection_id":175185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:22:27] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901302272001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788677263000,"timestamp_ms":1788677263000,"timestamp_seconds":1788677263,"priority":1,"record_length":96,"hex_timestamp":"000001a075790e98"} 
[2026-09-06 12:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:22: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-09-06 12:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901302272001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901302272001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:22:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:22:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901302272001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":175185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:22:27] local.INFO: GPS data processed {"connection_id":175185,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:22:27] local.INFO: Acknowledgment sent {"connection_id":175185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:22:49] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:22:49] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:22:49] local.INFO: IMEI packet received {"connection_id":173871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":173871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:22:53] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:22:53] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:22:53] local.INFO: IMEI packet received {"connection_id":173871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":173871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:22:54] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:22:54] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:22:54] local.INFO: Packet analysis {"connection_id":173871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:22:54] local.INFO: Extracted packet for processing {"connection_id":173871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:22:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901302272001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788677263000,"timestamp_ms":1788677263000,"timestamp_seconds":1788677263,"priority":1,"record_length":96,"hex_timestamp":"000001a075790e98"} 
[2026-09-06 12:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:22: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-09-06 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:22: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-09-06 12:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901302272001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901302272001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:22:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:22:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901302272001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":173871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:22:54] local.INFO: GPS data processed {"connection_id":173871,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:22:54] local.INFO: Acknowledgment sent {"connection_id":173871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:22:55] local.INFO: TCP Data received {"connection_id":173872,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:22:55] local.INFO: Processing buffer {"connection_id":173872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:22:55] local.INFO: IMEI packet received {"connection_id":173872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":173872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:23:00] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:23:00] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075790e98012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:23:00] local.INFO: Packet analysis {"connection_id":173871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:23:00] local.INFO: Extracted packet for processing {"connection_id":173871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07579"} 
[2026-09-06 12:23:00] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901302272001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788677263000,"timestamp_ms":1788677263000,"timestamp_seconds":1788677263,"priority":1,"record_length":96,"hex_timestamp":"000001a075790e98"} 
[2026-09-06 12:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:23: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-09-06 12:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901302272001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901302272001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:23:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:23:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901302272001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":173871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:23:00] local.INFO: GPS data processed {"connection_id":173871,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:23:00] local.INFO: Acknowledgment sent {"connection_id":173871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:23:04] local.INFO: TCP Data received {"connection_id":175186,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:23:04] local.INFO: Processing buffer {"connection_id":175186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:23:04] local.INFO: IMEI packet received {"connection_id":175186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":175186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:23:08] local.INFO: TCP Data received {"connection_id":175186,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:23:08] local.INFO: Processing buffer {"connection_id":175186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:23:08] local.INFO: IMEI packet received {"connection_id":175186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":175186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:23:09] local.INFO: TCP Data received {"connection_id":175186,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0757d3900012d1b24c0071eec200047012f24..."} 
[2026-09-06 12:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757d3900012d1b24c0071eec200047012f24..."} 
[2026-09-06 12:23:09] local.INFO: Processing buffer {"connection_id":175186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757d3900012d1b24c0071eec200047012f24..."} 
[2026-09-06 12:23:09] local.INFO: Packet analysis {"connection_id":175186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:23:09] local.INFO: Extracted packet for processing {"connection_id":175186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:23:09] local.INFO: GPS Element Parsed {"raw_longitude":756753600,"raw_latitude":119467040,"longitude_deg":75.67536,"latitude_deg":11.946704,"altitude":71,"angle":303,"satellites":36,"speed":21,"hex_longitude":"2d1b24c0","hex_latitude":"071eec20","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901448192001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18241035343757312,"note":"Value kept but may cause issues"} 
[2026-09-06 12:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957517756117350400,"note":"Value kept but may cause issues"} 
[2026-09-06 12:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788677536000,"timestamp_ms":1788677536000,"timestamp_seconds":1788677536,"priority":1,"record_length":96,"hex_timestamp":"000001a0757d3900"} 
[2026-09-06 12:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-06 12:23:09] 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-09-06 12: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-09-06 12:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":175186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":175186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":175186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:23:09] 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-09-06 12:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901448192001,"66":13993,"19":206,"83":41984,"24":21,"16":18241035343757312,"45":1957517756117350400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 12:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901448192001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:23:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 12:23:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18241035343757312,"km_value":18241035343757.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957517756117350400,"description":"Unknown IO ID 45"} 
[2026-09-06 12:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901448192001,"power":13993,"unknown_19":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1957517756117350400}} 
[2026-09-06 12:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":175186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:23:09] local.INFO: GPS data processed {"connection_id":175186,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:23:09] local.INFO: Acknowledgment sent {"connection_id":175186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:23:31] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:23:31] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:23:31] local.INFO: Packet analysis {"connection_id":173871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:23:31] local.INFO: Extracted packet for processing {"connection_id":173871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901379328001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788677564000,"timestamp_ms":1788677564000,"timestamp_seconds":1788677564,"priority":1,"record_length":96,"hex_timestamp":"000001a0757da660"} 
[2026-09-06 12:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:23:31] 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-09-06 12:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:23:31] 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-09-06 12:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901379328001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901379328001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:23:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:23:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901379328001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":173871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:23:31] local.INFO: GPS data processed {"connection_id":173871,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:23:31] local.INFO: Acknowledgment sent {"connection_id":173871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:23:40] local.INFO: TCP Data received {"connection_id":175186,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0757d3ce8012d1b22c0071eece00046011f24..."} 
[2026-09-06 12:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757d3ce8012d1b22c0071eece00046011f24..."} 
[2026-09-06 12:23:40] local.INFO: Processing buffer {"connection_id":175186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757d3ce8012d1b22c0071eece00046011f24..."} 
[2026-09-06 12:23:40] local.INFO: Packet analysis {"connection_id":175186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:23:40] local.INFO: Extracted packet for processing {"connection_id":175186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:23:40] local.INFO: GPS Element Parsed {"raw_longitude":756753088,"raw_latitude":119467232,"longitude_deg":75.6753088,"latitude_deg":11.9467232,"altitude":70,"angle":287,"satellites":36,"speed":22,"hex_longitude":"2d1b22c0","hex_latitude":"071eece0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901449216001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18241065408528384,"note":"Value kept but may cause issues"} 
[2026-09-06 12:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955899275001733120,"note":"Value kept but may cause issues"} 
[2026-09-06 12:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788677537000,"timestamp_ms":1788677537000,"timestamp_seconds":1788677537,"priority":1,"record_length":96,"hex_timestamp":"000001a0757d3ce8"} 
[2026-09-06 12:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:23: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-09-06 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-06 12:23: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-09-06 12: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-09-06 12:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:23:40] 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-09-06 12:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901449216001,"66":13993,"19":206,"83":41984,"24":22,"16":18241065408528384,"45":1955899275001733120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-09-06 12:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901449216001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:23:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-06 12:23:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18241065408528384,"km_value":18241065408528.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955899275001733120,"description":"Unknown IO ID 45"} 
[2026-09-06 12:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901449216001,"power":13993,"unknown_19":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1955899275001733120}} 
[2026-09-06 12:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":175186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:23:40] local.INFO: GPS data processed {"connection_id":175186,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:23:40] local.INFO: Acknowledgment sent {"connection_id":175186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:23:48] local.INFO: TCP Data received {"connection_id":172704,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:23:48] local.INFO: Processing buffer {"connection_id":172704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:23:48] local.INFO: IMEI packet received {"connection_id":172704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":172704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:23:53] local.INFO: TCP Data received {"connection_id":172704,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:23:53] local.INFO: Processing buffer {"connection_id":172704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:23:53] local.INFO: IMEI packet received {"connection_id":172704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":172704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:23:55] local.INFO: TCP Data received {"connection_id":172704,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:23:55] local.INFO: Processing buffer {"connection_id":172704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:23:55] local.INFO: Packet analysis {"connection_id":172704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:23:55] local.INFO: Extracted packet for processing {"connection_id":172704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:23:55] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901379328001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788677564000,"timestamp_ms":1788677564000,"timestamp_seconds":1788677564,"priority":1,"record_length":96,"hex_timestamp":"000001a0757da660"} 
[2026-09-06 12:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:23:55] 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-09-06 12: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-09-06 12:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:23: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-09-06 12:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901379328001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901379328001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:23:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:23:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901379328001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":172704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:23:55] local.INFO: GPS data processed {"connection_id":172704,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:23:55] local.INFO: Acknowledgment sent {"connection_id":172704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:24:05] local.INFO: TCP Data received {"connection_id":172493,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:24:05] local.INFO: Processing buffer {"connection_id":172493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:24:05] local.INFO: IMEI packet received {"connection_id":172493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":172493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:24:06] local.INFO: TCP Data received {"connection_id":172493,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:24:06] local.INFO: Processing buffer {"connection_id":172493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:24:06] local.INFO: IMEI packet received {"connection_id":172493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":172493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:24:07] local.INFO: TCP Data received {"connection_id":172493,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:24:07] local.INFO: Processing buffer {"connection_id":172493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:24:07] local.INFO: IMEI packet received {"connection_id":172493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":172493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:24:09] local.INFO: TCP Data received {"connection_id":172493,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:24:09] local.INFO: Processing buffer {"connection_id":172493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:24:09] local.INFO: IMEI packet received {"connection_id":172493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":172493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:24:27] local.INFO: TCP Data received {"connection_id":172704,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:24:27] local.INFO: Processing buffer {"connection_id":172704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:24:27] local.INFO: Packet analysis {"connection_id":172704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:24:27] local.INFO: Extracted packet for processing {"connection_id":172704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:24:27] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901379328001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788677564000,"timestamp_ms":1788677564000,"timestamp_seconds":1788677564,"priority":1,"record_length":96,"hex_timestamp":"000001a0757da660"} 
[2026-09-06 12:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:24:27] 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-09-06 12:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:24:27] 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-09-06 12:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901379328001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901379328001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:24:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:24:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901379328001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":172704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:24:27] local.INFO: GPS data processed {"connection_id":172704,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:24:27] local.INFO: Acknowledgment sent {"connection_id":172704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:24:53] local.INFO: TCP Data received {"connection_id":175188,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:24:53] local.INFO: Processing buffer {"connection_id":175188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:24:53] local.INFO: IMEI packet received {"connection_id":175188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":175188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:24:58] local.INFO: TCP Data received {"connection_id":175188,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:24:58] local.INFO: Processing buffer {"connection_id":175188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:24:58] local.INFO: IMEI packet received {"connection_id":175188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":175188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:24:59] local.INFO: TCP Data received {"connection_id":175188,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:24:59] local.INFO: Processing buffer {"connection_id":175188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:24:59] local.INFO: Packet analysis {"connection_id":175188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:24:59] local.INFO: Extracted packet for processing {"connection_id":175188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:24:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901379328001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788677564000,"timestamp_ms":1788677564000,"timestamp_seconds":1788677564,"priority":1,"record_length":96,"hex_timestamp":"000001a0757da660"} 
[2026-09-06 12:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:24:59] 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-09-06 12:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:24: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-09-06 12:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901379328001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901379328001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:24:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:24:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901379328001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":175188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:24:59] local.INFO: GPS data processed {"connection_id":175188,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:24:59] local.INFO: Acknowledgment sent {"connection_id":175188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:25:31] local.INFO: TCP Data received {"connection_id":175188,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:25:31] local.INFO: Processing buffer {"connection_id":175188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:25:31] local.INFO: Packet analysis {"connection_id":175188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:25:31] local.INFO: Extracted packet for processing {"connection_id":175188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901379328001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788677564000,"timestamp_ms":1788677564000,"timestamp_seconds":1788677564,"priority":1,"record_length":96,"hex_timestamp":"000001a0757da660"} 
[2026-09-06 12:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:25:31] 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-09-06 12:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901379328001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901379328001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:25:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:25:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901379328001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":175188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:25:31] local.INFO: GPS data processed {"connection_id":175188,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:25:31] local.INFO: Acknowledgment sent {"connection_id":175188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:25:48] local.INFO: TCP Data received {"connection_id":172494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:25:48] local.INFO: Processing buffer {"connection_id":172494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:25:48] local.INFO: IMEI packet received {"connection_id":172494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":172494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:25:53] local.INFO: TCP Data received {"connection_id":172494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:25:53] local.INFO: Processing buffer {"connection_id":172494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:25:53] local.INFO: IMEI packet received {"connection_id":172494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":172494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:25:54] local.INFO: TCP Data received {"connection_id":172494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:25:54] local.INFO: Processing buffer {"connection_id":172494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:25:54] local.INFO: Packet analysis {"connection_id":172494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:25:54] local.INFO: Extracted packet for processing {"connection_id":172494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:25:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901379328001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788677564000,"timestamp_ms":1788677564000,"timestamp_seconds":1788677564,"priority":1,"record_length":96,"hex_timestamp":"000001a0757da660"} 
[2026-09-06 12:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:25: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-09-06 12:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:25: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-09-06 12:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:25:54] 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-09-06 12:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901379328001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901379328001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:25:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:25:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901379328001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":172494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:25:54] local.INFO: GPS data processed {"connection_id":172494,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:25:54] local.INFO: Acknowledgment sent {"connection_id":172494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:26:25] local.INFO: TCP Data received {"connection_id":172494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:26:25] local.INFO: Processing buffer {"connection_id":172494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:26:25] local.INFO: Packet analysis {"connection_id":172494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:26:25] local.INFO: Extracted packet for processing {"connection_id":172494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901379328001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788677564000,"timestamp_ms":1788677564000,"timestamp_seconds":1788677564,"priority":1,"record_length":96,"hex_timestamp":"000001a0757da660"} 
[2026-09-06 12:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:26: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-09-06 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:26: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-09-06 12: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-09-06 12:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:26: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-09-06 12:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901379328001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901379328001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:26:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:26:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901379328001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":172494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:26:25] local.INFO: GPS data processed {"connection_id":172494,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:26:25] local.INFO: Acknowledgment sent {"connection_id":172494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:26:48] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:26:48] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:26:48] local.INFO: IMEI packet received {"connection_id":173874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":173874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:26:53] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:26:53] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:26:53] local.INFO: IMEI packet received {"connection_id":173874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":173874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:26:54] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:26:54] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:26:54] local.INFO: Packet analysis {"connection_id":173874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:26:54] local.INFO: Extracted packet for processing {"connection_id":173874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:26:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901379328001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788677564000,"timestamp_ms":1788677564000,"timestamp_seconds":1788677564,"priority":1,"record_length":96,"hex_timestamp":"000001a0757da660"} 
[2026-09-06 12:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:26: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-09-06 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:26: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-09-06 12: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-09-06 12:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:26: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-09-06 12:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901379328001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901379328001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:26:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:26:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901379328001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":173874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:26:54] local.INFO: GPS data processed {"connection_id":173874,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:26:54] local.INFO: Acknowledgment sent {"connection_id":173874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:27:26] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:27:26] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:27:26] local.INFO: Packet analysis {"connection_id":173874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:27:26] local.INFO: Extracted packet for processing {"connection_id":173874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:27:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901379328001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788677564000,"timestamp_ms":1788677564000,"timestamp_seconds":1788677564,"priority":1,"record_length":96,"hex_timestamp":"000001a0757da660"} 
[2026-09-06 12:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:27:26] 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-09-06 12: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-09-06 12:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:27: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-09-06 12:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901379328001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901379328001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:27:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:27:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901379328001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":173874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:27:26] local.INFO: GPS data processed {"connection_id":173874,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:27:26] local.INFO: Acknowledgment sent {"connection_id":173874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:27:48] local.INFO: TCP Data received {"connection_id":172707,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:27:48] local.INFO: Processing buffer {"connection_id":172707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:27:48] local.INFO: IMEI packet received {"connection_id":172707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":172707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:27:53] local.INFO: TCP Data received {"connection_id":172707,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:27:53] local.INFO: Processing buffer {"connection_id":172707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:27:53] local.INFO: IMEI packet received {"connection_id":172707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":172707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:27:54] local.INFO: TCP Data received {"connection_id":172707,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:27:54] local.INFO: Processing buffer {"connection_id":172707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0757da660012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:27:54] local.INFO: Packet analysis {"connection_id":172707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:27:54] local.INFO: Extracted packet for processing {"connection_id":172707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0757d"} 
[2026-09-06 12:27:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901379328001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788677564000,"timestamp_ms":1788677564000,"timestamp_seconds":1788677564,"priority":1,"record_length":96,"hex_timestamp":"000001a0757da660"} 
[2026-09-06 12:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:27: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-09-06 12:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:27: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-09-06 12:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:27: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-09-06 12:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901379328001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901379328001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:27:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:27:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901379328001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":172707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:27:54] local.INFO: GPS data processed {"connection_id":172707,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:27:54] local.INFO: Acknowledgment sent {"connection_id":172707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:28:15] local.INFO: TCP Data received {"connection_id":172706,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:28:15] local.INFO: Processing buffer {"connection_id":172706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:28:15] local.INFO: IMEI packet received {"connection_id":172706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":172706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:28:25] local.INFO: TCP Data received {"connection_id":172707,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:28:25] local.INFO: Processing buffer {"connection_id":172707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:28:25] local.INFO: Packet analysis {"connection_id":172707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:28:25] local.INFO: Extracted packet for processing {"connection_id":172707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:28:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901456384001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788677865000,"timestamp_ms":1788677865000,"timestamp_seconds":1788677865,"priority":1,"record_length":96,"hex_timestamp":"000001a075823e28"} 
[2026-09-06 12:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:28: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-09-06 12: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":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:28: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-09-06 12:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901456384001,"66":26060,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901456384001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:28:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:28:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901456384001,"power":26060,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":172707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:28:25] local.INFO: GPS data processed {"connection_id":172707,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:28:25] local.INFO: Acknowledgment sent {"connection_id":172707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:28:53] local.INFO: TCP Data received {"connection_id":172708,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:28:53] local.INFO: Processing buffer {"connection_id":172708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:28:53] local.INFO: IMEI packet received {"connection_id":172708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":172708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:28:58] local.INFO: TCP Data received {"connection_id":172708,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:28:58] local.INFO: Processing buffer {"connection_id":172708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:28:58] local.INFO: IMEI packet received {"connection_id":172708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":172708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:29:01] local.INFO: TCP Data received {"connection_id":172708,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:29:01] local.INFO: Processing buffer {"connection_id":172708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:29:01] local.INFO: Packet analysis {"connection_id":172708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:29:01] local.INFO: Extracted packet for processing {"connection_id":172708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:29:01] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901456384001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788677865000,"timestamp_ms":1788677865000,"timestamp_seconds":1788677865,"priority":1,"record_length":96,"hex_timestamp":"000001a075823e28"} 
[2026-09-06 12:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:29: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-09-06 12:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901456384001,"66":26060,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901456384001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:29:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:29:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901456384001,"power":26060,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":172708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:29:01] local.INFO: GPS data processed {"connection_id":172708,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:29:01] local.INFO: Acknowledgment sent {"connection_id":172708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:29:14] local.INFO: TCP Data received {"connection_id":175190,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:29:14] local.INFO: Processing buffer {"connection_id":175190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:29:14] local.INFO: IMEI packet received {"connection_id":175190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":175190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:29:15] local.INFO: TCP Data received {"connection_id":175190,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:29:15] local.INFO: Processing buffer {"connection_id":175190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:29:15] local.INFO: Packet analysis {"connection_id":175190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07581"} 
[2026-09-06 12:29:15] local.INFO: Extracted packet for processing {"connection_id":175190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07581"} 
[2026-09-06 12:29:15] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532744,"longitude_deg":75.664,"latitude_deg":11.9532744,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-06 12:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901525248001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788677841000,"timestamp_ms":1788677841000,"timestamp_seconds":1788677841,"priority":1,"record_length":96,"hex_timestamp":"000001a07581e068"} 
[2026-09-06 12:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-06 12:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:29:15] 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-09-06 12:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901525248001,"66":13222,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901525248001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:29:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:29:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901525248001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":175190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:29:15] local.INFO: GPS data processed {"connection_id":175190,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:29:15] local.INFO: Acknowledgment sent {"connection_id":175190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:29:32] local.INFO: TCP Data received {"connection_id":172708,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:29:32] local.INFO: Processing buffer {"connection_id":172708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:29:32] local.INFO: Packet analysis {"connection_id":172708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:29:32] local.INFO: Extracted packet for processing {"connection_id":172708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:29:32] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901456384001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788677865000,"timestamp_ms":1788677865000,"timestamp_seconds":1788677865,"priority":1,"record_length":96,"hex_timestamp":"000001a075823e28"} 
[2026-09-06 12:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:29:32] 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-09-06 12:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901456384001,"66":26060,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901456384001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:29:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:29:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901456384001,"power":26060,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":172708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:29:32] local.INFO: GPS data processed {"connection_id":172708,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:29:32] local.INFO: Acknowledgment sent {"connection_id":172708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:29:46] local.INFO: TCP Data received {"connection_id":175190,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:29:46] local.INFO: Processing buffer {"connection_id":175190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:29:46] local.INFO: Packet analysis {"connection_id":175190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07581"} 
[2026-09-06 12:29:46] local.INFO: Extracted packet for processing {"connection_id":175190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07581"} 
[2026-09-06 12:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532744,"longitude_deg":75.664,"latitude_deg":11.9532744,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-06 12:29:46] 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-09-06 12:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901527296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788677841000,"timestamp_ms":1788677841000,"timestamp_seconds":1788677841,"priority":1,"record_length":96,"hex_timestamp":"000001a07581e068"} 
[2026-09-06 12:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:29: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-09-06 12:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:29:46] 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-09-06 12:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901527296001,"66":13222,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901527296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:29:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901527296001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":175190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:29:46] local.INFO: GPS data processed {"connection_id":175190,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:29:46] local.INFO: Acknowledgment sent {"connection_id":175190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:29:48] local.INFO: TCP Data received {"connection_id":172496,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:29:48] local.INFO: Processing buffer {"connection_id":172496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:29:48] local.INFO: IMEI packet received {"connection_id":172496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":172496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:29:53] local.INFO: TCP Data received {"connection_id":172496,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:29:53] local.INFO: Processing buffer {"connection_id":172496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:29:53] local.INFO: IMEI packet received {"connection_id":172496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":172496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:29:54] local.INFO: TCP Data received {"connection_id":172496,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:29:54] local.INFO: Processing buffer {"connection_id":172496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:29:54] local.INFO: Packet analysis {"connection_id":172496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:29:54] local.INFO: Extracted packet for processing {"connection_id":172496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:29:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901456384001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788677865000,"timestamp_ms":1788677865000,"timestamp_seconds":1788677865,"priority":1,"record_length":96,"hex_timestamp":"000001a075823e28"} 
[2026-09-06 12:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:29: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-09-06 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:29: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-09-06 12:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901456384001,"66":26060,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901456384001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:29:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:29:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901456384001,"power":26060,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":172496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:29:54] local.INFO: GPS data processed {"connection_id":172496,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:29:54] local.INFO: Acknowledgment sent {"connection_id":172496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:30:09] local.INFO: TCP Data received {"connection_id":172709,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:30:09] local.INFO: Processing buffer {"connection_id":172709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:30:09] local.INFO: IMEI packet received {"connection_id":172709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":172709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:30:14] local.INFO: TCP Data received {"connection_id":172709,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:30:14] local.INFO: Processing buffer {"connection_id":172709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:30:14] local.INFO: IMEI packet received {"connection_id":172709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":172709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:30:15] local.INFO: TCP Data received {"connection_id":172709,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:30:15] local.INFO: Processing buffer {"connection_id":172709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:30:15] local.INFO: Packet analysis {"connection_id":172709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07581"} 
[2026-09-06 12:30:15] local.INFO: Extracted packet for processing {"connection_id":172709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07581"} 
[2026-09-06 12:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532744,"longitude_deg":75.664,"latitude_deg":11.9532744,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-06 12:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901527296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788677841000,"timestamp_ms":1788677841000,"timestamp_seconds":1788677841,"priority":1,"record_length":96,"hex_timestamp":"000001a07581e068"} 
[2026-09-06 12:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:30:15] 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-09-06 12:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901527296001,"66":13222,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901527296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:30:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901527296001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":172709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:30:15] local.INFO: GPS data processed {"connection_id":172709,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:30:15] local.INFO: Acknowledgment sent {"connection_id":172709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:30:26] local.INFO: TCP Data received {"connection_id":172496,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:30:26] local.INFO: Processing buffer {"connection_id":172496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:30:26] local.INFO: Packet analysis {"connection_id":172496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:30:26] local.INFO: Extracted packet for processing {"connection_id":172496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:30:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901456384001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788677865000,"timestamp_ms":1788677865000,"timestamp_seconds":1788677865,"priority":1,"record_length":96,"hex_timestamp":"000001a075823e28"} 
[2026-09-06 12:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:30: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-09-06 12:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901456384001,"66":26060,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901456384001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:30:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:30:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901456384001,"power":26060,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":172496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:30:26] local.INFO: GPS data processed {"connection_id":172496,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:30:26] local.INFO: Acknowledgment sent {"connection_id":172496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:30:46] local.INFO: TCP Data received {"connection_id":172709,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:30:46] local.INFO: Processing buffer {"connection_id":172709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:30:46] local.INFO: Packet analysis {"connection_id":172709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07581"} 
[2026-09-06 12:30:46] local.INFO: Extracted packet for processing {"connection_id":172709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07581"} 
[2026-09-06 12:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532744,"longitude_deg":75.664,"latitude_deg":11.9532744,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-06 12:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901527296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788677841000,"timestamp_ms":1788677841000,"timestamp_seconds":1788677841,"priority":1,"record_length":96,"hex_timestamp":"000001a07581e068"} 
[2026-09-06 12:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:30: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-09-06 12:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:30:46] 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-09-06 12:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901527296001,"66":13222,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901527296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:30:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901527296001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":172709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:30:46] local.INFO: GPS data processed {"connection_id":172709,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:30:46] local.INFO: Acknowledgment sent {"connection_id":172709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:30:48] local.INFO: TCP Data received {"connection_id":173879,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:30:48] local.INFO: Processing buffer {"connection_id":173879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:30:48] local.INFO: IMEI packet received {"connection_id":173879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":173879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:30:53] local.INFO: TCP Data received {"connection_id":173879,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:30:53] local.INFO: Processing buffer {"connection_id":173879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:30:53] local.INFO: IMEI packet received {"connection_id":173879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":173879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:30:54] local.INFO: TCP Data received {"connection_id":173879,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:30:54] local.INFO: Processing buffer {"connection_id":173879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:30:54] local.INFO: Packet analysis {"connection_id":173879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:30:54] local.INFO: Extracted packet for processing {"connection_id":173879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:30:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901456384001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788677865000,"timestamp_ms":1788677865000,"timestamp_seconds":1788677865,"priority":1,"record_length":96,"hex_timestamp":"000001a075823e28"} 
[2026-09-06 12:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:30: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-09-06 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:30: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-09-06 12:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901456384001,"66":26060,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901456384001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:30:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:30:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901456384001,"power":26060,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":173879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:30:54] local.INFO: GPS data processed {"connection_id":173879,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:30:54] local.INFO: Acknowledgment sent {"connection_id":173879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:31:14] local.INFO: TCP Data received {"connection_id":172710,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:31:14] local.INFO: Processing buffer {"connection_id":172710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:31:14] local.INFO: IMEI packet received {"connection_id":172710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":172710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:31:19] local.INFO: TCP Data received {"connection_id":172710,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:31:19] local.INFO: Processing buffer {"connection_id":172710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:31:19] local.INFO: IMEI packet received {"connection_id":172710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":172710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:31:20] local.INFO: TCP Data received {"connection_id":172710,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:31:20] local.INFO: Processing buffer {"connection_id":172710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:31:20] local.INFO: Packet analysis {"connection_id":172710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07581"} 
[2026-09-06 12:31:20] local.INFO: Extracted packet for processing {"connection_id":172710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07581"} 
[2026-09-06 12:31:20] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532744,"longitude_deg":75.664,"latitude_deg":11.9532744,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-06 12:31:20] 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-09-06 12:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901527296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788677841000,"timestamp_ms":1788677841000,"timestamp_seconds":1788677841,"priority":1,"record_length":96,"hex_timestamp":"000001a07581e068"} 
[2026-09-06 12:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:31:20] 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-09-06 12:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:31:20] 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-09-06 12:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901527296001,"66":13222,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901527296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:31:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:31:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901527296001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":172710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:31:20] local.INFO: GPS data processed {"connection_id":172710,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:31:20] local.INFO: Acknowledgment sent {"connection_id":172710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:31:24] local.INFO: TCP Data received {"connection_id":172710,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:31:24] local.INFO: Processing buffer {"connection_id":172710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:31:24] local.INFO: Packet analysis {"connection_id":172710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07581"} 
[2026-09-06 12:31:24] local.INFO: Extracted packet for processing {"connection_id":172710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07581"} 
[2026-09-06 12:31:24] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532744,"longitude_deg":75.664,"latitude_deg":11.9532744,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-06 12:31:24] 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-09-06 12:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901527296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788677841000,"timestamp_ms":1788677841000,"timestamp_seconds":1788677841,"priority":1,"record_length":96,"hex_timestamp":"000001a07581e068"} 
[2026-09-06 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-09-06 12:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:31:24] 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-09-06 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-09-06 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-09-06 12:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:31:24] 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-09-06 12:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901527296001,"66":13222,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901527296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:31:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:31:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901527296001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":172710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:31:24] local.INFO: GPS data processed {"connection_id":172710,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:31:24] local.INFO: Acknowledgment sent {"connection_id":172710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:31:25] local.INFO: TCP Data received {"connection_id":173879,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:31:25] local.INFO: Processing buffer {"connection_id":173879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:31:25] local.INFO: Packet analysis {"connection_id":173879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:31:25] local.INFO: Extracted packet for processing {"connection_id":173879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:31:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901456384001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788677865000,"timestamp_ms":1788677865000,"timestamp_seconds":1788677865,"priority":1,"record_length":96,"hex_timestamp":"000001a075823e28"} 
[2026-09-06 12:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:31: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-09-06 12: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":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:31: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-09-06 12:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901456384001,"66":26060,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901456384001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:31:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:31:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901456384001,"power":26060,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":173879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:31:25] local.INFO: GPS data processed {"connection_id":173879,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:31:25] local.INFO: Acknowledgment sent {"connection_id":173879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:31:48] local.INFO: TCP Data received {"connection_id":175192,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:31:48] local.INFO: Processing buffer {"connection_id":175192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:31:48] local.INFO: IMEI packet received {"connection_id":175192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":175192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:31:53] local.INFO: TCP Data received {"connection_id":175192,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:31:53] local.INFO: Processing buffer {"connection_id":175192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:31:53] local.INFO: IMEI packet received {"connection_id":175192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":175192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:31:54] local.INFO: TCP Data received {"connection_id":175192,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:31:54] local.INFO: Processing buffer {"connection_id":175192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:31:54] local.INFO: Packet analysis {"connection_id":175192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:31:54] local.INFO: Extracted packet for processing {"connection_id":175192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:31:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901456384001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788677865000,"timestamp_ms":1788677865000,"timestamp_seconds":1788677865,"priority":1,"record_length":96,"hex_timestamp":"000001a075823e28"} 
[2026-09-06 12:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:31: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-09-06 12:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:31: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-09-06 12:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901456384001,"66":26060,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901456384001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:31:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:31:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901456384001,"power":26060,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":175192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:31:54] local.INFO: GPS data processed {"connection_id":175192,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:31:54] local.INFO: Acknowledgment sent {"connection_id":175192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:32:09] local.INFO: TCP Data received {"connection_id":175193,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:32:09] local.INFO: Processing buffer {"connection_id":175193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:32:09] local.INFO: IMEI packet received {"connection_id":175193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":175193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:32:14] local.INFO: TCP Data received {"connection_id":175193,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:32:14] local.INFO: Processing buffer {"connection_id":175193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:32:14] local.INFO: IMEI packet received {"connection_id":175193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":175193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:32:15] local.INFO: TCP Data received {"connection_id":175193,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:32:15] local.INFO: Processing buffer {"connection_id":175193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:32:15] local.INFO: Packet analysis {"connection_id":175193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07581"} 
[2026-09-06 12:32:15] local.INFO: Extracted packet for processing {"connection_id":175193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07581"} 
[2026-09-06 12:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532744,"longitude_deg":75.664,"latitude_deg":11.9532744,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-06 12:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901527296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788677841000,"timestamp_ms":1788677841000,"timestamp_seconds":1788677841,"priority":1,"record_length":96,"hex_timestamp":"000001a07581e068"} 
[2026-09-06 12:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:32:15] 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-09-06 12:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901527296001,"66":13222,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901527296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:32:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901527296001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":175193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:32:15] local.INFO: GPS data processed {"connection_id":175193,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:32:15] local.INFO: Acknowledgment sent {"connection_id":175193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:32:26] local.INFO: TCP Data received {"connection_id":175192,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:32:26] local.INFO: Processing buffer {"connection_id":175192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:32:26] local.INFO: Packet analysis {"connection_id":175192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:32:26] local.INFO: Extracted packet for processing {"connection_id":175192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:32:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901456384001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788677865000,"timestamp_ms":1788677865000,"timestamp_seconds":1788677865,"priority":1,"record_length":96,"hex_timestamp":"000001a075823e28"} 
[2026-09-06 12:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12: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-09-06 12:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901456384001,"66":26060,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901456384001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:32:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:32:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901456384001,"power":26060,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":175192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:32:26] local.INFO: GPS data processed {"connection_id":175192,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:32:26] local.INFO: Acknowledgment sent {"connection_id":175192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:32:46] local.INFO: TCP Data received {"connection_id":175193,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:32:46] local.INFO: Processing buffer {"connection_id":175193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07581e068012d196900071fecc8003b011027..."} 
[2026-09-06 12:32:46] local.INFO: Packet analysis {"connection_id":175193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07581"} 
[2026-09-06 12:32:46] local.INFO: Extracted packet for processing {"connection_id":175193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07581"} 
[2026-09-06 12:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532744,"longitude_deg":75.664,"latitude_deg":11.9532744,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-06 12:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901527296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788677841000,"timestamp_ms":1788677841000,"timestamp_seconds":1788677841,"priority":1,"record_length":96,"hex_timestamp":"000001a07581e068"} 
[2026-09-06 12:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:32: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-09-06 12:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:32:46] 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-09-06 12:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901527296001,"66":13222,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901527296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:32:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901527296001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":175193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:32:46] local.INFO: GPS data processed {"connection_id":175193,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:32:46] local.INFO: Acknowledgment sent {"connection_id":175193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:32:53] local.INFO: TCP Data received {"connection_id":172713,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:32:53] local.INFO: Processing buffer {"connection_id":172713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:32:53] local.INFO: IMEI packet received {"connection_id":172713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":172713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:32:58] local.INFO: TCP Data received {"connection_id":172713,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:32:58] local.INFO: Processing buffer {"connection_id":172713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:32:58] local.INFO: IMEI packet received {"connection_id":172713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":172713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:32:59] local.INFO: TCP Data received {"connection_id":172713,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:32:59] local.INFO: Processing buffer {"connection_id":172713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075823e28012d34c48006aa3e58000900a72b..."} 
[2026-09-06 12:32:59] local.INFO: Packet analysis {"connection_id":172713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:32:59] local.INFO: Extracted packet for processing {"connection_id":172713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07582"} 
[2026-09-06 12:32:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901456384001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788677865000,"timestamp_ms":1788677865000,"timestamp_seconds":1788677865,"priority":1,"record_length":96,"hex_timestamp":"000001a075823e28"} 
[2026-09-06 12:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:32: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-09-06 12:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901456384001,"66":26060,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901456384001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:32:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:32:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901456384001,"power":26060,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":172713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:32:59] local.INFO: GPS data processed {"connection_id":172713,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:32:59] local.INFO: Acknowledgment sent {"connection_id":172713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:33:09] local.INFO: TCP Data received {"connection_id":173880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:33:09] local.INFO: Processing buffer {"connection_id":173880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:33:09] local.INFO: IMEI packet received {"connection_id":173880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":173880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:33:14] local.INFO: TCP Data received {"connection_id":173880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:33:14] local.INFO: Processing buffer {"connection_id":173880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:33:14] local.INFO: IMEI packet received {"connection_id":173880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":173880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:33:15] local.INFO: TCP Data received {"connection_id":173880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:33:15] local.INFO: Processing buffer {"connection_id":173880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:33:15] local.INFO: Packet analysis {"connection_id":173880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:33:15] local.INFO: Extracted packet for processing {"connection_id":173880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901527296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788678147000,"timestamp_ms":1788678147000,"timestamp_seconds":1788678147,"priority":1,"record_length":96,"hex_timestamp":"000001a075868bb8"} 
[2026-09-06 12:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:33:15] 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-09-06 12:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901527296001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901527296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:33:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901527296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":173880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:33:15] local.INFO: GPS data processed {"connection_id":173880,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:33:15] local.INFO: Acknowledgment sent {"connection_id":173880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:33:31] local.INFO: TCP Data received {"connection_id":172713,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:33:31] local.INFO: Processing buffer {"connection_id":172713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:33:31] local.INFO: Packet analysis {"connection_id":172713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:33:31] local.INFO: Extracted packet for processing {"connection_id":172713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901533440001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788678166000,"timestamp_ms":1788678166000,"timestamp_seconds":1788678166,"priority":1,"record_length":96,"hex_timestamp":"000001a07586d5f0"} 
[2026-09-06 12:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 12:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:33: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-09-06 12:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901533440001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901533440001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:33:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:33:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901533440001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":172713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:33:31] local.INFO: GPS data processed {"connection_id":172713,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:33:31] local.INFO: Acknowledgment sent {"connection_id":172713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:33:46] local.INFO: TCP Data received {"connection_id":173880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:33:46] local.INFO: Processing buffer {"connection_id":173880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:33:46] local.INFO: Packet analysis {"connection_id":173880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:33:46] local.INFO: Extracted packet for processing {"connection_id":173880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901527296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788678147000,"timestamp_ms":1788678147000,"timestamp_seconds":1788678147,"priority":1,"record_length":96,"hex_timestamp":"000001a075868bb8"} 
[2026-09-06 12:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:33: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-09-06 12:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:33:46] 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-09-06 12:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901527296001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901527296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:33:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901527296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":173880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:33:46] local.INFO: GPS data processed {"connection_id":173880,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:33:46] local.INFO: Acknowledgment sent {"connection_id":173880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:33:48] local.INFO: TCP Data received {"connection_id":172497,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:33:48] local.INFO: Processing buffer {"connection_id":172497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:33:48] local.INFO: IMEI packet received {"connection_id":172497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":172497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:33:50] local.INFO: TCP Data received {"connection_id":172498,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:33:50] local.INFO: Processing buffer {"connection_id":172498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:33:50] local.INFO: IMEI packet received {"connection_id":172498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":172498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:33:53] local.INFO: TCP Data received {"connection_id":172497,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:33:53] local.INFO: Processing buffer {"connection_id":172497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:33:53] local.INFO: IMEI packet received {"connection_id":172497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":172497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:33:54] local.INFO: TCP Data received {"connection_id":172497,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:33:54] local.INFO: Processing buffer {"connection_id":172497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:33:54] local.INFO: Packet analysis {"connection_id":172497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:33:54] local.INFO: Extracted packet for processing {"connection_id":172497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:33:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901533440001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788678166000,"timestamp_ms":1788678166000,"timestamp_seconds":1788678166,"priority":1,"record_length":96,"hex_timestamp":"000001a07586d5f0"} 
[2026-09-06 12:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:33: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-09-06 12: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 12:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:33: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-09-06 12:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901533440001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901533440001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:33:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:33:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901533440001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":172497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:33:54] local.INFO: GPS data processed {"connection_id":172497,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:33:54] local.INFO: Acknowledgment sent {"connection_id":172497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:34:09] local.INFO: TCP Data received {"connection_id":175194,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:34:09] local.INFO: Processing buffer {"connection_id":175194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:34:09] local.INFO: IMEI packet received {"connection_id":175194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":175194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:34:14] local.INFO: TCP Data received {"connection_id":175194,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:34:14] local.INFO: Processing buffer {"connection_id":175194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:34:14] local.INFO: IMEI packet received {"connection_id":175194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":175194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:34:15] local.INFO: TCP Data received {"connection_id":175194,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:34:15] local.INFO: Processing buffer {"connection_id":175194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:34:15] local.INFO: Packet analysis {"connection_id":175194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:34:15] local.INFO: Extracted packet for processing {"connection_id":175194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901527296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788678147000,"timestamp_ms":1788678147000,"timestamp_seconds":1788678147,"priority":1,"record_length":96,"hex_timestamp":"000001a075868bb8"} 
[2026-09-06 12:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:34:15] 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-09-06 12:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901527296001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901527296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:34:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901527296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":175194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:34:15] local.INFO: GPS data processed {"connection_id":175194,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:34:15] local.INFO: Acknowledgment sent {"connection_id":175194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:34:25] local.INFO: TCP Data received {"connection_id":172497,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:34:25] local.INFO: Processing buffer {"connection_id":172497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:34:25] local.INFO: Packet analysis {"connection_id":172497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:34:25] local.INFO: Extracted packet for processing {"connection_id":172497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:34:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901533440001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788678166000,"timestamp_ms":1788678166000,"timestamp_seconds":1788678166,"priority":1,"record_length":96,"hex_timestamp":"000001a07586d5f0"} 
[2026-09-06 12:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:34: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-09-06 12: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 12:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:34: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-09-06 12:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901533440001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901533440001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:34:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:34:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901533440001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":172497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:34:25] local.INFO: GPS data processed {"connection_id":172497,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:34:25] local.INFO: Acknowledgment sent {"connection_id":172497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:34:46] local.INFO: TCP Data received {"connection_id":175194,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:34:46] local.INFO: Processing buffer {"connection_id":175194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:34:46] local.INFO: Packet analysis {"connection_id":175194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:34:46] local.INFO: Extracted packet for processing {"connection_id":175194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901527296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788678147000,"timestamp_ms":1788678147000,"timestamp_seconds":1788678147,"priority":1,"record_length":96,"hex_timestamp":"000001a075868bb8"} 
[2026-09-06 12:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:34: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-09-06 12:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:34:46] 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-09-06 12:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901527296001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901527296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:34:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901527296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":175194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:34:46] local.INFO: GPS data processed {"connection_id":175194,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:34:46] local.INFO: Acknowledgment sent {"connection_id":175194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:34:48] local.INFO: TCP Data received {"connection_id":173881,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:34:48] local.INFO: Processing buffer {"connection_id":173881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:34:48] local.INFO: IMEI packet received {"connection_id":173881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":173881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:34:53] local.INFO: TCP Data received {"connection_id":173881,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:34:53] local.INFO: Processing buffer {"connection_id":173881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:34:53] local.INFO: IMEI packet received {"connection_id":173881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":173881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:34:54] local.INFO: TCP Data received {"connection_id":173881,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:34:54] local.INFO: Processing buffer {"connection_id":173881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:34:54] local.INFO: Packet analysis {"connection_id":173881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:34:54] local.INFO: Extracted packet for processing {"connection_id":173881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:34:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901533440001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788678166000,"timestamp_ms":1788678166000,"timestamp_seconds":1788678166,"priority":1,"record_length":96,"hex_timestamp":"000001a07586d5f0"} 
[2026-09-06 12:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:34: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-09-06 12: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 12:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12: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-09-06 12:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901533440001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901533440001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:34:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:34:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901533440001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":173881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:34:54] local.INFO: GPS data processed {"connection_id":173881,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:34:54] local.INFO: Acknowledgment sent {"connection_id":173881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:35:09] local.INFO: TCP Data received {"connection_id":175195,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:35:09] local.INFO: Processing buffer {"connection_id":175195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:35:09] local.INFO: IMEI packet received {"connection_id":175195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":175195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:35:14] local.INFO: TCP Data received {"connection_id":175195,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:35:14] local.INFO: Processing buffer {"connection_id":175195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:35:14] local.INFO: IMEI packet received {"connection_id":175195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":175195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:35:15] local.INFO: TCP Data received {"connection_id":175195,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:35:15] local.INFO: Processing buffer {"connection_id":175195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:35:15] local.INFO: Packet analysis {"connection_id":175195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:35:15] local.INFO: Extracted packet for processing {"connection_id":175195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901527296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788678147000,"timestamp_ms":1788678147000,"timestamp_seconds":1788678147,"priority":1,"record_length":96,"hex_timestamp":"000001a075868bb8"} 
[2026-09-06 12:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:35:15] 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-09-06 12:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901527296001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901527296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:35:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901527296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":175195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:35:15] local.INFO: GPS data processed {"connection_id":175195,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:35:15] local.INFO: Acknowledgment sent {"connection_id":175195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:35:26] local.INFO: TCP Data received {"connection_id":173881,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:35:26] local.INFO: Processing buffer {"connection_id":173881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:35:26] local.INFO: Packet analysis {"connection_id":173881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:35:26] local.INFO: Extracted packet for processing {"connection_id":173881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:35:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901533440001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788678166000,"timestamp_ms":1788678166000,"timestamp_seconds":1788678166,"priority":1,"record_length":96,"hex_timestamp":"000001a07586d5f0"} 
[2026-09-06 12:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 12:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:35: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-09-06 12:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901533440001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901533440001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:35:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:35:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901533440001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":173881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:35:26] local.INFO: GPS data processed {"connection_id":173881,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:35:26] local.INFO: Acknowledgment sent {"connection_id":173881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:35:46] local.INFO: TCP Data received {"connection_id":175195,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:35:46] local.INFO: Processing buffer {"connection_id":175195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:35:46] local.INFO: Packet analysis {"connection_id":175195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:35:46] local.INFO: Extracted packet for processing {"connection_id":175195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:35:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901527296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788678147000,"timestamp_ms":1788678147000,"timestamp_seconds":1788678147,"priority":1,"record_length":96,"hex_timestamp":"000001a075868bb8"} 
[2026-09-06 12:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:35: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-09-06 12:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:35:46] 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-09-06 12:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901527296001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901527296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:35:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901527296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":175195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:35:46] local.INFO: GPS data processed {"connection_id":175195,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:35:46] local.INFO: Acknowledgment sent {"connection_id":175195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:35:53] local.INFO: TCP Data received {"connection_id":172714,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:35:53] local.INFO: Processing buffer {"connection_id":172714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:35:53] local.INFO: IMEI packet received {"connection_id":172714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":172714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:35:58] local.INFO: TCP Data received {"connection_id":172714,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:35:58] local.INFO: Processing buffer {"connection_id":172714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:35:58] local.INFO: IMEI packet received {"connection_id":172714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":172714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:35:59] local.INFO: TCP Data received {"connection_id":172714,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:35:59] local.INFO: Processing buffer {"connection_id":172714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:35:59] local.INFO: Packet analysis {"connection_id":172714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:35:59] local.INFO: Extracted packet for processing {"connection_id":172714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:35:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901533440001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788678166000,"timestamp_ms":1788678166000,"timestamp_seconds":1788678166,"priority":1,"record_length":96,"hex_timestamp":"000001a07586d5f0"} 
[2026-09-06 12:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 12:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:35:59] 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-09-06 12:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901533440001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901533440001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:35:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:35:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901533440001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":172714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:35:59] local.INFO: GPS data processed {"connection_id":172714,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:35:59] local.INFO: Acknowledgment sent {"connection_id":172714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:36:04] local.INFO: TCP Data received {"connection_id":172714,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:36:04] local.INFO: Processing buffer {"connection_id":172714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:36:04] local.INFO: Packet analysis {"connection_id":172714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:36:04] local.INFO: Extracted packet for processing {"connection_id":172714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:36:04] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901533440001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788678166000,"timestamp_ms":1788678166000,"timestamp_seconds":1788678166,"priority":1,"record_length":96,"hex_timestamp":"000001a07586d5f0"} 
[2026-09-06 12:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 12:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:36:04] 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-09-06 12:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901533440001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901533440001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:36:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:36:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901533440001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":172714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:36:04] local.INFO: GPS data processed {"connection_id":172714,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:36:04] local.INFO: Acknowledgment sent {"connection_id":172714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:36:14] local.INFO: TCP Data received {"connection_id":175196,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:36:14] local.INFO: Processing buffer {"connection_id":175196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:36:14] local.INFO: IMEI packet received {"connection_id":175196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":175196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:36:19] local.INFO: TCP Data received {"connection_id":175196,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:36:19] local.INFO: Processing buffer {"connection_id":175196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:36:19] local.INFO: IMEI packet received {"connection_id":175196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":175196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:36:20] local.INFO: TCP Data received {"connection_id":175196,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:36:20] local.INFO: Processing buffer {"connection_id":175196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:36:20] local.INFO: Packet analysis {"connection_id":175196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:36:20] local.INFO: Extracted packet for processing {"connection_id":175196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901527296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788678147000,"timestamp_ms":1788678147000,"timestamp_seconds":1788678147,"priority":1,"record_length":96,"hex_timestamp":"000001a075868bb8"} 
[2026-09-06 12:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:36:20] 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-09-06 12:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:36:20] 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-09-06 12:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901527296001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901527296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:36:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:36:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901527296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":175196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:36:20] local.INFO: GPS data processed {"connection_id":175196,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:36:20] local.INFO: Acknowledgment sent {"connection_id":175196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:36:24] local.INFO: TCP Data received {"connection_id":175196,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:36:24] local.INFO: Processing buffer {"connection_id":175196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:36:24] local.INFO: Packet analysis {"connection_id":175196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:36:24] local.INFO: Extracted packet for processing {"connection_id":175196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:36:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 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-09-06 12:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901527296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788678147000,"timestamp_ms":1788678147000,"timestamp_seconds":1788678147,"priority":1,"record_length":96,"hex_timestamp":"000001a075868bb8"} 
[2026-09-06 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-09-06 12:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:36:24] 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-09-06 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-09-06 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-09-06 12:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:36:24] 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-09-06 12:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901527296001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901527296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:36:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:36:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901527296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":175196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:36:24] local.INFO: GPS data processed {"connection_id":175196,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:36:24] local.INFO: Acknowledgment sent {"connection_id":175196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:36:48] local.INFO: TCP Data received {"connection_id":173883,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:36:48] local.INFO: Processing buffer {"connection_id":173883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:36:48] local.INFO: IMEI packet received {"connection_id":173883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":173883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:36:53] local.INFO: TCP Data received {"connection_id":173883,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:36:53] local.INFO: Processing buffer {"connection_id":173883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:36:53] local.INFO: IMEI packet received {"connection_id":173883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":173883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:36:55] local.INFO: TCP Data received {"connection_id":173883,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:36:55] local.INFO: Processing buffer {"connection_id":173883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:36:55] local.INFO: Packet analysis {"connection_id":173883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:36:55] local.INFO: Extracted packet for processing {"connection_id":173883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:36:55] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901533440001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788678166000,"timestamp_ms":1788678166000,"timestamp_seconds":1788678166,"priority":1,"record_length":96,"hex_timestamp":"000001a07586d5f0"} 
[2026-09-06 12:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 12:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901533440001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901533440001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:36:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:36:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901533440001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":173883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:36:55] local.INFO: GPS data processed {"connection_id":173883,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:36:55] local.INFO: Acknowledgment sent {"connection_id":173883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:37:03] local.INFO: TCP Data received {"connection_id":173883,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:37:03] local.INFO: Processing buffer {"connection_id":173883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:37:03] local.INFO: Packet analysis {"connection_id":173883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:37:03] local.INFO: Extracted packet for processing {"connection_id":173883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901533440001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788678166000,"timestamp_ms":1788678166000,"timestamp_seconds":1788678166,"priority":1,"record_length":96,"hex_timestamp":"000001a07586d5f0"} 
[2026-09-06 12:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 12:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:37: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-09-06 12:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901533440001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901533440001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:37:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901533440001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":173883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:37:03] local.INFO: GPS data processed {"connection_id":173883,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:37:03] local.INFO: Acknowledgment sent {"connection_id":173883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:37:09] local.INFO: TCP Data received {"connection_id":172499,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:37:09] local.INFO: Processing buffer {"connection_id":172499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:37:09] local.INFO: IMEI packet received {"connection_id":172499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":172499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:37:14] local.INFO: TCP Data received {"connection_id":172499,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:37:14] local.INFO: Processing buffer {"connection_id":172499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:37:14] local.INFO: IMEI packet received {"connection_id":172499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":172499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:37:15] local.INFO: TCP Data received {"connection_id":172499,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:37:15] local.INFO: Processing buffer {"connection_id":172499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:37:15] local.INFO: Packet analysis {"connection_id":172499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:37:15] local.INFO: Extracted packet for processing {"connection_id":172499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901527296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788678147000,"timestamp_ms":1788678147000,"timestamp_seconds":1788678147,"priority":1,"record_length":96,"hex_timestamp":"000001a075868bb8"} 
[2026-09-06 12:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:37:15] 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-09-06 12:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901527296001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901527296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:37:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901527296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":172499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:37:15] local.INFO: GPS data processed {"connection_id":172499,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:37:15] local.INFO: Acknowledgment sent {"connection_id":172499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:37:46] local.INFO: TCP Data received {"connection_id":172499,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:37:46] local.INFO: Processing buffer {"connection_id":172499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075868bb8012d196540071fef68003b011028..."} 
[2026-09-06 12:37:46] local.INFO: Packet analysis {"connection_id":172499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:37:46] local.INFO: Extracted packet for processing {"connection_id":172499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901527296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103199744,"note":"Value kept but may cause issues"} 
[2026-09-06 12:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788678147000,"timestamp_ms":1788678147000,"timestamp_seconds":1788678147,"priority":1,"record_length":96,"hex_timestamp":"000001a075868bb8"} 
[2026-09-06 12:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 12:37: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-09-06 12:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:37:46] 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-09-06 12:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901527296001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1830994754103199744},"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-09-06 12:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901527296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:37:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103199744,"description":"Unknown IO ID 45"} 
[2026-09-06 12:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901527296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103199744}} 
[2026-09-06 12:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":172499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:37:46] local.INFO: GPS data processed {"connection_id":172499,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:37:46] local.INFO: Acknowledgment sent {"connection_id":172499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:37:48] local.INFO: TCP Data received {"connection_id":172716,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:37:48] local.INFO: Processing buffer {"connection_id":172716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:37:48] local.INFO: IMEI packet received {"connection_id":172716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":172716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:37:53] local.INFO: TCP Data received {"connection_id":172716,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:37:53] local.INFO: Processing buffer {"connection_id":172716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:37:53] local.INFO: IMEI packet received {"connection_id":172716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":172716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:37:55] local.INFO: TCP Data received {"connection_id":172716,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:37:55] local.INFO: Processing buffer {"connection_id":172716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07586d5f0012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:37:55] local.INFO: Packet analysis {"connection_id":172716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:37:55] local.INFO: Extracted packet for processing {"connection_id":172716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07586"} 
[2026-09-06 12:37:55] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901533440001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788678166000,"timestamp_ms":1788678166000,"timestamp_seconds":1788678166,"priority":1,"record_length":96,"hex_timestamp":"000001a07586d5f0"} 
[2026-09-06 12:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 12:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901533440001,"66":26039,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901533440001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:37:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:37:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901533440001,"power":26039,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":172716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:37:55] local.INFO: GPS data processed {"connection_id":172716,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:37:55] local.INFO: Acknowledgment sent {"connection_id":172716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:38:06] local.INFO: TCP Data received {"connection_id":172717,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:38:06] local.INFO: Processing buffer {"connection_id":172717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:38:06] local.INFO: IMEI packet received {"connection_id":172717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":172717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:38:09] local.INFO: TCP Data received {"connection_id":172717,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:38:09] local.INFO: Processing buffer {"connection_id":172717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:38:09] local.INFO: IMEI packet received {"connection_id":172717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":172717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:38:14] local.INFO: TCP Data received {"connection_id":172717,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:38:14] local.INFO: Processing buffer {"connection_id":172717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:38:14] local.INFO: IMEI packet received {"connection_id":172717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":172717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:38:14] local.INFO: TCP Data received {"connection_id":172717,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:38:14] local.INFO: Processing buffer {"connection_id":172717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:38:14] local.INFO: Packet analysis {"connection_id":172717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:38:14] local.INFO: Extracted packet for processing {"connection_id":172717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:38:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901605632001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:38: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-09-06 12:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788678448000,"timestamp_ms":1788678448000,"timestamp_seconds":1788678448,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b2380"} 
[2026-09-06 12:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:38: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-09-06 12:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:38:14] 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-09-06 12:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901605632001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901605632001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:38:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:38:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901605632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":172717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:38:14] local.INFO: GPS data processed {"connection_id":172717,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:38:14] local.INFO: Acknowledgment sent {"connection_id":172717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:38:26] local.INFO: TCP Data received {"connection_id":172716,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:38:26] local.INFO: Processing buffer {"connection_id":172716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:38:26] local.INFO: Packet analysis {"connection_id":172716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:38:26] local.INFO: Extracted packet for processing {"connection_id":172716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:38:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901610496001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788678467000,"timestamp_ms":1788678467000,"timestamp_seconds":1788678467,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b6db8"} 
[2026-09-06 12:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:38:26] 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-09-06 12:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:38: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-09-06 12:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901610496001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901610496001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:38:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:38:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901610496001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":172716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:38:26] local.INFO: GPS data processed {"connection_id":172716,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:38:26] local.INFO: Acknowledgment sent {"connection_id":172716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:38:46] local.INFO: TCP Data received {"connection_id":172717,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:38:46] local.INFO: Processing buffer {"connection_id":172717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:38:46] local.INFO: Packet analysis {"connection_id":172717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:38:46] local.INFO: Extracted packet for processing {"connection_id":172717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901605632001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788678448000,"timestamp_ms":1788678448000,"timestamp_seconds":1788678448,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b2380"} 
[2026-09-06 12:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:38: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-09-06 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:38:46] 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-09-06 12:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901605632001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901605632001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:38:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901605632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":172717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:38:46] local.INFO: GPS data processed {"connection_id":172717,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:38:46] local.INFO: Acknowledgment sent {"connection_id":172717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:38:53] local.INFO: TCP Data received {"connection_id":172719,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:38:53] local.INFO: Processing buffer {"connection_id":172719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:38:53] local.INFO: IMEI packet received {"connection_id":172719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":172719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:38:58] local.INFO: TCP Data received {"connection_id":172719,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:38:58] local.INFO: Processing buffer {"connection_id":172719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:38:58] local.INFO: IMEI packet received {"connection_id":172719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":172719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:38:59] local.INFO: TCP Data received {"connection_id":172719,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:38:59] local.INFO: Processing buffer {"connection_id":172719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:38:59] local.INFO: Packet analysis {"connection_id":172719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:38:59] local.INFO: Extracted packet for processing {"connection_id":172719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901610496001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788678467000,"timestamp_ms":1788678467000,"timestamp_seconds":1788678467,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b6db8"} 
[2026-09-06 12:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:38:59] 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-09-06 12:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:38:59] 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-09-06 12:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901610496001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901610496001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:38:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:38:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901610496001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":172719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:38:59] local.INFO: GPS data processed {"connection_id":172719,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:38:59] local.INFO: Acknowledgment sent {"connection_id":172719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:39:03] local.INFO: TCP Data received {"connection_id":172719,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:39:03] local.INFO: Processing buffer {"connection_id":172719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:39:03] local.INFO: Packet analysis {"connection_id":172719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:39:03] local.INFO: Extracted packet for processing {"connection_id":172719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901610496001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788678467000,"timestamp_ms":1788678467000,"timestamp_seconds":1788678467,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b6db8"} 
[2026-09-06 12:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:39:03] 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-09-06 12:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901610496001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901610496001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:39:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901610496001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":172719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:39:04] local.INFO: GPS data processed {"connection_id":172719,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:39:04] local.INFO: Acknowledgment sent {"connection_id":172719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:39:09] local.INFO: TCP Data received {"connection_id":173884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:39:09] local.INFO: Processing buffer {"connection_id":173884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:39:09] local.INFO: IMEI packet received {"connection_id":173884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":173884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:39:14] local.INFO: TCP Data received {"connection_id":173884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:39:14] local.INFO: Processing buffer {"connection_id":173884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:39:14] local.INFO: IMEI packet received {"connection_id":173884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":173884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:39:15] local.INFO: TCP Data received {"connection_id":173884,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:39:15] local.INFO: Processing buffer {"connection_id":173884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:39:15] local.INFO: Packet analysis {"connection_id":173884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:39:15] local.INFO: Extracted packet for processing {"connection_id":173884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:39:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901605632001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788678448000,"timestamp_ms":1788678448000,"timestamp_seconds":1788678448,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b2380"} 
[2026-09-06 12:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:39: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-09-06 12:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:39:15] 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-09-06 12:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901605632001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901605632001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:39:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:39:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901605632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":173884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:39:15] local.INFO: GPS data processed {"connection_id":173884,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:39:15] local.INFO: Acknowledgment sent {"connection_id":173884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:39:20] local.INFO: TCP Data received {"connection_id":172718,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:39:20] local.INFO: Processing buffer {"connection_id":172718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:39:20] local.INFO: IMEI packet received {"connection_id":172718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":172718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:39:46] local.INFO: TCP Data received {"connection_id":173884,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:39:46] local.INFO: Processing buffer {"connection_id":173884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:39:46] local.INFO: Packet analysis {"connection_id":173884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:39:46] local.INFO: Extracted packet for processing {"connection_id":173884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901605632001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788678448000,"timestamp_ms":1788678448000,"timestamp_seconds":1788678448,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b2380"} 
[2026-09-06 12:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:39: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-09-06 12:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:39:46] 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-09-06 12:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901605632001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901605632001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:39:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901605632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":173884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:39:46] local.INFO: GPS data processed {"connection_id":173884,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:39:46] local.INFO: Acknowledgment sent {"connection_id":173884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:39:48] local.INFO: TCP Data received {"connection_id":172720,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:39:48] local.INFO: Processing buffer {"connection_id":172720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:39:48] local.INFO: IMEI packet received {"connection_id":172720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":172720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:39:50] local.INFO: TCP Data received {"connection_id":175199,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:39:50] local.INFO: Processing buffer {"connection_id":175199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:39:50] local.INFO: IMEI packet received {"connection_id":175199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":175199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:39:53] local.INFO: TCP Data received {"connection_id":172720,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:39:53] local.INFO: Processing buffer {"connection_id":172720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:39:53] local.INFO: IMEI packet received {"connection_id":172720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":172720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:39:54] local.INFO: TCP Data received {"connection_id":172720,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:39:54] local.INFO: Processing buffer {"connection_id":172720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:39:54] local.INFO: Packet analysis {"connection_id":172720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:39:54] local.INFO: Extracted packet for processing {"connection_id":172720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:39:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901610496001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788678467000,"timestamp_ms":1788678467000,"timestamp_seconds":1788678467,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b6db8"} 
[2026-09-06 12:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:39: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-09-06 12:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:39: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-09-06 12:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:39: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-09-06 12:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901610496001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901610496001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:39:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:39:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901610496001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":172720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:39:54] local.INFO: GPS data processed {"connection_id":172720,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:39:54] local.INFO: Acknowledgment sent {"connection_id":172720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:40:14] local.INFO: TCP Data received {"connection_id":173885,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:40:14] local.INFO: Processing buffer {"connection_id":173885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:40:14] local.INFO: IMEI packet received {"connection_id":173885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":173885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:40:19] local.INFO: TCP Data received {"connection_id":173885,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:40:19] local.INFO: Processing buffer {"connection_id":173885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:40:19] local.INFO: IMEI packet received {"connection_id":173885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":173885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:40:20] local.INFO: TCP Data received {"connection_id":173885,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:40:20] local.INFO: Processing buffer {"connection_id":173885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:40:20] local.INFO: Packet analysis {"connection_id":173885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:40:20] local.INFO: Extracted packet for processing {"connection_id":173885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:40:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:40: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-09-06 12:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901605632001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788678448000,"timestamp_ms":1788678448000,"timestamp_seconds":1788678448,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b2380"} 
[2026-09-06 12:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:40:20] 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-09-06 12:40: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:40: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-09-06 12:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:40:20] 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-09-06 12:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901605632001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901605632001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:40:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:40:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901605632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":173885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:40:20] local.INFO: GPS data processed {"connection_id":173885,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:40:20] local.INFO: Acknowledgment sent {"connection_id":173885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:40:24] local.INFO: TCP Data received {"connection_id":173885,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:40:24] local.INFO: Processing buffer {"connection_id":173885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:40:24] local.INFO: Packet analysis {"connection_id":173885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:40:24] local.INFO: Extracted packet for processing {"connection_id":173885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:40:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901605632001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788678448000,"timestamp_ms":1788678448000,"timestamp_seconds":1788678448,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b2380"} 
[2026-09-06 12:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:40:24] 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-09-06 12:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:40:24] 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-09-06 12:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901605632001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901605632001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:40:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:40:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901605632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":173885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:40:24] local.INFO: GPS data processed {"connection_id":173885,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:40:24] local.INFO: Acknowledgment sent {"connection_id":173885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:40:26] local.INFO: TCP Data received {"connection_id":172720,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:40:26] local.INFO: Processing buffer {"connection_id":172720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:40:26] local.INFO: Packet analysis {"connection_id":172720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:40:26] local.INFO: Extracted packet for processing {"connection_id":172720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:40:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901610496001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788678467000,"timestamp_ms":1788678467000,"timestamp_seconds":1788678467,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b6db8"} 
[2026-09-06 12:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:40:26] 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-09-06 12:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:40: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-09-06 12:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901610496001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901610496001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:40:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:40:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901610496001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":172720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:40:26] local.INFO: GPS data processed {"connection_id":172720,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:40:26] local.INFO: Acknowledgment sent {"connection_id":172720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:40:48] local.INFO: TCP Data received {"connection_id":173886,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:40:48] local.INFO: Processing buffer {"connection_id":173886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:40:48] local.INFO: IMEI packet received {"connection_id":173886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":173886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:40:53] local.INFO: TCP Data received {"connection_id":173886,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:40:53] local.INFO: Processing buffer {"connection_id":173886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:40:53] local.INFO: IMEI packet received {"connection_id":173886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":173886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:40:54] local.INFO: TCP Data received {"connection_id":173886,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:40:54] local.INFO: Processing buffer {"connection_id":173886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:40:54] local.INFO: Packet analysis {"connection_id":173886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:40:54] local.INFO: Extracted packet for processing {"connection_id":173886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:40:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901610496001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788678467000,"timestamp_ms":1788678467000,"timestamp_seconds":1788678467,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b6db8"} 
[2026-09-06 12:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:40: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-09-06 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:40: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-09-06 12: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-09-06 12:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:40: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-09-06 12:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901610496001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901610496001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:40:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:40:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901610496001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":173886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:40:54] local.INFO: GPS data processed {"connection_id":173886,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:40:54] local.INFO: Acknowledgment sent {"connection_id":173886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:41:09] local.INFO: TCP Data received {"connection_id":172500,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:41:09] local.INFO: Processing buffer {"connection_id":172500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:41:09] local.INFO: IMEI packet received {"connection_id":172500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":172500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:41:14] local.INFO: TCP Data received {"connection_id":172500,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:41:14] local.INFO: Processing buffer {"connection_id":172500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:41:14] local.INFO: IMEI packet received {"connection_id":172500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":172500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:41:15] local.INFO: TCP Data received {"connection_id":172500,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:41:15] local.INFO: Processing buffer {"connection_id":172500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:41:15] local.INFO: Packet analysis {"connection_id":172500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:41:15] local.INFO: Extracted packet for processing {"connection_id":172500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901605632001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788678448000,"timestamp_ms":1788678448000,"timestamp_seconds":1788678448,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b2380"} 
[2026-09-06 12:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:41: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-09-06 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:41:15] 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-09-06 12:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901605632001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901605632001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:41:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901605632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":172500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:41:15] local.INFO: GPS data processed {"connection_id":172500,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:41:15] local.INFO: Acknowledgment sent {"connection_id":172500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:41:26] local.INFO: TCP Data received {"connection_id":173886,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:41:26] local.INFO: Processing buffer {"connection_id":173886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:41:26] local.INFO: Packet analysis {"connection_id":173886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:41:26] local.INFO: Extracted packet for processing {"connection_id":173886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:41:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901610496001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788678467000,"timestamp_ms":1788678467000,"timestamp_seconds":1788678467,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b6db8"} 
[2026-09-06 12:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:41:26] 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-09-06 12:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:41: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-09-06 12:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901610496001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901610496001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:41:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:41:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901610496001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":173886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:41:26] local.INFO: GPS data processed {"connection_id":173886,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:41:26] local.INFO: Acknowledgment sent {"connection_id":173886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:41:46] local.INFO: TCP Data received {"connection_id":172500,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:41:46] local.INFO: Processing buffer {"connection_id":172500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:41:46] local.INFO: Packet analysis {"connection_id":172500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:41:46] local.INFO: Extracted packet for processing {"connection_id":172500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:41:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901605632001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788678448000,"timestamp_ms":1788678448000,"timestamp_seconds":1788678448,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b2380"} 
[2026-09-06 12:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:41: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-09-06 12:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:41:46] 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-09-06 12:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901605632001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901605632001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:41:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:41:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901605632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":172500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:41:46] local.INFO: GPS data processed {"connection_id":172500,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:41:46] local.INFO: Acknowledgment sent {"connection_id":172500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:41:48] local.INFO: TCP Data received {"connection_id":175200,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:41:48] local.INFO: Processing buffer {"connection_id":175200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:41:48] local.INFO: IMEI packet received {"connection_id":175200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":175200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:41:53] local.INFO: TCP Data received {"connection_id":175200,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:41:53] local.INFO: Processing buffer {"connection_id":175200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:41:53] local.INFO: IMEI packet received {"connection_id":175200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":175200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:41:54] local.INFO: TCP Data received {"connection_id":175200,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:41:54] local.INFO: Processing buffer {"connection_id":175200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:41:54] local.INFO: Packet analysis {"connection_id":175200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:41:54] local.INFO: Extracted packet for processing {"connection_id":175200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:41:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901610496001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788678467000,"timestamp_ms":1788678467000,"timestamp_seconds":1788678467,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b6db8"} 
[2026-09-06 12:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:41: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-09-06 12:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:41: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-09-06 12:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12: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-09-06 12:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901610496001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901610496001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:41:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:41:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901610496001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":175200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:41:54] local.INFO: GPS data processed {"connection_id":175200,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:41:54] local.INFO: Acknowledgment sent {"connection_id":175200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:42:09] local.INFO: TCP Data received {"connection_id":172722,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:42:09] local.INFO: Processing buffer {"connection_id":172722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:42:09] local.INFO: IMEI packet received {"connection_id":172722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":172722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:42:14] local.INFO: TCP Data received {"connection_id":172722,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:42:14] local.INFO: Processing buffer {"connection_id":172722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:42:14] local.INFO: IMEI packet received {"connection_id":172722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":172722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:42:15] local.INFO: TCP Data received {"connection_id":172722,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:42:15] local.INFO: Processing buffer {"connection_id":172722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:42:15] local.INFO: Packet analysis {"connection_id":172722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:42:15] local.INFO: Extracted packet for processing {"connection_id":172722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901605632001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788678448000,"timestamp_ms":1788678448000,"timestamp_seconds":1788678448,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b2380"} 
[2026-09-06 12:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:42: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-09-06 12:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:42:15] 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-09-06 12:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901605632001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901605632001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:42:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901605632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":172722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:42:15] local.INFO: GPS data processed {"connection_id":172722,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:42:15] local.INFO: Acknowledgment sent {"connection_id":172722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:42:25] local.INFO: TCP Data received {"connection_id":175200,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:42:25] local.INFO: Processing buffer {"connection_id":175200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:42:25] local.INFO: Packet analysis {"connection_id":175200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:42:25] local.INFO: Extracted packet for processing {"connection_id":175200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:42:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 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-09-06 12:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901610496001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788678467000,"timestamp_ms":1788678467000,"timestamp_seconds":1788678467,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b6db8"} 
[2026-09-06 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-09-06 12:42: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-09-06 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:42: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-09-06 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-09-06 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-09-06 12:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:42: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-09-06 12:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901610496001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901610496001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:42:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:42:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901610496001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":175200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:42:25] local.INFO: GPS data processed {"connection_id":175200,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:42:25] local.INFO: Acknowledgment sent {"connection_id":175200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:42:46] local.INFO: TCP Data received {"connection_id":172722,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:42:46] local.INFO: Processing buffer {"connection_id":172722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b2380012d196540071fef68003b011029..."} 
[2026-09-06 12:42:46] local.INFO: Packet analysis {"connection_id":172722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:42:46] local.INFO: Extracted packet for processing {"connection_id":172722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901605632001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788678448000,"timestamp_ms":1788678448000,"timestamp_seconds":1788678448,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b2380"} 
[2026-09-06 12:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:42: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-09-06 12:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:42:46] 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-09-06 12:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901605632001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901605632001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:42:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901605632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":172722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:42:46] local.INFO: GPS data processed {"connection_id":172722,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:42:46] local.INFO: Acknowledgment sent {"connection_id":172722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:42:48] local.INFO: TCP Data received {"connection_id":175201,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:42:48] local.INFO: Processing buffer {"connection_id":175201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:42:48] local.INFO: IMEI packet received {"connection_id":175201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":175201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:42:53] local.INFO: TCP Data received {"connection_id":175201,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:42:53] local.INFO: Processing buffer {"connection_id":175201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:42:53] local.INFO: IMEI packet received {"connection_id":175201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":175201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:42:54] local.INFO: TCP Data received {"connection_id":175201,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:42:54] local.INFO: Processing buffer {"connection_id":175201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:42:54] local.INFO: Packet analysis {"connection_id":175201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:42:54] local.INFO: Extracted packet for processing {"connection_id":175201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:42:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901610496001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788678467000,"timestamp_ms":1788678467000,"timestamp_seconds":1788678467,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b6db8"} 
[2026-09-06 12:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:42: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-09-06 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:42: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-09-06 12: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-09-06 12:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:42: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-09-06 12:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901610496001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901610496001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:42:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:42:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901610496001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":175201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:42:54] local.INFO: GPS data processed {"connection_id":175201,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:42:54] local.INFO: Acknowledgment sent {"connection_id":175201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:43:10] local.INFO: TCP Data received {"connection_id":172501,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:43:10] local.INFO: Processing buffer {"connection_id":172501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:43:10] local.INFO: IMEI packet received {"connection_id":172501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":172501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:43:14] local.INFO: TCP Data received {"connection_id":172501,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:43:14] local.INFO: Processing buffer {"connection_id":172501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:43:14] local.INFO: IMEI packet received {"connection_id":172501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":172501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:43:15] local.INFO: TCP Data received {"connection_id":172501,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:43:15] local.INFO: Processing buffer {"connection_id":172501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:43:15] local.INFO: Packet analysis {"connection_id":172501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:43:15] local.INFO: Extracted packet for processing {"connection_id":172501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901682688001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788678749000,"timestamp_ms":1788678749000,"timestamp_seconds":1788678749,"priority":1,"record_length":96,"hex_timestamp":"000001a0758fbb48"} 
[2026-09-06 12:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 12:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:43:15] 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-09-06 12:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901682688001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901682688001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:43:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901682688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":172501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:43:15] local.INFO: GPS data processed {"connection_id":172501,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:43:15] local.INFO: Acknowledgment sent {"connection_id":172501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:43:26] local.INFO: TCP Data received {"connection_id":175201,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:43:26] local.INFO: Processing buffer {"connection_id":175201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758b6db8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:43:26] local.INFO: Packet analysis {"connection_id":175201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:43:26] local.INFO: Extracted packet for processing {"connection_id":175201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758b"} 
[2026-09-06 12:43:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901610496001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788678467000,"timestamp_ms":1788678467000,"timestamp_seconds":1788678467,"priority":1,"record_length":96,"hex_timestamp":"000001a0758b6db8"} 
[2026-09-06 12:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:43:26] 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-09-06 12:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:43: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-09-06 12:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901610496001,"66":26082,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901610496001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:43:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:43:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901610496001,"power":26082,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":175201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:43:26] local.INFO: GPS data processed {"connection_id":175201,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:43:26] local.INFO: Acknowledgment sent {"connection_id":175201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:43:46] local.INFO: TCP Data received {"connection_id":172501,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:43:46] local.INFO: Processing buffer {"connection_id":172501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:43:46] local.INFO: Packet analysis {"connection_id":172501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:43:46] local.INFO: Extracted packet for processing {"connection_id":172501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901682688001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788678749000,"timestamp_ms":1788678749000,"timestamp_seconds":1788678749,"priority":1,"record_length":96,"hex_timestamp":"000001a0758fbb48"} 
[2026-09-06 12:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:43:46] 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-09-06 12:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 12:43:46] 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-09-06 12:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:43:46] 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-09-06 12:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901682688001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901682688001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:43:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901682688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":172501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:43:46] local.INFO: GPS data processed {"connection_id":172501,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:43:46] local.INFO: Acknowledgment sent {"connection_id":172501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:43:53] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:43:53] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:43:53] local.INFO: IMEI packet received {"connection_id":173888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":173888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:43:58] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:43:58] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:43:58] local.INFO: IMEI packet received {"connection_id":173888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":173888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:43:59] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:43:59] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:43:59] local.INFO: Packet analysis {"connection_id":173888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:43:59] local.INFO: Extracted packet for processing {"connection_id":173888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:43:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901687552001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788678768000,"timestamp_ms":1788678768000,"timestamp_seconds":1788678768,"priority":1,"record_length":96,"hex_timestamp":"000001a075900580"} 
[2026-09-06 12:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:43:59] 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-09-06 12:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901687552001,"66":26071,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901687552001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:43:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:43:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901687552001,"power":26071,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":173888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:43:59] local.INFO: GPS data processed {"connection_id":173888,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:43:59] local.INFO: Acknowledgment sent {"connection_id":173888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:44:14] local.INFO: TCP Data received {"connection_id":175202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:44:14] local.INFO: Processing buffer {"connection_id":175202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:44:14] local.INFO: IMEI packet received {"connection_id":175202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":175202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:44:19] local.INFO: TCP Data received {"connection_id":175202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:44:19] local.INFO: Processing buffer {"connection_id":175202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:44:19] local.INFO: IMEI packet received {"connection_id":175202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":175202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:44:20] local.INFO: TCP Data received {"connection_id":175202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:44:20] local.INFO: Processing buffer {"connection_id":175202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:44:20] local.INFO: Packet analysis {"connection_id":175202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:44:20] local.INFO: Extracted packet for processing {"connection_id":175202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:44:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901682688001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788678749000,"timestamp_ms":1788678749000,"timestamp_seconds":1788678749,"priority":1,"record_length":96,"hex_timestamp":"000001a0758fbb48"} 
[2026-09-06 12:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:44:20] 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-09-06 12:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 12:44:20] 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-09-06 12:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:44:20] 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-09-06 12:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901682688001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901682688001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:44:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:44:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901682688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":175202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:44:20] local.INFO: GPS data processed {"connection_id":175202,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:44:20] local.INFO: Acknowledgment sent {"connection_id":175202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:44:24] local.INFO: TCP Data received {"connection_id":175202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:44:24] local.INFO: Processing buffer {"connection_id":175202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:44:24] local.INFO: Packet analysis {"connection_id":175202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:44:24] local.INFO: Extracted packet for processing {"connection_id":175202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 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-09-06 12:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901682688001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788678749000,"timestamp_ms":1788678749000,"timestamp_seconds":1788678749,"priority":1,"record_length":96,"hex_timestamp":"000001a0758fbb48"} 
[2026-09-06 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-09-06 12:44:24] 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-09-06 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 12:44:24] 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-09-06 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-09-06 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-09-06 12:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:44:24] 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-09-06 12:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901682688001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901682688001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:44:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901682688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":175202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:44:24] local.INFO: GPS data processed {"connection_id":175202,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:44:24] local.INFO: Acknowledgment sent {"connection_id":175202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:44:30] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:44:30] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:44:30] local.INFO: Packet analysis {"connection_id":173888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:44:30] local.INFO: Extracted packet for processing {"connection_id":173888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:44:30] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901687552001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788678768000,"timestamp_ms":1788678768000,"timestamp_seconds":1788678768,"priority":1,"record_length":96,"hex_timestamp":"000001a075900580"} 
[2026-09-06 12:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:44: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-09-06 12:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:44:30] 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-09-06 12:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901687552001,"66":26071,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901687552001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:44:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:44:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901687552001,"power":26071,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":173888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:44:30] local.INFO: GPS data processed {"connection_id":173888,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:44:30] local.INFO: Acknowledgment sent {"connection_id":173888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:44:48] local.INFO: TCP Data received {"connection_id":172723,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:44:48] local.INFO: Processing buffer {"connection_id":172723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:44:48] local.INFO: IMEI packet received {"connection_id":172723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":172723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:44:53] local.INFO: TCP Data received {"connection_id":172723,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:44:53] local.INFO: Processing buffer {"connection_id":172723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:44:53] local.INFO: IMEI packet received {"connection_id":172723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":172723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:44:54] local.INFO: TCP Data received {"connection_id":172723,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:44:54] local.INFO: Processing buffer {"connection_id":172723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:44:54] local.INFO: Packet analysis {"connection_id":172723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:44:54] local.INFO: Extracted packet for processing {"connection_id":172723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:44:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901687552001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788678768000,"timestamp_ms":1788678768000,"timestamp_seconds":1788678768,"priority":1,"record_length":96,"hex_timestamp":"000001a075900580"} 
[2026-09-06 12:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:44: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-09-06 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:44: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-09-06 12:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901687552001,"66":26071,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901687552001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:44:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:44:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901687552001,"power":26071,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":172723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:44:54] local.INFO: GPS data processed {"connection_id":172723,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:44:54] local.INFO: Acknowledgment sent {"connection_id":172723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:45:09] local.INFO: TCP Data received {"connection_id":173889,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:45:09] local.INFO: Processing buffer {"connection_id":173889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:45:09] local.INFO: IMEI packet received {"connection_id":173889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":173889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:45:14] local.INFO: TCP Data received {"connection_id":173889,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:45:14] local.INFO: Processing buffer {"connection_id":173889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:45:14] local.INFO: IMEI packet received {"connection_id":173889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":173889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:45:15] local.INFO: TCP Data received {"connection_id":173889,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:45:15] local.INFO: Processing buffer {"connection_id":173889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:45:15] local.INFO: Packet analysis {"connection_id":173889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:45:15] local.INFO: Extracted packet for processing {"connection_id":173889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901682688001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788678749000,"timestamp_ms":1788678749000,"timestamp_seconds":1788678749,"priority":1,"record_length":96,"hex_timestamp":"000001a0758fbb48"} 
[2026-09-06 12:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 12:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:45:15] 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-09-06 12:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901682688001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901682688001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:45:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901682688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":173889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:45:15] local.INFO: GPS data processed {"connection_id":173889,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:45:15] local.INFO: Acknowledgment sent {"connection_id":173889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:45:25] local.INFO: TCP Data received {"connection_id":172723,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:45:25] local.INFO: Processing buffer {"connection_id":172723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:45:25] local.INFO: Packet analysis {"connection_id":172723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:45:25] local.INFO: Extracted packet for processing {"connection_id":172723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:45:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901687552001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788678768000,"timestamp_ms":1788678768000,"timestamp_seconds":1788678768,"priority":1,"record_length":96,"hex_timestamp":"000001a075900580"} 
[2026-09-06 12:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:45: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-09-06 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:45: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-09-06 12:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901687552001,"66":26071,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901687552001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:45:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:45:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901687552001,"power":26071,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":172723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:45:25] local.INFO: GPS data processed {"connection_id":172723,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:45:25] local.INFO: Acknowledgment sent {"connection_id":172723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:45:44] local.INFO: TCP Data received {"connection_id":173890,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:45:44] local.INFO: Processing buffer {"connection_id":173890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:45:44] local.INFO: IMEI packet received {"connection_id":173890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":173890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:45:46] local.INFO: TCP Data received {"connection_id":173889,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:45:46] local.INFO: Processing buffer {"connection_id":173889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:45:46] local.INFO: Packet analysis {"connection_id":173889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:45:46] local.INFO: Extracted packet for processing {"connection_id":173889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901682688001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788678749000,"timestamp_ms":1788678749000,"timestamp_seconds":1788678749,"priority":1,"record_length":96,"hex_timestamp":"000001a0758fbb48"} 
[2026-09-06 12:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:45:46] 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-09-06 12:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 12:45:46] 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-09-06 12:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:45:46] 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-09-06 12:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901682688001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901682688001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:45:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901682688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":173889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:45:46] local.INFO: GPS data processed {"connection_id":173889,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:45:46] local.INFO: Acknowledgment sent {"connection_id":173889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:45:50] local.INFO: TCP Data received {"connection_id":172724,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:45:50] local.INFO: Processing buffer {"connection_id":172724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:45:50] local.INFO: IMEI packet received {"connection_id":172724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":172724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:45:50] local.INFO: TCP Data received {"connection_id":173890,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:45:50] local.INFO: Processing buffer {"connection_id":173890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:45:50] local.INFO: IMEI packet received {"connection_id":173890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":173890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:45:53] local.INFO: TCP Data received {"connection_id":172724,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:45:53] local.INFO: Processing buffer {"connection_id":172724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:45:53] local.INFO: IMEI packet received {"connection_id":172724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":172724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:45:53] local.INFO: TCP Data received {"connection_id":173890,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759116f0012c4bae0009df3d500218014d2d..."} 
[2026-09-06 12:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759116f0012c4bae0009df3d500218014d2d..."} 
[2026-09-06 12:45:53] local.INFO: Processing buffer {"connection_id":173890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759116f0012c4bae0009df3d500218014d2d..."} 
[2026-09-06 12:45:53] local.INFO: Packet analysis {"connection_id":173890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07591"} 
[2026-09-06 12:45:53] local.INFO: Extracted packet for processing {"connection_id":173890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07591"} 
[2026-09-06 12:45:53] local.INFO: GPS Element Parsed {"raw_longitude":743157248,"raw_latitude":165625168,"longitude_deg":74.3157248,"latitude_deg":16.5625168,"altitude":536,"angle":333,"satellites":45,"speed":23,"hex_longitude":"2c4bae00","hex_latitude":"09df3d50","is_valid_coordinates":true} 
[2026-09-06 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-09-06 12:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901781760001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2563309496696832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5454351772354621442,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,238,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788678838000,"timestamp_ms":1788678838000,"timestamp_seconds":1788678838,"priority":1,"record_length":96,"hex_timestamp":"000001a0759116f0"} 
[2026-09-06 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-09-06 12:45: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-09-06 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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-06 12:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 12:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901781760001,"66":28137,"235":206,"238":12544,"24":23,"16":2563309496696832,"44":5454351772354621442},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,238,24,16,44]} 
[2026-09-06 12:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901781760001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:45:53] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-06 12:45:53] local.INFO: Unknown IO ID detected {"io_id":238,"value":12544,"description":"Unknown IO ID 238"} 
[2026-09-06 12:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2563309496696832,"km_value":2563309496696.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:45:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":5454351772354621442,"description":"Unknown IO ID 44"} 
[2026-09-06 12:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901781760001,"power":28137,"unknown_235":206,"unknown_238":12544,"ignition":23,"odometer":null,"unknown_44":5454351772354621442}} 
[2026-09-06 12:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":173890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774365,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:45:53] local.INFO: GPS data processed {"connection_id":173890,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:45:53] local.INFO: Acknowledgment sent {"connection_id":173890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:45:54] local.INFO: TCP Data received {"connection_id":172724,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:45:54] local.INFO: Processing buffer {"connection_id":172724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:45:54] local.INFO: Packet analysis {"connection_id":172724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:45:54] local.INFO: Extracted packet for processing {"connection_id":172724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:45:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901687552001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788678768000,"timestamp_ms":1788678768000,"timestamp_seconds":1788678768,"priority":1,"record_length":96,"hex_timestamp":"000001a075900580"} 
[2026-09-06 12:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:45: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-09-06 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:45:54] 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-09-06 12:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901687552001,"66":26071,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901687552001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:45:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:45:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901687552001,"power":26071,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":172724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:45:54] local.INFO: GPS data processed {"connection_id":172724,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:45:54] local.INFO: Acknowledgment sent {"connection_id":172724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:45:58] local.INFO: TCP Data received {"connection_id":172724,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:45:58] local.INFO: Processing buffer {"connection_id":172724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:45:58] local.INFO: Packet analysis {"connection_id":172724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:45:58] local.INFO: Extracted packet for processing {"connection_id":172724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:45:58] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901687552001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788678768000,"timestamp_ms":1788678768000,"timestamp_seconds":1788678768,"priority":1,"record_length":96,"hex_timestamp":"000001a075900580"} 
[2026-09-06 12:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:45: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-09-06 12:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901687552001,"66":26071,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901687552001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:45:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:45:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901687552001,"power":26071,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":172724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:45:58] local.INFO: GPS data processed {"connection_id":172724,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:45:58] local.INFO: Acknowledgment sent {"connection_id":172724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:46:09] local.INFO: TCP Data received {"connection_id":172725,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:46:09] local.INFO: Processing buffer {"connection_id":172725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:46:09] local.INFO: IMEI packet received {"connection_id":172725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":172725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:46:14] local.INFO: TCP Data received {"connection_id":172725,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:46:14] local.INFO: Processing buffer {"connection_id":172725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:46:14] local.INFO: IMEI packet received {"connection_id":172725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":172725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:46:15] local.INFO: TCP Data received {"connection_id":172725,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:46:15] local.INFO: Processing buffer {"connection_id":172725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:46:15] local.INFO: Packet analysis {"connection_id":172725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:46:15] local.INFO: Extracted packet for processing {"connection_id":172725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901682688001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788678749000,"timestamp_ms":1788678749000,"timestamp_seconds":1788678749,"priority":1,"record_length":96,"hex_timestamp":"000001a0758fbb48"} 
[2026-09-06 12:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 12:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:46:15] 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-09-06 12:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901682688001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901682688001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:46:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901682688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":172725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:46:15] local.INFO: GPS data processed {"connection_id":172725,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:46:15] local.INFO: Acknowledgment sent {"connection_id":172725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:46:25] local.INFO: TCP Data received {"connection_id":173890,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759122a8012c4babc009df4420021801592e..."} 
[2026-09-06 12:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759122a8012c4babc009df4420021801592e..."} 
[2026-09-06 12:46:26] local.INFO: Processing buffer {"connection_id":173890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759122a8012c4babc009df4420021801592e..."} 
[2026-09-06 12:46:26] local.INFO: Packet analysis {"connection_id":173890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07591"} 
[2026-09-06 12:46:26] local.INFO: Extracted packet for processing {"connection_id":173890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07591"} 
[2026-09-06 12:46:26] local.INFO: GPS Element Parsed {"raw_longitude":743156672,"raw_latitude":165626912,"longitude_deg":74.3156672,"latitude_deg":16.5626912,"altitude":536,"angle":345,"satellites":46,"speed":24,"hex_longitude":"2c4babc0","hex_latitude":"09df4420","is_valid_coordinates":true} 
[2026-09-06 12:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901782528001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2563395396042752,"note":"Value kept but may cause issues"} 
[2026-09-06 12:46:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5453296241192292354,"note":"Value kept but may cause issues"} 
[2026-09-06 12:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,238,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788678841000,"timestamp_ms":1788678841000,"timestamp_seconds":1788678841,"priority":1,"record_length":96,"hex_timestamp":"000001a0759122a8"} 
[2026-09-06 12:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:46: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-09-06 12:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 12:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901782528001,"66":28234,"235":206,"238":12544,"24":24,"16":2563395396042752,"44":5453296241192292354},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,238,24,16,44]} 
[2026-09-06 12:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901782528001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:46:26] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-06 12:46:26] local.INFO: Unknown IO ID detected {"io_id":238,"value":12544,"description":"Unknown IO ID 238"} 
[2026-09-06 12:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2563395396042752,"km_value":2563395396042.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:46:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":5453296241192292354,"description":"Unknown IO ID 44"} 
[2026-09-06 12:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901782528001,"power":28234,"unknown_235":206,"unknown_238":12544,"ignition":24,"odometer":null,"unknown_44":5453296241192292354}} 
[2026-09-06 12:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":173890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774369,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:46:26] local.INFO: GPS data processed {"connection_id":173890,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:46:26] local.INFO: Acknowledgment sent {"connection_id":173890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:46:31] local.INFO: TCP Data received {"connection_id":172724,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:46:31] local.INFO: Processing buffer {"connection_id":172724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:46:31] local.INFO: Packet analysis {"connection_id":172724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:46:31] local.INFO: Extracted packet for processing {"connection_id":172724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901687552001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788678768000,"timestamp_ms":1788678768000,"timestamp_seconds":1788678768,"priority":1,"record_length":96,"hex_timestamp":"000001a075900580"} 
[2026-09-06 12:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:46:31] 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-09-06 12:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901687552001,"66":26071,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901687552001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:46:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:46:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901687552001,"power":26071,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":172724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:46:31] local.INFO: GPS data processed {"connection_id":172724,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:46:31] local.INFO: Acknowledgment sent {"connection_id":172724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:46:46] local.INFO: TCP Data received {"connection_id":172725,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:46:46] local.INFO: Processing buffer {"connection_id":172725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:46:46] local.INFO: Packet analysis {"connection_id":172725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:46:46] local.INFO: Extracted packet for processing {"connection_id":172725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:46:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901682688001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788678749000,"timestamp_ms":1788678749000,"timestamp_seconds":1788678749,"priority":1,"record_length":96,"hex_timestamp":"000001a0758fbb48"} 
[2026-09-06 12:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:46:46] 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-09-06 12: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 12:46:46] 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-09-06 12: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-09-06 12:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:46:46] 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-09-06 12:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901682688001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901682688001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:46:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901682688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":172725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:46:46] local.INFO: GPS data processed {"connection_id":172725,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:46:46] local.INFO: Acknowledgment sent {"connection_id":172725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:46:48] local.INFO: TCP Data received {"connection_id":172502,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:46:48] local.INFO: Processing buffer {"connection_id":172502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:46:48] local.INFO: IMEI packet received {"connection_id":172502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":172502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:46:53] local.INFO: TCP Data received {"connection_id":172502,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:46:53] local.INFO: Processing buffer {"connection_id":172502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:46:53] local.INFO: IMEI packet received {"connection_id":172502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":172502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:46:55] local.INFO: TCP Data received {"connection_id":172502,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:46:55] local.INFO: Processing buffer {"connection_id":172502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:46:55] local.INFO: Packet analysis {"connection_id":172502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:46:55] local.INFO: Extracted packet for processing {"connection_id":172502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:46:55] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901687552001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788678768000,"timestamp_ms":1788678768000,"timestamp_seconds":1788678768,"priority":1,"record_length":96,"hex_timestamp":"000001a075900580"} 
[2026-09-06 12:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901687552001,"66":26071,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901687552001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:46:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:46:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901687552001,"power":26071,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":172502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:46:55] local.INFO: GPS data processed {"connection_id":172502,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:46:55] local.INFO: Acknowledgment sent {"connection_id":172502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:46:59] local.INFO: TCP Data received {"connection_id":172726,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:46:59] local.INFO: Processing buffer {"connection_id":172726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:46:59] local.INFO: IMEI packet received {"connection_id":172726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":172726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:47:02] local.INFO: TCP Data received {"connection_id":172726,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:47:02] local.INFO: Processing buffer {"connection_id":172726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:47:02] local.INFO: IMEI packet received {"connection_id":172726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":172726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:47:09] local.INFO: TCP Data received {"connection_id":172503,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:47:09] local.INFO: Processing buffer {"connection_id":172503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:47:09] local.INFO: IMEI packet received {"connection_id":172503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":172503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:47:10] local.INFO: TCP Data received {"connection_id":172726,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:47:10] local.INFO: Processing buffer {"connection_id":172726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:47:10] local.INFO: IMEI packet received {"connection_id":172726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":172726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:47:14] local.INFO: TCP Data received {"connection_id":172726,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075913a18012c4ba94009df5270021801652c..."} 
[2026-09-06 12:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075913a18012c4ba94009df5270021801652c..."} 
[2026-09-06 12:47:14] local.INFO: Processing buffer {"connection_id":172726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075913a18012c4ba94009df5270021801652c..."} 
[2026-09-06 12:47:14] local.INFO: Packet analysis {"connection_id":172726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07591"} 
[2026-09-06 12:47:14] local.INFO: Extracted packet for processing {"connection_id":172726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07591"} 
[2026-09-06 12:47:14] local.INFO: GPS Element Parsed {"raw_longitude":743156032,"raw_latitude":165630576,"longitude_deg":74.3156032,"latitude_deg":16.5630576,"altitude":536,"angle":357,"satellites":44,"speed":23,"hex_longitude":"2c4ba940","hex_latitude":"09df5270","is_valid_coordinates":true} 
[2026-09-06 12:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901783296001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2563575784669184,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5452662922495139842,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,105,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788678847000,"timestamp_ms":1788678847000,"timestamp_seconds":1788678847,"priority":1,"record_length":96,"hex_timestamp":"000001a075913a18"} 
[2026-09-06 12:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-06 12:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901783296001,"66":28126,"125":206,"105":19712,"24":23,"16":2563575784669184,"44":5452662922495139842},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,105,24,16,44]} 
[2026-09-06 12:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901783296001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:47:14] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-09-06 12:47:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":19712,"description":"Unknown IO ID 105"} 
[2026-09-06 12:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2563575784669184,"km_value":2563575784669.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:47:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":5452662922495139842,"description":"Unknown IO ID 44"} 
[2026-09-06 12:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901783296001,"power":28126,"unknown_125":206,"unknown_105":19712,"ignition":23,"odometer":null,"unknown_44":5452662922495139842}} 
[2026-09-06 12:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":172726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774373,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:47:14] local.INFO: GPS data processed {"connection_id":172726,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:47:14] local.INFO: Acknowledgment sent {"connection_id":172726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:47:14] local.INFO: TCP Data received {"connection_id":172503,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:47:14] local.INFO: Processing buffer {"connection_id":172503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:47:14] local.INFO: IMEI packet received {"connection_id":172503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":172503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:47:15] local.INFO: TCP Data received {"connection_id":172503,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:47:15] local.INFO: Processing buffer {"connection_id":172503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:47:15] local.INFO: Packet analysis {"connection_id":172503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:47:15] local.INFO: Extracted packet for processing {"connection_id":172503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901682688001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788678749000,"timestamp_ms":1788678749000,"timestamp_seconds":1788678749,"priority":1,"record_length":96,"hex_timestamp":"000001a0758fbb48"} 
[2026-09-06 12:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 12:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:47:15] 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-09-06 12:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901682688001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901682688001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:47:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901682688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":172503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:47:15] local.INFO: GPS data processed {"connection_id":172503,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:47:15] local.INFO: Acknowledgment sent {"connection_id":172503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:47:26] local.INFO: TCP Data received {"connection_id":172726,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a07591a778012c4baa0009df6200021a01572d..."} 
[2026-09-06 12:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07591a778012c4baa0009df6200021a01572d..."} 
[2026-09-06 12:47:26] local.INFO: Processing buffer {"connection_id":172726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07591a778012c4baa0009df6200021a01572d..."} 
[2026-09-06 12:47:26] local.INFO: Packet analysis {"connection_id":172726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07591"} 
[2026-09-06 12:47:26] local.INFO: Extracted packet for processing {"connection_id":172726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07591"} 
[2026-09-06 12:47:26] local.INFO: GPS Element Parsed {"raw_longitude":743156224,"raw_latitude":165634560,"longitude_deg":74.3156224,"latitude_deg":16.563456,"altitude":538,"angle":343,"satellites":45,"speed":3,"hex_longitude":"2c4baa00","hex_latitude":"09df6200","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901784832001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2563773353164800,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5451959235054301186,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788678875000,"timestamp_ms":1788678875000,"timestamp_seconds":1788678875,"priority":1,"record_length":96,"hex_timestamp":"000001a07591a778"} 
[2026-09-06 12:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12: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-09-06 12: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-06 12:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901784832001,"66":28224,"67":206,"37":22784,"24":3,"16":2563773353164800,"44":5451959235054301186},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,37,24,16,44]} 
[2026-09-06 12:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901784832001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:47:26] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-06 12:47:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2563773353164800,"km_value":2563773353164.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:47:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":5451959235054301186,"description":"Unknown IO ID 44"} 
[2026-09-06 12:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901784832001,"power":28224,"unknown_67":206,"unknown_37":22784,"ignition":3,"odometer":null,"unknown_44":5451959235054301186}} 
[2026-09-06 12:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":172726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774375,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:47:26] local.INFO: GPS data processed {"connection_id":172726,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:47:26] local.INFO: Acknowledgment sent {"connection_id":172726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:47:26] local.INFO: TCP Data received {"connection_id":172502,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:47:26] local.INFO: Processing buffer {"connection_id":172502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:47:26] local.INFO: Packet analysis {"connection_id":172502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:47:26] local.INFO: Extracted packet for processing {"connection_id":172502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:47:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901687552001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788678768000,"timestamp_ms":1788678768000,"timestamp_seconds":1788678768,"priority":1,"record_length":96,"hex_timestamp":"000001a075900580"} 
[2026-09-06 12:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:47: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-09-06 12:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901687552001,"66":26071,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901687552001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:47:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:47:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901687552001,"power":26071,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":172502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:47:26] local.INFO: GPS data processed {"connection_id":172502,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:47:26] local.INFO: Acknowledgment sent {"connection_id":172502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:47:46] local.INFO: TCP Data received {"connection_id":172503,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:47:46] local.INFO: Processing buffer {"connection_id":172503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0758fbb48012d196540071fef68003b011028..."} 
[2026-09-06 12:47:46] local.INFO: Packet analysis {"connection_id":172503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:47:46] local.INFO: Extracted packet for processing {"connection_id":172503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0758f"} 
[2026-09-06 12:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901682688001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788678749000,"timestamp_ms":1788678749000,"timestamp_seconds":1788678749,"priority":1,"record_length":96,"hex_timestamp":"000001a0758fbb48"} 
[2026-09-06 12:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:47:46] 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-09-06 12:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 12:47:46] 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-09-06 12:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:47:46] 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-09-06 12:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901682688001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901682688001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:47:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901682688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":172503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:47:46] local.INFO: GPS data processed {"connection_id":172503,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:47:46] local.INFO: Acknowledgment sent {"connection_id":172503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:47:48] local.INFO: TCP Data received {"connection_id":172727,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:47:48] local.INFO: Processing buffer {"connection_id":172727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:47:48] local.INFO: IMEI packet received {"connection_id":172727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":172727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:47:49] local.INFO: TCP Data received {"connection_id":175203,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:47:50] local.INFO: Processing buffer {"connection_id":175203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:47:50] local.INFO: IMEI packet received {"connection_id":175203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":175203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:47:53] local.INFO: TCP Data received {"connection_id":172727,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:47:53] local.INFO: Processing buffer {"connection_id":172727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:47:53] local.INFO: IMEI packet received {"connection_id":172727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":172727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:47:55] local.INFO: TCP Data received {"connection_id":172727,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:47:55] local.INFO: Processing buffer {"connection_id":172727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:47:55] local.INFO: Packet analysis {"connection_id":172727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:47:55] local.INFO: Extracted packet for processing {"connection_id":172727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:47:55] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901687552001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788678768000,"timestamp_ms":1788678768000,"timestamp_seconds":1788678768,"priority":1,"record_length":96,"hex_timestamp":"000001a075900580"} 
[2026-09-06 12:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:47: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-09-06 12:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901687552001,"66":26071,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901687552001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:47:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:47:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901687552001,"power":26071,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":172727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:47:55] local.INFO: GPS data processed {"connection_id":172727,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:47:55] local.INFO: Acknowledgment sent {"connection_id":172727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:47:55] local.INFO: TCP Data received {"connection_id":175203,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:47:55] local.INFO: Processing buffer {"connection_id":175203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:47:55] local.INFO: IMEI packet received {"connection_id":175203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":175203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:47:57] local.INFO: TCP Data received {"connection_id":175203,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a07591f980012c4baa0009df62c0021a01572c..."} 
[2026-09-06 12:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07591f980012c4baa0009df62c0021a01572c..."} 
[2026-09-06 12:47:57] local.INFO: Processing buffer {"connection_id":175203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07591f980012c4baa0009df62c0021a01572c..."} 
[2026-09-06 12:47:57] local.INFO: Packet analysis {"connection_id":175203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07591"} 
[2026-09-06 12:47:57] local.INFO: Extracted packet for processing {"connection_id":175203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07591"} 
[2026-09-06 12:47:57] local.INFO: GPS Element Parsed {"raw_longitude":743156224,"raw_latitude":165634752,"longitude_deg":74.3156224,"latitude_deg":16.5634752,"altitude":538,"angle":343,"satellites":44,"speed":0,"hex_longitude":"2c4baa00","hex_latitude":"09df62c0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901792000001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2563781943099392,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5452170341287854082,"note":"Value kept but may cause issues"} 
[2026-09-06 12:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788678896000,"timestamp_ms":1788678896000,"timestamp_seconds":1788678896,"priority":1,"record_length":96,"hex_timestamp":"000001a07591f980"} 
[2026-09-06 12:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:47: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-09-06 12: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-06 12:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901792000001,"66":28093,"238":206,"37":22784,"24":0,"16":2563781943099392,"44":5452170341287854082},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-06 12:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901792000001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:47:57] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-06 12:47:57] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2563781943099392,"km_value":2563781943099.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:47:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":5452170341287854082,"description":"Unknown IO ID 44"} 
[2026-09-06 12:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901792000001,"power":28093,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5452170341287854082}} 
[2026-09-06 12:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":175203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774379,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:47:57] local.INFO: GPS data processed {"connection_id":175203,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:47:57] local.INFO: Acknowledgment sent {"connection_id":175203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:48:08] local.INFO: TCP Data received {"connection_id":172728,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:48:08] local.INFO: Processing buffer {"connection_id":172728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:48:08] local.INFO: IMEI packet received {"connection_id":172728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":172728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:48:09] local.INFO: TCP Data received {"connection_id":172728,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:48:09] local.INFO: Processing buffer {"connection_id":172728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:48:09] local.INFO: IMEI packet received {"connection_id":172728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":172728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:48:14] local.INFO: TCP Data received {"connection_id":172728,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:48:14] local.INFO: Processing buffer {"connection_id":172728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:48:14] local.INFO: IMEI packet received {"connection_id":172728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":172728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:48:15] local.INFO: TCP Data received {"connection_id":172728,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:48:15] local.INFO: Processing buffer {"connection_id":172728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:48:15] local.INFO: Packet analysis {"connection_id":172728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:48:15] local.INFO: Extracted packet for processing {"connection_id":172728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:48:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901759744001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679050000,"timestamp_ms":1788679050000,"timestamp_seconds":1788679050,"priority":1,"record_length":96,"hex_timestamp":"000001a075945310"} 
[2026-09-06 12:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:48:15] 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-09-06 12:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:48:15] 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-09-06 12:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901759744001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901759744001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:48:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:48:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":172728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:48:15] local.INFO: GPS data processed {"connection_id":172728,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:48:15] local.INFO: Acknowledgment sent {"connection_id":172728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:48:27] local.INFO: TCP Data received {"connection_id":172727,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:48:27] local.INFO: Processing buffer {"connection_id":172727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075900580012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:48:27] local.INFO: Packet analysis {"connection_id":172727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:48:27] local.INFO: Extracted packet for processing {"connection_id":172727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07590"} 
[2026-09-06 12:48:27] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901687552001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788678768000,"timestamp_ms":1788678768000,"timestamp_seconds":1788678768,"priority":1,"record_length":96,"hex_timestamp":"000001a075900580"} 
[2026-09-06 12:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-06 12:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:48: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-09-06 12:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901687552001,"66":26071,"9":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,81,24,16,45]} 
[2026-09-06 12:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901687552001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:48:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-06 12:48:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901687552001,"power":26071,"unknown_9":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":172727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:48:27] local.INFO: GPS data processed {"connection_id":172727,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:48:27] local.INFO: Acknowledgment sent {"connection_id":172727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:48:28] local.INFO: TCP Data received {"connection_id":175203,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075924b88012c4baa0009df62c0021a01572c..."} 
[2026-09-06 12:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075924b88012c4baa0009df62c0021a01572c..."} 
[2026-09-06 12:48:28] local.INFO: Processing buffer {"connection_id":175203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075924b88012c4baa0009df62c0021a01572c..."} 
[2026-09-06 12:48:28] local.INFO: Packet analysis {"connection_id":175203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07592"} 
[2026-09-06 12:48:28] local.INFO: Extracted packet for processing {"connection_id":175203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07592"} 
[2026-09-06 12:48:28] local.INFO: GPS Element Parsed {"raw_longitude":743156224,"raw_latitude":165634752,"longitude_deg":74.3156224,"latitude_deg":16.5634752,"altitude":538,"angle":343,"satellites":44,"speed":0,"hex_longitude":"2c4baa00","hex_latitude":"09df62c0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901797376001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2563781943099392,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5452170341287903234,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788678917000,"timestamp_ms":1788678917000,"timestamp_seconds":1788678917,"priority":1,"record_length":96,"hex_timestamp":"000001a075924b88"} 
[2026-09-06 12:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:48: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-09-06 12: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-06 12:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901797376001,"66":28300,"238":206,"37":22784,"24":0,"16":2563781943099392,"44":5452170341287903234},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-06 12:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901797376001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:48:28] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-06 12:48:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2563781943099392,"km_value":2563781943099.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:48:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":5452170341287903234,"description":"Unknown IO ID 44"} 
[2026-09-06 12:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901797376001,"power":28300,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5452170341287903234}} 
[2026-09-06 12:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":175203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774382,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:48:28] local.INFO: GPS data processed {"connection_id":175203,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:48:28] local.INFO: Acknowledgment sent {"connection_id":175203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:48:46] local.INFO: TCP Data received {"connection_id":172728,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:48:46] local.INFO: Processing buffer {"connection_id":172728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:48:46] local.INFO: Packet analysis {"connection_id":172728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:48:46] local.INFO: Extracted packet for processing {"connection_id":172728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901759744001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679050000,"timestamp_ms":1788679050000,"timestamp_seconds":1788679050,"priority":1,"record_length":96,"hex_timestamp":"000001a075945310"} 
[2026-09-06 12:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:48:46] 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-09-06 12:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:48:46] 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-09-06 12:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901759744001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901759744001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:48:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:48:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":172728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:48:46] local.INFO: GPS data processed {"connection_id":172728,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:48:46] local.INFO: Acknowledgment sent {"connection_id":172728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:48:50] local.INFO: TCP Data received {"connection_id":172729,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:48:50] local.INFO: Processing buffer {"connection_id":172729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:48:50] local.INFO: IMEI packet received {"connection_id":172729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":172729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:48:53] local.INFO: TCP Data received {"connection_id":172730,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:48:53] local.INFO: Processing buffer {"connection_id":172730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:48:53] local.INFO: IMEI packet received {"connection_id":172730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":172730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:48:55] local.INFO: TCP Data received {"connection_id":172729,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:48:55] local.INFO: Processing buffer {"connection_id":172729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:48:55] local.INFO: IMEI packet received {"connection_id":172729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":172729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:48:57] local.INFO: TCP Data received {"connection_id":172729,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075925f10012c4baa4009df6550021b01652d..."} 
[2026-09-06 12:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075925f10012c4baa4009df6550021b01652d..."} 
[2026-09-06 12:48:57] local.INFO: Processing buffer {"connection_id":172729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075925f10012c4baa4009df6550021b01652d..."} 
[2026-09-06 12:48:57] local.INFO: Packet analysis {"connection_id":172729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07592"} 
[2026-09-06 12:48:57] local.INFO: Extracted packet for processing {"connection_id":172729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07592"} 
[2026-09-06 12:48:57] local.INFO: GPS Element Parsed {"raw_longitude":743156288,"raw_latitude":165635408,"longitude_deg":74.3156288,"latitude_deg":16.5635408,"altitude":539,"angle":357,"satellites":45,"speed":4,"hex_longitude":"2c4baa40","hex_latitude":"09df6550","is_valid_coordinates":true} 
[2026-09-06 12:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901802752001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2563816302837760,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5452170341287903234,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788678922000,"timestamp_ms":1788678922000,"timestamp_seconds":1788678922,"priority":1,"record_length":96,"hex_timestamp":"000001a075925f10"} 
[2026-09-06 12:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:48: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-09-06 12:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-06 12:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901802752001,"66":27876,"238":206,"37":22784,"24":4,"16":2563816302837760,"44":5452170341287903234},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-06 12:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901802752001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:48:57] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-06 12:48:57] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2563816302837760,"km_value":2563816302837.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:48:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":5452170341287903234,"description":"Unknown IO ID 44"} 
[2026-09-06 12:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901802752001,"power":27876,"unknown_238":206,"unknown_37":22784,"ignition":4,"odometer":null,"unknown_44":5452170341287903234}} 
[2026-09-06 12:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":172729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:48:57] local.INFO: GPS data processed {"connection_id":172729,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:48:57] local.INFO: Acknowledgment sent {"connection_id":172729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:48:58] local.INFO: TCP Data received {"connection_id":172730,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:48:58] local.INFO: Processing buffer {"connection_id":172730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:48:58] local.INFO: IMEI packet received {"connection_id":172730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":172730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:48:59] local.INFO: TCP Data received {"connection_id":172730,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:48:59] local.INFO: Processing buffer {"connection_id":172730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:48:59] local.INFO: Packet analysis {"connection_id":172730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:48:59] local.INFO: Extracted packet for processing {"connection_id":172730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:48:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901764608001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:48: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-09-06 12:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788679069000,"timestamp_ms":1788679069000,"timestamp_seconds":1788679069,"priority":1,"record_length":96,"hex_timestamp":"000001a075949d48"} 
[2026-09-06 12:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-06 12:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:48:59] 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-09-06 12:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901764608001,"66":25973,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901764608001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:48:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:48:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901764608001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":172730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:48:59] local.INFO: GPS data processed {"connection_id":172730,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:48:59] local.INFO: Acknowledgment sent {"connection_id":172730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:49:14] local.INFO: TCP Data received {"connection_id":175204,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:49:14] local.INFO: Processing buffer {"connection_id":175204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:49:14] local.INFO: IMEI packet received {"connection_id":175204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":175204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:49:19] local.INFO: TCP Data received {"connection_id":175204,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:49:19] local.INFO: Processing buffer {"connection_id":175204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:49:19] local.INFO: IMEI packet received {"connection_id":175204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":175204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:49:20] local.INFO: TCP Data received {"connection_id":175204,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:49:20] local.INFO: Processing buffer {"connection_id":175204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:49:20] local.INFO: Packet analysis {"connection_id":175204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:49:20] local.INFO: Extracted packet for processing {"connection_id":175204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:49:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901759744001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788679050000,"timestamp_ms":1788679050000,"timestamp_seconds":1788679050,"priority":1,"record_length":96,"hex_timestamp":"000001a075945310"} 
[2026-09-06 12:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:49:20] 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-09-06 12:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:49:20] 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-09-06 12:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901759744001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901759744001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:49:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:49:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":175204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:49:20] local.INFO: GPS data processed {"connection_id":175204,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:49:20] local.INFO: Acknowledgment sent {"connection_id":175204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:49:24] local.INFO: TCP Data received {"connection_id":175204,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:49:24] local.INFO: Processing buffer {"connection_id":175204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:49:24] local.INFO: Packet analysis {"connection_id":175204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:49:24] local.INFO: Extracted packet for processing {"connection_id":175204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:49:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 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-09-06 12:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901759744001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788679050000,"timestamp_ms":1788679050000,"timestamp_seconds":1788679050,"priority":1,"record_length":96,"hex_timestamp":"000001a075945310"} 
[2026-09-06 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-09-06 12:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 12:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:49:24] 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-09-06 12:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901759744001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901759744001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:49:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:49:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":175204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:49:24] local.INFO: GPS data processed {"connection_id":175204,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:49:24] local.INFO: Acknowledgment sent {"connection_id":175204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:49:30] local.INFO: TCP Data received {"connection_id":172730,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:49:30] local.INFO: Processing buffer {"connection_id":172730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:49:30] local.INFO: Packet analysis {"connection_id":172730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:49:30] local.INFO: Extracted packet for processing {"connection_id":172730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:49:30] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901764608001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49: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-09-06 12:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788679069000,"timestamp_ms":1788679069000,"timestamp_seconds":1788679069,"priority":1,"record_length":96,"hex_timestamp":"000001a075949d48"} 
[2026-09-06 12:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:49: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-09-06 12:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-06 12:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:49:30] 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-09-06 12:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901764608001,"66":25973,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901764608001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:49:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:49:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901764608001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":172730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:49:30] local.INFO: GPS data processed {"connection_id":172730,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:49:30] local.INFO: Acknowledgment sent {"connection_id":172730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:49:34] local.INFO: TCP Data received {"connection_id":172729,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a07592b118012c4baa0009df67d0021b01652d..."} 
[2026-09-06 12:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07592b118012c4baa0009df67d0021b01652d..."} 
[2026-09-06 12:49:34] local.INFO: Processing buffer {"connection_id":172729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07592b118012c4baa0009df67d0021b01652d..."} 
[2026-09-06 12:49:34] local.INFO: Packet analysis {"connection_id":172729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07592"} 
[2026-09-06 12:49:34] local.INFO: Extracted packet for processing {"connection_id":172729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07592"} 
[2026-09-06 12:49:34] local.INFO: GPS Element Parsed {"raw_longitude":743156224,"raw_latitude":165636048,"longitude_deg":74.3156224,"latitude_deg":16.5636048,"altitude":539,"angle":357,"satellites":45,"speed":0,"hex_longitude":"2c4baa00","hex_latitude":"09df67d0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901804032001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2563850662576128,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5452240710032248834,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788678943000,"timestamp_ms":1788678943000,"timestamp_seconds":1788678943,"priority":1,"record_length":96,"hex_timestamp":"000001a07592b118"} 
[2026-09-06 12:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 12:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901804032001,"66":28050,"238":206,"37":22784,"24":0,"16":2563850662576128,"44":5452240710032248834},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-06 12:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901804032001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:49:34] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-06 12:49:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2563850662576128,"km_value":2563850662576.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:49:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":5452240710032248834,"description":"Unknown IO ID 44"} 
[2026-09-06 12:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901804032001,"power":28050,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5452240710032248834}} 
[2026-09-06 12:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":172729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774389,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:49:34] local.INFO: GPS data processed {"connection_id":172729,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:49:34] local.INFO: Acknowledgment sent {"connection_id":172729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:49:48] local.INFO: TCP Data received {"connection_id":172504,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:49:48] local.INFO: Processing buffer {"connection_id":172504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:49:48] local.INFO: IMEI packet received {"connection_id":172504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":172504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:49:50] local.INFO: TCP Data received {"connection_id":172505,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:49:50] local.INFO: Processing buffer {"connection_id":172505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:49:50] local.INFO: IMEI packet received {"connection_id":172505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":172505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:49:51] local.INFO: TCP Data received {"connection_id":172505,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:49:51] local.INFO: Processing buffer {"connection_id":172505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:49:51] local.INFO: IMEI packet received {"connection_id":172505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":172505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:49:53] local.INFO: TCP Data received {"connection_id":172504,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:49:53] local.INFO: Processing buffer {"connection_id":172504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:49:53] local.INFO: IMEI packet received {"connection_id":172504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":172504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:49:54] local.INFO: TCP Data received {"connection_id":172504,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:49:54] local.INFO: Processing buffer {"connection_id":172504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:49:54] local.INFO: Packet analysis {"connection_id":172504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:49:54] local.INFO: Extracted packet for processing {"connection_id":172504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:49:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901764608001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49: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-09-06 12:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788679069000,"timestamp_ms":1788679069000,"timestamp_seconds":1788679069,"priority":1,"record_length":96,"hex_timestamp":"000001a075949d48"} 
[2026-09-06 12:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:49: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-09-06 12:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-06 12:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:49: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-09-06 12:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901764608001,"66":25973,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901764608001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:49:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:49:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901764608001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":172504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:49:54] local.INFO: GPS data processed {"connection_id":172504,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:49:54] local.INFO: Acknowledgment sent {"connection_id":172504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:49:55] local.INFO: TCP Data received {"connection_id":172505,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:49:55] local.INFO: Processing buffer {"connection_id":172505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:49:55] local.INFO: IMEI packet received {"connection_id":172505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":172505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:49:56] local.INFO: TCP Data received {"connection_id":172505,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075930320012c4baa0009df67d0021b01652d..."} 
[2026-09-06 12:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075930320012c4baa0009df67d0021b01652d..."} 
[2026-09-06 12:49:56] local.INFO: Processing buffer {"connection_id":172505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075930320012c4baa0009df67d0021b01652d..."} 
[2026-09-06 12:49:56] local.INFO: Packet analysis {"connection_id":172505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07593"} 
[2026-09-06 12:49:56] local.INFO: Extracted packet for processing {"connection_id":172505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07593"} 
[2026-09-06 12:49:56] local.INFO: GPS Element Parsed {"raw_longitude":743156224,"raw_latitude":165636048,"longitude_deg":74.3156224,"latitude_deg":16.5636048,"altitude":539,"angle":357,"satellites":45,"speed":0,"hex_longitude":"2c4baa00","hex_latitude":"09df67d0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901809408001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2563850662576128,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5452170341288235010,"note":"Value kept but may cause issues"} 
[2026-09-06 12:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788678964000,"timestamp_ms":1788678964000,"timestamp_seconds":1788678964,"priority":1,"record_length":96,"hex_timestamp":"000001a075930320"} 
[2026-09-06 12:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:49: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-09-06 12: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 12:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901809408001,"66":28202,"238":206,"37":22784,"24":0,"16":2563850662576128,"44":5452170341288235010},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-06 12:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901809408001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:49:56] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-06 12:49:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2563850662576128,"km_value":2563850662576.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:49:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5452170341288235010,"description":"Unknown IO ID 44"} 
[2026-09-06 12:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901809408001,"power":28202,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5452170341288235010}} 
[2026-09-06 12:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":172505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774391,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:49:56] local.INFO: GPS data processed {"connection_id":172505,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:49:56] local.INFO: Acknowledgment sent {"connection_id":172505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:50:09] local.INFO: TCP Data received {"connection_id":172731,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:50:09] local.INFO: Processing buffer {"connection_id":172731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:50:09] local.INFO: IMEI packet received {"connection_id":172731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":172731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:50:14] local.INFO: TCP Data received {"connection_id":172731,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:50:14] local.INFO: Processing buffer {"connection_id":172731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:50:14] local.INFO: IMEI packet received {"connection_id":172731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":172731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:50:15] local.INFO: TCP Data received {"connection_id":172731,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:50:15] local.INFO: Processing buffer {"connection_id":172731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:50:15] local.INFO: Packet analysis {"connection_id":172731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:50:15] local.INFO: Extracted packet for processing {"connection_id":172731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901759744001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679050000,"timestamp_ms":1788679050000,"timestamp_seconds":1788679050,"priority":1,"record_length":96,"hex_timestamp":"000001a075945310"} 
[2026-09-06 12:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:50:15] 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-09-06 12:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:50:15] 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-09-06 12:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901759744001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901759744001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:50:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:50:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":172731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:50:15] local.INFO: GPS data processed {"connection_id":172731,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:50:15] local.INFO: Acknowledgment sent {"connection_id":172731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:50:26] local.INFO: TCP Data received {"connection_id":172504,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:50:26] local.INFO: Processing buffer {"connection_id":172504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:50:26] local.INFO: Packet analysis {"connection_id":172504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:50:26] local.INFO: Extracted packet for processing {"connection_id":172504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:50:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901764608001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:50: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-09-06 12:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788679069000,"timestamp_ms":1788679069000,"timestamp_seconds":1788679069,"priority":1,"record_length":96,"hex_timestamp":"000001a075949d48"} 
[2026-09-06 12:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-06 12:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:50: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-09-06 12:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901764608001,"66":25973,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901764608001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:50:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:50:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901764608001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":172504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:50:26] local.INFO: GPS data processed {"connection_id":172504,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:50:26] local.INFO: Acknowledgment sent {"connection_id":172504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:50:28] local.INFO: TCP Data received {"connection_id":172505,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075964328012c4bb64009dfb680021e000029..."} 
[2026-09-06 12:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075964328012c4bb64009dfb680021e000029..."} 
[2026-09-06 12:50:28] local.INFO: Processing buffer {"connection_id":172505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075964328012c4bb64009dfb680021e000029..."} 
[2026-09-06 12:50:28] local.INFO: Packet analysis {"connection_id":172505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07596"} 
[2026-09-06 12:50:28] local.INFO: Extracted packet for processing {"connection_id":172505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07596"} 
[2026-09-06 12:50:28] local.INFO: GPS Element Parsed {"raw_longitude":743159360,"raw_latitude":165656192,"longitude_deg":74.315936,"latitude_deg":16.5656192,"altitude":542,"angle":0,"satellites":41,"speed":19,"hex_longitude":"2c4bb640","hex_latitude":"09dfb680","is_valid_coordinates":true} 
[2026-09-06 12:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901865472001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2564851389956096,"note":"Value kept but may cause issues"} 
[2026-09-06 12:50:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5452733291244687362,"note":"Value kept but may cause issues"} 
[2026-09-06 12:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788679177000,"timestamp_ms":1788679177000,"timestamp_seconds":1788679177,"priority":1,"record_length":96,"hex_timestamp":"000001a075964328"} 
[2026-09-06 12:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:50: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-09-06 12:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-06 12:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901865472001,"66":28267,"238":206,"37":22784,"24":19,"16":2564851389956096,"44":5452733291244687362},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-06 12:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901865472001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:50:28] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-06 12:50:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2564851389956096,"km_value":2564851389956.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:50:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":5452733291244687362,"description":"Unknown IO ID 44"} 
[2026-09-06 12:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901865472001,"power":28267,"unknown_238":206,"unknown_37":22784,"ignition":19,"odometer":null,"unknown_44":5452733291244687362}} 
[2026-09-06 12:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":172505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774394,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:50:28] local.INFO: GPS data processed {"connection_id":172505,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:50:28] local.INFO: Acknowledgment sent {"connection_id":172505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:50:46] local.INFO: TCP Data received {"connection_id":172731,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:50:46] local.INFO: Processing buffer {"connection_id":172731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:50:46] local.INFO: Packet analysis {"connection_id":172731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:50:46] local.INFO: Extracted packet for processing {"connection_id":172731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:50:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901759744001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679050000,"timestamp_ms":1788679050000,"timestamp_seconds":1788679050,"priority":1,"record_length":96,"hex_timestamp":"000001a075945310"} 
[2026-09-06 12:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:50:46] 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-09-06 12:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:50:46] 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-09-06 12:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901759744001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901759744001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:50:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:50:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":172731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:50:46] local.INFO: GPS data processed {"connection_id":172731,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:50:46] local.INFO: Acknowledgment sent {"connection_id":172731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:50:47] local.INFO: TCP Data received {"connection_id":172732,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:50:47] local.INFO: Processing buffer {"connection_id":172732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:50:47] local.INFO: IMEI packet received {"connection_id":172732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":172732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:50:53] local.INFO: TCP Data received {"connection_id":172732,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:50:53] local.INFO: Processing buffer {"connection_id":172732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:50:53] local.INFO: IMEI packet received {"connection_id":172732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":172732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:50:54] local.INFO: TCP Data received {"connection_id":172732,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:50:54] local.INFO: Processing buffer {"connection_id":172732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:50:54] local.INFO: Packet analysis {"connection_id":172732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:50:54] local.INFO: Extracted packet for processing {"connection_id":172732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:50:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901764608001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:50: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-09-06 12:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788679069000,"timestamp_ms":1788679069000,"timestamp_seconds":1788679069,"priority":1,"record_length":96,"hex_timestamp":"000001a075949d48"} 
[2026-09-06 12:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:50: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-09-06 12:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-06 12:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:50: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-09-06 12:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901764608001,"66":25973,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901764608001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:50:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:50:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901764608001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":172732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:50:54] local.INFO: GPS data processed {"connection_id":172732,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:50:54] local.INFO: Acknowledgment sent {"connection_id":172732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:50:55] local.INFO: TCP Data received {"connection_id":172506,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:50:55] local.INFO: Processing buffer {"connection_id":172506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:50:55] local.INFO: IMEI packet received {"connection_id":172506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":172506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:51:00] local.INFO: TCP Data received {"connection_id":172506,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:51:00] local.INFO: Processing buffer {"connection_id":172506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:51:00] local.INFO: IMEI packet received {"connection_id":172506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":172506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:51:01] local.INFO: TCP Data received {"connection_id":172506,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075964af8012c4bb5c009dfba00021e01592c..."} 
[2026-09-06 12:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075964af8012c4bb5c009dfba00021e01592c..."} 
[2026-09-06 12:51:01] local.INFO: Processing buffer {"connection_id":172506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075964af8012c4bb5c009dfba00021e01592c..."} 
[2026-09-06 12:51:01] local.INFO: Packet analysis {"connection_id":172506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07596"} 
[2026-09-06 12:51:01] local.INFO: Extracted packet for processing {"connection_id":172506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07596"} 
[2026-09-06 12:51:01] local.INFO: GPS Element Parsed {"raw_longitude":743159232,"raw_latitude":165657088,"longitude_deg":74.3159232,"latitude_deg":16.5657088,"altitude":542,"angle":345,"satellites":44,"speed":18,"hex_longitude":"2c4bb5c0","hex_latitude":"09dfba00","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901869312001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2564894339629056,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5455618409758097410,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788679179000,"timestamp_ms":1788679179000,"timestamp_seconds":1788679179,"priority":1,"record_length":96,"hex_timestamp":"000001a075964af8"} 
[2026-09-06 12:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:51: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-09-06 12:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 12:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901869312001,"66":28256,"238":206,"37":22784,"24":18,"16":2564894339629056,"44":5455618409758097410},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-06 12:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901869312001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:51:01] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-06 12:51:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2564894339629056,"km_value":2564894339629.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:51:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":5455618409758097410,"description":"Unknown IO ID 44"} 
[2026-09-06 12:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901869312001,"power":28256,"unknown_238":206,"unknown_37":22784,"ignition":18,"odometer":null,"unknown_44":5455618409758097410}} 
[2026-09-06 12:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":172506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774397,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:51:01] local.INFO: GPS data processed {"connection_id":172506,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:51:01] local.INFO: Acknowledgment sent {"connection_id":172506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:51:06] local.INFO: TCP Data received {"connection_id":172506,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075966a38012c4bb00009dfc8f0021d014c2a..."} 
[2026-09-06 12:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075966a38012c4bb00009dfc8f0021d014c2a..."} 
[2026-09-06 12:51:06] local.INFO: Processing buffer {"connection_id":172506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075966a38012c4bb00009dfc8f0021d014c2a..."} 
[2026-09-06 12:51:06] local.INFO: Packet analysis {"connection_id":172506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07596"} 
[2026-09-06 12:51:06] local.INFO: Extracted packet for processing {"connection_id":172506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07596"} 
[2026-09-06 12:51:06] local.INFO: GPS Element Parsed {"raw_longitude":743157760,"raw_latitude":165660912,"longitude_deg":74.315776,"latitude_deg":16.5660912,"altitude":541,"angle":332,"satellites":42,"speed":14,"hex_longitude":"2c4bb000","hex_latitude":"09dfc8f0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 12:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901869824001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2565096203091968,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5455477672269971458,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788679187000,"timestamp_ms":1788679187000,"timestamp_seconds":1788679187,"priority":1,"record_length":96,"hex_timestamp":"000001a075966a38"} 
[2026-09-06 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-09-06 12:51: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-09-06 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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 12:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 12:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901869824001,"66":28224,"238":206,"37":22784,"24":14,"16":2565096203091968,"44":5455477672269971458},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-06 12:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901869824001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:51:06] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-06 12:51:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2565096203091968,"km_value":2565096203091.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:51:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":5455477672269971458,"description":"Unknown IO ID 44"} 
[2026-09-06 12:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901869824001,"power":28224,"unknown_238":206,"unknown_37":22784,"ignition":14,"odometer":null,"unknown_44":5455477672269971458}} 
[2026-09-06 12:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":172506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774398,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:51:06] local.INFO: GPS data processed {"connection_id":172506,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:51:06] local.INFO: Acknowledgment sent {"connection_id":172506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:51:09] local.INFO: TCP Data received {"connection_id":175206,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:51:09] local.INFO: Processing buffer {"connection_id":175206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:51:09] local.INFO: IMEI packet received {"connection_id":175206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":175206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:51:14] local.INFO: TCP Data received {"connection_id":175206,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:51:14] local.INFO: Processing buffer {"connection_id":175206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:51:14] local.INFO: IMEI packet received {"connection_id":175206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":175206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:51:15] local.INFO: TCP Data received {"connection_id":175206,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:51:15] local.INFO: Processing buffer {"connection_id":175206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:51:15] local.INFO: Packet analysis {"connection_id":175206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:51:15] local.INFO: Extracted packet for processing {"connection_id":175206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901759744001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679050000,"timestamp_ms":1788679050000,"timestamp_seconds":1788679050,"priority":1,"record_length":96,"hex_timestamp":"000001a075945310"} 
[2026-09-06 12:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:51:15] 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-09-06 12:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:51:15] 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-09-06 12:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901759744001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901759744001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:51:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":175206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:51:15] local.INFO: GPS data processed {"connection_id":175206,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:51:15] local.INFO: Acknowledgment sent {"connection_id":175206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:51:26] local.INFO: TCP Data received {"connection_id":172732,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:51:26] local.INFO: Processing buffer {"connection_id":172732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:51:26] local.INFO: Packet analysis {"connection_id":172732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:51:26] local.INFO: Extracted packet for processing {"connection_id":172732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:51:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901764608001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788679069000,"timestamp_ms":1788679069000,"timestamp_seconds":1788679069,"priority":1,"record_length":96,"hex_timestamp":"000001a075949d48"} 
[2026-09-06 12:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-06 12:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:51: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-09-06 12:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901764608001,"66":25973,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901764608001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:51:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:51:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901764608001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":172732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:51:26] local.INFO: GPS data processed {"connection_id":172732,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:51:26] local.INFO: Acknowledgment sent {"connection_id":172732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:51:46] local.INFO: TCP Data received {"connection_id":175206,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:51:46] local.INFO: Processing buffer {"connection_id":175206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:51:46] local.INFO: Packet analysis {"connection_id":175206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:51:46] local.INFO: Extracted packet for processing {"connection_id":175206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901759744001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679050000,"timestamp_ms":1788679050000,"timestamp_seconds":1788679050,"priority":1,"record_length":96,"hex_timestamp":"000001a075945310"} 
[2026-09-06 12:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:51:46] 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-09-06 12:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:51:46] 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-09-06 12:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901759744001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901759744001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:51:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":175206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:51:46] local.INFO: GPS data processed {"connection_id":175206,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:51:46] local.INFO: Acknowledgment sent {"connection_id":175206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:51:48] local.INFO: TCP Data received {"connection_id":172507,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:51:48] local.INFO: Processing buffer {"connection_id":172507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:51:48] local.INFO: IMEI packet received {"connection_id":172507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":172507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:51:49] local.INFO: TCP Data received {"connection_id":172508,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:51:49] local.INFO: Processing buffer {"connection_id":172508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:51:49] local.INFO: IMEI packet received {"connection_id":172508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":172508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:51:52] local.INFO: TCP Data received {"connection_id":172508,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:51:52] local.INFO: Processing buffer {"connection_id":172508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:51:52] local.INFO: IMEI packet received {"connection_id":172508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":172508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:51:53] local.INFO: TCP Data received {"connection_id":172507,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:51:53] local.INFO: Processing buffer {"connection_id":172507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:51:53] local.INFO: IMEI packet received {"connection_id":172507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":172507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:51:54] local.INFO: TCP Data received {"connection_id":172507,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:51:54] local.INFO: Processing buffer {"connection_id":172507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:51:54] local.INFO: Packet analysis {"connection_id":172507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:51:54] local.INFO: Extracted packet for processing {"connection_id":172507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:51:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901764608001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51: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-09-06 12:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788679069000,"timestamp_ms":1788679069000,"timestamp_seconds":1788679069,"priority":1,"record_length":96,"hex_timestamp":"000001a075949d48"} 
[2026-09-06 12:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:51: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-09-06 12:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-06 12:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:51: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-09-06 12:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901764608001,"66":25973,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901764608001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:51:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:51:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901764608001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":172507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:51:54] local.INFO: GPS data processed {"connection_id":172507,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:51:54] local.INFO: Acknowledgment sent {"connection_id":172507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:51:55] local.INFO: TCP Data received {"connection_id":172508,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:51:55] local.INFO: Processing buffer {"connection_id":172508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:51:55] local.INFO: IMEI packet received {"connection_id":172508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":172508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:51:56] local.INFO: TCP Data received {"connection_id":172508,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759675f0012c4bae8009dfcca0021e015a28..."} 
[2026-09-06 12:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759675f0012c4bae8009dfcca0021e015a28..."} 
[2026-09-06 12:51:56] local.INFO: Processing buffer {"connection_id":172508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759675f0012c4bae8009dfcca0021e015a28..."} 
[2026-09-06 12:51:56] local.INFO: Packet analysis {"connection_id":172508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07596"} 
[2026-09-06 12:51:56] local.INFO: Extracted packet for processing {"connection_id":172508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07596"} 
[2026-09-06 12:51:56] local.INFO: GPS Element Parsed {"raw_longitude":743157376,"raw_latitude":165661856,"longitude_deg":74.3157376,"latitude_deg":16.5661856,"altitude":542,"angle":346,"satellites":40,"speed":11,"hex_longitude":"2c4bae80","hex_latitude":"09dfcca0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901871872001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2565143447732224,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5453859191154864130,"note":"Value kept but may cause issues"} 
[2026-09-06 12:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788679190000,"timestamp_ms":1788679190000,"timestamp_seconds":1788679190,"priority":1,"record_length":96,"hex_timestamp":"000001a0759675f0"} 
[2026-09-06 12:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12: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-09-06 12: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-06 12:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901871872001,"66":27800,"238":206,"37":22784,"24":11,"16":2565143447732224,"44":5453859191154864130},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-06 12:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901871872001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:51:56] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-06 12:51:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2565143447732224,"km_value":2565143447732.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:51:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5453859191154864130,"description":"Unknown IO ID 44"} 
[2026-09-06 12:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901871872001,"power":27800,"unknown_238":206,"unknown_37":22784,"ignition":11,"odometer":null,"unknown_44":5453859191154864130}} 
[2026-09-06 12:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":172508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774403,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:51:56] local.INFO: GPS data processed {"connection_id":172508,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:51:56] local.INFO: Acknowledgment sent {"connection_id":172508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:52:00] local.INFO: TCP Data received {"connection_id":172508,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a07596c7f8012c4badc009dfcea0021d015f29..."} 
[2026-09-06 12:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07596c7f8012c4badc009dfcea0021d015f29..."} 
[2026-09-06 12:52:00] local.INFO: Processing buffer {"connection_id":172508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07596c7f8012c4badc009dfcea0021d015f29..."} 
[2026-09-06 12:52:00] local.INFO: Packet analysis {"connection_id":172508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07596"} 
[2026-09-06 12:52:00] local.INFO: Extracted packet for processing {"connection_id":172508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07596"} 
[2026-09-06 12:52:00] local.INFO: GPS Element Parsed {"raw_longitude":743157184,"raw_latitude":165662368,"longitude_deg":74.3157184,"latitude_deg":16.5662368,"altitude":541,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2c4badc0","hex_latitude":"09dfcea0","is_valid_coordinates":true} 
[2026-09-06 12:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901872640001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2565169217536000,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5453436978690039810,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788679211000,"timestamp_ms":1788679211000,"timestamp_seconds":1788679211,"priority":1,"record_length":96,"hex_timestamp":"000001a07596c7f8"} 
[2026-09-06 12:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:52: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-09-06 12:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 12:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901872640001,"66":28300,"238":206,"37":22784,"24":0,"16":2565169217536000,"44":5453436978690039810},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-06 12:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901872640001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:52:00] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-06 12:52:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2565169217536000,"km_value":2565169217536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:52:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":5453436978690039810,"description":"Unknown IO ID 44"} 
[2026-09-06 12:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901872640001,"power":28300,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5453436978690039810}} 
[2026-09-06 12:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":172508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774404,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:52:00] local.INFO: GPS data processed {"connection_id":172508,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:52:00] local.INFO: Acknowledgment sent {"connection_id":172508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:52:09] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:52:09] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:52:09] local.INFO: IMEI packet received {"connection_id":175207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":175207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:52:14] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:52:14] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:52:14] local.INFO: IMEI packet received {"connection_id":175207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":175207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:52:15] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:52:15] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:52:15] local.INFO: Packet analysis {"connection_id":175207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:52:15] local.INFO: Extracted packet for processing {"connection_id":175207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901759744001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679050000,"timestamp_ms":1788679050000,"timestamp_seconds":1788679050,"priority":1,"record_length":96,"hex_timestamp":"000001a075945310"} 
[2026-09-06 12:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:52:15] 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-09-06 12:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:52:15] 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-09-06 12:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901759744001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901759744001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:52:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":175207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:52:15] local.INFO: GPS data processed {"connection_id":175207,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:52:15] local.INFO: Acknowledgment sent {"connection_id":175207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:52:25] local.INFO: TCP Data received {"connection_id":172507,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:52:25] local.INFO: Processing buffer {"connection_id":172507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:52:25] local.INFO: Packet analysis {"connection_id":172507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:52:25] local.INFO: Extracted packet for processing {"connection_id":172507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:52:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901764608001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788679069000,"timestamp_ms":1788679069000,"timestamp_seconds":1788679069,"priority":1,"record_length":96,"hex_timestamp":"000001a075949d48"} 
[2026-09-06 12:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:52: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-09-06 12: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":215,"data_length":795,"current_offset":136} 
[2026-09-06 12:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:52: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-09-06 12:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901764608001,"66":25973,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901764608001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:52:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:52:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901764608001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":172507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:52:25] local.INFO: GPS data processed {"connection_id":172507,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:52:25] local.INFO: Acknowledgment sent {"connection_id":172507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:52:32] local.INFO: TCP Data received {"connection_id":172508,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075971a00012c4badc009dfcea0021d015f29..."} 
[2026-09-06 12:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075971a00012c4badc009dfcea0021d015f29..."} 
[2026-09-06 12:52:32] local.INFO: Processing buffer {"connection_id":172508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075971a00012c4badc009dfcea0021d015f29..."} 
[2026-09-06 12:52:32] local.INFO: Packet analysis {"connection_id":172508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07597"} 
[2026-09-06 12:52:32] local.INFO: Extracted packet for processing {"connection_id":172508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07597"} 
[2026-09-06 12:52:32] local.INFO: GPS Element Parsed {"raw_longitude":743157184,"raw_latitude":165662368,"longitude_deg":74.3157184,"latitude_deg":16.5662368,"altitude":541,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2c4badc0","hex_latitude":"09dfcea0","is_valid_coordinates":true} 
[2026-09-06 12:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901878016001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2565169217536000,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5453225872457637890,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788679232000,"timestamp_ms":1788679232000,"timestamp_seconds":1788679232,"priority":1,"record_length":96,"hex_timestamp":"000001a075971a00"} 
[2026-09-06 12:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:52: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-09-06 12: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-06 12:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901878016001,"66":28234,"238":206,"37":22784,"24":0,"16":2565169217536000,"44":5453225872457637890},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-06 12:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901878016001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:52:32] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-06 12:52:32] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2565169217536000,"km_value":2565169217536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:52:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":5453225872457637890,"description":"Unknown IO ID 44"} 
[2026-09-06 12:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901878016001,"power":28234,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5453225872457637890}} 
[2026-09-06 12:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":172508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774407,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:52:32] local.INFO: GPS data processed {"connection_id":172508,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:52:32] local.INFO: Acknowledgment sent {"connection_id":172508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:52:46] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:52:46] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075945310012d196540071fef68003b011029..."} 
[2026-09-06 12:52:46] local.INFO: Packet analysis {"connection_id":175207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:52:46] local.INFO: Extracted packet for processing {"connection_id":175207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901759744001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679050000,"timestamp_ms":1788679050000,"timestamp_seconds":1788679050,"priority":1,"record_length":96,"hex_timestamp":"000001a075945310"} 
[2026-09-06 12:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:52:46] 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-09-06 12:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:52:46] 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-09-06 12:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901759744001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901759744001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:52:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:52:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":175207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:52:46] local.INFO: GPS data processed {"connection_id":175207,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:52:46] local.INFO: Acknowledgment sent {"connection_id":175207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:52:48] local.INFO: TCP Data received {"connection_id":172733,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:52:48] local.INFO: Processing buffer {"connection_id":172733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:52:48] local.INFO: IMEI packet received {"connection_id":172733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":172733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:52:50] local.INFO: TCP Data received {"connection_id":175208,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:52:50] local.INFO: Processing buffer {"connection_id":175208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:52:50] local.INFO: IMEI packet received {"connection_id":175208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":175208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:52:53] local.INFO: TCP Data received {"connection_id":172733,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:52:53] local.INFO: Processing buffer {"connection_id":172733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:52:53] local.INFO: IMEI packet received {"connection_id":172733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":172733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:52:54] local.INFO: TCP Data received {"connection_id":172733,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:52:54] local.INFO: Processing buffer {"connection_id":172733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:52:54] local.INFO: Packet analysis {"connection_id":172733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:52:54] local.INFO: Extracted packet for processing {"connection_id":172733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:52:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901764608001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52: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-09-06 12:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788679069000,"timestamp_ms":1788679069000,"timestamp_seconds":1788679069,"priority":1,"record_length":96,"hex_timestamp":"000001a075949d48"} 
[2026-09-06 12:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:52: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-09-06 12: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-06 12:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:52:54] 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-09-06 12:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901764608001,"66":25973,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901764608001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:52:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:52:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901764608001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":172733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:52:54] local.INFO: GPS data processed {"connection_id":172733,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:52:54] local.INFO: Acknowledgment sent {"connection_id":172733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:52:54] local.INFO: TCP Data received {"connection_id":175208,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:52:54] local.INFO: Processing buffer {"connection_id":175208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:52:54] local.INFO: IMEI packet received {"connection_id":175208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":175208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:52:56] local.INFO: TCP Data received {"connection_id":175208,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075976c08012c4badc009dfcea0021d015f29..."} 
[2026-09-06 12:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075976c08012c4badc009dfcea0021d015f29..."} 
[2026-09-06 12:52:56] local.INFO: Processing buffer {"connection_id":175208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075976c08012c4badc009dfcea0021d015f29..."} 
[2026-09-06 12:52:56] local.INFO: Packet analysis {"connection_id":175208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07597"} 
[2026-09-06 12:52:56] local.INFO: Extracted packet for processing {"connection_id":175208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07597"} 
[2026-09-06 12:52:56] local.INFO: GPS Element Parsed {"raw_longitude":743157184,"raw_latitude":165662368,"longitude_deg":74.3157184,"latitude_deg":16.5662368,"altitude":541,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2c4badc0","hex_latitude":"09dfcea0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901883392001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2565169217536000,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5453225872457637890,"note":"Value kept but may cause issues"} 
[2026-09-06 12:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788679253000,"timestamp_ms":1788679253000,"timestamp_seconds":1788679253,"priority":1,"record_length":96,"hex_timestamp":"000001a075976c08"} 
[2026-09-06 12:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:52: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-09-06 12: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-06 12:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901883392001,"66":28202,"238":206,"37":22784,"24":0,"16":2565169217536000,"44":5453225872457637890},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-06 12:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901883392001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:52:56] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-06 12:52:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2565169217536000,"km_value":2565169217536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:52:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5453225872457637890,"description":"Unknown IO ID 44"} 
[2026-09-06 12:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901883392001,"power":28202,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5453225872457637890}} 
[2026-09-06 12:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":175208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774410,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:52:56] local.INFO: GPS data processed {"connection_id":175208,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:52:56] local.INFO: Acknowledgment sent {"connection_id":175208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:53:09] local.INFO: TCP Data received {"connection_id":173892,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:53:09] local.INFO: Processing buffer {"connection_id":173892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:53:09] local.INFO: IMEI packet received {"connection_id":173892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":173892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:53:09] local.INFO: TCP Data received {"connection_id":173892,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:53:09] local.INFO: Processing buffer {"connection_id":173892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:53:09] local.INFO: IMEI packet received {"connection_id":173892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":173892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:53:14] local.INFO: TCP Data received {"connection_id":173892,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:53:14] local.INFO: Processing buffer {"connection_id":173892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:53:14] local.INFO: IMEI packet received {"connection_id":173892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":173892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:53:15] local.INFO: TCP Data received {"connection_id":173892,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:53:15] local.INFO: Processing buffer {"connection_id":173892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:53:15] local.INFO: Packet analysis {"connection_id":173892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:53:15] local.INFO: Extracted packet for processing {"connection_id":173892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901836800001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679351000,"timestamp_ms":1788679351000,"timestamp_seconds":1788679351,"priority":1,"record_length":96,"hex_timestamp":"000001a07598ead8"} 
[2026-09-06 12:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:53:15] 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-09-06 12:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:53:15] 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-09-06 12:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901836800001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901836800001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:53:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901836800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":173892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:53:15] local.INFO: GPS data processed {"connection_id":173892,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:53:15] local.INFO: Acknowledgment sent {"connection_id":173892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:53:25] local.INFO: TCP Data received {"connection_id":172733,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:53:25] local.INFO: Processing buffer {"connection_id":172733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075949d48012d34c48006aa3e58000900a725..."} 
[2026-09-06 12:53:25] local.INFO: Packet analysis {"connection_id":172733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:53:25] local.INFO: Extracted packet for processing {"connection_id":172733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07594"} 
[2026-09-06 12:53:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":37,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901764608001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788679069000,"timestamp_ms":1788679069000,"timestamp_seconds":1788679069,"priority":1,"record_length":96,"hex_timestamp":"000001a075949d48"} 
[2026-09-06 12:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-06 12:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:53: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-09-06 12:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901764608001,"66":25973,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901764608001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:53:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:53:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901764608001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":172733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:53:25] local.INFO: GPS data processed {"connection_id":172733,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:53:25] local.INFO: Acknowledgment sent {"connection_id":172733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:53:28] local.INFO: TCP Data received {"connection_id":175208,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a07597be10012c4badc009dfcea0021d015f29..."} 
[2026-09-06 12:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07597be10012c4badc009dfcea0021d015f29..."} 
[2026-09-06 12:53:28] local.INFO: Processing buffer {"connection_id":175208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07597be10012c4badc009dfcea0021d015f29..."} 
[2026-09-06 12:53:28] local.INFO: Packet analysis {"connection_id":175208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07597"} 
[2026-09-06 12:53:28] local.INFO: Extracted packet for processing {"connection_id":175208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07597"} 
[2026-09-06 12:53:28] local.INFO: GPS Element Parsed {"raw_longitude":743157184,"raw_latitude":165662368,"longitude_deg":74.3157184,"latitude_deg":16.5662368,"altitude":541,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2c4badc0","hex_latitude":"09dfcea0","is_valid_coordinates":true} 
[2026-09-06 12:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901888768001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2565169217536000,"note":"Value kept but may cause issues"} 
[2026-09-06 12:53:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5453225872457637890,"note":"Value kept but may cause issues"} 
[2026-09-06 12:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788679274000,"timestamp_ms":1788679274000,"timestamp_seconds":1788679274,"priority":1,"record_length":96,"hex_timestamp":"000001a07597be10"} 
[2026-09-06 12:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:53: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-09-06 12:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-06 12:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901888768001,"66":28202,"238":206,"37":22784,"24":0,"16":2565169217536000,"44":5453225872457637890},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-06 12:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901888768001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:53:28] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-06 12:53:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2565169217536000,"km_value":2565169217536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:53:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":5453225872457637890,"description":"Unknown IO ID 44"} 
[2026-09-06 12:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901888768001,"power":28202,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5453225872457637890}} 
[2026-09-06 12:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":175208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774413,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:53:28] local.INFO: GPS data processed {"connection_id":175208,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:53:28] local.INFO: Acknowledgment sent {"connection_id":175208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:53:46] local.INFO: TCP Data received {"connection_id":173892,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:53:46] local.INFO: Processing buffer {"connection_id":173892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:53:46] local.INFO: Packet analysis {"connection_id":173892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:53:46] local.INFO: Extracted packet for processing {"connection_id":173892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901836800001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679351000,"timestamp_ms":1788679351000,"timestamp_seconds":1788679351,"priority":1,"record_length":96,"hex_timestamp":"000001a07598ead8"} 
[2026-09-06 12:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:53:46] 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-09-06 12:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:53:46] 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-09-06 12:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901836800001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901836800001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:53:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901836800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":173892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:53:46] local.INFO: GPS data processed {"connection_id":173892,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:53:46] local.INFO: Acknowledgment sent {"connection_id":173892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:53:49] local.INFO: TCP Data received {"connection_id":173893,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:53:49] local.INFO: Processing buffer {"connection_id":173893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:53:49] local.INFO: IMEI packet received {"connection_id":173893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":173893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:53:51] local.INFO: TCP Data received {"connection_id":173893,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:53:51] local.INFO: Processing buffer {"connection_id":173893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:53:51] local.INFO: IMEI packet received {"connection_id":173893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":173893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:53:53] local.INFO: TCP Data received {"connection_id":172734,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:53:53] local.INFO: Processing buffer {"connection_id":172734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:53:53] local.INFO: IMEI packet received {"connection_id":172734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":172734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:53:54] local.INFO: TCP Data received {"connection_id":173893,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:53:54] local.INFO: Processing buffer {"connection_id":173893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:53:54] local.INFO: IMEI packet received {"connection_id":173893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":173893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:53:57] local.INFO: TCP Data received {"connection_id":173893,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075981018012c4badc009dfcea0021d015f29..."} 
[2026-09-06 12:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075981018012c4badc009dfcea0021d015f29..."} 
[2026-09-06 12:53:57] local.INFO: Processing buffer {"connection_id":173893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075981018012c4badc009dfcea0021d015f29..."} 
[2026-09-06 12:53:57] local.INFO: Packet analysis {"connection_id":173893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:53:57] local.INFO: Extracted packet for processing {"connection_id":173893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:53:57] local.INFO: GPS Element Parsed {"raw_longitude":743157184,"raw_latitude":165662368,"longitude_deg":74.3157184,"latitude_deg":16.5662368,"altitude":541,"angle":351,"satellites":41,"speed":0,"hex_longitude":"2c4badc0","hex_latitude":"09dfcea0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 12:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901894144001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2565169217536000,"note":"Value kept but may cause issues"} 
[2026-09-06 12:53:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5453225872457637890,"note":"Value kept but may cause issues"} 
[2026-09-06 12:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788679295000,"timestamp_ms":1788679295000,"timestamp_seconds":1788679295,"priority":1,"record_length":96,"hex_timestamp":"000001a075981018"} 
[2026-09-06 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-09-06 12:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-06 12:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 12:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901894144001,"66":28224,"238":206,"37":22784,"24":0,"16":2565169217536000,"44":5453225872457637890},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,37,24,16,44]} 
[2026-09-06 12:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901894144001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:53:57] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-06 12:53:57] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2565169217536000,"km_value":2565169217536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:53:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":5453225872457637890,"description":"Unknown IO ID 44"} 
[2026-09-06 12:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901894144001,"power":28224,"unknown_238":206,"unknown_37":22784,"ignition":0,"odometer":null,"unknown_44":5453225872457637890}} 
[2026-09-06 12:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":173893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774415,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:53:57] local.INFO: GPS data processed {"connection_id":173893,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:53:57] local.INFO: Acknowledgment sent {"connection_id":173893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:53:58] local.INFO: TCP Data received {"connection_id":172734,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:53:58] local.INFO: Processing buffer {"connection_id":172734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:53:58] local.INFO: IMEI packet received {"connection_id":172734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":172734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:53:59] local.INFO: TCP Data received {"connection_id":172734,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:53:59] local.INFO: Processing buffer {"connection_id":172734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:53:59] local.INFO: Packet analysis {"connection_id":172734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:53:59] local.INFO: Extracted packet for processing {"connection_id":172734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:53:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901841664001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:53: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-09-06 12:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788679370000,"timestamp_ms":1788679370000,"timestamp_seconds":1788679370,"priority":1,"record_length":96,"hex_timestamp":"000001a075993510"} 
[2026-09-06 12:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 12:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:53:59] 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-09-06 12:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901841664001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901841664001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:53:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:53:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901841664001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":172734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:53:59] local.INFO: GPS data processed {"connection_id":172734,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:53:59] local.INFO: Acknowledgment sent {"connection_id":172734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:54:09] local.INFO: TCP Data received {"connection_id":172509,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:54:09] local.INFO: Processing buffer {"connection_id":172509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:54:09] local.INFO: IMEI packet received {"connection_id":172509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":172509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:54:14] local.INFO: TCP Data received {"connection_id":172509,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:54:14] local.INFO: Processing buffer {"connection_id":172509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:54:14] local.INFO: IMEI packet received {"connection_id":172509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":172509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:54:15] local.INFO: TCP Data received {"connection_id":172509,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:54:15] local.INFO: Processing buffer {"connection_id":172509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:54:15] local.INFO: Packet analysis {"connection_id":172509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:54:15] local.INFO: Extracted packet for processing {"connection_id":172509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901836800001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679351000,"timestamp_ms":1788679351000,"timestamp_seconds":1788679351,"priority":1,"record_length":96,"hex_timestamp":"000001a07598ead8"} 
[2026-09-06 12:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:54:15] 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-09-06 12:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:54:15] 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-09-06 12:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901836800001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901836800001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:54:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:54:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901836800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":172509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:54:15] local.INFO: GPS data processed {"connection_id":172509,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:54:15] local.INFO: Acknowledgment sent {"connection_id":172509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:54:28] local.INFO: TCP Data received {"connection_id":173893,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a07599e0f0012c4b2f4009e13bf0022501622b..."} 
[2026-09-06 12:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07599e0f0012c4b2f4009e13bf0022501622b..."} 
[2026-09-06 12:54:28] local.INFO: Processing buffer {"connection_id":173893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07599e0f0012c4b2f4009e13bf0022501622b..."} 
[2026-09-06 12:54:28] local.INFO: Packet analysis {"connection_id":173893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:54:28] local.INFO: Extracted packet for processing {"connection_id":173893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:54:28] local.INFO: GPS Element Parsed {"raw_longitude":743124800,"raw_latitude":165755888,"longitude_deg":74.31248,"latitude_deg":16.5755888,"altitude":549,"angle":354,"satellites":43,"speed":57,"hex_longitude":"2c4b2f40","hex_latitude":"09e13bf0","is_valid_coordinates":true} 
[2026-09-06 12:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901928192001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2570340358160384,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5419378506529640450,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788679414000,"timestamp_ms":1788679414000,"timestamp_seconds":1788679414,"priority":1,"record_length":96,"hex_timestamp":"000001a07599e0f0"} 
[2026-09-06 12:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-06 12:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901928192001,"66":28137,"65":206,"37":22784,"24":57,"16":2570340358160384,"44":5419378506529640450},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,37,24,16,44]} 
[2026-09-06 12:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901928192001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:54:28] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-06 12:54:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2570340358160384,"km_value":2570340358160.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:54:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":5419378506529640450,"description":"Unknown IO ID 44"} 
[2026-09-06 12:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901928192001,"power":28137,"unknown_65":206,"unknown_37":22784,"ignition":57,"odometer":null,"unknown_44":5419378506529640450}} 
[2026-09-06 12:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":173893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774418,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:54:29] local.INFO: GPS data processed {"connection_id":173893,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:54:29] local.INFO: Acknowledgment sent {"connection_id":173893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:54:31] local.INFO: TCP Data received {"connection_id":172734,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:54:31] local.INFO: Processing buffer {"connection_id":172734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:54:31] local.INFO: Packet analysis {"connection_id":172734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:54:31] local.INFO: Extracted packet for processing {"connection_id":172734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901841664001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54: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-09-06 12:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788679370000,"timestamp_ms":1788679370000,"timestamp_seconds":1788679370,"priority":1,"record_length":96,"hex_timestamp":"000001a075993510"} 
[2026-09-06 12:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 12: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 12:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:54:31] 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-09-06 12:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901841664001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901841664001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:54:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:54:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901841664001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":172734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:54:32] local.INFO: GPS data processed {"connection_id":172734,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:54:32] local.INFO: Acknowledgment sent {"connection_id":172734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:54:46] local.INFO: TCP Data received {"connection_id":172509,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:54:46] local.INFO: Processing buffer {"connection_id":172509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:54:46] local.INFO: Packet analysis {"connection_id":172509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:54:46] local.INFO: Extracted packet for processing {"connection_id":172509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:54:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901836800001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679351000,"timestamp_ms":1788679351000,"timestamp_seconds":1788679351,"priority":1,"record_length":96,"hex_timestamp":"000001a07598ead8"} 
[2026-09-06 12:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:54:46] 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-09-06 12:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:54:46] 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-09-06 12:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901836800001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901836800001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:54:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901836800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":172509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:54:46] local.INFO: GPS data processed {"connection_id":172509,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:54:46] local.INFO: Acknowledgment sent {"connection_id":172509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:54:48] local.INFO: TCP Data received {"connection_id":172510,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:54:48] local.INFO: Processing buffer {"connection_id":172510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:54:48] local.INFO: IMEI packet received {"connection_id":172510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":172510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:54:53] local.INFO: TCP Data received {"connection_id":172510,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:54:53] local.INFO: Processing buffer {"connection_id":172510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:54:53] local.INFO: IMEI packet received {"connection_id":172510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":172510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:54:54] local.INFO: TCP Data received {"connection_id":172510,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:54:54] local.INFO: Processing buffer {"connection_id":172510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:54:54] local.INFO: Packet analysis {"connection_id":172510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:54:54] local.INFO: Extracted packet for processing {"connection_id":172510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:54:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901841664001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54: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-09-06 12:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788679370000,"timestamp_ms":1788679370000,"timestamp_seconds":1788679370,"priority":1,"record_length":96,"hex_timestamp":"000001a075993510"} 
[2026-09-06 12:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:54: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-09-06 12: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 12:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:54: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-09-06 12:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901841664001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901841664001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:54:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:54:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901841664001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":172510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:54:54] local.INFO: GPS data processed {"connection_id":172510,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:54:54] local.INFO: Acknowledgment sent {"connection_id":172510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:54:55] local.INFO: TCP Data received {"connection_id":175209,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:54:55] local.INFO: Processing buffer {"connection_id":175209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:54:55] local.INFO: IMEI packet received {"connection_id":175209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":175209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:54:57] local.INFO: TCP Data received {"connection_id":175209,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:54:57] local.INFO: Processing buffer {"connection_id":175209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:54:57] local.INFO: IMEI packet received {"connection_id":175209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":175209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:54:58] local.INFO: TCP Data received {"connection_id":175209,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a07599fc48012c4b2bc009e162e0022601622b..."} 
[2026-09-06 12:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07599fc48012c4b2bc009e162e0022601622b..."} 
[2026-09-06 12:54:58] local.INFO: Processing buffer {"connection_id":175209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07599fc48012c4b2bc009e162e0022601622b..."} 
[2026-09-06 12:54:58] local.INFO: Packet analysis {"connection_id":175209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:54:58] local.INFO: Extracted packet for processing {"connection_id":175209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:54:58] local.INFO: GPS Element Parsed {"raw_longitude":743123904,"raw_latitude":165765856,"longitude_deg":74.3123904,"latitude_deg":16.5765856,"altitude":550,"angle":354,"satellites":43,"speed":56,"hex_longitude":"2c4b2bc0","hex_latitude":"09e162e0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901929984001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2570825689464832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5417619287927681026,"note":"Value kept but may cause issues"} 
[2026-09-06 12:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788679421000,"timestamp_ms":1788679421000,"timestamp_seconds":1788679421,"priority":1,"record_length":96,"hex_timestamp":"000001a07599fc48"} 
[2026-09-06 12:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 12: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 12:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901929984001,"66":28148,"65":206,"37":22784,"24":56,"16":2570825689464832,"44":5417619287927681026},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,37,24,16,44]} 
[2026-09-06 12:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901929984001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:54:58] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-06 12:54:58] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2570825689464832,"km_value":2570825689464.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:54:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":5417619287927681026,"description":"Unknown IO ID 44"} 
[2026-09-06 12:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901929984001,"power":28148,"unknown_65":206,"unknown_37":22784,"ignition":56,"odometer":null,"unknown_44":5417619287927681026}} 
[2026-09-06 12:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":175209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:54:58] local.INFO: GPS data processed {"connection_id":175209,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:54:58] local.INFO: Acknowledgment sent {"connection_id":175209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:55:00] local.INFO: TCP Data received {"connection_id":175209,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759a17a0012c4b280009e188d00229016329..."} 
[2026-09-06 12:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759a17a0012c4b280009e188d00229016329..."} 
[2026-09-06 12:55:00] local.INFO: Processing buffer {"connection_id":175209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759a17a0012c4b280009e188d00229016329..."} 
[2026-09-06 12:55:00] local.INFO: Packet analysis {"connection_id":175209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759a"} 
[2026-09-06 12:55:00] local.INFO: Extracted packet for processing {"connection_id":175209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759a"} 
[2026-09-06 12:55:00] local.INFO: GPS Element Parsed {"raw_longitude":743122944,"raw_latitude":165775568,"longitude_deg":74.3122944,"latitude_deg":16.5775568,"altitude":553,"angle":355,"satellites":41,"speed":53,"hex_longitude":"2c4b2800","hex_latitude":"09e188d0","is_valid_coordinates":true} 
[2026-09-06 12:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901931776001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2571302430834688,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5416634125511745538,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788679428000,"timestamp_ms":1788679428000,"timestamp_seconds":1788679428,"priority":1,"record_length":96,"hex_timestamp":"000001a0759a17a0"} 
[2026-09-06 12:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:55: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-09-06 12:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-06 12:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901931776001,"66":28104,"65":206,"37":22784,"24":53,"16":2571302430834688,"44":5416634125511745538},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,37,24,16,44]} 
[2026-09-06 12:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901931776001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:55:00] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-06 12:55:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2571302430834688,"km_value":2571302430834.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:55:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":5416634125511745538,"description":"Unknown IO ID 44"} 
[2026-09-06 12:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901931776001,"power":28104,"unknown_65":206,"unknown_37":22784,"ignition":53,"odometer":null,"unknown_44":5416634125511745538}} 
[2026-09-06 12:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":175209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774423,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:55:00] local.INFO: GPS data processed {"connection_id":175209,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:55:00] local.INFO: Acknowledgment sent {"connection_id":175209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:55:09] local.INFO: TCP Data received {"connection_id":172735,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:55:09] local.INFO: Processing buffer {"connection_id":172735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:55:09] local.INFO: IMEI packet received {"connection_id":172735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":172735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:55:14] local.INFO: TCP Data received {"connection_id":172735,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:55:14] local.INFO: Processing buffer {"connection_id":172735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:55:14] local.INFO: IMEI packet received {"connection_id":172735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":172735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:55:15] local.INFO: TCP Data received {"connection_id":172735,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:55:15] local.INFO: Processing buffer {"connection_id":172735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:55:15] local.INFO: Packet analysis {"connection_id":172735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:55:15] local.INFO: Extracted packet for processing {"connection_id":172735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:55:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901836800001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679351000,"timestamp_ms":1788679351000,"timestamp_seconds":1788679351,"priority":1,"record_length":96,"hex_timestamp":"000001a07598ead8"} 
[2026-09-06 12:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:55:15] 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-09-06 12:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:55:15] 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-09-06 12:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901836800001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901836800001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:55:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:55:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901836800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":172735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:55:15] local.INFO: GPS data processed {"connection_id":172735,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:55:15] local.INFO: Acknowledgment sent {"connection_id":172735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:55:25] local.INFO: TCP Data received {"connection_id":172510,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:55:25] local.INFO: Processing buffer {"connection_id":172510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:55:25] local.INFO: Packet analysis {"connection_id":172510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:55:25] local.INFO: Extracted packet for processing {"connection_id":172510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:55:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901841664001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788679370000,"timestamp_ms":1788679370000,"timestamp_seconds":1788679370,"priority":1,"record_length":96,"hex_timestamp":"000001a075993510"} 
[2026-09-06 12:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:55: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-09-06 12: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 12:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12: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-09-06 12:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901841664001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901841664001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:55:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:55:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901841664001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":172510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:55:26] local.INFO: GPS data processed {"connection_id":172510,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:55:26] local.INFO: Acknowledgment sent {"connection_id":172510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:55:31] local.INFO: TCP Data received {"connection_id":175209,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759a32f8012c4b254009e1adc00228016329..."} 
[2026-09-06 12:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759a32f8012c4b254009e1adc00228016329..."} 
[2026-09-06 12:55:31] local.INFO: Processing buffer {"connection_id":175209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759a32f8012c4b254009e1adc00228016329..."} 
[2026-09-06 12:55:31] local.INFO: Packet analysis {"connection_id":175209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759a"} 
[2026-09-06 12:55:31] local.INFO: Extracted packet for processing {"connection_id":175209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759a"} 
[2026-09-06 12:55:31] local.INFO: GPS Element Parsed {"raw_longitude":743122240,"raw_latitude":165785024,"longitude_deg":74.312224,"latitude_deg":16.5785024,"altitude":552,"angle":355,"satellites":41,"speed":54,"hex_longitude":"2c4b2540","hex_latitude":"09e1adc0","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901933568001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2571761992335360,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5415578594351566850,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788679435000,"timestamp_ms":1788679435000,"timestamp_seconds":1788679435,"priority":1,"record_length":96,"hex_timestamp":"000001a0759a32f8"} 
[2026-09-06 12:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12: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-09-06 12: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 12:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901933568001,"66":27952,"65":206,"37":22784,"24":54,"16":2571761992335360,"44":5415578594351566850},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,37,24,16,44]} 
[2026-09-06 12:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901933568001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:55:31] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-06 12:55:31] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2571761992335360,"km_value":2571761992335.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:55:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":5415578594351566850,"description":"Unknown IO ID 44"} 
[2026-09-06 12:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901933568001,"power":27952,"unknown_65":206,"unknown_37":22784,"ignition":54,"odometer":null,"unknown_44":5415578594351566850}} 
[2026-09-06 12:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":175209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774426,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:55:31] local.INFO: GPS data processed {"connection_id":175209,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:55:31] local.INFO: Acknowledgment sent {"connection_id":175209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:55:46] local.INFO: TCP Data received {"connection_id":172735,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:55:46] local.INFO: Processing buffer {"connection_id":172735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:55:46] local.INFO: Packet analysis {"connection_id":172735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:55:46] local.INFO: Extracted packet for processing {"connection_id":172735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:55:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901836800001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679351000,"timestamp_ms":1788679351000,"timestamp_seconds":1788679351,"priority":1,"record_length":96,"hex_timestamp":"000001a07598ead8"} 
[2026-09-06 12:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:55:46] 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-09-06 12:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:55:46] 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-09-06 12:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901836800001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901836800001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:55:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:55:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901836800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":172735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:55:46] local.INFO: GPS data processed {"connection_id":172735,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:55:46] local.INFO: Acknowledgment sent {"connection_id":172735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:55:48] local.INFO: TCP Data received {"connection_id":175210,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:55:48] local.INFO: Processing buffer {"connection_id":175210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:55:48] local.INFO: IMEI packet received {"connection_id":175210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":175210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:55:48] local.INFO: TCP Data received {"connection_id":175211,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:55:48] local.INFO: Processing buffer {"connection_id":175211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:55:48] local.INFO: IMEI packet received {"connection_id":175211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":175211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:55:50] local.INFO: TCP Data received {"connection_id":175211,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:55:50] local.INFO: Processing buffer {"connection_id":175211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:55:50] local.INFO: IMEI packet received {"connection_id":175211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":175211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:55:53] local.INFO: TCP Data received {"connection_id":175210,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:55:53] local.INFO: Processing buffer {"connection_id":175210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:55:53] local.INFO: IMEI packet received {"connection_id":175210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":175210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:55:54] local.INFO: TCP Data received {"connection_id":175210,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:55:54] local.INFO: Processing buffer {"connection_id":175210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:55:54] local.INFO: Packet analysis {"connection_id":175210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:55:54] local.INFO: Extracted packet for processing {"connection_id":175210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:55:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901841664001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55: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-09-06 12:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788679370000,"timestamp_ms":1788679370000,"timestamp_seconds":1788679370,"priority":1,"record_length":96,"hex_timestamp":"000001a075993510"} 
[2026-09-06 12:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:55: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-09-06 12: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 12:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:55:54] 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-09-06 12:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901841664001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901841664001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:55:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:55:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901841664001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":175210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:55:54] local.INFO: GPS data processed {"connection_id":175210,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:55:54] local.INFO: Acknowledgment sent {"connection_id":175210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:55:55] local.INFO: TCP Data received {"connection_id":175211,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:55:55] local.INFO: Processing buffer {"connection_id":175211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:55:55] local.INFO: IMEI packet received {"connection_id":175211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":175211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:55:56] local.INFO: TCP Data received {"connection_id":175211,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759a4e50012c4b214009e1d3f00225015c2a..."} 
[2026-09-06 12:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759a4e50012c4b214009e1d3f00225015c2a..."} 
[2026-09-06 12:55:56] local.INFO: Processing buffer {"connection_id":175211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759a4e50012c4b214009e1d3f00225015c2a..."} 
[2026-09-06 12:55:56] local.INFO: Packet analysis {"connection_id":175211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759a"} 
[2026-09-06 12:55:56] local.INFO: Extracted packet for processing {"connection_id":175211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759a"} 
[2026-09-06 12:55:56] local.INFO: GPS Element Parsed {"raw_longitude":743121216,"raw_latitude":165794800,"longitude_deg":74.3121216,"latitude_deg":16.57948,"altitude":549,"angle":348,"satellites":42,"speed":57,"hex_longitude":"2c4b2140","hex_latitude":"09e1d3f0","is_valid_coordinates":true} 
[2026-09-06 12:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901935360001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2572238733705216,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5414804538168033282,"note":"Value kept but may cause issues"} 
[2026-09-06 12:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788679442000,"timestamp_ms":1788679442000,"timestamp_seconds":1788679442,"priority":1,"record_length":96,"hex_timestamp":"000001a0759a4e50"} 
[2026-09-06 12:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:55: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-09-06 12:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-06 12:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901935360001,"66":28050,"65":206,"37":22784,"24":57,"16":2572238733705216,"44":5414804538168033282},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,37,24,16,44]} 
[2026-09-06 12:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901935360001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:55:56] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-06 12:55:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2572238733705216,"km_value":2572238733705.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:55:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5414804538168033282,"description":"Unknown IO ID 44"} 
[2026-09-06 12:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901935360001,"power":28050,"unknown_65":206,"unknown_37":22784,"ignition":57,"odometer":null,"unknown_44":5414804538168033282}} 
[2026-09-06 12:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":175211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774429,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:55:56] local.INFO: GPS data processed {"connection_id":175211,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:55:56] local.INFO: Acknowledgment sent {"connection_id":175211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:56:09] local.INFO: TCP Data received {"connection_id":175212,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:56:09] local.INFO: Processing buffer {"connection_id":175212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:56:09] local.INFO: IMEI packet received {"connection_id":175212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":175212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:56:14] local.INFO: TCP Data received {"connection_id":175212,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:56:14] local.INFO: Processing buffer {"connection_id":175212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:56:14] local.INFO: IMEI packet received {"connection_id":175212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":175212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:56:15] local.INFO: TCP Data received {"connection_id":175212,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:56:15] local.INFO: Processing buffer {"connection_id":175212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:56:15] local.INFO: Packet analysis {"connection_id":175212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:56:15] local.INFO: Extracted packet for processing {"connection_id":175212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901836800001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679351000,"timestamp_ms":1788679351000,"timestamp_seconds":1788679351,"priority":1,"record_length":96,"hex_timestamp":"000001a07598ead8"} 
[2026-09-06 12:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:56:15] 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-09-06 12:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:56:15] 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-09-06 12:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901836800001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901836800001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:56:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901836800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":175212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:56:15] local.INFO: GPS data processed {"connection_id":175212,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:56:15] local.INFO: Acknowledgment sent {"connection_id":175212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:56:25] local.INFO: TCP Data received {"connection_id":175210,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:56:25] local.INFO: Processing buffer {"connection_id":175210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:56:25] local.INFO: Packet analysis {"connection_id":175210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:56:25] local.INFO: Extracted packet for processing {"connection_id":175210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:56:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901841664001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788679370000,"timestamp_ms":1788679370000,"timestamp_seconds":1788679370,"priority":1,"record_length":96,"hex_timestamp":"000001a075993510"} 
[2026-09-06 12:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:56: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-09-06 12: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":117,"data_length":795,"current_offset":136} 
[2026-09-06 12:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:56: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-09-06 12:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901841664001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901841664001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:56:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:56:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901841664001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":175210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:56:25] local.INFO: GPS data processed {"connection_id":175210,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:56:25] local.INFO: Acknowledgment sent {"connection_id":175210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:56:28] local.INFO: TCP Data received {"connection_id":175211,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759a61d8012c4b184009e1ee30022401502b..."} 
[2026-09-06 12:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759a61d8012c4b184009e1ee30022401502b..."} 
[2026-09-06 12:56:28] local.INFO: Processing buffer {"connection_id":175211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759a61d8012c4b184009e1ee30022401502b..."} 
[2026-09-06 12:56:28] local.INFO: Packet analysis {"connection_id":175211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759a"} 
[2026-09-06 12:56:28] local.INFO: Extracted packet for processing {"connection_id":175211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759a"} 
[2026-09-06 12:56:28] local.INFO: GPS Element Parsed {"raw_longitude":743118912,"raw_latitude":165801520,"longitude_deg":74.3118912,"latitude_deg":16.580152,"altitude":548,"angle":336,"satellites":43,"speed":56,"hex_longitude":"2c4b1840","hex_latitude":"09e1ee30","is_valid_coordinates":true} 
[2026-09-06 12:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901937152001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2572582331088896,"note":"Value kept but may cause issues"} 
[2026-09-06 12:56:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5413678638263693314,"note":"Value kept but may cause issues"} 
[2026-09-06 12:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788679447000,"timestamp_ms":1788679447000,"timestamp_seconds":1788679447,"priority":1,"record_length":96,"hex_timestamp":"000001a0759a61d8"} 
[2026-09-06 12:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:56: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-09-06 12:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 12:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901937152001,"66":28126,"65":206,"37":22784,"24":56,"16":2572582331088896,"44":5413678638263693314},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,37,24,16,44]} 
[2026-09-06 12:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901937152001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:56:28] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-06 12:56:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2572582331088896,"km_value":2572582331088.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:56:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":5413678638263693314,"description":"Unknown IO ID 44"} 
[2026-09-06 12:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901937152001,"power":28126,"unknown_65":206,"unknown_37":22784,"ignition":56,"odometer":null,"unknown_44":5413678638263693314}} 
[2026-09-06 12:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":175211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774432,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:56:28] local.INFO: GPS data processed {"connection_id":175211,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:56:28] local.INFO: Acknowledgment sent {"connection_id":175211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:56:46] local.INFO: TCP Data received {"connection_id":175212,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:56:46] local.INFO: Processing buffer {"connection_id":175212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:56:46] local.INFO: Packet analysis {"connection_id":175212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:56:46] local.INFO: Extracted packet for processing {"connection_id":175212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901836800001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679351000,"timestamp_ms":1788679351000,"timestamp_seconds":1788679351,"priority":1,"record_length":96,"hex_timestamp":"000001a07598ead8"} 
[2026-09-06 12:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:56:46] 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-09-06 12:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:56:46] 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-09-06 12:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901836800001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901836800001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:56:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901836800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":175212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:56:46] local.INFO: GPS data processed {"connection_id":175212,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:56:46] local.INFO: Acknowledgment sent {"connection_id":175212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:56:48] local.INFO: TCP Data received {"connection_id":172737,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:56:48] local.INFO: Processing buffer {"connection_id":172737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:56:48] local.INFO: IMEI packet received {"connection_id":172737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":172737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:56:49] local.INFO: TCP Data received {"connection_id":172736,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:56:49] local.INFO: Processing buffer {"connection_id":172736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:56:49] local.INFO: IMEI packet received {"connection_id":172736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":172736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:56:53] local.INFO: TCP Data received {"connection_id":172737,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:56:53] local.INFO: Processing buffer {"connection_id":172737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:56:53] local.INFO: IMEI packet received {"connection_id":172737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":172737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:56:54] local.INFO: TCP Data received {"connection_id":172737,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:56:54] local.INFO: Processing buffer {"connection_id":172737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:56:54] local.INFO: Packet analysis {"connection_id":172737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:56:54] local.INFO: Extracted packet for processing {"connection_id":172737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:56:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901841664001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:56: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-09-06 12:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788679370000,"timestamp_ms":1788679370000,"timestamp_seconds":1788679370,"priority":1,"record_length":96,"hex_timestamp":"000001a075993510"} 
[2026-09-06 12:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:56: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-09-06 12:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 12:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:56:54] 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-09-06 12:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901841664001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901841664001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:56:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:56:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901841664001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":172737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:56:54] local.INFO: GPS data processed {"connection_id":172737,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:56:54] local.INFO: Acknowledgment sent {"connection_id":172737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:56:55] local.INFO: TCP Data received {"connection_id":172736,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:56:55] local.INFO: Processing buffer {"connection_id":172736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:56:55] local.INFO: IMEI packet received {"connection_id":172736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":172736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:56:56] local.INFO: TCP Data received {"connection_id":172736,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759a7560012c4b0a4009e20630022401452a..."} 
[2026-09-06 12:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759a7560012c4b0a4009e20630022401452a..."} 
[2026-09-06 12:56:56] local.INFO: Processing buffer {"connection_id":172736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759a7560012c4b0a4009e20630022401452a..."} 
[2026-09-06 12:56:56] local.INFO: Packet analysis {"connection_id":172736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759a"} 
[2026-09-06 12:56:56] local.INFO: Extracted packet for processing {"connection_id":172736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759a"} 
[2026-09-06 12:56:56] local.INFO: GPS Element Parsed {"raw_longitude":743115328,"raw_latitude":165807664,"longitude_deg":74.3115328,"latitude_deg":16.5807664,"altitude":548,"angle":325,"satellites":42,"speed":56,"hex_longitude":"2c4b0a40","hex_latitude":"09e20630","is_valid_coordinates":true} 
[2026-09-06 12:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901938432001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2572921633505280,"note":"Value kept but may cause issues"} 
[2026-09-06 12:56:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5411145363475017730,"note":"Value kept but may cause issues"} 
[2026-09-06 12:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788679452000,"timestamp_ms":1788679452000,"timestamp_seconds":1788679452,"priority":1,"record_length":96,"hex_timestamp":"000001a0759a7560"} 
[2026-09-06 12:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:56: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-09-06 12:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-06 12:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901938432001,"66":27930,"65":206,"37":22784,"24":56,"16":2572921633505280,"44":5411145363475017730},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,37,24,16,44]} 
[2026-09-06 12:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901938432001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:56:56] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-06 12:56:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2572921633505280,"km_value":2572921633505.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:56:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5411145363475017730,"description":"Unknown IO ID 44"} 
[2026-09-06 12:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901938432001,"power":27930,"unknown_65":206,"unknown_37":22784,"ignition":56,"odometer":null,"unknown_44":5411145363475017730}} 
[2026-09-06 12:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":172736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774435,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:56:57] local.INFO: GPS data processed {"connection_id":172736,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:56:57] local.INFO: Acknowledgment sent {"connection_id":172736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:57:09] local.INFO: TCP Data received {"connection_id":172738,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:57:09] local.INFO: Processing buffer {"connection_id":172738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:57:09] local.INFO: IMEI packet received {"connection_id":172738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":172738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:57:14] local.INFO: TCP Data received {"connection_id":172738,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:57:14] local.INFO: Processing buffer {"connection_id":172738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:57:14] local.INFO: IMEI packet received {"connection_id":172738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":172738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:57:15] local.INFO: TCP Data received {"connection_id":172738,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:57:15] local.INFO: Processing buffer {"connection_id":172738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:57:15] local.INFO: Packet analysis {"connection_id":172738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:57:15] local.INFO: Extracted packet for processing {"connection_id":172738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901836800001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679351000,"timestamp_ms":1788679351000,"timestamp_seconds":1788679351,"priority":1,"record_length":96,"hex_timestamp":"000001a07598ead8"} 
[2026-09-06 12:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:57:15] 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-09-06 12:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:57:15] 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-09-06 12:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901836800001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901836800001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:57:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901836800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":172738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:57:15] local.INFO: GPS data processed {"connection_id":172738,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:57:15] local.INFO: Acknowledgment sent {"connection_id":172738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:57:25] local.INFO: TCP Data received {"connection_id":172737,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:57:25] local.INFO: Processing buffer {"connection_id":172737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:57:25] local.INFO: Packet analysis {"connection_id":172737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:57:25] local.INFO: Extracted packet for processing {"connection_id":172737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:57:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901841664001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788679370000,"timestamp_ms":1788679370000,"timestamp_seconds":1788679370,"priority":1,"record_length":96,"hex_timestamp":"000001a075993510"} 
[2026-09-06 12:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:57: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-09-06 12: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 12:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:57: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-09-06 12:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901841664001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901841664001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:57:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:57:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901841664001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":172737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:57:25] local.INFO: GPS data processed {"connection_id":172737,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:57:25] local.INFO: Acknowledgment sent {"connection_id":172737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:57:28] local.INFO: TCP Data received {"connection_id":172736,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759a90b8012c4af1c009e22510022601432a..."} 
[2026-09-06 12:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759a90b8012c4af1c009e22510022601432a..."} 
[2026-09-06 12:57:28] local.INFO: Processing buffer {"connection_id":172736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759a90b8012c4af1c009e22510022601432a..."} 
[2026-09-06 12:57:28] local.INFO: Packet analysis {"connection_id":172736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759a"} 
[2026-09-06 12:57:28] local.INFO: Extracted packet for processing {"connection_id":172736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759a"} 
[2026-09-06 12:57:28] local.INFO: GPS Element Parsed {"raw_longitude":743109056,"raw_latitude":165815568,"longitude_deg":74.3109056,"latitude_deg":16.5815568,"altitude":550,"angle":323,"satellites":42,"speed":55,"hex_longitude":"2c4af1c0","hex_latitude":"09e22510","is_valid_coordinates":true} 
[2026-09-06 12:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901939712001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2573402669842432,"note":"Value kept but may cause issues"} 
[2026-09-06 12:57:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5407204713802641410,"note":"Value kept but may cause issues"} 
[2026-09-06 12:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788679459000,"timestamp_ms":1788679459000,"timestamp_seconds":1788679459,"priority":1,"record_length":96,"hex_timestamp":"000001a0759a90b8"} 
[2026-09-06 12:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:57: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-09-06 12:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-06 12:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901939712001,"66":27908,"65":206,"37":22784,"24":55,"16":2573402669842432,"44":5407204713802641410},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,37,24,16,44]} 
[2026-09-06 12:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901939712001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:57:28] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-06 12:57:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2573402669842432,"km_value":2573402669842.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:57:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":5407204713802641410,"description":"Unknown IO ID 44"} 
[2026-09-06 12:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901939712001,"power":27908,"unknown_65":206,"unknown_37":22784,"ignition":55,"odometer":null,"unknown_44":5407204713802641410}} 
[2026-09-06 12:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":172736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774438,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:57:28] local.INFO: GPS data processed {"connection_id":172736,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:57:28] local.INFO: Acknowledgment sent {"connection_id":172736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:57:46] local.INFO: TCP Data received {"connection_id":172738,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:57:46] local.INFO: Processing buffer {"connection_id":172738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07598ead8012d196540071fef68003b011029..."} 
[2026-09-06 12:57:46] local.INFO: Packet analysis {"connection_id":172738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:57:46] local.INFO: Extracted packet for processing {"connection_id":172738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07598"} 
[2026-09-06 12:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901836800001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679351000,"timestamp_ms":1788679351000,"timestamp_seconds":1788679351,"priority":1,"record_length":96,"hex_timestamp":"000001a07598ead8"} 
[2026-09-06 12:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:57:46] 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-09-06 12:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:57:46] 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-09-06 12:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901836800001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901836800001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:57:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901836800001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":172738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:57:46] local.INFO: GPS data processed {"connection_id":172738,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:57:46] local.INFO: Acknowledgment sent {"connection_id":172738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:57:48] local.INFO: TCP Data received {"connection_id":172511,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:57:48] local.INFO: Processing buffer {"connection_id":172511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:57:48] local.INFO: IMEI packet received {"connection_id":172511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":172511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:57:49] local.INFO: TCP Data received {"connection_id":175213,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175213,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:57:49] local.INFO: Processing buffer {"connection_id":175213,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:57:49] local.INFO: IMEI packet received {"connection_id":175213,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":175213,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:57:53] local.INFO: TCP Data received {"connection_id":172511,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:57:53] local.INFO: Processing buffer {"connection_id":172511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:57:53] local.INFO: IMEI packet received {"connection_id":172511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":172511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:57:54] local.INFO: TCP Data received {"connection_id":172511,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:57:54] local.INFO: Processing buffer {"connection_id":172511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:57:54] local.INFO: Packet analysis {"connection_id":172511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:57:54] local.INFO: Extracted packet for processing {"connection_id":172511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:57:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901841664001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:57: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-09-06 12:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788679370000,"timestamp_ms":1788679370000,"timestamp_seconds":1788679370,"priority":1,"record_length":96,"hex_timestamp":"000001a075993510"} 
[2026-09-06 12:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:57: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-09-06 12:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 12:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:57:54] 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-09-06 12:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901841664001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901841664001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:57:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:57:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901841664001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":172511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:57:54] local.INFO: GPS data processed {"connection_id":172511,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:57:54] local.INFO: Acknowledgment sent {"connection_id":172511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:57:55] local.INFO: TCP Data received {"connection_id":175213,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175213,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:57:55] local.INFO: Processing buffer {"connection_id":175213,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:57:55] local.INFO: IMEI packet received {"connection_id":175213,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":175213,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:57:56] local.INFO: TCP Data received {"connection_id":175213,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759aac10012c4addc009e243000229014c2a..."} 
[2026-09-06 12:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759aac10012c4addc009e243000229014c2a..."} 
[2026-09-06 12:57:56] local.INFO: Processing buffer {"connection_id":175213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759aac10012c4addc009e243000229014c2a..."} 
[2026-09-06 12:57:56] local.INFO: Packet analysis {"connection_id":175213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759a"} 
[2026-09-06 12:57:56] local.INFO: Extracted packet for processing {"connection_id":175213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759a"} 
[2026-09-06 12:57:56] local.INFO: GPS Element Parsed {"raw_longitude":743103936,"raw_latitude":165823232,"longitude_deg":74.3103936,"latitude_deg":16.5823232,"altitude":553,"angle":332,"satellites":42,"speed":48,"hex_longitude":"2c4addc0","hex_latitude":"09e24300","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901941504001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2573845051473920,"note":"Value kept but may cause issues"} 
[2026-09-06 12:57:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5400308576875253762,"note":"Value kept but may cause issues"} 
[2026-09-06 12:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788679466000,"timestamp_ms":1788679466000,"timestamp_seconds":1788679466,"priority":1,"record_length":96,"hex_timestamp":"000001a0759aac10"} 
[2026-09-06 12:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:57: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-09-06 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 12:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12: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-09-06 12:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175213,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175213,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901941504001,"66":27974,"67":206,"37":22784,"24":48,"16":2573845051473920,"44":5400308576875253762},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,37,24,16,44]} 
[2026-09-06 12:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901941504001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:57:56] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-06 12:57:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2573845051473920,"km_value":2573845051473.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:57:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5400308576875253762,"description":"Unknown IO ID 44"} 
[2026-09-06 12:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901941504001,"power":27974,"unknown_67":206,"unknown_37":22784,"ignition":48,"odometer":null,"unknown_44":5400308576875253762}} 
[2026-09-06 12:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":175213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774441,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:57:56] local.INFO: GPS data processed {"connection_id":175213,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:57:56] local.INFO: Acknowledgment sent {"connection_id":175213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:58:09] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:58:09] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:58:09] local.INFO: IMEI packet received {"connection_id":173894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":173894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:58:10] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:58:10] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:58:10] local.INFO: IMEI packet received {"connection_id":173894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":173894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:58:14] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:58:14] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:58:14] local.INFO: IMEI packet received {"connection_id":173894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":173894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:58:14] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 12:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 12:58:14] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 12:58:14] local.INFO: Packet analysis {"connection_id":173894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:58:14] local.INFO: Extracted packet for processing {"connection_id":173894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901913856001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:58: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-09-06 12:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788679652000,"timestamp_ms":1788679652000,"timestamp_seconds":1788679652,"priority":1,"record_length":96,"hex_timestamp":"000001a0759d82a0"} 
[2026-09-06 12:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:58:14] 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-09-06 12:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:58: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-09-06 12:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:58:14] 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-09-06 12:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901913856001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901913856001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:58:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:58:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901913856001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":173894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:58:14] local.INFO: GPS data processed {"connection_id":173894,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:58:14] local.INFO: Acknowledgment sent {"connection_id":173894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:58:25] local.INFO: TCP Data received {"connection_id":172511,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:58:25] local.INFO: Processing buffer {"connection_id":172511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075993510012d34c48006aa3e58000900a72a..."} 
[2026-09-06 12:58:25] local.INFO: Packet analysis {"connection_id":172511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:58:25] local.INFO: Extracted packet for processing {"connection_id":172511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07599"} 
[2026-09-06 12:58:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901841664001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788679370000,"timestamp_ms":1788679370000,"timestamp_seconds":1788679370,"priority":1,"record_length":96,"hex_timestamp":"000001a075993510"} 
[2026-09-06 12:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:58: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-09-06 12:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 12:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:58: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-09-06 12:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901841664001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901841664001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:58:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:58:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901841664001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":172511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:58:25] local.INFO: GPS data processed {"connection_id":172511,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:58:25] local.INFO: Acknowledgment sent {"connection_id":172511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:58:28] local.INFO: TCP Data received {"connection_id":175213,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759d6f18012c4a7a0009e38e80023a014d29..."} 
[2026-09-06 12:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759d6f18012c4a7a0009e38e80023a014d29..."} 
[2026-09-06 12:58:28] local.INFO: Processing buffer {"connection_id":175213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759d6f18012c4a7a0009e38e80023a014d29..."} 
[2026-09-06 12:58:28] local.INFO: Packet analysis {"connection_id":175213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:58:28] local.INFO: Extracted packet for processing {"connection_id":175213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:58:28] local.INFO: GPS Element Parsed {"raw_longitude":743078400,"raw_latitude":165908096,"longitude_deg":74.30784,"latitude_deg":16.5908096,"altitude":570,"angle":333,"satellites":41,"speed":20,"hex_longitude":"2c4a7a00","hex_latitude":"09e38e80","is_valid_coordinates":true} 
[2026-09-06 12:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901987840001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2578140018769920,"note":"Value kept but may cause issues"} 
[2026-09-06 12:58:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5368431535785213954,"note":"Value kept but may cause issues"} 
[2026-09-06 12:58:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 12:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788679647000,"timestamp_ms":1788679647000,"timestamp_seconds":1788679647,"priority":1,"record_length":96,"hex_timestamp":"000001a0759d6f18"} 
[2026-09-06 12:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:58: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-09-06 12:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-06 12:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175213,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175213,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901987840001,"66":206,"37":22784,"24":20,"16":2578140018769920,"44":5368431535785213954},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 12:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901987840001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:58:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2578140018769920,"km_value":2578140018769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:58:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":5368431535785213954,"description":"Unknown IO ID 44"} 
[2026-09-06 12:58:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457901987840001,"power":206,"unknown_37":22784,"ignition":20,"odometer":null,"unknown_44":5368431535785213954}} 
[2026-09-06 12:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":175213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774444,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:58:28] local.INFO: GPS data processed {"connection_id":175213,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:58:28] local.INFO: Acknowledgment sent {"connection_id":175213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:58:45] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 12:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 12:58:45] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 12:58:45] local.INFO: Packet analysis {"connection_id":173894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:58:45] local.INFO: Extracted packet for processing {"connection_id":173894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:58:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901913856001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:58: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-09-06 12:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788679652000,"timestamp_ms":1788679652000,"timestamp_seconds":1788679652,"priority":1,"record_length":96,"hex_timestamp":"000001a0759d82a0"} 
[2026-09-06 12:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:58:45] 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-09-06 12:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:58: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-09-06 12:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:58:45] 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-09-06 12:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901913856001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901913856001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:58:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:58:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901913856001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":173894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:58:45] local.INFO: GPS data processed {"connection_id":173894,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:58:45] local.INFO: Acknowledgment sent {"connection_id":173894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:58:48] local.INFO: TCP Data received {"connection_id":175214,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:58:48] local.INFO: Processing buffer {"connection_id":175214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:58:48] local.INFO: IMEI packet received {"connection_id":175214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":175214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:58:49] local.INFO: TCP Data received {"connection_id":172739,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:58:49] local.INFO: Processing buffer {"connection_id":172739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:58:49] local.INFO: IMEI packet received {"connection_id":172739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":172739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:58:53] local.INFO: TCP Data received {"connection_id":175214,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:58:53] local.INFO: Processing buffer {"connection_id":175214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:58:53] local.INFO: IMEI packet received {"connection_id":175214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":175214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:58:54] local.INFO: TCP Data received {"connection_id":175214,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:58:54] local.INFO: Processing buffer {"connection_id":175214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:58:54] local.INFO: Packet analysis {"connection_id":175214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:58:54] local.INFO: Extracted packet for processing {"connection_id":175214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:58:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901918720001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:58: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-09-06 12:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788679671000,"timestamp_ms":1788679671000,"timestamp_seconds":1788679671,"priority":1,"record_length":96,"hex_timestamp":"000001a0759dccd8"} 
[2026-09-06 12:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:58: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-09-06 12:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:58: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-09-06 12:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:58:54] 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-09-06 12:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901918720001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901918720001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:58:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:58:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901918720001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":175214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:58:54] local.INFO: GPS data processed {"connection_id":175214,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:58:54] local.INFO: Acknowledgment sent {"connection_id":175214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:58:55] local.INFO: TCP Data received {"connection_id":172739,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:58:55] local.INFO: Processing buffer {"connection_id":172739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:58:55] local.INFO: IMEI packet received {"connection_id":172739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":172739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:58:56] local.INFO: TCP Data received {"connection_id":172739,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759d8a70012c4a738009e39b000239015928..."} 
[2026-09-06 12:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759d8a70012c4a738009e39b000239015928..."} 
[2026-09-06 12:58:56] local.INFO: Processing buffer {"connection_id":172739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759d8a70012c4a738009e39b000239015928..."} 
[2026-09-06 12:58:56] local.INFO: Packet analysis {"connection_id":172739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:58:56] local.INFO: Extracted packet for processing {"connection_id":172739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:58:56] local.INFO: GPS Element Parsed {"raw_longitude":743076736,"raw_latitude":165911296,"longitude_deg":74.3076736,"latitude_deg":16.5911296,"altitude":569,"angle":345,"satellites":40,"speed":23,"hex_longitude":"2c4a7380","hex_latitude":"09e39b00","is_valid_coordinates":true} 
[2026-09-06 12:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901989632001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2578316112429056,"note":"Value kept but may cause issues"} 
[2026-09-06 12:58:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5366601948437839874,"note":"Value kept but may cause issues"} 
[2026-09-06 12:58:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 12:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788679654000,"timestamp_ms":1788679654000,"timestamp_seconds":1788679654,"priority":1,"record_length":96,"hex_timestamp":"000001a0759d8a70"} 
[2026-09-06 12:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:58: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-09-06 12:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 12:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901989632001,"66":206,"37":22784,"24":23,"16":2578316112429056,"44":5366601948437839874},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 12:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901989632001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:58:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2578316112429056,"km_value":2578316112429.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:58:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5366601948437839874,"description":"Unknown IO ID 44"} 
[2026-09-06 12:58:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457901989632001,"power":206,"unknown_37":22784,"ignition":23,"odometer":null,"unknown_44":5366601948437839874}} 
[2026-09-06 12:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":172739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774447,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:58:56] local.INFO: GPS data processed {"connection_id":172739,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:58:56] local.INFO: Acknowledgment sent {"connection_id":172739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:59:09] local.INFO: TCP Data received {"connection_id":173895,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:59:09] local.INFO: Processing buffer {"connection_id":173895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:59:09] local.INFO: IMEI packet received {"connection_id":173895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 12:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":173895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:59:14] local.INFO: TCP Data received {"connection_id":173895,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:59:14] local.INFO: Processing buffer {"connection_id":173895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 12:59:14] local.INFO: IMEI packet received {"connection_id":173895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 12:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":173895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:59:15] local.INFO: TCP Data received {"connection_id":173895,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 12:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 12:59:15] local.INFO: Processing buffer {"connection_id":173895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 12:59:15] local.INFO: Packet analysis {"connection_id":173895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:59:15] local.INFO: Extracted packet for processing {"connection_id":173895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901913856001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679652000,"timestamp_ms":1788679652000,"timestamp_seconds":1788679652,"priority":1,"record_length":96,"hex_timestamp":"000001a0759d82a0"} 
[2026-09-06 12:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:59:15] 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-09-06 12:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:59:15] 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-09-06 12:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901913856001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901913856001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:59:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901913856001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":173895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:59:15] local.INFO: GPS data processed {"connection_id":173895,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:59:15] local.INFO: Acknowledgment sent {"connection_id":173895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:59:25] local.INFO: TCP Data received {"connection_id":175214,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:59:25] local.INFO: Processing buffer {"connection_id":175214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:59:25] local.INFO: Packet analysis {"connection_id":175214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:59:25] local.INFO: Extracted packet for processing {"connection_id":175214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:59:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901918720001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12: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-09-06 12:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788679671000,"timestamp_ms":1788679671000,"timestamp_seconds":1788679671,"priority":1,"record_length":96,"hex_timestamp":"000001a0759dccd8"} 
[2026-09-06 12:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:59: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-09-06 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:59: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-09-06 12: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-09-06 12:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:59: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-09-06 12:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901918720001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901918720001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:59:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:59:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901918720001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":175214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:59:25] local.INFO: GPS data processed {"connection_id":175214,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:59:25] local.INFO: Acknowledgment sent {"connection_id":175214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:59:27] local.INFO: TCP Data received {"connection_id":172739,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759dbd38012c4a6e0009e3c0a0023a015f28..."} 
[2026-09-06 12:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759dbd38012c4a6e0009e3c0a0023a015f28..."} 
[2026-09-06 12:59:27] local.INFO: Processing buffer {"connection_id":172739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759dbd38012c4a6e0009e3c0a0023a015f28..."} 
[2026-09-06 12:59:27] local.INFO: Packet analysis {"connection_id":172739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:59:27] local.INFO: Extracted packet for processing {"connection_id":172739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:59:27] local.INFO: GPS Element Parsed {"raw_longitude":743075328,"raw_latitude":165920928,"longitude_deg":74.3075328,"latitude_deg":16.5920928,"altitude":570,"angle":351,"satellites":40,"speed":34,"hex_longitude":"2c4a6e00","hex_latitude":"09e3c0a0","is_valid_coordinates":true} 
[2026-09-06 12:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901991424001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2578788558831616,"note":"Value kept but may cause issues"} 
[2026-09-06 12:59:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5364772361090039810,"note":"Value kept but may cause issues"} 
[2026-09-06 12:59:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 12:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788679667000,"timestamp_ms":1788679667000,"timestamp_seconds":1788679667,"priority":1,"record_length":96,"hex_timestamp":"000001a0759dbd38"} 
[2026-09-06 12:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12: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-09-06 12:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 12:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 12:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 12:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 12:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 12:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901991424001,"66":206,"37":22784,"24":34,"16":2578788558831616,"44":5364772361090039810},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 12:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 12:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 12:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901991424001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:59:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 12:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2578788558831616,"km_value":2578788558831.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:59:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":5364772361090039810,"description":"Unknown IO ID 44"} 
[2026-09-06 12:59:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457901991424001,"power":206,"unknown_37":22784,"ignition":34,"odometer":null,"unknown_44":5364772361090039810}} 
[2026-09-06 12:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":172739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774450,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:59:28] local.INFO: GPS data processed {"connection_id":172739,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:59:28] local.INFO: Acknowledgment sent {"connection_id":172739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:59:46] local.INFO: TCP Data received {"connection_id":173895,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 12:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 12:59:46] local.INFO: Processing buffer {"connection_id":173895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 12:59:46] local.INFO: Packet analysis {"connection_id":173895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:59:46] local.INFO: Extracted packet for processing {"connection_id":173895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 12:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 12:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901913856001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 12:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 12:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 12:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679652000,"timestamp_ms":1788679652000,"timestamp_seconds":1788679652,"priority":1,"record_length":96,"hex_timestamp":"000001a0759d82a0"} 
[2026-09-06 12:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:59:46] 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-09-06 12:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 12:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 12:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 12:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 12:59:46] 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-09-06 12:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 12:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 12:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901913856001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 12:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 12:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 12:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901913856001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:59:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 12:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 12:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 12:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901913856001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 12:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":173895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:59:46] local.INFO: GPS data processed {"connection_id":173895,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:59:46] local.INFO: Acknowledgment sent {"connection_id":173895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:59:48] local.INFO: TCP Data received {"connection_id":173896,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:59:48] local.INFO: Processing buffer {"connection_id":173896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:59:48] local.INFO: IMEI packet received {"connection_id":173896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 12:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":173896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:59:53] local.INFO: TCP Data received {"connection_id":173896,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:59:53] local.INFO: Processing buffer {"connection_id":173896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 12:59:53] local.INFO: IMEI packet received {"connection_id":173896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 12:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":173896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 12:59:54] local.INFO: TCP Data received {"connection_id":173896,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:59:54] local.INFO: Processing buffer {"connection_id":173896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 12:59:54] local.INFO: Packet analysis {"connection_id":173896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:59:54] local.INFO: Extracted packet for processing {"connection_id":173896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 12:59:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 12: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-09-06 12:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901918720001,"note":"Value kept but may cause issues"} 
[2026-09-06 12:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 12:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 12:59: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-09-06 12:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788679671000,"timestamp_ms":1788679671000,"timestamp_seconds":1788679671,"priority":1,"record_length":96,"hex_timestamp":"000001a0759dccd8"} 
[2026-09-06 12:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 12:59: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-09-06 12: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 12:59: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-09-06 12: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-09-06 12:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 12:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 12:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 12:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 12:59:54] 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-09-06 12:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 12:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 12:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901918720001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 12:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 12:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 12:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901918720001,"description":"Unknown IO ID 0"} 
[2026-09-06 12:59:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 12:59:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 12:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 12:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 12:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901918720001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 12:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":173896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 12:59:54] local.INFO: GPS data processed {"connection_id":173896,"processed":1,"errors":0,"total":1} 
[2026-09-06 12:59:54] local.INFO: Acknowledgment sent {"connection_id":173896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 12:59:54] local.INFO: TCP Data received {"connection_id":172512,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:59:55] local.INFO: Processing buffer {"connection_id":172512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:59:55] local.INFO: IMEI packet received {"connection_id":172512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 12:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":172512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 12:59:59] local.INFO: TCP Data received {"connection_id":172512,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:59:59] local.INFO: Processing buffer {"connection_id":172512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 12:59:59] local.INFO: IMEI packet received {"connection_id":172512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 12:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":172512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:00:01] local.INFO: TCP Data received {"connection_id":172512,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759dec18012c4a67c009e3e510023a016029..."} 
[2026-09-06 13:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759dec18012c4a67c009e3e510023a016029..."} 
[2026-09-06 13:00:01] local.INFO: Processing buffer {"connection_id":172512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759dec18012c4a67c009e3e510023a016029..."} 
[2026-09-06 13:00:01] local.INFO: Packet analysis {"connection_id":172512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:00:01] local.INFO: Extracted packet for processing {"connection_id":172512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:00:01] local.INFO: GPS Element Parsed {"raw_longitude":743073728,"raw_latitude":165930256,"longitude_deg":74.3073728,"latitude_deg":16.5930256,"altitude":570,"angle":352,"satellites":41,"speed":29,"hex_longitude":"2c4a67c0","hex_latitude":"09e3e510","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901994752001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2579248120332288,"note":"Value kept but may cause issues"} 
[2026-09-06 13:00:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5363224248720596994,"note":"Value kept but may cause issues"} 
[2026-09-06 13:00:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788679679000,"timestamp_ms":1788679679000,"timestamp_seconds":1788679679,"priority":1,"record_length":96,"hex_timestamp":"000001a0759dec18"} 
[2026-09-06 13:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:00: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-09-06 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 13:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901994752001,"66":206,"37":22784,"24":29,"16":2579248120332288,"44":5363224248720596994},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901994752001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:00:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 13:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2579248120332288,"km_value":2579248120332.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:00:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":5363224248720596994,"description":"Unknown IO ID 44"} 
[2026-09-06 13:00:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457901994752001,"power":206,"unknown_37":22784,"ignition":29,"odometer":null,"unknown_44":5363224248720596994}} 
[2026-09-06 13:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":172512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774453,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:00:01] local.INFO: GPS data processed {"connection_id":172512,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:00:01] local.INFO: Acknowledgment sent {"connection_id":172512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:00:09] local.INFO: TCP Data received {"connection_id":172513,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:00:09] local.INFO: Processing buffer {"connection_id":172513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:00:09] local.INFO: IMEI packet received {"connection_id":172513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":172513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:00:14] local.INFO: TCP Data received {"connection_id":172513,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:00:14] local.INFO: Processing buffer {"connection_id":172513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:00:14] local.INFO: IMEI packet received {"connection_id":172513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":172513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:00:15] local.INFO: TCP Data received {"connection_id":172513,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:00:15] local.INFO: Processing buffer {"connection_id":172513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:00:15] local.INFO: Packet analysis {"connection_id":172513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:00:15] local.INFO: Extracted packet for processing {"connection_id":172513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901913856001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679652000,"timestamp_ms":1788679652000,"timestamp_seconds":1788679652,"priority":1,"record_length":96,"hex_timestamp":"000001a0759d82a0"} 
[2026-09-06 13:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:00:15] 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-09-06 13:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:00:15] 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-09-06 13:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901913856001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901913856001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:00:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901913856001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":172513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:00:15] local.INFO: GPS data processed {"connection_id":172513,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:00:15] local.INFO: Acknowledgment sent {"connection_id":172513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:00:25] local.INFO: TCP Data received {"connection_id":173896,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:00:25] local.INFO: Processing buffer {"connection_id":173896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:00:25] local.INFO: Packet analysis {"connection_id":173896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:00:25] local.INFO: Extracted packet for processing {"connection_id":173896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:00:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 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-09-06 13:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901918720001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 13:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788679671000,"timestamp_ms":1788679671000,"timestamp_seconds":1788679671,"priority":1,"record_length":96,"hex_timestamp":"000001a0759dccd8"} 
[2026-09-06 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-09-06 13:00: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-09-06 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:00: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-09-06 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-09-06 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-09-06 13:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:00: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-09-06 13:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901918720001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901918720001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:00:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:00:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901918720001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":173896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:00:25] local.INFO: GPS data processed {"connection_id":173896,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:00:25] local.INFO: Acknowledgment sent {"connection_id":173896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:00:46] local.INFO: TCP Data received {"connection_id":172513,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:00:46] local.INFO: Processing buffer {"connection_id":172513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:00:46] local.INFO: Packet analysis {"connection_id":172513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:00:46] local.INFO: Extracted packet for processing {"connection_id":172513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901913856001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679652000,"timestamp_ms":1788679652000,"timestamp_seconds":1788679652,"priority":1,"record_length":96,"hex_timestamp":"000001a0759d82a0"} 
[2026-09-06 13:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:00:46] 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-09-06 13:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:00:46] 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-09-06 13:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901913856001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901913856001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:00:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901913856001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":172513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:00:46] local.INFO: GPS data processed {"connection_id":172513,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:00:46] local.INFO: Acknowledgment sent {"connection_id":172513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:00:48] local.INFO: TCP Data received {"connection_id":172512,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759f5378012c4a520009e543d0024c016529..."} 
[2026-09-06 13:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759f5378012c4a520009e543d0024c016529..."} 
[2026-09-06 13:00:48] local.INFO: Processing buffer {"connection_id":172512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759f5378012c4a520009e543d0024c016529..."} 
[2026-09-06 13:00:48] local.INFO: Packet analysis {"connection_id":172512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759f"} 
[2026-09-06 13:00:48] local.INFO: Extracted packet for processing {"connection_id":172512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759f"} 
[2026-09-06 13:00:48] local.INFO: GPS Element Parsed {"raw_longitude":743068160,"raw_latitude":166020048,"longitude_deg":74.306816,"latitude_deg":16.6020048,"altitude":588,"angle":357,"satellites":41,"speed":39,"hex_longitude":"2c4a5200","hex_latitude":"09e543d0","is_valid_coordinates":true} 
[2026-09-06 13:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902019072001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2583616102072320,"note":"Value kept but may cause issues"} 
[2026-09-06 13:00:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5355835530605043714,"note":"Value kept but may cause issues"} 
[2026-09-06 13:00:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788679771000,"timestamp_ms":1788679771000,"timestamp_seconds":1788679771,"priority":1,"record_length":96,"hex_timestamp":"000001a0759f5378"} 
[2026-09-06 13:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 13:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":172512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":172512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":172512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902019072001,"66":206,"37":22784,"24":39,"16":2583616102072320,"44":5355835530605043714},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902019072001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:00:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 13:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2583616102072320,"km_value":2583616102072.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:00:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":5355835530605043714,"description":"Unknown IO ID 44"} 
[2026-09-06 13:00:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902019072001,"power":206,"unknown_37":22784,"ignition":39,"odometer":null,"unknown_44":5355835530605043714}} 
[2026-09-06 13:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":172512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774457,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:00:48] local.INFO: GPS data processed {"connection_id":172512,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:00:48] local.INFO: Acknowledgment sent {"connection_id":172512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:00:49] local.INFO: TCP Data received {"connection_id":172740,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:00:49] local.INFO: Processing buffer {"connection_id":172740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:00:49] local.INFO: IMEI packet received {"connection_id":172740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":172740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:00:53] local.INFO: TCP Data received {"connection_id":172740,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:00:53] local.INFO: Processing buffer {"connection_id":172740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:00:53] local.INFO: IMEI packet received {"connection_id":172740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":172740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:00:54] local.INFO: TCP Data received {"connection_id":172740,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:00:54] local.INFO: Processing buffer {"connection_id":172740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:00:54] local.INFO: Packet analysis {"connection_id":172740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:00:54] local.INFO: Extracted packet for processing {"connection_id":172740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:00:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901918720001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:00: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-09-06 13:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788679671000,"timestamp_ms":1788679671000,"timestamp_seconds":1788679671,"priority":1,"record_length":96,"hex_timestamp":"000001a0759dccd8"} 
[2026-09-06 13:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:00: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-09-06 13:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:00: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-09-06 13:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:00:54] 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-09-06 13:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901918720001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901918720001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:00:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:00:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901918720001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":172740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:00:54] local.INFO: GPS data processed {"connection_id":172740,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:00:54] local.INFO: Acknowledgment sent {"connection_id":172740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:00:54] local.INFO: TCP Data received {"connection_id":172514,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:00:54] local.INFO: Processing buffer {"connection_id":172514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:00:54] local.INFO: IMEI packet received {"connection_id":172514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":172514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:01:00] local.INFO: TCP Data received {"connection_id":172514,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:01:00] local.INFO: Processing buffer {"connection_id":172514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:01:00] local.INFO: IMEI packet received {"connection_id":172514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":172514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:01:01] local.INFO: TCP Data received {"connection_id":172514,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759f76a0012c4a510009e56790024e016628..."} 
[2026-09-06 13:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759f76a0012c4a510009e56790024e016628..."} 
[2026-09-06 13:01:01] local.INFO: Processing buffer {"connection_id":172514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759f76a0012c4a510009e56790024e016628..."} 
[2026-09-06 13:01:01] local.INFO: Packet analysis {"connection_id":172514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759f"} 
[2026-09-06 13:01:01] local.INFO: Extracted packet for processing {"connection_id":172514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759f"} 
[2026-09-06 13:01:01] local.INFO: GPS Element Parsed {"raw_longitude":743067904,"raw_latitude":166029200,"longitude_deg":74.3067904,"latitude_deg":16.60292,"altitude":590,"angle":358,"satellites":40,"speed":40,"hex_longitude":"2c4a5100","hex_latitude":"09e56790","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902021376001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2584062778671104,"note":"Value kept but may cause issues"} 
[2026-09-06 13:01:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5355342949398073346,"note":"Value kept but may cause issues"} 
[2026-09-06 13:01:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788679780000,"timestamp_ms":1788679780000,"timestamp_seconds":1788679780,"priority":1,"record_length":96,"hex_timestamp":"000001a0759f76a0"} 
[2026-09-06 13:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:01: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-09-06 13: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 13:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902021376001,"66":206,"37":22784,"24":40,"16":2584062778671104,"44":5355342949398073346},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902021376001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:01:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 13:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2584062778671104,"km_value":2584062778671.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:01:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":5355342949398073346,"description":"Unknown IO ID 44"} 
[2026-09-06 13:01:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902021376001,"power":206,"unknown_37":22784,"ignition":40,"odometer":null,"unknown_44":5355342949398073346}} 
[2026-09-06 13:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":172514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774459,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:01:02] local.INFO: GPS data processed {"connection_id":172514,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:01:02] local.INFO: Acknowledgment sent {"connection_id":172514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:01:09] local.INFO: TCP Data received {"connection_id":175215,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:01:09] local.INFO: Processing buffer {"connection_id":175215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:01:09] local.INFO: IMEI packet received {"connection_id":175215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":175215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:01:14] local.INFO: TCP Data received {"connection_id":175215,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:01:14] local.INFO: Processing buffer {"connection_id":175215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:01:14] local.INFO: IMEI packet received {"connection_id":175215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":175215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:01:15] local.INFO: TCP Data received {"connection_id":175215,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:01:15] local.INFO: Processing buffer {"connection_id":175215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:01:15] local.INFO: Packet analysis {"connection_id":175215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:01:15] local.INFO: Extracted packet for processing {"connection_id":175215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901913856001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679652000,"timestamp_ms":1788679652000,"timestamp_seconds":1788679652,"priority":1,"record_length":96,"hex_timestamp":"000001a0759d82a0"} 
[2026-09-06 13:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:01:15] 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-09-06 13:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:01:15] 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-09-06 13:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901913856001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901913856001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:01:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901913856001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":175215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:01:15] local.INFO: GPS data processed {"connection_id":175215,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:01:15] local.INFO: Acknowledgment sent {"connection_id":175215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:01:25] local.INFO: TCP Data received {"connection_id":172740,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:01:25] local.INFO: Processing buffer {"connection_id":172740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:01:25] local.INFO: Packet analysis {"connection_id":172740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:01:25] local.INFO: Extracted packet for processing {"connection_id":172740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:01:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901918720001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:01: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-09-06 13:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788679671000,"timestamp_ms":1788679671000,"timestamp_seconds":1788679671,"priority":1,"record_length":96,"hex_timestamp":"000001a0759dccd8"} 
[2026-09-06 13:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:01: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-09-06 13:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:01: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-09-06 13:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:01: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-09-06 13:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901918720001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901918720001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:01:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:01:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901918720001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":172740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:01:25] local.INFO: GPS data processed {"connection_id":172740,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:01:25] local.INFO: Acknowledgment sent {"connection_id":172740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:01:46] local.INFO: TCP Data received {"connection_id":175215,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:01:46] local.INFO: Processing buffer {"connection_id":175215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:01:46] local.INFO: Packet analysis {"connection_id":175215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:01:46] local.INFO: Extracted packet for processing {"connection_id":175215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901913856001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679652000,"timestamp_ms":1788679652000,"timestamp_seconds":1788679652,"priority":1,"record_length":96,"hex_timestamp":"000001a0759d82a0"} 
[2026-09-06 13:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:01:46] 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-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:01:46] 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-09-06 13:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901913856001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901913856001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:01:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901913856001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":175215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:01:47] local.INFO: GPS data processed {"connection_id":175215,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:01:47] local.INFO: Acknowledgment sent {"connection_id":175215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:01:48] local.INFO: TCP Data received {"connection_id":173897,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:01:48] local.INFO: Processing buffer {"connection_id":173897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:01:48] local.INFO: IMEI packet received {"connection_id":173897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":173897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:01:53] local.INFO: TCP Data received {"connection_id":173897,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:01:53] local.INFO: Processing buffer {"connection_id":173897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:01:53] local.INFO: IMEI packet received {"connection_id":173897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":173897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:01:54] local.INFO: TCP Data received {"connection_id":173897,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:01:54] local.INFO: Processing buffer {"connection_id":173897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:01:54] local.INFO: Packet analysis {"connection_id":173897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:01:54] local.INFO: Extracted packet for processing {"connection_id":173897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:01:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901918720001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788679671000,"timestamp_ms":1788679671000,"timestamp_seconds":1788679671,"priority":1,"record_length":96,"hex_timestamp":"000001a0759dccd8"} 
[2026-09-06 13:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:01: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-09-06 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:01: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-09-06 13: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-09-06 13:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:01: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-09-06 13:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901918720001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901918720001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:01:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:01:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901918720001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":173897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:01:54] local.INFO: GPS data processed {"connection_id":173897,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:01:54] local.INFO: Acknowledgment sent {"connection_id":173897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:01:59] local.INFO: TCP Data received {"connection_id":172515,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:01:59] local.INFO: Processing buffer {"connection_id":172515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:01:59] local.INFO: IMEI packet received {"connection_id":172515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":172515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:02:04] local.INFO: TCP Data received {"connection_id":172514,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759f99c8012c4a508009e58b100251000028..."} 
[2026-09-06 13:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759f99c8012c4a508009e58b100251000028..."} 
[2026-09-06 13:02:04] local.INFO: Processing buffer {"connection_id":172514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759f99c8012c4a508009e58b100251000028..."} 
[2026-09-06 13:02:04] local.INFO: Packet analysis {"connection_id":172514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759f"} 
[2026-09-06 13:02:04] local.INFO: Extracted packet for processing {"connection_id":172514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759f"} 
[2026-09-06 13:02:04] local.INFO: GPS Element Parsed {"raw_longitude":743067776,"raw_latitude":166038288,"longitude_deg":74.3067776,"latitude_deg":16.6038288,"altitude":593,"angle":0,"satellites":40,"speed":39,"hex_longitude":"2c4a5080","hex_latitude":"09e58b10","is_valid_coordinates":true} 
[2026-09-06 13:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902023680001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2584500865335296,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5355061474423705602,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788679789000,"timestamp_ms":1788679789000,"timestamp_seconds":1788679789,"priority":1,"record_length":96,"hex_timestamp":"000001a0759f99c8"} 
[2026-09-06 13:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:02: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-09-06 13:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 13:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902023680001,"66":206,"37":22784,"24":39,"16":2584500865335296,"44":5355061474423705602},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902023680001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:02:04] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 13:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2584500865335296,"km_value":2584500865335.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:02:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":5355061474423705602,"description":"Unknown IO ID 44"} 
[2026-09-06 13:02:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902023680001,"power":206,"unknown_37":22784,"ignition":39,"odometer":null,"unknown_44":5355061474423705602}} 
[2026-09-06 13:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":172514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774464,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:02:05] local.INFO: GPS data processed {"connection_id":172514,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:02:05] local.INFO: Acknowledgment sent {"connection_id":172514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:02:05] local.INFO: TCP Data received {"connection_id":172515,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:02:05] local.INFO: Processing buffer {"connection_id":172515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:02:05] local.INFO: IMEI packet received {"connection_id":172515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":172515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:02:06] local.INFO: TCP Data received {"connection_id":172515,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a0759fc4c0012c4a538009e5afe0025500092a..."} 
[2026-09-06 13:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759fc4c0012c4a538009e5afe0025500092a..."} 
[2026-09-06 13:02:06] local.INFO: Processing buffer {"connection_id":172515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759fc4c0012c4a538009e5afe0025500092a..."} 
[2026-09-06 13:02:06] local.INFO: Packet analysis {"connection_id":172515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759f"} 
[2026-09-06 13:02:06] local.INFO: Extracted packet for processing {"connection_id":172515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759f"} 
[2026-09-06 13:02:06] local.INFO: GPS Element Parsed {"raw_longitude":743068544,"raw_latitude":166047712,"longitude_deg":74.3068544,"latitude_deg":16.6047712,"altitude":597,"angle":9,"satellites":42,"speed":30,"hex_longitude":"2c4a5380","hex_latitude":"09e5afe0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902025984001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2584960426835968,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5354920736937676802,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788679800000,"timestamp_ms":1788679800000,"timestamp_seconds":1788679800,"priority":1,"record_length":96,"hex_timestamp":"000001a0759fc4c0"} 
[2026-09-06 13:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:02: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-09-06 13: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 13:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902025984001,"66":206,"37":22784,"24":30,"16":2584960426835968,"44":5354920736937676802},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902025984001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:02:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":22784,"description":"Unknown IO ID 37"} 
[2026-09-06 13:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2584960426835968,"km_value":2584960426835.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:02:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":5354920736937676802,"description":"Unknown IO ID 44"} 
[2026-09-06 13:02:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902025984001,"power":206,"unknown_37":22784,"ignition":30,"odometer":null,"unknown_44":5354920736937676802}} 
[2026-09-06 13:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":172515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:02:06] local.INFO: GPS data processed {"connection_id":172515,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:02:06] local.INFO: Acknowledgment sent {"connection_id":172515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:02:09] local.INFO: TCP Data received {"connection_id":175216,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:02:09] local.INFO: Processing buffer {"connection_id":175216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:02:09] local.INFO: IMEI packet received {"connection_id":175216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":175216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:02:14] local.INFO: TCP Data received {"connection_id":175216,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:02:14] local.INFO: Processing buffer {"connection_id":175216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:02:14] local.INFO: IMEI packet received {"connection_id":175216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":175216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:02:15] local.INFO: TCP Data received {"connection_id":175216,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:02:15] local.INFO: Processing buffer {"connection_id":175216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:02:15] local.INFO: Packet analysis {"connection_id":175216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:02:15] local.INFO: Extracted packet for processing {"connection_id":175216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901913856001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679652000,"timestamp_ms":1788679652000,"timestamp_seconds":1788679652,"priority":1,"record_length":96,"hex_timestamp":"000001a0759d82a0"} 
[2026-09-06 13:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:02:15] 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-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901913856001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901913856001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:02:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901913856001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":175216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:02:15] local.INFO: GPS data processed {"connection_id":175216,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:02:15] local.INFO: Acknowledgment sent {"connection_id":175216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:02:25] local.INFO: TCP Data received {"connection_id":173897,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:02:25] local.INFO: Processing buffer {"connection_id":173897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:02:25] local.INFO: Packet analysis {"connection_id":173897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:02:25] local.INFO: Extracted packet for processing {"connection_id":173897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:02:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901918720001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788679671000,"timestamp_ms":1788679671000,"timestamp_seconds":1788679671,"priority":1,"record_length":96,"hex_timestamp":"000001a0759dccd8"} 
[2026-09-06 13:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:02: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-09-06 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:02: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-09-06 13: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-09-06 13:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:02: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-09-06 13:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901918720001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901918720001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:02:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:02:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901918720001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":173897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:02:25] local.INFO: GPS data processed {"connection_id":173897,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:02:25] local.INFO: Acknowledgment sent {"connection_id":173897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:02:46] local.INFO: TCP Data received {"connection_id":175216,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:02:46] local.INFO: Processing buffer {"connection_id":175216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759d82a0012d196540071fef68003b011029..."} 
[2026-09-06 13:02:46] local.INFO: Packet analysis {"connection_id":175216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:02:46] local.INFO: Extracted packet for processing {"connection_id":175216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901913856001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679652000,"timestamp_ms":1788679652000,"timestamp_seconds":1788679652,"priority":1,"record_length":96,"hex_timestamp":"000001a0759d82a0"} 
[2026-09-06 13:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:02:46] 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-09-06 13:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901913856001,"66":2177,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901913856001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:02:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901913856001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":175216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:02:46] local.INFO: GPS data processed {"connection_id":175216,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:02:46] local.INFO: Acknowledgment sent {"connection_id":175216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:02:51] local.INFO: TCP Data received {"connection_id":175218,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:02:51] local.INFO: Processing buffer {"connection_id":175218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:02:51] local.INFO: IMEI packet received {"connection_id":175218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":175218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:02:53] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:02:53] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:02:53] local.INFO: IMEI packet received {"connection_id":175217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":175217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:02:54] local.INFO: TCP Data received {"connection_id":175218,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:02:54] local.INFO: Processing buffer {"connection_id":175218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:02:54] local.INFO: IMEI packet received {"connection_id":175218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":175218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:02:58] local.INFO: TCP Data received {"connection_id":175218,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:02:58] local.INFO: Processing buffer {"connection_id":175218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:02:58] local.INFO: IMEI packet received {"connection_id":175218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":175218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:02:59] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:02:59] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:02:59] local.INFO: IMEI packet received {"connection_id":175217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":175217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:02:59] local.INFO: TCP Data received {"connection_id":175218,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075a15b00012c4a178009e6d8b0026c013c24..."} 
[2026-09-06 13:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a15b00012c4a178009e6d8b0026c013c24..."} 
[2026-09-06 13:02:59] local.INFO: Processing buffer {"connection_id":175218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a15b00012c4a178009e6d8b0026c013c24..."} 
[2026-09-06 13:02:59] local.INFO: Packet analysis {"connection_id":175218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a1"} 
[2026-09-06 13:02:59] local.INFO: Extracted packet for processing {"connection_id":175218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a1"} 
[2026-09-06 13:02:59] local.INFO: GPS Element Parsed {"raw_longitude":743053184,"raw_latitude":166123696,"longitude_deg":74.3053184,"latitude_deg":16.6123696,"altitude":620,"angle":316,"satellites":36,"speed":42,"hex_longitude":"2c4a1780","hex_latitude":"09e6d8b0","is_valid_coordinates":true} 
[2026-09-06 13:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902053120001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2589083595440128,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5346195012679806978,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788679904000,"timestamp_ms":1788679904000,"timestamp_seconds":1788679904,"priority":1,"record_length":96,"hex_timestamp":"000001a075a15b00"} 
[2026-09-06 13:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:02: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-09-06 13:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-06 13:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902053120001,"66":28050,"37":24064,"24":42,"16":2589083595440128,"44":5346195012679806978},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902053120001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:02:59] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2589083595440128,"km_value":2589083595440.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:02:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":5346195012679806978,"description":"Unknown IO ID 44"} 
[2026-09-06 13:02:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902053120001,"power":28050,"unknown_37":24064,"ignition":42,"odometer":null,"unknown_44":5346195012679806978}} 
[2026-09-06 13:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":175218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774469,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:02:59] local.INFO: GPS data processed {"connection_id":175218,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:02:59] local.INFO: Acknowledgment sent {"connection_id":175218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:02:59] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:02:59] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:02:59] local.INFO: Packet analysis {"connection_id":175217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:02:59] local.INFO: Extracted packet for processing {"connection_id":175217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:02:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901918720001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:02: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-09-06 13:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788679671000,"timestamp_ms":1788679671000,"timestamp_seconds":1788679671,"priority":1,"record_length":96,"hex_timestamp":"000001a0759dccd8"} 
[2026-09-06 13:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:02:59] 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-09-06 13:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:02: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-09-06 13:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901918720001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901918720001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:02:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:02:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901918720001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":175217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:02:59] local.INFO: GPS data processed {"connection_id":175217,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:02:59] local.INFO: Acknowledgment sent {"connection_id":175217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:03:00] local.INFO: TCP Data received {"connection_id":175218,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075a17e28012c49fc8009e6f3d0026b013b23..."} 
[2026-09-06 13:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a17e28012c49fc8009e6f3d0026b013b23..."} 
[2026-09-06 13:03:00] local.INFO: Processing buffer {"connection_id":175218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a17e28012c49fc8009e6f3d0026b013b23..."} 
[2026-09-06 13:03:00] local.INFO: Packet analysis {"connection_id":175218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a1"} 
[2026-09-06 13:03:00] local.INFO: Extracted packet for processing {"connection_id":175218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a1"} 
[2026-09-06 13:03:00] local.INFO: GPS Element Parsed {"raw_longitude":743046272,"raw_latitude":166130640,"longitude_deg":74.3046272,"latitude_deg":16.613064,"altitude":619,"angle":315,"satellites":35,"speed":46,"hex_longitude":"2c49fc80","hex_latitude":"09e6f3d0","is_valid_coordinates":true} 
[2026-09-06 13:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902055424001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2589551746875392,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5338876663287033858,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788679913000,"timestamp_ms":1788679913000,"timestamp_seconds":1788679913,"priority":1,"record_length":96,"hex_timestamp":"000001a075a17e28"} 
[2026-09-06 13:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:03: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-09-06 13:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 13:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902055424001,"66":28104,"37":24064,"24":46,"16":2589551746875392,"44":5338876663287033858},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902055424001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:03:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2589551746875392,"km_value":2589551746875.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:03:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":5338876663287033858,"description":"Unknown IO ID 44"} 
[2026-09-06 13:03:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902055424001,"power":28104,"unknown_37":24064,"ignition":46,"odometer":null,"unknown_44":5338876663287033858}} 
[2026-09-06 13:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":175218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:03:00] local.INFO: GPS data processed {"connection_id":175218,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:03:00] local.INFO: Acknowledgment sent {"connection_id":175218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:03:03] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:03:03] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0759dccd8012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:03:03] local.INFO: Packet analysis {"connection_id":175217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:03:03] local.INFO: Extracted packet for processing {"connection_id":175217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0759d"} 
[2026-09-06 13:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901918720001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03: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-09-06 13:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788679671000,"timestamp_ms":1788679671000,"timestamp_seconds":1788679671,"priority":1,"record_length":96,"hex_timestamp":"000001a0759dccd8"} 
[2026-09-06 13:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:03:03] 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-09-06 13:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:03: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-09-06 13:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901918720001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901918720001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901918720001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":175217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:03:03] local.INFO: GPS data processed {"connection_id":175217,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:03:03] local.INFO: Acknowledgment sent {"connection_id":175217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:03:09] local.INFO: TCP Data received {"connection_id":172741,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:03:09] local.INFO: Processing buffer {"connection_id":172741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:03:09] local.INFO: IMEI packet received {"connection_id":172741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":172741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:03:11] local.INFO: TCP Data received {"connection_id":172741,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:03:11] local.INFO: Processing buffer {"connection_id":172741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:03:11] local.INFO: IMEI packet received {"connection_id":172741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":172741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:03:14] local.INFO: TCP Data received {"connection_id":172741,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:03:14] local.INFO: Processing buffer {"connection_id":172741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:03:14] local.INFO: IMEI packet received {"connection_id":172741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":172741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:03:15] local.INFO: TCP Data received {"connection_id":172741,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:03:15] local.INFO: Processing buffer {"connection_id":172741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:03:15] local.INFO: Packet analysis {"connection_id":172741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:03:15] local.INFO: Extracted packet for processing {"connection_id":172741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901990912001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679953000,"timestamp_ms":1788679953000,"timestamp_seconds":1788679953,"priority":1,"record_length":96,"hex_timestamp":"000001a075a21a68"} 
[2026-09-06 13:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:03:15] 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-09-06 13:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 13:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901990912001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901990912001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:03:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":172741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:03:15] local.INFO: GPS data processed {"connection_id":172741,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:03:15] local.INFO: Acknowledgment sent {"connection_id":172741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:03:32] local.INFO: TCP Data received {"connection_id":175218,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075a19980012c49e34009e70cf00268013b26..."} 
[2026-09-06 13:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a19980012c49e34009e70cf00268013b26..."} 
[2026-09-06 13:03:32] local.INFO: Processing buffer {"connection_id":175218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a19980012c49e34009e70cf00268013b26..."} 
[2026-09-06 13:03:32] local.INFO: Packet analysis {"connection_id":175218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a1"} 
[2026-09-06 13:03:32] local.INFO: Extracted packet for processing {"connection_id":175218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a1"} 
[2026-09-06 13:03:32] local.INFO: GPS Element Parsed {"raw_longitude":743039808,"raw_latitude":166137072,"longitude_deg":74.3039808,"latitude_deg":16.6137072,"altitude":616,"angle":315,"satellites":38,"speed":54,"hex_longitude":"2c49e340","hex_latitude":"09e70cf0","is_valid_coordinates":true} 
[2026-09-06 13:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902057728001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2589985538572288,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5331276838917623810,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788679920000,"timestamp_ms":1788679920000,"timestamp_seconds":1788679920,"priority":1,"record_length":96,"hex_timestamp":"000001a075a19980"} 
[2026-09-06 13:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:03: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-09-06 13:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 13:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902057728001,"66":28126,"37":24064,"24":54,"16":2589985538572288,"44":5331276838917623810},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902057728001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:03:32] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2589985538572288,"km_value":2589985538572.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:03:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":5331276838917623810,"description":"Unknown IO ID 44"} 
[2026-09-06 13:03:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902057728001,"power":28126,"unknown_37":24064,"ignition":54,"odometer":null,"unknown_44":5331276838917623810}} 
[2026-09-06 13:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":175218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774474,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:03:32] local.INFO: GPS data processed {"connection_id":175218,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:03:32] local.INFO: Acknowledgment sent {"connection_id":175218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:03:46] local.INFO: TCP Data received {"connection_id":172741,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:03:46] local.INFO: Processing buffer {"connection_id":172741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:03:46] local.INFO: Packet analysis {"connection_id":172741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:03:46] local.INFO: Extracted packet for processing {"connection_id":172741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901990912001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679953000,"timestamp_ms":1788679953000,"timestamp_seconds":1788679953,"priority":1,"record_length":96,"hex_timestamp":"000001a075a21a68"} 
[2026-09-06 13:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:03:46] 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-09-06 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 13:03:46] 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-09-06 13:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901990912001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901990912001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:03:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":172741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:03:46] local.INFO: GPS data processed {"connection_id":172741,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:03:46] local.INFO: Acknowledgment sent {"connection_id":172741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:03:46] local.INFO: TCP Data received {"connection_id":172742,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:03:46] local.INFO: Processing buffer {"connection_id":172742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:03:46] local.INFO: IMEI packet received {"connection_id":172742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":172742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:03:48] local.INFO: TCP Data received {"connection_id":172516,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:03:48] local.INFO: Processing buffer {"connection_id":172516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:03:48] local.INFO: IMEI packet received {"connection_id":172516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":172516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:03:50] local.INFO: TCP Data received {"connection_id":172742,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:03:50] local.INFO: Processing buffer {"connection_id":172742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:03:50] local.INFO: IMEI packet received {"connection_id":172742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":172742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:03:53] local.INFO: TCP Data received {"connection_id":172516,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:03:53] local.INFO: Processing buffer {"connection_id":172516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:03:53] local.INFO: IMEI packet received {"connection_id":172516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":172516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:03:54] local.INFO: TCP Data received {"connection_id":172516,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:03:54] local.INFO: Processing buffer {"connection_id":172516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:03:54] local.INFO: Packet analysis {"connection_id":172516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:03:54] local.INFO: Extracted packet for processing {"connection_id":172516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:03:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901995776001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03: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-09-06 13:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788679972000,"timestamp_ms":1788679972000,"timestamp_seconds":1788679972,"priority":1,"record_length":96,"hex_timestamp":"000001a075a264a0"} 
[2026-09-06 13:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:03: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-09-06 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:03: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-09-06 13: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-09-06 13:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:03: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-09-06 13:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901995776001,"66":26060,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901995776001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:03:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:03:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901995776001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":172516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:03:54] local.INFO: GPS data processed {"connection_id":172516,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:03:54] local.INFO: Acknowledgment sent {"connection_id":172516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:03:54] local.INFO: TCP Data received {"connection_id":172742,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:03:54] local.INFO: Processing buffer {"connection_id":172742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:03:54] local.INFO: IMEI packet received {"connection_id":172742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":172742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:03:55] local.INFO: TCP Data received {"connection_id":172742,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075a1b4d8012c49c68009e729e00263013c28..."} 
[2026-09-06 13:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a1b4d8012c49c68009e729e00263013c28..."} 
[2026-09-06 13:03:55] local.INFO: Processing buffer {"connection_id":172742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a1b4d8012c49c68009e729e00263013c28..."} 
[2026-09-06 13:03:55] local.INFO: Packet analysis {"connection_id":172742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a1"} 
[2026-09-06 13:03:55] local.INFO: Extracted packet for processing {"connection_id":172742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a1"} 
[2026-09-06 13:03:55] local.INFO: GPS Element Parsed {"raw_longitude":743032448,"raw_latitude":166144480,"longitude_deg":74.3032448,"latitude_deg":16.614448,"altitude":611,"angle":316,"satellites":40,"speed":60,"hex_longitude":"2c49c680","hex_latitude":"09e729e0","is_valid_coordinates":true} 
[2026-09-06 13:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902059520001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2590479459811328,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5324169595757326338,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788679927000,"timestamp_ms":1788679927000,"timestamp_seconds":1788679927,"priority":1,"record_length":96,"hex_timestamp":"000001a075a1b4d8"} 
[2026-09-06 13:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:03: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-09-06 13:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-06 13:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902059520001,"66":28050,"37":24064,"24":60,"16":2590479459811328,"44":5324169595757326338},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902059520001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:03:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2590479459811328,"km_value":2590479459811.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:03:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":5324169595757326338,"description":"Unknown IO ID 44"} 
[2026-09-06 13:03:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902059520001,"power":28050,"unknown_37":24064,"ignition":60,"odometer":null,"unknown_44":5324169595757326338}} 
[2026-09-06 13:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":172742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774477,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:03:55] local.INFO: GPS data processed {"connection_id":172742,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:03:55] local.INFO: Acknowledgment sent {"connection_id":172742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:03:58] local.INFO: TCP Data received {"connection_id":172742,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075a1cc48012c49ad8009e743e00261013c2a..."} 
[2026-09-06 13:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a1cc48012c49ad8009e743e00261013c2a..."} 
[2026-09-06 13:03:58] local.INFO: Processing buffer {"connection_id":172742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a1cc48012c49ad8009e743e00261013c2a..."} 
[2026-09-06 13:03:58] local.INFO: Packet analysis {"connection_id":172742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a1"} 
[2026-09-06 13:03:58] local.INFO: Extracted packet for processing {"connection_id":172742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a1"} 
[2026-09-06 13:03:58] local.INFO: GPS Element Parsed {"raw_longitude":743026048,"raw_latitude":166151136,"longitude_deg":74.3026048,"latitude_deg":16.6151136,"altitude":609,"angle":316,"satellites":42,"speed":60,"hex_longitude":"2c49ad80","hex_latitude":"09e743e0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902061312001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2590917546475520,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5316077190178791426,"note":"Value kept but may cause issues"} 
[2026-09-06 13:03:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788679933000,"timestamp_ms":1788679933000,"timestamp_seconds":1788679933,"priority":1,"record_length":96,"hex_timestamp":"000001a075a1cc48"} 
[2026-09-06 13:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:03: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-09-06 13:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 13:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902061312001,"66":28126,"37":24064,"24":60,"16":2590917546475520,"44":5316077190178791426},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902061312001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:03:58] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2590917546475520,"km_value":2590917546475.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:03:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":5316077190178791426,"description":"Unknown IO ID 44"} 
[2026-09-06 13:03:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902061312001,"power":28126,"unknown_37":24064,"ignition":60,"odometer":null,"unknown_44":5316077190178791426}} 
[2026-09-06 13:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":172742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:03:58] local.INFO: GPS data processed {"connection_id":172742,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:03:58] local.INFO: Acknowledgment sent {"connection_id":172742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:04:09] local.INFO: TCP Data received {"connection_id":172517,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:04:09] local.INFO: Processing buffer {"connection_id":172517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:04:09] local.INFO: IMEI packet received {"connection_id":172517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":172517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:04:14] local.INFO: TCP Data received {"connection_id":172517,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:04:14] local.INFO: Processing buffer {"connection_id":172517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:04:14] local.INFO: IMEI packet received {"connection_id":172517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":172517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:04:15] local.INFO: TCP Data received {"connection_id":172517,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:04:15] local.INFO: Processing buffer {"connection_id":172517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:04:15] local.INFO: Packet analysis {"connection_id":172517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:04:15] local.INFO: Extracted packet for processing {"connection_id":172517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901990912001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679953000,"timestamp_ms":1788679953000,"timestamp_seconds":1788679953,"priority":1,"record_length":96,"hex_timestamp":"000001a075a21a68"} 
[2026-09-06 13:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:04:15] 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-09-06 13:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 13:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901990912001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901990912001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:04:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":172517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:04:15] local.INFO: GPS data processed {"connection_id":172517,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:04:15] local.INFO: Acknowledgment sent {"connection_id":172517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:04:25] local.INFO: TCP Data received {"connection_id":172516,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:04:25] local.INFO: Processing buffer {"connection_id":172516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:04:25] local.INFO: Packet analysis {"connection_id":172516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:04:25] local.INFO: Extracted packet for processing {"connection_id":172516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:04:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901995776001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788679972000,"timestamp_ms":1788679972000,"timestamp_seconds":1788679972,"priority":1,"record_length":96,"hex_timestamp":"000001a075a264a0"} 
[2026-09-06 13:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:04: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-09-06 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:04: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-09-06 13: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-09-06 13:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:04: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-09-06 13:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901995776001,"66":26060,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901995776001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:04:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:04:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901995776001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":172516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:04:25] local.INFO: GPS data processed {"connection_id":172516,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:04:25] local.INFO: Acknowledgment sent {"connection_id":172516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:04:30] local.INFO: TCP Data received {"connection_id":172742,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075a1e7a0012c4991c009e761f0025f013f28..."} 
[2026-09-06 13:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a1e7a0012c4991c009e761f0025f013f28..."} 
[2026-09-06 13:04:30] local.INFO: Processing buffer {"connection_id":172742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a1e7a0012c4991c009e761f0025f013f28..."} 
[2026-09-06 13:04:30] local.INFO: Packet analysis {"connection_id":172742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a1"} 
[2026-09-06 13:04:30] local.INFO: Extracted packet for processing {"connection_id":172742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a1"} 
[2026-09-06 13:04:30] local.INFO: GPS Element Parsed {"raw_longitude":743018944,"raw_latitude":166158832,"longitude_deg":74.3018944,"latitude_deg":16.6158832,"altitude":607,"angle":319,"satellites":40,"speed":57,"hex_longitude":"2c4991c0","hex_latitude":"09e761f0","is_valid_coordinates":true} 
[2026-09-06 13:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902062848001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2591415762681856,"note":"Value kept but may cause issues"} 
[2026-09-06 13:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5309040315762728962,"note":"Value kept but may cause issues"} 
[2026-09-06 13:04:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788679940000,"timestamp_ms":1788679940000,"timestamp_seconds":1788679940,"priority":1,"record_length":96,"hex_timestamp":"000001a075a1e7a0"} 
[2026-09-06 13:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:04: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-09-06 13:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-06 13:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902062848001,"66":28082,"37":24064,"24":57,"16":2591415762681856,"44":5309040315762728962},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902062848001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:04:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2591415762681856,"km_value":2591415762681.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":5309040315762728962,"description":"Unknown IO ID 44"} 
[2026-09-06 13:04:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902062848001,"power":28082,"unknown_37":24064,"ignition":57,"odometer":null,"unknown_44":5309040315762728962}} 
[2026-09-06 13:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":172742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774481,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:04:30] local.INFO: GPS data processed {"connection_id":172742,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:04:30] local.INFO: Acknowledgment sent {"connection_id":172742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:04:46] local.INFO: TCP Data received {"connection_id":172517,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:04:46] local.INFO: Processing buffer {"connection_id":172517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:04:46] local.INFO: Packet analysis {"connection_id":172517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:04:46] local.INFO: Extracted packet for processing {"connection_id":172517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901990912001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679953000,"timestamp_ms":1788679953000,"timestamp_seconds":1788679953,"priority":1,"record_length":96,"hex_timestamp":"000001a075a21a68"} 
[2026-09-06 13:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:04:46] 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-09-06 13: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":129,"data_length":795,"current_offset":136} 
[2026-09-06 13:04:46] 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-09-06 13: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-09-06 13:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901990912001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901990912001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:04:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":172517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:04:46] local.INFO: GPS data processed {"connection_id":172517,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:04:46] local.INFO: Acknowledgment sent {"connection_id":172517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:04:48] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:04:48] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:04:48] local.INFO: IMEI packet received {"connection_id":175219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":175219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:04:49] local.INFO: TCP Data received {"connection_id":173898,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:04:49] local.INFO: Processing buffer {"connection_id":173898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:04:49] local.INFO: IMEI packet received {"connection_id":173898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":173898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:04:53] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:04:53] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:04:53] local.INFO: IMEI packet received {"connection_id":175219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":175219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:04:54] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:04:54] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:04:54] local.INFO: Packet analysis {"connection_id":175219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:04:54] local.INFO: Extracted packet for processing {"connection_id":175219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:04:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901995776001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788679972000,"timestamp_ms":1788679972000,"timestamp_seconds":1788679972,"priority":1,"record_length":96,"hex_timestamp":"000001a075a264a0"} 
[2026-09-06 13:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:04: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-09-06 13:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:04: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-09-06 13:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:04: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-09-06 13:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901995776001,"66":26060,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901995776001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:04:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:04:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901995776001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":175219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:04:54] local.INFO: GPS data processed {"connection_id":175219,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:04:54] local.INFO: Acknowledgment sent {"connection_id":175219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:04:54] local.INFO: TCP Data received {"connection_id":173898,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:04:54] local.INFO: Processing buffer {"connection_id":173898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:04:54] local.INFO: IMEI packet received {"connection_id":173898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":173898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:04:55] local.INFO: TCP Data received {"connection_id":173898,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075a202f8012c4977c009e77f80025f013f29..."} 
[2026-09-06 13:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a202f8012c4977c009e77f80025f013f29..."} 
[2026-09-06 13:04:55] local.INFO: Processing buffer {"connection_id":173898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a202f8012c4977c009e77f80025f013f29..."} 
[2026-09-06 13:04:55] local.INFO: Packet analysis {"connection_id":173898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:04:55] local.INFO: Extracted packet for processing {"connection_id":173898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:04:55] local.INFO: GPS Element Parsed {"raw_longitude":743012288,"raw_latitude":166166400,"longitude_deg":74.3012288,"latitude_deg":16.61664,"altitude":607,"angle":319,"satellites":41,"speed":54,"hex_longitude":"2c4977c0","hex_latitude":"09e77f80","is_valid_coordinates":true} 
[2026-09-06 13:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902064640001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2591896799019008,"note":"Value kept but may cause issues"} 
[2026-09-06 13:04:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5301229385160978434,"note":"Value kept but may cause issues"} 
[2026-09-06 13:04:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788679947000,"timestamp_ms":1788679947000,"timestamp_seconds":1788679947,"priority":1,"record_length":96,"hex_timestamp":"000001a075a202f8"} 
[2026-09-06 13:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13: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-09-06 13:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 13:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902064640001,"66":28050,"37":24064,"24":54,"16":2591896799019008,"44":5301229385160978434},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902064640001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:04:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2591896799019008,"km_value":2591896799019.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:04:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":5301229385160978434,"description":"Unknown IO ID 44"} 
[2026-09-06 13:04:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902064640001,"power":28050,"unknown_37":24064,"ignition":54,"odometer":null,"unknown_44":5301229385160978434}} 
[2026-09-06 13:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":173898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774484,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:04:55] local.INFO: GPS data processed {"connection_id":173898,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:04:55] local.INFO: Acknowledgment sent {"connection_id":173898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:05:09] local.INFO: TCP Data received {"connection_id":175220,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:05:09] local.INFO: Processing buffer {"connection_id":175220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:05:09] local.INFO: IMEI packet received {"connection_id":175220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":175220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:05:14] local.INFO: TCP Data received {"connection_id":175220,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:05:14] local.INFO: Processing buffer {"connection_id":175220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:05:14] local.INFO: IMEI packet received {"connection_id":175220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":175220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:05:15] local.INFO: TCP Data received {"connection_id":175220,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:05:15] local.INFO: Processing buffer {"connection_id":175220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:05:15] local.INFO: Packet analysis {"connection_id":175220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:05:15] local.INFO: Extracted packet for processing {"connection_id":175220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901990912001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679953000,"timestamp_ms":1788679953000,"timestamp_seconds":1788679953,"priority":1,"record_length":96,"hex_timestamp":"000001a075a21a68"} 
[2026-09-06 13:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:05:15] 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-09-06 13:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 13:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901990912001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901990912001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:05:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":175220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:05:15] local.INFO: GPS data processed {"connection_id":175220,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:05:15] local.INFO: Acknowledgment sent {"connection_id":175220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:05:25] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:05:25] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:05:25] local.INFO: Packet analysis {"connection_id":175219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:05:25] local.INFO: Extracted packet for processing {"connection_id":175219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901995776001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788679972000,"timestamp_ms":1788679972000,"timestamp_seconds":1788679972,"priority":1,"record_length":96,"hex_timestamp":"000001a075a264a0"} 
[2026-09-06 13:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:05: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-09-06 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:05: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-09-06 13: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-09-06 13:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13: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-09-06 13:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901995776001,"66":26060,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901995776001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:05:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901995776001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":175219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:05:25] local.INFO: GPS data processed {"connection_id":175219,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:05:25] local.INFO: Acknowledgment sent {"connection_id":175219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:05:28] local.INFO: TCP Data received {"connection_id":173898,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075a21680012c49668009e78fe0025f01342a..."} 
[2026-09-06 13:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a21680012c49668009e78fe0025f01342a..."} 
[2026-09-06 13:05:28] local.INFO: Processing buffer {"connection_id":173898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a21680012c49668009e78fe0025f01342a..."} 
[2026-09-06 13:05:28] local.INFO: Packet analysis {"connection_id":173898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:05:28] local.INFO: Extracted packet for processing {"connection_id":173898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:05:28] local.INFO: GPS Element Parsed {"raw_longitude":743007872,"raw_latitude":166170592,"longitude_deg":74.3007872,"latitude_deg":16.6170592,"altitude":607,"angle":308,"satellites":42,"speed":40,"hex_longitude":"2c496680","hex_latitude":"09e78fe0","is_valid_coordinates":true} 
[2026-09-06 13:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902066432001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2592184561827840,"note":"Value kept but may cause issues"} 
[2026-09-06 13:05:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5293911035768438786,"note":"Value kept but may cause issues"} 
[2026-09-06 13:05:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788679952000,"timestamp_ms":1788679952000,"timestamp_seconds":1788679952,"priority":1,"record_length":96,"hex_timestamp":"000001a075a21680"} 
[2026-09-06 13:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:05: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-09-06 13:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 13:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902066432001,"66":27908,"37":24064,"24":40,"16":2592184561827840,"44":5293911035768438786},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902066432001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:05:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2592184561827840,"km_value":2592184561827.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:05:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":5293911035768438786,"description":"Unknown IO ID 44"} 
[2026-09-06 13:05:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902066432001,"power":27908,"unknown_37":24064,"ignition":40,"odometer":null,"unknown_44":5293911035768438786}} 
[2026-09-06 13:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":173898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774487,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:05:28] local.INFO: GPS data processed {"connection_id":173898,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:05:28] local.INFO: Acknowledgment sent {"connection_id":173898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:05:46] local.INFO: TCP Data received {"connection_id":175220,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:05:46] local.INFO: Processing buffer {"connection_id":175220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:05:46] local.INFO: Packet analysis {"connection_id":175220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:05:46] local.INFO: Extracted packet for processing {"connection_id":175220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901990912001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679953000,"timestamp_ms":1788679953000,"timestamp_seconds":1788679953,"priority":1,"record_length":96,"hex_timestamp":"000001a075a21a68"} 
[2026-09-06 13:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:05:46] 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-09-06 13:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 13:05:46] 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-09-06 13:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901990912001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901990912001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:05:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":175220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:05:46] local.INFO: GPS data processed {"connection_id":175220,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:05:46] local.INFO: Acknowledgment sent {"connection_id":175220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:05:48] local.INFO: TCP Data received {"connection_id":172743,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:05:48] local.INFO: Processing buffer {"connection_id":172743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:05:48] local.INFO: IMEI packet received {"connection_id":172743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":172743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:05:49] local.INFO: TCP Data received {"connection_id":172518,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:05:49] local.INFO: Processing buffer {"connection_id":172518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:05:49] local.INFO: IMEI packet received {"connection_id":172518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":172518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:05:53] local.INFO: TCP Data received {"connection_id":172743,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:05:53] local.INFO: Processing buffer {"connection_id":172743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:05:53] local.INFO: IMEI packet received {"connection_id":172743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":172743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:05:54] local.INFO: TCP Data received {"connection_id":172743,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:05:54] local.INFO: Processing buffer {"connection_id":172743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:05:54] local.INFO: Packet analysis {"connection_id":172743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:05:54] local.INFO: Extracted packet for processing {"connection_id":172743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:05:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901995776001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:05: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-09-06 13:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788679972000,"timestamp_ms":1788679972000,"timestamp_seconds":1788679972,"priority":1,"record_length":96,"hex_timestamp":"000001a075a264a0"} 
[2026-09-06 13:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:05: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-09-06 13:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:05: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-09-06 13:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:05: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-09-06 13:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901995776001,"66":26060,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901995776001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:05:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:05:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901995776001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":172743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:05:54] local.INFO: GPS data processed {"connection_id":172743,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:05:54] local.INFO: Acknowledgment sent {"connection_id":172743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:05:54] local.INFO: TCP Data received {"connection_id":172518,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:05:54] local.INFO: Processing buffer {"connection_id":172518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:05:54] local.INFO: IMEI packet received {"connection_id":172518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":172518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:05:55] local.INFO: TCP Data received {"connection_id":172518,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075a22620012c495b8009e79a300261014229..."} 
[2026-09-06 13:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a22620012c495b8009e79a300261014229..."} 
[2026-09-06 13:05:55] local.INFO: Processing buffer {"connection_id":172518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a22620012c495b8009e79a300261014229..."} 
[2026-09-06 13:05:55] local.INFO: Packet analysis {"connection_id":172518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:05:55] local.INFO: Extracted packet for processing {"connection_id":172518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:05:55] local.INFO: GPS Element Parsed {"raw_longitude":743005056,"raw_latitude":166173232,"longitude_deg":74.3005056,"latitude_deg":16.6173232,"altitude":609,"angle":322,"satellites":41,"speed":34,"hex_longitude":"2c495b80","hex_latitude":"09e79a30","is_valid_coordinates":true} 
[2026-09-06 13:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902067712001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2592369245421568,"note":"Value kept but may cause issues"} 
[2026-09-06 13:05:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5289055592421253122,"note":"Value kept but may cause issues"} 
[2026-09-06 13:05:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788679956000,"timestamp_ms":1788679956000,"timestamp_seconds":1788679956,"priority":1,"record_length":96,"hex_timestamp":"000001a075a22620"} 
[2026-09-06 13:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:05: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-09-06 13:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 13:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902067712001,"66":28028,"37":24064,"24":34,"16":2592369245421568,"44":5289055592421253122},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902067712001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:05:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2592369245421568,"km_value":2592369245421.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:05:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":5289055592421253122,"description":"Unknown IO ID 44"} 
[2026-09-06 13:05:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902067712001,"power":28028,"unknown_37":24064,"ignition":34,"odometer":null,"unknown_44":5289055592421253122}} 
[2026-09-06 13:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":172518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774490,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:05:55] local.INFO: GPS data processed {"connection_id":172518,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:05:55] local.INFO: Acknowledgment sent {"connection_id":172518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:06:09] local.INFO: TCP Data received {"connection_id":172519,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:06:09] local.INFO: Processing buffer {"connection_id":172519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:06:09] local.INFO: IMEI packet received {"connection_id":172519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":172519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:06:14] local.INFO: TCP Data received {"connection_id":172519,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:06:14] local.INFO: Processing buffer {"connection_id":172519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:06:14] local.INFO: IMEI packet received {"connection_id":172519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":172519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:06:15] local.INFO: TCP Data received {"connection_id":172519,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:06:15] local.INFO: Processing buffer {"connection_id":172519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:06:15] local.INFO: Packet analysis {"connection_id":172519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:06:15] local.INFO: Extracted packet for processing {"connection_id":172519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901990912001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679953000,"timestamp_ms":1788679953000,"timestamp_seconds":1788679953,"priority":1,"record_length":96,"hex_timestamp":"000001a075a21a68"} 
[2026-09-06 13:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:06:15] 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-09-06 13:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 13:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901990912001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901990912001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:06:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":172519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:06:15] local.INFO: GPS data processed {"connection_id":172519,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:06:15] local.INFO: Acknowledgment sent {"connection_id":172519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:06:26] local.INFO: TCP Data received {"connection_id":172743,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:06:26] local.INFO: Processing buffer {"connection_id":172743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:06:26] local.INFO: Packet analysis {"connection_id":172743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:06:26] local.INFO: Extracted packet for processing {"connection_id":172743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:06:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901995776001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788679972000,"timestamp_ms":1788679972000,"timestamp_seconds":1788679972,"priority":1,"record_length":96,"hex_timestamp":"000001a075a264a0"} 
[2026-09-06 13:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:06:26] 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-09-06 13:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:06: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-09-06 13:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901995776001,"66":26060,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901995776001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:06:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:06:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901995776001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":172743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:06:26] local.INFO: GPS data processed {"connection_id":172743,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:06:26] local.INFO: Acknowledgment sent {"connection_id":172743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:06:26] local.INFO: TCP Data received {"connection_id":172518,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075a25118012c49460009e7b620026301432b..."} 
[2026-09-06 13:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a25118012c49460009e7b620026301432b..."} 
[2026-09-06 13:06:26] local.INFO: Processing buffer {"connection_id":172518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a25118012c49460009e7b620026301432b..."} 
[2026-09-06 13:06:26] local.INFO: Packet analysis {"connection_id":172518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:06:26] local.INFO: Extracted packet for processing {"connection_id":172518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:06:26] local.INFO: GPS Element Parsed {"raw_longitude":742999552,"raw_latitude":166180384,"longitude_deg":74.2999552,"latitude_deg":16.6180384,"altitude":611,"angle":323,"satellites":43,"speed":33,"hex_longitude":"2c494600","hex_latitude":"09e7b620","is_valid_coordinates":true} 
[2026-09-06 13:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902068736001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2592798742151168,"note":"Value kept but may cause issues"} 
[2026-09-06 13:06:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5285959367678111746,"note":"Value kept but may cause issues"} 
[2026-09-06 13:06:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788679967000,"timestamp_ms":1788679967000,"timestamp_seconds":1788679967,"priority":1,"record_length":96,"hex_timestamp":"000001a075a25118"} 
[2026-09-06 13:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13: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-09-06 13:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 13:06:26] 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-09-06 13:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902068736001,"66":28191,"37":24064,"24":33,"16":2592798742151168,"44":5285959367678111746},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902068736001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:06:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2592798742151168,"km_value":2592798742151.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:06:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":5285959367678111746,"description":"Unknown IO ID 44"} 
[2026-09-06 13:06:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902068736001,"power":28191,"unknown_37":24064,"ignition":33,"odometer":null,"unknown_44":5285959367678111746}} 
[2026-09-06 13:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":172518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774493,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:06:27] local.INFO: GPS data processed {"connection_id":172518,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:06:27] local.INFO: Acknowledgment sent {"connection_id":172518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:06:46] local.INFO: TCP Data received {"connection_id":172519,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:06:46] local.INFO: Processing buffer {"connection_id":172519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:06:46] local.INFO: Packet analysis {"connection_id":172519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:06:46] local.INFO: Extracted packet for processing {"connection_id":172519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:06:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901990912001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679953000,"timestamp_ms":1788679953000,"timestamp_seconds":1788679953,"priority":1,"record_length":96,"hex_timestamp":"000001a075a21a68"} 
[2026-09-06 13:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:06:46] 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-09-06 13:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 13:06:46] 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-09-06 13:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901990912001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901990912001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:06:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":172519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:06:46] local.INFO: GPS data processed {"connection_id":172519,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:06:46] local.INFO: Acknowledgment sent {"connection_id":172519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:06:48] local.INFO: TCP Data received {"connection_id":173899,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:06:48] local.INFO: Processing buffer {"connection_id":173899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:06:48] local.INFO: IMEI packet received {"connection_id":173899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":173899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:06:49] local.INFO: TCP Data received {"connection_id":172744,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:06:49] local.INFO: Processing buffer {"connection_id":172744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:06:49] local.INFO: IMEI packet received {"connection_id":172744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":172744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:06:53] local.INFO: TCP Data received {"connection_id":173899,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:06:53] local.INFO: Processing buffer {"connection_id":173899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:06:53] local.INFO: IMEI packet received {"connection_id":173899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":173899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:06:54] local.INFO: TCP Data received {"connection_id":173899,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:06:54] local.INFO: Processing buffer {"connection_id":173899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:06:54] local.INFO: Packet analysis {"connection_id":173899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:06:54] local.INFO: Extracted packet for processing {"connection_id":173899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:06:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901995776001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788679972000,"timestamp_ms":1788679972000,"timestamp_seconds":1788679972,"priority":1,"record_length":96,"hex_timestamp":"000001a075a264a0"} 
[2026-09-06 13:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:06: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-09-06 13:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:06: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-09-06 13:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:06: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-09-06 13:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901995776001,"66":26060,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901995776001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:06:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:06:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901995776001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":173899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:06:54] local.INFO: GPS data processed {"connection_id":173899,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:06:54] local.INFO: Acknowledgment sent {"connection_id":173899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:06:54] local.INFO: TCP Data received {"connection_id":172744,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:06:54] local.INFO: Processing buffer {"connection_id":172744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:06:54] local.INFO: IMEI packet received {"connection_id":172744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":172744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:06:55] local.INFO: TCP Data received {"connection_id":172744,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075a27c10012c492ec009e7d3800263014229..."} 
[2026-09-06 13:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a27c10012c492ec009e7d3800263014229..."} 
[2026-09-06 13:06:55] local.INFO: Processing buffer {"connection_id":172744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a27c10012c492ec009e7d3800263014229..."} 
[2026-09-06 13:06:55] local.INFO: Packet analysis {"connection_id":172744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:06:55] local.INFO: Extracted packet for processing {"connection_id":172744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:06:55] local.INFO: GPS Element Parsed {"raw_longitude":742993600,"raw_latitude":166187904,"longitude_deg":74.29936,"latitude_deg":16.6187904,"altitude":611,"angle":322,"satellites":41,"speed":35,"hex_longitude":"2c492ec0","hex_latitude":"09e7d380","is_valid_coordinates":true} 
[2026-09-06 13:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902071552001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2593258303651840,"note":"Value kept but may cause issues"} 
[2026-09-06 13:06:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5279907655680663554,"note":"Value kept but may cause issues"} 
[2026-09-06 13:06:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788679978000,"timestamp_ms":1788679978000,"timestamp_seconds":1788679978,"priority":1,"record_length":96,"hex_timestamp":"000001a075a27c10"} 
[2026-09-06 13:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:06: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-09-06 13:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 13:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902071552001,"66":27876,"37":24064,"24":35,"16":2593258303651840,"44":5279907655680663554},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902071552001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:06:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2593258303651840,"km_value":2593258303651.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:06:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":5279907655680663554,"description":"Unknown IO ID 44"} 
[2026-09-06 13:06:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902071552001,"power":27876,"unknown_37":24064,"ignition":35,"odometer":null,"unknown_44":5279907655680663554}} 
[2026-09-06 13:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":172744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774496,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:06:55] local.INFO: GPS data processed {"connection_id":172744,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:06:55] local.INFO: Acknowledgment sent {"connection_id":172744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:07:09] local.INFO: TCP Data received {"connection_id":172520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:07:09] local.INFO: Processing buffer {"connection_id":172520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:07:09] local.INFO: IMEI packet received {"connection_id":172520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":172520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:07:14] local.INFO: TCP Data received {"connection_id":172520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:07:14] local.INFO: Processing buffer {"connection_id":172520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:07:14] local.INFO: IMEI packet received {"connection_id":172520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":172520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:07:15] local.INFO: TCP Data received {"connection_id":172520,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:07:15] local.INFO: Processing buffer {"connection_id":172520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:07:15] local.INFO: Packet analysis {"connection_id":172520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:07:15] local.INFO: Extracted packet for processing {"connection_id":172520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901990912001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788679953000,"timestamp_ms":1788679953000,"timestamp_seconds":1788679953,"priority":1,"record_length":96,"hex_timestamp":"000001a075a21a68"} 
[2026-09-06 13:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:07:15] 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-09-06 13:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 13:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:07:15] 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-09-06 13:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901990912001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901990912001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:07:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:07:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":172520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:07:15] local.INFO: GPS data processed {"connection_id":172520,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:07:15] local.INFO: Acknowledgment sent {"connection_id":172520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:07:26] local.INFO: TCP Data received {"connection_id":173899,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:07:26] local.INFO: Processing buffer {"connection_id":173899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:07:26] local.INFO: Packet analysis {"connection_id":173899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:07:26] local.INFO: Extracted packet for processing {"connection_id":173899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:07:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901995776001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788679972000,"timestamp_ms":1788679972000,"timestamp_seconds":1788679972,"priority":1,"record_length":96,"hex_timestamp":"000001a075a264a0"} 
[2026-09-06 13:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:07:26] 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-09-06 13:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:07: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-09-06 13:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901995776001,"66":26060,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901995776001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:07:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:07:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901995776001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":173899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:07:26] local.INFO: GPS data processed {"connection_id":173899,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:07:26] local.INFO: Acknowledgment sent {"connection_id":173899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:07:27] local.INFO: TCP Data received {"connection_id":172744,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075a2a320012c49170009e7f100026101402a..."} 
[2026-09-06 13:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a2a320012c49170009e7f100026101402a..."} 
[2026-09-06 13:07:27] local.INFO: Processing buffer {"connection_id":172744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a2a320012c49170009e7f100026101402a..."} 
[2026-09-06 13:07:27] local.INFO: Packet analysis {"connection_id":172744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:07:27] local.INFO: Extracted packet for processing {"connection_id":172744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:07:27] local.INFO: GPS Element Parsed {"raw_longitude":742987520,"raw_latitude":166195456,"longitude_deg":74.298752,"latitude_deg":16.6195456,"altitude":609,"angle":320,"satellites":42,"speed":32,"hex_longitude":"2c491700","hex_latitude":"09e7f100","is_valid_coordinates":true} 
[2026-09-06 13:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902074368001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2593722160119808,"note":"Value kept but may cause issues"} 
[2026-09-06 13:07:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5273363362474065922,"note":"Value kept but may cause issues"} 
[2026-09-06 13:07:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788679988000,"timestamp_ms":1788679988000,"timestamp_seconds":1788679988,"priority":1,"record_length":96,"hex_timestamp":"000001a075a2a320"} 
[2026-09-06 13:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:07: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-09-06 13:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 13:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902074368001,"66":28104,"37":24064,"24":32,"16":2593722160119808,"44":5273363362474065922},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902074368001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:07:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2593722160119808,"km_value":2593722160119.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:07:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":5273363362474065922,"description":"Unknown IO ID 44"} 
[2026-09-06 13:07:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902074368001,"power":28104,"unknown_37":24064,"ignition":32,"odometer":null,"unknown_44":5273363362474065922}} 
[2026-09-06 13:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":172744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774499,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:07:27] local.INFO: GPS data processed {"connection_id":172744,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:07:27] local.INFO: Acknowledgment sent {"connection_id":172744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:07:46] local.INFO: TCP Data received {"connection_id":172520,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:07:46] local.INFO: Processing buffer {"connection_id":172520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a21a68012d196540071fef68003b011024..."} 
[2026-09-06 13:07:46] local.INFO: Packet analysis {"connection_id":172520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:07:46] local.INFO: Extracted packet for processing {"connection_id":172520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901990912001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788679953000,"timestamp_ms":1788679953000,"timestamp_seconds":1788679953,"priority":1,"record_length":96,"hex_timestamp":"000001a075a21a68"} 
[2026-09-06 13:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:07:46] 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-09-06 13:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-06 13:07:46] 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-09-06 13:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:07:46] 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-09-06 13:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901990912001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901990912001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:07:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":172520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:07:46] local.INFO: GPS data processed {"connection_id":172520,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:07:46] local.INFO: Acknowledgment sent {"connection_id":172520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:07:53] local.INFO: TCP Data received {"connection_id":173900,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:07:53] local.INFO: Processing buffer {"connection_id":173900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:07:53] local.INFO: IMEI packet received {"connection_id":173900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":173900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:07:54] local.INFO: TCP Data received {"connection_id":173901,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:07:54] local.INFO: Processing buffer {"connection_id":173901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:07:54] local.INFO: IMEI packet received {"connection_id":173901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":173901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:07:58] local.INFO: TCP Data received {"connection_id":173901,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:07:58] local.INFO: Processing buffer {"connection_id":173901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:07:58] local.INFO: IMEI packet received {"connection_id":173901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":173901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:07:58] local.INFO: TCP Data received {"connection_id":173900,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:07:58] local.INFO: Processing buffer {"connection_id":173900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:07:58] local.INFO: IMEI packet received {"connection_id":173900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":173900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:07:59] local.INFO: TCP Data received {"connection_id":173900,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:07:59] local.INFO: Processing buffer {"connection_id":173900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:07:59] local.INFO: Packet analysis {"connection_id":173900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:07:59] local.INFO: Extracted packet for processing {"connection_id":173900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901995776001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:07: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-09-06 13:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788679972000,"timestamp_ms":1788679972000,"timestamp_seconds":1788679972,"priority":1,"record_length":96,"hex_timestamp":"000001a075a264a0"} 
[2026-09-06 13:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:07:59] 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-09-06 13:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901995776001,"66":26060,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901995776001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:07:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:07:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901995776001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":173900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:07:59] local.INFO: GPS data processed {"connection_id":173900,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:07:59] local.INFO: Acknowledgment sent {"connection_id":173900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:07:59] local.INFO: TCP Data received {"connection_id":173901,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:07:59] local.INFO: Processing buffer {"connection_id":173901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:07:59] local.INFO: IMEI packet received {"connection_id":173901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":173901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:08:01] local.INFO: TCP Data received {"connection_id":173901,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075a60650012c4908c009e7fff00260013529..."} 
[2026-09-06 13:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a60650012c4908c009e7fff00260013529..."} 
[2026-09-06 13:08:01] local.INFO: Processing buffer {"connection_id":173901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a60650012c4908c009e7fff00260013529..."} 
[2026-09-06 13:08:01] local.INFO: Packet analysis {"connection_id":173901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:08:01] local.INFO: Extracted packet for processing {"connection_id":173901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:08:01] local.INFO: GPS Element Parsed {"raw_longitude":742983872,"raw_latitude":166199280,"longitude_deg":74.2983872,"latitude_deg":16.619928,"altitude":608,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2c4908c0","hex_latitude":"09e7fff0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902128384001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2593975563190272,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5262667313361973250,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788680210000,"timestamp_ms":1788680210000,"timestamp_seconds":1788680210,"priority":1,"record_length":96,"hex_timestamp":"000001a075a60650"} 
[2026-09-06 13:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:08: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-09-06 13: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 13:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902128384001,"66":27952,"37":24064,"24":0,"16":2593975563190272,"44":5262667313361973250},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902128384001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:08:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2593975563190272,"km_value":2593975563190.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:08:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":5262667313361973250,"description":"Unknown IO ID 44"} 
[2026-09-06 13:08:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902128384001,"power":27952,"unknown_37":24064,"ignition":0,"odometer":null,"unknown_44":5262667313361973250}} 
[2026-09-06 13:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":173901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774502,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:08:01] local.INFO: GPS data processed {"connection_id":173901,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:08:01] local.INFO: Acknowledgment sent {"connection_id":173901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:08:03] local.INFO: TCP Data received {"connection_id":173900,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:08:03] local.INFO: Processing buffer {"connection_id":173900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a264a0012d34c48006aa3e58000900a72c..."} 
[2026-09-06 13:08:03] local.INFO: Packet analysis {"connection_id":173900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:08:03] local.INFO: Extracted packet for processing {"connection_id":173900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a2"} 
[2026-09-06 13:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":44,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457901995776001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08: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-09-06 13:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788679972000,"timestamp_ms":1788679972000,"timestamp_seconds":1788679972,"priority":1,"record_length":96,"hex_timestamp":"000001a075a264a0"} 
[2026-09-06 13:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:08:03] 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-09-06 13:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457901995776001,"66":26060,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457901995776001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:08:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457901995776001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":173900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:08:03] local.INFO: GPS data processed {"connection_id":173900,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:08:03] local.INFO: Acknowledgment sent {"connection_id":173900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:08:06] local.INFO: TCP Data received {"connection_id":173901,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075a62978012c48f58009e80ae00261015e29..."} 
[2026-09-06 13:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a62978012c48f58009e80ae00261015e29..."} 
[2026-09-06 13:08:06] local.INFO: Processing buffer {"connection_id":173901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a62978012c48f58009e80ae00261015e29..."} 
[2026-09-06 13:08:06] local.INFO: Packet analysis {"connection_id":173901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:08:06] local.INFO: Extracted packet for processing {"connection_id":173901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:08:06] local.INFO: GPS Element Parsed {"raw_longitude":742978944,"raw_latitude":166202080,"longitude_deg":74.2978944,"latitude_deg":16.620208,"altitude":609,"angle":350,"satellites":41,"speed":4,"hex_longitude":"2c48f580","hex_latitude":"09e80ae0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902133760001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2594241851162624,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5262667313361973250,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788680219000,"timestamp_ms":1788680219000,"timestamp_seconds":1788680219,"priority":1,"record_length":96,"hex_timestamp":"000001a075a62978"} 
[2026-09-06 13:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:08: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-09-06 13: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-06 13:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902133760001,"66":28148,"37":24064,"24":4,"16":2594241851162624,"44":5262667313361973250},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902133760001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:08:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2594241851162624,"km_value":2594241851162.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:08:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":5262667313361973250,"description":"Unknown IO ID 44"} 
[2026-09-06 13:08:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902133760001,"power":28148,"unknown_37":24064,"ignition":4,"odometer":null,"unknown_44":5262667313361973250}} 
[2026-09-06 13:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":173901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774504,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:08:06] local.INFO: GPS data processed {"connection_id":173901,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:08:06] local.INFO: Acknowledgment sent {"connection_id":173901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:08:12] local.INFO: TCP Data received {"connection_id":172521,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:08:12] local.INFO: Processing buffer {"connection_id":172521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:08:12] local.INFO: IMEI packet received {"connection_id":172521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":172521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:08:14] local.INFO: TCP Data received {"connection_id":172521,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:08:14] local.INFO: Processing buffer {"connection_id":172521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:08:14] local.INFO: IMEI packet received {"connection_id":172521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":172521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:08:19] local.INFO: TCP Data received {"connection_id":172521,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:08:19] local.INFO: Processing buffer {"connection_id":172521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:08:19] local.INFO: IMEI packet received {"connection_id":172521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":172521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:08:20] local.INFO: TCP Data received {"connection_id":172521,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:08:20] local.INFO: Processing buffer {"connection_id":172521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:08:20] local.INFO: Packet analysis {"connection_id":172521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:08:20] local.INFO: Extracted packet for processing {"connection_id":172521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:08:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902067968001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788680254000,"timestamp_ms":1788680254000,"timestamp_seconds":1788680254,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6b230"} 
[2026-09-06 13:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:08:20] 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-09-06 13:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:08:20] 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-09-06 13:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902067968001,"66":2155,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902067968001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:08:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:08:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902067968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":172521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:08:20] local.INFO: GPS data processed {"connection_id":172521,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:08:20] local.INFO: Acknowledgment sent {"connection_id":172521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:08:48] local.INFO: TCP Data received {"connection_id":175221,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:08:48] local.INFO: Processing buffer {"connection_id":175221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:08:48] local.INFO: IMEI packet received {"connection_id":175221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":175221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:08:49] local.INFO: TCP Data received {"connection_id":175222,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:08:49] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:08:49] local.INFO: IMEI packet received {"connection_id":175222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":175222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:08:51] local.INFO: TCP Data received {"connection_id":172521,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:08:51] local.INFO: Processing buffer {"connection_id":172521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:08:51] local.INFO: Packet analysis {"connection_id":172521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:08:51] local.INFO: Extracted packet for processing {"connection_id":172521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902067968001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08: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-09-06 13:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788680254000,"timestamp_ms":1788680254000,"timestamp_seconds":1788680254,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6b230"} 
[2026-09-06 13:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:08:51] 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-09-06 13:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902067968001,"66":2155,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902067968001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:08:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902067968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":172521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:08:51] local.INFO: GPS data processed {"connection_id":172521,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:08:51] local.INFO: Acknowledgment sent {"connection_id":172521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:08:52] local.INFO: TCP Data received {"connection_id":175222,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:08:52] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:08:52] local.INFO: IMEI packet received {"connection_id":175222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":175222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:08:53] local.INFO: TCP Data received {"connection_id":175221,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:08:53] local.INFO: Processing buffer {"connection_id":175221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:08:53] local.INFO: IMEI packet received {"connection_id":175221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":175221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:08:54] local.INFO: TCP Data received {"connection_id":175221,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:08:54] local.INFO: Processing buffer {"connection_id":175221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:08:54] local.INFO: Packet analysis {"connection_id":175221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:08:54] local.INFO: Extracted packet for processing {"connection_id":175221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:08:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902072832001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08: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-09-06 13:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788680273000,"timestamp_ms":1788680273000,"timestamp_seconds":1788680273,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6fc68"} 
[2026-09-06 13:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:08: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-09-06 13:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:08: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-09-06 13:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902072832001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902072832001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:08:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:08:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902072832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":175221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:08:54] local.INFO: GPS data processed {"connection_id":175221,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:08:54] local.INFO: Acknowledgment sent {"connection_id":175221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:08:55] local.INFO: TCP Data received {"connection_id":175222,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:08:55] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:08:55] local.INFO: IMEI packet received {"connection_id":175222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":175222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:08:56] local.INFO: TCP Data received {"connection_id":175222,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075a63918012c48f4c009e80d800261014c2a..."} 
[2026-09-06 13:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a63918012c48f4c009e80d800261014c2a..."} 
[2026-09-06 13:08:56] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a63918012c48f4c009e80d800261014c2a..."} 
[2026-09-06 13:08:56] local.INFO: Packet analysis {"connection_id":175222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:08:56] local.INFO: Extracted packet for processing {"connection_id":175222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:08:56] local.INFO: GPS Element Parsed {"raw_longitude":742978752,"raw_latitude":166202752,"longitude_deg":74.2978752,"latitude_deg":16.6202752,"altitude":609,"angle":332,"satellites":42,"speed":11,"hex_longitude":"2c48f4c0","hex_latitude":"09e80d80","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902136064001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2594276210900992,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5257248920061009922,"note":"Value kept but may cause issues"} 
[2026-09-06 13:08:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788680223000,"timestamp_ms":1788680223000,"timestamp_seconds":1788680223,"priority":1,"record_length":96,"hex_timestamp":"000001a075a63918"} 
[2026-09-06 13:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:08: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-09-06 13: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-06 13:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902136064001,"66":28028,"37":24064,"24":11,"16":2594276210900992,"44":5257248920061009922},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902136064001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:08:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2594276210900992,"km_value":2594276210900.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:08:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5257248920061009922,"description":"Unknown IO ID 44"} 
[2026-09-06 13:08:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902136064001,"power":28028,"unknown_37":24064,"ignition":11,"odometer":null,"unknown_44":5257248920061009922}} 
[2026-09-06 13:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":175222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774508,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:08:56] local.INFO: GPS data processed {"connection_id":175222,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:08:56] local.INFO: Acknowledgment sent {"connection_id":175222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:09:09] local.INFO: TCP Data received {"connection_id":172745,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:09:09] local.INFO: Processing buffer {"connection_id":172745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:09:09] local.INFO: IMEI packet received {"connection_id":172745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":172745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:09:14] local.INFO: TCP Data received {"connection_id":172745,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:09:14] local.INFO: Processing buffer {"connection_id":172745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:09:14] local.INFO: IMEI packet received {"connection_id":172745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":172745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:09:15] local.INFO: TCP Data received {"connection_id":172745,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:09:15] local.INFO: Processing buffer {"connection_id":172745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:09:15] local.INFO: Packet analysis {"connection_id":172745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:09:15] local.INFO: Extracted packet for processing {"connection_id":172745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902067968001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788680254000,"timestamp_ms":1788680254000,"timestamp_seconds":1788680254,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6b230"} 
[2026-09-06 13:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:09:15] 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-09-06 13:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:09:15] 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-09-06 13:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902067968001,"66":2155,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902067968001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:09:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902067968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":172745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:09:15] local.INFO: GPS data processed {"connection_id":172745,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:09:15] local.INFO: Acknowledgment sent {"connection_id":172745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:09:27] local.INFO: TCP Data received {"connection_id":175221,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:09:27] local.INFO: Processing buffer {"connection_id":175221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:09:27] local.INFO: Packet analysis {"connection_id":175221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:09:27] local.INFO: Extracted packet for processing {"connection_id":175221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:09:27] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902072832001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:09: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-09-06 13:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788680273000,"timestamp_ms":1788680273000,"timestamp_seconds":1788680273,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6fc68"} 
[2026-09-06 13:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902072832001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902072832001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:09:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:09:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902072832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":175221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:09:27] local.INFO: GPS data processed {"connection_id":175221,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:09:27] local.INFO: Acknowledgment sent {"connection_id":175221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:09:28] local.INFO: TCP Data received {"connection_id":175222,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075a640e8012c48f34009e80f800261013729..."} 
[2026-09-06 13:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a640e8012c48f34009e80f800261013729..."} 
[2026-09-06 13:09:28] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a640e8012c48f34009e80f800261013729..."} 
[2026-09-06 13:09:28] local.INFO: Packet analysis {"connection_id":175222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:09:28] local.INFO: Extracted packet for processing {"connection_id":175222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:09:28] local.INFO: GPS Element Parsed {"raw_longitude":742978368,"raw_latitude":166203264,"longitude_deg":74.2978368,"latitude_deg":16.6203264,"altitude":609,"angle":311,"satellites":41,"speed":14,"hex_longitude":"2c48f340","hex_latitude":"09e80f80","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902137088001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2594306275672064,"note":"Value kept but may cause issues"} 
[2026-09-06 13:09:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5257037813828648962,"note":"Value kept but may cause issues"} 
[2026-09-06 13:09:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788680225000,"timestamp_ms":1788680225000,"timestamp_seconds":1788680225,"priority":1,"record_length":96,"hex_timestamp":"000001a075a640e8"} 
[2026-09-06 13:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:09: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-09-06 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 13:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902137088001,"66":28050,"37":24064,"24":14,"16":2594306275672064,"44":5257037813828648962},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,24,16,44]} 
[2026-09-06 13:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902137088001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:09:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2594306275672064,"km_value":2594306275672.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:09:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":5257037813828648962,"description":"Unknown IO ID 44"} 
[2026-09-06 13:09:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902137088001,"power":28050,"unknown_37":24064,"ignition":14,"odometer":null,"unknown_44":5257037813828648962}} 
[2026-09-06 13:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":175222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774511,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:09:28] local.INFO: GPS data processed {"connection_id":175222,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:09:28] local.INFO: Acknowledgment sent {"connection_id":175222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:09:46] local.INFO: TCP Data received {"connection_id":172745,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:09:46] local.INFO: Processing buffer {"connection_id":172745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:09:46] local.INFO: Packet analysis {"connection_id":172745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:09:46] local.INFO: Extracted packet for processing {"connection_id":172745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902067968001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788680254000,"timestamp_ms":1788680254000,"timestamp_seconds":1788680254,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6b230"} 
[2026-09-06 13:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:09:46] 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-09-06 13:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:09:46] 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-09-06 13:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902067968001,"66":2155,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902067968001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:09:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902067968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":172745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:09:46] local.INFO: GPS data processed {"connection_id":172745,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:09:46] local.INFO: Acknowledgment sent {"connection_id":172745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:09:48] local.INFO: TCP Data received {"connection_id":172746,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:09:48] local.INFO: Processing buffer {"connection_id":172746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:09:48] local.INFO: IMEI packet received {"connection_id":172746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":172746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:09:53] local.INFO: TCP Data received {"connection_id":172746,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:09:53] local.INFO: Processing buffer {"connection_id":172746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:09:53] local.INFO: IMEI packet received {"connection_id":172746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":172746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:09:54] local.INFO: TCP Data received {"connection_id":172746,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:09:54] local.INFO: Processing buffer {"connection_id":172746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:09:54] local.INFO: Packet analysis {"connection_id":172746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:09:54] local.INFO: Extracted packet for processing {"connection_id":172746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:09:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902072832001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:09: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-09-06 13:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788680273000,"timestamp_ms":1788680273000,"timestamp_seconds":1788680273,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6fc68"} 
[2026-09-06 13:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:09: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-09-06 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:09: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-09-06 13:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902072832001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902072832001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:09:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:09:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902072832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":172746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:09:54] local.INFO: GPS data processed {"connection_id":172746,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:09:54] local.INFO: Acknowledgment sent {"connection_id":172746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:10:09] local.INFO: TCP Data received {"connection_id":172747,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:10:09] local.INFO: Processing buffer {"connection_id":172747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:10:09] local.INFO: IMEI packet received {"connection_id":172747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":172747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:10:14] local.INFO: TCP Data received {"connection_id":172747,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:10:14] local.INFO: Processing buffer {"connection_id":172747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:10:14] local.INFO: IMEI packet received {"connection_id":172747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":172747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:10:14] local.INFO: TCP Data received {"connection_id":172747,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:10:14] local.INFO: Processing buffer {"connection_id":172747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:10:14] local.INFO: Packet analysis {"connection_id":172747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:10:14] local.INFO: Extracted packet for processing {"connection_id":172747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:10:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902067968001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:10: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-09-06 13:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788680254000,"timestamp_ms":1788680254000,"timestamp_seconds":1788680254,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6b230"} 
[2026-09-06 13:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:10:14] 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-09-06 13:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:10:14] 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-09-06 13:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902067968001,"66":2155,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902067968001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:10:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:10:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902067968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":172747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:10:14] local.INFO: GPS data processed {"connection_id":172747,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:10:14] local.INFO: Acknowledgment sent {"connection_id":172747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:10:25] local.INFO: TCP Data received {"connection_id":172746,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:10:25] local.INFO: Processing buffer {"connection_id":172746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:10:25] local.INFO: Packet analysis {"connection_id":172746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:10:25] local.INFO: Extracted packet for processing {"connection_id":172746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:10:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902072832001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788680273000,"timestamp_ms":1788680273000,"timestamp_seconds":1788680273,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6fc68"} 
[2026-09-06 13:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:10: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-09-06 13:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902072832001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902072832001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:10:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:10:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902072832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":172746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:10:25] local.INFO: GPS data processed {"connection_id":172746,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:10:25] local.INFO: Acknowledgment sent {"connection_id":172746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:10:34] local.INFO: TCP Data received {"connection_id":172522,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:10:34] local.INFO: Processing buffer {"connection_id":172522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:10:34] local.INFO: IMEI packet received {"connection_id":172522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":172522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:10:35] local.INFO: TCP Data received {"connection_id":172522,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:10:35] local.INFO: Processing buffer {"connection_id":172522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:10:35] local.INFO: IMEI packet received {"connection_id":172522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":172522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:10:45] local.INFO: TCP Data received {"connection_id":172747,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:10:45] local.INFO: Processing buffer {"connection_id":172747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:10:45] local.INFO: Packet analysis {"connection_id":172747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:10:45] local.INFO: Extracted packet for processing {"connection_id":172747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:10:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902067968001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:10: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-09-06 13:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788680254000,"timestamp_ms":1788680254000,"timestamp_seconds":1788680254,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6b230"} 
[2026-09-06 13:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:10:45] 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-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:10: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-09-06 13: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-09-06 13:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:10:45] 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-09-06 13:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902067968001,"66":2155,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902067968001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:10:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:10:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902067968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":172747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:10:45] local.INFO: GPS data processed {"connection_id":172747,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:10:45] local.INFO: Acknowledgment sent {"connection_id":172747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:10:48] local.INFO: TCP Data received {"connection_id":175223,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:10:48] local.INFO: Processing buffer {"connection_id":175223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:10:48] local.INFO: IMEI packet received {"connection_id":175223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":175223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:10:53] local.INFO: TCP Data received {"connection_id":175223,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:10:53] local.INFO: Processing buffer {"connection_id":175223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:10:53] local.INFO: IMEI packet received {"connection_id":175223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":175223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:10:54] local.INFO: TCP Data received {"connection_id":175223,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:10:54] local.INFO: Processing buffer {"connection_id":175223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:10:54] local.INFO: Packet analysis {"connection_id":175223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:10:54] local.INFO: Extracted packet for processing {"connection_id":175223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:10:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902072832001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788680273000,"timestamp_ms":1788680273000,"timestamp_seconds":1788680273,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6fc68"} 
[2026-09-06 13:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:10: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-09-06 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:10: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-09-06 13:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902072832001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902072832001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:10:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:10:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902072832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":175223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:10:54] local.INFO: GPS data processed {"connection_id":175223,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:10:54] local.INFO: Acknowledgment sent {"connection_id":175223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:11:09] local.INFO: TCP Data received {"connection_id":172523,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:11:09] local.INFO: Processing buffer {"connection_id":172523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:11:09] local.INFO: IMEI packet received {"connection_id":172523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":172523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:11:14] local.INFO: TCP Data received {"connection_id":172523,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:11:14] local.INFO: Processing buffer {"connection_id":172523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:11:14] local.INFO: IMEI packet received {"connection_id":172523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":172523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:11:14] local.INFO: TCP Data received {"connection_id":172523,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:11:14] local.INFO: Processing buffer {"connection_id":172523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:11:14] local.INFO: Packet analysis {"connection_id":172523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:11:14] local.INFO: Extracted packet for processing {"connection_id":172523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:11:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902067968001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:11: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-09-06 13:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788680254000,"timestamp_ms":1788680254000,"timestamp_seconds":1788680254,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6b230"} 
[2026-09-06 13:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:11:14] 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-09-06 13:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:11: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-09-06 13:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:11:14] 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-09-06 13:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902067968001,"66":2155,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902067968001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:11:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:11:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902067968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":172523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:11:14] local.INFO: GPS data processed {"connection_id":172523,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:11:14] local.INFO: Acknowledgment sent {"connection_id":172523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:11:25] local.INFO: TCP Data received {"connection_id":175223,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:11:25] local.INFO: Processing buffer {"connection_id":175223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:11:25] local.INFO: Packet analysis {"connection_id":175223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:11:25] local.INFO: Extracted packet for processing {"connection_id":175223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:11:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902072832001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788680273000,"timestamp_ms":1788680273000,"timestamp_seconds":1788680273,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6fc68"} 
[2026-09-06 13:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:11: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-09-06 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902072832001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902072832001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:11:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:11:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902072832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":175223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:11:25] local.INFO: GPS data processed {"connection_id":175223,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:11:25] local.INFO: Acknowledgment sent {"connection_id":175223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:11:46] local.INFO: TCP Data received {"connection_id":172523,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:11:46] local.INFO: Processing buffer {"connection_id":172523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:11:46] local.INFO: Packet analysis {"connection_id":172523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:11:46] local.INFO: Extracted packet for processing {"connection_id":172523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:11:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902067968001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788680254000,"timestamp_ms":1788680254000,"timestamp_seconds":1788680254,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6b230"} 
[2026-09-06 13:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:11:46] 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-09-06 13:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:11:46] 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-09-06 13:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902067968001,"66":2155,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902067968001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:11:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:11:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902067968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":172523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:11:46] local.INFO: GPS data processed {"connection_id":172523,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:11:46] local.INFO: Acknowledgment sent {"connection_id":172523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:11:47] local.INFO: TCP Data received {"connection_id":172748,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:11:47] local.INFO: Processing buffer {"connection_id":172748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:11:47] local.INFO: IMEI packet received {"connection_id":172748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":172748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:11:53] local.INFO: TCP Data received {"connection_id":172748,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:11:53] local.INFO: Processing buffer {"connection_id":172748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:11:53] local.INFO: IMEI packet received {"connection_id":172748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":172748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:11:54] local.INFO: TCP Data received {"connection_id":172748,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:11:54] local.INFO: Processing buffer {"connection_id":172748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:11:54] local.INFO: Packet analysis {"connection_id":172748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:11:54] local.INFO: Extracted packet for processing {"connection_id":172748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902072832001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788680273000,"timestamp_ms":1788680273000,"timestamp_seconds":1788680273,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6fc68"} 
[2026-09-06 13:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:11: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-09-06 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:11: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-09-06 13:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902072832001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902072832001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:11:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:11:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902072832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":172748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:11:54] local.INFO: GPS data processed {"connection_id":172748,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:11:54] local.INFO: Acknowledgment sent {"connection_id":172748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:12:09] local.INFO: TCP Data received {"connection_id":172524,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:12:09] local.INFO: Processing buffer {"connection_id":172524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:12:09] local.INFO: IMEI packet received {"connection_id":172524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":172524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:12:14] local.INFO: TCP Data received {"connection_id":172524,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:12:14] local.INFO: Processing buffer {"connection_id":172524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:12:14] local.INFO: IMEI packet received {"connection_id":172524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":172524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:12:15] local.INFO: TCP Data received {"connection_id":172524,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:12:15] local.INFO: Processing buffer {"connection_id":172524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:12:15] local.INFO: Packet analysis {"connection_id":172524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:12:15] local.INFO: Extracted packet for processing {"connection_id":172524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902067968001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788680254000,"timestamp_ms":1788680254000,"timestamp_seconds":1788680254,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6b230"} 
[2026-09-06 13:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:12:15] 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-09-06 13:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:12:15] 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-09-06 13:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902067968001,"66":2155,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902067968001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:12:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902067968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":172524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:12:15] local.INFO: GPS data processed {"connection_id":172524,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:12:15] local.INFO: Acknowledgment sent {"connection_id":172524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:12:26] local.INFO: TCP Data received {"connection_id":172748,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:12:26] local.INFO: Processing buffer {"connection_id":172748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:12:26] local.INFO: Packet analysis {"connection_id":172748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:12:26] local.INFO: Extracted packet for processing {"connection_id":172748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:12:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902072832001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:12: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-09-06 13:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788680273000,"timestamp_ms":1788680273000,"timestamp_seconds":1788680273,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6fc68"} 
[2026-09-06 13:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:12: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-09-06 13:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902072832001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902072832001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:12:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:12:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902072832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":172748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:12:26] local.INFO: GPS data processed {"connection_id":172748,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:12:26] local.INFO: Acknowledgment sent {"connection_id":172748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:12:46] local.INFO: TCP Data received {"connection_id":172524,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:12:46] local.INFO: Processing buffer {"connection_id":172524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6b230012d196540071fef68003b011027..."} 
[2026-09-06 13:12:46] local.INFO: Packet analysis {"connection_id":172524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:12:46] local.INFO: Extracted packet for processing {"connection_id":172524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902067968001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788680254000,"timestamp_ms":1788680254000,"timestamp_seconds":1788680254,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6b230"} 
[2026-09-06 13:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:12:46] 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-09-06 13:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:12:46] 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-09-06 13:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902067968001,"66":2155,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902067968001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:12:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:12:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902067968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":172524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:12:46] local.INFO: GPS data processed {"connection_id":172524,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:12:46] local.INFO: Acknowledgment sent {"connection_id":172524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:12:53] local.INFO: TCP Data received {"connection_id":175224,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:12:53] local.INFO: Processing buffer {"connection_id":175224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:12:53] local.INFO: IMEI packet received {"connection_id":175224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":175224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:12:58] local.INFO: TCP Data received {"connection_id":175224,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:12:58] local.INFO: Processing buffer {"connection_id":175224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:12:58] local.INFO: IMEI packet received {"connection_id":175224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":175224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:13:00] local.INFO: TCP Data received {"connection_id":175224,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:13:00] local.INFO: Processing buffer {"connection_id":175224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:13:00] local.INFO: Packet analysis {"connection_id":175224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:13:00] local.INFO: Extracted packet for processing {"connection_id":175224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902072832001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788680273000,"timestamp_ms":1788680273000,"timestamp_seconds":1788680273,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6fc68"} 
[2026-09-06 13:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902072832001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902072832001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:13:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:13:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902072832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":175224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:13:00] local.INFO: GPS data processed {"connection_id":175224,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:13:00] local.INFO: Acknowledgment sent {"connection_id":175224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:13:04] local.INFO: TCP Data received {"connection_id":175224,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:13:04] local.INFO: Processing buffer {"connection_id":175224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075a6fc68012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:13:04] local.INFO: Packet analysis {"connection_id":175224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:13:04] local.INFO: Extracted packet for processing {"connection_id":175224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075a6"} 
[2026-09-06 13:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902072832001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:13: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-09-06 13:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788680273000,"timestamp_ms":1788680273000,"timestamp_seconds":1788680273,"priority":1,"record_length":96,"hex_timestamp":"000001a075a6fc68"} 
[2026-09-06 13:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902072832001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902072832001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:13:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902072832001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":175224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:13:04] local.INFO: GPS data processed {"connection_id":175224,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:13:04] local.INFO: Acknowledgment sent {"connection_id":175224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:13:13] local.INFO: TCP Data received {"connection_id":172749,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:13:13] local.INFO: Processing buffer {"connection_id":172749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:13:13] local.INFO: IMEI packet received {"connection_id":172749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":172749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:13:14] local.INFO: TCP Data received {"connection_id":172749,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:13:14] local.INFO: Processing buffer {"connection_id":172749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:13:14] local.INFO: IMEI packet received {"connection_id":172749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":172749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:13:19] local.INFO: TCP Data received {"connection_id":172749,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:13:19] local.INFO: Processing buffer {"connection_id":172749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:13:19] local.INFO: IMEI packet received {"connection_id":172749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":172749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:13:20] local.INFO: TCP Data received {"connection_id":172749,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:13:20] local.INFO: Processing buffer {"connection_id":172749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:13:20] local.INFO: Packet analysis {"connection_id":172749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:13:20] local.INFO: Extracted packet for processing {"connection_id":172749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:13:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902145024001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788680555000,"timestamp_ms":1788680555000,"timestamp_seconds":1788680555,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab49f8"} 
[2026-09-06 13:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:13:20] 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-09-06 13:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:13:20] 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-09-06 13:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902145024001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902145024001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:13:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:13:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902145024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":172749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:13:20] local.INFO: GPS data processed {"connection_id":172749,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:13:20] local.INFO: Acknowledgment sent {"connection_id":172749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:13:48] local.INFO: TCP Data received {"connection_id":173904,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:13:48] local.INFO: Processing buffer {"connection_id":173904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:13:48] local.INFO: IMEI packet received {"connection_id":173904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":173904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:13:51] local.INFO: TCP Data received {"connection_id":172749,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:13:51] local.INFO: Processing buffer {"connection_id":172749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:13:51] local.INFO: Packet analysis {"connection_id":172749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:13:51] local.INFO: Extracted packet for processing {"connection_id":172749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902145024001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:13: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-09-06 13:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788680555000,"timestamp_ms":1788680555000,"timestamp_seconds":1788680555,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab49f8"} 
[2026-09-06 13:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:13:51] 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-09-06 13: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:13: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-09-06 13: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-09-06 13:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:13:51] 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-09-06 13:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902145024001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902145024001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:13:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:13:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902145024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":172749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:13:51] local.INFO: GPS data processed {"connection_id":172749,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:13:51] local.INFO: Acknowledgment sent {"connection_id":172749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:13:53] local.INFO: TCP Data received {"connection_id":173904,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:13:53] local.INFO: Processing buffer {"connection_id":173904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:13:53] local.INFO: IMEI packet received {"connection_id":173904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":173904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:13:54] local.INFO: TCP Data received {"connection_id":173904,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:13:54] local.INFO: Processing buffer {"connection_id":173904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:13:54] local.INFO: Packet analysis {"connection_id":173904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:13:54] local.INFO: Extracted packet for processing {"connection_id":173904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:13:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902149888001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:13: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-09-06 13:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788680574000,"timestamp_ms":1788680574000,"timestamp_seconds":1788680574,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab9430"} 
[2026-09-06 13:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:13: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-09-06 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:13: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-09-06 13: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-09-06 13:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:13: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-09-06 13:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902149888001,"66":26028,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902149888001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:13:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:13:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902149888001,"power":26028,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":173904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:13:54] local.INFO: GPS data processed {"connection_id":173904,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:13:54] local.INFO: Acknowledgment sent {"connection_id":173904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:14:09] local.INFO: TCP Data received {"connection_id":173906,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:14:09] local.INFO: Processing buffer {"connection_id":173906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:14:09] local.INFO: IMEI packet received {"connection_id":173906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":173906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:14:14] local.INFO: TCP Data received {"connection_id":173906,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:14:14] local.INFO: Processing buffer {"connection_id":173906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:14:14] local.INFO: IMEI packet received {"connection_id":173906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":173906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:14:15] local.INFO: TCP Data received {"connection_id":173906,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:14:15] local.INFO: Processing buffer {"connection_id":173906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:14:15] local.INFO: Packet analysis {"connection_id":173906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:14:15] local.INFO: Extracted packet for processing {"connection_id":173906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902145024001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788680555000,"timestamp_ms":1788680555000,"timestamp_seconds":1788680555,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab49f8"} 
[2026-09-06 13:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:14:15] 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-09-06 13:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:14:15] 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-09-06 13:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902145024001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902145024001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:14:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902145024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":173906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:14:15] local.INFO: GPS data processed {"connection_id":173906,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:14:15] local.INFO: Acknowledgment sent {"connection_id":173906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:14:25] local.INFO: TCP Data received {"connection_id":173904,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:14:25] local.INFO: Processing buffer {"connection_id":173904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:14:25] local.INFO: Packet analysis {"connection_id":173904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:14:25] local.INFO: Extracted packet for processing {"connection_id":173904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:14:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902149888001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:14: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-09-06 13:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788680574000,"timestamp_ms":1788680574000,"timestamp_seconds":1788680574,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab9430"} 
[2026-09-06 13:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:14: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-09-06 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:14: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-09-06 13: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-09-06 13:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902149888001,"66":26028,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902149888001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:14:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:14:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902149888001,"power":26028,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":173904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:14:25] local.INFO: GPS data processed {"connection_id":173904,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:14:25] local.INFO: Acknowledgment sent {"connection_id":173904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:14:46] local.INFO: TCP Data received {"connection_id":173906,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:14:46] local.INFO: Processing buffer {"connection_id":173906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:14:46] local.INFO: Packet analysis {"connection_id":173906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:14:46] local.INFO: Extracted packet for processing {"connection_id":173906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902145024001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788680555000,"timestamp_ms":1788680555000,"timestamp_seconds":1788680555,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab49f8"} 
[2026-09-06 13:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:14:46] 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-09-06 13: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:14:46] 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-09-06 13:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902145024001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902145024001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:14:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902145024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":173906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:14:46] local.INFO: GPS data processed {"connection_id":173906,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:14:46] local.INFO: Acknowledgment sent {"connection_id":173906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:14:48] local.INFO: TCP Data received {"connection_id":175225,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:14:48] local.INFO: Processing buffer {"connection_id":175225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:14:48] local.INFO: IMEI packet received {"connection_id":175225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":175225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:14:53] local.INFO: TCP Data received {"connection_id":175225,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:14:53] local.INFO: Processing buffer {"connection_id":175225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:14:53] local.INFO: IMEI packet received {"connection_id":175225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":175225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:14:54] local.INFO: TCP Data received {"connection_id":175225,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:14:54] local.INFO: Processing buffer {"connection_id":175225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:14:54] local.INFO: Packet analysis {"connection_id":175225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:14:54] local.INFO: Extracted packet for processing {"connection_id":175225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:14:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902149888001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788680574000,"timestamp_ms":1788680574000,"timestamp_seconds":1788680574,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab9430"} 
[2026-09-06 13:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:14: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-09-06 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:14: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-09-06 13: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-09-06 13:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:14: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-09-06 13:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902149888001,"66":26028,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902149888001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:14:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:14:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902149888001,"power":26028,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":175225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:14:54] local.INFO: GPS data processed {"connection_id":175225,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:14:54] local.INFO: Acknowledgment sent {"connection_id":175225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:15:09] local.INFO: TCP Data received {"connection_id":172751,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:15:09] local.INFO: Processing buffer {"connection_id":172751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:15:09] local.INFO: IMEI packet received {"connection_id":172751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":172751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:15:14] local.INFO: TCP Data received {"connection_id":172751,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:15:14] local.INFO: Processing buffer {"connection_id":172751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:15:14] local.INFO: IMEI packet received {"connection_id":172751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":172751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:15:15] local.INFO: TCP Data received {"connection_id":172751,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:15:15] local.INFO: Processing buffer {"connection_id":172751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:15:15] local.INFO: Packet analysis {"connection_id":172751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:15:15] local.INFO: Extracted packet for processing {"connection_id":172751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902145024001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788680555000,"timestamp_ms":1788680555000,"timestamp_seconds":1788680555,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab49f8"} 
[2026-09-06 13:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:15:15] 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-09-06 13:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:15:15] 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-09-06 13:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902145024001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902145024001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:15:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902145024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":172751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:15:15] local.INFO: GPS data processed {"connection_id":172751,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:15:15] local.INFO: Acknowledgment sent {"connection_id":172751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:15:25] local.INFO: TCP Data received {"connection_id":175225,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:15:25] local.INFO: Processing buffer {"connection_id":175225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:15:25] local.INFO: Packet analysis {"connection_id":175225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:15:25] local.INFO: Extracted packet for processing {"connection_id":175225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:15:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902149888001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788680574000,"timestamp_ms":1788680574000,"timestamp_seconds":1788680574,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab9430"} 
[2026-09-06 13:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:15: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-09-06 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:15: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-09-06 13: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-09-06 13:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902149888001,"66":26028,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902149888001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:15:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:15:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902149888001,"power":26028,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":175225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:15:25] local.INFO: GPS data processed {"connection_id":175225,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:15:25] local.INFO: Acknowledgment sent {"connection_id":175225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:15:46] local.INFO: TCP Data received {"connection_id":172751,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:15:46] local.INFO: Processing buffer {"connection_id":172751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:15:46] local.INFO: Packet analysis {"connection_id":172751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:15:46] local.INFO: Extracted packet for processing {"connection_id":172751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902145024001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788680555000,"timestamp_ms":1788680555000,"timestamp_seconds":1788680555,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab49f8"} 
[2026-09-06 13:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:15:46] 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-09-06 13:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:15:46] 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-09-06 13:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902145024001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902145024001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:15:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902145024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":172751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:15:46] local.INFO: GPS data processed {"connection_id":172751,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:15:46] local.INFO: Acknowledgment sent {"connection_id":172751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:15:47] local.INFO: TCP Data received {"connection_id":173907,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:15:47] local.INFO: Processing buffer {"connection_id":173907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:15:47] local.INFO: IMEI packet received {"connection_id":173907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":173907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:15:49] local.INFO: TCP Data received {"connection_id":175226,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:15:49] local.INFO: Processing buffer {"connection_id":175226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:15:49] local.INFO: IMEI packet received {"connection_id":175226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":175226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:15:53] local.INFO: TCP Data received {"connection_id":173907,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:15:53] local.INFO: Processing buffer {"connection_id":173907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:15:53] local.INFO: IMEI packet received {"connection_id":173907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":173907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:15:54] local.INFO: TCP Data received {"connection_id":173907,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:15:54] local.INFO: Processing buffer {"connection_id":173907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:15:54] local.INFO: Packet analysis {"connection_id":173907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:15:54] local.INFO: Extracted packet for processing {"connection_id":173907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:15:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902149888001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788680574000,"timestamp_ms":1788680574000,"timestamp_seconds":1788680574,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab9430"} 
[2026-09-06 13:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13: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-09-06 13: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-09-06 13: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-09-06 13: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-09-06 13:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:15: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-09-06 13:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902149888001,"66":26028,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902149888001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:15:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:15:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902149888001,"power":26028,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":173907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:15:54] local.INFO: GPS data processed {"connection_id":173907,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:15:54] local.INFO: Acknowledgment sent {"connection_id":173907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:15:55] local.INFO: TCP Data received {"connection_id":175226,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:15:55] local.INFO: Processing buffer {"connection_id":175226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:15:55] local.INFO: IMEI packet received {"connection_id":175226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":175226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:15:56] local.INFO: TCP Data received {"connection_id":175226,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075acf3c0012c451a8009eca4c00259013e29..."} 
[2026-09-06 13:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075acf3c0012c451a8009eca4c00259013e29..."} 
[2026-09-06 13:15:56] local.INFO: Processing buffer {"connection_id":175226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075acf3c0012c451a8009eca4c00259013e29..."} 
[2026-09-06 13:15:56] local.INFO: Packet analysis {"connection_id":175226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ac"} 
[2026-09-06 13:15:56] local.INFO: Extracted packet for processing {"connection_id":175226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ac"} 
[2026-09-06 13:15:56] local.INFO: GPS Element Parsed {"raw_longitude":742726272,"raw_latitude":166503616,"longitude_deg":74.2726272,"latitude_deg":16.6503616,"altitude":601,"angle":318,"satellites":41,"speed":42,"hex_longitude":"2c451a80","hex_latitude":"09eca4c0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902247680001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2614045945364480,"note":"Value kept but may cause issues"} 
[2026-09-06 13:15:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4986258886308184066,"note":"Value kept but may cause issues"} 
[2026-09-06 13:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788680664000,"timestamp_ms":1788680664000,"timestamp_seconds":1788680664,"priority":1,"record_length":96,"hex_timestamp":"000001a075acf3c0"} 
[2026-09-06 13:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:15: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-09-06 13: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 13:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902247680001,"66":28148,"1":206,"37":24064,"24":42,"16":2614045945364480,"44":4986258886308184066},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":206,"io_data_keys":[0,66,1,37,24,16,44]} 
[2026-09-06 13:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902247680001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:15:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2614045945364480,"km_value":2614045945364.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:15:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":4986258886308184066,"description":"Unknown IO ID 44"} 
[2026-09-06 13:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902247680001,"power":28148,"imei":206,"unknown_37":24064,"ignition":42,"odometer":null,"unknown_44":4986258886308184066}} 
[2026-09-06 13:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":175226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774538,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:15:57] local.INFO: GPS data processed {"connection_id":175226,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:15:57] local.INFO: Acknowledgment sent {"connection_id":175226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:16:14] local.INFO: TCP Data received {"connection_id":172752,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:16:14] local.INFO: Processing buffer {"connection_id":172752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:16:14] local.INFO: IMEI packet received {"connection_id":172752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":172752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:16:19] local.INFO: TCP Data received {"connection_id":172752,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:16:19] local.INFO: Processing buffer {"connection_id":172752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:16:19] local.INFO: IMEI packet received {"connection_id":172752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":172752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:16:20] local.INFO: TCP Data received {"connection_id":172752,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:16:20] local.INFO: Processing buffer {"connection_id":172752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:16:20] local.INFO: Packet analysis {"connection_id":172752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:16:20] local.INFO: Extracted packet for processing {"connection_id":172752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:16:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902145024001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788680555000,"timestamp_ms":1788680555000,"timestamp_seconds":1788680555,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab49f8"} 
[2026-09-06 13:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:16:20] 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-09-06 13:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:16:20] 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-09-06 13:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902145024001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902145024001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:16:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:16:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902145024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":172752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:16:20] local.INFO: GPS data processed {"connection_id":172752,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:16:20] local.INFO: Acknowledgment sent {"connection_id":172752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:16:24] local.INFO: TCP Data received {"connection_id":172752,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:16:24] local.INFO: Processing buffer {"connection_id":172752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:16:24] local.INFO: Packet analysis {"connection_id":172752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:16:24] local.INFO: Extracted packet for processing {"connection_id":172752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:16:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 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-09-06 13:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902145024001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788680555000,"timestamp_ms":1788680555000,"timestamp_seconds":1788680555,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab49f8"} 
[2026-09-06 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-09-06 13:16:24] 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-09-06 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 13:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:16:24] 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-09-06 13:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902145024001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902145024001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:16:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:16:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902145024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":172752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:16:24] local.INFO: GPS data processed {"connection_id":172752,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:16:24] local.INFO: Acknowledgment sent {"connection_id":172752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:16:26] local.INFO: TCP Data received {"connection_id":173907,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:16:26] local.INFO: Processing buffer {"connection_id":173907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:16:26] local.INFO: Packet analysis {"connection_id":173907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:16:26] local.INFO: Extracted packet for processing {"connection_id":173907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:16:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902149888001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:16: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-09-06 13:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788680574000,"timestamp_ms":1788680574000,"timestamp_seconds":1788680574,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab9430"} 
[2026-09-06 13:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:16:26] 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-09-06 13:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:16: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-09-06 13:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902149888001,"66":26028,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902149888001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:16:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:16:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902149888001,"power":26028,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":173907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:16:26] local.INFO: GPS data processed {"connection_id":173907,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:16:26] local.INFO: Acknowledgment sent {"connection_id":173907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:16:28] local.INFO: TCP Data received {"connection_id":175226,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075ad16e8012c44ffc009ecc040025b013b29..."} 
[2026-09-06 13:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ad16e8012c44ffc009ecc040025b013b29..."} 
[2026-09-06 13:16:28] local.INFO: Processing buffer {"connection_id":175226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ad16e8012c44ffc009ecc040025b013b29..."} 
[2026-09-06 13:16:28] local.INFO: Packet analysis {"connection_id":175226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ad"} 
[2026-09-06 13:16:28] local.INFO: Extracted packet for processing {"connection_id":175226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ad"} 
[2026-09-06 13:16:28] local.INFO: GPS Element Parsed {"raw_longitude":742719424,"raw_latitude":166510656,"longitude_deg":74.2719424,"latitude_deg":16.6510656,"altitude":603,"angle":315,"satellites":41,"speed":42,"hex_longitude":"2c44ffc0","hex_latitude":"09ecc040","is_valid_coordinates":true} 
[2026-09-06 13:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902249984001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2614509801832448,"note":"Value kept but may cause issues"} 
[2026-09-06 13:16:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4979433118124785666,"note":"Value kept but may cause issues"} 
[2026-09-06 13:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788680673000,"timestamp_ms":1788680673000,"timestamp_seconds":1788680673,"priority":1,"record_length":96,"hex_timestamp":"000001a075ad16e8"} 
[2026-09-06 13:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:16: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-09-06 13:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-06 13:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902249984001,"66":28137,"1":206,"37":24064,"24":42,"16":2614509801832448,"44":4979433118124785666},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":206,"io_data_keys":[0,66,1,37,24,16,44]} 
[2026-09-06 13:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902249984001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:16:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":24064,"description":"Unknown IO ID 37"} 
[2026-09-06 13:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2614509801832448,"km_value":2614509801832.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:16:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":4979433118124785666,"description":"Unknown IO ID 44"} 
[2026-09-06 13:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902249984001,"power":28137,"imei":206,"unknown_37":24064,"ignition":42,"odometer":null,"unknown_44":4979433118124785666}} 
[2026-09-06 13:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":175226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774542,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:16:28] local.INFO: GPS data processed {"connection_id":175226,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:16:28] local.INFO: Acknowledgment sent {"connection_id":175226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:16:53] local.INFO: TCP Data received {"connection_id":173908,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:16:53] local.INFO: Processing buffer {"connection_id":173908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:16:53] local.INFO: IMEI packet received {"connection_id":173908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":173908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:16:54] local.INFO: TCP Data received {"connection_id":175227,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:16:54] local.INFO: Processing buffer {"connection_id":175227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:16:54] local.INFO: IMEI packet received {"connection_id":175227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":175227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:16:58] local.INFO: TCP Data received {"connection_id":173908,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:16:58] local.INFO: Processing buffer {"connection_id":173908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:16:58] local.INFO: IMEI packet received {"connection_id":173908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":173908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:16:59] local.INFO: TCP Data received {"connection_id":173908,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:16:59] local.INFO: Processing buffer {"connection_id":173908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:16:59] local.INFO: Packet analysis {"connection_id":173908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:16:59] local.INFO: Extracted packet for processing {"connection_id":173908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:16:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902149888001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:16: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-09-06 13:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788680574000,"timestamp_ms":1788680574000,"timestamp_seconds":1788680574,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab9430"} 
[2026-09-06 13:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:16:59] 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-09-06 13:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902149888001,"66":26028,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902149888001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:16:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:16:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902149888001,"power":26028,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":173908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:16:59] local.INFO: GPS data processed {"connection_id":173908,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:16:59] local.INFO: Acknowledgment sent {"connection_id":173908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:17:04] local.INFO: TCP Data received {"connection_id":173908,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:17:04] local.INFO: Processing buffer {"connection_id":173908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:17:04] local.INFO: Packet analysis {"connection_id":173908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:17:04] local.INFO: Extracted packet for processing {"connection_id":173908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:17:04] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902149888001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:17: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-09-06 13:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788680574000,"timestamp_ms":1788680574000,"timestamp_seconds":1788680574,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab9430"} 
[2026-09-06 13:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:17:04] 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-09-06 13:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902149888001,"66":26028,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902149888001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:17:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:17:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902149888001,"power":26028,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":173908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:17:04] local.INFO: GPS data processed {"connection_id":173908,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:17:04] local.INFO: Acknowledgment sent {"connection_id":173908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:17:09] local.INFO: TCP Data received {"connection_id":175228,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:17:09] local.INFO: Processing buffer {"connection_id":175228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:17:09] local.INFO: IMEI packet received {"connection_id":175228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":175228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:17:14] local.INFO: TCP Data received {"connection_id":175228,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:17:14] local.INFO: Processing buffer {"connection_id":175228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:17:14] local.INFO: IMEI packet received {"connection_id":175228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":175228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:17:15] local.INFO: TCP Data received {"connection_id":175228,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:17:15] local.INFO: Processing buffer {"connection_id":175228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:17:15] local.INFO: Packet analysis {"connection_id":175228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:17:15] local.INFO: Extracted packet for processing {"connection_id":175228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902145024001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788680555000,"timestamp_ms":1788680555000,"timestamp_seconds":1788680555,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab49f8"} 
[2026-09-06 13:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:17:15] 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-09-06 13:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:17:15] 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-09-06 13:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902145024001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902145024001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:17:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:17:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902145024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":175228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:17:15] local.INFO: GPS data processed {"connection_id":175228,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:17:15] local.INFO: Acknowledgment sent {"connection_id":175228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:17:46] local.INFO: TCP Data received {"connection_id":175228,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:17:46] local.INFO: Processing buffer {"connection_id":175228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab49f8012d196540071fef68003b011027..."} 
[2026-09-06 13:17:46] local.INFO: Packet analysis {"connection_id":175228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:17:46] local.INFO: Extracted packet for processing {"connection_id":175228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902145024001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788680555000,"timestamp_ms":1788680555000,"timestamp_seconds":1788680555,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab49f8"} 
[2026-09-06 13:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:17:46] 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-09-06 13:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:17:46] 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-09-06 13:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902145024001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902145024001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:17:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902145024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":175228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:17:46] local.INFO: GPS data processed {"connection_id":175228,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:17:46] local.INFO: Acknowledgment sent {"connection_id":175228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:17:48] local.INFO: TCP Data received {"connection_id":172526,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:17:48] local.INFO: Processing buffer {"connection_id":172526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:17:48] local.INFO: IMEI packet received {"connection_id":172526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":172526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:17:52] local.INFO: TCP Data received {"connection_id":175227,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:17:52] local.INFO: Processing buffer {"connection_id":175227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:17:52] local.INFO: IMEI packet received {"connection_id":175227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":175227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:17:52] local.INFO: TCP Data received {"connection_id":175227,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:17:52] local.INFO: Processing buffer {"connection_id":175227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:17:52] local.INFO: IMEI packet received {"connection_id":175227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":175227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:17:53] local.INFO: TCP Data received {"connection_id":172526,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:17:53] local.INFO: Processing buffer {"connection_id":172526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:17:53] local.INFO: IMEI packet received {"connection_id":172526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":172526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:17:54] local.INFO: TCP Data received {"connection_id":172526,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:17:54] local.INFO: Processing buffer {"connection_id":172526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:17:54] local.INFO: Packet analysis {"connection_id":172526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:17:54] local.INFO: Extracted packet for processing {"connection_id":172526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:17:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902149888001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788680574000,"timestamp_ms":1788680574000,"timestamp_seconds":1788680574,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab9430"} 
[2026-09-06 13:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:17: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-09-06 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:17: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-09-06 13: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-09-06 13:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:17: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-09-06 13:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902149888001,"66":26028,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902149888001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:17:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:17:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902149888001,"power":26028,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":172526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:17:54] local.INFO: GPS data processed {"connection_id":172526,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:17:54] local.INFO: Acknowledgment sent {"connection_id":172526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:18:09] local.INFO: TCP Data received {"connection_id":172527,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:18:09] local.INFO: Processing buffer {"connection_id":172527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:18:09] local.INFO: IMEI packet received {"connection_id":172527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":172527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:18:14] local.INFO: TCP Data received {"connection_id":172527,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:18:14] local.INFO: Processing buffer {"connection_id":172527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:18:14] local.INFO: IMEI packet received {"connection_id":172527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":172527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:18:15] local.INFO: TCP Data received {"connection_id":172527,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:18:15] local.INFO: Processing buffer {"connection_id":172527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:18:15] local.INFO: Packet analysis {"connection_id":172527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:18:15] local.INFO: Extracted packet for processing {"connection_id":172527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902222080001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788680856000,"timestamp_ms":1788680856000,"timestamp_seconds":1788680856,"priority":1,"record_length":96,"hex_timestamp":"000001a075afe1c0"} 
[2026-09-06 13:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:18:15] 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-09-06 13:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:18:15] 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-09-06 13:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902222080001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902222080001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:18:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:18:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":172527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:18:15] local.INFO: GPS data processed {"connection_id":172527,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:18:15] local.INFO: Acknowledgment sent {"connection_id":172527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:18:25] local.INFO: TCP Data received {"connection_id":172526,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:18:25] local.INFO: Processing buffer {"connection_id":172526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ab9430012d34c48006aa3e58000900a72b..."} 
[2026-09-06 13:18:25] local.INFO: Packet analysis {"connection_id":172526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:18:25] local.INFO: Extracted packet for processing {"connection_id":172526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ab"} 
[2026-09-06 13:18:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902149888001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788680574000,"timestamp_ms":1788680574000,"timestamp_seconds":1788680574,"priority":1,"record_length":96,"hex_timestamp":"000001a075ab9430"} 
[2026-09-06 13:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13: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-09-06 13: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-09-06 13: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-09-06 13: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-09-06 13:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902149888001,"66":26028,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902149888001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:18:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:18:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902149888001,"power":26028,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":172526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:18:25] local.INFO: GPS data processed {"connection_id":172526,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:18:25] local.INFO: Acknowledgment sent {"connection_id":172526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:18:46] local.INFO: TCP Data received {"connection_id":172527,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:18:46] local.INFO: Processing buffer {"connection_id":172527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:18:46] local.INFO: Packet analysis {"connection_id":172527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:18:46] local.INFO: Extracted packet for processing {"connection_id":172527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:18:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902222080001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788680856000,"timestamp_ms":1788680856000,"timestamp_seconds":1788680856,"priority":1,"record_length":96,"hex_timestamp":"000001a075afe1c0"} 
[2026-09-06 13:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:18:46] 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-09-06 13:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:18:46] 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-09-06 13:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902222080001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902222080001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:18:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:18:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":172527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:18:46] local.INFO: GPS data processed {"connection_id":172527,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:18:46] local.INFO: Acknowledgment sent {"connection_id":172527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:18:48] local.INFO: TCP Data received {"connection_id":175229,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:18:48] local.INFO: Processing buffer {"connection_id":175229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:18:48] local.INFO: IMEI packet received {"connection_id":175229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":175229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:18:53] local.INFO: TCP Data received {"connection_id":175229,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:18:53] local.INFO: Processing buffer {"connection_id":175229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:18:53] local.INFO: IMEI packet received {"connection_id":175229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":175229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:18:54] local.INFO: TCP Data received {"connection_id":175229,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:18:54] local.INFO: Processing buffer {"connection_id":175229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:18:54] local.INFO: Packet analysis {"connection_id":175229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:18:54] local.INFO: Extracted packet for processing {"connection_id":175229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:18:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902226944001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:18: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-09-06 13:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788680875000,"timestamp_ms":1788680875000,"timestamp_seconds":1788680875,"priority":1,"record_length":96,"hex_timestamp":"000001a075b02bf8"} 
[2026-09-06 13:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:18: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-09-06 13:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-06 13:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:18: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-09-06 13:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902226944001,"66":26006,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902226944001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:18:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:18:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902226944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":175229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:18:54] local.INFO: GPS data processed {"connection_id":175229,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:18:54] local.INFO: Acknowledgment sent {"connection_id":175229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:19:09] local.INFO: TCP Data received {"connection_id":172754,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:19:09] local.INFO: Processing buffer {"connection_id":172754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:19:09] local.INFO: IMEI packet received {"connection_id":172754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":172754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:19:14] local.INFO: TCP Data received {"connection_id":172754,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:19:14] local.INFO: Processing buffer {"connection_id":172754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:19:14] local.INFO: IMEI packet received {"connection_id":172754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":172754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:19:15] local.INFO: TCP Data received {"connection_id":172754,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:19:15] local.INFO: Processing buffer {"connection_id":172754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:19:15] local.INFO: Packet analysis {"connection_id":172754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:19:15] local.INFO: Extracted packet for processing {"connection_id":172754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902222080001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788680856000,"timestamp_ms":1788680856000,"timestamp_seconds":1788680856,"priority":1,"record_length":96,"hex_timestamp":"000001a075afe1c0"} 
[2026-09-06 13:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:19:15] 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-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:19:15] 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-09-06 13:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902222080001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902222080001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:19:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:19:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":172754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:19:15] local.INFO: GPS data processed {"connection_id":172754,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:19:15] local.INFO: Acknowledgment sent {"connection_id":172754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:19:25] local.INFO: TCP Data received {"connection_id":175229,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:19:25] local.INFO: Processing buffer {"connection_id":175229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:19:25] local.INFO: Packet analysis {"connection_id":175229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:19:25] local.INFO: Extracted packet for processing {"connection_id":175229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:19:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902226944001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788680875000,"timestamp_ms":1788680875000,"timestamp_seconds":1788680875,"priority":1,"record_length":96,"hex_timestamp":"000001a075b02bf8"} 
[2026-09-06 13:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:19: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-09-06 13: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":172,"data_length":795,"current_offset":136} 
[2026-09-06 13:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902226944001,"66":26006,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902226944001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:19:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:19:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902226944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":175229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:19:25] local.INFO: GPS data processed {"connection_id":175229,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:19:25] local.INFO: Acknowledgment sent {"connection_id":175229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:19:46] local.INFO: TCP Data received {"connection_id":172754,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:19:46] local.INFO: Processing buffer {"connection_id":172754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:19:46] local.INFO: Packet analysis {"connection_id":172754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:19:46] local.INFO: Extracted packet for processing {"connection_id":172754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902222080001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788680856000,"timestamp_ms":1788680856000,"timestamp_seconds":1788680856,"priority":1,"record_length":96,"hex_timestamp":"000001a075afe1c0"} 
[2026-09-06 13:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:19:46] 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-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:19:46] 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-09-06 13:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902222080001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902222080001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:19:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":172754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:19:46] local.INFO: GPS data processed {"connection_id":172754,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:19:46] local.INFO: Acknowledgment sent {"connection_id":172754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:19:47] local.INFO: TCP Data received {"connection_id":175231,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:19:47] local.INFO: Processing buffer {"connection_id":175231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:19:47] local.INFO: IMEI packet received {"connection_id":175231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":175231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:19:53] local.INFO: TCP Data received {"connection_id":175231,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:19:53] local.INFO: Processing buffer {"connection_id":175231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:19:53] local.INFO: IMEI packet received {"connection_id":175231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":175231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:19:54] local.INFO: TCP Data received {"connection_id":175231,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:19:54] local.INFO: Processing buffer {"connection_id":175231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:19:54] local.INFO: Packet analysis {"connection_id":175231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:19:54] local.INFO: Extracted packet for processing {"connection_id":175231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:19:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902226944001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788680875000,"timestamp_ms":1788680875000,"timestamp_seconds":1788680875,"priority":1,"record_length":96,"hex_timestamp":"000001a075b02bf8"} 
[2026-09-06 13:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:19: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-09-06 13: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-06 13:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:19: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-09-06 13:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902226944001,"66":26006,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902226944001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:19:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:19:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902226944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":175231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:19:54] local.INFO: GPS data processed {"connection_id":175231,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:19:54] local.INFO: Acknowledgment sent {"connection_id":175231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:20:14] local.INFO: TCP Data received {"connection_id":172528,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:20:14] local.INFO: Processing buffer {"connection_id":172528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:20:14] local.INFO: IMEI packet received {"connection_id":172528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":172528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:20:19] local.INFO: TCP Data received {"connection_id":172528,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:20:19] local.INFO: Processing buffer {"connection_id":172528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:20:19] local.INFO: IMEI packet received {"connection_id":172528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":172528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:20:20] local.INFO: TCP Data received {"connection_id":172528,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:20:20] local.INFO: Processing buffer {"connection_id":172528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:20:20] local.INFO: Packet analysis {"connection_id":172528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:20:20] local.INFO: Extracted packet for processing {"connection_id":172528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:20:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902222080001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788680856000,"timestamp_ms":1788680856000,"timestamp_seconds":1788680856,"priority":1,"record_length":96,"hex_timestamp":"000001a075afe1c0"} 
[2026-09-06 13:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:20:20] 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-09-06 13:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:20:20] 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-09-06 13:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902222080001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902222080001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:20:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:20:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":172528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:20:20] local.INFO: GPS data processed {"connection_id":172528,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:20:20] local.INFO: Acknowledgment sent {"connection_id":172528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:20:24] local.INFO: TCP Data received {"connection_id":172528,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:20:24] local.INFO: Processing buffer {"connection_id":172528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:20:24] local.INFO: Packet analysis {"connection_id":172528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:20:24] local.INFO: Extracted packet for processing {"connection_id":172528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:20:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 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-09-06 13:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902222080001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788680856000,"timestamp_ms":1788680856000,"timestamp_seconds":1788680856,"priority":1,"record_length":96,"hex_timestamp":"000001a075afe1c0"} 
[2026-09-06 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-09-06 13:20:24] 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-09-06 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 13:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:20:24] 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-09-06 13:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902222080001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902222080001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:20:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:20:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":172528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:20:24] local.INFO: GPS data processed {"connection_id":172528,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:20:24] local.INFO: Acknowledgment sent {"connection_id":172528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:20:25] local.INFO: TCP Data received {"connection_id":175231,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:20:25] local.INFO: Processing buffer {"connection_id":175231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:20:25] local.INFO: Packet analysis {"connection_id":175231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:20:25] local.INFO: Extracted packet for processing {"connection_id":175231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:20:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902226944001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788680875000,"timestamp_ms":1788680875000,"timestamp_seconds":1788680875,"priority":1,"record_length":96,"hex_timestamp":"000001a075b02bf8"} 
[2026-09-06 13:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13: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-09-06 13: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":172,"data_length":795,"current_offset":136} 
[2026-09-06 13:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902226944001,"66":26006,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902226944001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:20:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:20:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902226944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":175231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:20:25] local.INFO: GPS data processed {"connection_id":175231,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:20:25] local.INFO: Acknowledgment sent {"connection_id":175231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:20:47] local.INFO: TCP Data received {"connection_id":172529,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:20:47] local.INFO: Processing buffer {"connection_id":172529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:20:47] local.INFO: IMEI packet received {"connection_id":172529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":172529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:20:53] local.INFO: TCP Data received {"connection_id":172529,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:20:53] local.INFO: Processing buffer {"connection_id":172529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:20:53] local.INFO: IMEI packet received {"connection_id":172529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":172529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:20:54] local.INFO: TCP Data received {"connection_id":172529,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:20:54] local.INFO: Processing buffer {"connection_id":172529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:20:54] local.INFO: Packet analysis {"connection_id":172529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:20:54] local.INFO: Extracted packet for processing {"connection_id":172529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:20:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902226944001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788680875000,"timestamp_ms":1788680875000,"timestamp_seconds":1788680875,"priority":1,"record_length":96,"hex_timestamp":"000001a075b02bf8"} 
[2026-09-06 13:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:20: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-09-06 13: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-06 13:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:20: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-09-06 13:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902226944001,"66":26006,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902226944001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:20:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:20:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902226944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":172529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:20:54] local.INFO: GPS data processed {"connection_id":172529,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:20:54] local.INFO: Acknowledgment sent {"connection_id":172529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:21:09] local.INFO: TCP Data received {"connection_id":172531,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:21:09] local.INFO: Processing buffer {"connection_id":172531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:21:09] local.INFO: IMEI packet received {"connection_id":172531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":172531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:21:14] local.INFO: TCP Data received {"connection_id":172531,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:21:14] local.INFO: Processing buffer {"connection_id":172531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:21:14] local.INFO: IMEI packet received {"connection_id":172531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":172531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:21:15] local.INFO: TCP Data received {"connection_id":172531,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:21:15] local.INFO: Processing buffer {"connection_id":172531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:21:15] local.INFO: Packet analysis {"connection_id":172531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:21:15] local.INFO: Extracted packet for processing {"connection_id":172531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902222080001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788680856000,"timestamp_ms":1788680856000,"timestamp_seconds":1788680856,"priority":1,"record_length":96,"hex_timestamp":"000001a075afe1c0"} 
[2026-09-06 13:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:21:15] 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-09-06 13:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:21:15] 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-09-06 13:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902222080001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902222080001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:21:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:21:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":172531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:21:15] local.INFO: GPS data processed {"connection_id":172531,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:21:15] local.INFO: Acknowledgment sent {"connection_id":172531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:21:26] local.INFO: TCP Data received {"connection_id":172529,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:21:26] local.INFO: Processing buffer {"connection_id":172529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:21:26] local.INFO: Packet analysis {"connection_id":172529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:21:26] local.INFO: Extracted packet for processing {"connection_id":172529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:21:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902226944001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:21: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-09-06 13:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788680875000,"timestamp_ms":1788680875000,"timestamp_seconds":1788680875,"priority":1,"record_length":96,"hex_timestamp":"000001a075b02bf8"} 
[2026-09-06 13:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-06 13:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:21: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-09-06 13:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902226944001,"66":26006,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902226944001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:21:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:21:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902226944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":172529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:21:26] local.INFO: GPS data processed {"connection_id":172529,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:21:26] local.INFO: Acknowledgment sent {"connection_id":172529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:21:46] local.INFO: TCP Data received {"connection_id":172531,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:21:46] local.INFO: Processing buffer {"connection_id":172531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:21:46] local.INFO: Packet analysis {"connection_id":172531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:21:46] local.INFO: Extracted packet for processing {"connection_id":172531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902222080001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788680856000,"timestamp_ms":1788680856000,"timestamp_seconds":1788680856,"priority":1,"record_length":96,"hex_timestamp":"000001a075afe1c0"} 
[2026-09-06 13:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:21:46] 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-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:21:46] 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-09-06 13:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902222080001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902222080001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:21:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:21:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":172531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:21:46] local.INFO: GPS data processed {"connection_id":172531,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:21:46] local.INFO: Acknowledgment sent {"connection_id":172531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:21:48] local.INFO: TCP Data received {"connection_id":172755,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:21:48] local.INFO: Processing buffer {"connection_id":172755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:21:48] local.INFO: IMEI packet received {"connection_id":172755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":172755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:21:53] local.INFO: TCP Data received {"connection_id":172755,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:21:53] local.INFO: Processing buffer {"connection_id":172755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:21:53] local.INFO: IMEI packet received {"connection_id":172755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":172755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:21:55] local.INFO: TCP Data received {"connection_id":172755,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:21:55] local.INFO: Processing buffer {"connection_id":172755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:21:55] local.INFO: Packet analysis {"connection_id":172755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:21:55] local.INFO: Extracted packet for processing {"connection_id":172755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:21:55] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902226944001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:21: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-09-06 13:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788680875000,"timestamp_ms":1788680875000,"timestamp_seconds":1788680875,"priority":1,"record_length":96,"hex_timestamp":"000001a075b02bf8"} 
[2026-09-06 13:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-06 13:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:21: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-09-06 13:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902226944001,"66":26006,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902226944001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:21:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:21:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902226944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":172755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:21:55] local.INFO: GPS data processed {"connection_id":172755,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:21:55] local.INFO: Acknowledgment sent {"connection_id":172755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:22:09] local.INFO: TCP Data received {"connection_id":172756,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:22:09] local.INFO: Processing buffer {"connection_id":172756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:22:09] local.INFO: IMEI packet received {"connection_id":172756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":172756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:22:14] local.INFO: TCP Data received {"connection_id":172756,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:22:14] local.INFO: Processing buffer {"connection_id":172756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:22:14] local.INFO: IMEI packet received {"connection_id":172756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":172756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:22:15] local.INFO: TCP Data received {"connection_id":172756,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:22:15] local.INFO: Processing buffer {"connection_id":172756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:22:15] local.INFO: Packet analysis {"connection_id":172756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:22:15] local.INFO: Extracted packet for processing {"connection_id":172756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902222080001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788680856000,"timestamp_ms":1788680856000,"timestamp_seconds":1788680856,"priority":1,"record_length":96,"hex_timestamp":"000001a075afe1c0"} 
[2026-09-06 13:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:22:15] 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-09-06 13:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902222080001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902222080001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:22:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:22:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":172756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:22:15] local.INFO: GPS data processed {"connection_id":172756,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:22:15] local.INFO: Acknowledgment sent {"connection_id":172756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:22:27] local.INFO: TCP Data received {"connection_id":172755,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:22:27] local.INFO: Processing buffer {"connection_id":172755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:22:27] local.INFO: Packet analysis {"connection_id":172755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:22:27] local.INFO: Extracted packet for processing {"connection_id":172755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:22:27] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902226944001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:22: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-09-06 13:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788680875000,"timestamp_ms":1788680875000,"timestamp_seconds":1788680875,"priority":1,"record_length":96,"hex_timestamp":"000001a075b02bf8"} 
[2026-09-06 13:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-06 13:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:22: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-09-06 13:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902226944001,"66":26006,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902226944001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:22:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:22:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902226944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":172755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:22:27] local.INFO: GPS data processed {"connection_id":172755,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:22:27] local.INFO: Acknowledgment sent {"connection_id":172755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:22:46] local.INFO: TCP Data received {"connection_id":172756,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:22:46] local.INFO: Processing buffer {"connection_id":172756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:22:46] local.INFO: Packet analysis {"connection_id":172756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:22:46] local.INFO: Extracted packet for processing {"connection_id":172756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902222080001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788680856000,"timestamp_ms":1788680856000,"timestamp_seconds":1788680856,"priority":1,"record_length":96,"hex_timestamp":"000001a075afe1c0"} 
[2026-09-06 13:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:22:46] 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-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13: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-09-06 13:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902222080001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902222080001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:22:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":172756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:22:46] local.INFO: GPS data processed {"connection_id":172756,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:22:46] local.INFO: Acknowledgment sent {"connection_id":172756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:22:52] local.INFO: TCP Data received {"connection_id":175234,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:22:52] local.INFO: Processing buffer {"connection_id":175234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:22:52] local.INFO: IMEI packet received {"connection_id":175234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":175234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:22:53] local.INFO: TCP Data received {"connection_id":175233,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:22:53] local.INFO: Processing buffer {"connection_id":175233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:22:53] local.INFO: IMEI packet received {"connection_id":175233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":175233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:22:54] local.INFO: TCP Data received {"connection_id":175234,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:22:54] local.INFO: Processing buffer {"connection_id":175234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:22:54] local.INFO: IMEI packet received {"connection_id":175234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":175234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:22:58] local.INFO: TCP Data received {"connection_id":175233,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:22:58] local.INFO: Processing buffer {"connection_id":175233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:22:58] local.INFO: IMEI packet received {"connection_id":175233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":175233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:22:59] local.INFO: TCP Data received {"connection_id":175233,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:22:59] local.INFO: Processing buffer {"connection_id":175233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:22:59] local.INFO: Packet analysis {"connection_id":175233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:22:59] local.INFO: Extracted packet for processing {"connection_id":175233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902226944001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788680875000,"timestamp_ms":1788680875000,"timestamp_seconds":1788680875,"priority":1,"record_length":96,"hex_timestamp":"000001a075b02bf8"} 
[2026-09-06 13:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-06 13:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:22: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-09-06 13:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902226944001,"66":26006,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902226944001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:22:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:22:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902226944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":175233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:22:59] local.INFO: GPS data processed {"connection_id":175233,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:22:59] local.INFO: Acknowledgment sent {"connection_id":175233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:23:00] local.INFO: TCP Data received {"connection_id":175234,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:23:00] local.INFO: Processing buffer {"connection_id":175234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:23:00] local.INFO: IMEI packet received {"connection_id":175234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":175234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:23:04] local.INFO: TCP Data received {"connection_id":175233,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:23:04] local.INFO: Processing buffer {"connection_id":175233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b02bf8012d34c48006aa3e58000900a729..."} 
[2026-09-06 13:23:04] local.INFO: Packet analysis {"connection_id":175233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:23:04] local.INFO: Extracted packet for processing {"connection_id":175233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b0"} 
[2026-09-06 13:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902226944001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788680875000,"timestamp_ms":1788680875000,"timestamp_seconds":1788680875,"priority":1,"record_length":96,"hex_timestamp":"000001a075b02bf8"} 
[2026-09-06 13:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-06 13:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902226944001,"66":26006,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902226944001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:23:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:23:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902226944001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":175233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:23:04] local.INFO: GPS data processed {"connection_id":175233,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:23:04] local.INFO: Acknowledgment sent {"connection_id":175233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:23:04] local.INFO: TCP Data received {"connection_id":175234,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075b348d8012c45974009f366e00228001228..."} 
[2026-09-06 13:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b348d8012c45974009f366e00228001228..."} 
[2026-09-06 13:23:05] local.INFO: Processing buffer {"connection_id":175234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b348d8012c45974009f366e00228001228..."} 
[2026-09-06 13:23:05] local.INFO: Packet analysis {"connection_id":175234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b3"} 
[2026-09-06 13:23:05] local.INFO: Extracted packet for processing {"connection_id":175234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b3"} 
[2026-09-06 13:23:05] local.INFO: GPS Element Parsed {"raw_longitude":742758208,"raw_latitude":166946528,"longitude_deg":74.2758208,"latitude_deg":16.6946528,"altitude":552,"angle":18,"satellites":40,"speed":59,"hex_longitude":"2c459740","hex_latitude":"09f366e0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902354688001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2636955300921344,"note":"Value kept but may cause issues"} 
[2026-09-06 13:23:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5011239790604316674,"note":"Value kept but may cause issues"} 
[2026-09-06 13:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788681079000,"timestamp_ms":1788681079000,"timestamp_seconds":1788681079,"priority":1,"record_length":96,"hex_timestamp":"000001a075b348d8"} 
[2026-09-06 13:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13: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":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 13:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902354688001,"66":28148,"51":206,"37":23808,"24":59,"16":2636955300921344,"44":5011239790604316674},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,37,24,16,44]} 
[2026-09-06 13:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902354688001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:23:05] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-09-06 13:23:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2636955300921344,"km_value":2636955300921.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:23:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":5011239790604316674,"description":"Unknown IO ID 44"} 
[2026-09-06 13:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902354688001,"power":28148,"unknown_51":206,"unknown_37":23808,"ignition":59,"odometer":null,"unknown_44":5011239790604316674}} 
[2026-09-06 13:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":175234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774569,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:23:05] local.INFO: GPS data processed {"connection_id":175234,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:23:05] local.INFO: Acknowledgment sent {"connection_id":175234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:23:09] local.INFO: TCP Data received {"connection_id":172757,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:23:09] local.INFO: Processing buffer {"connection_id":172757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:23:09] local.INFO: IMEI packet received {"connection_id":172757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":172757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:23:14] local.INFO: TCP Data received {"connection_id":172757,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:23:14] local.INFO: Processing buffer {"connection_id":172757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:23:14] local.INFO: IMEI packet received {"connection_id":172757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":172757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:23:15] local.INFO: TCP Data received {"connection_id":172757,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:23:15] local.INFO: Processing buffer {"connection_id":172757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075afe1c0012d196540071fef68003b011025..."} 
[2026-09-06 13:23:15] local.INFO: Packet analysis {"connection_id":172757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:23:15] local.INFO: Extracted packet for processing {"connection_id":172757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075af"} 
[2026-09-06 13:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902222080001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788680856000,"timestamp_ms":1788680856000,"timestamp_seconds":1788680856,"priority":1,"record_length":96,"hex_timestamp":"000001a075afe1c0"} 
[2026-09-06 13:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:23:15] 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-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902222080001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902222080001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:23:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":172757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:23:15] local.INFO: GPS data processed {"connection_id":172757,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:23:15] local.INFO: Acknowledgment sent {"connection_id":172757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:23:46] local.INFO: TCP Data received {"connection_id":172757,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:23:46] local.INFO: Processing buffer {"connection_id":172757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:23:46] local.INFO: Packet analysis {"connection_id":172757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:23:46] local.INFO: Extracted packet for processing {"connection_id":172757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902299136001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788681157000,"timestamp_ms":1788681157000,"timestamp_seconds":1788681157,"priority":1,"record_length":96,"hex_timestamp":"000001a075b47988"} 
[2026-09-06 13:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:23:46] 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-09-06 13:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:23: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-09-06 13:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902299136001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902299136001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:23:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902299136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":172757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:23:46] local.INFO: GPS data processed {"connection_id":172757,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:23:46] local.INFO: Acknowledgment sent {"connection_id":172757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:23:48] local.INFO: TCP Data received {"connection_id":173910,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:23:48] local.INFO: Processing buffer {"connection_id":173910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:23:48] local.INFO: IMEI packet received {"connection_id":173910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":173910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:23:50] local.INFO: TCP Data received {"connection_id":173911,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:23:50] local.INFO: Processing buffer {"connection_id":173911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:23:50] local.INFO: IMEI packet received {"connection_id":173911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":173911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:23:51] local.INFO: TCP Data received {"connection_id":173911,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:23:51] local.INFO: Processing buffer {"connection_id":173911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:23:51] local.INFO: IMEI packet received {"connection_id":173911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":173911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:23:53] local.INFO: TCP Data received {"connection_id":173910,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:23:53] local.INFO: Processing buffer {"connection_id":173910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:23:53] local.INFO: IMEI packet received {"connection_id":173910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":173910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:23:54] local.INFO: TCP Data received {"connection_id":173910,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:23:54] local.INFO: Processing buffer {"connection_id":173910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:23:54] local.INFO: Packet analysis {"connection_id":173910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:23:54] local.INFO: Extracted packet for processing {"connection_id":173910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:23:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902304000001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:23: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-09-06 13:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788681176000,"timestamp_ms":1788681176000,"timestamp_seconds":1788681176,"priority":1,"record_length":96,"hex_timestamp":"000001a075b4c3c0"} 
[2026-09-06 13:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:23: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-09-06 13:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 13:23:54] 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-09-06 13:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:23: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-09-06 13:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902304000001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902304000001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:23:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:23:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902304000001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":173910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:23:54] local.INFO: GPS data processed {"connection_id":173910,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:23:54] local.INFO: Acknowledgment sent {"connection_id":173910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:23:57] local.INFO: TCP Data received {"connection_id":173911,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:23:57] local.INFO: Processing buffer {"connection_id":173911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:23:57] local.INFO: IMEI packet received {"connection_id":173911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":173911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:24:09] local.INFO: TCP Data received {"connection_id":173912,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:24:09] local.INFO: Processing buffer {"connection_id":173912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:24:09] local.INFO: IMEI packet received {"connection_id":173912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":173912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:24:09] local.INFO: TCP Data received {"connection_id":173911,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075b498c8012c46144009f4ef900223000c2a..."} 
[2026-09-06 13:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b498c8012c46144009f4ef900223000c2a..."} 
[2026-09-06 13:24:09] local.INFO: Processing buffer {"connection_id":173911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b498c8012c46144009f4ef900223000c2a..."} 
[2026-09-06 13:24:09] local.INFO: Packet analysis {"connection_id":173911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:24:09] local.INFO: Extracted packet for processing {"connection_id":173911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:24:09] local.INFO: GPS Element Parsed {"raw_longitude":742790208,"raw_latitude":167047056,"longitude_deg":74.2790208,"latitude_deg":16.7047056,"altitude":547,"angle":12,"satellites":42,"speed":55,"hex_longitude":"2c461440","hex_latitude":"09f4ef90","is_valid_coordinates":true} 
[2026-09-06 13:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902376448001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2642062017036288,"note":"Value kept but may cause issues"} 
[2026-09-06 13:24:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5047409325137158146,"note":"Value kept but may cause issues"} 
[2026-09-06 13:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788681165000,"timestamp_ms":1788681165000,"timestamp_seconds":1788681165,"priority":1,"record_length":96,"hex_timestamp":"000001a075b498c8"} 
[2026-09-06 13:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 13:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902376448001,"66":28256,"212":206,"37":23808,"24":55,"16":2642062017036288,"44":5047409325137158146},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,37,24,16,44]} 
[2026-09-06 13:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902376448001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:24:09] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-06 13:24:09] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2642062017036288,"km_value":2642062017036.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:24:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":5047409325137158146,"description":"Unknown IO ID 44"} 
[2026-09-06 13:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902376448001,"power":28256,"unknown_212":206,"unknown_37":23808,"ignition":55,"odometer":null,"unknown_44":5047409325137158146}} 
[2026-09-06 13:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":173911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774573,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:24:09] local.INFO: GPS data processed {"connection_id":173911,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:24:09] local.INFO: Acknowledgment sent {"connection_id":173911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:24:14] local.INFO: TCP Data received {"connection_id":173912,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:24:14] local.INFO: Processing buffer {"connection_id":173912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:24:14] local.INFO: IMEI packet received {"connection_id":173912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":173912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:24:15] local.INFO: TCP Data received {"connection_id":173912,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:24:15] local.INFO: Processing buffer {"connection_id":173912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:24:15] local.INFO: Packet analysis {"connection_id":173912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:24:15] local.INFO: Extracted packet for processing {"connection_id":173912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902299136001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788681157000,"timestamp_ms":1788681157000,"timestamp_seconds":1788681157,"priority":1,"record_length":96,"hex_timestamp":"000001a075b47988"} 
[2026-09-06 13:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:24:15] 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-09-06 13:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902299136001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902299136001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:24:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:24:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902299136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":173912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:24:15] local.INFO: GPS data processed {"connection_id":173912,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:24:15] local.INFO: Acknowledgment sent {"connection_id":173912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:24:26] local.INFO: TCP Data received {"connection_id":173910,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:24:26] local.INFO: Processing buffer {"connection_id":173910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:24:26] local.INFO: Packet analysis {"connection_id":173910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:24:26] local.INFO: Extracted packet for processing {"connection_id":173910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:24:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902304000001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788681176000,"timestamp_ms":1788681176000,"timestamp_seconds":1788681176,"priority":1,"record_length":96,"hex_timestamp":"000001a075b4c3c0"} 
[2026-09-06 13:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 13:24:26] 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-09-06 13:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:24: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-09-06 13:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902304000001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902304000001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:24:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:24:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902304000001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":173910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:24:26] local.INFO: GPS data processed {"connection_id":173910,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:24:26] local.INFO: Acknowledgment sent {"connection_id":173910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:24:46] local.INFO: TCP Data received {"connection_id":173912,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:24:46] local.INFO: Processing buffer {"connection_id":173912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:24:46] local.INFO: Packet analysis {"connection_id":173912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:24:46] local.INFO: Extracted packet for processing {"connection_id":173912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902299136001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788681157000,"timestamp_ms":1788681157000,"timestamp_seconds":1788681157,"priority":1,"record_length":96,"hex_timestamp":"000001a075b47988"} 
[2026-09-06 13:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:24:46] 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-09-06 13:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:24: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-09-06 13:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902299136001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902299136001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:24:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902299136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":173912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:24:46] local.INFO: GPS data processed {"connection_id":173912,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:24:46] local.INFO: Acknowledgment sent {"connection_id":173912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:24:47] local.INFO: TCP Data received {"connection_id":175235,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:24:47] local.INFO: Processing buffer {"connection_id":175235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:24:47] local.INFO: IMEI packet received {"connection_id":175235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":175235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:24:53] local.INFO: TCP Data received {"connection_id":175235,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:24:53] local.INFO: Processing buffer {"connection_id":175235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:24:53] local.INFO: IMEI packet received {"connection_id":175235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":175235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:24:54] local.INFO: TCP Data received {"connection_id":175235,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:24:54] local.INFO: Processing buffer {"connection_id":175235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:24:54] local.INFO: Packet analysis {"connection_id":175235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:24:54] local.INFO: Extracted packet for processing {"connection_id":175235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:24:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902304000001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:24: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-09-06 13:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788681176000,"timestamp_ms":1788681176000,"timestamp_seconds":1788681176,"priority":1,"record_length":96,"hex_timestamp":"000001a075b4c3c0"} 
[2026-09-06 13:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:24: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-09-06 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 13:24:54] 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-09-06 13: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-09-06 13:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:24: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-09-06 13:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902304000001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902304000001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:24:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:24:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902304000001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":175235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:24:54] local.INFO: GPS data processed {"connection_id":175235,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:24:54] local.INFO: Acknowledgment sent {"connection_id":175235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:24:59] local.INFO: TCP Data received {"connection_id":172532,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:24:59] local.INFO: Processing buffer {"connection_id":172532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:24:59] local.INFO: IMEI packet received {"connection_id":172532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":172532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:25:01] local.INFO: TCP Data received {"connection_id":172532,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:25:01] local.INFO: Processing buffer {"connection_id":172532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:25:01] local.INFO: IMEI packet received {"connection_id":172532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":172532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:25:02] local.INFO: TCP Data received {"connection_id":172532,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075b4b420012c461d8009f515900222000d2a..."} 
[2026-09-06 13:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b4b420012c461d8009f515900222000d2a..."} 
[2026-09-06 13:25:02] local.INFO: Processing buffer {"connection_id":172532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b4b420012c461d8009f515900222000d2a..."} 
[2026-09-06 13:25:02] local.INFO: Packet analysis {"connection_id":172532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:25:02] local.INFO: Extracted packet for processing {"connection_id":172532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:25:02] local.INFO: GPS Element Parsed {"raw_longitude":742792576,"raw_latitude":167056784,"longitude_deg":74.2792576,"latitude_deg":16.7056784,"altitude":546,"angle":13,"satellites":42,"speed":56,"hex_longitude":"2c461d80","hex_latitude":"09f51590","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902378240001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2642547348340736,"note":"Value kept but may cause issues"} 
[2026-09-06 13:25:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5049731493697392642,"note":"Value kept but may cause issues"} 
[2026-09-06 13:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788681172000,"timestamp_ms":1788681172000,"timestamp_seconds":1788681172,"priority":1,"record_length":96,"hex_timestamp":"000001a075b4b420"} 
[2026-09-06 13:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:25: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-09-06 13: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 13:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902378240001,"66":28050,"212":206,"37":23808,"24":56,"16":2642547348340736,"44":5049731493697392642},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,37,24,16,44]} 
[2026-09-06 13:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902378240001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:25:02] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-06 13:25:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2642547348340736,"km_value":2642547348340.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:25:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":5049731493697392642,"description":"Unknown IO ID 44"} 
[2026-09-06 13:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902378240001,"power":28050,"unknown_212":206,"unknown_37":23808,"ignition":56,"odometer":null,"unknown_44":5049731493697392642}} 
[2026-09-06 13:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":172532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774578,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:25:02] local.INFO: GPS data processed {"connection_id":172532,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:25:02] local.INFO: Acknowledgment sent {"connection_id":172532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:25:05] local.INFO: TCP Data received {"connection_id":172532,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075b4cf78012c46278009f53b100222000d2a..."} 
[2026-09-06 13:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b4cf78012c46278009f53b100222000d2a..."} 
[2026-09-06 13:25:05] local.INFO: Processing buffer {"connection_id":172532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b4cf78012c46278009f53b100222000d2a..."} 
[2026-09-06 13:25:05] local.INFO: Packet analysis {"connection_id":172532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:25:05] local.INFO: Extracted packet for processing {"connection_id":172532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:25:05] local.INFO: GPS Element Parsed {"raw_longitude":742795136,"raw_latitude":167066384,"longitude_deg":74.2795136,"latitude_deg":16.7066384,"altitude":546,"angle":13,"satellites":42,"speed":56,"hex_longitude":"2c462780","hex_latitude":"09f53b10","is_valid_coordinates":true} 
[2026-09-06 13:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902380032001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2643028384677888,"note":"Value kept but may cause issues"} 
[2026-09-06 13:25:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5052335137234456578,"note":"Value kept but may cause issues"} 
[2026-09-06 13:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788681179000,"timestamp_ms":1788681179000,"timestamp_seconds":1788681179,"priority":1,"record_length":96,"hex_timestamp":"000001a075b4cf78"} 
[2026-09-06 13:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 13:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902380032001,"66":28137,"212":206,"37":23808,"24":56,"16":2643028384677888,"44":5052335137234456578},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,37,24,16,44]} 
[2026-09-06 13:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902380032001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:25:05] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-06 13:25:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2643028384677888,"km_value":2643028384677.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:25:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":5052335137234456578,"description":"Unknown IO ID 44"} 
[2026-09-06 13:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902380032001,"power":28137,"unknown_212":206,"unknown_37":23808,"ignition":56,"odometer":null,"unknown_44":5052335137234456578}} 
[2026-09-06 13:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":172532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774579,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:25:05] local.INFO: GPS data processed {"connection_id":172532,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:25:05] local.INFO: Acknowledgment sent {"connection_id":172532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:25:25] local.INFO: TCP Data received {"connection_id":175235,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:25:25] local.INFO: Processing buffer {"connection_id":175235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:25:25] local.INFO: Packet analysis {"connection_id":175235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:25:25] local.INFO: Extracted packet for processing {"connection_id":175235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:25:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902304000001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788681176000,"timestamp_ms":1788681176000,"timestamp_seconds":1788681176,"priority":1,"record_length":96,"hex_timestamp":"000001a075b4c3c0"} 
[2026-09-06 13:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:25: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-09-06 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 13:25: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-09-06 13: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-09-06 13:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13: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-09-06 13:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902304000001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902304000001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:25:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:25:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902304000001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":175235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:25:25] local.INFO: GPS data processed {"connection_id":175235,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:25:25] local.INFO: Acknowledgment sent {"connection_id":175235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:25:44] local.INFO: TCP Data received {"connection_id":172758,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:25:44] local.INFO: Processing buffer {"connection_id":172758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:25:44] local.INFO: IMEI packet received {"connection_id":172758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":172758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:25:48] local.INFO: TCP Data received {"connection_id":172759,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:25:48] local.INFO: Processing buffer {"connection_id":172759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:25:48] local.INFO: IMEI packet received {"connection_id":172759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":172759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:25:49] local.INFO: TCP Data received {"connection_id":172758,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:25:49] local.INFO: Processing buffer {"connection_id":172758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:25:49] local.INFO: IMEI packet received {"connection_id":172758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":172758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:25:50] local.INFO: TCP Data received {"connection_id":172758,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:25:50] local.INFO: Processing buffer {"connection_id":172758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:25:50] local.INFO: Packet analysis {"connection_id":172758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:25:50] local.INFO: Extracted packet for processing {"connection_id":172758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:25:50] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902299136001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788681157000,"timestamp_ms":1788681157000,"timestamp_seconds":1788681157,"priority":1,"record_length":96,"hex_timestamp":"000001a075b47988"} 
[2026-09-06 13:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":172758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":172758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":172758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:25: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-09-06 13:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902299136001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902299136001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:25:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:25:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902299136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":172758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:25:50] local.INFO: GPS data processed {"connection_id":172758,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:25:50] local.INFO: Acknowledgment sent {"connection_id":172758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:25:53] local.INFO: TCP Data received {"connection_id":172759,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:25:53] local.INFO: Processing buffer {"connection_id":172759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:25:53] local.INFO: IMEI packet received {"connection_id":172759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":172759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:25:54] local.INFO: TCP Data received {"connection_id":172759,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:25:54] local.INFO: Processing buffer {"connection_id":172759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:25:54] local.INFO: Packet analysis {"connection_id":172759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:25:54] local.INFO: Extracted packet for processing {"connection_id":172759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:25:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902304000001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:25: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-09-06 13:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788681176000,"timestamp_ms":1788681176000,"timestamp_seconds":1788681176,"priority":1,"record_length":96,"hex_timestamp":"000001a075b4c3c0"} 
[2026-09-06 13:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:25: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-09-06 13:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 13:25:54] 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-09-06 13:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:25: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-09-06 13:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902304000001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902304000001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:25:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:25:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902304000001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":172759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:25:54] local.INFO: GPS data processed {"connection_id":172759,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:25:54] local.INFO: Acknowledgment sent {"connection_id":172759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:26:14] local.INFO: TCP Data received {"connection_id":173913,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:26:14] local.INFO: Processing buffer {"connection_id":173913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:26:14] local.INFO: IMEI packet received {"connection_id":173913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":173913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:26:19] local.INFO: TCP Data received {"connection_id":173913,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:26:19] local.INFO: Processing buffer {"connection_id":173913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:26:19] local.INFO: IMEI packet received {"connection_id":173913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":173913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:26:20] local.INFO: TCP Data received {"connection_id":173913,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:26:20] local.INFO: Processing buffer {"connection_id":173913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:26:20] local.INFO: Packet analysis {"connection_id":173913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:26:20] local.INFO: Extracted packet for processing {"connection_id":173913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:26:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902299136001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788681157000,"timestamp_ms":1788681157000,"timestamp_seconds":1788681157,"priority":1,"record_length":96,"hex_timestamp":"000001a075b47988"} 
[2026-09-06 13:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:26:20] 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-09-06 13:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902299136001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902299136001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:26:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:26:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902299136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":173913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:26:20] local.INFO: GPS data processed {"connection_id":173913,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:26:20] local.INFO: Acknowledgment sent {"connection_id":173913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:26:25] local.INFO: TCP Data received {"connection_id":172759,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:26:25] local.INFO: Processing buffer {"connection_id":172759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:26:25] local.INFO: Packet analysis {"connection_id":172759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:26:25] local.INFO: Extracted packet for processing {"connection_id":172759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902304000001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788681176000,"timestamp_ms":1788681176000,"timestamp_seconds":1788681176,"priority":1,"record_length":96,"hex_timestamp":"000001a075b4c3c0"} 
[2026-09-06 13:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:26: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-09-06 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 13:26: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-09-06 13: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-09-06 13:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:26: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-09-06 13:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902304000001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902304000001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:26:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:26:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902304000001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":172759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:26:25] local.INFO: GPS data processed {"connection_id":172759,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:26:25] local.INFO: Acknowledgment sent {"connection_id":172759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:26:51] local.INFO: TCP Data received {"connection_id":173913,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:26:51] local.INFO: Processing buffer {"connection_id":173913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:26:51] local.INFO: Packet analysis {"connection_id":173913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:26:51] local.INFO: Extracted packet for processing {"connection_id":173913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902299136001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:26: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-09-06 13:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788681157000,"timestamp_ms":1788681157000,"timestamp_seconds":1788681157,"priority":1,"record_length":96,"hex_timestamp":"000001a075b47988"} 
[2026-09-06 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-09-06 13:26:51] 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-09-06 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 13:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:26: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-09-06 13:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902299136001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902299136001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:26:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902299136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":173913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:26:51] local.INFO: GPS data processed {"connection_id":173913,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:26:51] local.INFO: Acknowledgment sent {"connection_id":173913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:26:53] local.INFO: TCP Data received {"connection_id":173914,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:26:53] local.INFO: Processing buffer {"connection_id":173914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:26:53] local.INFO: IMEI packet received {"connection_id":173914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":173914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:26:54] local.INFO: TCP Data received {"connection_id":175237,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:26:54] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:26:54] local.INFO: IMEI packet received {"connection_id":175237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":175237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:26:57] local.INFO: TCP Data received {"connection_id":175237,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:26:57] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:26:57] local.INFO: IMEI packet received {"connection_id":175237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":175237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:26:58] local.INFO: TCP Data received {"connection_id":173914,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:26:58] local.INFO: Processing buffer {"connection_id":173914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:26:58] local.INFO: IMEI packet received {"connection_id":173914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":173914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:26:59] local.INFO: TCP Data received {"connection_id":173914,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:26:59] local.INFO: Processing buffer {"connection_id":173914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:26:59] local.INFO: Packet analysis {"connection_id":173914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:26:59] local.INFO: Extracted packet for processing {"connection_id":173914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902304000001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:26: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-09-06 13:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788681176000,"timestamp_ms":1788681176000,"timestamp_seconds":1788681176,"priority":1,"record_length":96,"hex_timestamp":"000001a075b4c3c0"} 
[2026-09-06 13:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 13:26:59] 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-09-06 13:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:26: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-09-06 13:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902304000001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902304000001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:26:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:26:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902304000001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":173914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:26:59] local.INFO: GPS data processed {"connection_id":173914,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:26:59] local.INFO: Acknowledgment sent {"connection_id":173914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:26:59] local.INFO: TCP Data received {"connection_id":175237,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:26:59] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:26:59] local.INFO: IMEI packet received {"connection_id":175237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":175237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:27:01] local.INFO: TCP Data received {"connection_id":175237,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075b78e98012c46a30009f84ab0022401642a..."} 
[2026-09-06 13:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b78e98012c46a30009f84ab0022401642a..."} 
[2026-09-06 13:27:01] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b78e98012c46a30009f84ab0022401642a..."} 
[2026-09-06 13:27:01] local.INFO: Packet analysis {"connection_id":175237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b7"} 
[2026-09-06 13:27:01] local.INFO: Extracted packet for processing {"connection_id":175237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b7"} 
[2026-09-06 13:27:01] local.INFO: GPS Element Parsed {"raw_longitude":742826752,"raw_latitude":167266992,"longitude_deg":74.2826752,"latitude_deg":16.7266992,"altitude":548,"angle":356,"satellites":42,"speed":33,"hex_longitude":"2c46a300","hex_latitude":"09f84ab0","is_valid_coordinates":true} 
[2026-09-06 13:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902425088001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2652949759131648,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5090545365374418946,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788681359000,"timestamp_ms":1788681359000,"timestamp_seconds":1788681359,"priority":1,"record_length":96,"hex_timestamp":"000001a075b78e98"} 
[2026-09-06 13:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:27: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-09-06 13:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-06 13:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902425088001,"66":28256,"133":206,"37":23808,"24":33,"16":2652949759131648,"44":5090545365374418946},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,37,24,16,44]} 
[2026-09-06 13:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902425088001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:27:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-06 13:27:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2652949759131648,"km_value":2652949759131.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:27:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":5090545365374418946,"description":"Unknown IO ID 44"} 
[2026-09-06 13:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902425088001,"power":28256,"unknown_133":206,"unknown_37":23808,"ignition":33,"odometer":null,"unknown_44":5090545365374418946}} 
[2026-09-06 13:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":175237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774587,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:27:01] local.INFO: GPS data processed {"connection_id":175237,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:27:01] local.INFO: Acknowledgment sent {"connection_id":175237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:27:03] local.INFO: TCP Data received {"connection_id":173914,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:27:03] local.INFO: Processing buffer {"connection_id":173914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:27:03] local.INFO: Packet analysis {"connection_id":173914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:27:03] local.INFO: Extracted packet for processing {"connection_id":173914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:27:03] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902304000001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27: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-09-06 13:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788681176000,"timestamp_ms":1788681176000,"timestamp_seconds":1788681176,"priority":1,"record_length":96,"hex_timestamp":"000001a075b4c3c0"} 
[2026-09-06 13:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 13:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:27: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-09-06 13:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902304000001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902304000001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:27:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902304000001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":173914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:27:03] local.INFO: GPS data processed {"connection_id":173914,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:27:03] local.INFO: Acknowledgment sent {"connection_id":173914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:27:06] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:27:06] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:27:06] local.INFO: IMEI packet received {"connection_id":173915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 13:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":173915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:27:07] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:27:07] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:27:07] local.INFO: IMEI packet received {"connection_id":173915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":173915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:27:11] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:27:11] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:27:11] local.INFO: IMEI packet received {"connection_id":173915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":173915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:27:11] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 13:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 13:27:11] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 13:27:11] local.INFO: Packet analysis {"connection_id":173915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-06 13:27:11] local.INFO: Extracted packet for processing {"connection_id":173915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-06 13:27: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-09-06 13: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-09-06 13:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917682522161152,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,25,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:27: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-09-06 13:27:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 13:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173915,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 13:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 13:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 13:27:11] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 13:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":173915,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 13:27:11] local.ERROR: GPS data processing failed {"connection_id":173915,"error":"No valid data to process"} 
[2026-09-06 13:27:11] local.INFO: Acknowledgment sent {"connection_id":173915,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 13:27:14] local.INFO: TCP Data received {"connection_id":172533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:27:14] local.INFO: Processing buffer {"connection_id":172533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:27:14] local.INFO: IMEI packet received {"connection_id":172533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":172533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:27:19] local.INFO: TCP Data received {"connection_id":172533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:27:19] local.INFO: Processing buffer {"connection_id":172533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:27:19] local.INFO: IMEI packet received {"connection_id":172533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":172533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:27:20] local.INFO: TCP Data received {"connection_id":172533,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:27:20] local.INFO: Processing buffer {"connection_id":172533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:27:20] local.INFO: Packet analysis {"connection_id":172533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:27:20] local.INFO: Extracted packet for processing {"connection_id":172533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:27:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902299136001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788681157000,"timestamp_ms":1788681157000,"timestamp_seconds":1788681157,"priority":1,"record_length":96,"hex_timestamp":"000001a075b47988"} 
[2026-09-06 13:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:27:20] 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-09-06 13:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902299136001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902299136001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:27:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:27:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902299136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":172533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:27:20] local.INFO: GPS data processed {"connection_id":172533,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:27:20] local.INFO: Acknowledgment sent {"connection_id":172533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:27:24] local.INFO: TCP Data received {"connection_id":172533,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:27:24] local.INFO: Processing buffer {"connection_id":172533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:27:24] local.INFO: Packet analysis {"connection_id":172533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:27:24] local.INFO: Extracted packet for processing {"connection_id":172533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:27:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 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-09-06 13:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902299136001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788681157000,"timestamp_ms":1788681157000,"timestamp_seconds":1788681157,"priority":1,"record_length":96,"hex_timestamp":"000001a075b47988"} 
[2026-09-06 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-09-06 13:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 13:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902299136001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902299136001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:27:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:27:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902299136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":172533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:27:24] local.INFO: GPS data processed {"connection_id":172533,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:27:24] local.INFO: Acknowledgment sent {"connection_id":172533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:27:34] local.INFO: TCP Data received {"connection_id":175237,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075b7b990012c46a0c009f870500226016429..."} 
[2026-09-06 13:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b7b990012c46a0c009f870500226016429..."} 
[2026-09-06 13:27:34] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b7b990012c46a0c009f870500226016429..."} 
[2026-09-06 13:27:34] local.INFO: Packet analysis {"connection_id":175237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b7"} 
[2026-09-06 13:27:34] local.INFO: Extracted packet for processing {"connection_id":175237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b7"} 
[2026-09-06 13:27:34] local.INFO: GPS Element Parsed {"raw_longitude":742826176,"raw_latitude":167276624,"longitude_deg":74.2826176,"latitude_deg":16.7276624,"altitude":550,"angle":356,"satellites":41,"speed":36,"hex_longitude":"2c46a0c0","hex_latitude":"09f87050","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902427904001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2653417910566912,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5089912046679142402,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788681370000,"timestamp_ms":1788681370000,"timestamp_seconds":1788681370,"priority":1,"record_length":96,"hex_timestamp":"000001a075b7b990"} 
[2026-09-06 13:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 13:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902427904001,"66":28202,"133":206,"37":23808,"24":36,"16":2653417910566912,"44":5089912046679142402},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,37,24,16,44]} 
[2026-09-06 13:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902427904001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:27:34] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-09-06 13:27:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2653417910566912,"km_value":2653417910566.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:27:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":5089912046679142402,"description":"Unknown IO ID 44"} 
[2026-09-06 13:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902427904001,"power":28202,"unknown_133":206,"unknown_37":23808,"ignition":36,"odometer":null,"unknown_44":5089912046679142402}} 
[2026-09-06 13:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":175237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774591,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:27:35] local.INFO: GPS data processed {"connection_id":175237,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:27:35] local.INFO: Acknowledgment sent {"connection_id":175237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:27:42] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-06 13:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-06 13:27:42] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-06 13:27:42] local.INFO: Packet analysis {"connection_id":173915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 13:27:42] local.INFO: Extracted packet for processing {"connection_id":173915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 13:27:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917682522161152,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,25,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:27:42] 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-09-06 13:27:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 13:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":173915,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 13:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 13:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 13:27:42] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 13:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":173915,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 13:27:42] local.ERROR: GPS data processing failed {"connection_id":173915,"error":"No valid data to process"} 
[2026-09-06 13:27:42] local.INFO: Acknowledgment sent {"connection_id":173915,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 13:27:48] local.INFO: TCP Data received {"connection_id":175238,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:27:48] local.INFO: Processing buffer {"connection_id":175238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:27:48] local.INFO: IMEI packet received {"connection_id":175238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":175238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:27:49] local.INFO: TCP Data received {"connection_id":175239,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:27:49] local.INFO: Processing buffer {"connection_id":175239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:27:49] local.INFO: IMEI packet received {"connection_id":175239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":175239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:27:53] local.INFO: TCP Data received {"connection_id":175238,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:27:53] local.INFO: Processing buffer {"connection_id":175238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:27:53] local.INFO: IMEI packet received {"connection_id":175238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":175238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:27:54] local.INFO: TCP Data received {"connection_id":175238,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:27:54] local.INFO: Processing buffer {"connection_id":175238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:27:54] local.INFO: Packet analysis {"connection_id":175238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:27:54] local.INFO: Extracted packet for processing {"connection_id":175238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:27:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902304000001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27: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-09-06 13:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788681176000,"timestamp_ms":1788681176000,"timestamp_seconds":1788681176,"priority":1,"record_length":96,"hex_timestamp":"000001a075b4c3c0"} 
[2026-09-06 13:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:27: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-09-06 13:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 13:27:54] 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-09-06 13:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:27: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-09-06 13:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902304000001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902304000001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:27:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:27:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902304000001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":175238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:27:54] local.INFO: GPS data processed {"connection_id":175238,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:27:54] local.INFO: Acknowledgment sent {"connection_id":175238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:27:55] local.INFO: TCP Data received {"connection_id":175239,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:27:55] local.INFO: Processing buffer {"connection_id":175239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:27:55] local.INFO: IMEI packet received {"connection_id":175239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":175239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:27:56] local.INFO: TCP Data received {"connection_id":175239,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075b7e0a0012c469e8009f895f00227016629..."} 
[2026-09-06 13:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b7e0a0012c469e8009f895f00227016629..."} 
[2026-09-06 13:27:56] local.INFO: Processing buffer {"connection_id":175239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b7e0a0012c469e8009f895f00227016629..."} 
[2026-09-06 13:27:56] local.INFO: Packet analysis {"connection_id":175239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b7"} 
[2026-09-06 13:27:56] local.INFO: Extracted packet for processing {"connection_id":175239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b7"} 
[2026-09-06 13:27:56] local.INFO: GPS Element Parsed {"raw_longitude":742825600,"raw_latitude":167286256,"longitude_deg":74.28256,"latitude_deg":16.7286256,"altitude":551,"angle":358,"satellites":41,"speed":38,"hex_longitude":"2c469e80","hex_latitude":"09f895f0","is_valid_coordinates":true} 
[2026-09-06 13:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902430720001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2653886062002176,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5089278727984009218,"note":"Value kept but may cause issues"} 
[2026-09-06 13:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788681380000,"timestamp_ms":1788681380000,"timestamp_seconds":1788681380,"priority":1,"record_length":96,"hex_timestamp":"000001a075b7e0a0"} 
[2026-09-06 13:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:27: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-09-06 13:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-06 13:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902430720001,"66":28137,"212":206,"37":23808,"24":38,"16":2653886062002176,"44":5089278727984009218},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,37,24,16,44]} 
[2026-09-06 13:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902430720001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:27:56] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-06 13:27:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2653886062002176,"km_value":2653886062002.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:27:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5089278727984009218,"description":"Unknown IO ID 44"} 
[2026-09-06 13:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902430720001,"power":28137,"unknown_212":206,"unknown_37":23808,"ignition":38,"odometer":null,"unknown_44":5089278727984009218}} 
[2026-09-06 13:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":175239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774593,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:27:56] local.INFO: GPS data processed {"connection_id":175239,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:27:56] local.INFO: Acknowledgment sent {"connection_id":175239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:28:09] local.INFO: TCP Data received {"connection_id":173916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:28:09] local.INFO: Processing buffer {"connection_id":173916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:28:09] local.INFO: IMEI packet received {"connection_id":173916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":173916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:28:14] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b934780100000000000000000000000000..."} 
[2026-09-06 13:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b934780100000000000000000000000000..."} 
[2026-09-06 13:28:14] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b934780100000000000000000000000000..."} 
[2026-09-06 13:28:14] local.INFO: Packet analysis {"connection_id":173915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:28:14] local.INFO: Extracted packet for processing {"connection_id":173915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:28:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 13:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917682522161152,"note":"Value kept but may cause issues"} 
[2026-09-06 13:28:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788681467000,"timestamp_ms":1788681467000,"timestamp_seconds":1788681467,"priority":1,"record_length":96,"hex_timestamp":"000001a075b93478"} 
[2026-09-06 13:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:28:14] 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-09-06 13:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 13:28:14] 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-09-06 13:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:28: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-09-06 13:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":173915,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 13:28:14] local.INFO: GPS data processed {"connection_id":173915,"processed":0,"errors":0,"total":1} 
[2026-09-06 13:28:14] local.INFO: Acknowledgment sent {"connection_id":173915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:28:14] local.INFO: TCP Data received {"connection_id":173916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:28:14] local.INFO: Processing buffer {"connection_id":173916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:28:14] local.INFO: IMEI packet received {"connection_id":173916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":173916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:28:15] local.INFO: TCP Data received {"connection_id":173916,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:28:15] local.INFO: Processing buffer {"connection_id":173916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b47988012d196540071fef68003b011025..."} 
[2026-09-06 13:28:15] local.INFO: Packet analysis {"connection_id":173916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:28:15] local.INFO: Extracted packet for processing {"connection_id":173916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902299136001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788681157000,"timestamp_ms":1788681157000,"timestamp_seconds":1788681157,"priority":1,"record_length":96,"hex_timestamp":"000001a075b47988"} 
[2026-09-06 13:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:28:15] 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-09-06 13:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902299136001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902299136001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:28:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902299136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":173916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:28:15] local.INFO: GPS data processed {"connection_id":173916,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:28:15] local.INFO: Acknowledgment sent {"connection_id":173916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:28:26] local.INFO: TCP Data received {"connection_id":175238,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:28:26] local.INFO: Processing buffer {"connection_id":175238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b4c3c0012d34c48006aa3e58000900a726..."} 
[2026-09-06 13:28:26] local.INFO: Packet analysis {"connection_id":175238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:28:26] local.INFO: Extracted packet for processing {"connection_id":175238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b4"} 
[2026-09-06 13:28:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902304000001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788681176000,"timestamp_ms":1788681176000,"timestamp_seconds":1788681176,"priority":1,"record_length":96,"hex_timestamp":"000001a075b4c3c0"} 
[2026-09-06 13:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 13:28:26] 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-09-06 13:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:28:26] 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-09-06 13:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902304000001,"66":26039,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902304000001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:28:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:28:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902304000001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":175238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:28:26] local.INFO: GPS data processed {"connection_id":175238,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:28:26] local.INFO: Acknowledgment sent {"connection_id":175238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:28:28] local.INFO: TCP Data received {"connection_id":175239,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075b807b0012c469c8009f8bab00227016529..."} 
[2026-09-06 13:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b807b0012c469c8009f8bab00227016529..."} 
[2026-09-06 13:28:28] local.INFO: Processing buffer {"connection_id":175239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b807b0012c469c8009f8bab00227016529..."} 
[2026-09-06 13:28:28] local.INFO: Packet analysis {"connection_id":175239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b8"} 
[2026-09-06 13:28:28] local.INFO: Extracted packet for processing {"connection_id":175239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b8"} 
[2026-09-06 13:28:28] local.INFO: GPS Element Parsed {"raw_longitude":742825088,"raw_latitude":167295664,"longitude_deg":74.2825088,"latitude_deg":16.7295664,"altitude":551,"angle":357,"satellites":41,"speed":41,"hex_longitude":"2c469c80","hex_latitude":"09f8bab0","is_valid_coordinates":true} 
[2026-09-06 13:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902433280001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2654341328535552,"note":"Value kept but may cause issues"} 
[2026-09-06 13:28:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5088645409288876034,"note":"Value kept but may cause issues"} 
[2026-09-06 13:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788681390000,"timestamp_ms":1788681390000,"timestamp_seconds":1788681390,"priority":1,"record_length":96,"hex_timestamp":"000001a075b807b0"} 
[2026-09-06 13:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:28: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-09-06 13:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 13:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902433280001,"66":28224,"212":206,"37":23808,"24":41,"16":2654341328535552,"44":5088645409288876034},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,37,24,16,44]} 
[2026-09-06 13:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902433280001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:28:28] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-06 13:28:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2654341328535552,"km_value":2654341328535.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:28:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":5088645409288876034,"description":"Unknown IO ID 44"} 
[2026-09-06 13:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902433280001,"power":28224,"unknown_212":206,"unknown_37":23808,"ignition":41,"odometer":null,"unknown_44":5088645409288876034}} 
[2026-09-06 13:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":175239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774596,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:28:28] local.INFO: GPS data processed {"connection_id":175239,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:28:28] local.INFO: Acknowledgment sent {"connection_id":175239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:28:45] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b986800100000000000000000000000000..."} 
[2026-09-06 13:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b986800100000000000000000000000000..."} 
[2026-09-06 13:28:45] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b986800100000000000000000000000000..."} 
[2026-09-06 13:28:45] local.INFO: Packet analysis {"connection_id":173915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:28:45] local.INFO: Extracted packet for processing {"connection_id":173915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:28:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917682522161152,"note":"Value kept but may cause issues"} 
[2026-09-06 13:28:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788681488000,"timestamp_ms":1788681488000,"timestamp_seconds":1788681488,"priority":1,"record_length":96,"hex_timestamp":"000001a075b98680"} 
[2026-09-06 13:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:28:45] 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-09-06 13: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-06 13:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:28:45] 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-09-06 13:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":173915,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 13:28:45] local.INFO: GPS data processed {"connection_id":173915,"processed":0,"errors":0,"total":1} 
[2026-09-06 13:28:45] local.INFO: Acknowledgment sent {"connection_id":173915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:28:46] local.INFO: TCP Data received {"connection_id":173916,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:28:46] local.INFO: Processing buffer {"connection_id":173916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:28:46] local.INFO: Packet analysis {"connection_id":173916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:28:46] local.INFO: Extracted packet for processing {"connection_id":173916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902376192001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788681458000,"timestamp_ms":1788681458000,"timestamp_seconds":1788681458,"priority":1,"record_length":96,"hex_timestamp":"000001a075b91150"} 
[2026-09-06 13:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:28:46] 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-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:28: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-09-06 13:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902376192001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902376192001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:28:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902376192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":173916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:28:46] local.INFO: GPS data processed {"connection_id":173916,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:28:46] local.INFO: Acknowledgment sent {"connection_id":173916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:28:48] local.INFO: TCP Data received {"connection_id":172534,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:28:48] local.INFO: Processing buffer {"connection_id":172534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:28:48] local.INFO: IMEI packet received {"connection_id":172534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":172534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:28:53] local.INFO: TCP Data received {"connection_id":172534,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:28:53] local.INFO: Processing buffer {"connection_id":172534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:28:53] local.INFO: IMEI packet received {"connection_id":172534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":172534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:28:54] local.INFO: TCP Data received {"connection_id":172534,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:28:54] local.INFO: Processing buffer {"connection_id":172534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:28:54] local.INFO: Packet analysis {"connection_id":172534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:28:54] local.INFO: Extracted packet for processing {"connection_id":172534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:28:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902381056001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:28:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 13:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:28: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-09-06 13:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788681477000,"timestamp_ms":1788681477000,"timestamp_seconds":1788681477,"priority":1,"record_length":96,"hex_timestamp":"000001a075b95b88"} 
[2026-09-06 13:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:28: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-09-06 13:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:28: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-09-06 13:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:28: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-09-06 13:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902381056001,"66":25995,"200":0,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902381056001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:28:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902381056001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":172534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:28:54] local.INFO: GPS data processed {"connection_id":172534,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:28:54] local.INFO: Acknowledgment sent {"connection_id":172534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:29:09] local.INFO: TCP Data received {"connection_id":173917,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:29:09] local.INFO: Processing buffer {"connection_id":173917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:29:09] local.INFO: IMEI packet received {"connection_id":173917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":173917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:29:14] local.INFO: TCP Data received {"connection_id":173917,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:29:14] local.INFO: Processing buffer {"connection_id":173917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:29:14] local.INFO: IMEI packet received {"connection_id":173917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":173917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:29:14] local.INFO: TCP Data received {"connection_id":173917,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:29:14] local.INFO: Processing buffer {"connection_id":173917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:29:14] local.INFO: Packet analysis {"connection_id":173917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:29:14] local.INFO: Extracted packet for processing {"connection_id":173917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:29:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902376192001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:29: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-09-06 13:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788681458000,"timestamp_ms":1788681458000,"timestamp_seconds":1788681458,"priority":1,"record_length":96,"hex_timestamp":"000001a075b91150"} 
[2026-09-06 13:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:29: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-09-06 13:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902376192001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902376192001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:29:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902376192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":173917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:29:14] local.INFO: GPS data processed {"connection_id":173917,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:29:14] local.INFO: Acknowledgment sent {"connection_id":173917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:29:16] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b9d8880100000000000000000000000000..."} 
[2026-09-06 13:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b9d8880100000000000000000000000000..."} 
[2026-09-06 13:29:16] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b9d8880100000000000000000000000000..."} 
[2026-09-06 13:29:16] local.INFO: Packet analysis {"connection_id":173915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:29:16] local.INFO: Extracted packet for processing {"connection_id":173915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:29:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 13:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917682522161152,"note":"Value kept but may cause issues"} 
[2026-09-06 13:29:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788681509000,"timestamp_ms":1788681509000,"timestamp_seconds":1788681509,"priority":1,"record_length":96,"hex_timestamp":"000001a075b9d888"} 
[2026-09-06 13:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-06 13:29:16] 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-09-06 13:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:29:16] 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-09-06 13:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":173915,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 13:29:16] local.INFO: GPS data processed {"connection_id":173915,"processed":0,"errors":0,"total":1} 
[2026-09-06 13:29:16] local.INFO: Acknowledgment sent {"connection_id":173915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:29:25] local.INFO: TCP Data received {"connection_id":175240,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175240,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:29:25] local.INFO: Processing buffer {"connection_id":175240,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:29:25] local.INFO: IMEI packet received {"connection_id":175240,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":175240,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:29:26] local.INFO: TCP Data received {"connection_id":172534,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:29:26] local.INFO: Processing buffer {"connection_id":172534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:29:26] local.INFO: Packet analysis {"connection_id":172534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:29:26] local.INFO: Extracted packet for processing {"connection_id":172534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:29:26] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902381056001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:29:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 13:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:29: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-09-06 13:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788681477000,"timestamp_ms":1788681477000,"timestamp_seconds":1788681477,"priority":1,"record_length":96,"hex_timestamp":"000001a075b95b88"} 
[2026-09-06 13:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:29:26] 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-09-06 13: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-09-06 13:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:29:26] 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-09-06 13:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902381056001,"66":25995,"200":0,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902381056001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:29:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902381056001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":172534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:29:26] local.INFO: GPS data processed {"connection_id":172534,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:29:26] local.INFO: Acknowledgment sent {"connection_id":172534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:29:29] local.INFO: TCP Data received {"connection_id":175240,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175240,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:29:29] local.INFO: Processing buffer {"connection_id":175240,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:29:29] local.INFO: IMEI packet received {"connection_id":175240,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":175240,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:29:31] local.INFO: TCP Data received {"connection_id":175240,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075b95f70012c46828009fa3c10023101642a..."} 
[2026-09-06 13:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b95f70012c46828009fa3c10023101642a..."} 
[2026-09-06 13:29:31] local.INFO: Processing buffer {"connection_id":175240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b95f70012c46828009fa3c10023101642a..."} 
[2026-09-06 13:29:31] local.INFO: Packet analysis {"connection_id":175240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:29:31] local.INFO: Extracted packet for processing {"connection_id":175240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:29:31] local.INFO: GPS Element Parsed {"raw_longitude":742818432,"raw_latitude":167394320,"longitude_deg":74.2818432,"latitude_deg":16.739432,"altitude":561,"angle":356,"satellites":42,"speed":54,"hex_longitude":"2c468280","hex_latitude":"09fa3c10","is_valid_coordinates":true} 
[2026-09-06 13:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902456576001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2659138807005184,"note":"Value kept but may cause issues"} 
[2026-09-06 13:29:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5081467797408018434,"note":"Value kept but may cause issues"} 
[2026-09-06 13:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788681478000,"timestamp_ms":1788681478000,"timestamp_seconds":1788681478,"priority":1,"record_length":96,"hex_timestamp":"000001a075b95f70"} 
[2026-09-06 13:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:29: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-09-06 13:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 13:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175240,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175240,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902456576001,"66":28050,"211":206,"37":23808,"24":54,"16":2659138807005184,"44":5081467797408018434},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,37,24,16,44]} 
[2026-09-06 13:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902456576001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:29:31] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-06 13:29:31] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2659138807005184,"km_value":2659138807005.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:29:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":5081467797408018434,"description":"Unknown IO ID 44"} 
[2026-09-06 13:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902456576001,"power":28050,"unknown_211":206,"unknown_37":23808,"ignition":54,"odometer":null,"unknown_44":5081467797408018434}} 
[2026-09-06 13:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":175240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774601,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:29:31] local.INFO: GPS data processed {"connection_id":175240,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:29:31] local.INFO: Acknowledgment sent {"connection_id":175240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:29:45] local.INFO: TCP Data received {"connection_id":173917,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:29:45] local.INFO: Processing buffer {"connection_id":173917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:29:45] local.INFO: Packet analysis {"connection_id":173917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:29:45] local.INFO: Extracted packet for processing {"connection_id":173917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902376192001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:29: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-09-06 13:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788681458000,"timestamp_ms":1788681458000,"timestamp_seconds":1788681458,"priority":1,"record_length":96,"hex_timestamp":"000001a075b91150"} 
[2026-09-06 13:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:29: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-09-06 13:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:29: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-09-06 13:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902376192001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902376192001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:29:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902376192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":173917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:29:46] local.INFO: GPS data processed {"connection_id":173917,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:29:46] local.INFO: Acknowledgment sent {"connection_id":173917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:29:47] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075ba2a900100000000000000000000000000..."} 
[2026-09-06 13:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ba2a900100000000000000000000000000..."} 
[2026-09-06 13:29:47] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ba2a900100000000000000000000000000..."} 
[2026-09-06 13:29:47] local.INFO: Packet analysis {"connection_id":173915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ba"} 
[2026-09-06 13:29:47] local.INFO: Extracted packet for processing {"connection_id":173915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ba"} 
[2026-09-06 13:29:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 13:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917682522161152,"note":"Value kept but may cause issues"} 
[2026-09-06 13:29:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788681530000,"timestamp_ms":1788681530000,"timestamp_seconds":1788681530,"priority":1,"record_length":96,"hex_timestamp":"000001a075ba2a90"} 
[2026-09-06 13:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-06 13:29:47] 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-09-06 13:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:29:47] 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-09-06 13:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":173915,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 13:29:47] local.INFO: GPS data processed {"connection_id":173915,"processed":0,"errors":0,"total":1} 
[2026-09-06 13:29:47] local.INFO: Acknowledgment sent {"connection_id":173915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:29:48] local.INFO: TCP Data received {"connection_id":172535,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:29:48] local.INFO: Processing buffer {"connection_id":172535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:29:48] local.INFO: IMEI packet received {"connection_id":172535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":172535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:29:53] local.INFO: TCP Data received {"connection_id":172535,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:29:53] local.INFO: Processing buffer {"connection_id":172535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:29:53] local.INFO: IMEI packet received {"connection_id":172535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":172535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:29:54] local.INFO: TCP Data received {"connection_id":172535,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:29:54] local.INFO: Processing buffer {"connection_id":172535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:29:54] local.INFO: Packet analysis {"connection_id":172535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:29:54] local.INFO: Extracted packet for processing {"connection_id":172535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:29:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902381056001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:29:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 13:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:29: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-09-06 13:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788681477000,"timestamp_ms":1788681477000,"timestamp_seconds":1788681477,"priority":1,"record_length":96,"hex_timestamp":"000001a075b95b88"} 
[2026-09-06 13:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:29: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-09-06 13:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:29: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-09-06 13:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:29: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-09-06 13:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902381056001,"66":25995,"200":0,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902381056001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:29:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902381056001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":172535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:29:54] local.INFO: GPS data processed {"connection_id":172535,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:29:54] local.INFO: Acknowledgment sent {"connection_id":172535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:30:00] local.INFO: TCP Data received {"connection_id":175241,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:30:00] local.INFO: Processing buffer {"connection_id":175241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:30:00] local.INFO: IMEI packet received {"connection_id":175241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":175241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:30:00] local.INFO: TCP Data received {"connection_id":175241,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:30:00] local.INFO: Processing buffer {"connection_id":175241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:30:00] local.INFO: IMEI packet received {"connection_id":175241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":175241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:30:05] local.INFO: TCP Data received {"connection_id":175241,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:30:05] local.INFO: Processing buffer {"connection_id":175241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:30:05] local.INFO: IMEI packet received {"connection_id":175241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":175241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:30:08] local.INFO: TCP Data received {"connection_id":175241,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075b97ac8012c46808009fa61100232016429..."} 
[2026-09-06 13:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b97ac8012c46808009fa61100232016429..."} 
[2026-09-06 13:30:08] local.INFO: Processing buffer {"connection_id":175241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b97ac8012c46808009fa61100232016429..."} 
[2026-09-06 13:30:08] local.INFO: Packet analysis {"connection_id":175241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:30:08] local.INFO: Extracted packet for processing {"connection_id":175241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:30:08] local.INFO: GPS Element Parsed {"raw_longitude":742817920,"raw_latitude":167403792,"longitude_deg":74.281792,"latitude_deg":16.7403792,"altitude":562,"angle":356,"satellites":41,"speed":52,"hex_longitude":"2c468080","hex_latitude":"09fa6110","is_valid_coordinates":true} 
[2026-09-06 13:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902458368001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2659598368505856,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5080764109968642050,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788681485000,"timestamp_ms":1788681485000,"timestamp_seconds":1788681485,"priority":1,"record_length":96,"hex_timestamp":"000001a075b97ac8"} 
[2026-09-06 13:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:30: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-09-06 13:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 13:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902458368001,"66":27984,"211":206,"37":23808,"24":52,"16":2659598368505856,"44":5080764109968642050},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,37,24,16,44]} 
[2026-09-06 13:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902458368001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:30:08] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-06 13:30:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2659598368505856,"km_value":2659598368505.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:30:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":5080764109968642050,"description":"Unknown IO ID 44"} 
[2026-09-06 13:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902458368001,"power":27984,"unknown_211":206,"unknown_37":23808,"ignition":52,"odometer":null,"unknown_44":5080764109968642050}} 
[2026-09-06 13:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":175241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774604,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:30:08] local.INFO: GPS data processed {"connection_id":175241,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:30:08] local.INFO: Acknowledgment sent {"connection_id":175241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:30:09] local.INFO: TCP Data received {"connection_id":172536,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:30:09] local.INFO: Processing buffer {"connection_id":172536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:30:09] local.INFO: IMEI packet received {"connection_id":172536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":172536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:30:10] local.INFO: TCP Data received {"connection_id":175241,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075b99a08012c467c8009fa86200233015b29..."} 
[2026-09-06 13:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b99a08012c467c8009fa86200233015b29..."} 
[2026-09-06 13:30:10] local.INFO: Processing buffer {"connection_id":175241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b99a08012c467c8009fa86200233015b29..."} 
[2026-09-06 13:30:10] local.INFO: Packet analysis {"connection_id":175241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:30:10] local.INFO: Extracted packet for processing {"connection_id":175241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:30:10] local.INFO: GPS Element Parsed {"raw_longitude":742816896,"raw_latitude":167413280,"longitude_deg":74.2816896,"latitude_deg":16.741328,"altitude":563,"angle":347,"satellites":41,"speed":39,"hex_longitude":"2c467c80","hex_latitude":"09fa8620","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902460160001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2660062224973824,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5080201160017645570,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788681493000,"timestamp_ms":1788681493000,"timestamp_seconds":1788681493,"priority":1,"record_length":96,"hex_timestamp":"000001a075b99a08"} 
[2026-09-06 13:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:30: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-09-06 13:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 13:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902460160001,"66":28050,"211":206,"37":23808,"24":39,"16":2660062224973824,"44":5080201160017645570},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,37,24,16,44]} 
[2026-09-06 13:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902460160001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:30:10] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-06 13:30:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2660062224973824,"km_value":2660062224973.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":5080201160017645570,"description":"Unknown IO ID 44"} 
[2026-09-06 13:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902460160001,"power":28050,"unknown_211":206,"unknown_37":23808,"ignition":39,"odometer":null,"unknown_44":5080201160017645570}} 
[2026-09-06 13:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":175241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774605,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:30:10] local.INFO: GPS data processed {"connection_id":175241,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:30:10] local.INFO: Acknowledgment sent {"connection_id":175241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:30:14] local.INFO: TCP Data received {"connection_id":172536,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:30:14] local.INFO: Processing buffer {"connection_id":172536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:30:14] local.INFO: IMEI packet received {"connection_id":172536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":172536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:30:15] local.INFO: TCP Data received {"connection_id":172536,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:30:15] local.INFO: Processing buffer {"connection_id":172536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:30:15] local.INFO: Packet analysis {"connection_id":172536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:30:15] local.INFO: Extracted packet for processing {"connection_id":172536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902376192001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788681458000,"timestamp_ms":1788681458000,"timestamp_seconds":1788681458,"priority":1,"record_length":96,"hex_timestamp":"000001a075b91150"} 
[2026-09-06 13:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:30:15] 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-09-06 13:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902376192001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902376192001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:30:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902376192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":172536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:30:15] local.INFO: GPS data processed {"connection_id":172536,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:30:15] local.INFO: Acknowledgment sent {"connection_id":172536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:30:18] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075ba7c980100000000000000000000000000..."} 
[2026-09-06 13:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ba7c980100000000000000000000000000..."} 
[2026-09-06 13:30:18] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ba7c980100000000000000000000000000..."} 
[2026-09-06 13:30:18] local.INFO: Packet analysis {"connection_id":173915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ba"} 
[2026-09-06 13:30:18] local.INFO: Extracted packet for processing {"connection_id":173915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ba"} 
[2026-09-06 13:30:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 13:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917682522161152,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,199,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788681551000,"timestamp_ms":1788681551000,"timestamp_seconds":1788681551,"priority":1,"record_length":96,"hex_timestamp":"000001a075ba7c98"} 
[2026-09-06 13:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:30:18] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-06 13:30:18] 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-09-06 13:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:30:18] 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-09-06 13:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":173915,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 13:30:18] local.INFO: GPS data processed {"connection_id":173915,"processed":0,"errors":0,"total":1} 
[2026-09-06 13:30:18] local.INFO: Acknowledgment sent {"connection_id":173915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:30:31] local.INFO: TCP Data received {"connection_id":172535,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:30:31] local.INFO: Processing buffer {"connection_id":172535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:30:31] local.INFO: Packet analysis {"connection_id":172535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:30:31] local.INFO: Extracted packet for processing {"connection_id":172535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902381056001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 13:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30: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-09-06 13:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788681477000,"timestamp_ms":1788681477000,"timestamp_seconds":1788681477,"priority":1,"record_length":96,"hex_timestamp":"000001a075b95b88"} 
[2026-09-06 13:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:30:31] 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-09-06 13:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:30:31] 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-09-06 13:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902381056001,"66":25995,"200":0,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902381056001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:30:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902381056001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":172535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:30:31] local.INFO: GPS data processed {"connection_id":172535,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:30:31] local.INFO: Acknowledgment sent {"connection_id":172535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:30:46] local.INFO: TCP Data received {"connection_id":172536,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:30:46] local.INFO: Processing buffer {"connection_id":172536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:30:46] local.INFO: Packet analysis {"connection_id":172536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:30:46] local.INFO: Extracted packet for processing {"connection_id":172536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902376192001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788681458000,"timestamp_ms":1788681458000,"timestamp_seconds":1788681458,"priority":1,"record_length":96,"hex_timestamp":"000001a075b91150"} 
[2026-09-06 13:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:30:46] 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-09-06 13:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:30: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-09-06 13:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902376192001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902376192001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:30:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902376192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":172536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:30:46] local.INFO: GPS data processed {"connection_id":172536,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:30:46] local.INFO: Acknowledgment sent {"connection_id":172536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:30:49] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075bacea00100000000000000000000000000..."} 
[2026-09-06 13:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bacea00100000000000000000000000000..."} 
[2026-09-06 13:30:49] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bacea00100000000000000000000000000..."} 
[2026-09-06 13:30:49] local.INFO: Packet analysis {"connection_id":173915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ba"} 
[2026-09-06 13:30:49] local.INFO: Extracted packet for processing {"connection_id":173915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ba"} 
[2026-09-06 13:30:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 13:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917682522161152,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,199,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788681572000,"timestamp_ms":1788681572000,"timestamp_seconds":1788681572,"priority":1,"record_length":96,"hex_timestamp":"000001a075bacea0"} 
[2026-09-06 13:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:30:49] 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-09-06 13:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-06 13:30:49] 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-09-06 13:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:30:49] 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-09-06 13:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":173915,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 13:30:49] local.INFO: GPS data processed {"connection_id":173915,"processed":0,"errors":0,"total":1} 
[2026-09-06 13:30:49] local.INFO: Acknowledgment sent {"connection_id":173915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:30:53] local.INFO: TCP Data received {"connection_id":175243,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:30:53] local.INFO: Processing buffer {"connection_id":175243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:30:53] local.INFO: IMEI packet received {"connection_id":175243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":175243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:30:53] local.INFO: TCP Data received {"connection_id":175242,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:30:53] local.INFO: Processing buffer {"connection_id":175242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:30:53] local.INFO: IMEI packet received {"connection_id":175242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":175242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:30:54] local.INFO: TCP Data received {"connection_id":175242,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:30:54] local.INFO: Processing buffer {"connection_id":175242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:30:54] local.INFO: IMEI packet received {"connection_id":175242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":175242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:30:57] local.INFO: TCP Data received {"connection_id":175242,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075b9ccd0012c46784009faaa800233016429..."} 
[2026-09-06 13:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b9ccd0012c46784009faaa800233016429..."} 
[2026-09-06 13:30:57] local.INFO: Processing buffer {"connection_id":175242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b9ccd0012c46784009faaa800233016429..."} 
[2026-09-06 13:30:57] local.INFO: Packet analysis {"connection_id":175242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:30:57] local.INFO: Extracted packet for processing {"connection_id":175242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:30:57] local.INFO: GPS Element Parsed {"raw_longitude":742815808,"raw_latitude":167422592,"longitude_deg":74.2815808,"latitude_deg":16.7422592,"altitude":563,"angle":356,"satellites":41,"speed":30,"hex_longitude":"2c467840","hex_latitude":"09faaa80","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902462208001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2660517491507200,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5079075260113231874,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788681506000,"timestamp_ms":1788681506000,"timestamp_seconds":1788681506,"priority":1,"record_length":96,"hex_timestamp":"000001a075b9ccd0"} 
[2026-09-06 13:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13: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-09-06 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 13:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902462208001,"66":28050,"211":206,"37":23808,"24":30,"16":2660517491507200,"44":5079075260113231874},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,37,24,16,44]} 
[2026-09-06 13:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902462208001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:30:57] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-06 13:30:57] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2660517491507200,"km_value":2660517491507.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:30:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":5079075260113231874,"description":"Unknown IO ID 44"} 
[2026-09-06 13:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902462208001,"power":28050,"unknown_211":206,"unknown_37":23808,"ignition":30,"odometer":null,"unknown_44":5079075260113231874}} 
[2026-09-06 13:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":175242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774609,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:30:57] local.INFO: GPS data processed {"connection_id":175242,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:30:57] local.INFO: Acknowledgment sent {"connection_id":175242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:30:58] local.INFO: TCP Data received {"connection_id":175243,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:30:58] local.INFO: Processing buffer {"connection_id":175243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:30:58] local.INFO: IMEI packet received {"connection_id":175243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":175243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:30:59] local.INFO: TCP Data received {"connection_id":175242,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075b9f7c8012c4674c009fad0b00233016127..."} 
[2026-09-06 13:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b9f7c8012c4674c009fad0b00233016127..."} 
[2026-09-06 13:30:59] local.INFO: Processing buffer {"connection_id":175242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b9f7c8012c4674c009fad0b00233016127..."} 
[2026-09-06 13:30:59] local.INFO: Packet analysis {"connection_id":175242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:30:59] local.INFO: Extracted packet for processing {"connection_id":175242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:30:59] local.INFO: GPS Element Parsed {"raw_longitude":742814912,"raw_latitude":167432368,"longitude_deg":74.2814912,"latitude_deg":16.7432368,"altitude":563,"angle":353,"satellites":39,"speed":38,"hex_longitude":"2c4674c0","hex_latitude":"09fad0b0","is_valid_coordinates":true} 
[2026-09-06 13:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902465536001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2660994232877056,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5077878991464595458,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788681517000,"timestamp_ms":1788681517000,"timestamp_seconds":1788681517,"priority":1,"record_length":96,"hex_timestamp":"000001a075b9f7c8"} 
[2026-09-06 13:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:30: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-09-06 13:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 13:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902465536001,"66":28104,"194":206,"37":23808,"24":38,"16":2660994232877056,"44":5077878991464595458},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,37,24,16,44]} 
[2026-09-06 13:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902465536001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:30:59] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-06 13:30:59] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2660994232877056,"km_value":2660994232877.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:30:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":5077878991464595458,"description":"Unknown IO ID 44"} 
[2026-09-06 13:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902465536001,"power":28104,"unknown_194":206,"unknown_37":23808,"ignition":38,"odometer":null,"unknown_44":5077878991464595458}} 
[2026-09-06 13:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":175242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774610,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:30:59] local.INFO: GPS data processed {"connection_id":175242,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:30:59] local.INFO: Acknowledgment sent {"connection_id":175242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:30:59] local.INFO: TCP Data received {"connection_id":175243,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:30:59] local.INFO: Processing buffer {"connection_id":175243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:30:59] local.INFO: Packet analysis {"connection_id":175243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:30:59] local.INFO: Extracted packet for processing {"connection_id":175243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:30:59] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902381056001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 13:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:30: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-09-06 13:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788681477000,"timestamp_ms":1788681477000,"timestamp_seconds":1788681477,"priority":1,"record_length":96,"hex_timestamp":"000001a075b95b88"} 
[2026-09-06 13:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:30:59] 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-09-06 13:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:30: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-09-06 13:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902381056001,"66":25995,"200":0,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902381056001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:30:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902381056001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":175243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:30:59] local.INFO: GPS data processed {"connection_id":175243,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:30:59] local.INFO: Acknowledgment sent {"connection_id":175243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:31:03] local.INFO: TCP Data received {"connection_id":175243,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:31:03] local.INFO: Processing buffer {"connection_id":175243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:31:03] local.INFO: Packet analysis {"connection_id":175243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:31:03] local.INFO: Extracted packet for processing {"connection_id":175243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902381056001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 13:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31: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-09-06 13:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788681477000,"timestamp_ms":1788681477000,"timestamp_seconds":1788681477,"priority":1,"record_length":96,"hex_timestamp":"000001a075b95b88"} 
[2026-09-06 13:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:31:03] 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-09-06 13:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:31: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-09-06 13:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902381056001,"66":25995,"200":0,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902381056001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902381056001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":175243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:31:03] local.INFO: GPS data processed {"connection_id":175243,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:31:03] local.INFO: Acknowledgment sent {"connection_id":175243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:31:14] local.INFO: TCP Data received {"connection_id":172537,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:31:14] local.INFO: Processing buffer {"connection_id":172537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:31:14] local.INFO: IMEI packet received {"connection_id":172537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":172537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:31:19] local.INFO: TCP Data received {"connection_id":172537,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:31:19] local.INFO: Processing buffer {"connection_id":172537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:31:19] local.INFO: IMEI packet received {"connection_id":172537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":172537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:31:20] local.INFO: TCP Data received {"connection_id":172537,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:31:20] local.INFO: Processing buffer {"connection_id":172537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:31:20] local.INFO: Packet analysis {"connection_id":172537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:31:20] local.INFO: Extracted packet for processing {"connection_id":172537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:31:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902376192001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788681458000,"timestamp_ms":1788681458000,"timestamp_seconds":1788681458,"priority":1,"record_length":96,"hex_timestamp":"000001a075b91150"} 
[2026-09-06 13:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:31:20] 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-09-06 13:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902376192001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902376192001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:31:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:31:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902376192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":172537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:31:20] local.INFO: GPS data processed {"connection_id":172537,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:31:20] local.INFO: Acknowledgment sent {"connection_id":172537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:31:20] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075bb20a80100000000000000000000000000..."} 
[2026-09-06 13:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bb20a80100000000000000000000000000..."} 
[2026-09-06 13:31:20] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bb20a80100000000000000000000000000..."} 
[2026-09-06 13:31:20] local.INFO: Packet analysis {"connection_id":173915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bb"} 
[2026-09-06 13:31:20] local.INFO: Extracted packet for processing {"connection_id":173915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bb"} 
[2026-09-06 13:31:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 13:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917682522161152,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,199,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788681593000,"timestamp_ms":1788681593000,"timestamp_seconds":1788681593,"priority":1,"record_length":96,"hex_timestamp":"000001a075bb20a8"} 
[2026-09-06 13:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:31:20] 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-09-06 13:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 13:31:20] 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-09-06 13:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:31:20] 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-09-06 13:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":173915,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 13:31:20] local.INFO: GPS data processed {"connection_id":173915,"processed":0,"errors":0,"total":1} 
[2026-09-06 13:31:20] local.INFO: Acknowledgment sent {"connection_id":173915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:31:24] local.INFO: TCP Data received {"connection_id":172537,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:31:24] local.INFO: Processing buffer {"connection_id":172537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:31:24] local.INFO: Packet analysis {"connection_id":172537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:31:24] local.INFO: Extracted packet for processing {"connection_id":172537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:31:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 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-09-06 13:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902376192001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788681458000,"timestamp_ms":1788681458000,"timestamp_seconds":1788681458,"priority":1,"record_length":96,"hex_timestamp":"000001a075b91150"} 
[2026-09-06 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-09-06 13:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 13:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902376192001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902376192001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:31:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:31:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902376192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":172537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:31:24] local.INFO: GPS data processed {"connection_id":172537,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:31:24] local.INFO: Acknowledgment sent {"connection_id":172537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:31:31] local.INFO: TCP Data received {"connection_id":175242,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075bbc0d0012c462b4009fc23e0023d015b2b..."} 
[2026-09-06 13:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bbc0d0012c462b4009fc23e0023d015b2b..."} 
[2026-09-06 13:31:31] local.INFO: Processing buffer {"connection_id":175242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bbc0d0012c462b4009fc23e0023d015b2b..."} 
[2026-09-06 13:31:31] local.INFO: Packet analysis {"connection_id":175242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bb"} 
[2026-09-06 13:31:31] local.INFO: Extracted packet for processing {"connection_id":175242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bb"} 
[2026-09-06 13:31:31] local.INFO: GPS Element Parsed {"raw_longitude":742796096,"raw_latitude":167519200,"longitude_deg":74.2796096,"latitude_deg":16.75192,"altitude":573,"angle":347,"satellites":43,"speed":39,"hex_longitude":"2c462b40","hex_latitude":"09fc23e0","is_valid_coordinates":true} 
[2026-09-06 13:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902495744001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2665306380042240,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5058386849349758978,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788681634000,"timestamp_ms":1788681634000,"timestamp_seconds":1788681634,"priority":1,"record_length":96,"hex_timestamp":"000001a075bbc0d0"} 
[2026-09-06 13:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:31: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-09-06 13:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 13:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902495744001,"66":28050,"194":206,"37":23808,"24":39,"16":2665306380042240,"44":5058386849349758978},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,37,24,16,44]} 
[2026-09-06 13:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902495744001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:31:31] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-06 13:31:31] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2665306380042240,"km_value":2665306380042.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:31:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":5058386849349758978,"description":"Unknown IO ID 44"} 
[2026-09-06 13:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902495744001,"power":28050,"unknown_194":206,"unknown_37":23808,"ignition":39,"odometer":null,"unknown_44":5058386849349758978}} 
[2026-09-06 13:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":175242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774615,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:31:31] local.INFO: GPS data processed {"connection_id":175242,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:31:31] local.INFO: Acknowledgment sent {"connection_id":175242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:31:45] local.INFO: TCP Data received {"connection_id":173918,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:31:45] local.INFO: Processing buffer {"connection_id":173918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:31:45] local.INFO: IMEI packet received {"connection_id":173918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 13:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":173918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:31:49] local.INFO: TCP Data received {"connection_id":173919,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:31:49] local.INFO: Processing buffer {"connection_id":173919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:31:49] local.INFO: IMEI packet received {"connection_id":173919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":173919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:31:50] local.INFO: TCP Data received {"connection_id":173919,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:31:50] local.INFO: Processing buffer {"connection_id":173919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:31:50] local.INFO: IMEI packet received {"connection_id":173919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":173919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:31:50] local.INFO: TCP Data received {"connection_id":173918,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:31:50] local.INFO: Processing buffer {"connection_id":173918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:31:50] local.INFO: IMEI packet received {"connection_id":173918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":173918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:31:51] local.INFO: TCP Data received {"connection_id":173918,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075bb72b00100000000000000000000000000..."} 
[2026-09-06 13:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bb72b00100000000000000000000000000..."} 
[2026-09-06 13:31:51] local.INFO: Processing buffer {"connection_id":173918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bb72b00100000000000000000000000000..."} 
[2026-09-06 13:31:51] local.INFO: Packet analysis {"connection_id":173918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bb"} 
[2026-09-06 13:31:51] local.INFO: Extracted packet for processing {"connection_id":173918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bb"} 
[2026-09-06 13:31:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917682522161152,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,199,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788681614000,"timestamp_ms":1788681614000,"timestamp_seconds":1788681614,"priority":1,"record_length":96,"hex_timestamp":"000001a075bb72b0"} 
[2026-09-06 13:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:31:51] 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-09-06 13: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-06 13:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:31:51] 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-09-06 13:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":173918,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 13:31:51] local.INFO: GPS data processed {"connection_id":173918,"processed":0,"errors":0,"total":1} 
[2026-09-06 13:31:51] local.INFO: Acknowledgment sent {"connection_id":173918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:31:52] local.INFO: TCP Data received {"connection_id":175244,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:31:52] local.INFO: Processing buffer {"connection_id":175244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:31:52] local.INFO: IMEI packet received {"connection_id":175244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":175244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:31:52] local.INFO: TCP Data received {"connection_id":175244,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:31:52] local.INFO: Processing buffer {"connection_id":175244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:31:52] local.INFO: IMEI packet received {"connection_id":175244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":175244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:31:53] local.INFO: TCP Data received {"connection_id":175244,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:31:53] local.INFO: Processing buffer {"connection_id":175244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:31:53] local.INFO: Packet analysis {"connection_id":175244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:31:53] local.INFO: Extracted packet for processing {"connection_id":175244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902381056001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 13:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788681477000,"timestamp_ms":1788681477000,"timestamp_seconds":1788681477,"priority":1,"record_length":96,"hex_timestamp":"000001a075b95b88"} 
[2026-09-06 13:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13: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-09-06 13: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":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:31: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-09-06 13: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-09-06 13:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13: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-09-06 13:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902381056001,"66":25995,"200":0,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902381056001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:31:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902381056001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":175244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:31:53] local.INFO: GPS data processed {"connection_id":175244,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:31:53] local.INFO: Acknowledgment sent {"connection_id":175244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:31:54] local.INFO: TCP Data received {"connection_id":173919,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:31:54] local.INFO: Processing buffer {"connection_id":173919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:31:54] local.INFO: IMEI packet received {"connection_id":173919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":173919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:31:58] local.INFO: TCP Data received {"connection_id":175244,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:31:58] local.INFO: Processing buffer {"connection_id":175244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:31:58] local.INFO: Packet analysis {"connection_id":175244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:31:58] local.INFO: Extracted packet for processing {"connection_id":175244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:31:58] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902381056001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 13:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31: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-09-06 13:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788681477000,"timestamp_ms":1788681477000,"timestamp_seconds":1788681477,"priority":1,"record_length":96,"hex_timestamp":"000001a075b95b88"} 
[2026-09-06 13:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:31: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-09-06 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:31: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-09-06 13: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-09-06 13:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13: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-09-06 13:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902381056001,"66":25995,"200":0,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902381056001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:31:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902381056001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":175244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:31:58] local.INFO: GPS data processed {"connection_id":175244,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:31:58] local.INFO: Acknowledgment sent {"connection_id":175244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:31:59] local.INFO: TCP Data received {"connection_id":173919,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075bbe3f8012c4621c009fc4830023b015b2b..."} 
[2026-09-06 13:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bbe3f8012c4621c009fc4830023b015b2b..."} 
[2026-09-06 13:31:59] local.INFO: Processing buffer {"connection_id":173919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bbe3f8012c4621c009fc4830023b015b2b..."} 
[2026-09-06 13:31:59] local.INFO: Packet analysis {"connection_id":173919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bb"} 
[2026-09-06 13:31:59] local.INFO: Extracted packet for processing {"connection_id":173919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bb"} 
[2026-09-06 13:31:59] local.INFO: GPS Element Parsed {"raw_longitude":742793664,"raw_latitude":167528496,"longitude_deg":74.2793664,"latitude_deg":16.7528496,"altitude":571,"angle":347,"satellites":43,"speed":46,"hex_longitude":"2c4621c0","hex_latitude":"09fc4830","is_valid_coordinates":true} 
[2026-09-06 13:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902498304001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2665774531477504,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5056205418282606594,"note":"Value kept but may cause issues"} 
[2026-09-06 13:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788681643000,"timestamp_ms":1788681643000,"timestamp_seconds":1788681643,"priority":1,"record_length":96,"hex_timestamp":"000001a075bbe3f8"} 
[2026-09-06 13:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:31: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-09-06 13:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 13:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902498304001,"66":28050,"194":206,"37":23808,"24":46,"16":2665774531477504,"44":5056205418282606594},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,37,24,16,44]} 
[2026-09-06 13:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902498304001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:31:59] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-06 13:31:59] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2665774531477504,"km_value":2665774531477.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:31:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":5056205418282606594,"description":"Unknown IO ID 44"} 
[2026-09-06 13:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902498304001,"power":28050,"unknown_194":206,"unknown_37":23808,"ignition":46,"odometer":null,"unknown_44":5056205418282606594}} 
[2026-09-06 13:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":173919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774618,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:31:59] local.INFO: GPS data processed {"connection_id":173919,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:31:59] local.INFO: Acknowledgment sent {"connection_id":173919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:32:09] local.INFO: TCP Data received {"connection_id":172760,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:32:09] local.INFO: Processing buffer {"connection_id":172760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:32:09] local.INFO: IMEI packet received {"connection_id":172760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":172760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:32:14] local.INFO: TCP Data received {"connection_id":172760,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:32:14] local.INFO: Processing buffer {"connection_id":172760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:32:14] local.INFO: IMEI packet received {"connection_id":172760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":172760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:32:15] local.INFO: TCP Data received {"connection_id":172760,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:32:15] local.INFO: Processing buffer {"connection_id":172760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:32:15] local.INFO: Packet analysis {"connection_id":172760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:32:15] local.INFO: Extracted packet for processing {"connection_id":172760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902376192001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788681458000,"timestamp_ms":1788681458000,"timestamp_seconds":1788681458,"priority":1,"record_length":96,"hex_timestamp":"000001a075b91150"} 
[2026-09-06 13:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:32:15] 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-09-06 13:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902376192001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902376192001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:32:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902376192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":172760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:32:15] local.INFO: GPS data processed {"connection_id":172760,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:32:15] local.INFO: Acknowledgment sent {"connection_id":172760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:32:22] local.INFO: TCP Data received {"connection_id":173918,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075bbc4b80100000000000000000000000000..."} 
[2026-09-06 13:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bbc4b80100000000000000000000000000..."} 
[2026-09-06 13:32:22] local.INFO: Processing buffer {"connection_id":173918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bbc4b80100000000000000000000000000..."} 
[2026-09-06 13:32:22] local.INFO: Packet analysis {"connection_id":173918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bb"} 
[2026-09-06 13:32:22] local.INFO: Extracted packet for processing {"connection_id":173918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bb"} 
[2026-09-06 13:32:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917682522161152,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,199,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788681635000,"timestamp_ms":1788681635000,"timestamp_seconds":1788681635,"priority":1,"record_length":96,"hex_timestamp":"000001a075bbc4b8"} 
[2026-09-06 13:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-06 13:32:22] 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-09-06 13: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-09-06 13:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:32:22] 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-09-06 13:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":173918,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 13:32:22] local.INFO: GPS data processed {"connection_id":173918,"processed":0,"errors":0,"total":1} 
[2026-09-06 13:32:22] local.INFO: Acknowledgment sent {"connection_id":173918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:32:29] local.INFO: TCP Data received {"connection_id":175244,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:32:29] local.INFO: Processing buffer {"connection_id":175244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:32:29] local.INFO: Packet analysis {"connection_id":175244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:32:29] local.INFO: Extracted packet for processing {"connection_id":175244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:32:29] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902381056001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 13:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32: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-09-06 13:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788681477000,"timestamp_ms":1788681477000,"timestamp_seconds":1788681477,"priority":1,"record_length":96,"hex_timestamp":"000001a075b95b88"} 
[2026-09-06 13:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:32:29] 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-09-06 13:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:32: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-09-06 13:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902381056001,"66":25995,"200":0,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902381056001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:32:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902381056001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":175244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:32:29] local.INFO: GPS data processed {"connection_id":175244,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:32:29] local.INFO: Acknowledgment sent {"connection_id":175244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:32:32] local.INFO: TCP Data received {"connection_id":173919,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075bc0338012c4619c009fc6e500238015f2b..."} 
[2026-09-06 13:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bc0338012c4619c009fc6e500238015f2b..."} 
[2026-09-06 13:32:32] local.INFO: Processing buffer {"connection_id":173919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bc0338012c4619c009fc6e500238015f2b..."} 
[2026-09-06 13:32:32] local.INFO: Packet analysis {"connection_id":173919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bc"} 
[2026-09-06 13:32:32] local.INFO: Extracted packet for processing {"connection_id":173919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bc"} 
[2026-09-06 13:32:32] local.INFO: GPS Element Parsed {"raw_longitude":742791616,"raw_latitude":167538256,"longitude_deg":74.2791616,"latitude_deg":16.7538256,"altitude":568,"angle":351,"satellites":43,"speed":51,"hex_longitude":"2c4619c0","hex_latitude":"09fc6e50","is_valid_coordinates":true} 
[2026-09-06 13:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902500608001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2666255567814656,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5053531406006235138,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788681651000,"timestamp_ms":1788681651000,"timestamp_seconds":1788681651,"priority":1,"record_length":96,"hex_timestamp":"000001a075bc0338"} 
[2026-09-06 13:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:32: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-09-06 13:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 13:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902500608001,"66":28104,"194":206,"37":23808,"24":51,"16":2666255567814656,"44":5053531406006235138},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,37,24,16,44]} 
[2026-09-06 13:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902500608001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:32:32] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-06 13:32:32] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2666255567814656,"km_value":2666255567814.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:32:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":5053531406006235138,"description":"Unknown IO ID 44"} 
[2026-09-06 13:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902500608001,"power":28104,"unknown_194":206,"unknown_37":23808,"ignition":51,"odometer":null,"unknown_44":5053531406006235138}} 
[2026-09-06 13:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":173919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774621,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:32:32] local.INFO: GPS data processed {"connection_id":173919,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:32:32] local.INFO: Acknowledgment sent {"connection_id":173919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:32:46] local.INFO: TCP Data received {"connection_id":172760,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:32:46] local.INFO: Processing buffer {"connection_id":172760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:32:46] local.INFO: Packet analysis {"connection_id":172760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:32:46] local.INFO: Extracted packet for processing {"connection_id":172760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902376192001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788681458000,"timestamp_ms":1788681458000,"timestamp_seconds":1788681458,"priority":1,"record_length":96,"hex_timestamp":"000001a075b91150"} 
[2026-09-06 13:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:32:46] 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-09-06 13:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:32: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-09-06 13:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902376192001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902376192001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:32:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902376192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":172760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:32:46] local.INFO: GPS data processed {"connection_id":172760,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:32:46] local.INFO: Acknowledgment sent {"connection_id":172760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:32:48] local.INFO: TCP Data received {"connection_id":173920,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:32:48] local.INFO: Processing buffer {"connection_id":173920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:32:48] local.INFO: IMEI packet received {"connection_id":173920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":173920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:32:49] local.INFO: TCP Data received {"connection_id":172538,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:32:49] local.INFO: Processing buffer {"connection_id":172538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:32:49] local.INFO: IMEI packet received {"connection_id":172538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":172538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:32:50] local.INFO: TCP Data received {"connection_id":172538,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:32:50] local.INFO: Processing buffer {"connection_id":172538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:32:50] local.INFO: IMEI packet received {"connection_id":172538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":172538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:32:53] local.INFO: TCP Data received {"connection_id":173920,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:32:53] local.INFO: Processing buffer {"connection_id":173920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:32:53] local.INFO: IMEI packet received {"connection_id":173920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":173920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:32:53] local.INFO: TCP Data received {"connection_id":173918,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075bc16c00100000000000000000000000000..."} 
[2026-09-06 13:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bc16c00100000000000000000000000000..."} 
[2026-09-06 13:32:53] local.INFO: Processing buffer {"connection_id":173918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bc16c00100000000000000000000000000..."} 
[2026-09-06 13:32:53] local.INFO: Packet analysis {"connection_id":173918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bc"} 
[2026-09-06 13:32:53] local.INFO: Extracted packet for processing {"connection_id":173918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bc"} 
[2026-09-06 13:32:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128917682522161152,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,199,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788681656000,"timestamp_ms":1788681656000,"timestamp_seconds":1788681656,"priority":1,"record_length":96,"hex_timestamp":"000001a075bc16c0"} 
[2026-09-06 13:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:32:53] 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-09-06 13: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-06 13:32:53] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627229773056,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:53] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3128727553,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2009530574,"corrected_to":0} 
[2026-09-06 13:32:53] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2415984640,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:53] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148959,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:53] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":32702464,"corrected_to":0} 
[2026-09-06 13:32:53] local.WARNING: Large IO value detected {"io_id":134,"raw_value":-9223090561878065152,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:53] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,199,85,24,241,157,16,1,160,114,10,66,32,206,240,230,227,117,4,113,205,42,239,2,54,81,202,134],"length":528,"final_offset":658,"validated_count":28,"validation_warnings":[{"io_id":205,"original":2009530574,"validated":0},{"io_id":202,"original":32702464,"validated":0}]} 
[2026-09-06 13:32:53] 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-09-06 13:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:32:53] 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-09-06 13:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":173918,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 13:32:53] local.INFO: GPS data processed {"connection_id":173918,"processed":0,"errors":0,"total":1} 
[2026-09-06 13:32:53] local.INFO: Acknowledgment sent {"connection_id":173918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:32:54] local.INFO: TCP Data received {"connection_id":173920,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:32:54] local.INFO: Processing buffer {"connection_id":173920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:32:54] local.INFO: Packet analysis {"connection_id":173920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:32:54] local.INFO: Extracted packet for processing {"connection_id":173920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902381056001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 13:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32: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-09-06 13:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788681477000,"timestamp_ms":1788681477000,"timestamp_seconds":1788681477,"priority":1,"record_length":96,"hex_timestamp":"000001a075b95b88"} 
[2026-09-06 13:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:32: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-09-06 13:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:32: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-09-06 13:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:32: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-09-06 13:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902381056001,"66":25995,"200":0,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902381056001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:32:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902381056001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":173920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:32:54] local.INFO: GPS data processed {"connection_id":173920,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:32:54] local.INFO: Acknowledgment sent {"connection_id":173920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:32:54] local.INFO: TCP Data received {"connection_id":172538,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:32:54] local.INFO: Processing buffer {"connection_id":172538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:32:54] local.INFO: IMEI packet received {"connection_id":172538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":172538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:32:56] local.INFO: TCP Data received {"connection_id":172538,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075bc1e90012c46144009fc9180023801612b..."} 
[2026-09-06 13:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bc1e90012c46144009fc9180023801612b..."} 
[2026-09-06 13:32:56] local.INFO: Processing buffer {"connection_id":172538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bc1e90012c46144009fc9180023801612b..."} 
[2026-09-06 13:32:56] local.INFO: Packet analysis {"connection_id":172538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bc"} 
[2026-09-06 13:32:56] local.INFO: Extracted packet for processing {"connection_id":172538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bc"} 
[2026-09-06 13:32:56] local.INFO: GPS Element Parsed {"raw_longitude":742790208,"raw_latitude":167547264,"longitude_deg":74.2790208,"latitude_deg":16.7547264,"altitude":568,"angle":353,"satellites":43,"speed":52,"hex_longitude":"2c461440","hex_latitude":"09fc9180","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902502656001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2666697949446144,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5051279606195048450,"note":"Value kept but may cause issues"} 
[2026-09-06 13:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788681658000,"timestamp_ms":1788681658000,"timestamp_seconds":1788681658,"priority":1,"record_length":96,"hex_timestamp":"000001a075bc1e90"} 
[2026-09-06 13:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:32: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-09-06 13: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 13:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902502656001,"66":27952,"194":206,"37":23808,"24":52,"16":2666697949446144,"44":5051279606195048450},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,37,24,16,44]} 
[2026-09-06 13:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902502656001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:32:56] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-06 13:32:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2666697949446144,"km_value":2666697949446.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:32:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5051279606195048450,"description":"Unknown IO ID 44"} 
[2026-09-06 13:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902502656001,"power":27952,"unknown_194":206,"unknown_37":23808,"ignition":52,"odometer":null,"unknown_44":5051279606195048450}} 
[2026-09-06 13:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":172538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774624,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:32:56] local.INFO: GPS data processed {"connection_id":172538,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:32:56] local.INFO: Acknowledgment sent {"connection_id":172538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:33:09] local.INFO: TCP Data received {"connection_id":172761,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:33:09] local.INFO: Processing buffer {"connection_id":172761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:33:09] local.INFO: IMEI packet received {"connection_id":172761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":172761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:33:14] local.INFO: TCP Data received {"connection_id":172761,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:33:14] local.INFO: Processing buffer {"connection_id":172761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:33:14] local.INFO: IMEI packet received {"connection_id":172761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":172761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:33:15] local.INFO: TCP Data received {"connection_id":172761,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:33:15] local.INFO: Processing buffer {"connection_id":172761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b91150012d196540071fef68003b011025..."} 
[2026-09-06 13:33:15] local.INFO: Packet analysis {"connection_id":172761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:33:15] local.INFO: Extracted packet for processing {"connection_id":172761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902376192001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788681458000,"timestamp_ms":1788681458000,"timestamp_seconds":1788681458,"priority":1,"record_length":96,"hex_timestamp":"000001a075b91150"} 
[2026-09-06 13:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:33:15] 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-09-06 13:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902376192001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902376192001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:33:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:33:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902376192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":172761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:33:15] local.INFO: GPS data processed {"connection_id":172761,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:33:15] local.INFO: Acknowledgment sent {"connection_id":172761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:33:25] local.INFO: TCP Data received {"connection_id":173920,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:33:25] local.INFO: Processing buffer {"connection_id":173920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075b95b88012d34c48006aa3e58000900a727..."} 
[2026-09-06 13:33:25] local.INFO: Packet analysis {"connection_id":173920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:33:25] local.INFO: Extracted packet for processing {"connection_id":173920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075b9"} 
[2026-09-06 13:33:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902381056001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 13:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33: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-09-06 13:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788681477000,"timestamp_ms":1788681477000,"timestamp_seconds":1788681477,"priority":1,"record_length":96,"hex_timestamp":"000001a075b95b88"} 
[2026-09-06 13:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:33: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-09-06 13: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 13:33: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-09-06 13: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-09-06 13:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:33: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-09-06 13:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902381056001,"66":25995,"200":0,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902381056001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:33:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902381056001,"power":25995,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":173920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:33:25] local.INFO: GPS data processed {"connection_id":173920,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:33:25] local.INFO: Acknowledgment sent {"connection_id":173920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:33:25] local.INFO: TCP Data received {"connection_id":173918,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075be3d88012d7d32c005d18170000d00890c..."} 
[2026-09-06 13:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075be3d88012d7d32c005d18170000d00890c..."} 
[2026-09-06 13:33:25] local.INFO: Processing buffer {"connection_id":173918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075be3d88012d7d32c005d18170000d00890c..."} 
[2026-09-06 13:33:25] local.INFO: Packet analysis {"connection_id":173918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:33:25] local.INFO: Extracted packet for processing {"connection_id":173918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:33:25] local.INFO: GPS Element Parsed {"raw_longitude":763179712,"raw_latitude":97616240,"longitude_deg":76.3179712,"latitude_deg":9.761624,"altitude":13,"angle":137,"satellites":12,"speed":12,"hex_longitude":"2d7d32c0","hex_latitude":"05d18170","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902539008001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128918859343200256,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447357163520,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788681797000,"timestamp_ms":1788681797000,"timestamp_seconds":1788681797,"priority":1,"record_length":96,"hex_timestamp":"000001a075be3d88"} 
[2026-09-06 13:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-06 13:33:25] 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-09-06 13: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-09-06 13:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:33:25] 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-09-06 13:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902539008001,"66":13048,"24":12,"85":15104,"16":128918859343200256,"45":9020780447357163520},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 13:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902539008001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:33:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128918859343200256,"km_value":128918859343200.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447357163520,"description":"Unknown IO ID 45"} 
[2026-09-06 13:33:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902539008001,"power":13048,"ignition":12,"unknown_85":15104,"odometer":null,"unknown_45":9020780447357163520}} 
[2026-09-06 13:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":173918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:33:25] local.INFO: GPS data processed {"connection_id":173918,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:33:25] local.INFO: Acknowledgment sent {"connection_id":173918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:33:27] local.INFO: TCP Data received {"connection_id":172538,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075bc39e8012c4610c009fcb4e0023a01622a..."} 
[2026-09-06 13:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bc39e8012c4610c009fcb4e0023a01622a..."} 
[2026-09-06 13:33:27] local.INFO: Processing buffer {"connection_id":172538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bc39e8012c4610c009fcb4e0023a01622a..."} 
[2026-09-06 13:33:27] local.INFO: Packet analysis {"connection_id":172538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bc"} 
[2026-09-06 13:33:27] local.INFO: Extracted packet for processing {"connection_id":172538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bc"} 
[2026-09-06 13:33:27] local.INFO: GPS Element Parsed {"raw_longitude":742789312,"raw_latitude":167556320,"longitude_deg":74.2789312,"latitude_deg":16.755632,"altitude":570,"angle":354,"satellites":42,"speed":50,"hex_longitude":"2c4610c0","hex_latitude":"09fcb4e0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902504448001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2667140331077632,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5049731493825445890,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788681665000,"timestamp_ms":1788681665000,"timestamp_seconds":1788681665,"priority":1,"record_length":96,"hex_timestamp":"000001a075bc39e8"} 
[2026-09-06 13:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:33: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-09-06 13: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-06 13:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902504448001,"66":28256,"194":206,"37":23808,"24":50,"16":2667140331077632,"44":5049731493825445890},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,37,24,16,44]} 
[2026-09-06 13:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902504448001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:33:27] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-06 13:33:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2667140331077632,"km_value":2667140331077.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:33:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":5049731493825445890,"description":"Unknown IO ID 44"} 
[2026-09-06 13:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902504448001,"power":28256,"unknown_194":206,"unknown_37":23808,"ignition":50,"odometer":null,"unknown_44":5049731493825445890}} 
[2026-09-06 13:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":172538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:33:27] local.INFO: GPS data processed {"connection_id":172538,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:33:27] local.INFO: Acknowledgment sent {"connection_id":172538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:33:46] local.INFO: TCP Data received {"connection_id":172761,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:33:46] local.INFO: Processing buffer {"connection_id":172761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:33:46] local.INFO: Packet analysis {"connection_id":172761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:33:46] local.INFO: Extracted packet for processing {"connection_id":172761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902453248001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788681759000,"timestamp_ms":1788681759000,"timestamp_seconds":1788681759,"priority":1,"record_length":96,"hex_timestamp":"000001a075bda918"} 
[2026-09-06 13:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:33:46] 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-09-06 13:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:33: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-09-06 13:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902453248001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902453248001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:33:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902453248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":172761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:33:46] local.INFO: GPS data processed {"connection_id":172761,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:33:46] local.INFO: Acknowledgment sent {"connection_id":172761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:33:48] local.INFO: TCP Data received {"connection_id":173921,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:33:48] local.INFO: Processing buffer {"connection_id":173921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:33:48] local.INFO: IMEI packet received {"connection_id":173921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":173921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:33:49] local.INFO: TCP Data received {"connection_id":175245,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:33:49] local.INFO: Processing buffer {"connection_id":175245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:33:49] local.INFO: IMEI packet received {"connection_id":175245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 13:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":175245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:33:50] local.INFO: TCP Data received {"connection_id":175245,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:33:50] local.INFO: Processing buffer {"connection_id":175245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:33:50] local.INFO: IMEI packet received {"connection_id":175245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":175245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:33:53] local.INFO: TCP Data received {"connection_id":173921,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:33:53] local.INFO: Processing buffer {"connection_id":173921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:33:53] local.INFO: IMEI packet received {"connection_id":173921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":173921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:33:54] local.INFO: TCP Data received {"connection_id":173921,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075bdeb80012d34c48006aa3e58000900a728..."} 
[2026-09-06 13:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bdeb80012d34c48006aa3e58000900a728..."} 
[2026-09-06 13:33:54] local.INFO: Processing buffer {"connection_id":173921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bdeb80012d34c48006aa3e58000900a728..."} 
[2026-09-06 13:33:54] local.INFO: Packet analysis {"connection_id":173921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:33:54] local.INFO: Extracted packet for processing {"connection_id":173921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:33:54] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13:33: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-09-06 13:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902458112001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33: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-09-06 13:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788681776000,"timestamp_ms":1788681776000,"timestamp_seconds":1788681776,"priority":1,"record_length":96,"hex_timestamp":"000001a075bdeb80"} 
[2026-09-06 13:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:33: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-09-06 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-06 13:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13: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-09-06 13:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902458112001,"66":26060,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902458112001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:33:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:33:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902458112001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":173921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:33:54] local.INFO: GPS data processed {"connection_id":173921,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:33:54] local.INFO: Acknowledgment sent {"connection_id":173921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:33:56] local.INFO: TCP Data received {"connection_id":175245,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:33:56] local.INFO: Processing buffer {"connection_id":175245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:33:56] local.INFO: IMEI packet received {"connection_id":175245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":175245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:33:57] local.INFO: TCP Data received {"connection_id":175245,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075be4170012d7d334005d18078000d009f0c..."} 
[2026-09-06 13:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075be4170012d7d334005d18078000d009f0c..."} 
[2026-09-06 13:33:57] local.INFO: Processing buffer {"connection_id":175245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075be4170012d7d334005d18078000d009f0c..."} 
[2026-09-06 13:33:57] local.INFO: Packet analysis {"connection_id":175245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:33:57] local.INFO: Extracted packet for processing {"connection_id":175245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:33:57] local.INFO: GPS Element Parsed {"raw_longitude":763179840,"raw_latitude":97615992,"longitude_deg":76.317984,"latitude_deg":9.7615992,"altitude":13,"angle":159,"satellites":12,"speed":11,"hex_longitude":"2d7d3340","hex_latitude":"05d18078","is_valid_coordinates":true} 
[2026-09-06 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-09-06 13:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902540032001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128918872228102144,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484134798815232,"note":"Value kept but may cause issues"} 
[2026-09-06 13:33:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788681798000,"timestamp_ms":1788681798000,"timestamp_seconds":1788681798,"priority":1,"record_length":96,"hex_timestamp":"000001a075be4170"} 
[2026-09-06 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-09-06 13:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-06 13:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 13:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:33:57] 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-09-06 13:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902540032001,"66":13048,"24":11,"85":15104,"16":128918872228102144,"45":9021484134798815232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 13:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902540032001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:33:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128918872228102144,"km_value":128918872228102.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484134798815232,"description":"Unknown IO ID 45"} 
[2026-09-06 13:33:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902540032001,"power":13048,"ignition":11,"unknown_85":15104,"odometer":null,"unknown_45":9021484134798815232}} 
[2026-09-06 13:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":175245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:33:57] local.INFO: GPS data processed {"connection_id":175245,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:33:57] local.INFO: Acknowledgment sent {"connection_id":175245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:34:01] local.INFO: TCP Data received {"connection_id":175245,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075be4940012d7d340005d17eb0000d00af0c..."} 
[2026-09-06 13:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075be4940012d7d340005d17eb0000d00af0c..."} 
[2026-09-06 13:34:01] local.INFO: Processing buffer {"connection_id":175245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075be4940012d7d340005d17eb0000d00af0c..."} 
[2026-09-06 13:34:01] local.INFO: Packet analysis {"connection_id":175245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:34:01] local.INFO: Extracted packet for processing {"connection_id":175245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":97615536,"longitude_deg":76.3180032,"latitude_deg":9.7615536,"altitude":13,"angle":175,"satellites":12,"speed":5,"hex_longitude":"2d7d3400","hex_latitude":"05d17eb0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902540288001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128918897997905920,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021624872287107072,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788681800000,"timestamp_ms":1788681800000,"timestamp_seconds":1788681800,"priority":1,"record_length":96,"hex_timestamp":"000001a075be4940"} 
[2026-09-06 13:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-06 13:34:01] 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-09-06 13: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-09-06 13:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:34:01] 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-09-06 13:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902540288001,"66":13602,"24":5,"85":15104,"16":128918897997905920,"45":9021624872287107072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 13:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902540288001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128918897997905920,"km_value":128918897997905.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021624872287107072,"description":"Unknown IO ID 45"} 
[2026-09-06 13:34:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902540288001,"power":13602,"ignition":5,"unknown_85":15104,"odometer":null,"unknown_45":9021624872287107072}} 
[2026-09-06 13:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":175245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:34:01] local.INFO: GPS data processed {"connection_id":175245,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:34:01] local.INFO: Acknowledgment sent {"connection_id":175245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:34:09] local.INFO: TCP Data received {"connection_id":173922,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:34:09] local.INFO: Processing buffer {"connection_id":173922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:34:09] local.INFO: IMEI packet received {"connection_id":173922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":173922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:34:14] local.INFO: TCP Data received {"connection_id":173922,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:34:14] local.INFO: Processing buffer {"connection_id":173922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:34:14] local.INFO: IMEI packet received {"connection_id":173922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":173922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:34:15] local.INFO: TCP Data received {"connection_id":173922,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:34:15] local.INFO: Processing buffer {"connection_id":173922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:34:15] local.INFO: Packet analysis {"connection_id":173922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:34:15] local.INFO: Extracted packet for processing {"connection_id":173922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902453248001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788681759000,"timestamp_ms":1788681759000,"timestamp_seconds":1788681759,"priority":1,"record_length":96,"hex_timestamp":"000001a075bda918"} 
[2026-09-06 13:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:34:15] 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-09-06 13:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902453248001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902453248001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:34:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902453248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":173922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:34:15] local.INFO: GPS data processed {"connection_id":173922,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:34:15] local.INFO: Acknowledgment sent {"connection_id":173922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:34:25] local.INFO: TCP Data received {"connection_id":173921,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075bdf350012d34c48006aa3e58000900a728..."} 
[2026-09-06 13:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bdf350012d34c48006aa3e58000900a728..."} 
[2026-09-06 13:34:25] local.INFO: Processing buffer {"connection_id":173921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bdf350012d34c48006aa3e58000900a728..."} 
[2026-09-06 13:34:25] local.INFO: Packet analysis {"connection_id":173921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:34:25] local.INFO: Extracted packet for processing {"connection_id":173921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:34:25] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820376,"longitude_deg":75.8432896,"latitude_deg":11.1820376,"altitude":9,"angle":167,"satellites":40,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e58","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902534656001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685560697454592,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521912832,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788681778000,"timestamp_ms":1788681778000,"timestamp_seconds":1788681778,"priority":1,"record_length":96,"hex_timestamp":"000001a075bdf350"} 
[2026-09-06 13:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:34: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-09-06 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13: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-09-06 13:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902534656001,"66":25908,"97":206,"81":23296,"24":0,"16":400685560697454592,"45":3802304751521912832},"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-09-06 13:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902534656001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:34:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:34:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685560697454592,"km_value":400685560697454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521912832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902534656001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521912832}} 
[2026-09-06 13:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":173921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:34:25] local.INFO: GPS data processed {"connection_id":173921,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:34:25] local.INFO: Acknowledgment sent {"connection_id":173921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:34:46] local.INFO: TCP Data received {"connection_id":173922,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:34:46] local.INFO: Processing buffer {"connection_id":173922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:34:46] local.INFO: Packet analysis {"connection_id":173922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:34:46] local.INFO: Extracted packet for processing {"connection_id":173922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902453248001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788681759000,"timestamp_ms":1788681759000,"timestamp_seconds":1788681759,"priority":1,"record_length":96,"hex_timestamp":"000001a075bda918"} 
[2026-09-06 13:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:34:46] 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-09-06 13:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:34: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-09-06 13:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902453248001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902453248001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:34:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902453248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":173922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:34:46] local.INFO: GPS data processed {"connection_id":173922,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:34:46] local.INFO: Acknowledgment sent {"connection_id":173922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:34:48] local.INFO: TCP Data received {"connection_id":175246,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:34:48] local.INFO: Processing buffer {"connection_id":175246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:34:48] local.INFO: IMEI packet received {"connection_id":175246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 13:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":175246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:34:49] local.INFO: TCP Data received {"connection_id":175246,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:34:49] local.INFO: Processing buffer {"connection_id":175246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:34:49] local.INFO: IMEI packet received {"connection_id":175246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":175246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:34:50] local.INFO: TCP Data received {"connection_id":175246,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:34:50] local.INFO: Processing buffer {"connection_id":175246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:34:50] local.INFO: IMEI packet received {"connection_id":175246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":175246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:34:51] local.INFO: TCP Data received {"connection_id":175246,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075be7820012d7d344005d17d80000d00590d..."} 
[2026-09-06 13:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075be7820012d7d344005d17d80000d00590d..."} 
[2026-09-06 13:34:51] local.INFO: Processing buffer {"connection_id":175246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075be7820012d7d344005d17d80000d00590d..."} 
[2026-09-06 13:34:51] local.INFO: Packet analysis {"connection_id":175246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:34:51] local.INFO: Extracted packet for processing {"connection_id":175246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:34:51] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":97615232,"longitude_deg":76.3180096,"latitude_deg":9.7615232,"altitude":13,"angle":89,"satellites":13,"speed":1,"hex_longitude":"2d7d3440","hex_latitude":"05d17d80","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902540800001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128918915177775104,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021835978519523328,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788681812000,"timestamp_ms":1788681812000,"timestamp_seconds":1788681812,"priority":1,"record_length":96,"hex_timestamp":"000001a075be7820"} 
[2026-09-06 13:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:34:51] 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-09-06 13: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-06 13:34:51] 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-09-06 13: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-09-06 13:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:34:51] 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-09-06 13:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902540800001,"66":13602,"24":1,"85":15104,"16":128918915177775104,"45":9021835978519523328},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 13:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902540800001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:34:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128918915177775104,"km_value":128918915177775.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021835978519523328,"description":"Unknown IO ID 45"} 
[2026-09-06 13:34:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902540800001,"power":13602,"ignition":1,"unknown_85":15104,"odometer":null,"unknown_45":9021835978519523328}} 
[2026-09-06 13:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":175246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:34:51] local.INFO: GPS data processed {"connection_id":175246,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:34:51] local.INFO: Acknowledgment sent {"connection_id":175246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:34:53] local.INFO: TCP Data received {"connection_id":172762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:34:53] local.INFO: Processing buffer {"connection_id":172762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:34:53] local.INFO: IMEI packet received {"connection_id":172762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":172762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:34:56] local.INFO: TCP Data received {"connection_id":172762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:34:56] local.INFO: Processing buffer {"connection_id":172762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:34:56] local.INFO: IMEI packet received {"connection_id":172762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":172762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:34:56] local.INFO: TCP Data received {"connection_id":175246,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075beb2b8012d7d348005d17c98000d00b70f..."} 
[2026-09-06 13:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075beb2b8012d7d348005d17c98000d00b70f..."} 
[2026-09-06 13:34:56] local.INFO: Processing buffer {"connection_id":175246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075beb2b8012d7d348005d17c98000d00b70f..."} 
[2026-09-06 13:34:56] local.INFO: Packet analysis {"connection_id":175246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:34:56] local.INFO: Extracted packet for processing {"connection_id":175246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":97615000,"longitude_deg":76.318016,"latitude_deg":9.7615,"altitude":13,"angle":183,"satellites":15,"speed":3,"hex_longitude":"2d7d3480","hex_latitude":"05d17c98","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902543872001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128918936652611584,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347263623168,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788681827000,"timestamp_ms":1788681827000,"timestamp_seconds":1788681827,"priority":1,"record_length":96,"hex_timestamp":"000001a075beb2b8"} 
[2026-09-06 13:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:34:56] 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-09-06 13: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-06 13:34:56] 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-09-06 13: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-09-06 13:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:34:56] 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-09-06 13:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902543872001,"66":13820,"24":3,"85":15104,"16":128918936652611584,"45":9021906347263623168},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 13:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902543872001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128918936652611584,"km_value":128918936652611.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347263623168,"description":"Unknown IO ID 45"} 
[2026-09-06 13:34:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902543872001,"power":13820,"ignition":3,"unknown_85":15104,"odometer":null,"unknown_45":9021906347263623168}} 
[2026-09-06 13:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":175246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:34:56] local.INFO: GPS data processed {"connection_id":175246,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:34:56] local.INFO: Acknowledgment sent {"connection_id":175246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:34:57] local.INFO: TCP Data received {"connection_id":172762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075bed1f8012d34c54006aa3b280008002b27..."} 
[2026-09-06 13:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bed1f8012d34c54006aa3b280008002b27..."} 
[2026-09-06 13:34:57] local.INFO: Processing buffer {"connection_id":172762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bed1f8012d34c54006aa3b280008002b27..."} 
[2026-09-06 13:34:57] local.INFO: Packet analysis {"connection_id":172762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:34:57] local.INFO: Extracted packet for processing {"connection_id":172762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:34:57] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111819560,"longitude_deg":75.8433088,"latitude_deg":11.181956,"altitude":8,"angle":43,"satellites":39,"speed":2,"hex_longitude":"2d34c540","hex_latitude":"06aa3b28","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902549504001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685616532029440,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010053120,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788681835000,"timestamp_ms":1788681835000,"timestamp_seconds":1788681835,"priority":1,"record_length":96,"hex_timestamp":"000001a075bed1f8"} 
[2026-09-06 13:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 13:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:34: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-09-06 13:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902549504001,"66":27865,"97":206,"81":23296,"24":2,"16":400685616532029440,"45":3802445489010053120},"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-09-06 13:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902549504001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:34:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:34:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685616532029440,"km_value":400685616532029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010053120,"description":"Unknown IO ID 45"} 
[2026-09-06 13:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902549504001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802445489010053120}} 
[2026-09-06 13:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":172762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:34:57] local.INFO: GPS data processed {"connection_id":172762,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:34:57] local.INFO: Acknowledgment sent {"connection_id":172762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:34:58] local.INFO: TCP Data received {"connection_id":172762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075bed5e0012d34c54006aa3b500008001827..."} 
[2026-09-06 13:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bed5e0012d34c54006aa3b500008001827..."} 
[2026-09-06 13:34:58] local.INFO: Processing buffer {"connection_id":172762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bed5e0012d34c54006aa3b500008001827..."} 
[2026-09-06 13:34:58] local.INFO: Packet analysis {"connection_id":172762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:34:58] local.INFO: Extracted packet for processing {"connection_id":172762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:34:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111819600,"longitude_deg":75.8433088,"latitude_deg":11.18196,"altitude":8,"angle":24,"satellites":39,"speed":2,"hex_longitude":"2d34c540","hex_latitude":"06aa3b50","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902549760001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685620826996736,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754236928,"note":"Value kept but may cause issues"} 
[2026-09-06 13:34: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-09-06 13:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788681836000,"timestamp_ms":1788681836000,"timestamp_seconds":1788681836,"priority":1,"record_length":96,"hex_timestamp":"000001a075bed5e0"} 
[2026-09-06 13:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 13:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13: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-09-06 13:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902549760001,"66":27865,"97":206,"81":23296,"24":2,"16":400685620826996736,"45":3802515857754236928},"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-09-06 13:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902549760001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:34:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:34:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685620826996736,"km_value":400685620826996.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754236928,"description":"Unknown IO ID 45"} 
[2026-09-06 13:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902549760001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802515857754236928}} 
[2026-09-06 13:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":172762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:34:58] local.INFO: GPS data processed {"connection_id":172762,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:34:58] local.INFO: Acknowledgment sent {"connection_id":172762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:35:00] local.INFO: TCP Data received {"connection_id":172763,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:35:00] local.INFO: Processing buffer {"connection_id":172763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:35:00] local.INFO: IMEI packet received {"connection_id":172763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":172763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:35:05] local.INFO: TCP Data received {"connection_id":172763,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:35:05] local.INFO: Processing buffer {"connection_id":172763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:35:05] local.INFO: IMEI packet received {"connection_id":172763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":172763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:35:09] local.INFO: TCP Data received {"connection_id":175247,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:35:09] local.INFO: Processing buffer {"connection_id":175247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:35:09] local.INFO: IMEI packet received {"connection_id":175247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":175247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:35:09] local.INFO: TCP Data received {"connection_id":172763,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:35:09] local.INFO: Processing buffer {"connection_id":172763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:35:09] local.INFO: IMEI packet received {"connection_id":172763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":172763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:35:14] local.INFO: TCP Data received {"connection_id":175247,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:35:14] local.INFO: Processing buffer {"connection_id":175247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:35:14] local.INFO: IMEI packet received {"connection_id":175247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":175247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:35:14] local.INFO: TCP Data received {"connection_id":175247,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:35:14] local.INFO: Processing buffer {"connection_id":175247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:35:14] local.INFO: Packet analysis {"connection_id":175247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:35:14] local.INFO: Extracted packet for processing {"connection_id":175247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902453248001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35: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-09-06 13:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788681759000,"timestamp_ms":1788681759000,"timestamp_seconds":1788681759,"priority":1,"record_length":96,"hex_timestamp":"000001a075bda918"} 
[2026-09-06 13:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:35:14] 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-09-06 13:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:35: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-09-06 13:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902453248001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902453248001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:35:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902453248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":175247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:35:14] local.INFO: GPS data processed {"connection_id":175247,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:35:14] local.INFO: Acknowledgment sent {"connection_id":175247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:35:27] local.INFO: TCP Data received {"connection_id":175246,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075beed50012d7d370005d15810000e00b113..."} 
[2026-09-06 13:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075beed50012d7d370005d15810000e00b113..."} 
[2026-09-06 13:35:27] local.INFO: Processing buffer {"connection_id":175246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075beed50012d7d370005d15810000e00b113..."} 
[2026-09-06 13:35:27] local.INFO: Packet analysis {"connection_id":175246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:35:27] local.INFO: Extracted packet for processing {"connection_id":175246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":97605648,"longitude_deg":76.31808,"latitude_deg":9.7605648,"altitude":14,"angle":177,"satellites":19,"speed":40,"hex_longitude":"2d7d3700","hex_latitude":"05d15810","is_valid_coordinates":true} 
[2026-09-06 13:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902547712001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128919391919144960,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716007741440,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788681842000,"timestamp_ms":1788681842000,"timestamp_seconds":1788681842,"priority":1,"record_length":96,"hex_timestamp":"000001a075beed50"} 
[2026-09-06 13:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 13:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:35:27] 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-09-06 13:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902547712001,"66":13906,"24":40,"85":15104,"16":128919391919144960,"45":9021976716007741440},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 13:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902547712001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:35:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128919391919144960,"km_value":128919391919144.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716007741440,"description":"Unknown IO ID 45"} 
[2026-09-06 13:35:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902547712001,"power":13906,"ignition":40,"unknown_85":15104,"odometer":null,"unknown_45":9021976716007741440}} 
[2026-09-06 13:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":175246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:35:27] local.INFO: GPS data processed {"connection_id":175246,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:35:27] local.INFO: Acknowledgment sent {"connection_id":175246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:35:29] local.INFO: TCP Data received {"connection_id":172762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075bef520012d34c5c006aa3b88000a016327..."} 
[2026-09-06 13:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bef520012d34c5c006aa3b88000a016327..."} 
[2026-09-06 13:35:29] local.INFO: Processing buffer {"connection_id":172762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bef520012d34c5c006aa3b88000a016327..."} 
[2026-09-06 13:35:29] local.INFO: Packet analysis {"connection_id":172762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:35:29] local.INFO: Extracted packet for processing {"connection_id":172762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:35:29] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111819656,"longitude_deg":75.8433216,"latitude_deg":11.1819656,"altitude":10,"angle":355,"satellites":39,"speed":2,"hex_longitude":"2d34c5c0","hex_latitude":"06aa3b88","is_valid_coordinates":true} 
[2026-09-06 13:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902550016001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685633711898624,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754247168,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35: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-09-06 13:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788681844000,"timestamp_ms":1788681844000,"timestamp_seconds":1788681844,"priority":1,"record_length":96,"hex_timestamp":"000001a075bef520"} 
[2026-09-06 13:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 13:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:35: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-09-06 13:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902550016001,"66":28137,"97":206,"81":23296,"24":2,"16":400685633711898624,"45":3802515857754247168},"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-09-06 13:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902550016001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:35:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:35:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685633711898624,"km_value":400685633711898.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754247168,"description":"Unknown IO ID 45"} 
[2026-09-06 13:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902550016001,"power":28137,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802515857754247168}} 
[2026-09-06 13:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":172762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:35:29] local.INFO: GPS data processed {"connection_id":172762,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:35:29] local.INFO: Acknowledgment sent {"connection_id":172762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:35:45] local.INFO: TCP Data received {"connection_id":175247,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:35:45] local.INFO: Processing buffer {"connection_id":175247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:35:45] local.INFO: Packet analysis {"connection_id":175247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:35:45] local.INFO: Extracted packet for processing {"connection_id":175247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:35:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902453248001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35: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-09-06 13:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788681759000,"timestamp_ms":1788681759000,"timestamp_seconds":1788681759,"priority":1,"record_length":96,"hex_timestamp":"000001a075bda918"} 
[2026-09-06 13:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:35:45] 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-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:35: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-09-06 13: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-09-06 13:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:35: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-09-06 13:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902453248001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902453248001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:35:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:35:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902453248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:35:45] local.INFO: TCP Data received {"connection_id":172539,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:35:45] local.INFO: Processing buffer {"connection_id":172539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:35:45] local.INFO: IMEI packet received {"connection_id":172539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 13:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":172539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":175247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:35:45] local.INFO: GPS data processed {"connection_id":175247,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:35:45] local.INFO: Acknowledgment sent {"connection_id":175247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:35:48] local.INFO: TCP Data received {"connection_id":172764,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:35:48] local.INFO: Processing buffer {"connection_id":172764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:35:48] local.INFO: IMEI packet received {"connection_id":172764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":172764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:35:51] local.INFO: TCP Data received {"connection_id":172539,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:35:51] local.INFO: Processing buffer {"connection_id":172539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:35:51] local.INFO: IMEI packet received {"connection_id":172539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":172539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:35:52] local.INFO: TCP Data received {"connection_id":172539,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075bf1078012d7d390005d13118000e00b013..."} 
[2026-09-06 13:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bf1078012d7d390005d13118000e00b013..."} 
[2026-09-06 13:35:52] local.INFO: Processing buffer {"connection_id":172539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bf1078012d7d390005d13118000e00b013..."} 
[2026-09-06 13:35:52] local.INFO: Packet analysis {"connection_id":172539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:35:52] local.INFO: Extracted packet for processing {"connection_id":172539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:35:52] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":97595672,"longitude_deg":76.3181312,"latitude_deg":9.7595672,"altitude":14,"angle":176,"satellites":19,"speed":47,"hex_longitude":"2d7d3900","hex_latitude":"05d13118","is_valid_coordinates":true} 
[2026-09-06 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-09-06 13:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902551552001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128919877250449408,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403447123968,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 13:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788681851000,"timestamp_ms":1788681851000,"timestamp_seconds":1788681851,"priority":1,"record_length":96,"hex_timestamp":"000001a075bf1078"} 
[2026-09-06 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-09-06 13:35:52] 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-09-06 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-06 13:35:52] 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-09-06 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-09-06 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-09-06 13:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:35:52] 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-09-06 13:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902551552001,"66":13917,"24":47,"85":15104,"16":128919877250449408,"45":9022680403447123968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 13:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902551552001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:35:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128919877250449408,"km_value":128919877250449.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403447123968,"description":"Unknown IO ID 45"} 
[2026-09-06 13:35:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457902551552001,"power":13917,"ignition":47,"unknown_85":15104,"odometer":null,"unknown_45":9022680403447123968}} 
[2026-09-06 13:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":172539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:35:52] local.INFO: GPS data processed {"connection_id":172539,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:35:52] local.INFO: Acknowledgment sent {"connection_id":172539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:35:53] local.INFO: TCP Data received {"connection_id":172764,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:35:53] local.INFO: Processing buffer {"connection_id":172764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:35:53] local.INFO: IMEI packet received {"connection_id":172764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":172764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:35:54] local.INFO: TCP Data received {"connection_id":172764,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075bef908012d34c5c006aa3bd8000a015227..."} 
[2026-09-06 13:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bef908012d34c5c006aa3bd8000a015227..."} 
[2026-09-06 13:35:54] local.INFO: Processing buffer {"connection_id":172764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bef908012d34c5c006aa3bd8000a015227..."} 
[2026-09-06 13:35:54] local.INFO: Packet analysis {"connection_id":172764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:35:54] local.INFO: Extracted packet for processing {"connection_id":172764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:35:54] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111819736,"longitude_deg":75.8433216,"latitude_deg":11.1819736,"altitude":10,"angle":338,"satellites":39,"speed":3,"hex_longitude":"2d34c5c0","hex_latitude":"06aa3bd8","is_valid_coordinates":true} 
[2026-09-06 13:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902552064001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685638006865920,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595242616832,"note":"Value kept but may cause issues"} 
[2026-09-06 13:35: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-09-06 13:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788681845000,"timestamp_ms":1788681845000,"timestamp_seconds":1788681845,"priority":1,"record_length":96,"hex_timestamp":"000001a075bef908"} 
[2026-09-06 13:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 13:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13: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-09-06 13:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902552064001,"66":27800,"97":206,"81":23296,"24":3,"16":400685638006865920,"45":3802656595242616832},"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-09-06 13:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902552064001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:35:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:35:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685638006865920,"km_value":400685638006865.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595242616832,"description":"Unknown IO ID 45"} 
[2026-09-06 13:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902552064001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802656595242616832}} 
[2026-09-06 13:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":172764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:35:54] local.INFO: GPS data processed {"connection_id":172764,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:35:54] local.INFO: Acknowledgment sent {"connection_id":172764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:36:14] local.INFO: TCP Data received {"connection_id":175248,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:36:14] local.INFO: Processing buffer {"connection_id":175248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:36:14] local.INFO: IMEI packet received {"connection_id":175248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":175248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:36:19] local.INFO: TCP Data received {"connection_id":175248,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:36:19] local.INFO: Processing buffer {"connection_id":175248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:36:19] local.INFO: IMEI packet received {"connection_id":175248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":175248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:36:20] local.INFO: TCP Data received {"connection_id":175248,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:36:20] local.INFO: Processing buffer {"connection_id":175248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:36:20] local.INFO: Packet analysis {"connection_id":175248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:36:20] local.INFO: Extracted packet for processing {"connection_id":175248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902453248001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788681759000,"timestamp_ms":1788681759000,"timestamp_seconds":1788681759,"priority":1,"record_length":96,"hex_timestamp":"000001a075bda918"} 
[2026-09-06 13:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:36:20] 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-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902453248001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902453248001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:36:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:36:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902453248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":175248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:36:20] local.INFO: GPS data processed {"connection_id":175248,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:36:20] local.INFO: Acknowledgment sent {"connection_id":175248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:36:22] local.INFO: TCP Data received {"connection_id":172539,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c0e538012d7d450005d061d0000a012319..."} 
[2026-09-06 13:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c0e538012d7d450005d061d0000a012319..."} 
[2026-09-06 13:36:22] local.INFO: Processing buffer {"connection_id":172539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c0e538012d7d450005d061d0000a012319..."} 
[2026-09-06 13:36:22] local.INFO: Packet analysis {"connection_id":172539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c0"} 
[2026-09-06 13:36:22] local.INFO: Extracted packet for processing {"connection_id":172539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c0"} 
[2026-09-06 13:36:22] local.INFO: GPS Element Parsed {"raw_longitude":763184384,"raw_latitude":97542608,"longitude_deg":76.3184384,"latitude_deg":9.7542608,"altitude":10,"angle":291,"satellites":25,"speed":10,"hex_longitude":"2d7d4500","hex_latitude":"05d061d0","is_valid_coordinates":true} 
[2026-09-06 13:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902584320001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128922497180499968,"note":"Value kept but may cause issues"} 
[2026-09-06 13:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026902528081633280,"note":"Value kept but may cause issues"} 
[2026-09-06 13:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788681971000,"timestamp_ms":1788681971000,"timestamp_seconds":1788681971,"priority":1,"record_length":96,"hex_timestamp":"000001a075c0e538"} 
[2026-09-06 13:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:36:22] 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-09-06 13:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-06 13:36:22] 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-09-06 13:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:36:22] 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-09-06 13:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902584320001,"66":13689,"198":206,"85":15104,"24":10,"16":128922497180499968,"45":9026902528081633280},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 13:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902584320001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:36:22] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 13:36:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128922497180499968,"km_value":128922497180499.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026902528081633280,"description":"Unknown IO ID 45"} 
[2026-09-06 13:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902584320001,"power":13689,"unknown_198":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9026902528081633280}} 
[2026-09-06 13:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":172539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:36:22] local.INFO: GPS data processed {"connection_id":172539,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:36:22] local.INFO: Acknowledgment sent {"connection_id":172539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:36:25] local.INFO: TCP Data received {"connection_id":172764,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075befcf0012d34c58006aa3c10000a013d28..."} 
[2026-09-06 13:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075befcf0012d34c58006aa3c10000a013d28..."} 
[2026-09-06 13:36:25] local.INFO: Processing buffer {"connection_id":172764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075befcf0012d34c58006aa3c10000a013d28..."} 
[2026-09-06 13:36:25] local.INFO: Packet analysis {"connection_id":172764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:36:25] local.INFO: Extracted packet for processing {"connection_id":172764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075be"} 
[2026-09-06 13:36:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111819792,"longitude_deg":75.8433152,"latitude_deg":11.1819792,"altitude":10,"angle":317,"satellites":40,"speed":3,"hex_longitude":"2d34c580","hex_latitude":"06aa3c10","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902552320001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685642301833216,"note":"Value kept but may cause issues"} 
[2026-09-06 13:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595242637312,"note":"Value kept but may cause issues"} 
[2026-09-06 13:36: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-09-06 13:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788681846000,"timestamp_ms":1788681846000,"timestamp_seconds":1788681846,"priority":1,"record_length":96,"hex_timestamp":"000001a075befcf0"} 
[2026-09-06 13:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 13:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13: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-09-06 13:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902552320001,"66":27800,"97":206,"81":23296,"24":3,"16":400685642301833216,"45":3802656595242637312},"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-09-06 13:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902552320001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:36:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:36:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685642301833216,"km_value":400685642301833.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595242637312,"description":"Unknown IO ID 45"} 
[2026-09-06 13:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902552320001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802656595242637312}} 
[2026-09-06 13:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":172764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:36:25] local.INFO: GPS data processed {"connection_id":172764,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:36:25] local.INFO: Acknowledgment sent {"connection_id":172764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:36:48] local.INFO: TCP Data received {"connection_id":175249,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:36:48] local.INFO: Processing buffer {"connection_id":175249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:36:48] local.INFO: IMEI packet received {"connection_id":175249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":175249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:36:51] local.INFO: TCP Data received {"connection_id":175248,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:36:51] local.INFO: Processing buffer {"connection_id":175248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:36:51] local.INFO: Packet analysis {"connection_id":175248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:36:51] local.INFO: Extracted packet for processing {"connection_id":175248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902453248001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:36: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-09-06 13:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788681759000,"timestamp_ms":1788681759000,"timestamp_seconds":1788681759,"priority":1,"record_length":96,"hex_timestamp":"000001a075bda918"} 
[2026-09-06 13:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:36:51] 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-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:36: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-09-06 13:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902453248001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902453248001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:36:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902453248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":175248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:36:51] local.INFO: GPS data processed {"connection_id":175248,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:36:51] local.INFO: Acknowledgment sent {"connection_id":175248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:36:53] local.INFO: TCP Data received {"connection_id":175249,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:36:53] local.INFO: Processing buffer {"connection_id":175249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:36:53] local.INFO: IMEI packet received {"connection_id":175249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":175249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:36:54] local.INFO: TCP Data received {"connection_id":175249,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075bf0c90012d34c50006aa3d30000a014f28..."} 
[2026-09-06 13:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bf0c90012d34c50006aa3d30000a014f28..."} 
[2026-09-06 13:36:54] local.INFO: Processing buffer {"connection_id":175249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bf0c90012d34c50006aa3d30000a014f28..."} 
[2026-09-06 13:36:54] local.INFO: Packet analysis {"connection_id":175249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:36:54] local.INFO: Extracted packet for processing {"connection_id":175249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:36:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":10,"angle":335,"satellites":40,"speed":3,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902552576001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685659481702400,"note":"Value kept but may cause issues"} 
[2026-09-06 13:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498473984,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788681850000,"timestamp_ms":1788681850000,"timestamp_seconds":1788681850,"priority":1,"record_length":96,"hex_timestamp":"000001a075bf0c90"} 
[2026-09-06 13:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 13:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:36: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-09-06 13:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902552576001,"66":28028,"97":206,"81":23296,"24":3,"16":400685659481702400,"45":3802586226498473984},"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-09-06 13:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902552576001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:36:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:36:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685659481702400,"km_value":400685659481702.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498473984,"description":"Unknown IO ID 45"} 
[2026-09-06 13:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902552576001,"power":28028,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802586226498473984}} 
[2026-09-06 13:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":175249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:36:54] local.INFO: GPS data processed {"connection_id":175249,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:36:54] local.INFO: Acknowledgment sent {"connection_id":175249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:36:55] local.INFO: TCP Data received {"connection_id":175250,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:36:55] local.INFO: Processing buffer {"connection_id":175250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:36:55] local.INFO: IMEI packet received {"connection_id":175250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 13:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":175250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:37:02] local.INFO: TCP Data received {"connection_id":175250,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:37:02] local.INFO: Processing buffer {"connection_id":175250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:37:02] local.INFO: IMEI packet received {"connection_id":175250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":175250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:37:03] local.INFO: TCP Data received {"connection_id":175250,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c0e920012d7d444005d06298000a014219..."} 
[2026-09-06 13:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c0e920012d7d444005d06298000a014219..."} 
[2026-09-06 13:37:03] local.INFO: Processing buffer {"connection_id":175250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c0e920012d7d444005d06298000a014219..."} 
[2026-09-06 13:37:03] local.INFO: Packet analysis {"connection_id":175250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c0"} 
[2026-09-06 13:37:03] local.INFO: Extracted packet for processing {"connection_id":175250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c0"} 
[2026-09-06 13:37:03] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":97542808,"longitude_deg":76.3184192,"latitude_deg":9.7542808,"altitude":10,"angle":322,"satellites":25,"speed":11,"hex_longitude":"2d7d4440","hex_latitude":"05d06298","is_valid_coordinates":true} 
[2026-09-06 13:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902584576001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128922510065401856,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026621053104934912,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788681972000,"timestamp_ms":1788681972000,"timestamp_seconds":1788681972,"priority":1,"record_length":96,"hex_timestamp":"000001a075c0e920"} 
[2026-09-06 13:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-06 13:37:03] 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-09-06 13:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:37:03] 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-09-06 13:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902584576001,"66":13961,"198":206,"85":15104,"24":11,"16":128922510065401856,"45":9026621053104934912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 13:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902584576001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:37:03] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 13:37:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128922510065401856,"km_value":128922510065401.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026621053104934912,"description":"Unknown IO ID 45"} 
[2026-09-06 13:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902584576001,"power":13961,"unknown_198":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9026621053104934912}} 
[2026-09-06 13:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":175250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:37:03] local.INFO: GPS data processed {"connection_id":175250,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:37:03] local.INFO: Acknowledgment sent {"connection_id":175250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:37:09] local.INFO: TCP Data received {"connection_id":173923,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:37:09] local.INFO: Processing buffer {"connection_id":173923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:37:09] local.INFO: IMEI packet received {"connection_id":173923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":173923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:37:14] local.INFO: TCP Data received {"connection_id":172763,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075bdd410012c45ef4009fdf3f0024001572b..."} 
[2026-09-06 13:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bdd410012c45ef4009fdf3f0024001572b..."} 
[2026-09-06 13:37:14] local.INFO: Processing buffer {"connection_id":172763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bdd410012c45ef4009fdf3f0024001572b..."} 
[2026-09-06 13:37:14] local.INFO: Packet analysis {"connection_id":172763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:37:14] local.INFO: Extracted packet for processing {"connection_id":172763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:37:14] local.INFO: GPS Element Parsed {"raw_longitude":742780736,"raw_latitude":167638000,"longitude_deg":74.2780736,"latitude_deg":16.7638,"altitude":576,"angle":343,"satellites":43,"speed":32,"hex_longitude":"2c45ef40","hex_latitude":"09fdf3f0","is_valid_coordinates":true} 
[2026-09-06 13:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902531584001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2671138945630208,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5040372450871934978,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788681770000,"timestamp_ms":1788681770000,"timestamp_seconds":1788681770,"priority":1,"record_length":96,"hex_timestamp":"000001a075bdd410"} 
[2026-09-06 13:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-06 13:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902531584001,"66":28148,"193":206,"37":23808,"24":32,"16":2671138945630208,"44":5040372450871934978},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,37,24,16,44]} 
[2026-09-06 13:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902531584001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:37:14] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-06 13:37:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2671138945630208,"km_value":2671138945630.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:37:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":5040372450871934978,"description":"Unknown IO ID 44"} 
[2026-09-06 13:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902531584001,"power":28148,"unknown_193":206,"unknown_37":23808,"ignition":32,"odometer":null,"unknown_44":5040372450871934978}} 
[2026-09-06 13:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":172763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774652,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:37:14] local.INFO: GPS data processed {"connection_id":172763,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:37:14] local.INFO: Acknowledgment sent {"connection_id":172763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:37:14] local.INFO: TCP Data received {"connection_id":173923,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:37:14] local.INFO: Processing buffer {"connection_id":173923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:37:14] local.INFO: IMEI packet received {"connection_id":173923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":173923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:37:15] local.INFO: TCP Data received {"connection_id":173923,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:37:15] local.INFO: Processing buffer {"connection_id":173923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:37:15] local.INFO: Packet analysis {"connection_id":173923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:37:15] local.INFO: Extracted packet for processing {"connection_id":173923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902453248001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788681759000,"timestamp_ms":1788681759000,"timestamp_seconds":1788681759,"priority":1,"record_length":96,"hex_timestamp":"000001a075bda918"} 
[2026-09-06 13:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:37:15] 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-09-06 13:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902453248001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902453248001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:37:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902453248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":173923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:37:15] local.INFO: GPS data processed {"connection_id":173923,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:37:15] local.INFO: Acknowledgment sent {"connection_id":173923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:37:21] local.INFO: TCP Data received {"connection_id":172763,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075bdfb20012c45e44009fe15c0024001552b..."} 
[2026-09-06 13:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bdfb20012c45e44009fe15c0024001552b..."} 
[2026-09-06 13:37:21] local.INFO: Processing buffer {"connection_id":172763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bdfb20012c45e44009fe15c0024001552b..."} 
[2026-09-06 13:37:21] local.INFO: Packet analysis {"connection_id":172763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:37:21] local.INFO: Extracted packet for processing {"connection_id":172763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:37:21] local.INFO: GPS Element Parsed {"raw_longitude":742777920,"raw_latitude":167646656,"longitude_deg":74.277792,"latitude_deg":16.7646656,"altitude":576,"angle":341,"satellites":43,"speed":37,"hex_longitude":"2c45e440","hex_latitude":"09fe15c0","is_valid_coordinates":true} 
[2026-09-06 13:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902533120001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2671581327261696,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5039316919710380034,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788681780000,"timestamp_ms":1788681780000,"timestamp_seconds":1788681780,"priority":1,"record_length":96,"hex_timestamp":"000001a075bdfb20"} 
[2026-09-06 13:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-06 13:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902533120001,"66":28202,"193":206,"37":23808,"24":37,"16":2671581327261696,"44":5039316919710380034},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,37,24,16,44]} 
[2026-09-06 13:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902533120001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:37:21] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-06 13:37:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":23808,"description":"Unknown IO ID 37"} 
[2026-09-06 13:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2671581327261696,"km_value":2671581327261.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":5039316919710380034,"description":"Unknown IO ID 44"} 
[2026-09-06 13:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902533120001,"power":28202,"unknown_193":206,"unknown_37":23808,"ignition":37,"odometer":null,"unknown_44":5039316919710380034}} 
[2026-09-06 13:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":172763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774654,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:37:22] local.INFO: GPS data processed {"connection_id":172763,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:37:22] local.ERROR: TCP Connection error {"connection_id":172763,"code":2,"message":"client closed"} 
[2026-09-06 13:37:22] local.INFO: Acknowledgment sent {"connection_id":172763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:37:26] local.INFO: TCP Data received {"connection_id":175249,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075bf2bd0012d34c50006aa3d10000b00a327..."} 
[2026-09-06 13:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bf2bd0012d34c50006aa3d10000b00a327..."} 
[2026-09-06 13:37:26] local.INFO: Processing buffer {"connection_id":175249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bf2bd0012d34c50006aa3d10000b00a327..."} 
[2026-09-06 13:37:26] local.INFO: Packet analysis {"connection_id":175249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:37:26] local.INFO: Extracted packet for processing {"connection_id":175249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:37:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820048,"longitude_deg":75.8433024,"latitude_deg":11.1820048,"altitude":11,"angle":163,"satellites":39,"speed":5,"hex_longitude":"2d34c500","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-06 13:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902553600001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685672366604288,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37: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-09-06 13:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788681858000,"timestamp_ms":1788681858000,"timestamp_seconds":1788681858,"priority":1,"record_length":96,"hex_timestamp":"000001a075bf2bd0"} 
[2026-09-06 13:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 13:37:26] 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-09-06 13:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:37: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-09-06 13:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902553600001,"66":27952,"97":206,"81":23296,"24":5,"16":400685672366604288,"45":3802445489010192384},"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-09-06 13:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902553600001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:37:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:37:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685672366604288,"km_value":400685672366604.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902553600001,"power":27952,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":175249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:37:26] local.INFO: GPS data processed {"connection_id":175249,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:37:26] local.INFO: Acknowledgment sent {"connection_id":175249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:37:27] local.INFO: TCP Data received {"connection_id":172540,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:37:27] local.INFO: Processing buffer {"connection_id":172540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:37:27] local.INFO: IMEI packet received {"connection_id":172540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":172540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:37:29] local.INFO: TCP Data received {"connection_id":172540,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:37:29] local.INFO: Processing buffer {"connection_id":172540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:37:29] local.INFO: IMEI packet received {"connection_id":172540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":172540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:37:46] local.INFO: TCP Data received {"connection_id":173923,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:37:46] local.INFO: Processing buffer {"connection_id":173923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:37:46] local.INFO: Packet analysis {"connection_id":173923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:37:46] local.INFO: Extracted packet for processing {"connection_id":173923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902453248001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788681759000,"timestamp_ms":1788681759000,"timestamp_seconds":1788681759,"priority":1,"record_length":96,"hex_timestamp":"000001a075bda918"} 
[2026-09-06 13:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:37:46] 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-09-06 13:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:37: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-09-06 13:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902453248001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902453248001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:37:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902453248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:37:46] local.INFO: TCP Data received {"connection_id":172765,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:37:46] local.INFO: Processing buffer {"connection_id":172765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:37:46] local.INFO: IMEI packet received {"connection_id":172765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 13:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":172765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":173923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:37:46] local.INFO: GPS data processed {"connection_id":173923,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:37:46] local.INFO: Acknowledgment sent {"connection_id":173923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:37:48] local.INFO: TCP Data received {"connection_id":172541,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:37:48] local.INFO: Processing buffer {"connection_id":172541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:37:48] local.INFO: IMEI packet received {"connection_id":172541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":172541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:37:49] local.INFO: TCP Data received {"connection_id":172765,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:37:49] local.INFO: Processing buffer {"connection_id":172765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:37:49] local.INFO: IMEI packet received {"connection_id":172765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":172765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:37:50] local.INFO: TCP Data received {"connection_id":172765,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:37:50] local.INFO: Processing buffer {"connection_id":172765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:37:50] local.INFO: IMEI packet received {"connection_id":172765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":172765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:37:51] local.INFO: TCP Data received {"connection_id":172765,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c0ed08012d7d440005d063e0000a016419..."} 
[2026-09-06 13:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c0ed08012d7d440005d063e0000a016419..."} 
[2026-09-06 13:37:51] local.INFO: Processing buffer {"connection_id":172765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c0ed08012d7d440005d063e0000a016419..."} 
[2026-09-06 13:37:51] local.INFO: Packet analysis {"connection_id":172765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c0"} 
[2026-09-06 13:37:51] local.INFO: Extracted packet for processing {"connection_id":172765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c0"} 
[2026-09-06 13:37:51] local.INFO: GPS Element Parsed {"raw_longitude":763184128,"raw_latitude":97543136,"longitude_deg":76.3184128,"latitude_deg":9.7543136,"altitude":10,"angle":356,"satellites":25,"speed":13,"hex_longitude":"2d7d4400","hex_latitude":"05d063e0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902584832001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128922527245271040,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026409946872453120,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788681973000,"timestamp_ms":1788681973000,"timestamp_seconds":1788681973,"priority":1,"record_length":96,"hex_timestamp":"000001a075c0ed08"} 
[2026-09-06 13:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:37:51] 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-09-06 13: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-06 13:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:37:51] 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-09-06 13:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902584832001,"66":13961,"198":206,"85":15104,"24":13,"16":128922527245271040,"45":9026409946872453120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 13:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902584832001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:37:51] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 13:37:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128922527245271040,"km_value":128922527245271.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026409946872453120,"description":"Unknown IO ID 45"} 
[2026-09-06 13:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902584832001,"power":13961,"unknown_198":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9026409946872453120}} 
[2026-09-06 13:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":172765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:37:51] local.INFO: GPS data processed {"connection_id":172765,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:37:51] local.INFO: Acknowledgment sent {"connection_id":172765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:37:53] local.INFO: TCP Data received {"connection_id":172541,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:37:53] local.INFO: Processing buffer {"connection_id":172541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:37:53] local.INFO: IMEI packet received {"connection_id":172541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":172541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:37:54] local.INFO: TCP Data received {"connection_id":172541,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075bf33a0012d34c58006aa3bb8000b009627..."} 
[2026-09-06 13:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bf33a0012d34c58006aa3bb8000b009627..."} 
[2026-09-06 13:37:54] local.INFO: Processing buffer {"connection_id":172541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bf33a0012d34c58006aa3bb8000b009627..."} 
[2026-09-06 13:37:54] local.INFO: Packet analysis {"connection_id":172541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:37:54] local.INFO: Extracted packet for processing {"connection_id":172541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:37:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111819704,"longitude_deg":75.8433152,"latitude_deg":11.1819704,"altitude":11,"angle":150,"satellites":39,"speed":8,"hex_longitude":"2d34c580","hex_latitude":"06aa3bb8","is_valid_coordinates":true} 
[2026-09-06 13:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902555648001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685689546473472,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010184192,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37: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-09-06 13:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788681860000,"timestamp_ms":1788681860000,"timestamp_seconds":1788681860,"priority":1,"record_length":96,"hex_timestamp":"000001a075bf33a0"} 
[2026-09-06 13:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-06 13:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:37:54] 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-09-06 13:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902555648001,"66":27865,"97":206,"81":23296,"24":8,"16":400685689546473472,"45":3802445489010184192},"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-09-06 13:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902555648001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:37:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:37:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685689546473472,"km_value":400685689546473.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010184192,"description":"Unknown IO ID 45"} 
[2026-09-06 13:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902555648001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":8,"odometer":null,"unknown_45":3802445489010184192}} 
[2026-09-06 13:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":172541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:37:54] local.INFO: GPS data processed {"connection_id":172541,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:37:54] local.INFO: Acknowledgment sent {"connection_id":172541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:37:56] local.INFO: TCP Data received {"connection_id":172765,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c123b8012d7d40c005d08888000b016219..."} 
[2026-09-06 13:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c123b8012d7d40c005d08888000b016219..."} 
[2026-09-06 13:37:56] local.INFO: Processing buffer {"connection_id":172765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c123b8012d7d40c005d08888000b016219..."} 
[2026-09-06 13:37:56] local.INFO: Packet analysis {"connection_id":172765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c1"} 
[2026-09-06 13:37:56] local.INFO: Extracted packet for processing {"connection_id":172765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c1"} 
[2026-09-06 13:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":97552520,"longitude_deg":76.3183296,"latitude_deg":9.755252,"altitude":11,"angle":354,"satellites":25,"speed":29,"hex_longitude":"2d7d40c0","hex_latitude":"05d08888","is_valid_coordinates":true} 
[2026-09-06 13:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902585088001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128922982511804416,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026339578128359424,"note":"Value kept but may cause issues"} 
[2026-09-06 13:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788681987000,"timestamp_ms":1788681987000,"timestamp_seconds":1788681987,"priority":1,"record_length":96,"hex_timestamp":"000001a075c123b8"} 
[2026-09-06 13:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:37:56] 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-09-06 13:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-06 13:37:56] 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-09-06 13:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:37:56] 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-09-06 13:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902585088001,"66":13906,"198":206,"85":15104,"24":29,"16":128922982511804416,"45":9026339578128359424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 13:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902585088001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:37:56] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 13:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128922982511804416,"km_value":128922982511804.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026339578128359424,"description":"Unknown IO ID 45"} 
[2026-09-06 13:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902585088001,"power":13906,"unknown_198":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9026339578128359424}} 
[2026-09-06 13:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":172765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:37:56] local.INFO: GPS data processed {"connection_id":172765,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:37:56] local.INFO: Acknowledgment sent {"connection_id":172765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:38:03] local.INFO: TCP Data received {"connection_id":175251,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:38:03] local.INFO: Processing buffer {"connection_id":175251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:38:03] local.INFO: IMEI packet received {"connection_id":175251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":175251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:38:04] local.INFO: TCP Data received {"connection_id":175251,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:38:04] local.INFO: Processing buffer {"connection_id":175251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:38:04] local.INFO: IMEI packet received {"connection_id":175251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":175251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:38:09] local.INFO: TCP Data received {"connection_id":172542,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:38:09] local.INFO: Processing buffer {"connection_id":172542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:38:09] local.INFO: IMEI packet received {"connection_id":172542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":172542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:38:14] local.INFO: TCP Data received {"connection_id":172542,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:38:14] local.INFO: Processing buffer {"connection_id":172542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:38:14] local.INFO: IMEI packet received {"connection_id":172542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":172542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:38:15] local.INFO: TCP Data received {"connection_id":172542,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:38:15] local.INFO: Processing buffer {"connection_id":172542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bda918012d196540071fef68003b011023..."} 
[2026-09-06 13:38:15] local.INFO: Packet analysis {"connection_id":172542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:38:15] local.INFO: Extracted packet for processing {"connection_id":172542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bd"} 
[2026-09-06 13:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":35,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902453248001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788681759000,"timestamp_ms":1788681759000,"timestamp_seconds":1788681759,"priority":1,"record_length":96,"hex_timestamp":"000001a075bda918"} 
[2026-09-06 13:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:38:15] 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-09-06 13:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902453248001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902453248001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:38:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902453248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":172542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:38:15] local.INFO: GPS data processed {"connection_id":172542,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:38:15] local.INFO: Acknowledgment sent {"connection_id":172542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:38:26] local.INFO: TCP Data received {"connection_id":172541,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075bf4728012d34c74006aa3888000b00ae28..."} 
[2026-09-06 13:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bf4728012d34c74006aa3888000b00ae28..."} 
[2026-09-06 13:38:26] local.INFO: Processing buffer {"connection_id":172541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bf4728012d34c74006aa3888000b00ae28..."} 
[2026-09-06 13:38:26] local.INFO: Packet analysis {"connection_id":172541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:38:26] local.INFO: Extracted packet for processing {"connection_id":172541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:38:26] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111818888,"longitude_deg":75.84336,"latitude_deg":11.1818888,"altitude":11,"angle":174,"satellites":40,"speed":3,"hex_longitude":"2d34c740","hex_latitude":"06aa3888","is_valid_coordinates":true} 
[2026-09-06 13:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902556160001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685736791113728,"note":"Value kept but may cause issues"} 
[2026-09-06 13:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498451456,"note":"Value kept but may cause issues"} 
[2026-09-06 13:38: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-09-06 13:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788681865000,"timestamp_ms":1788681865000,"timestamp_seconds":1788681865,"priority":1,"record_length":96,"hex_timestamp":"000001a075bf4728"} 
[2026-09-06 13:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-06 13:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:38: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-09-06 13:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902556160001,"66":27984,"97":206,"81":23296,"24":3,"16":400685736791113728,"45":3802586226498451456},"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-09-06 13:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902556160001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:38:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:38:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685736791113728,"km_value":400685736791113.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498451456,"description":"Unknown IO ID 45"} 
[2026-09-06 13:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902556160001,"power":27984,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802586226498451456}} 
[2026-09-06 13:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":172541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:38:26] local.INFO: GPS data processed {"connection_id":172541,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:38:26] local.INFO: Acknowledgment sent {"connection_id":172541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:38:28] local.INFO: TCP Data received {"connection_id":172765,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c171d8012d7d3d4005d0a4a8000c01631a..."} 
[2026-09-06 13:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c171d8012d7d3d4005d0a4a8000c01631a..."} 
[2026-09-06 13:38:28] local.INFO: Processing buffer {"connection_id":172765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c171d8012d7d3d4005d0a4a8000c01631a..."} 
[2026-09-06 13:38:28] local.INFO: Packet analysis {"connection_id":172765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c1"} 
[2026-09-06 13:38:28] local.INFO: Extracted packet for processing {"connection_id":172765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c1"} 
[2026-09-06 13:38:28] local.INFO: GPS Element Parsed {"raw_longitude":763182400,"raw_latitude":97559720,"longitude_deg":76.31824,"latitude_deg":9.755972,"altitude":12,"angle":355,"satellites":26,"speed":0,"hex_longitude":"2d7d3d40","hex_latitude":"05d0a4a8","is_valid_coordinates":true} 
[2026-09-06 13:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902588672001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128923338994089984,"note":"Value kept but may cause issues"} 
[2026-09-06 13:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784456452096,"note":"Value kept but may cause issues"} 
[2026-09-06 13:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788682007000,"timestamp_ms":1788682007000,"timestamp_seconds":1788682007,"priority":1,"record_length":96,"hex_timestamp":"000001a075c171d8"} 
[2026-09-06 13:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-06 13:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:38:28] 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-09-06 13:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902588672001,"66":13493,"198":206,"85":15104,"24":0,"16":128923338994089984,"45":9025424784456452096},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 13:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902588672001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:38:28] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 13:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128923338994089984,"km_value":128923338994089.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784456452096,"description":"Unknown IO ID 45"} 
[2026-09-06 13:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902588672001,"power":13493,"unknown_198":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9025424784456452096}} 
[2026-09-06 13:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":172765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:38:28] local.INFO: GPS data processed {"connection_id":172765,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:38:28] local.INFO: Acknowledgment sent {"connection_id":172765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:38:46] local.INFO: TCP Data received {"connection_id":173924,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:38:46] local.INFO: Processing buffer {"connection_id":173924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:38:46] local.INFO: IMEI packet received {"connection_id":173924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 13:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":173924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:38:46] local.INFO: TCP Data received {"connection_id":172542,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:38:46] local.INFO: Processing buffer {"connection_id":172542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:38:46] local.INFO: Packet analysis {"connection_id":172542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:38:46] local.INFO: Extracted packet for processing {"connection_id":172542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":31,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902530304001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788682060000,"timestamp_ms":1788682060000,"timestamp_seconds":1788682060,"priority":1,"record_length":96,"hex_timestamp":"000001a075c240e0"} 
[2026-09-06 13:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:38:46] 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-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:38: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-09-06 13:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902530304001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902530304001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:38:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":172542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:38:46] local.INFO: GPS data processed {"connection_id":172542,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:38:46] local.INFO: Acknowledgment sent {"connection_id":172542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:38:48] local.INFO: TCP Data received {"connection_id":172543,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:38:48] local.INFO: Processing buffer {"connection_id":172543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:38:48] local.INFO: IMEI packet received {"connection_id":172543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":172543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:38:48] local.INFO: TCP Data received {"connection_id":173924,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:38:48] local.INFO: Processing buffer {"connection_id":173924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:38:48] local.INFO: IMEI packet received {"connection_id":173924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":173924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:38:50] local.INFO: TCP Data received {"connection_id":173924,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:38:50] local.INFO: Processing buffer {"connection_id":173924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:38:50] local.INFO: IMEI packet received {"connection_id":173924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":173924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:38:51] local.INFO: TCP Data received {"connection_id":173924,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c2e4f0012d7d238005d1d6a0000b01621b..."} 
[2026-09-06 13:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c2e4f0012d7d238005d1d6a0000b01621b..."} 
[2026-09-06 13:38:51] local.INFO: Processing buffer {"connection_id":173924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c2e4f0012d7d238005d1d6a0000b01621b..."} 
[2026-09-06 13:38:51] local.INFO: Packet analysis {"connection_id":173924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:38:51] local.INFO: Extracted packet for processing {"connection_id":173924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:38:51] local.INFO: GPS Element Parsed {"raw_longitude":763175808,"raw_latitude":97638048,"longitude_deg":76.3175808,"latitude_deg":9.7638048,"altitude":11,"angle":354,"satellites":27,"speed":31,"hex_longitude":"2d7d2380","hex_latitude":"05d1d6a0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902614016001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128927165809950720,"note":"Value kept but may cause issues"} 
[2026-09-06 13:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018106435081435136,"note":"Value kept but may cause issues"} 
[2026-09-06 13:38:51] 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-09-06 13:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788682102000,"timestamp_ms":1788682102000,"timestamp_seconds":1788682102,"priority":1,"record_length":96,"hex_timestamp":"000001a075c2e4f0"} 
[2026-09-06 13:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 13:38: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-09-06 13: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-09-06 13:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:38:51] 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-09-06 13:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902614016001,"66":13798,"23":206,"85":15104,"24":31,"16":128927165809950720,"45":9018106435081435136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 13:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902614016001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:38:51] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 13:38:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128927165809950720,"km_value":128927165809950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018106435081435136,"description":"Unknown IO ID 45"} 
[2026-09-06 13:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902614016001,"power":13798,"unknown_23":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9018106435081435136}} 
[2026-09-06 13:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":173924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:38:51] local.INFO: GPS data processed {"connection_id":173924,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:38:51] local.INFO: Acknowledgment sent {"connection_id":173924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:38:53] local.INFO: TCP Data received {"connection_id":172543,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:38:53] local.INFO: Processing buffer {"connection_id":172543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:38:53] local.INFO: IMEI packet received {"connection_id":172543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":172543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:38:54] local.INFO: TCP Data received {"connection_id":172543,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075bf5e98012d34c70006aa38f0000b014928..."} 
[2026-09-06 13:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bf5e98012d34c70006aa38f0000b014928..."} 
[2026-09-06 13:38:54] local.INFO: Processing buffer {"connection_id":172543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bf5e98012d34c70006aa38f0000b014928..."} 
[2026-09-06 13:38:54] local.INFO: Packet analysis {"connection_id":172543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:38:54] local.INFO: Extracted packet for processing {"connection_id":172543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:38:54] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111818992,"longitude_deg":75.8433536,"latitude_deg":11.1818992,"altitude":11,"angle":329,"satellites":40,"speed":4,"hex_longitude":"2d34c700","hex_latitude":"06aa38f0","is_valid_coordinates":true} 
[2026-09-06 13:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902557440001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685745381048320,"note":"Value kept but may cause issues"} 
[2026-09-06 13:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807707486208,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788681871000,"timestamp_ms":1788681871000,"timestamp_seconds":1788681871,"priority":1,"record_length":96,"hex_timestamp":"000001a075bf5e98"} 
[2026-09-06 13:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 13:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:38: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-09-06 13:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902557440001,"66":27919,"97":206,"81":23296,"24":4,"16":400685745381048320,"45":3803078807707486208},"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-09-06 13:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902557440001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:38:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:38:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685745381048320,"km_value":400685745381048.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807707486208,"description":"Unknown IO ID 45"} 
[2026-09-06 13:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902557440001,"power":27919,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3803078807707486208}} 
[2026-09-06 13:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":172543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:38:54] local.INFO: GPS data processed {"connection_id":172543,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:38:54] local.INFO: Acknowledgment sent {"connection_id":172543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:39:09] local.INFO: TCP Data received {"connection_id":173925,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:39:09] local.INFO: Processing buffer {"connection_id":173925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:39:09] local.INFO: IMEI packet received {"connection_id":173925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":173925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:39:14] local.INFO: TCP Data received {"connection_id":173925,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:39:14] local.INFO: Processing buffer {"connection_id":173925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:39:14] local.INFO: IMEI packet received {"connection_id":173925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":173925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:39:15] local.INFO: TCP Data received {"connection_id":173925,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:39:15] local.INFO: Processing buffer {"connection_id":173925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:39:15] local.INFO: Packet analysis {"connection_id":173925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:39:15] local.INFO: Extracted packet for processing {"connection_id":173925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:39:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":31,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902530304001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788682060000,"timestamp_ms":1788682060000,"timestamp_seconds":1788682060,"priority":1,"record_length":96,"hex_timestamp":"000001a075c240e0"} 
[2026-09-06 13:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:39:15] 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-09-06 13:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:39:15] 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-09-06 13:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902530304001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902530304001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:39:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:39:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":173925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:39:15] local.INFO: GPS data processed {"connection_id":173925,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:39:15] local.INFO: Acknowledgment sent {"connection_id":173925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:39:22] local.INFO: TCP Data received {"connection_id":173924,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c30fe8012d7d224005d1fbb0000b00021b..."} 
[2026-09-06 13:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c30fe8012d7d224005d1fbb0000b00021b..."} 
[2026-09-06 13:39:22] local.INFO: Processing buffer {"connection_id":173924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c30fe8012d7d224005d1fbb0000b00021b..."} 
[2026-09-06 13:39:22] local.INFO: Packet analysis {"connection_id":173924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c3"} 
[2026-09-06 13:39:22] local.INFO: Extracted packet for processing {"connection_id":173924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c3"} 
[2026-09-06 13:39:22] local.INFO: GPS Element Parsed {"raw_longitude":763175488,"raw_latitude":97647536,"longitude_deg":76.3175488,"latitude_deg":9.7647536,"altitude":11,"angle":2,"satellites":27,"speed":34,"hex_longitude":"2d7d2240","hex_latitude":"05d1fbb0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902618112001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128927625371451392,"note":"Value kept but may cause issues"} 
[2026-09-06 13:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017191641409560576,"note":"Value kept but may cause issues"} 
[2026-09-06 13:39: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-09-06 13:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788682113000,"timestamp_ms":1788682113000,"timestamp_seconds":1788682113,"priority":1,"record_length":96,"hex_timestamp":"000001a075c30fe8"} 
[2026-09-06 13:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:39:22] 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-09-06 13: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 13:39:22] 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-09-06 13: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-09-06 13:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:39:22] 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-09-06 13:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902618112001,"66":13917,"23":206,"85":15104,"24":34,"16":128927625371451392,"45":9017191641409560576},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 13:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902618112001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:39:22] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 13:39:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128927625371451392,"km_value":128927625371451.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017191641409560576,"description":"Unknown IO ID 45"} 
[2026-09-06 13:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902618112001,"power":13917,"unknown_23":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9017191641409560576}} 
[2026-09-06 13:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":173924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:39:22] local.INFO: GPS data processed {"connection_id":173924,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:39:22] local.INFO: Acknowledgment sent {"connection_id":173924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:39:26] local.INFO: TCP Data received {"connection_id":172543,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075bf6280012d34c6c006aa3960000b015828..."} 
[2026-09-06 13:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bf6280012d34c6c006aa3960000b015828..."} 
[2026-09-06 13:39:26] local.INFO: Processing buffer {"connection_id":172543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bf6280012d34c6c006aa3960000b015828..."} 
[2026-09-06 13:39:26] local.INFO: Packet analysis {"connection_id":172543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:39:26] local.INFO: Extracted packet for processing {"connection_id":172543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:39:26] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111819104,"longitude_deg":75.8433472,"latitude_deg":11.1819104,"altitude":11,"angle":344,"satellites":40,"speed":2,"hex_longitude":"2d34c6c0","hex_latitude":"06aa3960","is_valid_coordinates":true} 
[2026-09-06 13:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902558976001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685753970982912,"note":"Value kept but may cause issues"} 
[2026-09-06 13:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438963335168,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788681872000,"timestamp_ms":1788681872000,"timestamp_seconds":1788681872,"priority":1,"record_length":96,"hex_timestamp":"000001a075bf6280"} 
[2026-09-06 13:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 13:39:26] 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-09-06 13:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:39:26] 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-09-06 13:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902558976001,"66":27919,"97":206,"81":23296,"24":2,"16":400685753970982912,"45":3803008438963335168},"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-09-06 13:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902558976001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:39:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:39:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685753970982912,"km_value":400685753970982.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438963335168,"description":"Unknown IO ID 45"} 
[2026-09-06 13:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902558976001,"power":27919,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3803008438963335168}} 
[2026-09-06 13:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":172543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:39:26] local.INFO: GPS data processed {"connection_id":172543,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:39:26] local.INFO: Acknowledgment sent {"connection_id":172543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:39:46] local.INFO: TCP Data received {"connection_id":173925,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:39:46] local.INFO: Processing buffer {"connection_id":173925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:39:46] local.INFO: Packet analysis {"connection_id":173925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:39:46] local.INFO: Extracted packet for processing {"connection_id":173925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":31,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902530304001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788682060000,"timestamp_ms":1788682060000,"timestamp_seconds":1788682060,"priority":1,"record_length":96,"hex_timestamp":"000001a075c240e0"} 
[2026-09-06 13:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:39:46] 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-09-06 13:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:39:46] 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-09-06 13:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902530304001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902530304001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:39:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":173925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:39:46] local.INFO: GPS data processed {"connection_id":173925,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:39:46] local.INFO: Acknowledgment sent {"connection_id":173925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:39:48] local.INFO: TCP Data received {"connection_id":172545,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:39:48] local.INFO: Processing buffer {"connection_id":172545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:39:48] local.INFO: IMEI packet received {"connection_id":172545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":172545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:39:49] local.INFO: TCP Data received {"connection_id":173926,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:39:49] local.INFO: Processing buffer {"connection_id":173926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:39:49] local.INFO: IMEI packet received {"connection_id":173926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 13:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":173926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:39:50] local.INFO: TCP Data received {"connection_id":173926,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:39:50] local.INFO: Processing buffer {"connection_id":173926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:39:50] local.INFO: IMEI packet received {"connection_id":173926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":173926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:39:53] local.INFO: TCP Data received {"connection_id":172545,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:39:53] local.INFO: Processing buffer {"connection_id":172545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:39:53] local.INFO: IMEI packet received {"connection_id":172545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":172545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:39:54] local.INFO: TCP Data received {"connection_id":172545,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075bf6668012d34c6c006aa3998000c014228..."} 
[2026-09-06 13:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bf6668012d34c6c006aa3998000c014228..."} 
[2026-09-06 13:39:54] local.INFO: Processing buffer {"connection_id":172545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bf6668012d34c6c006aa3998000c014228..."} 
[2026-09-06 13:39:54] local.INFO: Packet analysis {"connection_id":172545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:39:54] local.INFO: Extracted packet for processing {"connection_id":172545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:39:54] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111819160,"longitude_deg":75.8433472,"latitude_deg":11.181916,"altitude":12,"angle":322,"satellites":40,"speed":2,"hex_longitude":"2d34c6c0","hex_latitude":"06aa3998","is_valid_coordinates":true} 
[2026-09-06 13:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902559232001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685753970982912,"note":"Value kept but may cause issues"} 
[2026-09-06 13:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070219186176,"note":"Value kept but may cause issues"} 
[2026-09-06 13:39: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-09-06 13:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788681873000,"timestamp_ms":1788681873000,"timestamp_seconds":1788681873,"priority":1,"record_length":96,"hex_timestamp":"000001a075bf6668"} 
[2026-09-06 13:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 13:39: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-09-06 13:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:39: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-09-06 13:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902559232001,"66":27821,"97":206,"81":23296,"24":2,"16":400685753970982912,"45":3802938070219186176},"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-09-06 13:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902559232001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:39:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:39:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685753970982912,"km_value":400685753970982.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070219186176,"description":"Unknown IO ID 45"} 
[2026-09-06 13:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902559232001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802938070219186176}} 
[2026-09-06 13:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":172545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:39:54] local.INFO: GPS data processed {"connection_id":172545,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:39:54] local.INFO: Acknowledgment sent {"connection_id":172545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:40:01] local.INFO: TCP Data received {"connection_id":173926,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:40:01] local.INFO: Processing buffer {"connection_id":173926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:40:01] local.INFO: IMEI packet received {"connection_id":173926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":173926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:40:03] local.INFO: TCP Data received {"connection_id":173926,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c342b0012d7d264005d21f18000a00081b..."} 
[2026-09-06 13:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c342b0012d7d264005d21f18000a00081b..."} 
[2026-09-06 13:40:03] local.INFO: Processing buffer {"connection_id":173926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c342b0012d7d264005d21f18000a00081b..."} 
[2026-09-06 13:40:03] local.INFO: Packet analysis {"connection_id":173926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c3"} 
[2026-09-06 13:40:03] local.INFO: Extracted packet for processing {"connection_id":173926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c3"} 
[2026-09-06 13:40:03] local.INFO: GPS Element Parsed {"raw_longitude":763176512,"raw_latitude":97656600,"longitude_deg":76.3176512,"latitude_deg":9.76566,"altitude":10,"angle":8,"satellites":27,"speed":22,"hex_longitude":"2d7d2640","hex_latitude":"05d21f18","is_valid_coordinates":true} 
[2026-09-06 13:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902620928001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128928067753082880,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016839797691101184,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:03] 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-09-06 13:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788682126000,"timestamp_ms":1788682126000,"timestamp_seconds":1788682126,"priority":1,"record_length":96,"hex_timestamp":"000001a075c342b0"} 
[2026-09-06 13:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:40:03] 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-09-06 13:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-06 13:40:03] 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-09-06 13:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:40:03] 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-09-06 13:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902620928001,"66":13820,"23":206,"85":15104,"24":22,"16":128928067753082880,"45":9016839797691101184},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 13:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902620928001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:40:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 13:40:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128928067753082880,"km_value":128928067753082.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016839797691101184,"description":"Unknown IO ID 45"} 
[2026-09-06 13:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902620928001,"power":13820,"unknown_23":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9016839797691101184}} 
[2026-09-06 13:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":173926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:40:03] local.INFO: GPS data processed {"connection_id":173926,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:40:03] local.INFO: Acknowledgment sent {"connection_id":173926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:40:04] local.INFO: TCP Data received {"connection_id":173926,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c390d0012d7d290005d23048000b000c1d..."} 
[2026-09-06 13:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c390d0012d7d290005d23048000b000c1d..."} 
[2026-09-06 13:40:04] local.INFO: Processing buffer {"connection_id":173926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c390d0012d7d290005d23048000b000c1d..."} 
[2026-09-06 13:40:04] local.INFO: Packet analysis {"connection_id":173926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c3"} 
[2026-09-06 13:40:04] local.INFO: Extracted packet for processing {"connection_id":173926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c3"} 
[2026-09-06 13:40:04] local.INFO: GPS Element Parsed {"raw_longitude":763177216,"raw_latitude":97661000,"longitude_deg":76.3177216,"latitude_deg":9.7661,"altitude":11,"angle":12,"satellites":29,"speed":0,"hex_longitude":"2d7d2900","hex_latitude":"05d23048","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902624256001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128928291091382272,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017965697600264192,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:04] 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-09-06 13:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788682146000,"timestamp_ms":1788682146000,"timestamp_seconds":1788682146,"priority":1,"record_length":96,"hex_timestamp":"000001a075c390d0"} 
[2026-09-06 13:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:40:04] 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-09-06 13: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 13:40:04] 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-09-06 13: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-09-06 13:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:40:04] 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-09-06 13:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902624256001,"66":13906,"23":206,"85":15104,"24":0,"16":128928291091382272,"45":9017965697600264192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 13:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902624256001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:40:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 13:40:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128928291091382272,"km_value":128928291091382.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017965697600264192,"description":"Unknown IO ID 45"} 
[2026-09-06 13:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902624256001,"power":13906,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9017965697600264192}} 
[2026-09-06 13:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":173926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:40:04] local.INFO: GPS data processed {"connection_id":173926,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:40:04] local.INFO: Acknowledgment sent {"connection_id":173926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:40:14] local.INFO: TCP Data received {"connection_id":173927,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:40:14] local.INFO: Processing buffer {"connection_id":173927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:40:14] local.INFO: IMEI packet received {"connection_id":173927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":173927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:40:19] local.INFO: TCP Data received {"connection_id":173927,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:40:19] local.INFO: Processing buffer {"connection_id":173927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:40:19] local.INFO: IMEI packet received {"connection_id":173927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":173927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:40:20] local.INFO: TCP Data received {"connection_id":173927,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:40:20] local.INFO: Processing buffer {"connection_id":173927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:40:20] local.INFO: Packet analysis {"connection_id":173927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:40:20] local.INFO: Extracted packet for processing {"connection_id":173927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:40:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":31,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:40: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-09-06 13:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902530304001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788682060000,"timestamp_ms":1788682060000,"timestamp_seconds":1788682060,"priority":1,"record_length":96,"hex_timestamp":"000001a075c240e0"} 
[2026-09-06 13:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:40:20] 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-09-06 13:40: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:40: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-09-06 13:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:40:20] 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-09-06 13:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902530304001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902530304001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:40:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:40:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":173927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:40:20] local.INFO: GPS data processed {"connection_id":173927,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:40:20] local.INFO: Acknowledgment sent {"connection_id":173927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:40:24] local.INFO: TCP Data received {"connection_id":173927,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:40:24] local.INFO: Processing buffer {"connection_id":173927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:40:24] local.INFO: Packet analysis {"connection_id":173927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:40:24] local.INFO: Extracted packet for processing {"connection_id":173927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:40:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":31,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 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-09-06 13:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902530304001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788682060000,"timestamp_ms":1788682060000,"timestamp_seconds":1788682060,"priority":1,"record_length":96,"hex_timestamp":"000001a075c240e0"} 
[2026-09-06 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-09-06 13:40:24] 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-09-06 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 13:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:40:24] 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-09-06 13:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902530304001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902530304001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:40:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:40:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":173927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:40:24] local.INFO: GPS data processed {"connection_id":173927,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:40:24] local.INFO: Acknowledgment sent {"connection_id":173927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:40:25] local.INFO: TCP Data received {"connection_id":172545,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075bf79f0012d34c5c006aa3b20000d014728..."} 
[2026-09-06 13:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bf79f0012d34c5c006aa3b20000d014728..."} 
[2026-09-06 13:40:25] local.INFO: Processing buffer {"connection_id":172545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bf79f0012d34c5c006aa3b20000d014728..."} 
[2026-09-06 13:40:25] local.INFO: Packet analysis {"connection_id":172545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:40:25] local.INFO: Extracted packet for processing {"connection_id":172545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:40:25] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111819552,"longitude_deg":75.8433216,"latitude_deg":11.1819552,"altitude":13,"angle":327,"satellites":40,"speed":5,"hex_longitude":"2d34c5c0","hex_latitude":"06aa3b20","is_valid_coordinates":true} 
[2026-09-06 13:40: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-09-06 13:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902559488001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070219200512,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40: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-09-06 13:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788681878000,"timestamp_ms":1788681878000,"timestamp_seconds":1788681878,"priority":1,"record_length":96,"hex_timestamp":"000001a075bf79f0"} 
[2026-09-06 13:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 13:40: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-09-06 13: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-09-06 13:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:40: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-09-06 13:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902559488001,"66":27995,"97":206,"81":23296,"24":5,"16":400685779740786688,"45":3802938070219200512},"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-09-06 13:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902559488001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:40:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:40:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070219200512,"description":"Unknown IO ID 45"} 
[2026-09-06 13:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902559488001,"power":27995,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3802938070219200512}} 
[2026-09-06 13:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":172545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:40:25] local.INFO: GPS data processed {"connection_id":172545,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:40:25] local.INFO: Acknowledgment sent {"connection_id":172545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:40:29] local.INFO: TCP Data received {"connection_id":173927,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:40:29] local.INFO: Processing buffer {"connection_id":173927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:40:29] local.INFO: Packet analysis {"connection_id":173927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:40:29] local.INFO: Extracted packet for processing {"connection_id":173927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:40:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":31,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902530304001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40: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-09-06 13:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788682060000,"timestamp_ms":1788682060000,"timestamp_seconds":1788682060,"priority":1,"record_length":96,"hex_timestamp":"000001a075c240e0"} 
[2026-09-06 13:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:40:29] 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-09-06 13:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:40: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-09-06 13:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:40: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-09-06 13:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902530304001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902530304001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:40:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:40:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":173927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:40:29] local.INFO: GPS data processed {"connection_id":173927,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:40:29] local.INFO: Acknowledgment sent {"connection_id":173927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:40:45] local.INFO: TCP Data received {"connection_id":175252,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:40:45] local.INFO: Processing buffer {"connection_id":175252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:40:45] local.INFO: IMEI packet received {"connection_id":175252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 13:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":175252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:40:51] local.INFO: TCP Data received {"connection_id":175252,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:40:51] local.INFO: Processing buffer {"connection_id":175252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:40:51] local.INFO: IMEI packet received {"connection_id":175252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":175252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:40:51] local.INFO: TCP Data received {"connection_id":175252,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c3e2d8012d7d290005d23048000b000c1d..."} 
[2026-09-06 13:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c3e2d8012d7d290005d23048000b000c1d..."} 
[2026-09-06 13:40:51] local.INFO: Processing buffer {"connection_id":175252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c3e2d8012d7d290005d23048000b000c1d..."} 
[2026-09-06 13:40:51] local.INFO: Packet analysis {"connection_id":175252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c3"} 
[2026-09-06 13:40:51] local.INFO: Extracted packet for processing {"connection_id":175252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c3"} 
[2026-09-06 13:40:51] local.INFO: GPS Element Parsed {"raw_longitude":763177216,"raw_latitude":97661000,"longitude_deg":76.3177216,"latitude_deg":9.7661,"altitude":11,"angle":12,"satellites":29,"speed":0,"hex_longitude":"2d7d2900","hex_latitude":"05d23048","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902629376001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128928291091382272,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018739753787344896,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:51] 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-09-06 13:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788682167000,"timestamp_ms":1788682167000,"timestamp_seconds":1788682167,"priority":1,"record_length":96,"hex_timestamp":"000001a075c3e2d8"} 
[2026-09-06 13:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-06 13:40:51] 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-09-06 13: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-09-06 13:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:40:51] 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-09-06 13:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902629376001,"66":13906,"23":206,"85":15104,"24":0,"16":128928291091382272,"45":9018739753787344896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 13:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902629376001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:40:51] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 13:40:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128928291091382272,"km_value":128928291091382.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018739753787344896,"description":"Unknown IO ID 45"} 
[2026-09-06 13:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902629376001,"power":13906,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9018739753787344896}} 
[2026-09-06 13:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":175252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:40:51] local.INFO: GPS data processed {"connection_id":175252,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:40:51] local.INFO: Acknowledgment sent {"connection_id":175252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:40:53] local.INFO: TCP Data received {"connection_id":175253,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:40:53] local.INFO: Processing buffer {"connection_id":175253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:40:53] local.INFO: IMEI packet received {"connection_id":175253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":175253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:40:58] local.INFO: TCP Data received {"connection_id":175253,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:40:58] local.INFO: Processing buffer {"connection_id":175253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:40:58] local.INFO: IMEI packet received {"connection_id":175253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":175253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:40:59] local.INFO: TCP Data received {"connection_id":175253,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075bf81c0012d34c58006aa3bd8000d013928..."} 
[2026-09-06 13:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075bf81c0012d34c58006aa3bd8000d013928..."} 
[2026-09-06 13:40:59] local.INFO: Processing buffer {"connection_id":175253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075bf81c0012d34c58006aa3bd8000d013928..."} 
[2026-09-06 13:40:59] local.INFO: Packet analysis {"connection_id":175253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:40:59] local.INFO: Extracted packet for processing {"connection_id":175253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075bf"} 
[2026-09-06 13:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111819736,"longitude_deg":75.8433152,"latitude_deg":11.1819736,"altitude":13,"angle":313,"satellites":40,"speed":3,"hex_longitude":"2d34c580","hex_latitude":"06aa3bd8","is_valid_coordinates":true} 
[2026-09-06 13:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902560768001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595242590208,"note":"Value kept but may cause issues"} 
[2026-09-06 13:40: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-09-06 13:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788681880000,"timestamp_ms":1788681880000,"timestamp_seconds":1788681880,"priority":1,"record_length":96,"hex_timestamp":"000001a075bf81c0"} 
[2026-09-06 13:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-06 13:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:40:59] 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-09-06 13:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902560768001,"66":28017,"97":206,"81":23296,"24":3,"16":400685779740786688,"45":3802656595242590208},"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-09-06 13:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902560768001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:40:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:40:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595242590208,"description":"Unknown IO ID 45"} 
[2026-09-06 13:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902560768001,"power":28017,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802656595242590208}} 
[2026-09-06 13:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":175253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:40:59] local.INFO: GPS data processed {"connection_id":175253,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:40:59] local.INFO: Acknowledgment sent {"connection_id":175253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:41:09] local.INFO: TCP Data received {"connection_id":175255,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:41:09] local.INFO: Processing buffer {"connection_id":175255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:41:09] local.INFO: IMEI packet received {"connection_id":175255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":175255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:41:14] local.INFO: TCP Data received {"connection_id":175255,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:41:14] local.INFO: Processing buffer {"connection_id":175255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:41:14] local.INFO: IMEI packet received {"connection_id":175255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":175255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:41:15] local.INFO: TCP Data received {"connection_id":175255,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:41:15] local.INFO: Processing buffer {"connection_id":175255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:41:15] local.INFO: Packet analysis {"connection_id":175255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:41:15] local.INFO: Extracted packet for processing {"connection_id":175255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":31,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902530304001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788682060000,"timestamp_ms":1788682060000,"timestamp_seconds":1788682060,"priority":1,"record_length":96,"hex_timestamp":"000001a075c240e0"} 
[2026-09-06 13:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:41:15] 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-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:41:15] 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-09-06 13:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902530304001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902530304001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:41:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":175255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:41:15] local.INFO: GPS data processed {"connection_id":175255,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:41:15] local.INFO: Acknowledgment sent {"connection_id":175255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:41:22] local.INFO: TCP Data received {"connection_id":175252,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c434e0012d7d29c005d237d0000e000420..."} 
[2026-09-06 13:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c434e0012d7d29c005d237d0000e000420..."} 
[2026-09-06 13:41:22] local.INFO: Processing buffer {"connection_id":175252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c434e0012d7d29c005d237d0000e000420..."} 
[2026-09-06 13:41:22] local.INFO: Packet analysis {"connection_id":175252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:41:22] local.INFO: Extracted packet for processing {"connection_id":175252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:41:22] local.INFO: GPS Element Parsed {"raw_longitude":763177408,"raw_latitude":97662928,"longitude_deg":76.3177408,"latitude_deg":9.7662928,"altitude":14,"angle":4,"satellites":32,"speed":15,"hex_longitude":"2d7d29c0","hex_latitude":"05d237d0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902634752001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128928385580662784,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018739753787344896,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41: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-09-06 13:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788682188000,"timestamp_ms":1788682188000,"timestamp_seconds":1788682188,"priority":1,"record_length":96,"hex_timestamp":"000001a075c434e0"} 
[2026-09-06 13:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:41:22] 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-09-06 13: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-06 13:41:22] 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-09-06 13: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-09-06 13:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:41:22] 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-09-06 13:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902634752001,"66":13928,"23":206,"85":15104,"24":15,"16":128928385580662784,"45":9018739753787344896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 13:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902634752001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:41:22] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 13:41:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128928385580662784,"km_value":128928385580662.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018739753787344896,"description":"Unknown IO ID 45"} 
[2026-09-06 13:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902634752001,"power":13928,"unknown_23":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9018739753787344896}} 
[2026-09-06 13:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":175252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:41:22] local.INFO: GPS data processed {"connection_id":175252,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:41:22] local.INFO: Acknowledgment sent {"connection_id":175252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:41:30] local.INFO: TCP Data received {"connection_id":175253,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:41:30] local.INFO: Processing buffer {"connection_id":175253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:41:30] local.INFO: Packet analysis {"connection_id":175253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:41:30] local.INFO: Extracted packet for processing {"connection_id":175253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:41:30] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902561280001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498459648,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41: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-09-06 13:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788682181000,"timestamp_ms":1788682181000,"timestamp_seconds":1788682181,"priority":1,"record_length":96,"hex_timestamp":"000001a075c41988"} 
[2026-09-06 13:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 13:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:41:30] 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-09-06 13:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902561280001,"66":26299,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802586226498459648},"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-09-06 13:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902561280001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:41:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:41:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498459648,"description":"Unknown IO ID 45"} 
[2026-09-06 13:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902561280001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498459648}} 
[2026-09-06 13:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":175253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:41:30] local.INFO: GPS data processed {"connection_id":175253,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:41:30] local.INFO: Acknowledgment sent {"connection_id":175253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:41:46] local.INFO: TCP Data received {"connection_id":175255,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:41:46] local.INFO: Processing buffer {"connection_id":175255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:41:46] local.INFO: Packet analysis {"connection_id":175255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:41:46] local.INFO: Extracted packet for processing {"connection_id":175255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:41:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":31,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902530304001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788682060000,"timestamp_ms":1788682060000,"timestamp_seconds":1788682060,"priority":1,"record_length":96,"hex_timestamp":"000001a075c240e0"} 
[2026-09-06 13:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:41:46] 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-09-06 13:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:41:46] 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-09-06 13:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902530304001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902530304001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:41:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:41:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":175255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:41:46] local.INFO: GPS data processed {"connection_id":175255,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:41:46] local.INFO: Acknowledgment sent {"connection_id":175255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:41:46] local.INFO: TCP Data received {"connection_id":173928,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:41:46] local.INFO: Processing buffer {"connection_id":173928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:41:46] local.INFO: IMEI packet received {"connection_id":173928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 13:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":173928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:41:48] local.INFO: TCP Data received {"connection_id":172767,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:41:48] local.INFO: Processing buffer {"connection_id":172767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:41:48] local.INFO: IMEI packet received {"connection_id":172767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":172767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:41:49] local.INFO: TCP Data received {"connection_id":173928,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:41:49] local.INFO: Processing buffer {"connection_id":173928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:41:49] local.INFO: IMEI packet received {"connection_id":173928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":173928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:41:49] local.INFO: TCP Data received {"connection_id":173928,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c5a7f8012d7d3c4005d2cca00007007f20..."} 
[2026-09-06 13:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c5a7f8012d7d3c4005d2cca00007007f20..."} 
[2026-09-06 13:41:49] local.INFO: Processing buffer {"connection_id":173928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c5a7f8012d7d3c4005d2cca00007007f20..."} 
[2026-09-06 13:41:49] local.INFO: Packet analysis {"connection_id":173928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c5"} 
[2026-09-06 13:41:49] local.INFO: Extracted packet for processing {"connection_id":173928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c5"} 
[2026-09-06 13:41:49] local.INFO: GPS Element Parsed {"raw_longitude":763182144,"raw_latitude":97701024,"longitude_deg":76.3182144,"latitude_deg":9.7701024,"altitude":7,"angle":127,"satellites":32,"speed":8,"hex_longitude":"2d7d3c40","hex_latitude":"05d2cca0","is_valid_coordinates":true} 
[2026-09-06 13:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902664192001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128930314020978688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409610930176,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:49] 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-09-06 13:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788682283000,"timestamp_ms":1788682283000,"timestamp_seconds":1788682283,"priority":1,"record_length":96,"hex_timestamp":"000001a075c5a7f8"} 
[2026-09-06 13:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:41:49] 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-09-06 13:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-06 13:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:41:49] 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-09-06 13:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902664192001,"66":13798,"117":206,"85":15104,"24":8,"16":128930314020978688,"45":9024017409610930176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 13:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902664192001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:41:49] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 13:41:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128930314020978688,"km_value":128930314020978.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409610930176,"description":"Unknown IO ID 45"} 
[2026-09-06 13:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902664192001,"power":13798,"unknown_117":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9024017409610930176}} 
[2026-09-06 13:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":173928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:41:50] local.INFO: GPS data processed {"connection_id":173928,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:41:50] local.INFO: Acknowledgment sent {"connection_id":173928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:41:50] local.INFO: TCP Data received {"connection_id":173928,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c5abe0012d7d3d4005d2cc100007009620..."} 
[2026-09-06 13:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c5abe0012d7d3d4005d2cc100007009620..."} 
[2026-09-06 13:41:50] local.INFO: Processing buffer {"connection_id":173928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c5abe0012d7d3d4005d2cc100007009620..."} 
[2026-09-06 13:41:50] local.INFO: Packet analysis {"connection_id":173928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c5"} 
[2026-09-06 13:41:50] local.INFO: Extracted packet for processing {"connection_id":173928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c5"} 
[2026-09-06 13:41:50] local.INFO: GPS Element Parsed {"raw_longitude":763182400,"raw_latitude":97700880,"longitude_deg":76.31824,"latitude_deg":9.770088,"altitude":7,"angle":150,"satellites":32,"speed":9,"hex_longitude":"2d7d3d40","hex_latitude":"05d2cc10","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902664448001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128930326905880576,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024158147099271168,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:50] 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-09-06 13:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788682284000,"timestamp_ms":1788682284000,"timestamp_seconds":1788682284,"priority":1,"record_length":96,"hex_timestamp":"000001a075c5abe0"} 
[2026-09-06 13:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:41:50] 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-09-06 13: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 13:41:50] 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-09-06 13: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-09-06 13:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:41:50] 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-09-06 13:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902664448001,"66":13798,"117":206,"85":15104,"24":9,"16":128930326905880576,"45":9024158147099271168},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 13:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902664448001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:41:50] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 13:41:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128930326905880576,"km_value":128930326905880.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024158147099271168,"description":"Unknown IO ID 45"} 
[2026-09-06 13:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902664448001,"power":13798,"unknown_117":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9024158147099271168}} 
[2026-09-06 13:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":173928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:41:51] local.INFO: GPS data processed {"connection_id":173928,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:41:51] local.INFO: Acknowledgment sent {"connection_id":173928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:41:53] local.INFO: TCP Data received {"connection_id":172767,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:41:53] local.INFO: Processing buffer {"connection_id":172767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:41:53] local.INFO: IMEI packet received {"connection_id":172767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":172767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:41:54] local.INFO: TCP Data received {"connection_id":172767,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:41:54] local.INFO: Processing buffer {"connection_id":172767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:41:54] local.INFO: Packet analysis {"connection_id":172767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:41:54] local.INFO: Extracted packet for processing {"connection_id":172767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:41:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902561280001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498459648,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788682181000,"timestamp_ms":1788682181000,"timestamp_seconds":1788682181,"priority":1,"record_length":96,"hex_timestamp":"000001a075c41988"} 
[2026-09-06 13:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 13:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13: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-09-06 13:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902561280001,"66":26299,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802586226498459648},"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-09-06 13:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902561280001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:41:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:41:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498459648,"description":"Unknown IO ID 45"} 
[2026-09-06 13:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902561280001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498459648}} 
[2026-09-06 13:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":172767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:41:54] local.INFO: GPS data processed {"connection_id":172767,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:41:54] local.INFO: Acknowledgment sent {"connection_id":172767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:42:09] local.INFO: TCP Data received {"connection_id":172768,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:42:09] local.INFO: Processing buffer {"connection_id":172768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:42:09] local.INFO: IMEI packet received {"connection_id":172768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":172768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:42:14] local.INFO: TCP Data received {"connection_id":172768,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:42:14] local.INFO: Processing buffer {"connection_id":172768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:42:14] local.INFO: IMEI packet received {"connection_id":172768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":172768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:42:15] local.INFO: TCP Data received {"connection_id":172768,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:42:15] local.INFO: Processing buffer {"connection_id":172768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:42:15] local.INFO: Packet analysis {"connection_id":172768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:42:15] local.INFO: Extracted packet for processing {"connection_id":172768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":31,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902530304001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788682060000,"timestamp_ms":1788682060000,"timestamp_seconds":1788682060,"priority":1,"record_length":96,"hex_timestamp":"000001a075c240e0"} 
[2026-09-06 13:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:42:15] 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-09-06 13:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902530304001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902530304001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:42:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":172768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:42:15] local.INFO: GPS data processed {"connection_id":172768,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:42:15] local.INFO: Acknowledgment sent {"connection_id":172768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:42:21] local.INFO: TCP Data received {"connection_id":173928,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c5afc8012d7d3dc005d2cb30000700aa20..."} 
[2026-09-06 13:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c5afc8012d7d3dc005d2cb30000700aa20..."} 
[2026-09-06 13:42:21] local.INFO: Processing buffer {"connection_id":173928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c5afc8012d7d3dc005d2cb30000700aa20..."} 
[2026-09-06 13:42:21] local.INFO: Packet analysis {"connection_id":173928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c5"} 
[2026-09-06 13:42:21] local.INFO: Extracted packet for processing {"connection_id":173928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c5"} 
[2026-09-06 13:42:21] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":97700656,"longitude_deg":76.3182528,"latitude_deg":9.7700656,"altitude":7,"angle":170,"satellites":32,"speed":12,"hex_longitude":"2d7d3dc0","hex_latitude":"05d2cb30","is_valid_coordinates":true} 
[2026-09-06 13:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902664704001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128930339790782464,"note":"Value kept but may cause issues"} 
[2026-09-06 13:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024439622075944960,"note":"Value kept but may cause issues"} 
[2026-09-06 13:42:21] 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-09-06 13:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788682285000,"timestamp_ms":1788682285000,"timestamp_seconds":1788682285,"priority":1,"record_length":96,"hex_timestamp":"000001a075c5afc8"} 
[2026-09-06 13:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:42:21] 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-09-06 13:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 13:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:42:21] 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-09-06 13:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902664704001,"66":13798,"117":206,"85":15104,"24":12,"16":128930339790782464,"45":9024439622075944960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 13:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902664704001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:42:21] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 13:42:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128930339790782464,"km_value":128930339790782.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024439622075944960,"description":"Unknown IO ID 45"} 
[2026-09-06 13:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902664704001,"power":13798,"unknown_117":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9024439622075944960}} 
[2026-09-06 13:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":173928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:42:21] local.INFO: GPS data processed {"connection_id":173928,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:42:21] local.INFO: Acknowledgment sent {"connection_id":173928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:42:25] local.INFO: TCP Data received {"connection_id":172767,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:42:25] local.INFO: Processing buffer {"connection_id":172767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:42:25] local.INFO: Packet analysis {"connection_id":172767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:42:25] local.INFO: Extracted packet for processing {"connection_id":172767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:42:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902561280001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498459648,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788682181000,"timestamp_ms":1788682181000,"timestamp_seconds":1788682181,"priority":1,"record_length":96,"hex_timestamp":"000001a075c41988"} 
[2026-09-06 13:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 13:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:42: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-09-06 13:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902561280001,"66":26299,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802586226498459648},"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-09-06 13:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902561280001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:42:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:42:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498459648,"description":"Unknown IO ID 45"} 
[2026-09-06 13:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902561280001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498459648}} 
[2026-09-06 13:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":172767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:42:25] local.INFO: GPS data processed {"connection_id":172767,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:42:25] local.INFO: Acknowledgment sent {"connection_id":172767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:42:45] local.INFO: TCP Data received {"connection_id":175256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:42:45] local.INFO: Processing buffer {"connection_id":175256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:42:45] local.INFO: IMEI packet received {"connection_id":175256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 13:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":175256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:42:46] local.INFO: TCP Data received {"connection_id":172768,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:42:46] local.INFO: Processing buffer {"connection_id":172768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:42:46] local.INFO: Packet analysis {"connection_id":172768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:42:46] local.INFO: Extracted packet for processing {"connection_id":172768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":31,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902530304001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788682060000,"timestamp_ms":1788682060000,"timestamp_seconds":1788682060,"priority":1,"record_length":96,"hex_timestamp":"000001a075c240e0"} 
[2026-09-06 13:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:42:46] 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-09-06 13:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:42: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-09-06 13:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902530304001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902530304001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:42:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":172768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:42:46] local.INFO: GPS data processed {"connection_id":172768,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:42:46] local.INFO: Acknowledgment sent {"connection_id":172768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:42:47] local.INFO: TCP Data received {"connection_id":172547,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:42:47] local.INFO: Processing buffer {"connection_id":172547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:42:47] local.INFO: IMEI packet received {"connection_id":172547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":172547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:42:50] local.INFO: TCP Data received {"connection_id":175256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:42:50] local.INFO: Processing buffer {"connection_id":175256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:42:50] local.INFO: IMEI packet received {"connection_id":175256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":175256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:42:51] local.INFO: TCP Data received {"connection_id":175256,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c5e290012d7d410005d2af28000800b51f..."} 
[2026-09-06 13:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c5e290012d7d410005d2af28000800b51f..."} 
[2026-09-06 13:42:51] local.INFO: Processing buffer {"connection_id":175256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c5e290012d7d410005d2af28000800b51f..."} 
[2026-09-06 13:42:51] local.INFO: Packet analysis {"connection_id":175256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c5"} 
[2026-09-06 13:42:51] local.INFO: Extracted packet for processing {"connection_id":175256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c5"} 
[2026-09-06 13:42:51] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":97693480,"longitude_deg":76.318336,"latitude_deg":9.769348,"altitude":8,"angle":181,"satellites":31,"speed":22,"hex_longitude":"2d7d4100","hex_latitude":"05d2af28","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902664960001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128930691978100736,"note":"Value kept but may cause issues"} 
[2026-09-06 13:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024580359564242944,"note":"Value kept but may cause issues"} 
[2026-09-06 13:42: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-09-06 13:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788682298000,"timestamp_ms":1788682298000,"timestamp_seconds":1788682298,"priority":1,"record_length":96,"hex_timestamp":"000001a075c5e290"} 
[2026-09-06 13:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:42:51] 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-09-06 13: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 13:42:51] 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-09-06 13: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-09-06 13:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:42:51] 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-09-06 13:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902664960001,"66":13787,"117":206,"85":15104,"24":22,"16":128930691978100736,"45":9024580359564242944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 13:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902664960001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:42:51] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 13:42:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128930691978100736,"km_value":128930691978100.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024580359564242944,"description":"Unknown IO ID 45"} 
[2026-09-06 13:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902664960001,"power":13787,"unknown_117":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9024580359564242944}} 
[2026-09-06 13:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":175256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:42:51] local.INFO: GPS data processed {"connection_id":175256,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:42:51] local.INFO: Acknowledgment sent {"connection_id":175256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:42:53] local.INFO: TCP Data received {"connection_id":172547,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:42:53] local.INFO: Processing buffer {"connection_id":172547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:42:53] local.INFO: IMEI packet received {"connection_id":172547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":172547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:42:54] local.INFO: TCP Data received {"connection_id":172547,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:42:54] local.INFO: Processing buffer {"connection_id":172547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:42:54] local.INFO: Packet analysis {"connection_id":172547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:42:54] local.INFO: Extracted packet for processing {"connection_id":172547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:42:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902561280001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498459648,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788682181000,"timestamp_ms":1788682181000,"timestamp_seconds":1788682181,"priority":1,"record_length":96,"hex_timestamp":"000001a075c41988"} 
[2026-09-06 13:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 13:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:42: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-09-06 13:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902561280001,"66":26299,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802586226498459648},"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-09-06 13:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902561280001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:42:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:42:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498459648,"description":"Unknown IO ID 45"} 
[2026-09-06 13:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902561280001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498459648}} 
[2026-09-06 13:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":172547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:42:54] local.INFO: GPS data processed {"connection_id":172547,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:42:54] local.INFO: Acknowledgment sent {"connection_id":172547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:43:06] local.INFO: TCP Data received {"connection_id":172769,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:43:06] local.INFO: Processing buffer {"connection_id":172769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:43:06] local.INFO: IMEI packet received {"connection_id":172769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":172769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:43:08] local.INFO: TCP Data received {"connection_id":172769,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075c65ba8012c4711400a051690026d00042a..."} 
[2026-09-06 13:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c65ba8012c4711400a051690026d00042a..."} 
[2026-09-06 13:43:08] local.INFO: Processing buffer {"connection_id":172769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c65ba8012c4711400a051690026d00042a..."} 
[2026-09-06 13:43:08] local.INFO: Packet analysis {"connection_id":172769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:43:08] local.INFO: Extracted packet for processing {"connection_id":172769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:43:08] local.INFO: GPS Element Parsed {"raw_longitude":742854976,"raw_latitude":168105616,"longitude_deg":74.2854976,"latitude_deg":16.8105616,"altitude":621,"angle":4,"satellites":42,"speed":54,"hex_longitude":"2c471140","hex_latitude":"0a051690","is_valid_coordinates":true} 
[2026-09-06 13:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902674432001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2695177877585920,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5119537288190173186,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788682329000,"timestamp_ms":1788682329000,"timestamp_seconds":1788682329,"priority":1,"record_length":96,"hex_timestamp":"000001a075c65ba8"} 
[2026-09-06 13:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:43: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-09-06 13:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-06 13:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902674432001,"66":28028,"76":206,"37":23040,"24":54,"16":2695177877585920,"44":5119537288190173186},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,37,24,16,44]} 
[2026-09-06 13:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902674432001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:43:08] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-06 13:43:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2695177877585920,"km_value":2695177877585.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:43:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":5119537288190173186,"description":"Unknown IO ID 44"} 
[2026-09-06 13:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902674432001,"power":28028,"unknown_76":206,"unknown_37":23040,"ignition":54,"odometer":null,"unknown_44":5119537288190173186}} 
[2026-09-06 13:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":172769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774692,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:43:08] local.INFO: GPS data processed {"connection_id":172769,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:43:08] local.INFO: Acknowledgment sent {"connection_id":172769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:43:09] local.INFO: TCP Data received {"connection_id":175257,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:43:09] local.INFO: Processing buffer {"connection_id":175257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:43:09] local.INFO: IMEI packet received {"connection_id":175257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":175257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:43:14] local.INFO: TCP Data received {"connection_id":175257,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:43:14] local.INFO: Processing buffer {"connection_id":175257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:43:14] local.INFO: IMEI packet received {"connection_id":175257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":175257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:43:15] local.INFO: TCP Data received {"connection_id":175257,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:43:15] local.INFO: Processing buffer {"connection_id":175257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c240e0012d196540071fef68003b01101f..."} 
[2026-09-06 13:43:15] local.INFO: Packet analysis {"connection_id":175257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:43:15] local.INFO: Extracted packet for processing {"connection_id":175257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c2"} 
[2026-09-06 13:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":31,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902530304001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788682060000,"timestamp_ms":1788682060000,"timestamp_seconds":1788682060,"priority":1,"record_length":96,"hex_timestamp":"000001a075c240e0"} 
[2026-09-06 13:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:43:15] 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-09-06 13:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902530304001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902530304001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:43:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":175257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:43:15] local.INFO: GPS data processed {"connection_id":175257,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:43:15] local.INFO: Acknowledgment sent {"connection_id":175257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:43:22] local.INFO: TCP Data received {"connection_id":175256,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c605b8012d7d418005d29cb0000900aa1f..."} 
[2026-09-06 13:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c605b8012d7d418005d29cb0000900aa1f..."} 
[2026-09-06 13:43:22] local.INFO: Processing buffer {"connection_id":175256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c605b8012d7d418005d29cb0000900aa1f..."} 
[2026-09-06 13:43:22] local.INFO: Packet analysis {"connection_id":175256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:43:22] local.INFO: Extracted packet for processing {"connection_id":175256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:43:22] local.INFO: GPS Element Parsed {"raw_longitude":763183488,"raw_latitude":97688752,"longitude_deg":76.3183488,"latitude_deg":9.7688752,"altitude":9,"angle":170,"satellites":31,"speed":16,"hex_longitude":"2d7d4180","hex_latitude":"05d29cb0","is_valid_coordinates":true} 
[2026-09-06 13:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902668288001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128930923906334720,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025495153236715520,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:22] 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-09-06 13:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788682307000,"timestamp_ms":1788682307000,"timestamp_seconds":1788682307,"priority":1,"record_length":96,"hex_timestamp":"000001a075c605b8"} 
[2026-09-06 13:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:43:22] 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-09-06 13:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-06 13:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:43:22] 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-09-06 13:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902668288001,"66":13222,"117":206,"85":15104,"24":16,"16":128930923906334720,"45":9025495153236715520},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 13:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902668288001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:43:22] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 13:43:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128930923906334720,"km_value":128930923906334.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025495153236715520,"description":"Unknown IO ID 45"} 
[2026-09-06 13:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902668288001,"power":13222,"unknown_117":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9025495153236715520}} 
[2026-09-06 13:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":175256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:43:22] local.INFO: GPS data processed {"connection_id":175256,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:43:22] local.INFO: Acknowledgment sent {"connection_id":175256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:43:25] local.INFO: TCP Data received {"connection_id":172547,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:43:25] local.INFO: Processing buffer {"connection_id":172547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:43:25] local.INFO: Packet analysis {"connection_id":172547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:43:25] local.INFO: Extracted packet for processing {"connection_id":172547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:43:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902561280001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498459648,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788682181000,"timestamp_ms":1788682181000,"timestamp_seconds":1788682181,"priority":1,"record_length":96,"hex_timestamp":"000001a075c41988"} 
[2026-09-06 13:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 13:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:43: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-09-06 13:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902561280001,"66":26299,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802586226498459648},"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-09-06 13:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902561280001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:43:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:43:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498459648,"description":"Unknown IO ID 45"} 
[2026-09-06 13:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902561280001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498459648}} 
[2026-09-06 13:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":172547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:43:25] local.INFO: GPS data processed {"connection_id":172547,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:43:25] local.INFO: Acknowledgment sent {"connection_id":172547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:43:46] local.INFO: TCP Data received {"connection_id":175257,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:43:46] local.INFO: Processing buffer {"connection_id":175257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:43:46] local.INFO: Packet analysis {"connection_id":175257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:43:46] local.INFO: Extracted packet for processing {"connection_id":175257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902607360001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788682361000,"timestamp_ms":1788682361000,"timestamp_seconds":1788682361,"priority":1,"record_length":96,"hex_timestamp":"000001a075c6d8a8"} 
[2026-09-06 13:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902607360001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902607360001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:43:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902607360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":175257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:43:46] local.INFO: GPS data processed {"connection_id":175257,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:43:46] local.INFO: Acknowledgment sent {"connection_id":175257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:43:46] local.INFO: TCP Data received {"connection_id":175258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:43:46] local.INFO: Processing buffer {"connection_id":175258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:43:46] local.INFO: IMEI packet received {"connection_id":175258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 13:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":175258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:43:47] local.INFO: TCP Data received {"connection_id":173929,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:43:47] local.INFO: Processing buffer {"connection_id":173929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:43:47] local.INFO: IMEI packet received {"connection_id":173929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":173929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:43:50] local.INFO: TCP Data received {"connection_id":175258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:43:50] local.INFO: Processing buffer {"connection_id":175258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:43:50] local.INFO: IMEI packet received {"connection_id":175258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":175258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:43:50] local.INFO: TCP Data received {"connection_id":175258,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c77cb8012d7e114005d29210000e004d22..."} 
[2026-09-06 13:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c77cb8012d7e114005d29210000e004d22..."} 
[2026-09-06 13:43:50] local.INFO: Processing buffer {"connection_id":175258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c77cb8012d7e114005d29210000e004d22..."} 
[2026-09-06 13:43:50] local.INFO: Packet analysis {"connection_id":175258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c7"} 
[2026-09-06 13:43:50] local.INFO: Extracted packet for processing {"connection_id":175258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c7"} 
[2026-09-06 13:43:50] local.INFO: GPS Element Parsed {"raw_longitude":763236672,"raw_latitude":97686032,"longitude_deg":76.3236672,"latitude_deg":9.7686032,"altitude":14,"angle":77,"satellites":34,"speed":24,"hex_longitude":"2d7e1140","hex_latitude":"05d29210","is_valid_coordinates":true} 
[2026-09-06 13:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902692608001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128933543836385280,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9076231017786974208,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:50] 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-09-06 13:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788682403000,"timestamp_ms":1788682403000,"timestamp_seconds":1788682403,"priority":1,"record_length":96,"hex_timestamp":"000001a075c77cb8"} 
[2026-09-06 13:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-06 13:43:50] 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-09-06 13:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:43:50] 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-09-06 13:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902692608001,"66":13798,"116":206,"85":15104,"24":24,"16":128933543836385280,"45":9076231017786974208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-09-06 13:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902692608001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:43:50] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-06 13:43:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128933543836385280,"km_value":128933543836385.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9076231017786974208,"description":"Unknown IO ID 45"} 
[2026-09-06 13:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902692608001,"power":13798,"unknown_116":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9076231017786974208}} 
[2026-09-06 13:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":175258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:43:50] local.INFO: GPS data processed {"connection_id":175258,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:43:50] local.INFO: Acknowledgment sent {"connection_id":175258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:43:53] local.INFO: TCP Data received {"connection_id":173929,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:43:53] local.INFO: Processing buffer {"connection_id":173929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:43:53] local.INFO: IMEI packet received {"connection_id":173929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":173929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:43:54] local.INFO: TCP Data received {"connection_id":173929,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:43:54] local.INFO: Processing buffer {"connection_id":173929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:43:54] local.INFO: Packet analysis {"connection_id":173929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:43:54] local.INFO: Extracted packet for processing {"connection_id":173929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:43:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902561280001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498459648,"note":"Value kept but may cause issues"} 
[2026-09-06 13:43: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-09-06 13:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788682181000,"timestamp_ms":1788682181000,"timestamp_seconds":1788682181,"priority":1,"record_length":96,"hex_timestamp":"000001a075c41988"} 
[2026-09-06 13:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 13:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:43: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-09-06 13:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902561280001,"66":26299,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802586226498459648},"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-09-06 13:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902561280001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:43:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:43:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498459648,"description":"Unknown IO ID 45"} 
[2026-09-06 13:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902561280001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498459648}} 
[2026-09-06 13:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":173929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:43:54] local.INFO: GPS data processed {"connection_id":173929,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:43:54] local.INFO: Acknowledgment sent {"connection_id":173929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:43:55] local.INFO: TCP Data received {"connection_id":173930,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:43:55] local.INFO: Processing buffer {"connection_id":173930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:43:55] local.INFO: IMEI packet received {"connection_id":173930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":173930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:43:59] local.INFO: TCP Data received {"connection_id":173930,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:43:59] local.INFO: Processing buffer {"connection_id":173930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:43:59] local.INFO: IMEI packet received {"connection_id":173930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":173930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:44:04] local.INFO: TCP Data received {"connection_id":173930,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075c67700012c4712000a053da0026c01652a..."} 
[2026-09-06 13:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c67700012c4712000a053da0026c01652a..."} 
[2026-09-06 13:44:04] local.INFO: Processing buffer {"connection_id":173930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c67700012c4712000a053da0026c01652a..."} 
[2026-09-06 13:44:04] local.INFO: Packet analysis {"connection_id":173930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:44:04] local.INFO: Extracted packet for processing {"connection_id":173930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:44:04] local.INFO: GPS Element Parsed {"raw_longitude":742855168,"raw_latitude":168115616,"longitude_deg":74.2855168,"latitude_deg":16.8115616,"altitude":620,"angle":357,"satellites":42,"speed":58,"hex_longitude":"2c471200","hex_latitude":"0a053da0","is_valid_coordinates":true} 
[2026-09-06 13:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902676224001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2695658913923072,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5120944663076179970,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788682336000,"timestamp_ms":1788682336000,"timestamp_seconds":1788682336,"priority":1,"record_length":96,"hex_timestamp":"000001a075c67700"} 
[2026-09-06 13:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-06 13:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902676224001,"66":28126,"76":206,"37":23040,"24":58,"16":2695658913923072,"44":5120944663076179970},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,37,24,16,44]} 
[2026-09-06 13:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902676224001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:44:04] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-06 13:44:04] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2695658913923072,"km_value":2695658913923.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":5120944663076179970,"description":"Unknown IO ID 44"} 
[2026-09-06 13:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902676224001,"power":28126,"unknown_76":206,"unknown_37":23040,"ignition":58,"odometer":null,"unknown_44":5120944663076179970}} 
[2026-09-06 13:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":173930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774699,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:44:04] local.INFO: GPS data processed {"connection_id":173930,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:44:04] local.INFO: Acknowledgment sent {"connection_id":173930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:44:09] local.INFO: TCP Data received {"connection_id":172548,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:44:09] local.INFO: Processing buffer {"connection_id":172548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:44:09] local.INFO: IMEI packet received {"connection_id":172548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":172548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:44:09] local.INFO: TCP Data received {"connection_id":173930,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075c68e70012c470fc00a0560b0026a01642a..."} 
[2026-09-06 13:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c68e70012c470fc00a0560b0026a01642a..."} 
[2026-09-06 13:44:09] local.INFO: Processing buffer {"connection_id":173930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c68e70012c470fc00a0560b0026a01642a..."} 
[2026-09-06 13:44:09] local.INFO: Packet analysis {"connection_id":173930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:44:09] local.INFO: Extracted packet for processing {"connection_id":173930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:44:09] local.INFO: GPS Element Parsed {"raw_longitude":742854592,"raw_latitude":168124592,"longitude_deg":74.2854592,"latitude_deg":16.8124592,"altitude":618,"angle":356,"satellites":42,"speed":60,"hex_longitude":"2c470fc0","hex_latitude":"0a0560b0","is_valid_coordinates":true} 
[2026-09-06 13:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902678016001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2696097000587264,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5121155769311272962,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788682342000,"timestamp_ms":1788682342000,"timestamp_seconds":1788682342,"priority":1,"record_length":96,"hex_timestamp":"000001a075c68e70"} 
[2026-09-06 13:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-06 13:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902678016001,"66":28126,"76":206,"37":23040,"24":60,"16":2696097000587264,"44":5121155769311272962},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,37,24,16,44]} 
[2026-09-06 13:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902678016001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:44:09] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-06 13:44:09] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2696097000587264,"km_value":2696097000587.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:44:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":5121155769311272962,"description":"Unknown IO ID 44"} 
[2026-09-06 13:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902678016001,"power":28126,"unknown_76":206,"unknown_37":23040,"ignition":60,"odometer":null,"unknown_44":5121155769311272962}} 
[2026-09-06 13:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":173930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774700,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:44:10] local.INFO: GPS data processed {"connection_id":173930,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:44:10] local.INFO: Acknowledgment sent {"connection_id":173930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:44:14] local.INFO: TCP Data received {"connection_id":172548,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:44:14] local.INFO: Processing buffer {"connection_id":172548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:44:14] local.INFO: IMEI packet received {"connection_id":172548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":172548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:44:15] local.INFO: TCP Data received {"connection_id":172548,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:44:15] local.INFO: Processing buffer {"connection_id":172548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:44:15] local.INFO: Packet analysis {"connection_id":172548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:44:15] local.INFO: Extracted packet for processing {"connection_id":172548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902607360001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788682361000,"timestamp_ms":1788682361000,"timestamp_seconds":1788682361,"priority":1,"record_length":96,"hex_timestamp":"000001a075c6d8a8"} 
[2026-09-06 13:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:44:15] 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-09-06 13:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902607360001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902607360001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:44:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902607360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":172548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:44:15] local.INFO: GPS data processed {"connection_id":172548,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:44:15] local.INFO: Acknowledgment sent {"connection_id":172548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:44:21] local.INFO: TCP Data received {"connection_id":175258,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c780a0012d7e13c005d292d8000d004222..."} 
[2026-09-06 13:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c780a0012d7e13c005d292d8000d004222..."} 
[2026-09-06 13:44:21] local.INFO: Processing buffer {"connection_id":175258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c780a0012d7e13c005d292d8000d004222..."} 
[2026-09-06 13:44:21] local.INFO: Packet analysis {"connection_id":175258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c7"} 
[2026-09-06 13:44:21] local.INFO: Extracted packet for processing {"connection_id":175258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c7"} 
[2026-09-06 13:44:21] local.INFO: GPS Element Parsed {"raw_longitude":763237312,"raw_latitude":97686232,"longitude_deg":76.3237312,"latitude_deg":9.7686232,"altitude":13,"angle":66,"satellites":34,"speed":24,"hex_longitude":"2d7e13c0","hex_latitude":"05d292d8","is_valid_coordinates":true} 
[2026-09-06 13:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902695168001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128933573901156352,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084112317134802944,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:21] 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-09-06 13:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788682404000,"timestamp_ms":1788682404000,"timestamp_seconds":1788682404,"priority":1,"record_length":96,"hex_timestamp":"000001a075c780a0"} 
[2026-09-06 13:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 13:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 13:44:21] 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-09-06 13:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 13:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 13:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902695168001,"66":13906,"116":206,"85":15104,"24":24,"16":128933573901156352,"45":9084112317134802944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-09-06 13:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 13:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 13:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902695168001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:44:21] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-06 13:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 13:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128933573901156352,"km_value":128933573901156.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084112317134802944,"description":"Unknown IO ID 45"} 
[2026-09-06 13:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902695168001,"power":13906,"unknown_116":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9084112317134802944}} 
[2026-09-06 13:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":175258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:44:21] local.INFO: GPS data processed {"connection_id":175258,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:44:21] local.INFO: Acknowledgment sent {"connection_id":175258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:44:26] local.INFO: TCP Data received {"connection_id":173929,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:44:26] local.INFO: Processing buffer {"connection_id":173929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:44:26] local.INFO: Packet analysis {"connection_id":173929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:44:26] local.INFO: Extracted packet for processing {"connection_id":173929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:44:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902561280001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498459648,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788682181000,"timestamp_ms":1788682181000,"timestamp_seconds":1788682181,"priority":1,"record_length":96,"hex_timestamp":"000001a075c41988"} 
[2026-09-06 13:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 13:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:44: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-09-06 13:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902561280001,"66":26299,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802586226498459648},"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-09-06 13:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902561280001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:44:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:44:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498459648,"description":"Unknown IO ID 45"} 
[2026-09-06 13:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902561280001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498459648}} 
[2026-09-06 13:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":173929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:44:26] local.INFO: GPS data processed {"connection_id":173929,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:44:26] local.INFO: Acknowledgment sent {"connection_id":173929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:44:44] local.INFO: TCP Data received {"connection_id":172770,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:44:44] local.INFO: Processing buffer {"connection_id":172770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:44:44] local.INFO: IMEI packet received {"connection_id":172770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 13:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":172770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:44:45] local.INFO: TCP Data received {"connection_id":172770,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:44:45] local.INFO: Processing buffer {"connection_id":172770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:44:45] local.INFO: IMEI packet received {"connection_id":172770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":172770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:44:46] local.INFO: TCP Data received {"connection_id":172548,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:44:46] local.INFO: Processing buffer {"connection_id":172548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:44:46] local.INFO: Packet analysis {"connection_id":172548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:44:46] local.INFO: Extracted packet for processing {"connection_id":172548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902607360001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788682361000,"timestamp_ms":1788682361000,"timestamp_seconds":1788682361,"priority":1,"record_length":96,"hex_timestamp":"000001a075c6d8a8"} 
[2026-09-06 13:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:44:46] 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-09-06 13:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902607360001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902607360001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:44:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902607360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:44:46] local.INFO: TCP Data received {"connection_id":172770,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:44:46] local.INFO: Processing buffer {"connection_id":172770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:44:46] local.INFO: IMEI packet received {"connection_id":172770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":172770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":172548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:44:46] local.INFO: GPS data processed {"connection_id":172548,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:44:46] local.INFO: Acknowledgment sent {"connection_id":172548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:44:48] local.INFO: TCP Data received {"connection_id":172550,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:44:48] local.INFO: Processing buffer {"connection_id":172550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:44:48] local.INFO: IMEI packet received {"connection_id":172550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":172550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:44:48] local.INFO: TCP Data received {"connection_id":172770,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:44:48] local.INFO: Processing buffer {"connection_id":172770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 13:44:48] local.INFO: IMEI packet received {"connection_id":172770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 13:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":172770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:44:50] local.INFO: TCP Data received {"connection_id":172549,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:44:50] local.INFO: Processing buffer {"connection_id":172549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:44:50] local.INFO: IMEI packet received {"connection_id":172549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":172549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:44:51] local.INFO: TCP Data received {"connection_id":172549,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:44:51] local.INFO: Processing buffer {"connection_id":172549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:44:51] local.INFO: IMEI packet received {"connection_id":172549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":172549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:44:53] local.INFO: TCP Data received {"connection_id":172550,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:44:53] local.INFO: Processing buffer {"connection_id":172550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:44:53] local.INFO: IMEI packet received {"connection_id":172550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":172550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:44:54] local.INFO: TCP Data received {"connection_id":172550,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:44:54] local.INFO: Processing buffer {"connection_id":172550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c41988012d34c50006aa3d30000e013529..."} 
[2026-09-06 13:44:54] local.INFO: Packet analysis {"connection_id":172550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:44:54] local.INFO: Extracted packet for processing {"connection_id":172550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c4"} 
[2026-09-06 13:44:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902561280001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498459648,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788682181000,"timestamp_ms":1788682181000,"timestamp_seconds":1788682181,"priority":1,"record_length":96,"hex_timestamp":"000001a075c41988"} 
[2026-09-06 13:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":25088,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-06 13:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:44:54] 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-09-06 13:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902561280001,"66":26299,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802586226498459648},"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-09-06 13:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902561280001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:44:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:44:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498459648,"description":"Unknown IO ID 45"} 
[2026-09-06 13:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902561280001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498459648}} 
[2026-09-06 13:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":172550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:44:54] local.INFO: GPS data processed {"connection_id":172550,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:44:54] local.INFO: Acknowledgment sent {"connection_id":172550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:44:54] local.INFO: TCP Data received {"connection_id":172549,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:44:54] local.INFO: Processing buffer {"connection_id":172549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:44:54] local.INFO: IMEI packet received {"connection_id":172549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":172549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:44:56] local.INFO: TCP Data received {"connection_id":172549,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075c7bf20012c4724c00a06c3e0025a01672a..."} 
[2026-09-06 13:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c7bf20012c4724c00a06c3e0025a01672a..."} 
[2026-09-06 13:44:56] local.INFO: Processing buffer {"connection_id":172549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c7bf20012c4724c00a06c3e0025a01672a..."} 
[2026-09-06 13:44:56] local.INFO: Packet analysis {"connection_id":172549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c7"} 
[2026-09-06 13:44:56] local.INFO: Extracted packet for processing {"connection_id":172549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c7"} 
[2026-09-06 13:44:56] local.INFO: GPS Element Parsed {"raw_longitude":742859968,"raw_latitude":168215520,"longitude_deg":74.2859968,"latitude_deg":16.821552,"altitude":602,"angle":359,"satellites":42,"speed":32,"hex_longitude":"2c4724c0","hex_latitude":"0a06c3e0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902698496001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2700550881673216,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5127066743846879234,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788682420000,"timestamp_ms":1788682420000,"timestamp_seconds":1788682420,"priority":1,"record_length":96,"hex_timestamp":"000001a075c7bf20"} 
[2026-09-06 13:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:44: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-09-06 13: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 13:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902698496001,"66":27952,"77":206,"37":23040,"24":32,"16":2700550881673216,"44":5127066743846879234},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,37,24,16,44]} 
[2026-09-06 13:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902698496001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:44:56] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-06 13:44:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2700550881673216,"km_value":2700550881673.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:44:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5127066743846879234,"description":"Unknown IO ID 44"} 
[2026-09-06 13:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902698496001,"power":27952,"unknown_77":206,"unknown_37":23040,"ignition":32,"odometer":null,"unknown_44":5127066743846879234}} 
[2026-09-06 13:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":172549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774706,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:44:56] local.INFO: GPS data processed {"connection_id":172549,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:44:56] local.INFO: Acknowledgment sent {"connection_id":172549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:44:57] local.INFO: TCP Data received {"connection_id":172549,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075c7e630012c4722000a06e8b0025801602a..."} 
[2026-09-06 13:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c7e630012c4722000a06e8b0025801602a..."} 
[2026-09-06 13:44:57] local.INFO: Processing buffer {"connection_id":172549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c7e630012c4722000a06e8b0025801602a..."} 
[2026-09-06 13:44:57] local.INFO: Packet analysis {"connection_id":172549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c7"} 
[2026-09-06 13:44:57] local.INFO: Extracted packet for processing {"connection_id":172549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c7"} 
[2026-09-06 13:44:57] local.INFO: GPS Element Parsed {"raw_longitude":742859264,"raw_latitude":168224944,"longitude_deg":74.2859264,"latitude_deg":16.8224944,"altitude":600,"angle":352,"satellites":42,"speed":42,"hex_longitude":"2c472200","hex_latitude":"0a06e8b0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902699520001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2701010443173888,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5126433425150173186,"note":"Value kept but may cause issues"} 
[2026-09-06 13:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788682430000,"timestamp_ms":1788682430000,"timestamp_seconds":1788682430,"priority":1,"record_length":96,"hex_timestamp":"000001a075c7e630"} 
[2026-09-06 13:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:44: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-09-06 13: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-06 13:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902699520001,"66":28137,"77":206,"37":23040,"24":42,"16":2701010443173888,"44":5126433425150173186},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,37,24,16,44]} 
[2026-09-06 13:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902699520001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:44:57] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-06 13:44:57] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2701010443173888,"km_value":2701010443173.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:44:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":5126433425150173186,"description":"Unknown IO ID 44"} 
[2026-09-06 13:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902699520001,"power":28137,"unknown_77":206,"unknown_37":23040,"ignition":42,"odometer":null,"unknown_44":5126433425150173186}} 
[2026-09-06 13:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":172549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774707,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:44:57] local.INFO: GPS data processed {"connection_id":172549,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:44:57] local.INFO: Acknowledgment sent {"connection_id":172549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:45:14] local.INFO: TCP Data received {"connection_id":172551,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:45:14] local.INFO: Processing buffer {"connection_id":172551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:45:14] local.INFO: IMEI packet received {"connection_id":172551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":172551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:45:19] local.INFO: TCP Data received {"connection_id":172551,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:45:19] local.INFO: Processing buffer {"connection_id":172551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:45:19] local.INFO: IMEI packet received {"connection_id":172551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":172551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:45:20] local.INFO: TCP Data received {"connection_id":172551,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:45:20] local.INFO: Processing buffer {"connection_id":172551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:45:20] local.INFO: Packet analysis {"connection_id":172551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:45:20] local.INFO: Extracted packet for processing {"connection_id":172551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:45:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902607360001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788682361000,"timestamp_ms":1788682361000,"timestamp_seconds":1788682361,"priority":1,"record_length":96,"hex_timestamp":"000001a075c6d8a8"} 
[2026-09-06 13:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:45:20] 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-09-06 13:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902607360001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902607360001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:45:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:45:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902607360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":172551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:45:20] local.INFO: GPS data processed {"connection_id":172551,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:45:20] local.INFO: Acknowledgment sent {"connection_id":172551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:45:24] local.INFO: TCP Data received {"connection_id":172551,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:45:24] local.INFO: Processing buffer {"connection_id":172551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:45:24] local.INFO: Packet analysis {"connection_id":172551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:45:24] local.INFO: Extracted packet for processing {"connection_id":172551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:45:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902607360001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788682361000,"timestamp_ms":1788682361000,"timestamp_seconds":1788682361,"priority":1,"record_length":96,"hex_timestamp":"000001a075c6d8a8"} 
[2026-09-06 13:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:45:24] 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-09-06 13:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902607360001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902607360001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:45:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:45:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902607360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":172551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:45:24] local.INFO: GPS data processed {"connection_id":172551,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:45:24] local.INFO: Acknowledgment sent {"connection_id":172551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:45:25] local.INFO: TCP Data received {"connection_id":172550,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:45:25] local.INFO: Processing buffer {"connection_id":172550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:45:25] local.INFO: Packet analysis {"connection_id":172550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:45:25] local.INFO: Extracted packet for processing {"connection_id":172550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:45:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902638336001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788682482000,"timestamp_ms":1788682482000,"timestamp_seconds":1788682482,"priority":1,"record_length":96,"hex_timestamp":"000001a075c8b150"} 
[2026-09-06 13:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-06 13:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:45: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-09-06 13:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902638336001,"66":26158,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902638336001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:45:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:45:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902638336001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":172550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:45:25] local.INFO: GPS data processed {"connection_id":172550,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:45:25] local.INFO: Acknowledgment sent {"connection_id":172550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:45:30] local.INFO: TCP Data received {"connection_id":172549,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075c80570012c471f400a070c40025801662a..."} 
[2026-09-06 13:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c80570012c471f400a070c40025801662a..."} 
[2026-09-06 13:45:30] local.INFO: Processing buffer {"connection_id":172549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c80570012c471f400a070c40025801662a..."} 
[2026-09-06 13:45:30] local.INFO: Packet analysis {"connection_id":172549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:45:30] local.INFO: Extracted packet for processing {"connection_id":172549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:45:30] local.INFO: GPS Element Parsed {"raw_longitude":742858560,"raw_latitude":168234048,"longitude_deg":74.285856,"latitude_deg":16.8234048,"altitude":600,"angle":358,"satellites":42,"speed":48,"hex_longitude":"2c471f40","hex_latitude":"0a070c40","is_valid_coordinates":true} 
[2026-09-06 13:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902702080001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2701452824805376,"note":"Value kept but may cause issues"} 
[2026-09-06 13:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5125659368966631426,"note":"Value kept but may cause issues"} 
[2026-09-06 13:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788682438000,"timestamp_ms":1788682438000,"timestamp_seconds":1788682438,"priority":1,"record_length":96,"hex_timestamp":"000001a075c80570"} 
[2026-09-06 13:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:45: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-09-06 13:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 13:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902702080001,"66":28104,"77":206,"37":23040,"24":48,"16":2701452824805376,"44":5125659368966631426},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,37,24,16,44]} 
[2026-09-06 13:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902702080001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:45:30] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-06 13:45:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2701452824805376,"km_value":2701452824805.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":5125659368966631426,"description":"Unknown IO ID 44"} 
[2026-09-06 13:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902702080001,"power":28104,"unknown_77":206,"unknown_37":23040,"ignition":48,"odometer":null,"unknown_44":5125659368966631426}} 
[2026-09-06 13:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":172549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774711,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:45:30] local.INFO: GPS data processed {"connection_id":172549,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:45:30] local.INFO: Acknowledgment sent {"connection_id":172549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:45:49] local.INFO: TCP Data received {"connection_id":175260,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:45:49] local.INFO: Processing buffer {"connection_id":175260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:45:49] local.INFO: IMEI packet received {"connection_id":175260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":175260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:45:53] local.INFO: TCP Data received {"connection_id":172771,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:45:53] local.INFO: Processing buffer {"connection_id":172771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:45:53] local.INFO: IMEI packet received {"connection_id":172771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":172771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:45:54] local.INFO: TCP Data received {"connection_id":175260,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:45:54] local.INFO: Processing buffer {"connection_id":175260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:45:54] local.INFO: IMEI packet received {"connection_id":175260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":175260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:45:55] local.INFO: TCP Data received {"connection_id":175260,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075c820c8012c4720800a072ef00258000428..."} 
[2026-09-06 13:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c820c8012c4720800a072ef00258000428..."} 
[2026-09-06 13:45:55] local.INFO: Processing buffer {"connection_id":175260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c820c8012c4720800a072ef00258000428..."} 
[2026-09-06 13:45:55] local.INFO: Packet analysis {"connection_id":175260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:45:55] local.INFO: Extracted packet for processing {"connection_id":175260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:45:55] local.INFO: GPS Element Parsed {"raw_longitude":742858880,"raw_latitude":168242928,"longitude_deg":74.285888,"latitude_deg":16.8242928,"altitude":600,"angle":4,"satellites":40,"speed":52,"hex_longitude":"2c472080","hex_latitude":"0a072ef0","is_valid_coordinates":true} 
[2026-09-06 13:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902704128001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2701886616502272,"note":"Value kept but may cause issues"} 
[2026-09-06 13:45:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5124885312783007746,"note":"Value kept but may cause issues"} 
[2026-09-06 13:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788682445000,"timestamp_ms":1788682445000,"timestamp_seconds":1788682445,"priority":1,"record_length":96,"hex_timestamp":"000001a075c820c8"} 
[2026-09-06 13:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13: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-09-06 13:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 13:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902704128001,"66":28104,"77":206,"37":23040,"24":52,"16":2701886616502272,"44":5124885312783007746},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,37,24,16,44]} 
[2026-09-06 13:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902704128001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:45:55] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-06 13:45:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2701886616502272,"km_value":2701886616502.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:45:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":5124885312783007746,"description":"Unknown IO ID 44"} 
[2026-09-06 13:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902704128001,"power":28104,"unknown_77":206,"unknown_37":23040,"ignition":52,"odometer":null,"unknown_44":5124885312783007746}} 
[2026-09-06 13:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":175260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774712,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:45:55] local.INFO: GPS data processed {"connection_id":175260,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:45:55] local.INFO: Acknowledgment sent {"connection_id":175260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:45:58] local.INFO: TCP Data received {"connection_id":172771,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:45:58] local.INFO: Processing buffer {"connection_id":172771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:45:58] local.INFO: IMEI packet received {"connection_id":172771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":172771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:45:59] local.INFO: TCP Data received {"connection_id":172771,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:45:59] local.INFO: Processing buffer {"connection_id":172771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:45:59] local.INFO: Packet analysis {"connection_id":172771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:45:59] local.INFO: Extracted packet for processing {"connection_id":172771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:45:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902638336001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:45: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-09-06 13:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788682482000,"timestamp_ms":1788682482000,"timestamp_seconds":1788682482,"priority":1,"record_length":96,"hex_timestamp":"000001a075c8b150"} 
[2026-09-06 13:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-06 13:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:45: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-09-06 13:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902638336001,"66":26158,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902638336001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:45:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:45:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902638336001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":172771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:45:59] local.INFO: GPS data processed {"connection_id":172771,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:45:59] local.INFO: Acknowledgment sent {"connection_id":172771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:46:09] local.INFO: TCP Data received {"connection_id":175261,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:46:09] local.INFO: Processing buffer {"connection_id":175261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:46:09] local.INFO: IMEI packet received {"connection_id":175261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":175261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:46:14] local.INFO: TCP Data received {"connection_id":175261,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:46:14] local.INFO: Processing buffer {"connection_id":175261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:46:14] local.INFO: IMEI packet received {"connection_id":175261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":175261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:46:15] local.INFO: TCP Data received {"connection_id":175261,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:46:15] local.INFO: Processing buffer {"connection_id":175261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:46:15] local.INFO: Packet analysis {"connection_id":175261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:46:15] local.INFO: Extracted packet for processing {"connection_id":175261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902607360001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788682361000,"timestamp_ms":1788682361000,"timestamp_seconds":1788682361,"priority":1,"record_length":96,"hex_timestamp":"000001a075c6d8a8"} 
[2026-09-06 13:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:46:15] 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-09-06 13:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902607360001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902607360001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:46:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902607360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":175261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:46:15] local.INFO: GPS data processed {"connection_id":175261,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:46:15] local.INFO: Acknowledgment sent {"connection_id":175261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:46:27] local.INFO: TCP Data received {"connection_id":175260,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075c95560012c4787400a089d500251000329..."} 
[2026-09-06 13:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c95560012c4787400a089d500251000329..."} 
[2026-09-06 13:46:27] local.INFO: Processing buffer {"connection_id":175260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c95560012c4787400a089d500251000329..."} 
[2026-09-06 13:46:27] local.INFO: Packet analysis {"connection_id":175260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c9"} 
[2026-09-06 13:46:27] local.INFO: Extracted packet for processing {"connection_id":175260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c9"} 
[2026-09-06 13:46:27] local.INFO: GPS Element Parsed {"raw_longitude":742885184,"raw_latitude":168336720,"longitude_deg":74.2885184,"latitude_deg":16.833672,"altitude":593,"angle":3,"satellites":41,"speed":25,"hex_longitude":"2c478740","hex_latitude":"0a089d50","is_valid_coordinates":true} 
[2026-09-06 13:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902723840001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2706679800004608,"note":"Value kept but may cause issues"} 
[2026-09-06 13:46:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5155073504059985922,"note":"Value kept but may cause issues"} 
[2026-09-06 13:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788682524000,"timestamp_ms":1788682524000,"timestamp_seconds":1788682524,"priority":1,"record_length":96,"hex_timestamp":"000001a075c95560"} 
[2026-09-06 13:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:46: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-09-06 13:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 13:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902723840001,"66":28137,"208":206,"37":23040,"24":25,"16":2706679800004608,"44":5155073504059985922},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,37,24,16,44]} 
[2026-09-06 13:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902723840001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:46:27] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-06 13:46:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2706679800004608,"km_value":2706679800004.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:46:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":5155073504059985922,"description":"Unknown IO ID 44"} 
[2026-09-06 13:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902723840001,"power":28137,"unknown_208":206,"unknown_37":23040,"ignition":25,"odometer":null,"unknown_44":5155073504059985922}} 
[2026-09-06 13:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":175260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774715,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:46:27] local.INFO: GPS data processed {"connection_id":175260,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:46:27] local.INFO: Acknowledgment sent {"connection_id":175260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:46:30] local.INFO: TCP Data received {"connection_id":172771,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:46:30] local.INFO: Processing buffer {"connection_id":172771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:46:30] local.INFO: Packet analysis {"connection_id":172771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:46:30] local.INFO: Extracted packet for processing {"connection_id":172771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:46:30] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902638336001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:46: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-09-06 13:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788682482000,"timestamp_ms":1788682482000,"timestamp_seconds":1788682482,"priority":1,"record_length":96,"hex_timestamp":"000001a075c8b150"} 
[2026-09-06 13:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-06 13:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:46: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-09-06 13:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902638336001,"66":26158,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902638336001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:46:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:46:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902638336001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":172771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:46:30] local.INFO: GPS data processed {"connection_id":172771,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:46:30] local.INFO: Acknowledgment sent {"connection_id":172771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:46:45] local.INFO: TCP Data received {"connection_id":175261,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:46:45] local.INFO: Processing buffer {"connection_id":175261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:46:45] local.INFO: Packet analysis {"connection_id":175261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:46:45] local.INFO: Extracted packet for processing {"connection_id":175261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:46:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902607360001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:46: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-09-06 13:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788682361000,"timestamp_ms":1788682361000,"timestamp_seconds":1788682361,"priority":1,"record_length":96,"hex_timestamp":"000001a075c6d8a8"} 
[2026-09-06 13:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:46: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-09-06 13: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-09-06 13:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:46:45] 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-09-06 13:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902607360001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902607360001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:46:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:46:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902607360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":175261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:46:45] local.INFO: GPS data processed {"connection_id":175261,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:46:45] local.INFO: Acknowledgment sent {"connection_id":175261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:46:48] local.INFO: TCP Data received {"connection_id":172552,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:46:48] local.INFO: Processing buffer {"connection_id":172552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:46:48] local.INFO: IMEI packet received {"connection_id":172552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":172552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:46:49] local.INFO: TCP Data received {"connection_id":173931,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:46:49] local.INFO: Processing buffer {"connection_id":173931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:46:49] local.INFO: IMEI packet received {"connection_id":173931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":173931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:46:50] local.INFO: TCP Data received {"connection_id":173931,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:46:50] local.INFO: Processing buffer {"connection_id":173931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:46:50] local.INFO: IMEI packet received {"connection_id":173931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":173931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:46:53] local.INFO: TCP Data received {"connection_id":172552,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:46:53] local.INFO: Processing buffer {"connection_id":172552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:46:53] local.INFO: IMEI packet received {"connection_id":172552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":172552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:46:54] local.INFO: TCP Data received {"connection_id":172552,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:46:54] local.INFO: Processing buffer {"connection_id":172552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:46:54] local.INFO: Packet analysis {"connection_id":172552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:46:54] local.INFO: Extracted packet for processing {"connection_id":172552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:46:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902638336001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788682482000,"timestamp_ms":1788682482000,"timestamp_seconds":1788682482,"priority":1,"record_length":96,"hex_timestamp":"000001a075c8b150"} 
[2026-09-06 13:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-06 13:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:46: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-09-06 13:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902638336001,"66":26158,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902638336001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:46:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:46:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902638336001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":172552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:46:54] local.INFO: GPS data processed {"connection_id":172552,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:46:54] local.INFO: Acknowledgment sent {"connection_id":172552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:46:55] local.INFO: TCP Data received {"connection_id":173931,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:46:55] local.INFO: Processing buffer {"connection_id":173931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:46:55] local.INFO: IMEI packet received {"connection_id":173931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":173931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:46:56] local.INFO: TCP Data received {"connection_id":173931,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075c98058012c478a400a08c0f0025000052a..."} 
[2026-09-06 13:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c98058012c478a400a08c0f0025000052a..."} 
[2026-09-06 13:46:56] local.INFO: Processing buffer {"connection_id":173931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c98058012c478a400a08c0f0025000052a..."} 
[2026-09-06 13:46:56] local.INFO: Packet analysis {"connection_id":173931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c9"} 
[2026-09-06 13:46:56] local.INFO: Extracted packet for processing {"connection_id":173931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c9"} 
[2026-09-06 13:46:56] local.INFO: GPS Element Parsed {"raw_longitude":742885952,"raw_latitude":168345840,"longitude_deg":74.2885952,"latitude_deg":16.834584,"altitude":592,"angle":5,"satellites":42,"speed":37,"hex_longitude":"2c478a40","hex_latitude":"0a08c0f0","is_valid_coordinates":true} 
[2026-09-06 13:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902726144001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2707122181636096,"note":"Value kept but may cause issues"} 
[2026-09-06 13:46:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5154158710387200002,"note":"Value kept but may cause issues"} 
[2026-09-06 13:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788682535000,"timestamp_ms":1788682535000,"timestamp_seconds":1788682535,"priority":1,"record_length":96,"hex_timestamp":"000001a075c98058"} 
[2026-09-06 13:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:46: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-09-06 13:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 13:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902726144001,"66":28082,"208":206,"37":23040,"24":37,"16":2707122181636096,"44":5154158710387200002},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,37,24,16,44]} 
[2026-09-06 13:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902726144001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:46:56] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-06 13:46:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2707122181636096,"km_value":2707122181636.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:46:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5154158710387200002,"description":"Unknown IO ID 44"} 
[2026-09-06 13:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902726144001,"power":28082,"unknown_208":206,"unknown_37":23040,"ignition":37,"odometer":null,"unknown_44":5154158710387200002}} 
[2026-09-06 13:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":173931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774719,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:46:56] local.INFO: GPS data processed {"connection_id":173931,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:46:56] local.INFO: Acknowledgment sent {"connection_id":173931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:47:09] local.INFO: TCP Data received {"connection_id":172553,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:47:09] local.INFO: Processing buffer {"connection_id":172553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:47:09] local.INFO: IMEI packet received {"connection_id":172553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":172553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:47:14] local.INFO: TCP Data received {"connection_id":172553,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:47:14] local.INFO: Processing buffer {"connection_id":172553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:47:14] local.INFO: IMEI packet received {"connection_id":172553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":172553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:47:15] local.INFO: TCP Data received {"connection_id":172553,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:47:15] local.INFO: Processing buffer {"connection_id":172553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:47:15] local.INFO: Packet analysis {"connection_id":172553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:47:15] local.INFO: Extracted packet for processing {"connection_id":172553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902607360001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788682361000,"timestamp_ms":1788682361000,"timestamp_seconds":1788682361,"priority":1,"record_length":96,"hex_timestamp":"000001a075c6d8a8"} 
[2026-09-06 13:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902607360001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902607360001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:47:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902607360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":172553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:47:15] local.INFO: GPS data processed {"connection_id":172553,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:47:15] local.INFO: Acknowledgment sent {"connection_id":172553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:47:25] local.INFO: TCP Data received {"connection_id":172552,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:47:25] local.INFO: Processing buffer {"connection_id":172552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:47:25] local.INFO: Packet analysis {"connection_id":172552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:47:25] local.INFO: Extracted packet for processing {"connection_id":172552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:47:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902638336001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47: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-09-06 13:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788682482000,"timestamp_ms":1788682482000,"timestamp_seconds":1788682482,"priority":1,"record_length":96,"hex_timestamp":"000001a075c8b150"} 
[2026-09-06 13:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-06 13:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:47: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-09-06 13:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902638336001,"66":26158,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902638336001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:47:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:47:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902638336001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":172552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:47:25] local.INFO: GPS data processed {"connection_id":172552,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:47:25] local.INFO: Acknowledgment sent {"connection_id":172552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:47:29] local.INFO: TCP Data received {"connection_id":173931,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075c9a768012c478ec00a08e4d0024d000625..."} 
[2026-09-06 13:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c9a768012c478ec00a08e4d0024d000625..."} 
[2026-09-06 13:47:29] local.INFO: Processing buffer {"connection_id":173931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c9a768012c478ec00a08e4d0024d000625..."} 
[2026-09-06 13:47:29] local.INFO: Packet analysis {"connection_id":173931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c9"} 
[2026-09-06 13:47:29] local.INFO: Extracted packet for processing {"connection_id":173931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c9"} 
[2026-09-06 13:47:29] local.INFO: GPS Element Parsed {"raw_longitude":742887104,"raw_latitude":168355024,"longitude_deg":74.2887104,"latitude_deg":16.8355024,"altitude":589,"angle":6,"satellites":37,"speed":36,"hex_longitude":"2c478ec0","hex_latitude":"0a08e4d0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902728960001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2707573153202176,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5155003135319666690,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788682545000,"timestamp_ms":1788682545000,"timestamp_seconds":1788682545,"priority":1,"record_length":96,"hex_timestamp":"000001a075c9a768"} 
[2026-09-06 13:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 13:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902728960001,"66":28006,"208":206,"37":23040,"24":36,"16":2707573153202176,"44":5155003135319666690},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,37,24,16,44]} 
[2026-09-06 13:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902728960001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:47:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-06 13:47:29] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2707573153202176,"km_value":2707573153202.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:47:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":5155003135319666690,"description":"Unknown IO ID 44"} 
[2026-09-06 13:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902728960001,"power":28006,"unknown_208":206,"unknown_37":23040,"ignition":36,"odometer":null,"unknown_44":5155003135319666690}} 
[2026-09-06 13:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":173931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774722,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:47:29] local.INFO: GPS data processed {"connection_id":173931,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:47:29] local.INFO: Acknowledgment sent {"connection_id":173931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:47:46] local.INFO: TCP Data received {"connection_id":172553,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:47:46] local.INFO: Processing buffer {"connection_id":172553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:47:46] local.INFO: Packet analysis {"connection_id":172553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:47:46] local.INFO: Extracted packet for processing {"connection_id":172553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902607360001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788682361000,"timestamp_ms":1788682361000,"timestamp_seconds":1788682361,"priority":1,"record_length":96,"hex_timestamp":"000001a075c6d8a8"} 
[2026-09-06 13:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:47: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-09-06 13:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902607360001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 13:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902607360001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:47:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902607360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":172553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:47:46] local.INFO: GPS data processed {"connection_id":172553,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:47:46] local.INFO: Acknowledgment sent {"connection_id":172553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:47:48] local.INFO: TCP Data received {"connection_id":173932,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:47:48] local.INFO: Processing buffer {"connection_id":173932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:47:48] local.INFO: IMEI packet received {"connection_id":173932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":173932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:47:49] local.INFO: TCP Data received {"connection_id":175262,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:47:49] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:47:49] local.INFO: IMEI packet received {"connection_id":175262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":175262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:47:52] local.INFO: TCP Data received {"connection_id":175262,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:47:52] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:47:52] local.INFO: IMEI packet received {"connection_id":175262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":175262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:47:53] local.INFO: TCP Data received {"connection_id":173932,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:47:53] local.INFO: Processing buffer {"connection_id":173932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:47:53] local.INFO: IMEI packet received {"connection_id":173932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":173932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:47:54] local.INFO: TCP Data received {"connection_id":173932,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:47:54] local.INFO: Processing buffer {"connection_id":173932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:47:54] local.INFO: Packet analysis {"connection_id":173932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:47:54] local.INFO: Extracted packet for processing {"connection_id":173932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:47:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902638336001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47: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-09-06 13:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788682482000,"timestamp_ms":1788682482000,"timestamp_seconds":1788682482,"priority":1,"record_length":96,"hex_timestamp":"000001a075c8b150"} 
[2026-09-06 13:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-06 13:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:47: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-09-06 13:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902638336001,"66":26158,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902638336001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:47:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:47:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902638336001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":173932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:47:54] local.INFO: GPS data processed {"connection_id":173932,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:47:54] local.INFO: Acknowledgment sent {"connection_id":173932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:47:56] local.INFO: TCP Data received {"connection_id":175262,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:47:56] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:47:56] local.INFO: IMEI packet received {"connection_id":175262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":175262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:47:57] local.INFO: TCP Data received {"connection_id":175262,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075c9d260012c4796c00a090690024a000f2a..."} 
[2026-09-06 13:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c9d260012c4796c00a090690024a000f2a..."} 
[2026-09-06 13:47:57] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c9d260012c4796c00a090690024a000f2a..."} 
[2026-09-06 13:47:57] local.INFO: Packet analysis {"connection_id":175262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c9"} 
[2026-09-06 13:47:57] local.INFO: Extracted packet for processing {"connection_id":175262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c9"} 
[2026-09-06 13:47:57] local.INFO: GPS Element Parsed {"raw_longitude":742889152,"raw_latitude":168363664,"longitude_deg":74.2889152,"latitude_deg":16.8363664,"altitude":586,"angle":15,"satellites":42,"speed":23,"hex_longitude":"2c4796c0","hex_latitude":"0a090690","is_valid_coordinates":true} 
[2026-09-06 13:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902731520001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2708002649931776,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5156269772717215746,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788682556000,"timestamp_ms":1788682556000,"timestamp_seconds":1788682556,"priority":1,"record_length":96,"hex_timestamp":"000001a075c9d260"} 
[2026-09-06 13:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:47: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-09-06 13:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 13:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902731520001,"66":28050,"208":206,"37":23040,"24":23,"16":2708002649931776,"44":5156269772717215746},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,37,24,16,44]} 
[2026-09-06 13:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902731520001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:47:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-06 13:47:57] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2708002649931776,"km_value":2708002649931.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:47:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":5156269772717215746,"description":"Unknown IO ID 44"} 
[2026-09-06 13:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902731520001,"power":28050,"unknown_208":206,"unknown_37":23040,"ignition":23,"odometer":null,"unknown_44":5156269772717215746}} 
[2026-09-06 13:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":175262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774725,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:47:57] local.INFO: GPS data processed {"connection_id":175262,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:47:57] local.INFO: Acknowledgment sent {"connection_id":175262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:47:59] local.INFO: TCP Data received {"connection_id":175262,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075ca0cf8012c47a2400a092860024900132a..."} 
[2026-09-06 13:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ca0cf8012c47a2400a092860024900132a..."} 
[2026-09-06 13:47:59] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ca0cf8012c47a2400a092860024900132a..."} 
[2026-09-06 13:47:59] local.INFO: Packet analysis {"connection_id":175262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ca"} 
[2026-09-06 13:47:59] local.INFO: Extracted packet for processing {"connection_id":175262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ca"} 
[2026-09-06 13:47:59] local.INFO: GPS Element Parsed {"raw_longitude":742892096,"raw_latitude":168372320,"longitude_deg":74.2892096,"latitude_deg":16.837232,"altitude":585,"angle":19,"satellites":42,"speed":30,"hex_longitude":"2c47a240","hex_latitude":"0a092860","is_valid_coordinates":true} 
[2026-09-06 13:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902734336001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2708445031563264,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5158521572533112834,"note":"Value kept but may cause issues"} 
[2026-09-06 13:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788682571000,"timestamp_ms":1788682571000,"timestamp_seconds":1788682571,"priority":1,"record_length":96,"hex_timestamp":"000001a075ca0cf8"} 
[2026-09-06 13:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:47: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-09-06 13:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 13:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902734336001,"66":28104,"208":206,"37":23040,"24":30,"16":2708445031563264,"44":5158521572533112834},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,37,24,16,44]} 
[2026-09-06 13:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902734336001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:47:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-06 13:47:59] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2708445031563264,"km_value":2708445031563.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:47:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":5158521572533112834,"description":"Unknown IO ID 44"} 
[2026-09-06 13:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902734336001,"power":28104,"unknown_208":206,"unknown_37":23040,"ignition":30,"odometer":null,"unknown_44":5158521572533112834}} 
[2026-09-06 13:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":175262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774726,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:47:59] local.INFO: GPS data processed {"connection_id":175262,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:47:59] local.INFO: Acknowledgment sent {"connection_id":175262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:48:09] local.INFO: TCP Data received {"connection_id":175263,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:48:09] local.INFO: Processing buffer {"connection_id":175263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:48:09] local.INFO: IMEI packet received {"connection_id":175263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":175263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:48:14] local.INFO: TCP Data received {"connection_id":175263,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:48:14] local.INFO: Processing buffer {"connection_id":175263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:48:14] local.INFO: IMEI packet received {"connection_id":175263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":175263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:48:15] local.INFO: TCP Data received {"connection_id":175263,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:48:15] local.INFO: Processing buffer {"connection_id":175263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c6d8a8012d196540071fef68003b011024..."} 
[2026-09-06 13:48:15] local.INFO: Packet analysis {"connection_id":175263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:48:15] local.INFO: Extracted packet for processing {"connection_id":175263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c6"} 
[2026-09-06 13:48:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902607360001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788682361000,"timestamp_ms":1788682361000,"timestamp_seconds":1788682361,"priority":1,"record_length":96,"hex_timestamp":"000001a075c6d8a8"} 
[2026-09-06 13:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902607360001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902607360001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:48:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:48:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902607360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":175263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:48:15] local.INFO: GPS data processed {"connection_id":175263,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:48:15] local.INFO: Acknowledgment sent {"connection_id":175263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:48:25] local.INFO: TCP Data received {"connection_id":173932,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:48:25] local.INFO: Processing buffer {"connection_id":173932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:48:25] local.INFO: Packet analysis {"connection_id":173932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:48:25] local.INFO: Extracted packet for processing {"connection_id":173932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:48:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902638336001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48: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-09-06 13:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788682482000,"timestamp_ms":1788682482000,"timestamp_seconds":1788682482,"priority":1,"record_length":96,"hex_timestamp":"000001a075c8b150"} 
[2026-09-06 13:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-06 13:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:48: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-09-06 13:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902638336001,"66":26158,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902638336001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:48:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:48:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902638336001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":173932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:48:25] local.INFO: GPS data processed {"connection_id":173932,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:48:25] local.INFO: Acknowledgment sent {"connection_id":173932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:48:31] local.INFO: TCP Data received {"connection_id":175262,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075cb5518012c4854800a0aa130023c001428..."} 
[2026-09-06 13:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cb5518012c4854800a0aa130023c001428..."} 
[2026-09-06 13:48:31] local.INFO: Processing buffer {"connection_id":175262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cb5518012c4854800a0aa130023c001428..."} 
[2026-09-06 13:48:31] local.INFO: Packet analysis {"connection_id":175262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:48:31] local.INFO: Extracted packet for processing {"connection_id":175262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:48:31] local.INFO: GPS Element Parsed {"raw_longitude":742937728,"raw_latitude":168468784,"longitude_deg":74.2937728,"latitude_deg":16.8468784,"altitude":572,"angle":20,"satellites":40,"speed":58,"hex_longitude":"2c485480","hex_latitude":"0a0aa130","is_valid_coordinates":true} 
[2026-09-06 13:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902757888001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2713586107416576,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5207568587249426434,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788682655000,"timestamp_ms":1788682655000,"timestamp_seconds":1788682655,"priority":1,"record_length":96,"hex_timestamp":"000001a075cb5518"} 
[2026-09-06 13:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:48: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-09-06 13:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 13:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902757888001,"66":28148,"207":206,"37":23040,"24":58,"16":2713586107416576,"44":5207568587249426434},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,37,24,16,44]} 
[2026-09-06 13:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902757888001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:48:31] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-06 13:48:31] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2713586107416576,"km_value":2713586107416.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:48:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":5207568587249426434,"description":"Unknown IO ID 44"} 
[2026-09-06 13:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902757888001,"power":28148,"unknown_207":206,"unknown_37":23040,"ignition":58,"odometer":null,"unknown_44":5207568587249426434}} 
[2026-09-06 13:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":175262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774729,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:48:31] local.INFO: GPS data processed {"connection_id":175262,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:48:31] local.INFO: Acknowledgment sent {"connection_id":175262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:48:45] local.INFO: TCP Data received {"connection_id":175263,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:48:45] local.INFO: Processing buffer {"connection_id":175263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:48:45] local.INFO: Packet analysis {"connection_id":175263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:48:45] local.INFO: Extracted packet for processing {"connection_id":175263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902684416001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48: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-09-06 13:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788682662000,"timestamp_ms":1788682662000,"timestamp_seconds":1788682662,"priority":1,"record_length":96,"hex_timestamp":"000001a075cb7070"} 
[2026-09-06 13:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:48:45] 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-09-06 13:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:48: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-09-06 13:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:48: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-09-06 13:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902684416001,"66":2155,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902684416001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:48:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902684416001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":175263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:48:46] local.INFO: GPS data processed {"connection_id":175263,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:48:46] local.INFO: Acknowledgment sent {"connection_id":175263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:48:47] local.INFO: TCP Data received {"connection_id":172772,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:48:47] local.INFO: Processing buffer {"connection_id":172772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:48:47] local.INFO: IMEI packet received {"connection_id":172772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":172772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:48:49] local.INFO: TCP Data received {"connection_id":173933,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:48:49] local.INFO: Processing buffer {"connection_id":173933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:48:49] local.INFO: IMEI packet received {"connection_id":173933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":173933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:48:53] local.INFO: TCP Data received {"connection_id":172772,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:48:53] local.INFO: Processing buffer {"connection_id":172772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:48:53] local.INFO: IMEI packet received {"connection_id":172772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":172772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:48:54] local.INFO: TCP Data received {"connection_id":172772,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:48:54] local.INFO: Processing buffer {"connection_id":172772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:48:54] local.INFO: Packet analysis {"connection_id":172772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:48:54] local.INFO: Extracted packet for processing {"connection_id":172772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:48:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902638336001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48: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-09-06 13:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788682482000,"timestamp_ms":1788682482000,"timestamp_seconds":1788682482,"priority":1,"record_length":96,"hex_timestamp":"000001a075c8b150"} 
[2026-09-06 13:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-06 13:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:48: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-09-06 13:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902638336001,"66":26158,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902638336001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:48:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:48:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902638336001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":172772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:48:54] local.INFO: GPS data processed {"connection_id":172772,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:48:54] local.INFO: Acknowledgment sent {"connection_id":172772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:48:55] local.INFO: TCP Data received {"connection_id":173933,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:48:55] local.INFO: Processing buffer {"connection_id":173933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:48:55] local.INFO: IMEI packet received {"connection_id":173933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":173933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:48:56] local.INFO: TCP Data received {"connection_id":173933,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075cb7070012c4862800a0ac6a0023c00132a..."} 
[2026-09-06 13:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cb7070012c4862800a0ac6a0023c00132a..."} 
[2026-09-06 13:48:56] local.INFO: Processing buffer {"connection_id":173933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cb7070012c4862800a0ac6a0023c00132a..."} 
[2026-09-06 13:48:56] local.INFO: Packet analysis {"connection_id":173933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:48:56] local.INFO: Extracted packet for processing {"connection_id":173933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:48:56] local.INFO: GPS Element Parsed {"raw_longitude":742941312,"raw_latitude":168478368,"longitude_deg":74.2941312,"latitude_deg":16.8478368,"altitude":572,"angle":19,"satellites":42,"speed":58,"hex_longitude":"2c486280","hex_latitude":"0a0ac6a0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902759680001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2714080028655616,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5211931449390870530,"note":"Value kept but may cause issues"} 
[2026-09-06 13:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788682662000,"timestamp_ms":1788682662000,"timestamp_seconds":1788682662,"priority":1,"record_length":96,"hex_timestamp":"000001a075cb7070"} 
[2026-09-06 13:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:48: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-09-06 13: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-06 13:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902759680001,"66":28115,"207":206,"37":23040,"24":58,"16":2714080028655616,"44":5211931449390870530},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,37,24,16,44]} 
[2026-09-06 13:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902759680001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:48:56] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-06 13:48:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2714080028655616,"km_value":2714080028655.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:48:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5211931449390870530,"description":"Unknown IO ID 44"} 
[2026-09-06 13:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902759680001,"power":28115,"unknown_207":206,"unknown_37":23040,"ignition":58,"odometer":null,"unknown_44":5211931449390870530}} 
[2026-09-06 13:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":173933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774732,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:48:56] local.INFO: GPS data processed {"connection_id":173933,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:48:56] local.INFO: Acknowledgment sent {"connection_id":173933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:49:09] local.INFO: TCP Data received {"connection_id":172773,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:49:09] local.INFO: Processing buffer {"connection_id":172773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:49:09] local.INFO: IMEI packet received {"connection_id":172773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":172773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:49:14] local.INFO: TCP Data received {"connection_id":172773,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:49:14] local.INFO: Processing buffer {"connection_id":172773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:49:14] local.INFO: IMEI packet received {"connection_id":172773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":172773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:49:15] local.INFO: TCP Data received {"connection_id":172773,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:49:15] local.INFO: Processing buffer {"connection_id":172773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:49:15] local.INFO: Packet analysis {"connection_id":172773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:49:15] local.INFO: Extracted packet for processing {"connection_id":172773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902684416001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:49:15] 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-09-06 13:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788682662000,"timestamp_ms":1788682662000,"timestamp_seconds":1788682662,"priority":1,"record_length":96,"hex_timestamp":"000001a075cb7070"} 
[2026-09-06 13:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:49:15] 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-09-06 13:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902684416001,"66":2155,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 13:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902684416001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:49:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:49:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902684416001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":172773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:49:15] local.INFO: GPS data processed {"connection_id":172773,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:49:15] local.INFO: Acknowledgment sent {"connection_id":172773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:49:25] local.INFO: TCP Data received {"connection_id":172772,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:49:25] local.INFO: Processing buffer {"connection_id":172772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:49:25] local.INFO: Packet analysis {"connection_id":172772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:49:25] local.INFO: Extracted packet for processing {"connection_id":172772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:49:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 13:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902638336001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 13:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788682482000,"timestamp_ms":1788682482000,"timestamp_seconds":1788682482,"priority":1,"record_length":96,"hex_timestamp":"000001a075c8b150"} 
[2026-09-06 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-09-06 13:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-06 13:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 13:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:49: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-09-06 13:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902638336001,"66":26158,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902638336001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:49:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:49:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902638336001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":172772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:49:25] local.INFO: GPS data processed {"connection_id":172772,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:49:25] local.INFO: Acknowledgment sent {"connection_id":172772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:49:27] local.INFO: TCP Data received {"connection_id":173933,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075cb8bc8012c486f400a0aec80023e00102a..."} 
[2026-09-06 13:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cb8bc8012c486f400a0aec80023e00102a..."} 
[2026-09-06 13:49:27] local.INFO: Processing buffer {"connection_id":173933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cb8bc8012c486f400a0aec80023e00102a..."} 
[2026-09-06 13:49:27] local.INFO: Packet analysis {"connection_id":173933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:49:27] local.INFO: Extracted packet for processing {"connection_id":173933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:49:27] local.INFO: GPS Element Parsed {"raw_longitude":742944576,"raw_latitude":168488064,"longitude_deg":74.2944576,"latitude_deg":16.8488064,"altitude":574,"angle":16,"satellites":42,"speed":57,"hex_longitude":"2c486f40","hex_latitude":"0a0aec80","is_valid_coordinates":true} 
[2026-09-06 13:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902761472001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2714573949894656,"note":"Value kept but may cause issues"} 
[2026-09-06 13:49:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5215872099067273218,"note":"Value kept but may cause issues"} 
[2026-09-06 13:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788682669000,"timestamp_ms":1788682669000,"timestamp_seconds":1788682669,"priority":1,"record_length":96,"hex_timestamp":"000001a075cb8bc8"} 
[2026-09-06 13:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:49: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-09-06 13:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 13:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902761472001,"66":28115,"207":206,"37":23040,"24":57,"16":2714573949894656,"44":5215872099067273218},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,37,24,16,44]} 
[2026-09-06 13:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902761472001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:49:27] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-06 13:49:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2714573949894656,"km_value":2714573949894.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:49:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":5215872099067273218,"description":"Unknown IO ID 44"} 
[2026-09-06 13:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902761472001,"power":28115,"unknown_207":206,"unknown_37":23040,"ignition":57,"odometer":null,"unknown_44":5215872099067273218}} 
[2026-09-06 13:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":173933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774735,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:49:28] local.INFO: GPS data processed {"connection_id":173933,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:49:28] local.INFO: Acknowledgment sent {"connection_id":173933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:49:46] local.INFO: TCP Data received {"connection_id":172773,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:49:46] local.INFO: Processing buffer {"connection_id":172773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:49:46] local.INFO: Packet analysis {"connection_id":172773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:49:46] local.INFO: Extracted packet for processing {"connection_id":172773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902684416001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:49:46] 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-09-06 13:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788682662000,"timestamp_ms":1788682662000,"timestamp_seconds":1788682662,"priority":1,"record_length":96,"hex_timestamp":"000001a075cb7070"} 
[2026-09-06 13:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:49:46] 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-09-06 13:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:49:46] 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-09-06 13:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902684416001,"66":2155,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 13:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902684416001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:49:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902684416001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":172773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:49:46] local.INFO: GPS data processed {"connection_id":172773,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:49:46] local.INFO: Acknowledgment sent {"connection_id":172773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:49:47] local.INFO: TCP Data received {"connection_id":173934,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:49:47] local.INFO: Processing buffer {"connection_id":173934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:49:47] local.INFO: IMEI packet received {"connection_id":173934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":173934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:49:49] local.INFO: TCP Data received {"connection_id":172554,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:49:49] local.INFO: Processing buffer {"connection_id":172554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:49:49] local.INFO: IMEI packet received {"connection_id":172554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":172554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:49:53] local.INFO: TCP Data received {"connection_id":173934,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:49:53] local.INFO: Processing buffer {"connection_id":173934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:49:53] local.INFO: IMEI packet received {"connection_id":173934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":173934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:49:54] local.INFO: TCP Data received {"connection_id":173934,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:49:54] local.INFO: Processing buffer {"connection_id":173934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075c8b150012d34c50006aa3d30000e013527..."} 
[2026-09-06 13:49:54] local.INFO: Packet analysis {"connection_id":173934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:49:54] local.INFO: Extracted packet for processing {"connection_id":173934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075c8"} 
[2026-09-06 13:49:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902638336001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:49: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-09-06 13:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788682482000,"timestamp_ms":1788682482000,"timestamp_seconds":1788682482,"priority":1,"record_length":96,"hex_timestamp":"000001a075c8b150"} 
[2026-09-06 13:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-06 13:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:49: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-09-06 13:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902638336001,"66":26158,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902638336001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:49:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:49:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902638336001,"power":26158,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":173934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:49:54] local.INFO: GPS data processed {"connection_id":173934,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:49:54] local.INFO: Acknowledgment sent {"connection_id":173934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:49:55] local.INFO: TCP Data received {"connection_id":172554,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:49:55] local.INFO: Processing buffer {"connection_id":172554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:49:55] local.INFO: IMEI packet received {"connection_id":172554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":172554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:49:56] local.INFO: TCP Data received {"connection_id":172554,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075cca8f0012c48b5000a0c8910023400082a..."} 
[2026-09-06 13:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cca8f0012c48b5000a0c8910023400082a..."} 
[2026-09-06 13:49:56] local.INFO: Processing buffer {"connection_id":172554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cca8f0012c48b5000a0c8910023400082a..."} 
[2026-09-06 13:49:56] local.INFO: Packet analysis {"connection_id":172554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cc"} 
[2026-09-06 13:49:56] local.INFO: Extracted packet for processing {"connection_id":172554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cc"} 
[2026-09-06 13:49:56] local.INFO: GPS Element Parsed {"raw_longitude":742962432,"raw_latitude":168593680,"longitude_deg":74.2962432,"latitude_deg":16.859368,"altitude":564,"angle":8,"satellites":42,"speed":58,"hex_longitude":"2c48b500","hex_latitude":"0a0c8910","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902780160001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2719766565355520,"note":"Value kept but may cause issues"} 
[2026-09-06 13:49:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5237545672300924930,"note":"Value kept but may cause issues"} 
[2026-09-06 13:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788682742000,"timestamp_ms":1788682742000,"timestamp_seconds":1788682742,"priority":1,"record_length":96,"hex_timestamp":"000001a075cca8f0"} 
[2026-09-06 13:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:49: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-09-06 13: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 13:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902780160001,"66":28126,"207":206,"37":23040,"24":58,"16":2719766565355520,"44":5237545672300924930},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,37,24,16,44]} 
[2026-09-06 13:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902780160001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:49:56] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-06 13:49:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2719766565355520,"km_value":2719766565355.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:49:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5237545672300924930,"description":"Unknown IO ID 44"} 
[2026-09-06 13:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902780160001,"power":28126,"unknown_207":206,"unknown_37":23040,"ignition":58,"odometer":null,"unknown_44":5237545672300924930}} 
[2026-09-06 13:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":172554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774738,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:49:56] local.INFO: GPS data processed {"connection_id":172554,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:49:56] local.INFO: Acknowledgment sent {"connection_id":172554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:50:14] local.INFO: TCP Data received {"connection_id":173935,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:50:14] local.INFO: Processing buffer {"connection_id":173935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:50:14] local.INFO: IMEI packet received {"connection_id":173935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":173935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:50:19] local.INFO: TCP Data received {"connection_id":173935,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:50:19] local.INFO: Processing buffer {"connection_id":173935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:50:19] local.INFO: IMEI packet received {"connection_id":173935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":173935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:50:20] local.INFO: TCP Data received {"connection_id":173935,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:50:20] local.INFO: Processing buffer {"connection_id":173935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:50:20] local.INFO: Packet analysis {"connection_id":173935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:50:20] local.INFO: Extracted packet for processing {"connection_id":173935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:50:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902684416001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:50:20] 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-09-06 13:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788682662000,"timestamp_ms":1788682662000,"timestamp_seconds":1788682662,"priority":1,"record_length":96,"hex_timestamp":"000001a075cb7070"} 
[2026-09-06 13:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:50:20] 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-09-06 13:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:50:20] 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-09-06 13:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902684416001,"66":2155,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902684416001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:50:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:50:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902684416001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":173935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:50:20] local.INFO: GPS data processed {"connection_id":173935,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:50:20] local.INFO: Acknowledgment sent {"connection_id":173935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:50:24] local.INFO: TCP Data received {"connection_id":173935,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:50:24] local.INFO: Processing buffer {"connection_id":173935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:50:24] local.INFO: Packet analysis {"connection_id":173935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:50:24] local.INFO: Extracted packet for processing {"connection_id":173935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:50:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 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-09-06 13:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902684416001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:50:24] 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-09-06 13:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788682662000,"timestamp_ms":1788682662000,"timestamp_seconds":1788682662,"priority":1,"record_length":96,"hex_timestamp":"000001a075cb7070"} 
[2026-09-06 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-09-06 13:50:24] 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-09-06 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 13:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:50:24] 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-09-06 13:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902684416001,"66":2155,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902684416001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:50:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:50:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902684416001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":173935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:50:24] local.INFO: GPS data processed {"connection_id":173935,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:50:24] local.INFO: Acknowledgment sent {"connection_id":173935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:50:25] local.INFO: TCP Data received {"connection_id":173934,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:50:25] local.INFO: Processing buffer {"connection_id":173934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:50:25] local.INFO: Packet analysis {"connection_id":173934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:50:25] local.INFO: Extracted packet for processing {"connection_id":173934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:50:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902715392001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:50: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-09-06 13:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788682783000,"timestamp_ms":1788682783000,"timestamp_seconds":1788682783,"priority":1,"record_length":96,"hex_timestamp":"000001a075cd4918"} 
[2026-09-06 13:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 13:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:50: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-09-06 13:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902715392001,"66":26060,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902715392001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:50:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:50:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902715392001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":173934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:50:25] local.INFO: GPS data processed {"connection_id":173934,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:50:25] local.INFO: Acknowledgment sent {"connection_id":173934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:50:28] local.INFO: TCP Data received {"connection_id":172554,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075ccc448012c48bbc00a0cb060023400092a..."} 
[2026-09-06 13:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ccc448012c48bbc00a0cb060023400092a..."} 
[2026-09-06 13:50:28] local.INFO: Processing buffer {"connection_id":172554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ccc448012c48bbc00a0cb060023400092a..."} 
[2026-09-06 13:50:28] local.INFO: Packet analysis {"connection_id":172554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cc"} 
[2026-09-06 13:50:28] local.INFO: Extracted packet for processing {"connection_id":172554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cc"} 
[2026-09-06 13:50:28] local.INFO: GPS Element Parsed {"raw_longitude":742964160,"raw_latitude":168603744,"longitude_deg":74.296416,"latitude_deg":16.8603744,"altitude":564,"angle":9,"satellites":42,"speed":58,"hex_longitude":"2c48bbc0","hex_latitude":"0a0cb060","is_valid_coordinates":true} 
[2026-09-06 13:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902781952001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2720264781561856,"note":"Value kept but may cause issues"} 
[2026-09-06 13:50:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5239093784675422210,"note":"Value kept but may cause issues"} 
[2026-09-06 13:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788682749000,"timestamp_ms":1788682749000,"timestamp_seconds":1788682749,"priority":1,"record_length":96,"hex_timestamp":"000001a075ccc448"} 
[2026-09-06 13:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:50: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-09-06 13:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-06 13:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902781952001,"66":28126,"207":206,"37":23040,"24":58,"16":2720264781561856,"44":5239093784675422210},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,37,24,16,44]} 
[2026-09-06 13:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902781952001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:50:28] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-06 13:50:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2720264781561856,"km_value":2720264781561.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:50:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":5239093784675422210,"description":"Unknown IO ID 44"} 
[2026-09-06 13:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902781952001,"power":28126,"unknown_207":206,"unknown_37":23040,"ignition":58,"odometer":null,"unknown_44":5239093784675422210}} 
[2026-09-06 13:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":172554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:50:28] local.INFO: GPS data processed {"connection_id":172554,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:50:28] local.INFO: Acknowledgment sent {"connection_id":172554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:50:51] local.INFO: TCP Data received {"connection_id":175265,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:50:51] local.INFO: Processing buffer {"connection_id":175265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:50:51] local.INFO: IMEI packet received {"connection_id":175265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":175265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:50:53] local.INFO: TCP Data received {"connection_id":175264,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:50:53] local.INFO: Processing buffer {"connection_id":175264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:50:53] local.INFO: IMEI packet received {"connection_id":175264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":175264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:50:54] local.INFO: TCP Data received {"connection_id":175265,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:50:54] local.INFO: Processing buffer {"connection_id":175265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:50:54] local.INFO: IMEI packet received {"connection_id":175265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":175265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:50:54] local.INFO: TCP Data received {"connection_id":175265,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:50:54] local.INFO: Processing buffer {"connection_id":175265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:50:54] local.INFO: IMEI packet received {"connection_id":175265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":175265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:50:58] local.INFO: TCP Data received {"connection_id":175264,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:50:58] local.INFO: Processing buffer {"connection_id":175264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:50:58] local.INFO: IMEI packet received {"connection_id":175264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":175264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:50:59] local.INFO: TCP Data received {"connection_id":175265,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:50:59] local.INFO: Processing buffer {"connection_id":175265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:50:59] local.INFO: IMEI packet received {"connection_id":175265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":175265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:50:59] local.INFO: TCP Data received {"connection_id":175264,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:50:59] local.INFO: Processing buffer {"connection_id":175264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:50:59] local.INFO: Packet analysis {"connection_id":175264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:50:59] local.INFO: Extracted packet for processing {"connection_id":175264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:50:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902715392001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:50: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-09-06 13:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788682783000,"timestamp_ms":1788682783000,"timestamp_seconds":1788682783,"priority":1,"record_length":96,"hex_timestamp":"000001a075cd4918"} 
[2026-09-06 13:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 13:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902715392001,"66":26060,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902715392001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:50:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:50:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902715392001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":175264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:50:59] local.INFO: GPS data processed {"connection_id":175264,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:50:59] local.INFO: Acknowledgment sent {"connection_id":175264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:51:02] local.INFO: TCP Data received {"connection_id":175265,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075cdbe48012c48b5800a0e1150022e000827..."} 
[2026-09-06 13:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cdbe48012c48b5800a0e1150022e000827..."} 
[2026-09-06 13:51:02] local.INFO: Processing buffer {"connection_id":175265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cdbe48012c48b5800a0e1150022e000827..."} 
[2026-09-06 13:51:02] local.INFO: Packet analysis {"connection_id":175265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:51:02] local.INFO: Extracted packet for processing {"connection_id":175265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:51:02] local.INFO: GPS Element Parsed {"raw_longitude":742962560,"raw_latitude":168694096,"longitude_deg":74.296256,"latitude_deg":16.8694096,"altitude":558,"angle":8,"satellites":39,"speed":57,"hex_longitude":"2c48b580","hex_latitude":"0a0e1150","is_valid_coordinates":true} 
[2026-09-06 13:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902798336001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2724740137484288,"note":"Value kept but may cause issues"} 
[2026-09-06 13:51:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5238741940977672194,"note":"Value kept but may cause issues"} 
[2026-09-06 13:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788682813000,"timestamp_ms":1788682813000,"timestamp_seconds":1788682813,"priority":1,"record_length":96,"hex_timestamp":"000001a075cdbe48"} 
[2026-09-06 13:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:51: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-09-06 13:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-06 13:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175265,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175265,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902798336001,"66":28137,"207":206,"37":23040,"24":57,"16":2724740137484288,"44":5238741940977672194},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,37,24,16,44]} 
[2026-09-06 13:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902798336001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:51:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-06 13:51:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2724740137484288,"km_value":2724740137484.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:51:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":5238741940977672194,"description":"Unknown IO ID 44"} 
[2026-09-06 13:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902798336001,"power":28137,"unknown_207":206,"unknown_37":23040,"ignition":57,"odometer":null,"unknown_44":5238741940977672194}} 
[2026-09-06 13:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":175265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:51:03] local.INFO: GPS data processed {"connection_id":175265,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:51:03] local.INFO: Acknowledgment sent {"connection_id":175265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:51:04] local.INFO: TCP Data received {"connection_id":175265,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075cdca00012c48b9c00a0e21c0022d001328..."} 
[2026-09-06 13:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cdca00012c48b9c00a0e21c0022d001328..."} 
[2026-09-06 13:51:04] local.INFO: Processing buffer {"connection_id":175265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cdca00012c48b9c00a0e21c0022d001328..."} 
[2026-09-06 13:51:04] local.INFO: Packet analysis {"connection_id":175265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:51:04] local.INFO: Extracted packet for processing {"connection_id":175265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:51:04] local.INFO: GPS Element Parsed {"raw_longitude":742963648,"raw_latitude":168698304,"longitude_deg":74.2963648,"latitude_deg":16.8698304,"altitude":557,"angle":19,"satellites":40,"speed":58,"hex_longitude":"2c48b9c0","hex_latitude":"0a0e21c0","is_valid_coordinates":true} 
[2026-09-06 13:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902800128001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2724950590881792,"note":"Value kept but may cause issues"} 
[2026-09-06 13:51:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5239234522189484034,"note":"Value kept but may cause issues"} 
[2026-09-06 13:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788682816000,"timestamp_ms":1788682816000,"timestamp_seconds":1788682816,"priority":1,"record_length":96,"hex_timestamp":"000001a075cdca00"} 
[2026-09-06 13:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:51: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-09-06 13:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 13:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175265,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175265,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902800128001,"66":28224,"207":206,"37":23040,"24":58,"16":2724950590881792,"44":5239234522189484034},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,37,24,16,44]} 
[2026-09-06 13:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902800128001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:51:04] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-06 13:51:04] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2724950590881792,"km_value":2724950590881.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:51:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":5239234522189484034,"description":"Unknown IO ID 44"} 
[2026-09-06 13:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902800128001,"power":28224,"unknown_207":206,"unknown_37":23040,"ignition":58,"odometer":null,"unknown_44":5239234522189484034}} 
[2026-09-06 13:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":175265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774745,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:51:04] local.INFO: GPS data processed {"connection_id":175265,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:51:04] local.INFO: Acknowledgment sent {"connection_id":175265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:51:09] local.INFO: TCP Data received {"connection_id":172555,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:51:09] local.INFO: Processing buffer {"connection_id":172555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:51:09] local.INFO: IMEI packet received {"connection_id":172555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":172555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:51:14] local.INFO: TCP Data received {"connection_id":172555,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:51:14] local.INFO: Processing buffer {"connection_id":172555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:51:14] local.INFO: IMEI packet received {"connection_id":172555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":172555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:51:15] local.INFO: TCP Data received {"connection_id":172555,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:51:15] local.INFO: Processing buffer {"connection_id":172555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:51:15] local.INFO: Packet analysis {"connection_id":172555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:51:15] local.INFO: Extracted packet for processing {"connection_id":172555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902684416001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:51:15] 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-09-06 13:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788682662000,"timestamp_ms":1788682662000,"timestamp_seconds":1788682662,"priority":1,"record_length":96,"hex_timestamp":"000001a075cb7070"} 
[2026-09-06 13:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:51:15] 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-09-06 13:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902684416001,"66":2155,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902684416001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:51:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902684416001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":172555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:51:15] local.INFO: GPS data processed {"connection_id":172555,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:51:15] local.INFO: Acknowledgment sent {"connection_id":172555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:51:30] local.INFO: TCP Data received {"connection_id":175264,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:51:30] local.INFO: Processing buffer {"connection_id":175264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:51:30] local.INFO: Packet analysis {"connection_id":175264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:51:30] local.INFO: Extracted packet for processing {"connection_id":175264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:51:30] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902715392001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:51: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-09-06 13:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788682783000,"timestamp_ms":1788682783000,"timestamp_seconds":1788682783,"priority":1,"record_length":96,"hex_timestamp":"000001a075cd4918"} 
[2026-09-06 13:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 13:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902715392001,"66":26060,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902715392001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:51:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:51:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902715392001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":175264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:51:30] local.INFO: GPS data processed {"connection_id":175264,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:51:30] local.INFO: Acknowledgment sent {"connection_id":175264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:51:45] local.INFO: TCP Data received {"connection_id":172555,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:51:45] local.INFO: Processing buffer {"connection_id":172555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:51:45] local.INFO: Packet analysis {"connection_id":172555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:51:45] local.INFO: Extracted packet for processing {"connection_id":172555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902684416001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788682662000,"timestamp_ms":1788682662000,"timestamp_seconds":1788682662,"priority":1,"record_length":96,"hex_timestamp":"000001a075cb7070"} 
[2026-09-06 13:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:51:45] 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-09-06 13: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":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:51: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-09-06 13: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-09-06 13:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13: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-09-06 13:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902684416001,"66":2155,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902684416001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:51:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902684416001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":172555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:51:46] local.INFO: GPS data processed {"connection_id":172555,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:51:46] local.INFO: Acknowledgment sent {"connection_id":172555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:51:48] local.INFO: TCP Data received {"connection_id":172774,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:51:48] local.INFO: Processing buffer {"connection_id":172774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:51:48] local.INFO: IMEI packet received {"connection_id":172774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":172774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:51:53] local.INFO: TCP Data received {"connection_id":172774,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:51:53] local.INFO: Processing buffer {"connection_id":172774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:51:53] local.INFO: IMEI packet received {"connection_id":172774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":172774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:51:54] local.INFO: TCP Data received {"connection_id":172774,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:51:54] local.INFO: Processing buffer {"connection_id":172774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:51:54] local.INFO: Packet analysis {"connection_id":172774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:51:54] local.INFO: Extracted packet for processing {"connection_id":172774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:51:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902715392001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:51: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-09-06 13:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788682783000,"timestamp_ms":1788682783000,"timestamp_seconds":1788682783,"priority":1,"record_length":96,"hex_timestamp":"000001a075cd4918"} 
[2026-09-06 13:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 13:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13: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-09-06 13:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902715392001,"66":26060,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902715392001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:51:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:51:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902715392001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":172774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:51:54] local.INFO: GPS data processed {"connection_id":172774,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:51:54] local.INFO: Acknowledgment sent {"connection_id":172774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:51:59] local.INFO: TCP Data received {"connection_id":175266,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:51:59] local.INFO: Processing buffer {"connection_id":175266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:51:59] local.INFO: IMEI packet received {"connection_id":175266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":175266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:52:00] local.INFO: TCP Data received {"connection_id":175266,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:52:00] local.INFO: Processing buffer {"connection_id":175266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:52:00] local.INFO: IMEI packet received {"connection_id":175266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":175266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:52:02] local.INFO: TCP Data received {"connection_id":175266,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075cdd9a0012c48c4400a0e3650022b001f28..."} 
[2026-09-06 13:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cdd9a0012c48c4400a0e3650022b001f28..."} 
[2026-09-06 13:52:02] local.INFO: Processing buffer {"connection_id":175266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cdd9a0012c48c4400a0e3650022b001f28..."} 
[2026-09-06 13:52:02] local.INFO: Packet analysis {"connection_id":175266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:52:02] local.INFO: Extracted packet for processing {"connection_id":175266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:52:02] local.INFO: GPS Element Parsed {"raw_longitude":742966336,"raw_latitude":168703568,"longitude_deg":74.2966336,"latitude_deg":16.8703568,"altitude":555,"angle":31,"satellites":40,"speed":58,"hex_longitude":"2c48c440","hex_latitude":"0a0e3650","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902800896001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2725234058723328,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5240430790841581570,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788682820000,"timestamp_ms":1788682820000,"timestamp_seconds":1788682820,"priority":1,"record_length":96,"hex_timestamp":"000001a075cdd9a0"} 
[2026-09-06 13:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:52: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-09-06 13:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-06 13:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902800896001,"66":28224,"207":206,"37":23040,"24":58,"16":2725234058723328,"44":5240430790841581570},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,37,24,16,44]} 
[2026-09-06 13:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902800896001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:52:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-06 13:52:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2725234058723328,"km_value":2725234058723.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:52:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":5240430790841581570,"description":"Unknown IO ID 44"} 
[2026-09-06 13:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902800896001,"power":28224,"unknown_207":206,"unknown_37":23040,"ignition":58,"odometer":null,"unknown_44":5240430790841581570}} 
[2026-09-06 13:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":175266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:52:02] local.INFO: GPS data processed {"connection_id":175266,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:52:02] local.INFO: Acknowledgment sent {"connection_id":175266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:52:05] local.INFO: TCP Data received {"connection_id":175266,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075cdf110012c48d7c00a0e53e00229002024..."} 
[2026-09-06 13:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cdf110012c48d7c00a0e53e00229002024..."} 
[2026-09-06 13:52:05] local.INFO: Processing buffer {"connection_id":175266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cdf110012c48d7c00a0e53e00229002024..."} 
[2026-09-06 13:52:05] local.INFO: Packet analysis {"connection_id":175266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:52:05] local.INFO: Extracted packet for processing {"connection_id":175266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:52:05] local.INFO: GPS Element Parsed {"raw_longitude":742971328,"raw_latitude":168711136,"longitude_deg":74.2971328,"latitude_deg":16.8711136,"altitude":553,"angle":32,"satellites":36,"speed":59,"hex_longitude":"2c48d7c0","hex_latitude":"0a0e53e0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902801920001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2725672145387520,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5243386278098391042,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788682826000,"timestamp_ms":1788682826000,"timestamp_seconds":1788682826,"priority":1,"record_length":96,"hex_timestamp":"000001a075cdf110"} 
[2026-09-06 13:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 13: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-06 13:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902801920001,"66":27843,"207":206,"37":23040,"24":59,"16":2725672145387520,"44":5243386278098391042},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,37,24,16,44]} 
[2026-09-06 13:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902801920001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:52:05] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-06 13:52:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2725672145387520,"km_value":2725672145387.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:52:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":5243386278098391042,"description":"Unknown IO ID 44"} 
[2026-09-06 13:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902801920001,"power":27843,"unknown_207":206,"unknown_37":23040,"ignition":59,"odometer":null,"unknown_44":5243386278098391042}} 
[2026-09-06 13:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":175266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774751,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:52:05] local.INFO: GPS data processed {"connection_id":175266,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:52:05] local.INFO: Acknowledgment sent {"connection_id":175266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:52:09] local.INFO: TCP Data received {"connection_id":172556,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:52:09] local.INFO: Processing buffer {"connection_id":172556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:52:09] local.INFO: IMEI packet received {"connection_id":172556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":172556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:52:14] local.INFO: TCP Data received {"connection_id":172556,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:52:14] local.INFO: Processing buffer {"connection_id":172556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:52:14] local.INFO: IMEI packet received {"connection_id":172556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":172556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:52:15] local.INFO: TCP Data received {"connection_id":172556,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:52:15] local.INFO: Processing buffer {"connection_id":172556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:52:15] local.INFO: Packet analysis {"connection_id":172556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:52:15] local.INFO: Extracted packet for processing {"connection_id":172556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902684416001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:15] 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-09-06 13:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788682662000,"timestamp_ms":1788682662000,"timestamp_seconds":1788682662,"priority":1,"record_length":96,"hex_timestamp":"000001a075cb7070"} 
[2026-09-06 13:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902684416001,"66":2155,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902684416001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:52:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902684416001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":172556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:52:15] local.INFO: GPS data processed {"connection_id":172556,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:52:15] local.INFO: Acknowledgment sent {"connection_id":172556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:52:25] local.INFO: TCP Data received {"connection_id":172774,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:52:25] local.INFO: Processing buffer {"connection_id":172774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:52:25] local.INFO: Packet analysis {"connection_id":172774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:52:25] local.INFO: Extracted packet for processing {"connection_id":172774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:52:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902715392001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788682783000,"timestamp_ms":1788682783000,"timestamp_seconds":1788682783,"priority":1,"record_length":96,"hex_timestamp":"000001a075cd4918"} 
[2026-09-06 13:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 13:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13: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-09-06 13:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902715392001,"66":26060,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902715392001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:52:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:52:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902715392001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":172774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:52:25] local.INFO: GPS data processed {"connection_id":172774,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:52:25] local.INFO: Acknowledgment sent {"connection_id":172774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:52:45] local.INFO: TCP Data received {"connection_id":172556,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:52:45] local.INFO: Processing buffer {"connection_id":172556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:52:45] local.INFO: Packet analysis {"connection_id":172556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:52:45] local.INFO: Extracted packet for processing {"connection_id":172556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:52:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902684416001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52: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-09-06 13:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788682662000,"timestamp_ms":1788682662000,"timestamp_seconds":1788682662,"priority":1,"record_length":96,"hex_timestamp":"000001a075cb7070"} 
[2026-09-06 13:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:52:45] 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-09-06 13:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:52: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-09-06 13:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:52: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-09-06 13:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902684416001,"66":2155,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902684416001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:52:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:52:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902684416001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":172556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:52:45] local.INFO: GPS data processed {"connection_id":172556,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:52:45] local.INFO: Acknowledgment sent {"connection_id":172556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:52:48] local.INFO: TCP Data received {"connection_id":172557,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:52:48] local.INFO: Processing buffer {"connection_id":172557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:52:48] local.INFO: IMEI packet received {"connection_id":172557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":172557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:52:49] local.INFO: TCP Data received {"connection_id":172558,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:52:49] local.INFO: Processing buffer {"connection_id":172558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:52:49] local.INFO: IMEI packet received {"connection_id":172558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":172558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:52:53] local.INFO: TCP Data received {"connection_id":172558,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:52:53] local.INFO: Processing buffer {"connection_id":172558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:52:53] local.INFO: IMEI packet received {"connection_id":172558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":172558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:52:53] local.INFO: TCP Data received {"connection_id":172557,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:52:53] local.INFO: Processing buffer {"connection_id":172557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:52:53] local.INFO: IMEI packet received {"connection_id":172557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":172557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:52:54] local.INFO: TCP Data received {"connection_id":172557,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:52:54] local.INFO: Processing buffer {"connection_id":172557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:52:54] local.INFO: Packet analysis {"connection_id":172557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:52:54] local.INFO: Extracted packet for processing {"connection_id":172557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:52:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902715392001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52: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-09-06 13:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788682783000,"timestamp_ms":1788682783000,"timestamp_seconds":1788682783,"priority":1,"record_length":96,"hex_timestamp":"000001a075cd4918"} 
[2026-09-06 13:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 13:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:52: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-09-06 13:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902715392001,"66":26060,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902715392001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:52:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:52:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902715392001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":172557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:52:54] local.INFO: GPS data processed {"connection_id":172557,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:52:54] local.INFO: Acknowledgment sent {"connection_id":172557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:52:56] local.INFO: TCP Data received {"connection_id":172558,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075ce0c68012c48ee800a0e75d00228002128..."} 
[2026-09-06 13:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ce0c68012c48ee800a0e75d00228002128..."} 
[2026-09-06 13:52:56] local.INFO: Processing buffer {"connection_id":172558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ce0c68012c48ee800a0e75d00228002128..."} 
[2026-09-06 13:52:56] local.INFO: Packet analysis {"connection_id":172558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ce"} 
[2026-09-06 13:52:56] local.INFO: Extracted packet for processing {"connection_id":172558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ce"} 
[2026-09-06 13:52:56] local.INFO: GPS Element Parsed {"raw_longitude":742977152,"raw_latitude":168719824,"longitude_deg":74.2977152,"latitude_deg":16.8719824,"altitude":552,"angle":33,"satellites":40,"speed":58,"hex_longitude":"2c48ee80","hex_latitude":"0a0e75d0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902803456001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2726170361593856,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5248875040146186242,"note":"Value kept but may cause issues"} 
[2026-09-06 13:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788682833000,"timestamp_ms":1788682833000,"timestamp_seconds":1788682833,"priority":1,"record_length":96,"hex_timestamp":"000001a075ce0c68"} 
[2026-09-06 13:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:52: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-09-06 13:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-06 13:52:56] 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-09-06 13: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-09-06 13:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902803456001,"66":28202,"207":206,"37":23040,"24":58,"16":2726170361593856,"44":5248875040146186242},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,37,24,16,44]} 
[2026-09-06 13:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902803456001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:52:56] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-06 13:52:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2726170361593856,"km_value":2726170361593.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:52:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":5248875040146186242,"description":"Unknown IO ID 44"} 
[2026-09-06 13:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902803456001,"power":28202,"unknown_207":206,"unknown_37":23040,"ignition":58,"odometer":null,"unknown_44":5248875040146186242}} 
[2026-09-06 13:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":172558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774756,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:52:56] local.INFO: GPS data processed {"connection_id":172558,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:52:56] local.INFO: Acknowledgment sent {"connection_id":172558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:53:09] local.INFO: TCP Data received {"connection_id":173936,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:53:09] local.INFO: Processing buffer {"connection_id":173936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:53:09] local.INFO: IMEI packet received {"connection_id":173936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":173936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:53:14] local.INFO: TCP Data received {"connection_id":173936,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:53:14] local.INFO: Processing buffer {"connection_id":173936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:53:14] local.INFO: IMEI packet received {"connection_id":173936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":173936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:53:15] local.INFO: TCP Data received {"connection_id":173936,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:53:15] local.INFO: Processing buffer {"connection_id":173936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cb7070012d196540071fef68003b011024..."} 
[2026-09-06 13:53:15] local.INFO: Packet analysis {"connection_id":173936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:53:15] local.INFO: Extracted packet for processing {"connection_id":173936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cb"} 
[2026-09-06 13:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902684416001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:53:15] 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-09-06 13:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788682662000,"timestamp_ms":1788682662000,"timestamp_seconds":1788682662,"priority":1,"record_length":96,"hex_timestamp":"000001a075cb7070"} 
[2026-09-06 13:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:53:15] 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-09-06 13:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902684416001,"66":2155,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 13:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902684416001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:53:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902684416001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":173936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:53:15] local.INFO: GPS data processed {"connection_id":173936,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:53:15] local.INFO: Acknowledgment sent {"connection_id":173936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:53:26] local.INFO: TCP Data received {"connection_id":172557,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:53:26] local.INFO: Processing buffer {"connection_id":172557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:53:26] local.INFO: Packet analysis {"connection_id":172557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:53:26] local.INFO: Extracted packet for processing {"connection_id":172557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:53:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902715392001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:53: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-09-06 13:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788682783000,"timestamp_ms":1788682783000,"timestamp_seconds":1788682783,"priority":1,"record_length":96,"hex_timestamp":"000001a075cd4918"} 
[2026-09-06 13:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 13:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:53: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-09-06 13:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902715392001,"66":26060,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902715392001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:53:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:53:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902715392001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":172557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:53:26] local.INFO: GPS data processed {"connection_id":172557,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:53:26] local.INFO: Acknowledgment sent {"connection_id":172557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:53:28] local.INFO: TCP Data received {"connection_id":172558,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075cfd570012c48d1800a0ffac00227000228..."} 
[2026-09-06 13:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cfd570012c48d1800a0ffac00227000228..."} 
[2026-09-06 13:53:28] local.INFO: Processing buffer {"connection_id":172558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cfd570012c48d1800a0ffac00227000228..."} 
[2026-09-06 13:53:28] local.INFO: Packet analysis {"connection_id":172558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cf"} 
[2026-09-06 13:53:28] local.INFO: Extracted packet for processing {"connection_id":172558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cf"} 
[2026-09-06 13:53:28] local.INFO: GPS Element Parsed {"raw_longitude":742969728,"raw_latitude":168819392,"longitude_deg":74.2969728,"latitude_deg":16.8819392,"altitude":551,"angle":2,"satellites":40,"speed":52,"hex_longitude":"2c48d180","hex_latitude":"0a0ffac0","is_valid_coordinates":true} 
[2026-09-06 13:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902833152001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2731173998493696,"note":"Value kept but may cause issues"} 
[2026-09-06 13:53:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5247397296543625218,"note":"Value kept but may cause issues"} 
[2026-09-06 13:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788682950000,"timestamp_ms":1788682950000,"timestamp_seconds":1788682950,"priority":1,"record_length":96,"hex_timestamp":"000001a075cfd570"} 
[2026-09-06 13:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:53: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-09-06 13:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-06 13:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902833152001,"66":28137,"207":206,"37":23040,"24":52,"16":2731173998493696,"44":5247397296543625218},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,37,24,16,44]} 
[2026-09-06 13:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902833152001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:53:28] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-06 13:53:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2731173998493696,"km_value":2731173998493.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:53:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":5247397296543625218,"description":"Unknown IO ID 44"} 
[2026-09-06 13:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902833152001,"power":28137,"unknown_207":206,"unknown_37":23040,"ignition":52,"odometer":null,"unknown_44":5247397296543625218}} 
[2026-09-06 13:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":172558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774759,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:53:28] local.INFO: GPS data processed {"connection_id":172558,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:53:28] local.INFO: Acknowledgment sent {"connection_id":172558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:53:45] local.INFO: TCP Data received {"connection_id":173936,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:53:45] local.INFO: Processing buffer {"connection_id":173936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:53:45] local.INFO: Packet analysis {"connection_id":173936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:53:45] local.INFO: Extracted packet for processing {"connection_id":173936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:53:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902761472001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:53: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-09-06 13:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788682963000,"timestamp_ms":1788682963000,"timestamp_seconds":1788682963,"priority":1,"record_length":96,"hex_timestamp":"000001a075d00838"} 
[2026-09-06 13:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:53:45] 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-09-06 13: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:53: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-09-06 13: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-09-06 13:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:53:45] 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-09-06 13:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902761472001,"66":2166,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 13:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902761472001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:53:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:53:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902761472001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":173936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:53:45] local.INFO: GPS data processed {"connection_id":173936,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:53:45] local.INFO: Acknowledgment sent {"connection_id":173936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:53:48] local.INFO: TCP Data received {"connection_id":172559,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:53:48] local.INFO: Processing buffer {"connection_id":172559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:53:48] local.INFO: IMEI packet received {"connection_id":172559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":172559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:53:53] local.INFO: TCP Data received {"connection_id":172559,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:53:53] local.INFO: Processing buffer {"connection_id":172559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:53:53] local.INFO: IMEI packet received {"connection_id":172559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":172559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:53:54] local.INFO: TCP Data received {"connection_id":172559,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:53:54] local.INFO: Processing buffer {"connection_id":172559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:53:54] local.INFO: Packet analysis {"connection_id":172559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:53:54] local.INFO: Extracted packet for processing {"connection_id":172559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:53:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902715392001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788682783000,"timestamp_ms":1788682783000,"timestamp_seconds":1788682783,"priority":1,"record_length":96,"hex_timestamp":"000001a075cd4918"} 
[2026-09-06 13:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 13:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:53: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-09-06 13:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902715392001,"66":26060,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902715392001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:53:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:53:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902715392001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":172559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:53:54] local.INFO: GPS data processed {"connection_id":172559,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:53:54] local.INFO: Acknowledgment sent {"connection_id":172559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:53:59] local.INFO: TCP Data received {"connection_id":172560,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:53:59] local.INFO: Processing buffer {"connection_id":172560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:53:59] local.INFO: IMEI packet received {"connection_id":172560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 13:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":172560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:54:00] local.INFO: TCP Data received {"connection_id":172560,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:54:00] local.INFO: Processing buffer {"connection_id":172560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:54:00] local.INFO: IMEI packet received {"connection_id":172560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":172560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:54:05] local.INFO: TCP Data received {"connection_id":172560,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:54:05] local.INFO: Processing buffer {"connection_id":172560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 13:54:05] local.INFO: IMEI packet received {"connection_id":172560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 13:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":172560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:54:08] local.INFO: TCP Data received {"connection_id":172560,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075cff0c8012c48d4400a101fd00226000528..."} 
[2026-09-06 13:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cff0c8012c48d4400a101fd00226000528..."} 
[2026-09-06 13:54:08] local.INFO: Processing buffer {"connection_id":172560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cff0c8012c48d4400a101fd00226000528..."} 
[2026-09-06 13:54:08] local.INFO: Packet analysis {"connection_id":172560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cf"} 
[2026-09-06 13:54:08] local.INFO: Extracted packet for processing {"connection_id":172560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cf"} 
[2026-09-06 13:54:08] local.INFO: GPS Element Parsed {"raw_longitude":742970432,"raw_latitude":168828880,"longitude_deg":74.2970432,"latitude_deg":16.882888,"altitude":550,"angle":5,"satellites":40,"speed":55,"hex_longitude":"2c48d440","hex_latitude":"0a101fd0","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902835200001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2731637854961664,"note":"Value kept but may cause issues"} 
[2026-09-06 13:54:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":5247115821569458178,"note":"Value kept but may cause issues"} 
[2026-09-06 13:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788682957000,"timestamp_ms":1788682957000,"timestamp_seconds":1788682957,"priority":1,"record_length":96,"hex_timestamp":"000001a075cff0c8"} 
[2026-09-06 13:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:54: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-09-06 13: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-06 13:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 13:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 13:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 13:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902835200001,"66":28224,"207":206,"37":23040,"24":55,"16":2731637854961664,"44":5247115821569458178},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,37,24,16,44]} 
[2026-09-06 13:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 13:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 13:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902835200001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:54:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-06 13:54:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":23040,"description":"Unknown IO ID 37"} 
[2026-09-06 13:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2731637854961664,"km_value":2731637854961.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:54:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":5247115821569458178,"description":"Unknown IO ID 44"} 
[2026-09-06 13:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902835200001,"power":28224,"unknown_207":206,"unknown_37":23040,"ignition":55,"odometer":null,"unknown_44":5247115821569458178}} 
[2026-09-06 13:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":172560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774762,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:54:08] local.INFO: GPS data processed {"connection_id":172560,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:54:08] local.INFO: Acknowledgment sent {"connection_id":172560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:54:09] local.INFO: TCP Data received {"connection_id":172775,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:54:09] local.INFO: Processing buffer {"connection_id":172775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:54:09] local.INFO: IMEI packet received {"connection_id":172775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":172775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:54:14] local.INFO: TCP Data received {"connection_id":172775,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:54:14] local.INFO: Processing buffer {"connection_id":172775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:54:14] local.INFO: IMEI packet received {"connection_id":172775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":172775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:54:15] local.INFO: TCP Data received {"connection_id":172775,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:54:15] local.INFO: Processing buffer {"connection_id":172775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:54:15] local.INFO: Packet analysis {"connection_id":172775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:54:15] local.INFO: Extracted packet for processing {"connection_id":172775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902761472001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:54:15] 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-09-06 13:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788682963000,"timestamp_ms":1788682963000,"timestamp_seconds":1788682963,"priority":1,"record_length":96,"hex_timestamp":"000001a075d00838"} 
[2026-09-06 13:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:54:15] 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-09-06 13:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902761472001,"66":2166,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 13:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902761472001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:54:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:54:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902761472001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":172775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:54:15] local.INFO: GPS data processed {"connection_id":172775,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:54:15] local.INFO: Acknowledgment sent {"connection_id":172775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:54:25] local.INFO: TCP Data received {"connection_id":172559,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:54:25] local.INFO: Processing buffer {"connection_id":172559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:54:25] local.INFO: Packet analysis {"connection_id":172559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:54:25] local.INFO: Extracted packet for processing {"connection_id":172559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:54:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902715392001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788682783000,"timestamp_ms":1788682783000,"timestamp_seconds":1788682783,"priority":1,"record_length":96,"hex_timestamp":"000001a075cd4918"} 
[2026-09-06 13:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 13:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:54: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-09-06 13:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902715392001,"66":26060,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902715392001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:54:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:54:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902715392001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":172559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:54:25] local.INFO: GPS data processed {"connection_id":172559,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:54:25] local.INFO: Acknowledgment sent {"connection_id":172559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:54:46] local.INFO: TCP Data received {"connection_id":172775,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:54:46] local.INFO: Processing buffer {"connection_id":172775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:54:46] local.INFO: Packet analysis {"connection_id":172775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:54:46] local.INFO: Extracted packet for processing {"connection_id":172775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:54:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902761472001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:54:46] 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-09-06 13:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788682963000,"timestamp_ms":1788682963000,"timestamp_seconds":1788682963,"priority":1,"record_length":96,"hex_timestamp":"000001a075d00838"} 
[2026-09-06 13:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:54:46] 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-09-06 13:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:54:46] 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-09-06 13:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902761472001,"66":2166,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 13:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902761472001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:54:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902761472001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":172775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:54:46] local.INFO: GPS data processed {"connection_id":172775,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:54:46] local.INFO: Acknowledgment sent {"connection_id":172775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:54:47] local.INFO: TCP Data received {"connection_id":173937,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:54:47] local.INFO: Processing buffer {"connection_id":173937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:54:47] local.INFO: IMEI packet received {"connection_id":173937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":173937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:54:53] local.INFO: TCP Data received {"connection_id":173937,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:54:53] local.INFO: Processing buffer {"connection_id":173937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:54:53] local.INFO: IMEI packet received {"connection_id":173937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":173937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:54:54] local.INFO: TCP Data received {"connection_id":173937,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:54:54] local.INFO: Processing buffer {"connection_id":173937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075cd4918012d34c50006aa3d30000e013526..."} 
[2026-09-06 13:54:54] local.INFO: Packet analysis {"connection_id":173937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:54:54] local.INFO: Extracted packet for processing {"connection_id":173937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075cd"} 
[2026-09-06 13:54:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902715392001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:54: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-09-06 13:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788682783000,"timestamp_ms":1788682783000,"timestamp_seconds":1788682783,"priority":1,"record_length":96,"hex_timestamp":"000001a075cd4918"} 
[2026-09-06 13:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 13:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:54: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-09-06 13:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902715392001,"66":26060,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902715392001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:54:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:54:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902715392001,"power":26060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":173937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:54:54] local.INFO: GPS data processed {"connection_id":173937,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:54:54] local.INFO: Acknowledgment sent {"connection_id":173937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:55:14] local.INFO: TCP Data received {"connection_id":172561,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:55:14] local.INFO: Processing buffer {"connection_id":172561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:55:14] local.INFO: IMEI packet received {"connection_id":172561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":172561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:55:19] local.INFO: TCP Data received {"connection_id":172561,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:55:19] local.INFO: Processing buffer {"connection_id":172561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:55:19] local.INFO: IMEI packet received {"connection_id":172561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":172561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:55:20] local.INFO: TCP Data received {"connection_id":172561,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:55:20] local.INFO: Processing buffer {"connection_id":172561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:55:20] local.INFO: Packet analysis {"connection_id":172561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:55:20] local.INFO: Extracted packet for processing {"connection_id":172561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:55:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902761472001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:55:20] 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-09-06 13:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788682963000,"timestamp_ms":1788682963000,"timestamp_seconds":1788682963,"priority":1,"record_length":96,"hex_timestamp":"000001a075d00838"} 
[2026-09-06 13:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:55:20] 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-09-06 13:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:55:20] 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-09-06 13:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902761472001,"66":2166,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902761472001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:55:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:55:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902761472001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":172561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:55:20] local.INFO: GPS data processed {"connection_id":172561,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:55:20] local.INFO: Acknowledgment sent {"connection_id":172561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:55:24] local.INFO: TCP Data received {"connection_id":172561,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:55:24] local.INFO: Processing buffer {"connection_id":172561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:55:24] local.INFO: Packet analysis {"connection_id":172561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:55:24] local.INFO: Extracted packet for processing {"connection_id":172561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:55:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 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-09-06 13:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902761472001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:55:24] 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-09-06 13:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788682963000,"timestamp_ms":1788682963000,"timestamp_seconds":1788682963,"priority":1,"record_length":96,"hex_timestamp":"000001a075d00838"} 
[2026-09-06 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-09-06 13:55:24] 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-09-06 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 13:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:55:24] 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-09-06 13:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902761472001,"66":2166,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902761472001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:55:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:55:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902761472001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":172561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:55:24] local.INFO: GPS data processed {"connection_id":172561,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:55:24] local.INFO: Acknowledgment sent {"connection_id":172561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:55:25] local.INFO: TCP Data received {"connection_id":173937,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:55:25] local.INFO: Processing buffer {"connection_id":173937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:55:25] local.INFO: Packet analysis {"connection_id":173937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:55:25] local.INFO: Extracted packet for processing {"connection_id":173937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:55:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902792448001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788683084000,"timestamp_ms":1788683084000,"timestamp_seconds":1788683084,"priority":1,"record_length":96,"hex_timestamp":"000001a075d1e0e0"} 
[2026-09-06 13:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:55: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-09-06 13:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902792448001,"66":26006,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902792448001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:55:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:55:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902792448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":173937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:55:25] local.INFO: GPS data processed {"connection_id":173937,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:55:25] local.INFO: Acknowledgment sent {"connection_id":173937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:55:53] local.INFO: TCP Data received {"connection_id":172562,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:55:53] local.INFO: Processing buffer {"connection_id":172562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:55:53] local.INFO: IMEI packet received {"connection_id":172562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":172562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:55:58] local.INFO: TCP Data received {"connection_id":172562,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:55:58] local.INFO: Processing buffer {"connection_id":172562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:55:58] local.INFO: IMEI packet received {"connection_id":172562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":172562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:55:59] local.INFO: TCP Data received {"connection_id":172562,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:55:59] local.INFO: Processing buffer {"connection_id":172562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:55:59] local.INFO: Packet analysis {"connection_id":172562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:55:59] local.INFO: Extracted packet for processing {"connection_id":172562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:55:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902792448001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:55: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-09-06 13:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788683084000,"timestamp_ms":1788683084000,"timestamp_seconds":1788683084,"priority":1,"record_length":96,"hex_timestamp":"000001a075d1e0e0"} 
[2026-09-06 13:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:55: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-09-06 13:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902792448001,"66":26006,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902792448001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:55:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:55:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902792448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":172562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:55:59] local.INFO: GPS data processed {"connection_id":172562,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:55:59] local.INFO: Acknowledgment sent {"connection_id":172562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:56:03] local.INFO: TCP Data received {"connection_id":172562,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:56:03] local.INFO: Processing buffer {"connection_id":172562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:56:03] local.INFO: Packet analysis {"connection_id":172562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:56:03] local.INFO: Extracted packet for processing {"connection_id":172562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902792448001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:56: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-09-06 13:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788683084000,"timestamp_ms":1788683084000,"timestamp_seconds":1788683084,"priority":1,"record_length":96,"hex_timestamp":"000001a075d1e0e0"} 
[2026-09-06 13:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:56: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-09-06 13:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902792448001,"66":26006,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902792448001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:56:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:56:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902792448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":172562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:56:03] local.INFO: GPS data processed {"connection_id":172562,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:56:03] local.INFO: Acknowledgment sent {"connection_id":172562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:56:09] local.INFO: TCP Data received {"connection_id":172776,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:56:09] local.INFO: Processing buffer {"connection_id":172776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:56:09] local.INFO: IMEI packet received {"connection_id":172776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":172776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:56:14] local.INFO: TCP Data received {"connection_id":172776,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:56:14] local.INFO: Processing buffer {"connection_id":172776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:56:14] local.INFO: IMEI packet received {"connection_id":172776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":172776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:56:15] local.INFO: TCP Data received {"connection_id":172776,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:56:15] local.INFO: Processing buffer {"connection_id":172776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:56:15] local.INFO: Packet analysis {"connection_id":172776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:56:15] local.INFO: Extracted packet for processing {"connection_id":172776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902761472001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:56:15] 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-09-06 13:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788682963000,"timestamp_ms":1788682963000,"timestamp_seconds":1788682963,"priority":1,"record_length":96,"hex_timestamp":"000001a075d00838"} 
[2026-09-06 13:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902761472001,"66":2166,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902761472001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:56:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902761472001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":172776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:56:15] local.INFO: GPS data processed {"connection_id":172776,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:56:15] local.INFO: Acknowledgment sent {"connection_id":172776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:56:46] local.INFO: TCP Data received {"connection_id":172776,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:56:46] local.INFO: Processing buffer {"connection_id":172776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:56:46] local.INFO: Packet analysis {"connection_id":172776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:56:46] local.INFO: Extracted packet for processing {"connection_id":172776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902761472001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:56:46] 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-09-06 13:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788682963000,"timestamp_ms":1788682963000,"timestamp_seconds":1788682963,"priority":1,"record_length":96,"hex_timestamp":"000001a075d00838"} 
[2026-09-06 13:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:56:46] 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-09-06 13: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13: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-09-06 13:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902761472001,"66":2166,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902761472001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:56:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902761472001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":172776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:56:46] local.INFO: GPS data processed {"connection_id":172776,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:56:46] local.INFO: Acknowledgment sent {"connection_id":172776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:56:48] local.INFO: TCP Data received {"connection_id":175267,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:56:48] local.INFO: Processing buffer {"connection_id":175267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:56:48] local.INFO: IMEI packet received {"connection_id":175267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":175267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:56:53] local.INFO: TCP Data received {"connection_id":175267,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:56:53] local.INFO: Processing buffer {"connection_id":175267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:56:53] local.INFO: IMEI packet received {"connection_id":175267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":175267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:56:54] local.INFO: TCP Data received {"connection_id":175267,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:56:54] local.INFO: Processing buffer {"connection_id":175267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:56:54] local.INFO: Packet analysis {"connection_id":175267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:56:54] local.INFO: Extracted packet for processing {"connection_id":175267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:56:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902792448001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:56: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-09-06 13:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788683084000,"timestamp_ms":1788683084000,"timestamp_seconds":1788683084,"priority":1,"record_length":96,"hex_timestamp":"000001a075d1e0e0"} 
[2026-09-06 13:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:56: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-09-06 13:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902792448001,"66":26006,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902792448001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:56:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:56:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902792448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":175267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:56:54] local.INFO: GPS data processed {"connection_id":175267,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:56:54] local.INFO: Acknowledgment sent {"connection_id":175267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:57:09] local.INFO: TCP Data received {"connection_id":172777,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:57:09] local.INFO: Processing buffer {"connection_id":172777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:57:09] local.INFO: IMEI packet received {"connection_id":172777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":172777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:57:14] local.INFO: TCP Data received {"connection_id":172777,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:57:14] local.INFO: Processing buffer {"connection_id":172777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:57:14] local.INFO: IMEI packet received {"connection_id":172777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":172777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:57:15] local.INFO: TCP Data received {"connection_id":172777,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:57:15] local.INFO: Processing buffer {"connection_id":172777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:57:15] local.INFO: Packet analysis {"connection_id":172777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:57:15] local.INFO: Extracted packet for processing {"connection_id":172777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902761472001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:57:15] 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-09-06 13:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788682963000,"timestamp_ms":1788682963000,"timestamp_seconds":1788682963,"priority":1,"record_length":96,"hex_timestamp":"000001a075d00838"} 
[2026-09-06 13:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:57:15] 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-09-06 13:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902761472001,"66":2166,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 13:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902761472001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:57:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902761472001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":172777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:57:15] local.INFO: GPS data processed {"connection_id":172777,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:57:15] local.INFO: Acknowledgment sent {"connection_id":172777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:57:25] local.INFO: TCP Data received {"connection_id":175267,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:57:25] local.INFO: Processing buffer {"connection_id":175267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:57:25] local.INFO: Packet analysis {"connection_id":175267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:57:25] local.INFO: Extracted packet for processing {"connection_id":175267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:57:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902792448001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788683084000,"timestamp_ms":1788683084000,"timestamp_seconds":1788683084,"priority":1,"record_length":96,"hex_timestamp":"000001a075d1e0e0"} 
[2026-09-06 13:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:57: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-09-06 13:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902792448001,"66":26006,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902792448001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:57:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:57:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902792448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":175267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:57:25] local.INFO: GPS data processed {"connection_id":175267,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:57:25] local.INFO: Acknowledgment sent {"connection_id":175267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:57:46] local.INFO: TCP Data received {"connection_id":172777,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:57:46] local.INFO: Processing buffer {"connection_id":172777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:57:46] local.INFO: Packet analysis {"connection_id":172777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:57:46] local.INFO: Extracted packet for processing {"connection_id":172777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902761472001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:57:46] 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-09-06 13:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788682963000,"timestamp_ms":1788682963000,"timestamp_seconds":1788682963,"priority":1,"record_length":96,"hex_timestamp":"000001a075d00838"} 
[2026-09-06 13:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:57:46] 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-09-06 13:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:57:46] 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-09-06 13:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902761472001,"66":2166,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 13:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902761472001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:57:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902761472001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":172777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:57:46] local.INFO: GPS data processed {"connection_id":172777,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:57:46] local.INFO: Acknowledgment sent {"connection_id":172777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:57:51] local.INFO: TCP Data received {"connection_id":172778,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:57:51] local.INFO: Processing buffer {"connection_id":172778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:57:51] local.INFO: IMEI packet received {"connection_id":172778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":172778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:57:53] local.INFO: TCP Data received {"connection_id":172778,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:57:53] local.INFO: Processing buffer {"connection_id":172778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:57:53] local.INFO: IMEI packet received {"connection_id":172778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":172778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:57:54] local.INFO: TCP Data received {"connection_id":172778,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:57:54] local.INFO: Processing buffer {"connection_id":172778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:57:54] local.INFO: Packet analysis {"connection_id":172778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:57:54] local.INFO: Extracted packet for processing {"connection_id":172778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:57:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902792448001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:57: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-09-06 13:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788683084000,"timestamp_ms":1788683084000,"timestamp_seconds":1788683084,"priority":1,"record_length":96,"hex_timestamp":"000001a075d1e0e0"} 
[2026-09-06 13:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:57: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-09-06 13:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902792448001,"66":26006,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902792448001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:57:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:57:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902792448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":172778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:57:54] local.INFO: GPS data processed {"connection_id":172778,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:57:54] local.INFO: Acknowledgment sent {"connection_id":172778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:57:58] local.INFO: TCP Data received {"connection_id":172778,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:57:58] local.INFO: Processing buffer {"connection_id":172778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:57:58] local.INFO: Packet analysis {"connection_id":172778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:57:58] local.INFO: Extracted packet for processing {"connection_id":172778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:57:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902792448001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:57: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-09-06 13:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788683084000,"timestamp_ms":1788683084000,"timestamp_seconds":1788683084,"priority":1,"record_length":96,"hex_timestamp":"000001a075d1e0e0"} 
[2026-09-06 13:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:57: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-09-06 13:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902792448001,"66":26006,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902792448001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:57:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:57:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902792448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":172778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:57:58] local.INFO: GPS data processed {"connection_id":172778,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:57:58] local.INFO: Acknowledgment sent {"connection_id":172778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:58:09] local.INFO: TCP Data received {"connection_id":172563,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:58:09] local.INFO: Processing buffer {"connection_id":172563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:58:09] local.INFO: IMEI packet received {"connection_id":172563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":172563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:58:14] local.INFO: TCP Data received {"connection_id":172563,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:58:14] local.INFO: Processing buffer {"connection_id":172563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:58:14] local.INFO: IMEI packet received {"connection_id":172563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":172563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:58:15] local.INFO: TCP Data received {"connection_id":172563,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:58:15] local.INFO: Processing buffer {"connection_id":172563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d00838012d196540071fef68003b011026..."} 
[2026-09-06 13:58:15] local.INFO: Packet analysis {"connection_id":172563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:58:15] local.INFO: Extracted packet for processing {"connection_id":172563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d0"} 
[2026-09-06 13:58:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902761472001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:58:15] 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-09-06 13:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788682963000,"timestamp_ms":1788682963000,"timestamp_seconds":1788682963,"priority":1,"record_length":96,"hex_timestamp":"000001a075d00838"} 
[2026-09-06 13:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-06 13:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:58:15] 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-09-06 13:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902761472001,"66":2166,"103":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-06 13:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902761472001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:58:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 13:58:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902761472001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":172563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:58:15] local.INFO: GPS data processed {"connection_id":172563,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:58:15] local.INFO: Acknowledgment sent {"connection_id":172563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:58:29] local.INFO: TCP Data received {"connection_id":172778,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:58:29] local.INFO: Processing buffer {"connection_id":172778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:58:29] local.INFO: Packet analysis {"connection_id":172778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:58:29] local.INFO: Extracted packet for processing {"connection_id":172778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:58:29] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902792448001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:58: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-09-06 13:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788683084000,"timestamp_ms":1788683084000,"timestamp_seconds":1788683084,"priority":1,"record_length":96,"hex_timestamp":"000001a075d1e0e0"} 
[2026-09-06 13:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 13:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902792448001,"66":26006,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902792448001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:58:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:58:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902792448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":172778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:58:29] local.INFO: GPS data processed {"connection_id":172778,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:58:29] local.INFO: Acknowledgment sent {"connection_id":172778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:58:45] local.INFO: TCP Data received {"connection_id":172563,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 13:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 13:58:45] local.INFO: Processing buffer {"connection_id":172563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 13:58:45] local.INFO: Packet analysis {"connection_id":172563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 13:58:45] local.INFO: Extracted packet for processing {"connection_id":172563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 13:58:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902838528001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:58: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-09-06 13:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788683264000,"timestamp_ms":1788683264000,"timestamp_seconds":1788683264,"priority":1,"record_length":96,"hex_timestamp":"000001a075d4a000"} 
[2026-09-06 13:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:58:45] 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-09-06 13: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":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:58: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-09-06 13: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-09-06 13:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:58:45] 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-09-06 13:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902838528001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902838528001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:58:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:58:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902838528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":172563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:58:45] local.INFO: GPS data processed {"connection_id":172563,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:58:45] local.INFO: Acknowledgment sent {"connection_id":172563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:58:48] local.INFO: TCP Data received {"connection_id":175269,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:58:48] local.INFO: Processing buffer {"connection_id":175269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:58:48] local.INFO: IMEI packet received {"connection_id":175269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":175269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:58:53] local.INFO: TCP Data received {"connection_id":175269,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:58:53] local.INFO: Processing buffer {"connection_id":175269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:58:53] local.INFO: IMEI packet received {"connection_id":175269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":175269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:58:54] local.INFO: TCP Data received {"connection_id":175269,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:58:54] local.INFO: Processing buffer {"connection_id":175269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:58:54] local.INFO: Packet analysis {"connection_id":175269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:58:54] local.INFO: Extracted packet for processing {"connection_id":175269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:58:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902792448001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:58: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-09-06 13:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788683084000,"timestamp_ms":1788683084000,"timestamp_seconds":1788683084,"priority":1,"record_length":96,"hex_timestamp":"000001a075d1e0e0"} 
[2026-09-06 13:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:58: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-09-06 13:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902792448001,"66":26006,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902792448001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:58:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:58:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902792448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":175269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:58:54] local.INFO: GPS data processed {"connection_id":175269,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:58:54] local.INFO: Acknowledgment sent {"connection_id":175269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:59:08] local.INFO: TCP Data received {"connection_id":173939,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:59:08] local.INFO: Processing buffer {"connection_id":173939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:59:08] local.INFO: IMEI packet received {"connection_id":173939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 13:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":173939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:59:14] local.INFO: TCP Data received {"connection_id":173939,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:59:14] local.INFO: Processing buffer {"connection_id":173939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 13:59:14] local.INFO: IMEI packet received {"connection_id":173939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 13:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":173939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:59:15] local.INFO: TCP Data received {"connection_id":173939,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 13:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 13:59:15] local.INFO: Processing buffer {"connection_id":173939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 13:59:15] local.INFO: Packet analysis {"connection_id":173939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 13:59:15] local.INFO: Extracted packet for processing {"connection_id":173939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 13:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902838528001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788683264000,"timestamp_ms":1788683264000,"timestamp_seconds":1788683264,"priority":1,"record_length":96,"hex_timestamp":"000001a075d4a000"} 
[2026-09-06 13:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:59:15] 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-09-06 13:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:59:15] 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-09-06 13:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902838528001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902838528001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:59:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902838528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":173939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:59:15] local.INFO: GPS data processed {"connection_id":173939,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:59:15] local.INFO: Acknowledgment sent {"connection_id":173939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:59:25] local.INFO: TCP Data received {"connection_id":175269,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:59:25] local.INFO: Processing buffer {"connection_id":175269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:59:25] local.INFO: Packet analysis {"connection_id":175269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:59:25] local.INFO: Extracted packet for processing {"connection_id":175269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:59:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902792448001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13: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-09-06 13:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788683084000,"timestamp_ms":1788683084000,"timestamp_seconds":1788683084,"priority":1,"record_length":96,"hex_timestamp":"000001a075d1e0e0"} 
[2026-09-06 13:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:59: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-09-06 13:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902792448001,"66":26006,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902792448001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:59:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:59:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902792448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":175269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:59:25] local.INFO: GPS data processed {"connection_id":175269,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:59:25] local.INFO: Acknowledgment sent {"connection_id":175269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:59:46] local.INFO: TCP Data received {"connection_id":173939,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 13:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 13:59:46] local.INFO: Processing buffer {"connection_id":173939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 13:59:46] local.INFO: Packet analysis {"connection_id":173939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 13:59:46] local.INFO: Extracted packet for processing {"connection_id":173939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 13:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 13:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 13:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902838528001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 13:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 13:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 13:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788683264000,"timestamp_ms":1788683264000,"timestamp_seconds":1788683264,"priority":1,"record_length":96,"hex_timestamp":"000001a075d4a000"} 
[2026-09-06 13:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:59:46] 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-09-06 13:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 13:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 13:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 13:59:46] 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-09-06 13:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 13:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 13:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902838528001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 13:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 13:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 13:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902838528001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:59:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 13:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 13:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 13:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902838528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 13:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":173939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:59:46] local.INFO: GPS data processed {"connection_id":173939,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:59:46] local.INFO: Acknowledgment sent {"connection_id":173939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 13:59:47] local.INFO: TCP Data received {"connection_id":172564,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:59:47] local.INFO: Processing buffer {"connection_id":172564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:59:47] local.INFO: IMEI packet received {"connection_id":172564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 13:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":172564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 13:59:53] local.INFO: TCP Data received {"connection_id":172564,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:59:53] local.INFO: Processing buffer {"connection_id":172564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 13:59:53] local.INFO: IMEI packet received {"connection_id":172564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 13:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":172564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 13:59:54] local.INFO: TCP Data received {"connection_id":172564,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:59:54] local.INFO: Processing buffer {"connection_id":172564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d1e0e0012d34c50006aa3d30000e013528..."} 
[2026-09-06 13:59:54] local.INFO: Packet analysis {"connection_id":172564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:59:54] local.INFO: Extracted packet for processing {"connection_id":172564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d1"} 
[2026-09-06 13:59:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 13: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-09-06 13:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902792448001,"note":"Value kept but may cause issues"} 
[2026-09-06 13:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 13:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 13:59: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-09-06 13:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788683084000,"timestamp_ms":1788683084000,"timestamp_seconds":1788683084,"priority":1,"record_length":96,"hex_timestamp":"000001a075d1e0e0"} 
[2026-09-06 13:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 13:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 13: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 13:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 13: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-09-06 13:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 13:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 13:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 13:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 13:59: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-09-06 13:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 13:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 13:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902792448001,"66":26006,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 13:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 13:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 13:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902792448001,"description":"Unknown IO ID 0"} 
[2026-09-06 13:59:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 13:59:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 13:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 13:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 13:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902792448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 13:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":172564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 13:59:54] local.INFO: GPS data processed {"connection_id":172564,"processed":1,"errors":0,"total":1} 
[2026-09-06 13:59:54] local.INFO: Acknowledgment sent {"connection_id":172564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:00:08] local.INFO: TCP Data received {"connection_id":173941,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:00:08] local.INFO: Processing buffer {"connection_id":173941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:00:08] local.INFO: IMEI packet received {"connection_id":173941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 14:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":173941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:00:14] local.INFO: TCP Data received {"connection_id":173941,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:00:14] local.INFO: Processing buffer {"connection_id":173941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:00:14] local.INFO: IMEI packet received {"connection_id":173941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 14:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":173941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:00:15] local.INFO: TCP Data received {"connection_id":173941,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:00:15] local.INFO: Processing buffer {"connection_id":173941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:00:15] local.INFO: Packet analysis {"connection_id":173941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 14:00:15] local.INFO: Extracted packet for processing {"connection_id":173941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 14:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902838528001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788683264000,"timestamp_ms":1788683264000,"timestamp_seconds":1788683264,"priority":1,"record_length":96,"hex_timestamp":"000001a075d4a000"} 
[2026-09-06 14:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:00:15] 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-09-06 14:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:00:15] 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-09-06 14:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902838528001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 14:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902838528001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:00:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902838528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":173941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:00:15] local.INFO: GPS data processed {"connection_id":173941,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:00:15] local.INFO: Acknowledgment sent {"connection_id":173941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:00:25] local.INFO: TCP Data received {"connection_id":172564,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:00:25] local.INFO: Processing buffer {"connection_id":172564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:00:25] local.INFO: Packet analysis {"connection_id":172564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:00:25] local.INFO: Extracted packet for processing {"connection_id":172564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:00:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902869504001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788683385000,"timestamp_ms":1788683385000,"timestamp_seconds":1788683385,"priority":1,"record_length":96,"hex_timestamp":"000001a075d678a8"} 
[2026-09-06 14:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:00: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-09-06 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 14:00: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-09-06 14: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-09-06 14:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:00: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-09-06 14:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902869504001,"66":25995,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902869504001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:00:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:00:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902869504001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":172564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:00:25] local.INFO: GPS data processed {"connection_id":172564,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:00:25] local.INFO: Acknowledgment sent {"connection_id":172564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:00:46] local.INFO: TCP Data received {"connection_id":173941,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:00:46] local.INFO: Processing buffer {"connection_id":173941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:00:46] local.INFO: Packet analysis {"connection_id":173941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 14:00:46] local.INFO: Extracted packet for processing {"connection_id":173941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 14:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902838528001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788683264000,"timestamp_ms":1788683264000,"timestamp_seconds":1788683264,"priority":1,"record_length":96,"hex_timestamp":"000001a075d4a000"} 
[2026-09-06 14:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:00:46] 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-09-06 14:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:00:46] 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-09-06 14:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902838528001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 14:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902838528001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:00:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902838528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":173941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:00:46] local.INFO: GPS data processed {"connection_id":173941,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:00:46] local.INFO: Acknowledgment sent {"connection_id":173941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:00:53] local.INFO: TCP Data received {"connection_id":175270,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:00:53] local.INFO: Processing buffer {"connection_id":175270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:00:53] local.INFO: IMEI packet received {"connection_id":175270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":175270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:00:58] local.INFO: TCP Data received {"connection_id":175270,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:00:58] local.INFO: Processing buffer {"connection_id":175270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:00:58] local.INFO: IMEI packet received {"connection_id":175270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":175270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:00:59] local.INFO: TCP Data received {"connection_id":175270,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:00:59] local.INFO: Processing buffer {"connection_id":175270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:00:59] local.INFO: Packet analysis {"connection_id":175270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:00:59] local.INFO: Extracted packet for processing {"connection_id":175270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:00:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902869504001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788683385000,"timestamp_ms":1788683385000,"timestamp_seconds":1788683385,"priority":1,"record_length":96,"hex_timestamp":"000001a075d678a8"} 
[2026-09-06 14:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 14:00:59] 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-09-06 14: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-09-06 14:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:00:59] 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-09-06 14:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902869504001,"66":25995,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902869504001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:00:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:00:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902869504001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":175270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:00:59] local.INFO: GPS data processed {"connection_id":175270,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:00:59] local.INFO: Acknowledgment sent {"connection_id":175270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:01:14] local.INFO: TCP Data received {"connection_id":175271,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:01:14] local.INFO: Processing buffer {"connection_id":175271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:01:14] local.INFO: IMEI packet received {"connection_id":175271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 14:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":175271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:01:19] local.INFO: TCP Data received {"connection_id":175271,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:01:19] local.INFO: Processing buffer {"connection_id":175271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:01:19] local.INFO: IMEI packet received {"connection_id":175271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 14:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":175271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:01:20] local.INFO: TCP Data received {"connection_id":175271,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:01:20] local.INFO: Processing buffer {"connection_id":175271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:01:20] local.INFO: Packet analysis {"connection_id":175271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 14:01:20] local.INFO: Extracted packet for processing {"connection_id":175271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 14:01:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902838528001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788683264000,"timestamp_ms":1788683264000,"timestamp_seconds":1788683264,"priority":1,"record_length":96,"hex_timestamp":"000001a075d4a000"} 
[2026-09-06 14:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:01:20] 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-09-06 14:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:01:20] 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-09-06 14:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902838528001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 14:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902838528001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:01:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:01:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902838528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":175271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:01:20] local.INFO: GPS data processed {"connection_id":175271,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:01:20] local.INFO: Acknowledgment sent {"connection_id":175271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:01:24] local.INFO: TCP Data received {"connection_id":175271,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:01:24] local.INFO: Processing buffer {"connection_id":175271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:01:24] local.INFO: Packet analysis {"connection_id":175271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 14:01:24] local.INFO: Extracted packet for processing {"connection_id":175271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 14:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 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-09-06 14:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902838528001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788683264000,"timestamp_ms":1788683264000,"timestamp_seconds":1788683264,"priority":1,"record_length":96,"hex_timestamp":"000001a075d4a000"} 
[2026-09-06 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-09-06 14:01:24] 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-09-06 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 14:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:01:24] 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-09-06 14:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902838528001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 14:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902838528001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:01:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:01:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902838528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":175271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:01:25] local.INFO: GPS data processed {"connection_id":175271,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:01:25] local.INFO: Acknowledgment sent {"connection_id":175271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:01:30] local.INFO: TCP Data received {"connection_id":175270,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:01:30] local.INFO: Processing buffer {"connection_id":175270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:01:30] local.INFO: Packet analysis {"connection_id":175270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:01:30] local.INFO: Extracted packet for processing {"connection_id":175270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:01:30] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902869504001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:01: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-09-06 14:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788683385000,"timestamp_ms":1788683385000,"timestamp_seconds":1788683385,"priority":1,"record_length":96,"hex_timestamp":"000001a075d678a8"} 
[2026-09-06 14:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:01: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-09-06 14:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 14:01:30] 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-09-06 14:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:01:30] 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-09-06 14:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902869504001,"66":25995,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902869504001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:01:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:01:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902869504001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":175270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:01:30] local.INFO: GPS data processed {"connection_id":175270,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:01:30] local.INFO: Acknowledgment sent {"connection_id":175270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:01:48] local.INFO: TCP Data received {"connection_id":172565,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:01:48] local.INFO: Processing buffer {"connection_id":172565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:01:48] local.INFO: IMEI packet received {"connection_id":172565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":172565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:01:53] local.INFO: TCP Data received {"connection_id":172565,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:01:53] local.INFO: Processing buffer {"connection_id":172565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:01:53] local.INFO: IMEI packet received {"connection_id":172565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":172565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:01:54] local.INFO: TCP Data received {"connection_id":172565,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:01:54] local.INFO: Processing buffer {"connection_id":172565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:01:54] local.INFO: Packet analysis {"connection_id":172565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:01:54] local.INFO: Extracted packet for processing {"connection_id":172565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:01:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902869504001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788683385000,"timestamp_ms":1788683385000,"timestamp_seconds":1788683385,"priority":1,"record_length":96,"hex_timestamp":"000001a075d678a8"} 
[2026-09-06 14:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:01: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-09-06 14:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 14:01:54] 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-09-06 14:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:01: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-09-06 14:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902869504001,"66":25995,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902869504001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:01:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:01:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902869504001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":172565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:01:54] local.INFO: GPS data processed {"connection_id":172565,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:01:54] local.INFO: Acknowledgment sent {"connection_id":172565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:02:09] local.INFO: TCP Data received {"connection_id":173942,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:02:09] local.INFO: Processing buffer {"connection_id":173942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:02:09] local.INFO: IMEI packet received {"connection_id":173942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 14:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":173942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:02:14] local.INFO: TCP Data received {"connection_id":173942,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:02:14] local.INFO: Processing buffer {"connection_id":173942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:02:14] local.INFO: IMEI packet received {"connection_id":173942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 14:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":173942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:02:15] local.INFO: TCP Data received {"connection_id":173942,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:02:15] local.INFO: Processing buffer {"connection_id":173942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:02:15] local.INFO: Packet analysis {"connection_id":173942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 14:02:15] local.INFO: Extracted packet for processing {"connection_id":173942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 14:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902838528001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788683264000,"timestamp_ms":1788683264000,"timestamp_seconds":1788683264,"priority":1,"record_length":96,"hex_timestamp":"000001a075d4a000"} 
[2026-09-06 14:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:02:15] 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-09-06 14:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:02:15] 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-09-06 14:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902838528001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 14:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902838528001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:02:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902838528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":173942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:02:15] local.INFO: GPS data processed {"connection_id":173942,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:02:15] local.INFO: Acknowledgment sent {"connection_id":173942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:02:25] local.INFO: TCP Data received {"connection_id":172565,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:02:25] local.INFO: Processing buffer {"connection_id":172565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:02:25] local.INFO: Packet analysis {"connection_id":172565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:02:25] local.INFO: Extracted packet for processing {"connection_id":172565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:02:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902869504001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788683385000,"timestamp_ms":1788683385000,"timestamp_seconds":1788683385,"priority":1,"record_length":96,"hex_timestamp":"000001a075d678a8"} 
[2026-09-06 14:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:02: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-09-06 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 14:02: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-09-06 14: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-09-06 14:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:02: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-09-06 14:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902869504001,"66":25995,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902869504001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:02:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:02:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902869504001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":172565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:02:25] local.INFO: GPS data processed {"connection_id":172565,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:02:25] local.INFO: Acknowledgment sent {"connection_id":172565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:02:46] local.INFO: TCP Data received {"connection_id":173942,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:02:46] local.INFO: Processing buffer {"connection_id":173942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:02:46] local.INFO: Packet analysis {"connection_id":173942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 14:02:46] local.INFO: Extracted packet for processing {"connection_id":173942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 14:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902838528001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788683264000,"timestamp_ms":1788683264000,"timestamp_seconds":1788683264,"priority":1,"record_length":96,"hex_timestamp":"000001a075d4a000"} 
[2026-09-06 14:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:02:46] 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-09-06 14:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:02:46] 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-09-06 14:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902838528001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 14:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902838528001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:02:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902838528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":173942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:02:46] local.INFO: GPS data processed {"connection_id":173942,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:02:46] local.INFO: Acknowledgment sent {"connection_id":173942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:02:47] local.INFO: TCP Data received {"connection_id":172566,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:02:47] local.INFO: Processing buffer {"connection_id":172566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:02:47] local.INFO: IMEI packet received {"connection_id":172566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":172566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:02:53] local.INFO: TCP Data received {"connection_id":172566,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:02:53] local.INFO: Processing buffer {"connection_id":172566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:02:53] local.INFO: IMEI packet received {"connection_id":172566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":172566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:02:54] local.INFO: TCP Data received {"connection_id":172566,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:02:54] local.INFO: Processing buffer {"connection_id":172566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:02:54] local.INFO: Packet analysis {"connection_id":172566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:02:54] local.INFO: Extracted packet for processing {"connection_id":172566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:02:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902869504001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788683385000,"timestamp_ms":1788683385000,"timestamp_seconds":1788683385,"priority":1,"record_length":96,"hex_timestamp":"000001a075d678a8"} 
[2026-09-06 14:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:02: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-09-06 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 14:02:54] 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-09-06 14: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-09-06 14:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:02: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-09-06 14:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902869504001,"66":25995,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902869504001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:02:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:02:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902869504001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":172566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:02:54] local.INFO: GPS data processed {"connection_id":172566,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:02:54] local.INFO: Acknowledgment sent {"connection_id":172566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:03:09] local.INFO: TCP Data received {"connection_id":173943,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:03:09] local.INFO: Processing buffer {"connection_id":173943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:03:09] local.INFO: IMEI packet received {"connection_id":173943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 14:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":173943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:03:14] local.INFO: TCP Data received {"connection_id":173943,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:03:14] local.INFO: Processing buffer {"connection_id":173943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:03:14] local.INFO: IMEI packet received {"connection_id":173943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 14:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":173943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:03:15] local.INFO: TCP Data received {"connection_id":173943,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:03:15] local.INFO: Processing buffer {"connection_id":173943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d4a000012d196540071fef68003b011024..."} 
[2026-09-06 14:03:15] local.INFO: Packet analysis {"connection_id":173943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 14:03:15] local.INFO: Extracted packet for processing {"connection_id":173943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d4"} 
[2026-09-06 14:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902838528001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788683264000,"timestamp_ms":1788683264000,"timestamp_seconds":1788683264,"priority":1,"record_length":96,"hex_timestamp":"000001a075d4a000"} 
[2026-09-06 14:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:03:15] 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-09-06 14:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:03:15] 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-09-06 14:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902838528001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 14:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902838528001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:03:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902838528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":173943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:03:15] local.INFO: GPS data processed {"connection_id":173943,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:03:15] local.INFO: Acknowledgment sent {"connection_id":173943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:03:25] local.INFO: TCP Data received {"connection_id":172566,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:03:25] local.INFO: Processing buffer {"connection_id":172566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:03:25] local.INFO: Packet analysis {"connection_id":172566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:03:25] local.INFO: Extracted packet for processing {"connection_id":172566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 14:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902869504001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 14:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788683385000,"timestamp_ms":1788683385000,"timestamp_seconds":1788683385,"priority":1,"record_length":96,"hex_timestamp":"000001a075d678a8"} 
[2026-09-06 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-09-06 14:03: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-09-06 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 14:03: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-09-06 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-09-06 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-09-06 14:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:03: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-09-06 14:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902869504001,"66":25995,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902869504001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902869504001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":172566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:03:25] local.INFO: GPS data processed {"connection_id":172566,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:03:25] local.INFO: Acknowledgment sent {"connection_id":172566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:03:45] local.INFO: TCP Data received {"connection_id":173943,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:03:45] local.INFO: Processing buffer {"connection_id":173943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:03:45] local.INFO: Packet analysis {"connection_id":173943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:03:45] local.INFO: Extracted packet for processing {"connection_id":173943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:03:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902915584001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:03: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-09-06 14:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788683565000,"timestamp_ms":1788683565000,"timestamp_seconds":1788683565,"priority":1,"record_length":96,"hex_timestamp":"000001a075d937c8"} 
[2026-09-06 14:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:03:45] 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-09-06 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:03: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-09-06 14:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:03:45] 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-09-06 14:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902915584001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 14:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902915584001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:03:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:03:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902915584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":173943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:03:46] local.INFO: GPS data processed {"connection_id":173943,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:03:46] local.INFO: Acknowledgment sent {"connection_id":173943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:03:47] local.INFO: TCP Data received {"connection_id":175272,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:03:47] local.INFO: Processing buffer {"connection_id":175272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:03:47] local.INFO: IMEI packet received {"connection_id":175272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":175272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:03:53] local.INFO: TCP Data received {"connection_id":175272,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:03:53] local.INFO: Processing buffer {"connection_id":175272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:03:53] local.INFO: IMEI packet received {"connection_id":175272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":175272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:03:54] local.INFO: TCP Data received {"connection_id":175272,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:03:54] local.INFO: Processing buffer {"connection_id":175272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:03:54] local.INFO: Packet analysis {"connection_id":175272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:03:54] local.INFO: Extracted packet for processing {"connection_id":175272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:03:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902869504001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:03: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-09-06 14:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788683385000,"timestamp_ms":1788683385000,"timestamp_seconds":1788683385,"priority":1,"record_length":96,"hex_timestamp":"000001a075d678a8"} 
[2026-09-06 14:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:03: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-09-06 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 14:03:54] 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-09-06 14: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-09-06 14:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:03: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-09-06 14:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902869504001,"66":25995,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902869504001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:03:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:03:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902869504001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":175272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:03:54] local.INFO: GPS data processed {"connection_id":175272,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:03:54] local.INFO: Acknowledgment sent {"connection_id":175272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:04:08] local.INFO: TCP Data received {"connection_id":172779,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:04:08] local.INFO: Processing buffer {"connection_id":172779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:04:08] local.INFO: IMEI packet received {"connection_id":172779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 14:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":172779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:04:14] local.INFO: TCP Data received {"connection_id":172779,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:04:14] local.INFO: Processing buffer {"connection_id":172779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:04:14] local.INFO: IMEI packet received {"connection_id":172779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 14:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":172779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:04:15] local.INFO: TCP Data received {"connection_id":172779,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:04:15] local.INFO: Processing buffer {"connection_id":172779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:04:15] local.INFO: Packet analysis {"connection_id":172779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:04:15] local.INFO: Extracted packet for processing {"connection_id":172779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902915584001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788683565000,"timestamp_ms":1788683565000,"timestamp_seconds":1788683565,"priority":1,"record_length":96,"hex_timestamp":"000001a075d937c8"} 
[2026-09-06 14:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:04:15] 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-09-06 14:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 14:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902915584001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 14:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902915584001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:04:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902915584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":172779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:04:15] local.INFO: GPS data processed {"connection_id":172779,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:04:15] local.INFO: Acknowledgment sent {"connection_id":172779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:04:25] local.INFO: TCP Data received {"connection_id":175272,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:04:25] local.INFO: Processing buffer {"connection_id":175272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:04:25] local.INFO: Packet analysis {"connection_id":175272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:04:25] local.INFO: Extracted packet for processing {"connection_id":175272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:04:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902869504001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788683385000,"timestamp_ms":1788683385000,"timestamp_seconds":1788683385,"priority":1,"record_length":96,"hex_timestamp":"000001a075d678a8"} 
[2026-09-06 14:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:04: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-09-06 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 14:04: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-09-06 14: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-09-06 14:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:04: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-09-06 14:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902869504001,"66":25995,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902869504001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:04:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:04:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902869504001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":175272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:04:25] local.INFO: GPS data processed {"connection_id":175272,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:04:25] local.INFO: Acknowledgment sent {"connection_id":175272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:04:46] local.INFO: TCP Data received {"connection_id":172779,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:04:46] local.INFO: Processing buffer {"connection_id":172779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:04:46] local.INFO: Packet analysis {"connection_id":172779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:04:46] local.INFO: Extracted packet for processing {"connection_id":172779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902915584001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788683565000,"timestamp_ms":1788683565000,"timestamp_seconds":1788683565,"priority":1,"record_length":96,"hex_timestamp":"000001a075d937c8"} 
[2026-09-06 14:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:04:46] 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-09-06 14: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":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 14:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902915584001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 14:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902915584001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:04:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902915584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":172779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:04:46] local.INFO: GPS data processed {"connection_id":172779,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:04:46] local.INFO: Acknowledgment sent {"connection_id":172779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:04:47] local.INFO: TCP Data received {"connection_id":173944,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:04:47] local.INFO: Processing buffer {"connection_id":173944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:04:47] local.INFO: IMEI packet received {"connection_id":173944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":173944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:04:53] local.INFO: TCP Data received {"connection_id":173944,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:04:53] local.INFO: Processing buffer {"connection_id":173944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:04:53] local.INFO: IMEI packet received {"connection_id":173944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":173944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:04:54] local.INFO: TCP Data received {"connection_id":173944,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:04:54] local.INFO: Processing buffer {"connection_id":173944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d678a8012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:04:54] local.INFO: Packet analysis {"connection_id":173944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:04:54] local.INFO: Extracted packet for processing {"connection_id":173944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d6"} 
[2026-09-06 14:04:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902869504001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788683385000,"timestamp_ms":1788683385000,"timestamp_seconds":1788683385,"priority":1,"record_length":96,"hex_timestamp":"000001a075d678a8"} 
[2026-09-06 14:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:04: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-09-06 14: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-06 14:04:54] 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-09-06 14: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-09-06 14:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:04: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-09-06 14:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902869504001,"66":25995,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902869504001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:04:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:04:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902869504001,"power":25995,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":173944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:04:54] local.INFO: GPS data processed {"connection_id":173944,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:04:54] local.INFO: Acknowledgment sent {"connection_id":173944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:05:14] local.INFO: TCP Data received {"connection_id":172780,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:05:14] local.INFO: Processing buffer {"connection_id":172780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:05:14] local.INFO: IMEI packet received {"connection_id":172780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 14:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":172780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:05:19] local.INFO: TCP Data received {"connection_id":172780,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:05:19] local.INFO: Processing buffer {"connection_id":172780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:05:19] local.INFO: IMEI packet received {"connection_id":172780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 14:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":172780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:05:20] local.INFO: TCP Data received {"connection_id":172780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:05:20] local.INFO: Processing buffer {"connection_id":172780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:05:20] local.INFO: Packet analysis {"connection_id":172780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:05:20] local.INFO: Extracted packet for processing {"connection_id":172780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:05:20] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902915584001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788683565000,"timestamp_ms":1788683565000,"timestamp_seconds":1788683565,"priority":1,"record_length":96,"hex_timestamp":"000001a075d937c8"} 
[2026-09-06 14:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:05:20] 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-09-06 14:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 14:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902915584001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 14:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902915584001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:05:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:05:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902915584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":172780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:05:20] local.INFO: GPS data processed {"connection_id":172780,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:05:20] local.INFO: Acknowledgment sent {"connection_id":172780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:05:24] local.INFO: TCP Data received {"connection_id":172780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:05:24] local.INFO: Processing buffer {"connection_id":172780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:05:24] local.INFO: Packet analysis {"connection_id":172780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:05:24] local.INFO: Extracted packet for processing {"connection_id":172780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:05:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902915584001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788683565000,"timestamp_ms":1788683565000,"timestamp_seconds":1788683565,"priority":1,"record_length":96,"hex_timestamp":"000001a075d937c8"} 
[2026-09-06 14:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:05:24] 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-09-06 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 14:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902915584001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 14:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902915584001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:05:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:05:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902915584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":172780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:05:24] local.INFO: GPS data processed {"connection_id":172780,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:05:24] local.INFO: Acknowledgment sent {"connection_id":172780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:05:25] local.INFO: TCP Data received {"connection_id":173944,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:05:25] local.INFO: Processing buffer {"connection_id":173944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:05:25] local.INFO: Packet analysis {"connection_id":173944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:05:25] local.INFO: Extracted packet for processing {"connection_id":173944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902946560001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788683686000,"timestamp_ms":1788683686000,"timestamp_seconds":1788683686,"priority":1,"record_length":96,"hex_timestamp":"000001a075db1070"} 
[2026-09-06 14:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:05: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-09-06 14: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-06 14:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:05: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-09-06 14:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902946560001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902946560001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:05:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902946560001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":173944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:05:25] local.INFO: GPS data processed {"connection_id":173944,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:05:25] local.INFO: Acknowledgment sent {"connection_id":173944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:05:53] local.INFO: TCP Data received {"connection_id":172567,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:05:53] local.INFO: Processing buffer {"connection_id":172567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:05:53] local.INFO: IMEI packet received {"connection_id":172567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":172567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:05:58] local.INFO: TCP Data received {"connection_id":172567,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:05:58] local.INFO: Processing buffer {"connection_id":172567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:05:58] local.INFO: IMEI packet received {"connection_id":172567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":172567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:05:59] local.INFO: TCP Data received {"connection_id":172567,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:05:59] local.INFO: Processing buffer {"connection_id":172567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:05:59] local.INFO: Packet analysis {"connection_id":172567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:05:59] local.INFO: Extracted packet for processing {"connection_id":172567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:05:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902946560001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:05: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-09-06 14:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788683686000,"timestamp_ms":1788683686000,"timestamp_seconds":1788683686,"priority":1,"record_length":96,"hex_timestamp":"000001a075db1070"} 
[2026-09-06 14:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-06 14:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:05: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-09-06 14:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902946560001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902946560001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:05:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:05:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902946560001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":172567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:05:59] local.INFO: GPS data processed {"connection_id":172567,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:05:59] local.INFO: Acknowledgment sent {"connection_id":172567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:06:09] local.INFO: TCP Data received {"connection_id":172568,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:06:09] local.INFO: Processing buffer {"connection_id":172568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:06:09] local.INFO: IMEI packet received {"connection_id":172568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 14:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":172568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:06:14] local.INFO: TCP Data received {"connection_id":172568,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:06:14] local.INFO: Processing buffer {"connection_id":172568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:06:14] local.INFO: IMEI packet received {"connection_id":172568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 14:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":172568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:06:15] local.INFO: TCP Data received {"connection_id":172568,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:06:15] local.INFO: Processing buffer {"connection_id":172568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:06:15] local.INFO: Packet analysis {"connection_id":172568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:06:15] local.INFO: Extracted packet for processing {"connection_id":172568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902915584001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788683565000,"timestamp_ms":1788683565000,"timestamp_seconds":1788683565,"priority":1,"record_length":96,"hex_timestamp":"000001a075d937c8"} 
[2026-09-06 14:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:06:15] 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-09-06 14:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:06:15] 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-09-06 14:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902915584001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 14:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902915584001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:06:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902915584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":172568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:06:15] local.INFO: GPS data processed {"connection_id":172568,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:06:15] local.INFO: Acknowledgment sent {"connection_id":172568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:06:30] local.INFO: TCP Data received {"connection_id":172567,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:06:30] local.INFO: Processing buffer {"connection_id":172567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:06:30] local.INFO: Packet analysis {"connection_id":172567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:06:30] local.INFO: Extracted packet for processing {"connection_id":172567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:06:30] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902946560001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:06: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-09-06 14:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788683686000,"timestamp_ms":1788683686000,"timestamp_seconds":1788683686,"priority":1,"record_length":96,"hex_timestamp":"000001a075db1070"} 
[2026-09-06 14:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:06: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-09-06 14: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-06 14:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 14:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902946560001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902946560001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:06:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:06:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902946560001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":172567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:06:30] local.INFO: GPS data processed {"connection_id":172567,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:06:30] local.INFO: Acknowledgment sent {"connection_id":172567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:06:46] local.INFO: TCP Data received {"connection_id":172568,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:06:46] local.INFO: Processing buffer {"connection_id":172568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:06:46] local.INFO: Packet analysis {"connection_id":172568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:06:46] local.INFO: Extracted packet for processing {"connection_id":172568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:06:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902915584001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788683565000,"timestamp_ms":1788683565000,"timestamp_seconds":1788683565,"priority":1,"record_length":96,"hex_timestamp":"000001a075d937c8"} 
[2026-09-06 14:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:06:46] 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-09-06 14:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:06:46] 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-09-06 14:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902915584001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 14:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902915584001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:06:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902915584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":172568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:06:46] local.INFO: GPS data processed {"connection_id":172568,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:06:46] local.INFO: Acknowledgment sent {"connection_id":172568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:06:48] local.INFO: TCP Data received {"connection_id":172781,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:06:48] local.INFO: Processing buffer {"connection_id":172781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:06:48] local.INFO: IMEI packet received {"connection_id":172781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":172781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:06:53] local.INFO: TCP Data received {"connection_id":172781,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:06:53] local.INFO: Processing buffer {"connection_id":172781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:06:53] local.INFO: IMEI packet received {"connection_id":172781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":172781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:06:54] local.INFO: TCP Data received {"connection_id":172781,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:06:54] local.INFO: Processing buffer {"connection_id":172781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:06:54] local.INFO: Packet analysis {"connection_id":172781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:06:54] local.INFO: Extracted packet for processing {"connection_id":172781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:06:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902946560001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788683686000,"timestamp_ms":1788683686000,"timestamp_seconds":1788683686,"priority":1,"record_length":96,"hex_timestamp":"000001a075db1070"} 
[2026-09-06 14:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:06: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-09-06 14: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-06 14:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:06: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-09-06 14:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902946560001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902946560001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:06:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:06:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902946560001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":172781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:06:54] local.INFO: GPS data processed {"connection_id":172781,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:06:54] local.INFO: Acknowledgment sent {"connection_id":172781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:07:09] local.INFO: TCP Data received {"connection_id":172782,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:07:09] local.INFO: Processing buffer {"connection_id":172782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:07:09] local.INFO: IMEI packet received {"connection_id":172782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 14:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":172782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:07:14] local.INFO: TCP Data received {"connection_id":172782,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:07:14] local.INFO: Processing buffer {"connection_id":172782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:07:14] local.INFO: IMEI packet received {"connection_id":172782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 14:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":172782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:07:15] local.INFO: TCP Data received {"connection_id":172782,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:07:15] local.INFO: Processing buffer {"connection_id":172782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:07:15] local.INFO: Packet analysis {"connection_id":172782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:07:15] local.INFO: Extracted packet for processing {"connection_id":172782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902915584001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788683565000,"timestamp_ms":1788683565000,"timestamp_seconds":1788683565,"priority":1,"record_length":96,"hex_timestamp":"000001a075d937c8"} 
[2026-09-06 14:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:07:15] 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-09-06 14:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 14:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902915584001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 14:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902915584001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:07:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:07:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902915584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":172782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:07:15] local.INFO: GPS data processed {"connection_id":172782,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:07:15] local.INFO: Acknowledgment sent {"connection_id":172782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:07:25] local.INFO: TCP Data received {"connection_id":172781,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:07:25] local.INFO: Processing buffer {"connection_id":172781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:07:25] local.INFO: Packet analysis {"connection_id":172781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:07:25] local.INFO: Extracted packet for processing {"connection_id":172781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:07:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902946560001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788683686000,"timestamp_ms":1788683686000,"timestamp_seconds":1788683686,"priority":1,"record_length":96,"hex_timestamp":"000001a075db1070"} 
[2026-09-06 14:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:07: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-09-06 14: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-06 14:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:07: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-09-06 14:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902946560001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902946560001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:07:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:07:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902946560001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":172781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:07:25] local.INFO: GPS data processed {"connection_id":172781,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:07:25] local.INFO: Acknowledgment sent {"connection_id":172781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:07:46] local.INFO: TCP Data received {"connection_id":172782,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:07:46] local.INFO: Processing buffer {"connection_id":172782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:07:46] local.INFO: Packet analysis {"connection_id":172782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:07:46] local.INFO: Extracted packet for processing {"connection_id":172782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902915584001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788683565000,"timestamp_ms":1788683565000,"timestamp_seconds":1788683565,"priority":1,"record_length":96,"hex_timestamp":"000001a075d937c8"} 
[2026-09-06 14:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:07:46] 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-09-06 14:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:07: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-09-06 14:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902915584001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-06 14:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902915584001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:07:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902915584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":172782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:07:46] local.INFO: GPS data processed {"connection_id":172782,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:07:46] local.INFO: Acknowledgment sent {"connection_id":172782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:07:47] local.INFO: TCP Data received {"connection_id":175273,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:07:47] local.INFO: Processing buffer {"connection_id":175273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:07:47] local.INFO: IMEI packet received {"connection_id":175273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":175273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:07:53] local.INFO: TCP Data received {"connection_id":175273,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:07:53] local.INFO: Processing buffer {"connection_id":175273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:07:53] local.INFO: IMEI packet received {"connection_id":175273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":175273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:07:54] local.INFO: TCP Data received {"connection_id":175273,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:07:54] local.INFO: Processing buffer {"connection_id":175273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:07:54] local.INFO: Packet analysis {"connection_id":175273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:07:54] local.INFO: Extracted packet for processing {"connection_id":175273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:07:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902946560001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788683686000,"timestamp_ms":1788683686000,"timestamp_seconds":1788683686,"priority":1,"record_length":96,"hex_timestamp":"000001a075db1070"} 
[2026-09-06 14:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:07: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-09-06 14: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-06 14:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:07: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-09-06 14:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902946560001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902946560001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:07:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:07:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902946560001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":175273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:07:54] local.INFO: GPS data processed {"connection_id":175273,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:07:54] local.INFO: Acknowledgment sent {"connection_id":175273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:08:09] local.INFO: TCP Data received {"connection_id":172783,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:08:09] local.INFO: Processing buffer {"connection_id":172783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:08:09] local.INFO: IMEI packet received {"connection_id":172783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 14:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":172783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:08:11] local.INFO: TCP Data received {"connection_id":173946,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:08:11] local.INFO: Processing buffer {"connection_id":173946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:08:11] local.INFO: IMEI packet received {"connection_id":173946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 14:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":173946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:08:12] local.INFO: TCP Data received {"connection_id":173946,"ip":"117.225.177.103","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:08:12] local.INFO: Processing buffer {"connection_id":173946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:08:12] local.INFO: IMEI packet received {"connection_id":173946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 14:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":173946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:08:13] local.INFO: TCP Data received {"connection_id":173946,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075dccdc0012c4432800a1efb300261015a29..."} 
[2026-09-06 14:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075dccdc0012c4432800a1efb300261015a29..."} 
[2026-09-06 14:08:13] local.INFO: Processing buffer {"connection_id":173946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075dccdc0012c4432800a1efb300261015a29..."} 
[2026-09-06 14:08:13] local.INFO: Packet analysis {"connection_id":173946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075dc"} 
[2026-09-06 14:08:13] local.INFO: Extracted packet for processing {"connection_id":173946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075dc"} 
[2026-09-06 14:08:13] local.INFO: GPS Element Parsed {"raw_longitude":742666880,"raw_latitude":169802544,"longitude_deg":74.266688,"latitude_deg":16.9802544,"altitude":609,"angle":346,"satellites":41,"speed":55,"hex_longitude":"2c443280","hex_latitude":"0a1efb30","is_valid_coordinates":true} 
[2026-09-06 14:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903051008001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2784556147015680,"note":"Value kept but may cause issues"} 
[2026-09-06 14:08:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4916945674137071618,"note":"Value kept but may cause issues"} 
[2026-09-06 14:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788683800000,"timestamp_ms":1788683800000,"timestamp_seconds":1788683800,"priority":1,"record_length":96,"hex_timestamp":"000001a075dccdc0"} 
[2026-09-06 14:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 14:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 14:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 14:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 14:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 14:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 14:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 14:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903051008001,"66":28050,"246":206,"37":23296,"24":55,"16":2784556147015680,"44":4916945674137071618},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,37,24,16,44]} 
[2026-09-06 14:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 14:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 14:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903051008001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:08:13] local.INFO: Unknown IO ID detected {"io_id":37,"value":23296,"description":"Unknown IO ID 37"} 
[2026-09-06 14:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2784556147015680,"km_value":2784556147015.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:08:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":4916945674137071618,"description":"Unknown IO ID 44"} 
[2026-09-06 14:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903051008001,"power":28050,"main_input_voltage":206,"unknown_37":23296,"ignition":55,"odometer":null,"unknown_44":4916945674137071618}} 
[2026-09-06 14:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":173946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774820,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:08:13] local.INFO: GPS data processed {"connection_id":173946,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:08:13] local.INFO: Acknowledgment sent {"connection_id":173946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:08:14] local.INFO: TCP Data received {"connection_id":172783,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:08:14] local.INFO: Processing buffer {"connection_id":172783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:08:14] local.INFO: IMEI packet received {"connection_id":172783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 14:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":172783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:08:15] local.INFO: TCP Data received {"connection_id":172783,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:08:15] local.INFO: Processing buffer {"connection_id":172783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075d937c8012d196540071fef68003b011026..."} 
[2026-09-06 14:08:15] local.INFO: Packet analysis {"connection_id":172783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:08:15] local.INFO: Extracted packet for processing {"connection_id":172783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075d9"} 
[2026-09-06 14:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902915584001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788683565000,"timestamp_ms":1788683565000,"timestamp_seconds":1788683565,"priority":1,"record_length":96,"hex_timestamp":"000001a075d937c8"} 
[2026-09-06 14:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:08:15] 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-09-06 14:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:08:15] 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-09-06 14:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902915584001,"66":2166,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 14:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902915584001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:08:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:08:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902915584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":172783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:08:15] local.INFO: GPS data processed {"connection_id":172783,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:08:15] local.INFO: Acknowledgment sent {"connection_id":172783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:08:16] local.INFO: TCP Data received {"connection_id":173946,"ip":"117.225.177.103","data_length":795,"data_hex":"000000000000030f8e0a000001a075dce918012c4429c00a1f20400263015b29..."} 
[2026-09-06 14:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075dce918012c4429c00a1f20400263015b29..."} 
[2026-09-06 14:08:16] local.INFO: Processing buffer {"connection_id":173946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075dce918012c4429c00a1f20400263015b29..."} 
[2026-09-06 14:08:16] local.INFO: Packet analysis {"connection_id":173946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075dc"} 
[2026-09-06 14:08:16] local.INFO: Extracted packet for processing {"connection_id":173946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075dc"} 
[2026-09-06 14:08:16] local.INFO: GPS Element Parsed {"raw_longitude":742664640,"raw_latitude":169812032,"longitude_deg":74.266464,"latitude_deg":16.9812032,"altitude":611,"angle":347,"satellites":41,"speed":55,"hex_longitude":"2c4429c0","hex_latitude":"0a1f2040","is_valid_coordinates":true} 
[2026-09-06 14:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903052800001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2785028593418240,"note":"Value kept but may cause issues"} 
[2026-09-06 14:08:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4914130924372439042,"note":"Value kept but may cause issues"} 
[2026-09-06 14:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,37,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788683807000,"timestamp_ms":1788683807000,"timestamp_seconds":1788683807,"priority":1,"record_length":96,"hex_timestamp":"000001a075dce918"} 
[2026-09-06 14:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:08: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-09-06 14:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-06 14:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 14:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 14:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.177.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 14:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 14:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 14:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903052800001,"66":28082,"246":206,"37":23296,"24":55,"16":2785028593418240,"44":4914130924372439042},"client_ip":"117.225.177.103","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,37,24,16,44]} 
[2026-09-06 14:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 14:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 14:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903052800001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:08:16] local.INFO: Unknown IO ID detected {"io_id":37,"value":23296,"description":"Unknown IO ID 37"} 
[2026-09-06 14:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":2785028593418240,"km_value":2785028593418.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:08:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":4914130924372439042,"description":"Unknown IO ID 44"} 
[2026-09-06 14:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903052800001,"power":28082,"main_input_voltage":206,"unknown_37":23296,"ignition":55,"odometer":null,"unknown_44":4914130924372439042}} 
[2026-09-06 14:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":173946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774822,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:08:16] local.INFO: GPS data processed {"connection_id":173946,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:08:16] local.INFO: Acknowledgment sent {"connection_id":173946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:08:25] local.INFO: TCP Data received {"connection_id":175273,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:08:25] local.INFO: Processing buffer {"connection_id":175273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:08:25] local.INFO: Packet analysis {"connection_id":175273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:08:25] local.INFO: Extracted packet for processing {"connection_id":175273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:08:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902946560001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788683686000,"timestamp_ms":1788683686000,"timestamp_seconds":1788683686,"priority":1,"record_length":96,"hex_timestamp":"000001a075db1070"} 
[2026-09-06 14:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:08: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-09-06 14: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-06 14:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:08: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-09-06 14:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902946560001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902946560001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:08:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:08:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902946560001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":175273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:08:25] local.INFO: GPS data processed {"connection_id":175273,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:08:25] local.INFO: Acknowledgment sent {"connection_id":175273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:08:45] local.INFO: TCP Data received {"connection_id":172783,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075ddcf90012d196540071fef68003b011024..."} 
[2026-09-06 14:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ddcf90012d196540071fef68003b011024..."} 
[2026-09-06 14:08:45] local.INFO: Processing buffer {"connection_id":172783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ddcf90012d196540071fef68003b011024..."} 
[2026-09-06 14:08:45] local.INFO: Packet analysis {"connection_id":172783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075dd"} 
[2026-09-06 14:08:45] local.INFO: Extracted packet for processing {"connection_id":172783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075dd"} 
[2026-09-06 14:08:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902992640001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788683866000,"timestamp_ms":1788683866000,"timestamp_seconds":1788683866,"priority":1,"record_length":96,"hex_timestamp":"000001a075ddcf90"} 
[2026-09-06 14:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:08: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-09-06 14:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:08:45] 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-09-06 14:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902992640001,"66":2155,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 14:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902992640001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:08:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:08:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902992640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":172783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:08:45] local.INFO: GPS data processed {"connection_id":172783,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:08:45] local.INFO: Acknowledgment sent {"connection_id":172783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:08:47] local.INFO: TCP Data received {"connection_id":172569,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:08:47] local.INFO: Processing buffer {"connection_id":172569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:08:47] local.INFO: IMEI packet received {"connection_id":172569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":172569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:08:53] local.INFO: TCP Data received {"connection_id":172569,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:08:53] local.INFO: Processing buffer {"connection_id":172569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:08:53] local.INFO: IMEI packet received {"connection_id":172569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":172569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:08:53] local.INFO: TCP Data received {"connection_id":172569,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:08:53] local.INFO: Processing buffer {"connection_id":172569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:08:53] local.INFO: Packet analysis {"connection_id":172569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:08:53] local.INFO: Extracted packet for processing {"connection_id":172569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902946560001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788683686000,"timestamp_ms":1788683686000,"timestamp_seconds":1788683686,"priority":1,"record_length":96,"hex_timestamp":"000001a075db1070"} 
[2026-09-06 14:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:08: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-09-06 14: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-06 14:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:08: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-09-06 14:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902946560001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902946560001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:08:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902946560001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":172569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:08:54] local.INFO: GPS data processed {"connection_id":172569,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:08:54] local.INFO: Acknowledgment sent {"connection_id":172569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:09:14] local.INFO: TCP Data received {"connection_id":175274,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:09:14] local.INFO: Processing buffer {"connection_id":175274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:09:14] local.INFO: IMEI packet received {"connection_id":175274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 14:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":175274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:09:20] local.INFO: TCP Data received {"connection_id":175274,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:09:20] local.INFO: Processing buffer {"connection_id":175274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 14:09:20] local.INFO: IMEI packet received {"connection_id":175274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 14:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":175274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:09:21] local.INFO: TCP Data received {"connection_id":175274,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075ddcf90012d196540071fef68003b011024..."} 
[2026-09-06 14:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ddcf90012d196540071fef68003b011024..."} 
[2026-09-06 14:09:21] local.INFO: Processing buffer {"connection_id":175274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ddcf90012d196540071fef68003b011024..."} 
[2026-09-06 14:09:21] local.INFO: Packet analysis {"connection_id":175274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075dd"} 
[2026-09-06 14:09:21] local.INFO: Extracted packet for processing {"connection_id":175274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075dd"} 
[2026-09-06 14:09:21] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902992640001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788683866000,"timestamp_ms":1788683866000,"timestamp_seconds":1788683866,"priority":1,"record_length":96,"hex_timestamp":"000001a075ddcf90"} 
[2026-09-06 14:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:09:21] 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-09-06 14:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902992640001,"66":2155,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 14:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902992640001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:09:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:09:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902992640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":175274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:09:21] local.INFO: GPS data processed {"connection_id":175274,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:09:21] local.INFO: Acknowledgment sent {"connection_id":175274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:09:24] local.INFO: TCP Data received {"connection_id":175274,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075ddcf90012d196540071fef68003b011024..."} 
[2026-09-06 14:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ddcf90012d196540071fef68003b011024..."} 
[2026-09-06 14:09:24] local.INFO: Processing buffer {"connection_id":175274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ddcf90012d196540071fef68003b011024..."} 
[2026-09-06 14:09:24] local.INFO: Packet analysis {"connection_id":175274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075dd"} 
[2026-09-06 14:09:24] local.INFO: Extracted packet for processing {"connection_id":175274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075dd"} 
[2026-09-06 14:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533416,"longitude_deg":75.663904,"latitude_deg":11.9533416,"altitude":59,"angle":272,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902992640001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18249178601750528,"note":"Value kept but may cause issues"} 
[2026-09-06 14:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940706816,"note":"Value kept but may cause issues"} 
[2026-09-06 14:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788683866000,"timestamp_ms":1788683866000,"timestamp_seconds":1788683866,"priority":1,"record_length":96,"hex_timestamp":"000001a075ddcf90"} 
[2026-09-06 14:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8960,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-06 14:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-06 14:09:24] 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-09-06 14:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-06 14:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-06 14:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902992640001,"66":2155,"102":206,"83":41984,"24":0,"16":18249178601750528,"45":1829939222940706816},"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-09-06 14:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-06 14:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-06 14:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902992640001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:09:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-06 14:09:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-06 14:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18249178601750528,"km_value":18249178601750.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940706816,"description":"Unknown IO ID 45"} 
[2026-09-06 14:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902992640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940706816}} 
[2026-09-06 14:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":175274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:09:24] local.INFO: GPS data processed {"connection_id":175274,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:09:24] local.INFO: Acknowledgment sent {"connection_id":175274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:09:26] local.INFO: TCP Data received {"connection_id":172569,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:09:26] local.INFO: Processing buffer {"connection_id":172569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:09:26] local.INFO: Packet analysis {"connection_id":172569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:09:26] local.INFO: Extracted packet for processing {"connection_id":172569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:09:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902946560001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788683686000,"timestamp_ms":1788683686000,"timestamp_seconds":1788683686,"priority":1,"record_length":96,"hex_timestamp":"000001a075db1070"} 
[2026-09-06 14:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-06 14:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:09: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-09-06 14:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902946560001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902946560001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:09:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:09:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902946560001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":172569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:09:26] local.INFO: GPS data processed {"connection_id":172569,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:09:26] local.INFO: Acknowledgment sent {"connection_id":172569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:09:53] local.INFO: TCP Data received {"connection_id":173947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:09:53] local.INFO: Processing buffer {"connection_id":173947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:09:53] local.INFO: IMEI packet received {"connection_id":173947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":173947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:09:58] local.INFO: TCP Data received {"connection_id":173947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:09:58] local.INFO: Processing buffer {"connection_id":173947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:09:58] local.INFO: IMEI packet received {"connection_id":173947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":173947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:09:58] local.INFO: TCP Data received {"connection_id":173947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:09:58] local.INFO: Processing buffer {"connection_id":173947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:09:58] local.INFO: Packet analysis {"connection_id":173947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:09:58] local.INFO: Extracted packet for processing {"connection_id":173947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:09:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902946560001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788683686000,"timestamp_ms":1788683686000,"timestamp_seconds":1788683686,"priority":1,"record_length":96,"hex_timestamp":"000001a075db1070"} 
[2026-09-06 14:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-06 14:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:09: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-09-06 14:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902946560001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902946560001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:09:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:09:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902946560001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":173947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:09:58] local.INFO: GPS data processed {"connection_id":173947,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:09:58] local.INFO: Acknowledgment sent {"connection_id":173947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:10:03] local.INFO: TCP Data received {"connection_id":173947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:10:03] local.INFO: Processing buffer {"connection_id":173947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075db1070012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:10:03] local.INFO: Packet analysis {"connection_id":173947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:10:03] local.INFO: Extracted packet for processing {"connection_id":173947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075db"} 
[2026-09-06 14:10:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457902946560001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:10: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-09-06 14:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788683686000,"timestamp_ms":1788683686000,"timestamp_seconds":1788683686,"priority":1,"record_length":96,"hex_timestamp":"000001a075db1070"} 
[2026-09-06 14:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-06 14:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:10:03] 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-09-06 14:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457902946560001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457902946560001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:10:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:10:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457902946560001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":173947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:10:03] local.INFO: GPS data processed {"connection_id":173947,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:10:03] local.INFO: Acknowledgment sent {"connection_id":173947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:10:48] local.INFO: TCP Data received {"connection_id":172784,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:10:48] local.INFO: Processing buffer {"connection_id":172784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:10:48] local.INFO: IMEI packet received {"connection_id":172784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":172784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:10:53] local.INFO: TCP Data received {"connection_id":172784,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:10:53] local.INFO: Processing buffer {"connection_id":172784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:10:53] local.INFO: IMEI packet received {"connection_id":172784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":172784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:10:54] local.INFO: TCP Data received {"connection_id":172784,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:10:54] local.INFO: Processing buffer {"connection_id":172784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:10:54] local.INFO: Packet analysis {"connection_id":172784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:10:54] local.INFO: Extracted packet for processing {"connection_id":172784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:10:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903023616001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788683987000,"timestamp_ms":1788683987000,"timestamp_seconds":1788683987,"priority":1,"record_length":96,"hex_timestamp":"000001a075dfa838"} 
[2026-09-06 14:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:10: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-09-06 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:10: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-09-06 14:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903023616001,"66":25962,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903023616001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:10:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:10:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903023616001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":172784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:10:54] local.INFO: GPS data processed {"connection_id":172784,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:10:54] local.INFO: Acknowledgment sent {"connection_id":172784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:11:25] local.INFO: TCP Data received {"connection_id":172784,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:11:25] local.INFO: Processing buffer {"connection_id":172784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:11:25] local.INFO: Packet analysis {"connection_id":172784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:11:25] local.INFO: Extracted packet for processing {"connection_id":172784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:11:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903023616001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788683987000,"timestamp_ms":1788683987000,"timestamp_seconds":1788683987,"priority":1,"record_length":96,"hex_timestamp":"000001a075dfa838"} 
[2026-09-06 14:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:11: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-09-06 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:11: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-09-06 14:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903023616001,"66":25962,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903023616001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:11:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:11:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903023616001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":172784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:11:25] local.INFO: GPS data processed {"connection_id":172784,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:11:25] local.INFO: Acknowledgment sent {"connection_id":172784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:11:48] local.INFO: TCP Data received {"connection_id":172570,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:11:48] local.INFO: Processing buffer {"connection_id":172570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:11:48] local.INFO: IMEI packet received {"connection_id":172570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":172570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:11:53] local.INFO: TCP Data received {"connection_id":172570,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:11:53] local.INFO: Processing buffer {"connection_id":172570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:11:53] local.INFO: IMEI packet received {"connection_id":172570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":172570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:11:54] local.INFO: TCP Data received {"connection_id":172570,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:11:54] local.INFO: Processing buffer {"connection_id":172570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:11:54] local.INFO: Packet analysis {"connection_id":172570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:11:54] local.INFO: Extracted packet for processing {"connection_id":172570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903023616001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788683987000,"timestamp_ms":1788683987000,"timestamp_seconds":1788683987,"priority":1,"record_length":96,"hex_timestamp":"000001a075dfa838"} 
[2026-09-06 14:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:11: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-09-06 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:11: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-09-06 14:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903023616001,"66":25962,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903023616001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:11:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:11:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903023616001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":172570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:11:54] local.INFO: GPS data processed {"connection_id":172570,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:11:54] local.INFO: Acknowledgment sent {"connection_id":172570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:12:24] local.INFO: TCP Data received {"connection_id":172571,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:12:24] local.INFO: Processing buffer {"connection_id":172571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:12:24] local.INFO: IMEI packet received {"connection_id":172571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 14:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":172571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:12:25] local.INFO: TCP Data received {"connection_id":172570,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:12:25] local.INFO: Processing buffer {"connection_id":172570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:12:25] local.INFO: Packet analysis {"connection_id":172570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:12:25] local.INFO: Extracted packet for processing {"connection_id":172570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:12:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903023616001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788683987000,"timestamp_ms":1788683987000,"timestamp_seconds":1788683987,"priority":1,"record_length":96,"hex_timestamp":"000001a075dfa838"} 
[2026-09-06 14:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:12: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-09-06 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:12: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-09-06 14:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903023616001,"66":25962,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903023616001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:12:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:12:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903023616001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":172570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:12:25] local.INFO: GPS data processed {"connection_id":172570,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:12:25] local.INFO: Acknowledgment sent {"connection_id":172570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:12:47] local.INFO: TCP Data received {"connection_id":175275,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:12:47] local.INFO: Processing buffer {"connection_id":175275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:12:47] local.INFO: IMEI packet received {"connection_id":175275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":175275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:12:53] local.INFO: TCP Data received {"connection_id":175275,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:12:53] local.INFO: Processing buffer {"connection_id":175275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:12:53] local.INFO: IMEI packet received {"connection_id":175275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":175275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:12:54] local.INFO: TCP Data received {"connection_id":175275,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:12:54] local.INFO: Processing buffer {"connection_id":175275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:12:54] local.INFO: Packet analysis {"connection_id":175275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:12:54] local.INFO: Extracted packet for processing {"connection_id":175275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:12:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903023616001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:12: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-09-06 14:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788683987000,"timestamp_ms":1788683987000,"timestamp_seconds":1788683987,"priority":1,"record_length":96,"hex_timestamp":"000001a075dfa838"} 
[2026-09-06 14:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:12: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-09-06 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:12: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-09-06 14:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903023616001,"66":25962,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903023616001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:12:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:12:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903023616001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":175275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:12:54] local.INFO: GPS data processed {"connection_id":175275,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:12:54] local.INFO: Acknowledgment sent {"connection_id":175275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:13:25] local.INFO: TCP Data received {"connection_id":175275,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:13:25] local.INFO: Processing buffer {"connection_id":175275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:13:25] local.INFO: Packet analysis {"connection_id":175275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:13:25] local.INFO: Extracted packet for processing {"connection_id":175275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:13:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903023616001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788683987000,"timestamp_ms":1788683987000,"timestamp_seconds":1788683987,"priority":1,"record_length":96,"hex_timestamp":"000001a075dfa838"} 
[2026-09-06 14:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:13: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-09-06 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:13: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-09-06 14:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903023616001,"66":25962,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903023616001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:13:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:13:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903023616001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":175275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:13:25] local.INFO: GPS data processed {"connection_id":175275,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:13:25] local.INFO: Acknowledgment sent {"connection_id":175275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:13:47] local.INFO: TCP Data received {"connection_id":175276,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:13:47] local.INFO: Processing buffer {"connection_id":175276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:13:47] local.INFO: IMEI packet received {"connection_id":175276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":175276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:13:53] local.INFO: TCP Data received {"connection_id":175276,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:13:53] local.INFO: Processing buffer {"connection_id":175276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:13:53] local.INFO: IMEI packet received {"connection_id":175276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":175276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:13:54] local.INFO: TCP Data received {"connection_id":175276,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:13:54] local.INFO: Processing buffer {"connection_id":175276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:13:54] local.INFO: Packet analysis {"connection_id":175276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:13:54] local.INFO: Extracted packet for processing {"connection_id":175276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:13:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903023616001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:13: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-09-06 14:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788683987000,"timestamp_ms":1788683987000,"timestamp_seconds":1788683987,"priority":1,"record_length":96,"hex_timestamp":"000001a075dfa838"} 
[2026-09-06 14:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:13: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-09-06 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:13: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-09-06 14:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903023616001,"66":25962,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903023616001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:13:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:13:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903023616001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":175276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:13:54] local.INFO: GPS data processed {"connection_id":175276,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:13:54] local.INFO: Acknowledgment sent {"connection_id":175276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:14:25] local.INFO: TCP Data received {"connection_id":175276,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:14:25] local.INFO: Processing buffer {"connection_id":175276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:14:25] local.INFO: Packet analysis {"connection_id":175276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:14:25] local.INFO: Extracted packet for processing {"connection_id":175276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:14:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903023616001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:14: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-09-06 14:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788683987000,"timestamp_ms":1788683987000,"timestamp_seconds":1788683987,"priority":1,"record_length":96,"hex_timestamp":"000001a075dfa838"} 
[2026-09-06 14:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:14: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-09-06 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:14: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-09-06 14:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903023616001,"66":25962,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903023616001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:14:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:14:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903023616001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":175276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:14:25] local.INFO: GPS data processed {"connection_id":175276,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:14:25] local.INFO: Acknowledgment sent {"connection_id":175276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:14:53] local.INFO: TCP Data received {"connection_id":175277,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:14:53] local.INFO: Processing buffer {"connection_id":175277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:14:53] local.INFO: IMEI packet received {"connection_id":175277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":175277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:14:58] local.INFO: TCP Data received {"connection_id":175277,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:14:58] local.INFO: Processing buffer {"connection_id":175277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:14:58] local.INFO: IMEI packet received {"connection_id":175277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":175277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:14:58] local.INFO: TCP Data received {"connection_id":175277,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:14:58] local.INFO: Processing buffer {"connection_id":175277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:14:58] local.INFO: Packet analysis {"connection_id":175277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:14:58] local.INFO: Extracted packet for processing {"connection_id":175277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:14:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903023616001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788683987000,"timestamp_ms":1788683987000,"timestamp_seconds":1788683987,"priority":1,"record_length":96,"hex_timestamp":"000001a075dfa838"} 
[2026-09-06 14:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14: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-09-06 14: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":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:14: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-09-06 14:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903023616001,"66":25962,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903023616001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:14:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:14:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903023616001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":175277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:14:58] local.INFO: GPS data processed {"connection_id":175277,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:14:58] local.INFO: Acknowledgment sent {"connection_id":175277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:15:03] local.INFO: TCP Data received {"connection_id":175277,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:15:03] local.INFO: Processing buffer {"connection_id":175277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075dfa838012d34c50006aa3d30000e013529..."} 
[2026-09-06 14:15:03] local.INFO: Packet analysis {"connection_id":175277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:15:03] local.INFO: Extracted packet for processing {"connection_id":175277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075df"} 
[2026-09-06 14:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903023616001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:15: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-09-06 14:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788683987000,"timestamp_ms":1788683987000,"timestamp_seconds":1788683987,"priority":1,"record_length":96,"hex_timestamp":"000001a075dfa838"} 
[2026-09-06 14:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 14:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903023616001,"66":25962,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903023616001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:15:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:15:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903023616001,"power":25962,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":175277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:15:03] local.INFO: GPS data processed {"connection_id":175277,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:15:03] local.INFO: Acknowledgment sent {"connection_id":175277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:15:48] local.INFO: TCP Data received {"connection_id":173950,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:15:48] local.INFO: Processing buffer {"connection_id":173950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:15:48] local.INFO: IMEI packet received {"connection_id":173950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":173950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:15:53] local.INFO: TCP Data received {"connection_id":173950,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:15:53] local.INFO: Processing buffer {"connection_id":173950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:15:53] local.INFO: IMEI packet received {"connection_id":173950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":173950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:15:54] local.INFO: TCP Data received {"connection_id":173950,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:15:54] local.INFO: Processing buffer {"connection_id":173950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:15:54] local.INFO: Packet analysis {"connection_id":173950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:15:54] local.INFO: Extracted packet for processing {"connection_id":173950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:15:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903100672001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788684288000,"timestamp_ms":1788684288000,"timestamp_seconds":1788684288,"priority":1,"record_length":96,"hex_timestamp":"000001a075e44000"} 
[2026-09-06 14:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14: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-09-06 14: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":106,"data_length":795,"current_offset":136} 
[2026-09-06 14:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:15: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-09-06 14:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903100672001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903100672001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:15:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:15:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903100672001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":173950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:15:54] local.INFO: GPS data processed {"connection_id":173950,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:15:54] local.INFO: Acknowledgment sent {"connection_id":173950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:16:26] local.INFO: TCP Data received {"connection_id":173950,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:16:26] local.INFO: Processing buffer {"connection_id":173950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:16:26] local.INFO: Packet analysis {"connection_id":173950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:16:26] local.INFO: Extracted packet for processing {"connection_id":173950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:16:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903100672001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:16: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-09-06 14:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788684288000,"timestamp_ms":1788684288000,"timestamp_seconds":1788684288,"priority":1,"record_length":96,"hex_timestamp":"000001a075e44000"} 
[2026-09-06 14:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-06 14:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:16: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-09-06 14:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903100672001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903100672001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:16:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:16:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903100672001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":173950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:16:26] local.INFO: GPS data processed {"connection_id":173950,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:16:26] local.INFO: Acknowledgment sent {"connection_id":173950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:16:48] local.INFO: TCP Data received {"connection_id":172786,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:16:48] local.INFO: Processing buffer {"connection_id":172786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:16:48] local.INFO: IMEI packet received {"connection_id":172786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":172786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:16:53] local.INFO: TCP Data received {"connection_id":172786,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:16:53] local.INFO: Processing buffer {"connection_id":172786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:16:53] local.INFO: IMEI packet received {"connection_id":172786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":172786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:16:54] local.INFO: TCP Data received {"connection_id":172786,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:16:54] local.INFO: Processing buffer {"connection_id":172786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:16:54] local.INFO: Packet analysis {"connection_id":172786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:16:54] local.INFO: Extracted packet for processing {"connection_id":172786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:16:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903100672001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:16: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-09-06 14:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788684288000,"timestamp_ms":1788684288000,"timestamp_seconds":1788684288,"priority":1,"record_length":96,"hex_timestamp":"000001a075e44000"} 
[2026-09-06 14:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:16: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-09-06 14: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-06 14:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:16: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-09-06 14:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903100672001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903100672001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:16:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:16:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903100672001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":172786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:16:54] local.INFO: GPS data processed {"connection_id":172786,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:16:54] local.INFO: Acknowledgment sent {"connection_id":172786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:17:25] local.INFO: TCP Data received {"connection_id":172786,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:17:25] local.INFO: Processing buffer {"connection_id":172786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:17:25] local.INFO: Packet analysis {"connection_id":172786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:17:25] local.INFO: Extracted packet for processing {"connection_id":172786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:17:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 14:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903100672001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 14:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788684288000,"timestamp_ms":1788684288000,"timestamp_seconds":1788684288,"priority":1,"record_length":96,"hex_timestamp":"000001a075e44000"} 
[2026-09-06 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-09-06 14:17: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-09-06 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-06 14:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 14:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:17: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-09-06 14:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903100672001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903100672001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:17:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:17:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903100672001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":172786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:17:25] local.INFO: GPS data processed {"connection_id":172786,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:17:25] local.INFO: Acknowledgment sent {"connection_id":172786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:17:47] local.INFO: TCP Data received {"connection_id":175278,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:17:47] local.INFO: Processing buffer {"connection_id":175278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:17:47] local.INFO: IMEI packet received {"connection_id":175278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 14:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":175278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:17:47] local.INFO: TCP Data received {"connection_id":172788,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:17:47] local.INFO: Processing buffer {"connection_id":172788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:17:47] local.INFO: IMEI packet received {"connection_id":172788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":172788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:17:53] local.INFO: TCP Data received {"connection_id":172788,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:17:53] local.INFO: Processing buffer {"connection_id":172788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:17:53] local.INFO: IMEI packet received {"connection_id":172788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":172788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:17:54] local.INFO: TCP Data received {"connection_id":172788,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:17:54] local.INFO: Processing buffer {"connection_id":172788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:17:54] local.INFO: Packet analysis {"connection_id":172788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:17:54] local.INFO: Extracted packet for processing {"connection_id":172788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:17:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903100672001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788684288000,"timestamp_ms":1788684288000,"timestamp_seconds":1788684288,"priority":1,"record_length":96,"hex_timestamp":"000001a075e44000"} 
[2026-09-06 14:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:17: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-09-06 14: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-06 14:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:17: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-09-06 14:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903100672001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903100672001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:17:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:17:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903100672001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":172788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:17:54] local.INFO: GPS data processed {"connection_id":172788,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:17:54] local.INFO: Acknowledgment sent {"connection_id":172788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:18:25] local.INFO: TCP Data received {"connection_id":172788,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:18:25] local.INFO: Processing buffer {"connection_id":172788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:18:25] local.INFO: Packet analysis {"connection_id":172788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:18:25] local.INFO: Extracted packet for processing {"connection_id":172788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:18:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903100672001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788684288000,"timestamp_ms":1788684288000,"timestamp_seconds":1788684288,"priority":1,"record_length":96,"hex_timestamp":"000001a075e44000"} 
[2026-09-06 14:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14: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-09-06 14:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-06 14:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:18: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-09-06 14:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903100672001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903100672001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:18:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:18:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903100672001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":172788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:18:25] local.INFO: GPS data processed {"connection_id":172788,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:18:25] local.INFO: Acknowledgment sent {"connection_id":172788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:18:47] local.INFO: TCP Data received {"connection_id":172789,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:18:47] local.INFO: Processing buffer {"connection_id":172789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:18:47] local.INFO: IMEI packet received {"connection_id":172789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":172789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:18:53] local.INFO: TCP Data received {"connection_id":172789,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:18:53] local.INFO: Processing buffer {"connection_id":172789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:18:53] local.INFO: IMEI packet received {"connection_id":172789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":172789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:18:54] local.INFO: TCP Data received {"connection_id":172789,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:18:54] local.INFO: Processing buffer {"connection_id":172789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:18:54] local.INFO: Packet analysis {"connection_id":172789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:18:54] local.INFO: Extracted packet for processing {"connection_id":172789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:18:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903100672001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:18: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-09-06 14:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788684288000,"timestamp_ms":1788684288000,"timestamp_seconds":1788684288,"priority":1,"record_length":96,"hex_timestamp":"000001a075e44000"} 
[2026-09-06 14:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:18: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-09-06 14: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-06 14:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:18: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-09-06 14:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903100672001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903100672001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:18:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:18:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903100672001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":172789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:18:54] local.INFO: GPS data processed {"connection_id":172789,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:18:54] local.INFO: Acknowledgment sent {"connection_id":172789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:19:25] local.INFO: TCP Data received {"connection_id":172789,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:19:25] local.INFO: Processing buffer {"connection_id":172789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:19:25] local.INFO: Packet analysis {"connection_id":172789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:19:25] local.INFO: Extracted packet for processing {"connection_id":172789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:19:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903100672001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788684288000,"timestamp_ms":1788684288000,"timestamp_seconds":1788684288,"priority":1,"record_length":96,"hex_timestamp":"000001a075e44000"} 
[2026-09-06 14:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:19: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-09-06 14: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":106,"data_length":795,"current_offset":136} 
[2026-09-06 14:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:19: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-09-06 14:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903100672001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903100672001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:19:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:19:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903100672001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":172789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:19:25] local.INFO: GPS data processed {"connection_id":172789,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:19:25] local.INFO: Acknowledgment sent {"connection_id":172789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:19:53] local.INFO: TCP Data received {"connection_id":173954,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:19:53] local.INFO: Processing buffer {"connection_id":173954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:19:53] local.INFO: IMEI packet received {"connection_id":173954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":173954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:19:58] local.INFO: TCP Data received {"connection_id":173954,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:19:58] local.INFO: Processing buffer {"connection_id":173954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:19:58] local.INFO: IMEI packet received {"connection_id":173954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":173954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:19:59] local.INFO: TCP Data received {"connection_id":173954,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:19:59] local.INFO: Processing buffer {"connection_id":173954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:19:59] local.INFO: Packet analysis {"connection_id":173954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:19:59] local.INFO: Extracted packet for processing {"connection_id":173954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:19:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903100672001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:19: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-09-06 14:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788684288000,"timestamp_ms":1788684288000,"timestamp_seconds":1788684288,"priority":1,"record_length":96,"hex_timestamp":"000001a075e44000"} 
[2026-09-06 14:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-06 14:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:19:59] 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-09-06 14:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903100672001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903100672001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:19:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:19:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903100672001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":173954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:19:59] local.INFO: GPS data processed {"connection_id":173954,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:19:59] local.INFO: Acknowledgment sent {"connection_id":173954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:20:03] local.INFO: TCP Data received {"connection_id":173954,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:20:03] local.INFO: Processing buffer {"connection_id":173954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e44000012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:20:03] local.INFO: Packet analysis {"connection_id":173954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:20:03] local.INFO: Extracted packet for processing {"connection_id":173954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e4"} 
[2026-09-06 14:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903100672001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:20: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-09-06 14:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788684288000,"timestamp_ms":1788684288000,"timestamp_seconds":1788684288,"priority":1,"record_length":96,"hex_timestamp":"000001a075e44000"} 
[2026-09-06 14:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-06 14:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:20: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-09-06 14:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903100672001,"66":25973,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903100672001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:20:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903100672001,"power":25973,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":173954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:20:03] local.INFO: GPS data processed {"connection_id":173954,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:20:03] local.INFO: Acknowledgment sent {"connection_id":173954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:20:48] local.INFO: TCP Data received {"connection_id":172790,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:20:48] local.INFO: Processing buffer {"connection_id":172790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:20:48] local.INFO: IMEI packet received {"connection_id":172790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":172790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:20:53] local.INFO: TCP Data received {"connection_id":172790,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:20:53] local.INFO: Processing buffer {"connection_id":172790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:20:53] local.INFO: IMEI packet received {"connection_id":172790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":172790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:20:53] local.INFO: TCP Data received {"connection_id":172790,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:20:53] local.INFO: Processing buffer {"connection_id":172790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:20:53] local.INFO: Packet analysis {"connection_id":172790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:20:53] local.INFO: Extracted packet for processing {"connection_id":172790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903177728001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788684589000,"timestamp_ms":1788684589000,"timestamp_seconds":1788684589,"priority":1,"record_length":96,"hex_timestamp":"000001a075e8d7c8"} 
[2026-09-06 14:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:20: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-09-06 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14: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-09-06 14:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903177728001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903177728001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:20:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903177728001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":172790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:20:53] local.INFO: GPS data processed {"connection_id":172790,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:20:53] local.INFO: Acknowledgment sent {"connection_id":172790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:21:25] local.INFO: TCP Data received {"connection_id":172790,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:21:25] local.INFO: Processing buffer {"connection_id":172790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:21:25] local.INFO: Packet analysis {"connection_id":172790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:21:25] local.INFO: Extracted packet for processing {"connection_id":172790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:21:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903177728001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788684589000,"timestamp_ms":1788684589000,"timestamp_seconds":1788684589,"priority":1,"record_length":96,"hex_timestamp":"000001a075e8d7c8"} 
[2026-09-06 14:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:21: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-09-06 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:21: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-09-06 14:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903177728001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903177728001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:21:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:21:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903177728001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":172790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:21:25] local.INFO: GPS data processed {"connection_id":172790,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:21:25] local.INFO: Acknowledgment sent {"connection_id":172790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:21:47] local.INFO: TCP Data received {"connection_id":175279,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:21:47] local.INFO: Processing buffer {"connection_id":175279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:21:47] local.INFO: IMEI packet received {"connection_id":175279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":175279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:21:53] local.INFO: TCP Data received {"connection_id":175279,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:21:53] local.INFO: Processing buffer {"connection_id":175279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:21:53] local.INFO: IMEI packet received {"connection_id":175279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":175279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:21:54] local.INFO: TCP Data received {"connection_id":175279,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:21:54] local.INFO: Processing buffer {"connection_id":175279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:21:54] local.INFO: Packet analysis {"connection_id":175279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:21:54] local.INFO: Extracted packet for processing {"connection_id":175279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:21:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903177728001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:21: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-09-06 14:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788684589000,"timestamp_ms":1788684589000,"timestamp_seconds":1788684589,"priority":1,"record_length":96,"hex_timestamp":"000001a075e8d7c8"} 
[2026-09-06 14:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:21: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-09-06 14:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:21: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-09-06 14:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903177728001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903177728001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:21:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:21:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903177728001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":175279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:21:54] local.INFO: GPS data processed {"connection_id":175279,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:21:54] local.INFO: Acknowledgment sent {"connection_id":175279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:22:26] local.INFO: TCP Data received {"connection_id":175279,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:22:26] local.INFO: Processing buffer {"connection_id":175279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:22:26] local.INFO: Packet analysis {"connection_id":175279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:22:26] local.INFO: Extracted packet for processing {"connection_id":175279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:22:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903177728001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:22: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-09-06 14:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788684589000,"timestamp_ms":1788684589000,"timestamp_seconds":1788684589,"priority":1,"record_length":96,"hex_timestamp":"000001a075e8d7c8"} 
[2026-09-06 14:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:22: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-09-06 14:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:22: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-09-06 14:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903177728001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903177728001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:22:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:22:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903177728001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":175279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:22:26] local.INFO: GPS data processed {"connection_id":175279,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:22:26] local.INFO: Acknowledgment sent {"connection_id":175279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:22:47] local.INFO: TCP Data received {"connection_id":175281,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:22:47] local.INFO: Processing buffer {"connection_id":175281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:22:47] local.INFO: IMEI packet received {"connection_id":175281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":175281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:22:53] local.INFO: TCP Data received {"connection_id":175281,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:22:53] local.INFO: Processing buffer {"connection_id":175281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:22:53] local.INFO: IMEI packet received {"connection_id":175281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":175281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:22:54] local.INFO: TCP Data received {"connection_id":175281,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:22:54] local.INFO: Processing buffer {"connection_id":175281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:22:54] local.INFO: Packet analysis {"connection_id":175281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:22:54] local.INFO: Extracted packet for processing {"connection_id":175281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:22:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903177728001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:22: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-09-06 14:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788684589000,"timestamp_ms":1788684589000,"timestamp_seconds":1788684589,"priority":1,"record_length":96,"hex_timestamp":"000001a075e8d7c8"} 
[2026-09-06 14:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:22: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-09-06 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:22: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-09-06 14:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903177728001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903177728001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:22:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:22:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903177728001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":175281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:22:54] local.INFO: GPS data processed {"connection_id":175281,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:22:54] local.INFO: Acknowledgment sent {"connection_id":175281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:23:22] local.INFO: TCP Data received {"connection_id":173955,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:23:22] local.INFO: Processing buffer {"connection_id":173955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:23:22] local.INFO: IMEI packet received {"connection_id":173955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 14:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":173955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:23:25] local.INFO: TCP Data received {"connection_id":175281,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:23:25] local.INFO: Processing buffer {"connection_id":175281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:23:25] local.INFO: Packet analysis {"connection_id":175281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:23:25] local.INFO: Extracted packet for processing {"connection_id":175281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:23:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903177728001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788684589000,"timestamp_ms":1788684589000,"timestamp_seconds":1788684589,"priority":1,"record_length":96,"hex_timestamp":"000001a075e8d7c8"} 
[2026-09-06 14:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14: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-09-06 14: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":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:23: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-09-06 14:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903177728001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903177728001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:23:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:23:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903177728001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":175281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:23:25] local.INFO: GPS data processed {"connection_id":175281,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:23:25] local.INFO: Acknowledgment sent {"connection_id":175281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:23:47] local.INFO: TCP Data received {"connection_id":172791,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:23:47] local.INFO: Processing buffer {"connection_id":172791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:23:47] local.INFO: IMEI packet received {"connection_id":172791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":172791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:23:53] local.INFO: TCP Data received {"connection_id":172791,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:23:53] local.INFO: Processing buffer {"connection_id":172791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:23:53] local.INFO: IMEI packet received {"connection_id":172791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":172791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:23:54] local.INFO: TCP Data received {"connection_id":172791,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:23:54] local.INFO: Processing buffer {"connection_id":172791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:23:54] local.INFO: Packet analysis {"connection_id":172791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:23:54] local.INFO: Extracted packet for processing {"connection_id":172791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:23:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903177728001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:23: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-09-06 14:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788684589000,"timestamp_ms":1788684589000,"timestamp_seconds":1788684589,"priority":1,"record_length":96,"hex_timestamp":"000001a075e8d7c8"} 
[2026-09-06 14:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:23: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-09-06 14:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:23: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-09-06 14:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903177728001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903177728001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:23:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:23:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903177728001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":172791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:23:54] local.INFO: GPS data processed {"connection_id":172791,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:23:54] local.INFO: Acknowledgment sent {"connection_id":172791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:24:25] local.INFO: TCP Data received {"connection_id":172791,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:24:25] local.INFO: Processing buffer {"connection_id":172791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:24:25] local.INFO: Packet analysis {"connection_id":172791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:24:25] local.INFO: Extracted packet for processing {"connection_id":172791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:24:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903177728001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788684589000,"timestamp_ms":1788684589000,"timestamp_seconds":1788684589,"priority":1,"record_length":96,"hex_timestamp":"000001a075e8d7c8"} 
[2026-09-06 14:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14: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-09-06 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:24: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-09-06 14:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903177728001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903177728001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:24:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:24:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903177728001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":172791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:24:25] local.INFO: GPS data processed {"connection_id":172791,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:24:25] local.INFO: Acknowledgment sent {"connection_id":172791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:24:53] local.INFO: TCP Data received {"connection_id":173956,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:24:53] local.INFO: Processing buffer {"connection_id":173956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:24:53] local.INFO: IMEI packet received {"connection_id":173956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":173956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:24:58] local.INFO: TCP Data received {"connection_id":173956,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:24:58] local.INFO: Processing buffer {"connection_id":173956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:24:58] local.INFO: IMEI packet received {"connection_id":173956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":173956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:24:59] local.INFO: TCP Data received {"connection_id":173956,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:24:59] local.INFO: Processing buffer {"connection_id":173956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:24:59] local.INFO: Packet analysis {"connection_id":173956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:24:59] local.INFO: Extracted packet for processing {"connection_id":173956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:24:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903177728001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:24: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-09-06 14:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788684589000,"timestamp_ms":1788684589000,"timestamp_seconds":1788684589,"priority":1,"record_length":96,"hex_timestamp":"000001a075e8d7c8"} 
[2026-09-06 14:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:24:59] 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-09-06 14:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903177728001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903177728001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:24:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:24:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903177728001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":173956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:24:59] local.INFO: GPS data processed {"connection_id":173956,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:24:59] local.INFO: Acknowledgment sent {"connection_id":173956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:25:03] local.INFO: TCP Data received {"connection_id":173956,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:25:03] local.INFO: Processing buffer {"connection_id":173956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075e8d7c8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:25:03] local.INFO: Packet analysis {"connection_id":173956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:25:03] local.INFO: Extracted packet for processing {"connection_id":173956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075e8"} 
[2026-09-06 14:25:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903177728001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788684589000,"timestamp_ms":1788684589000,"timestamp_seconds":1788684589,"priority":1,"record_length":96,"hex_timestamp":"000001a075e8d7c8"} 
[2026-09-06 14:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:25: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-09-06 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 14:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 14:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903177728001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903177728001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:25:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903177728001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":173956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:25:03] local.INFO: GPS data processed {"connection_id":173956,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:25:03] local.INFO: Acknowledgment sent {"connection_id":173956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:25:48] local.INFO: TCP Data received {"connection_id":173957,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:25:48] local.INFO: Processing buffer {"connection_id":173957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:25:48] local.INFO: IMEI packet received {"connection_id":173957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":173957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:25:53] local.INFO: TCP Data received {"connection_id":173957,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:25:53] local.INFO: Processing buffer {"connection_id":173957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:25:53] local.INFO: IMEI packet received {"connection_id":173957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":173957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:25:54] local.INFO: TCP Data received {"connection_id":173957,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:25:54] local.INFO: Processing buffer {"connection_id":173957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:25:54] local.INFO: Packet analysis {"connection_id":173957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:25:54] local.INFO: Extracted packet for processing {"connection_id":173957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:25:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903254784001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:25: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-09-06 14:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788684890000,"timestamp_ms":1788684890000,"timestamp_seconds":1788684890,"priority":1,"record_length":96,"hex_timestamp":"000001a075ed6f90"} 
[2026-09-06 14:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:25: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-09-06 14:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:25: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-09-06 14:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:25: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-09-06 14:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903254784001,"66":25952,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903254784001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:25:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:25:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903254784001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":173957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:25:54] local.INFO: GPS data processed {"connection_id":173957,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:25:54] local.INFO: Acknowledgment sent {"connection_id":173957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:26:25] local.INFO: TCP Data received {"connection_id":173957,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:26:25] local.INFO: Processing buffer {"connection_id":173957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:26:25] local.INFO: Packet analysis {"connection_id":173957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:26:25] local.INFO: Extracted packet for processing {"connection_id":173957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903254784001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788684890000,"timestamp_ms":1788684890000,"timestamp_seconds":1788684890,"priority":1,"record_length":96,"hex_timestamp":"000001a075ed6f90"} 
[2026-09-06 14:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:26: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:26: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-09-06 14: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-09-06 14:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14: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-09-06 14:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903254784001,"66":25952,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903254784001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:26:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:26:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903254784001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":173957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:26:25] local.INFO: GPS data processed {"connection_id":173957,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:26:25] local.INFO: Acknowledgment sent {"connection_id":173957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:26:47] local.INFO: TCP Data received {"connection_id":173958,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:26:47] local.INFO: Processing buffer {"connection_id":173958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:26:47] local.INFO: IMEI packet received {"connection_id":173958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":173958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:26:53] local.INFO: TCP Data received {"connection_id":173958,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:26:53] local.INFO: Processing buffer {"connection_id":173958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:26:53] local.INFO: IMEI packet received {"connection_id":173958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":173958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:26:54] local.INFO: TCP Data received {"connection_id":173958,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:26:54] local.INFO: Processing buffer {"connection_id":173958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:26:54] local.INFO: Packet analysis {"connection_id":173958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:26:54] local.INFO: Extracted packet for processing {"connection_id":173958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:26:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903254784001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788684890000,"timestamp_ms":1788684890000,"timestamp_seconds":1788684890,"priority":1,"record_length":96,"hex_timestamp":"000001a075ed6f90"} 
[2026-09-06 14:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:26: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:26: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-09-06 14: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-09-06 14:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:26:54] 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-09-06 14:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903254784001,"66":25952,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903254784001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:26:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:26:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903254784001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":173958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:26:54] local.INFO: GPS data processed {"connection_id":173958,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:26:54] local.INFO: Acknowledgment sent {"connection_id":173958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:27:25] local.INFO: TCP Data received {"connection_id":173958,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:27:25] local.INFO: Processing buffer {"connection_id":173958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:27:25] local.INFO: Packet analysis {"connection_id":173958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:27:25] local.INFO: Extracted packet for processing {"connection_id":173958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:27:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903254784001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788684890000,"timestamp_ms":1788684890000,"timestamp_seconds":1788684890,"priority":1,"record_length":96,"hex_timestamp":"000001a075ed6f90"} 
[2026-09-06 14:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:27: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:27: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-09-06 14: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-09-06 14:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:27: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-09-06 14:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903254784001,"66":25952,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903254784001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:27:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:27:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903254784001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":173958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:27:25] local.INFO: GPS data processed {"connection_id":173958,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:27:25] local.INFO: Acknowledgment sent {"connection_id":173958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:27:47] local.INFO: TCP Data received {"connection_id":172793,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:27:47] local.INFO: Processing buffer {"connection_id":172793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:27:47] local.INFO: IMEI packet received {"connection_id":172793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":172793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:27:53] local.INFO: TCP Data received {"connection_id":172793,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:27:53] local.INFO: Processing buffer {"connection_id":172793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:27:53] local.INFO: IMEI packet received {"connection_id":172793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":172793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:27:54] local.INFO: TCP Data received {"connection_id":172793,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:27:54] local.INFO: Processing buffer {"connection_id":172793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:27:54] local.INFO: Packet analysis {"connection_id":172793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:27:54] local.INFO: Extracted packet for processing {"connection_id":172793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:27:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903254784001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:27: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-09-06 14:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788684890000,"timestamp_ms":1788684890000,"timestamp_seconds":1788684890,"priority":1,"record_length":96,"hex_timestamp":"000001a075ed6f90"} 
[2026-09-06 14:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:27: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-09-06 14:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:27: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-09-06 14:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:27:54] 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-09-06 14:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903254784001,"66":25952,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903254784001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:27:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:27:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903254784001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":172793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:27:54] local.INFO: GPS data processed {"connection_id":172793,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:27:54] local.INFO: Acknowledgment sent {"connection_id":172793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:28:25] local.INFO: TCP Data received {"connection_id":172793,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:28:25] local.INFO: Processing buffer {"connection_id":172793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:28:25] local.INFO: Packet analysis {"connection_id":172793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:28:25] local.INFO: Extracted packet for processing {"connection_id":172793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:28:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903254784001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788684890000,"timestamp_ms":1788684890000,"timestamp_seconds":1788684890,"priority":1,"record_length":96,"hex_timestamp":"000001a075ed6f90"} 
[2026-09-06 14:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:28: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-09-06 14: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":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:28: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-09-06 14: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-09-06 14:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:28: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-09-06 14:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903254784001,"66":25952,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903254784001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:28:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:28:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903254784001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":172793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:28:25] local.INFO: GPS data processed {"connection_id":172793,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:28:25] local.INFO: Acknowledgment sent {"connection_id":172793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:28:53] local.INFO: TCP Data received {"connection_id":173960,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:28:53] local.INFO: Processing buffer {"connection_id":173960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:28:53] local.INFO: IMEI packet received {"connection_id":173960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":173960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:28:55] local.INFO: TCP Data received {"connection_id":173961,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:28:55] local.INFO: Processing buffer {"connection_id":173961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:28:55] local.INFO: IMEI packet received {"connection_id":173961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 14:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":173961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:28:58] local.INFO: TCP Data received {"connection_id":173960,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:28:58] local.INFO: Processing buffer {"connection_id":173960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:28:58] local.INFO: IMEI packet received {"connection_id":173960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":173960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:28:59] local.INFO: TCP Data received {"connection_id":173960,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:28:59] local.INFO: Processing buffer {"connection_id":173960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:28:59] local.INFO: Packet analysis {"connection_id":173960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:28:59] local.INFO: Extracted packet for processing {"connection_id":173960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903254784001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:28: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-09-06 14:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788684890000,"timestamp_ms":1788684890000,"timestamp_seconds":1788684890,"priority":1,"record_length":96,"hex_timestamp":"000001a075ed6f90"} 
[2026-09-06 14:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:28:59] 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-09-06 14:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:28:59] 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-09-06 14:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903254784001,"66":25952,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903254784001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:28:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:28:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903254784001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":173960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:28:59] local.INFO: GPS data processed {"connection_id":173960,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:28:59] local.INFO: Acknowledgment sent {"connection_id":173960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:29:30] local.INFO: TCP Data received {"connection_id":173960,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:29:30] local.INFO: Processing buffer {"connection_id":173960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:29:30] local.INFO: Packet analysis {"connection_id":173960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:29:30] local.INFO: Extracted packet for processing {"connection_id":173960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903254784001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788684890000,"timestamp_ms":1788684890000,"timestamp_seconds":1788684890,"priority":1,"record_length":96,"hex_timestamp":"000001a075ed6f90"} 
[2026-09-06 14:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:29: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:29:30] 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-09-06 14: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-09-06 14:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:29:30] 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-09-06 14:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903254784001,"66":25952,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903254784001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:29:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:29:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903254784001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":173960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:29:30] local.INFO: GPS data processed {"connection_id":173960,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:29:30] local.INFO: Acknowledgment sent {"connection_id":173960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:29:47] local.INFO: TCP Data received {"connection_id":172794,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:29:47] local.INFO: Processing buffer {"connection_id":172794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:29:47] local.INFO: IMEI packet received {"connection_id":172794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":172794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:29:53] local.INFO: TCP Data received {"connection_id":172794,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:29:53] local.INFO: Processing buffer {"connection_id":172794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:29:53] local.INFO: IMEI packet received {"connection_id":172794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":172794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:29:54] local.INFO: TCP Data received {"connection_id":172794,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:29:54] local.INFO: Processing buffer {"connection_id":172794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:29:54] local.INFO: Packet analysis {"connection_id":172794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:29:54] local.INFO: Extracted packet for processing {"connection_id":172794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:29:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903254784001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788684890000,"timestamp_ms":1788684890000,"timestamp_seconds":1788684890,"priority":1,"record_length":96,"hex_timestamp":"000001a075ed6f90"} 
[2026-09-06 14:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:29: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:29: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-09-06 14: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-09-06 14:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:29:54] 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-09-06 14:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903254784001,"66":25952,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903254784001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:29:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:29:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903254784001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":172794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:29:54] local.INFO: GPS data processed {"connection_id":172794,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:29:54] local.INFO: Acknowledgment sent {"connection_id":172794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:30:25] local.INFO: TCP Data received {"connection_id":172794,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:30:25] local.INFO: Processing buffer {"connection_id":172794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ed6f90012d34c50006aa3d30000e013528..."} 
[2026-09-06 14:30:25] local.INFO: Packet analysis {"connection_id":172794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:30:25] local.INFO: Extracted packet for processing {"connection_id":172794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ed"} 
[2026-09-06 14:30:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903254784001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788684890000,"timestamp_ms":1788684890000,"timestamp_seconds":1788684890,"priority":1,"record_length":96,"hex_timestamp":"000001a075ed6f90"} 
[2026-09-06 14:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:30: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:30: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-09-06 14: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-09-06 14:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:30: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-09-06 14:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903254784001,"66":25952,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903254784001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:30:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:30:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903254784001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":172794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:30:25] local.INFO: GPS data processed {"connection_id":172794,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:30:25] local.INFO: Acknowledgment sent {"connection_id":172794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:30:48] local.INFO: TCP Data received {"connection_id":173962,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:30:48] local.INFO: Processing buffer {"connection_id":173962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:30:48] local.INFO: IMEI packet received {"connection_id":173962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":173962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:30:53] local.INFO: TCP Data received {"connection_id":173962,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:30:53] local.INFO: Processing buffer {"connection_id":173962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:30:53] local.INFO: IMEI packet received {"connection_id":173962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":173962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:30:54] local.INFO: TCP Data received {"connection_id":173962,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:30:54] local.INFO: Processing buffer {"connection_id":173962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:30:54] local.INFO: Packet analysis {"connection_id":173962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:30:54] local.INFO: Extracted packet for processing {"connection_id":173962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:30:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903331840001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788685191000,"timestamp_ms":1788685191000,"timestamp_seconds":1788685191,"priority":1,"record_length":96,"hex_timestamp":"000001a075f20758"} 
[2026-09-06 14:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:30: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-09-06 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 14:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:30:54] 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-09-06 14:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903331840001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903331840001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:30:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:30:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903331840001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":173962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:30:54] local.INFO: GPS data processed {"connection_id":173962,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:30:54] local.INFO: Acknowledgment sent {"connection_id":173962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:31:25] local.INFO: TCP Data received {"connection_id":173962,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:31:25] local.INFO: Processing buffer {"connection_id":173962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:31:25] local.INFO: Packet analysis {"connection_id":173962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:31:25] local.INFO: Extracted packet for processing {"connection_id":173962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:31:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903331840001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788685191000,"timestamp_ms":1788685191000,"timestamp_seconds":1788685191,"priority":1,"record_length":96,"hex_timestamp":"000001a075f20758"} 
[2026-09-06 14:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:31: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-09-06 14: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":96,"data_length":795,"current_offset":136} 
[2026-09-06 14:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14: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-09-06 14:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903331840001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903331840001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:31:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:31:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903331840001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":173962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:31:25] local.INFO: GPS data processed {"connection_id":173962,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:31:25] local.INFO: Acknowledgment sent {"connection_id":173962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:31:48] local.INFO: TCP Data received {"connection_id":172795,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:31:48] local.INFO: Processing buffer {"connection_id":172795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:31:48] local.INFO: IMEI packet received {"connection_id":172795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":172795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:31:53] local.INFO: TCP Data received {"connection_id":172795,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:31:53] local.INFO: Processing buffer {"connection_id":172795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:31:53] local.INFO: IMEI packet received {"connection_id":172795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":172795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:31:54] local.INFO: TCP Data received {"connection_id":172795,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:31:54] local.INFO: Processing buffer {"connection_id":172795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:31:54] local.INFO: Packet analysis {"connection_id":172795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:31:54] local.INFO: Extracted packet for processing {"connection_id":172795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:31:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903331840001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:31: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-09-06 14:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788685191000,"timestamp_ms":1788685191000,"timestamp_seconds":1788685191,"priority":1,"record_length":96,"hex_timestamp":"000001a075f20758"} 
[2026-09-06 14:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:31: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-09-06 14:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 14:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:31:54] 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-09-06 14:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903331840001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903331840001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:31:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:31:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903331840001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":172795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:31:54] local.INFO: GPS data processed {"connection_id":172795,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:31:54] local.INFO: Acknowledgment sent {"connection_id":172795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:32:25] local.INFO: TCP Data received {"connection_id":172795,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:32:25] local.INFO: Processing buffer {"connection_id":172795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:32:25] local.INFO: Packet analysis {"connection_id":172795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:32:25] local.INFO: Extracted packet for processing {"connection_id":172795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:32:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903331840001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788685191000,"timestamp_ms":1788685191000,"timestamp_seconds":1788685191,"priority":1,"record_length":96,"hex_timestamp":"000001a075f20758"} 
[2026-09-06 14:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14: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-09-06 14: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":96,"data_length":795,"current_offset":136} 
[2026-09-06 14:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:32: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-09-06 14:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903331840001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903331840001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:32:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:32:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903331840001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":172795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:32:25] local.INFO: GPS data processed {"connection_id":172795,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:32:25] local.INFO: Acknowledgment sent {"connection_id":172795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:32:47] local.INFO: TCP Data received {"connection_id":172796,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:32:47] local.INFO: Processing buffer {"connection_id":172796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:32:47] local.INFO: IMEI packet received {"connection_id":172796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":172796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:32:53] local.INFO: TCP Data received {"connection_id":172796,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:32:53] local.INFO: Processing buffer {"connection_id":172796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:32:53] local.INFO: IMEI packet received {"connection_id":172796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":172796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:32:54] local.INFO: TCP Data received {"connection_id":172796,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:32:54] local.INFO: Processing buffer {"connection_id":172796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:32:54] local.INFO: Packet analysis {"connection_id":172796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:32:54] local.INFO: Extracted packet for processing {"connection_id":172796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903331840001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:32: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-09-06 14:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788685191000,"timestamp_ms":1788685191000,"timestamp_seconds":1788685191,"priority":1,"record_length":96,"hex_timestamp":"000001a075f20758"} 
[2026-09-06 14:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:32: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-09-06 14:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 14:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:32:54] 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-09-06 14:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903331840001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903331840001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:32:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:32:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903331840001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":172796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:32:54] local.INFO: GPS data processed {"connection_id":172796,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:32:54] local.INFO: Acknowledgment sent {"connection_id":172796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:33:25] local.INFO: TCP Data received {"connection_id":172796,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:33:25] local.INFO: Processing buffer {"connection_id":172796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:33:25] local.INFO: Packet analysis {"connection_id":172796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:33:25] local.INFO: Extracted packet for processing {"connection_id":172796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:33:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903331840001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788685191000,"timestamp_ms":1788685191000,"timestamp_seconds":1788685191,"priority":1,"record_length":96,"hex_timestamp":"000001a075f20758"} 
[2026-09-06 14:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:33: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-09-06 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 14:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:33: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-09-06 14:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903331840001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903331840001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:33:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:33:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903331840001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":172796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:33:25] local.INFO: GPS data processed {"connection_id":172796,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:33:25] local.INFO: Acknowledgment sent {"connection_id":172796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:33:53] local.INFO: TCP Data received {"connection_id":175285,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:33:53] local.INFO: Processing buffer {"connection_id":175285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:33:53] local.INFO: IMEI packet received {"connection_id":175285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":175285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:33:58] local.INFO: TCP Data received {"connection_id":175285,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:33:58] local.INFO: Processing buffer {"connection_id":175285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:33:58] local.INFO: IMEI packet received {"connection_id":175285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":175285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:33:59] local.INFO: TCP Data received {"connection_id":175285,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:33:59] local.INFO: Processing buffer {"connection_id":175285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:33:59] local.INFO: Packet analysis {"connection_id":175285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:33:59] local.INFO: Extracted packet for processing {"connection_id":175285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:33:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903331840001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:33: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-09-06 14:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788685191000,"timestamp_ms":1788685191000,"timestamp_seconds":1788685191,"priority":1,"record_length":96,"hex_timestamp":"000001a075f20758"} 
[2026-09-06 14:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 14:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:33:59] 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-09-06 14:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903331840001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903331840001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:33:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:33:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903331840001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":175285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:33:59] local.INFO: GPS data processed {"connection_id":175285,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:33:59] local.INFO: Acknowledgment sent {"connection_id":175285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:34:03] local.INFO: TCP Data received {"connection_id":175285,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:34:03] local.INFO: Processing buffer {"connection_id":175285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:34:03] local.INFO: Packet analysis {"connection_id":175285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:34:03] local.INFO: Extracted packet for processing {"connection_id":175285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903331840001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:34: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-09-06 14:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788685191000,"timestamp_ms":1788685191000,"timestamp_seconds":1788685191,"priority":1,"record_length":96,"hex_timestamp":"000001a075f20758"} 
[2026-09-06 14:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 14:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:34:03] 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-09-06 14:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903331840001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903331840001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:34:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:34:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903331840001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":175285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:34:03] local.INFO: GPS data processed {"connection_id":175285,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:34:03] local.INFO: Acknowledgment sent {"connection_id":175285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:34:21] local.INFO: TCP Data received {"connection_id":172797,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:34:21] local.INFO: Processing buffer {"connection_id":172797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:34:21] local.INFO: IMEI packet received {"connection_id":172797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 14:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":172797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:34:48] local.INFO: TCP Data received {"connection_id":172577,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:34:48] local.INFO: Processing buffer {"connection_id":172577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:34:48] local.INFO: IMEI packet received {"connection_id":172577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":172577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:34:49] local.INFO: TCP Data received {"connection_id":172578,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:34:49] local.INFO: Processing buffer {"connection_id":172578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:34:49] local.INFO: IMEI packet received {"connection_id":172578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 14:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":172578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:34:53] local.INFO: TCP Data received {"connection_id":172577,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:34:53] local.INFO: Processing buffer {"connection_id":172577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:34:53] local.INFO: IMEI packet received {"connection_id":172577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":172577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:34:54] local.INFO: TCP Data received {"connection_id":172577,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:34:54] local.INFO: Processing buffer {"connection_id":172577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:34:54] local.INFO: Packet analysis {"connection_id":172577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:34:54] local.INFO: Extracted packet for processing {"connection_id":172577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:34:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903331840001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788685191000,"timestamp_ms":1788685191000,"timestamp_seconds":1788685191,"priority":1,"record_length":96,"hex_timestamp":"000001a075f20758"} 
[2026-09-06 14:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:34: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-09-06 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 14:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:34:54] 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-09-06 14:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903331840001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903331840001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:34:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:34:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903331840001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":172577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:34:54] local.INFO: GPS data processed {"connection_id":172577,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:34:54] local.INFO: Acknowledgment sent {"connection_id":172577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:35:26] local.INFO: TCP Data received {"connection_id":172577,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:35:26] local.INFO: Processing buffer {"connection_id":172577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f20758012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:35:26] local.INFO: Packet analysis {"connection_id":172577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:35:26] local.INFO: Extracted packet for processing {"connection_id":172577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f2"} 
[2026-09-06 14:35:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903331840001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:35: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-09-06 14:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788685191000,"timestamp_ms":1788685191000,"timestamp_seconds":1788685191,"priority":1,"record_length":96,"hex_timestamp":"000001a075f20758"} 
[2026-09-06 14:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-06 14:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:35: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-09-06 14:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903331840001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903331840001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:35:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:35:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903331840001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":172577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:35:26] local.INFO: GPS data processed {"connection_id":172577,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:35:26] local.INFO: Acknowledgment sent {"connection_id":172577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:35:48] local.INFO: TCP Data received {"connection_id":173963,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:35:48] local.INFO: Processing buffer {"connection_id":173963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:35:48] local.INFO: IMEI packet received {"connection_id":173963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":173963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:35:53] local.INFO: TCP Data received {"connection_id":173963,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:35:53] local.INFO: Processing buffer {"connection_id":173963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:35:53] local.INFO: IMEI packet received {"connection_id":173963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":173963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:35:54] local.INFO: TCP Data received {"connection_id":173963,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:35:54] local.INFO: Processing buffer {"connection_id":173963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:35:54] local.INFO: Packet analysis {"connection_id":173963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:35:54] local.INFO: Extracted packet for processing {"connection_id":173963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:35:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903408896001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:35: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-09-06 14:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788685491000,"timestamp_ms":1788685491000,"timestamp_seconds":1788685491,"priority":1,"record_length":96,"hex_timestamp":"000001a075f69b38"} 
[2026-09-06 14:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:35: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-09-06 14: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 14:35: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-09-06 14: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-09-06 14:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:35:54] 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-09-06 14:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903408896001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903408896001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:35:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:35:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903408896001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":173963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:35:54] local.INFO: GPS data processed {"connection_id":173963,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:35:54] local.INFO: Acknowledgment sent {"connection_id":173963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:36:25] local.INFO: TCP Data received {"connection_id":173963,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:36:25] local.INFO: Processing buffer {"connection_id":173963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:36:25] local.INFO: Packet analysis {"connection_id":173963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:36:25] local.INFO: Extracted packet for processing {"connection_id":173963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:36:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903408896001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:36: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-09-06 14:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788685491000,"timestamp_ms":1788685491000,"timestamp_seconds":1788685491,"priority":1,"record_length":96,"hex_timestamp":"000001a075f69b38"} 
[2026-09-06 14:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:36: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-09-06 14: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 14:36: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-09-06 14: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-09-06 14:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:36: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-09-06 14:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903408896001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903408896001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:36:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:36:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903408896001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":173963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:36:25] local.INFO: GPS data processed {"connection_id":173963,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:36:25] local.INFO: Acknowledgment sent {"connection_id":173963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:36:47] local.INFO: TCP Data received {"connection_id":172798,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:36:47] local.INFO: Processing buffer {"connection_id":172798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:36:47] local.INFO: IMEI packet received {"connection_id":172798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":172798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:36:53] local.INFO: TCP Data received {"connection_id":172798,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:36:53] local.INFO: Processing buffer {"connection_id":172798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:36:53] local.INFO: IMEI packet received {"connection_id":172798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":172798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:36:53] local.INFO: TCP Data received {"connection_id":172798,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:36:53] local.INFO: Processing buffer {"connection_id":172798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:36:53] local.INFO: Packet analysis {"connection_id":172798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:36:53] local.INFO: Extracted packet for processing {"connection_id":172798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:36:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903408896001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788685491000,"timestamp_ms":1788685491000,"timestamp_seconds":1788685491,"priority":1,"record_length":96,"hex_timestamp":"000001a075f69b38"} 
[2026-09-06 14:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:36: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-09-06 14: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 14:36: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-09-06 14: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-09-06 14:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:36: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-09-06 14:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903408896001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903408896001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:36:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:36:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903408896001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":172798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:36:53] local.INFO: GPS data processed {"connection_id":172798,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:36:53] local.INFO: Acknowledgment sent {"connection_id":172798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:37:25] local.INFO: TCP Data received {"connection_id":172798,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:37:25] local.INFO: Processing buffer {"connection_id":172798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:37:25] local.INFO: Packet analysis {"connection_id":172798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:37:25] local.INFO: Extracted packet for processing {"connection_id":172798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:37:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903408896001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788685491000,"timestamp_ms":1788685491000,"timestamp_seconds":1788685491,"priority":1,"record_length":96,"hex_timestamp":"000001a075f69b38"} 
[2026-09-06 14:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:37: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-09-06 14: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 14:37: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-09-06 14: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-09-06 14:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:37: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-09-06 14:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903408896001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903408896001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:37:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:37:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903408896001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":172798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:37:25] local.INFO: GPS data processed {"connection_id":172798,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:37:25] local.INFO: Acknowledgment sent {"connection_id":172798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:37:47] local.INFO: TCP Data received {"connection_id":172579,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:37:47] local.INFO: Processing buffer {"connection_id":172579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:37:47] local.INFO: IMEI packet received {"connection_id":172579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":172579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:37:53] local.INFO: TCP Data received {"connection_id":172579,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:37:53] local.INFO: Processing buffer {"connection_id":172579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:37:53] local.INFO: IMEI packet received {"connection_id":172579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":172579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:37:53] local.INFO: TCP Data received {"connection_id":172579,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:37:53] local.INFO: Processing buffer {"connection_id":172579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:37:53] local.INFO: Packet analysis {"connection_id":172579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:37:53] local.INFO: Extracted packet for processing {"connection_id":172579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903408896001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788685491000,"timestamp_ms":1788685491000,"timestamp_seconds":1788685491,"priority":1,"record_length":96,"hex_timestamp":"000001a075f69b38"} 
[2026-09-06 14:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:37: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-09-06 14: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 14:37: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-09-06 14: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-09-06 14:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:37: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-09-06 14:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903408896001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903408896001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:37:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903408896001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":172579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:37:53] local.INFO: GPS data processed {"connection_id":172579,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:37:53] local.INFO: Acknowledgment sent {"connection_id":172579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:38:25] local.INFO: TCP Data received {"connection_id":172579,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:38:25] local.INFO: Processing buffer {"connection_id":172579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:38:25] local.INFO: Packet analysis {"connection_id":172579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:38:25] local.INFO: Extracted packet for processing {"connection_id":172579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:38:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903408896001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788685491000,"timestamp_ms":1788685491000,"timestamp_seconds":1788685491,"priority":1,"record_length":96,"hex_timestamp":"000001a075f69b38"} 
[2026-09-06 14:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:38: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-09-06 14: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 14:38: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-09-06 14: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-09-06 14:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:38: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-09-06 14:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903408896001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903408896001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:38:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:38:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903408896001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":172579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:38:25] local.INFO: GPS data processed {"connection_id":172579,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:38:25] local.INFO: Acknowledgment sent {"connection_id":172579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:38:53] local.INFO: TCP Data received {"connection_id":172801,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:38:53] local.INFO: Processing buffer {"connection_id":172801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:38:53] local.INFO: IMEI packet received {"connection_id":172801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":172801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:38:58] local.INFO: TCP Data received {"connection_id":172801,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:38:58] local.INFO: Processing buffer {"connection_id":172801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:38:58] local.INFO: IMEI packet received {"connection_id":172801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":172801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:38:58] local.INFO: TCP Data received {"connection_id":172801,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:38:58] local.INFO: Processing buffer {"connection_id":172801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:38:58] local.INFO: Packet analysis {"connection_id":172801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:38:58] local.INFO: Extracted packet for processing {"connection_id":172801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:38:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903408896001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:38: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-09-06 14:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788685491000,"timestamp_ms":1788685491000,"timestamp_seconds":1788685491,"priority":1,"record_length":96,"hex_timestamp":"000001a075f69b38"} 
[2026-09-06 14:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:38: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-09-06 14:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 14:38: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-09-06 14: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-09-06 14:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:38: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-09-06 14:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903408896001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903408896001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:38:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:38:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903408896001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":172801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:38:58] local.INFO: GPS data processed {"connection_id":172801,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:38:58] local.INFO: Acknowledgment sent {"connection_id":172801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:39:04] local.INFO: TCP Data received {"connection_id":172801,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:39:04] local.INFO: Processing buffer {"connection_id":172801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:39:04] local.INFO: Packet analysis {"connection_id":172801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:39:04] local.INFO: Extracted packet for processing {"connection_id":172801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:39:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903408896001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788685491000,"timestamp_ms":1788685491000,"timestamp_seconds":1788685491,"priority":1,"record_length":96,"hex_timestamp":"000001a075f69b38"} 
[2026-09-06 14:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 14:39:04] 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-09-06 14: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-09-06 14:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:39:04] 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-09-06 14:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903408896001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903408896001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:39:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903408896001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":172801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:39:04] local.INFO: GPS data processed {"connection_id":172801,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:39:04] local.INFO: Acknowledgment sent {"connection_id":172801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:39:48] local.INFO: TCP Data received {"connection_id":173964,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:39:48] local.INFO: Processing buffer {"connection_id":173964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:39:48] local.INFO: IMEI packet received {"connection_id":173964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":173964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:40:15] local.INFO: TCP Data received {"connection_id":175288,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:40:15] local.INFO: Processing buffer {"connection_id":175288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:40:15] local.INFO: IMEI packet received {"connection_id":175288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 14:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":175288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:40:17] local.INFO: TCP Data received {"connection_id":175289,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:40:17] local.INFO: Processing buffer {"connection_id":175289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:40:17] local.INFO: IMEI packet received {"connection_id":175289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":175289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:40:23] local.INFO: TCP Data received {"connection_id":175289,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:40:23] local.INFO: Processing buffer {"connection_id":175289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:40:23] local.INFO: IMEI packet received {"connection_id":175289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":175289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:40:23] local.INFO: TCP Data received {"connection_id":175289,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:40:23] local.INFO: Processing buffer {"connection_id":175289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075f69b38012d34c50006aa3d30000e01352d..."} 
[2026-09-06 14:40:23] local.INFO: Packet analysis {"connection_id":175289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:40:23] local.INFO: Extracted packet for processing {"connection_id":175289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075f6"} 
[2026-09-06 14:40:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903408896001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788685491000,"timestamp_ms":1788685491000,"timestamp_seconds":1788685491,"priority":1,"record_length":96,"hex_timestamp":"000001a075f69b38"} 
[2026-09-06 14:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:40: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-09-06 14:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 14:40: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-09-06 14:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:40: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-09-06 14:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903408896001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903408896001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:40:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:40:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903408896001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":175289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:40:23] local.INFO: GPS data processed {"connection_id":175289,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:40:23] local.INFO: Acknowledgment sent {"connection_id":175289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:40:42] local.INFO: TCP Data received {"connection_id":173965,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:40:42] local.INFO: Processing buffer {"connection_id":173965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:40:42] local.INFO: IMEI packet received {"connection_id":173965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":173965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:40:47] local.INFO: TCP Data received {"connection_id":173965,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:40:47] local.INFO: Processing buffer {"connection_id":173965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:40:47] local.INFO: IMEI packet received {"connection_id":173965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":173965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:40:48] local.INFO: TCP Data received {"connection_id":173965,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:40:48] local.INFO: Processing buffer {"connection_id":173965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:40:48] local.INFO: Packet analysis {"connection_id":173965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:40:48] local.INFO: Extracted packet for processing {"connection_id":173965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903485696001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:40: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-09-06 14:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788685793000,"timestamp_ms":1788685793000,"timestamp_seconds":1788685793,"priority":1,"record_length":96,"hex_timestamp":"000001a075fb36e8"} 
[2026-09-06 14:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 14:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:40:48] 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-09-06 14:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903485696001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903485696001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:40:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903485696001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":173965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:40:48] local.INFO: GPS data processed {"connection_id":173965,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:40:48] local.INFO: Acknowledgment sent {"connection_id":173965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:41:20] local.INFO: TCP Data received {"connection_id":173965,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:41:20] local.INFO: Processing buffer {"connection_id":173965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:41:20] local.INFO: Packet analysis {"connection_id":173965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:41:20] local.INFO: Extracted packet for processing {"connection_id":173965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:41:20] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903485696001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 14:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788685793000,"timestamp_ms":1788685793000,"timestamp_seconds":1788685793,"priority":1,"record_length":96,"hex_timestamp":"000001a075fb36e8"} 
[2026-09-06 14:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 14:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:41:20] 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-09-06 14:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903485696001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903485696001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:41:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:41:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903485696001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":173965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:41:20] local.INFO: GPS data processed {"connection_id":173965,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:41:20] local.INFO: Acknowledgment sent {"connection_id":173965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:41:53] local.INFO: TCP Data received {"connection_id":172580,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:41:53] local.INFO: Processing buffer {"connection_id":172580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:41:53] local.INFO: IMEI packet received {"connection_id":172580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":172580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:41:58] local.INFO: TCP Data received {"connection_id":172580,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:41:58] local.INFO: Processing buffer {"connection_id":172580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:41:58] local.INFO: IMEI packet received {"connection_id":172580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":172580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:41:59] local.INFO: TCP Data received {"connection_id":172580,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:41:59] local.INFO: Processing buffer {"connection_id":172580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:41:59] local.INFO: Packet analysis {"connection_id":172580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:41:59] local.INFO: Extracted packet for processing {"connection_id":172580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:41:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903485696001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:41: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-09-06 14:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788685793000,"timestamp_ms":1788685793000,"timestamp_seconds":1788685793,"priority":1,"record_length":96,"hex_timestamp":"000001a075fb36e8"} 
[2026-09-06 14:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 14:41:59] 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-09-06 14:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:41:59] 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-09-06 14:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903485696001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903485696001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:41:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:41:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903485696001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":172580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:41:59] local.INFO: GPS data processed {"connection_id":172580,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:41:59] local.INFO: Acknowledgment sent {"connection_id":172580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:42:04] local.INFO: TCP Data received {"connection_id":172580,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:42:04] local.INFO: Processing buffer {"connection_id":172580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:42:04] local.INFO: Packet analysis {"connection_id":172580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:42:04] local.INFO: Extracted packet for processing {"connection_id":172580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:42:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903485696001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:42: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-09-06 14:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788685793000,"timestamp_ms":1788685793000,"timestamp_seconds":1788685793,"priority":1,"record_length":96,"hex_timestamp":"000001a075fb36e8"} 
[2026-09-06 14:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 14:42:04] 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-09-06 14:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:42:04] 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-09-06 14:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903485696001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903485696001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:42:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:42:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903485696001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":172580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:42:04] local.INFO: GPS data processed {"connection_id":172580,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:42:04] local.INFO: Acknowledgment sent {"connection_id":172580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:42:48] local.INFO: TCP Data received {"connection_id":175291,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:42:48] local.INFO: Processing buffer {"connection_id":175291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:42:48] local.INFO: IMEI packet received {"connection_id":175291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":175291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:42:53] local.INFO: TCP Data received {"connection_id":175291,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:42:53] local.INFO: Processing buffer {"connection_id":175291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:42:53] local.INFO: IMEI packet received {"connection_id":175291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":175291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:42:54] local.INFO: TCP Data received {"connection_id":175291,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:42:54] local.INFO: Processing buffer {"connection_id":175291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:42:54] local.INFO: Packet analysis {"connection_id":175291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:42:54] local.INFO: Extracted packet for processing {"connection_id":175291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:42:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903485696001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788685793000,"timestamp_ms":1788685793000,"timestamp_seconds":1788685793,"priority":1,"record_length":96,"hex_timestamp":"000001a075fb36e8"} 
[2026-09-06 14:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:42: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-09-06 14: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 14:42: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-09-06 14: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-09-06 14:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:42:54] 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-09-06 14:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903485696001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903485696001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:42:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:42:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903485696001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":175291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:42:54] local.INFO: GPS data processed {"connection_id":175291,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:42:54] local.INFO: Acknowledgment sent {"connection_id":175291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:43:26] local.INFO: TCP Data received {"connection_id":175291,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:43:26] local.INFO: Processing buffer {"connection_id":175291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:43:26] local.INFO: Packet analysis {"connection_id":175291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:43:26] local.INFO: Extracted packet for processing {"connection_id":175291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:43:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903485696001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788685793000,"timestamp_ms":1788685793000,"timestamp_seconds":1788685793,"priority":1,"record_length":96,"hex_timestamp":"000001a075fb36e8"} 
[2026-09-06 14:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:43: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-09-06 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 14:43: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-09-06 14: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-09-06 14:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:43: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-09-06 14:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903485696001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903485696001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:43:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:43:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903485696001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":175291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:43:26] local.INFO: GPS data processed {"connection_id":175291,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:43:26] local.INFO: Acknowledgment sent {"connection_id":175291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:43:48] local.INFO: TCP Data received {"connection_id":175293,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:43:48] local.INFO: Processing buffer {"connection_id":175293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:43:48] local.INFO: IMEI packet received {"connection_id":175293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":175293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:43:53] local.INFO: TCP Data received {"connection_id":175293,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:43:53] local.INFO: Processing buffer {"connection_id":175293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:43:53] local.INFO: IMEI packet received {"connection_id":175293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":175293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:43:53] local.INFO: TCP Data received {"connection_id":175293,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:43:53] local.INFO: Processing buffer {"connection_id":175293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:43:53] local.INFO: Packet analysis {"connection_id":175293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:43:53] local.INFO: Extracted packet for processing {"connection_id":175293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903485696001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788685793000,"timestamp_ms":1788685793000,"timestamp_seconds":1788685793,"priority":1,"record_length":96,"hex_timestamp":"000001a075fb36e8"} 
[2026-09-06 14:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:43: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-09-06 14:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 14:43: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-09-06 14:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:43:54] 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-09-06 14:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903485696001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903485696001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:43:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:43:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903485696001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":175293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:43:54] local.INFO: GPS data processed {"connection_id":175293,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:43:54] local.INFO: Acknowledgment sent {"connection_id":175293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:44:26] local.INFO: TCP Data received {"connection_id":175293,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:44:26] local.INFO: Processing buffer {"connection_id":175293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:44:26] local.INFO: Packet analysis {"connection_id":175293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:44:26] local.INFO: Extracted packet for processing {"connection_id":175293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:44:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903485696001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788685793000,"timestamp_ms":1788685793000,"timestamp_seconds":1788685793,"priority":1,"record_length":96,"hex_timestamp":"000001a075fb36e8"} 
[2026-09-06 14:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:44: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-09-06 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 14:44: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-09-06 14: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-09-06 14:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:44: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-09-06 14:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903485696001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903485696001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:44:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:44:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903485696001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":175293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:44:26] local.INFO: GPS data processed {"connection_id":175293,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:44:26] local.INFO: Acknowledgment sent {"connection_id":175293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:44:47] local.INFO: TCP Data received {"connection_id":172804,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:44:47] local.INFO: Processing buffer {"connection_id":172804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:44:47] local.INFO: IMEI packet received {"connection_id":172804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":172804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:44:53] local.INFO: TCP Data received {"connection_id":172804,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:44:53] local.INFO: Processing buffer {"connection_id":172804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:44:53] local.INFO: IMEI packet received {"connection_id":172804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":172804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:44:54] local.INFO: TCP Data received {"connection_id":172804,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:44:54] local.INFO: Processing buffer {"connection_id":172804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:44:54] local.INFO: Packet analysis {"connection_id":172804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:44:54] local.INFO: Extracted packet for processing {"connection_id":172804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:44:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903485696001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788685793000,"timestamp_ms":1788685793000,"timestamp_seconds":1788685793,"priority":1,"record_length":96,"hex_timestamp":"000001a075fb36e8"} 
[2026-09-06 14:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:44: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-09-06 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 14:44: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-09-06 14: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-09-06 14:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:44:54] 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-09-06 14:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903485696001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903485696001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:44:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:44:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903485696001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":172804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:44:54] local.INFO: GPS data processed {"connection_id":172804,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:44:54] local.INFO: Acknowledgment sent {"connection_id":172804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:45:25] local.INFO: TCP Data received {"connection_id":172804,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:45:25] local.INFO: Processing buffer {"connection_id":172804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075fb36e8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 14:45:25] local.INFO: Packet analysis {"connection_id":172804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:45:25] local.INFO: Extracted packet for processing {"connection_id":172804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075fb"} 
[2026-09-06 14:45:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903485696001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788685793000,"timestamp_ms":1788685793000,"timestamp_seconds":1788685793,"priority":1,"record_length":96,"hex_timestamp":"000001a075fb36e8"} 
[2026-09-06 14:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:45: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-09-06 14: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 14:45: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-09-06 14: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-09-06 14:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:45: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-09-06 14:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903485696001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903485696001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:45:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:45:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903485696001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":172804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:45:25] local.INFO: GPS data processed {"connection_id":172804,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:45:25] local.INFO: Acknowledgment sent {"connection_id":172804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:45:47] local.INFO: TCP Data received {"connection_id":172582,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:45:47] local.INFO: Processing buffer {"connection_id":172582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:45:47] local.INFO: IMEI packet received {"connection_id":172582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":172582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:45:53] local.INFO: TCP Data received {"connection_id":172582,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:45:53] local.INFO: Processing buffer {"connection_id":172582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:45:53] local.INFO: IMEI packet received {"connection_id":172582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":172582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:45:53] local.INFO: TCP Data received {"connection_id":172582,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:45:53] local.INFO: Processing buffer {"connection_id":172582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:45:53] local.INFO: Packet analysis {"connection_id":172582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:45:53] local.INFO: Extracted packet for processing {"connection_id":172582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903563008001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788686094000,"timestamp_ms":1788686094000,"timestamp_seconds":1788686094,"priority":1,"record_length":96,"hex_timestamp":"000001a075ffceb0"} 
[2026-09-06 14:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14: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-09-06 14: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":52,"data_length":795,"current_offset":136} 
[2026-09-06 14:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:45: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-09-06 14:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903563008001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903563008001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:45:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:45:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903563008001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":172582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:45:53] local.INFO: GPS data processed {"connection_id":172582,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:45:53] local.INFO: Acknowledgment sent {"connection_id":172582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:45:54] local.INFO: TCP Data received {"connection_id":175294,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175294,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:45:54] local.INFO: Processing buffer {"connection_id":175294,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:45:54] local.INFO: IMEI packet received {"connection_id":175294,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 14:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":175294,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:46:25] local.INFO: TCP Data received {"connection_id":172582,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:46:25] local.INFO: Processing buffer {"connection_id":172582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:46:25] local.INFO: Packet analysis {"connection_id":172582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:46:25] local.INFO: Extracted packet for processing {"connection_id":172582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:46:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903563008001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:46: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-09-06 14:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788686094000,"timestamp_ms":1788686094000,"timestamp_seconds":1788686094,"priority":1,"record_length":96,"hex_timestamp":"000001a075ffceb0"} 
[2026-09-06 14:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:46: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-09-06 14: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":52,"data_length":795,"current_offset":136} 
[2026-09-06 14:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:46: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-09-06 14:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903563008001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903563008001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:46:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:46:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903563008001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":172582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:46:25] local.INFO: GPS data processed {"connection_id":172582,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:46:25] local.INFO: Acknowledgment sent {"connection_id":172582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:46:47] local.INFO: TCP Data received {"connection_id":172805,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:46:47] local.INFO: Processing buffer {"connection_id":172805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:46:47] local.INFO: IMEI packet received {"connection_id":172805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":172805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:46:53] local.INFO: TCP Data received {"connection_id":172805,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:46:53] local.INFO: Processing buffer {"connection_id":172805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:46:53] local.INFO: IMEI packet received {"connection_id":172805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":172805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:46:53] local.INFO: TCP Data received {"connection_id":172805,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:46:53] local.INFO: Processing buffer {"connection_id":172805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:46:53] local.INFO: Packet analysis {"connection_id":172805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:46:53] local.INFO: Extracted packet for processing {"connection_id":172805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:46:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903563008001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788686094000,"timestamp_ms":1788686094000,"timestamp_seconds":1788686094,"priority":1,"record_length":96,"hex_timestamp":"000001a075ffceb0"} 
[2026-09-06 14:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:46: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-09-06 14: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 14:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:46:54] 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-09-06 14:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903563008001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903563008001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:46:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:46:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903563008001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":172805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:46:54] local.INFO: GPS data processed {"connection_id":172805,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:46:54] local.INFO: Acknowledgment sent {"connection_id":172805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:47:18] local.INFO: TCP Data received {"connection_id":172807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 14:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 14:47:18] local.INFO: Processing buffer {"connection_id":172807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 14:47:18] local.INFO: IMEI packet received {"connection_id":172807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 14:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":172807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:47:18] local.INFO: TCP Data received {"connection_id":172807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 14:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 14:47:18] local.INFO: Processing buffer {"connection_id":172807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 14:47:18] local.INFO: IMEI packet received {"connection_id":172807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 14:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":172807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:47:23] local.INFO: TCP Data received {"connection_id":172807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 14:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 14:47:23] local.INFO: Processing buffer {"connection_id":172807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 14:47:23] local.INFO: IMEI packet received {"connection_id":172807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 14:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":172807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:47:25] local.INFO: TCP Data received {"connection_id":172805,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:47:25] local.INFO: Processing buffer {"connection_id":172805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:47:25] local.INFO: Packet analysis {"connection_id":172805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:47:25] local.INFO: Extracted packet for processing {"connection_id":172805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:47:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903563008001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:47: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-09-06 14:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788686094000,"timestamp_ms":1788686094000,"timestamp_seconds":1788686094,"priority":1,"record_length":96,"hex_timestamp":"000001a075ffceb0"} 
[2026-09-06 14:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:47: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-09-06 14:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 14:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:47: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-09-06 14:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903563008001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903563008001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:47:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:47:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903563008001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":172805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:47:25] local.INFO: GPS data processed {"connection_id":172805,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:47:25] local.INFO: Acknowledgment sent {"connection_id":172805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:47:25] local.INFO: TCP Data received {"connection_id":172807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 14:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172807,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 14:47:25] local.INFO: Processing buffer {"connection_id":172807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 14:47:25] local.INFO: Packet analysis {"connection_id":172807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-06 14:47:25] local.INFO: Extracted packet for processing {"connection_id":172807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-06 14:47: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-09-06 14:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128936829486366720,"note":"Value kept but may cause issues"} 
[2026-09-06 14:47:25] 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-09-06 14:47: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-09-06 14:47:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 14:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172807,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172807,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 14:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172807,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 14:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 14:47:25] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 14:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":172807,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 14:47:25] local.ERROR: GPS data processing failed {"connection_id":172807,"error":"No valid data to process"} 
[2026-09-06 14:47:25] local.INFO: Acknowledgment sent {"connection_id":172807,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 14:47:53] local.INFO: TCP Data received {"connection_id":173966,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:47:53] local.INFO: Processing buffer {"connection_id":173966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:47:53] local.INFO: IMEI packet received {"connection_id":173966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":173966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:47:57] local.INFO: TCP Data received {"connection_id":172807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-06 14:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172807,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-06 14:47:57] local.INFO: Processing buffer {"connection_id":172807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-06 14:47:57] local.INFO: Packet analysis {"connection_id":172807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 14:47:57] local.INFO: Extracted packet for processing {"connection_id":172807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 14:47:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128936829486366720,"note":"Value kept but may cause issues"} 
[2026-09-06 14:47:57] 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-09-06 14:47:57] 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-09-06 14:47:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 14:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172807,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172807,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 14:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172807,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 14:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 14:47:57] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 14:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":172807,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 14:47:57] local.ERROR: GPS data processing failed {"connection_id":172807,"error":"No valid data to process"} 
[2026-09-06 14:47:57] local.INFO: Acknowledgment sent {"connection_id":172807,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 14:47:58] local.INFO: TCP Data received {"connection_id":173966,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:47:58] local.INFO: Processing buffer {"connection_id":173966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:47:58] local.INFO: IMEI packet received {"connection_id":173966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":173966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:47:58] local.INFO: TCP Data received {"connection_id":173966,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:47:58] local.INFO: Processing buffer {"connection_id":173966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:47:58] local.INFO: Packet analysis {"connection_id":173966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:47:58] local.INFO: Extracted packet for processing {"connection_id":173966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:47:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903563008001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:47: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-09-06 14:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788686094000,"timestamp_ms":1788686094000,"timestamp_seconds":1788686094,"priority":1,"record_length":96,"hex_timestamp":"000001a075ffceb0"} 
[2026-09-06 14:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:47: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-09-06 14:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 14:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:47:59] 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-09-06 14:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903563008001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903563008001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:47:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:47:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903563008001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":173966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:47:59] local.INFO: GPS data processed {"connection_id":173966,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:47:59] local.INFO: Acknowledgment sent {"connection_id":173966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:48:28] local.INFO: TCP Data received {"connection_id":172807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a076025b080100000000000000000000000000..."} 
[2026-09-06 14:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076025b080100000000000000000000000000..."} 
[2026-09-06 14:48:28] local.INFO: Processing buffer {"connection_id":172807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076025b080100000000000000000000000000..."} 
[2026-09-06 14:48:28] local.INFO: Packet analysis {"connection_id":172807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07602"} 
[2026-09-06 14:48:28] local.INFO: Extracted packet for processing {"connection_id":172807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07602"} 
[2026-09-06 14:48:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 14:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128936829486366720,"note":"Value kept but may cause issues"} 
[2026-09-06 14:48:28] 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-09-06 14:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788686261000,"timestamp_ms":1788686261000,"timestamp_seconds":1788686261,"priority":1,"record_length":96,"hex_timestamp":"000001a076025b08"} 
[2026-09-06 14:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:48:28] 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-09-06 14: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-06 14:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 14:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 14:48:28] 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-09-06 14:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 14:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 14:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":172807,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 14:48:28] local.INFO: GPS data processed {"connection_id":172807,"processed":0,"errors":0,"total":1} 
[2026-09-06 14:48:28] local.INFO: Acknowledgment sent {"connection_id":172807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:48:30] local.INFO: TCP Data received {"connection_id":173966,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:48:30] local.INFO: Processing buffer {"connection_id":173966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:48:30] local.INFO: Packet analysis {"connection_id":173966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:48:30] local.INFO: Extracted packet for processing {"connection_id":173966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:48:30] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903563008001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:48: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-09-06 14:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788686094000,"timestamp_ms":1788686094000,"timestamp_seconds":1788686094,"priority":1,"record_length":96,"hex_timestamp":"000001a075ffceb0"} 
[2026-09-06 14:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:48: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-09-06 14:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 14:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 14:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903563008001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903563008001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:48:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:48:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903563008001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":173966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:48:30] local.INFO: GPS data processed {"connection_id":173966,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:48:30] local.INFO: Acknowledgment sent {"connection_id":173966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:48:48] local.INFO: TCP Data received {"connection_id":175295,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:48:48] local.INFO: Processing buffer {"connection_id":175295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:48:48] local.INFO: IMEI packet received {"connection_id":175295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":175295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:48:53] local.INFO: TCP Data received {"connection_id":175295,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:48:53] local.INFO: Processing buffer {"connection_id":175295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:48:53] local.INFO: IMEI packet received {"connection_id":175295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":175295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:48:54] local.INFO: TCP Data received {"connection_id":175295,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:48:54] local.INFO: Processing buffer {"connection_id":175295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:48:54] local.INFO: Packet analysis {"connection_id":175295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:48:54] local.INFO: Extracted packet for processing {"connection_id":175295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:48:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903563008001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:48: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-09-06 14:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788686094000,"timestamp_ms":1788686094000,"timestamp_seconds":1788686094,"priority":1,"record_length":96,"hex_timestamp":"000001a075ffceb0"} 
[2026-09-06 14:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:48: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-09-06 14: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 14:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:48:54] 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-09-06 14:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903563008001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903563008001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:48:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:48:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903563008001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":175295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:48:54] local.INFO: GPS data processed {"connection_id":175295,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:48:54] local.INFO: Acknowledgment sent {"connection_id":175295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:49:00] local.INFO: TCP Data received {"connection_id":172807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a076025b080100000000000000000000000000..."} 
[2026-09-06 14:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076025b080100000000000000000000000000..."} 
[2026-09-06 14:49:00] local.INFO: Processing buffer {"connection_id":172807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076025b080100000000000000000000000000..."} 
[2026-09-06 14:49:00] local.INFO: Packet analysis {"connection_id":172807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07602"} 
[2026-09-06 14:49:00] local.INFO: Extracted packet for processing {"connection_id":172807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07602"} 
[2026-09-06 14:49: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-09-06 14:49:00] 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-09-06 14:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128936829486366720,"note":"Value kept but may cause issues"} 
[2026-09-06 14:49:00] 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-09-06 14:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788686261000,"timestamp_ms":1788686261000,"timestamp_seconds":1788686261,"priority":1,"record_length":96,"hex_timestamp":"000001a076025b08"} 
[2026-09-06 14:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 14:49:00] 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-09-06 14:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 14:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 14:49:00] 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-09-06 14:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 14:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 14:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":172807,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 14:49:00] local.INFO: GPS data processed {"connection_id":172807,"processed":0,"errors":0,"total":1} 
[2026-09-06 14:49:00] local.INFO: Acknowledgment sent {"connection_id":172807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:49:25] local.INFO: TCP Data received {"connection_id":175295,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:49:25] local.INFO: Processing buffer {"connection_id":175295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:49:25] local.INFO: Packet analysis {"connection_id":175295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:49:25] local.INFO: Extracted packet for processing {"connection_id":175295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:49:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903563008001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788686094000,"timestamp_ms":1788686094000,"timestamp_seconds":1788686094,"priority":1,"record_length":96,"hex_timestamp":"000001a075ffceb0"} 
[2026-09-06 14:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14: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-09-06 14: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 14:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:49: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-09-06 14:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903563008001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903563008001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:49:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:49:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903563008001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":175295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:49:25] local.INFO: GPS data processed {"connection_id":175295,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:49:25] local.INFO: Acknowledgment sent {"connection_id":175295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:49:31] local.INFO: TCP Data received {"connection_id":172807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07602b8c80100000000000000000000000000..."} 
[2026-09-06 14:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07602b8c80100000000000000000000000000..."} 
[2026-09-06 14:49:31] local.INFO: Processing buffer {"connection_id":172807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07602b8c80100000000000000000000000000..."} 
[2026-09-06 14:49:31] local.INFO: Packet analysis {"connection_id":172807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07602"} 
[2026-09-06 14:49:31] local.INFO: Extracted packet for processing {"connection_id":172807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07602"} 
[2026-09-06 14:49: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-09-06 14:49: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-09-06 14:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128936829486366720,"note":"Value kept but may cause issues"} 
[2026-09-06 14:49:31] 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-09-06 14:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788686285000,"timestamp_ms":1788686285000,"timestamp_seconds":1788686285,"priority":1,"record_length":96,"hex_timestamp":"000001a07602b8c8"} 
[2026-09-06 14:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 14:49:31] 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-09-06 14:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 14:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 14:49:31] 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-09-06 14:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 14:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 14:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":172807,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 14:49:31] local.INFO: GPS data processed {"connection_id":172807,"processed":0,"errors":0,"total":1} 
[2026-09-06 14:49:31] local.INFO: Acknowledgment sent {"connection_id":172807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:49:47] local.INFO: TCP Data received {"connection_id":172584,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:49:47] local.INFO: Processing buffer {"connection_id":172584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:49:47] local.INFO: IMEI packet received {"connection_id":172584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":172584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:49:53] local.INFO: TCP Data received {"connection_id":172584,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:49:53] local.INFO: Processing buffer {"connection_id":172584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:49:53] local.INFO: IMEI packet received {"connection_id":172584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":172584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:49:54] local.INFO: TCP Data received {"connection_id":172584,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:49:54] local.INFO: Processing buffer {"connection_id":172584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:49:54] local.INFO: Packet analysis {"connection_id":172584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:49:54] local.INFO: Extracted packet for processing {"connection_id":172584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:49:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903563008001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:49: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-09-06 14:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788686094000,"timestamp_ms":1788686094000,"timestamp_seconds":1788686094,"priority":1,"record_length":96,"hex_timestamp":"000001a075ffceb0"} 
[2026-09-06 14:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:49: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-09-06 14:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 14:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:49:54] 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-09-06 14:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903563008001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903563008001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:49:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:49:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903563008001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":172584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:49:54] local.INFO: GPS data processed {"connection_id":172584,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:49:54] local.INFO: Acknowledgment sent {"connection_id":172584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:50:02] local.INFO: TCP Data received {"connection_id":172807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07602b8c80100000000000000000000000000..."} 
[2026-09-06 14:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07602b8c80100000000000000000000000000..."} 
[2026-09-06 14:50:02] local.INFO: Processing buffer {"connection_id":172807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07602b8c80100000000000000000000000000..."} 
[2026-09-06 14:50:02] local.INFO: Packet analysis {"connection_id":172807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07602"} 
[2026-09-06 14:50:02] local.INFO: Extracted packet for processing {"connection_id":172807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07602"} 
[2026-09-06 14:50: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-09-06 14:50:02] 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-09-06 14:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128936829486366720,"note":"Value kept but may cause issues"} 
[2026-09-06 14:50:02] 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-09-06 14:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788686285000,"timestamp_ms":1788686285000,"timestamp_seconds":1788686285,"priority":1,"record_length":96,"hex_timestamp":"000001a07602b8c8"} 
[2026-09-06 14:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:50: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 14: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-06 14:50:02] 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-09-06 14: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-09-06 14:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 14:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 14:50:02] 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-09-06 14:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 14:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 14:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":172807,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 14:50:02] local.INFO: GPS data processed {"connection_id":172807,"processed":0,"errors":0,"total":1} 
[2026-09-06 14:50:02] local.INFO: Acknowledgment sent {"connection_id":172807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:50:25] local.INFO: TCP Data received {"connection_id":172584,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:50:25] local.INFO: Processing buffer {"connection_id":172584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a075ffceb0012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:50:25] local.INFO: Packet analysis {"connection_id":172584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:50:25] local.INFO: Extracted packet for processing {"connection_id":172584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a075ff"} 
[2026-09-06 14:50:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903563008001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:50: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-09-06 14:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788686094000,"timestamp_ms":1788686094000,"timestamp_seconds":1788686094,"priority":1,"record_length":96,"hex_timestamp":"000001a075ffceb0"} 
[2026-09-06 14:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:50: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-09-06 14: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 14:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 14: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-09-06 14:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:50: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-09-06 14:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903563008001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903563008001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:50:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:50:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903563008001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":172584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:50:25] local.INFO: GPS data processed {"connection_id":172584,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:50:25] local.INFO: Acknowledgment sent {"connection_id":172584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:50:47] local.INFO: TCP Data received {"connection_id":175297,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:50:47] local.INFO: Processing buffer {"connection_id":175297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:50:47] local.INFO: IMEI packet received {"connection_id":175297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":175297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:50:52] local.INFO: TCP Data received {"connection_id":175297,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:50:52] local.INFO: Processing buffer {"connection_id":175297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:50:52] local.INFO: IMEI packet received {"connection_id":175297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":175297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:50:53] local.INFO: TCP Data received {"connection_id":175297,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:50:53] local.INFO: Processing buffer {"connection_id":175297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:50:53] local.INFO: Packet analysis {"connection_id":175297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:50:53] local.INFO: Extracted packet for processing {"connection_id":175297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:50:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903640064001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788686397000,"timestamp_ms":1788686397000,"timestamp_seconds":1788686397,"priority":1,"record_length":96,"hex_timestamp":"000001a076046e48"} 
[2026-09-06 14:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:50: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-09-06 14: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-09-06 14:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:50: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-09-06 14:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903640064001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903640064001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:50:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:50:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903640064001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":175297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:50:53] local.INFO: GPS data processed {"connection_id":175297,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:50:53] local.INFO: Acknowledgment sent {"connection_id":175297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:51:25] local.INFO: TCP Data received {"connection_id":175297,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:51:25] local.INFO: Processing buffer {"connection_id":175297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:51:25] local.INFO: Packet analysis {"connection_id":175297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:51:25] local.INFO: Extracted packet for processing {"connection_id":175297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:51:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903640064001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:51: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-09-06 14:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788686397000,"timestamp_ms":1788686397000,"timestamp_seconds":1788686397,"priority":1,"record_length":96,"hex_timestamp":"000001a076046e48"} 
[2026-09-06 14:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:51: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:51: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-09-06 14: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-09-06 14:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:51: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-09-06 14:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903640064001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903640064001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:51:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:51:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903640064001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":175297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:51:25] local.INFO: GPS data processed {"connection_id":175297,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:51:25] local.INFO: Acknowledgment sent {"connection_id":175297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:51:48] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:51:48] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:51:48] local.INFO: IMEI packet received {"connection_id":173969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":173969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:51:49] local.INFO: TCP Data received {"connection_id":172585,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:51:49] local.INFO: Processing buffer {"connection_id":172585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:51:49] local.INFO: IMEI packet received {"connection_id":172585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 14:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":172585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:51:53] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:51:53] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:51:53] local.INFO: IMEI packet received {"connection_id":173969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":173969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:51:53] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:51:54] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:51:54] local.INFO: Packet analysis {"connection_id":173969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:51:54] local.INFO: Extracted packet for processing {"connection_id":173969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:51:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903640064001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:51: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-09-06 14:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788686397000,"timestamp_ms":1788686397000,"timestamp_seconds":1788686397,"priority":1,"record_length":96,"hex_timestamp":"000001a076046e48"} 
[2026-09-06 14:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:51: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:51: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-09-06 14: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-09-06 14:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:51: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-09-06 14:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903640064001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903640064001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:51:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:51:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903640064001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":173969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:51:54] local.INFO: GPS data processed {"connection_id":173969,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:51:54] local.INFO: Acknowledgment sent {"connection_id":173969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:51:58] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:51:58] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:51:58] local.INFO: Packet analysis {"connection_id":173969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:51:58] local.INFO: Extracted packet for processing {"connection_id":173969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:51:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903640064001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788686397000,"timestamp_ms":1788686397000,"timestamp_seconds":1788686397,"priority":1,"record_length":96,"hex_timestamp":"000001a076046e48"} 
[2026-09-06 14:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:51: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-09-06 14: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-09-06 14:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:51: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-09-06 14:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903640064001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903640064001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:51:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:51:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903640064001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":173969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:51:58] local.INFO: GPS data processed {"connection_id":173969,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:51:58] local.INFO: Acknowledgment sent {"connection_id":173969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:52:29] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:52:29] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:52:29] local.INFO: Packet analysis {"connection_id":173969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:52:29] local.INFO: Extracted packet for processing {"connection_id":173969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:52:29] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 14:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903640064001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 14:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788686397000,"timestamp_ms":1788686397000,"timestamp_seconds":1788686397,"priority":1,"record_length":96,"hex_timestamp":"000001a076046e48"} 
[2026-09-06 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-09-06 14:52: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-09-06 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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:52: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-09-06 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-09-06 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-09-06 14:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:52: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-09-06 14:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903640064001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903640064001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:52:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:52:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903640064001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":173969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:52:29] local.INFO: GPS data processed {"connection_id":173969,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:52:29] local.INFO: Acknowledgment sent {"connection_id":173969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:52:48] local.INFO: TCP Data received {"connection_id":173970,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:52:48] local.INFO: Processing buffer {"connection_id":173970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:52:48] local.INFO: IMEI packet received {"connection_id":173970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":173970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:52:53] local.INFO: TCP Data received {"connection_id":173970,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:52:53] local.INFO: Processing buffer {"connection_id":173970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:52:53] local.INFO: IMEI packet received {"connection_id":173970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":173970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:52:54] local.INFO: TCP Data received {"connection_id":173970,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:52:54] local.INFO: Processing buffer {"connection_id":173970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:52:54] local.INFO: Packet analysis {"connection_id":173970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:52:54] local.INFO: Extracted packet for processing {"connection_id":173970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:52:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903640064001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:52: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-09-06 14:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788686397000,"timestamp_ms":1788686397000,"timestamp_seconds":1788686397,"priority":1,"record_length":96,"hex_timestamp":"000001a076046e48"} 
[2026-09-06 14:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:52: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:52: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-09-06 14: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-09-06 14:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 14:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903640064001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903640064001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:52:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:52:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903640064001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":173970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:52:54] local.INFO: GPS data processed {"connection_id":173970,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:52:54] local.INFO: Acknowledgment sent {"connection_id":173970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:53:26] local.INFO: TCP Data received {"connection_id":173970,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:53:26] local.INFO: Processing buffer {"connection_id":173970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:53:26] local.INFO: Packet analysis {"connection_id":173970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:53:26] local.INFO: Extracted packet for processing {"connection_id":173970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:53:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903640064001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:53: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-09-06 14:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788686397000,"timestamp_ms":1788686397000,"timestamp_seconds":1788686397,"priority":1,"record_length":96,"hex_timestamp":"000001a076046e48"} 
[2026-09-06 14:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:53: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-09-06 14:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:53:26] 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-09-06 14:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:53: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-09-06 14:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903640064001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903640064001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:53:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:53:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903640064001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":173970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:53:26] local.INFO: GPS data processed {"connection_id":173970,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:53:26] local.INFO: Acknowledgment sent {"connection_id":173970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:53:47] local.INFO: TCP Data received {"connection_id":172808,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:53:47] local.INFO: Processing buffer {"connection_id":172808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:53:47] local.INFO: IMEI packet received {"connection_id":172808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":172808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:53:53] local.INFO: TCP Data received {"connection_id":172808,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:53:53] local.INFO: Processing buffer {"connection_id":172808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:53:53] local.INFO: IMEI packet received {"connection_id":172808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":172808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:53:53] local.INFO: TCP Data received {"connection_id":172808,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:53:53] local.INFO: Processing buffer {"connection_id":172808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:53:53] local.INFO: Packet analysis {"connection_id":172808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:53:53] local.INFO: Extracted packet for processing {"connection_id":172808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903640064001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788686397000,"timestamp_ms":1788686397000,"timestamp_seconds":1788686397,"priority":1,"record_length":96,"hex_timestamp":"000001a076046e48"} 
[2026-09-06 14:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14: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-09-06 14: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":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:53: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-09-06 14: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-09-06 14:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:53: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-09-06 14:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903640064001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903640064001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:53:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903640064001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":172808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:53:53] local.INFO: GPS data processed {"connection_id":172808,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:53:53] local.INFO: Acknowledgment sent {"connection_id":172808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:54:25] local.INFO: TCP Data received {"connection_id":172808,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:54:25] local.INFO: Processing buffer {"connection_id":172808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:54:25] local.INFO: Packet analysis {"connection_id":172808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:54:25] local.INFO: Extracted packet for processing {"connection_id":172808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:54:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903640064001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788686397000,"timestamp_ms":1788686397000,"timestamp_seconds":1788686397,"priority":1,"record_length":96,"hex_timestamp":"000001a076046e48"} 
[2026-09-06 14:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14: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-09-06 14: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":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:54: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-09-06 14: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-09-06 14:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:54:25] 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-09-06 14:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903640064001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903640064001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:54:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:54:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903640064001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":172808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:54:25] local.INFO: GPS data processed {"connection_id":172808,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:54:25] local.INFO: Acknowledgment sent {"connection_id":172808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:54:47] local.INFO: TCP Data received {"connection_id":175299,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:54:47] local.INFO: Processing buffer {"connection_id":175299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:54:47] local.INFO: IMEI packet received {"connection_id":175299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":175299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:54:53] local.INFO: TCP Data received {"connection_id":175299,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:54:53] local.INFO: Processing buffer {"connection_id":175299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:54:53] local.INFO: IMEI packet received {"connection_id":175299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":175299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:54:54] local.INFO: TCP Data received {"connection_id":175299,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:54:54] local.INFO: Processing buffer {"connection_id":175299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:54:54] local.INFO: Packet analysis {"connection_id":175299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:54:54] local.INFO: Extracted packet for processing {"connection_id":175299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:54:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903640064001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:54: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-09-06 14:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788686397000,"timestamp_ms":1788686397000,"timestamp_seconds":1788686397,"priority":1,"record_length":96,"hex_timestamp":"000001a076046e48"} 
[2026-09-06 14:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:54: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:54: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-09-06 14: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-09-06 14:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:54: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-09-06 14:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903640064001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903640064001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:54:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:54:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903640064001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":175299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:54:54] local.INFO: GPS data processed {"connection_id":175299,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:54:54] local.INFO: Acknowledgment sent {"connection_id":175299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:55:25] local.INFO: TCP Data received {"connection_id":175299,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:55:25] local.INFO: Processing buffer {"connection_id":175299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076046e48012d34c50006aa3d30000e01352c..."} 
[2026-09-06 14:55:25] local.INFO: Packet analysis {"connection_id":175299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:55:25] local.INFO: Extracted packet for processing {"connection_id":175299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07604"} 
[2026-09-06 14:55:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903640064001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788686397000,"timestamp_ms":1788686397000,"timestamp_seconds":1788686397,"priority":1,"record_length":96,"hex_timestamp":"000001a076046e48"} 
[2026-09-06 14:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:55: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-09-06 14: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-09-06 14:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:55: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-09-06 14:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903640064001,"66":25919,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903640064001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:55:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:55:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903640064001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":175299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:55:25] local.INFO: GPS data processed {"connection_id":175299,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:55:25] local.INFO: Acknowledgment sent {"connection_id":175299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:55:47] local.INFO: TCP Data received {"connection_id":172809,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:55:47] local.INFO: Processing buffer {"connection_id":172809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:55:47] local.INFO: IMEI packet received {"connection_id":172809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":172809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:55:52] local.INFO: TCP Data received {"connection_id":172809,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:55:52] local.INFO: Processing buffer {"connection_id":172809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:55:52] local.INFO: IMEI packet received {"connection_id":172809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":172809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:55:53] local.INFO: TCP Data received {"connection_id":172809,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:55:53] local.INFO: Processing buffer {"connection_id":172809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:55:53] local.INFO: Packet analysis {"connection_id":172809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:55:53] local.INFO: Extracted packet for processing {"connection_id":172809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:55:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903717632001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788686699000,"timestamp_ms":1788686699000,"timestamp_seconds":1788686699,"priority":1,"record_length":96,"hex_timestamp":"000001a0760909f8"} 
[2026-09-06 14:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:55: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-09-06 14: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":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:55: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-09-06 14: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-09-06 14:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:55: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-09-06 14:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903717632001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903717632001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:55:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:55:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903717632001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":172809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:55:53] local.INFO: GPS data processed {"connection_id":172809,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:55:53] local.INFO: Acknowledgment sent {"connection_id":172809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:56:26] local.INFO: TCP Data received {"connection_id":172809,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:56:26] local.INFO: Processing buffer {"connection_id":172809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:56:26] local.INFO: Packet analysis {"connection_id":172809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:56:26] local.INFO: Extracted packet for processing {"connection_id":172809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:56:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903717632001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:56: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-09-06 14:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788686699000,"timestamp_ms":1788686699000,"timestamp_seconds":1788686699,"priority":1,"record_length":96,"hex_timestamp":"000001a0760909f8"} 
[2026-09-06 14:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:56: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:56:26] 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-09-06 14: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-09-06 14:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 14:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903717632001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903717632001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:56:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:56:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903717632001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":172809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:56:26] local.INFO: GPS data processed {"connection_id":172809,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:56:26] local.INFO: Acknowledgment sent {"connection_id":172809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:56:53] local.INFO: TCP Data received {"connection_id":173972,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:56:53] local.INFO: Processing buffer {"connection_id":173972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:56:53] local.INFO: IMEI packet received {"connection_id":173972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":173972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:56:58] local.INFO: TCP Data received {"connection_id":173972,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:56:58] local.INFO: Processing buffer {"connection_id":173972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:56:58] local.INFO: IMEI packet received {"connection_id":173972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":173972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:56:59] local.INFO: TCP Data received {"connection_id":173972,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:56:59] local.INFO: Processing buffer {"connection_id":173972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:56:59] local.INFO: Packet analysis {"connection_id":173972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:56:59] local.INFO: Extracted packet for processing {"connection_id":173972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903717632001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788686699000,"timestamp_ms":1788686699000,"timestamp_seconds":1788686699,"priority":1,"record_length":96,"hex_timestamp":"000001a0760909f8"} 
[2026-09-06 14:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:56:59] 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-09-06 14: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-09-06 14:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14: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-09-06 14:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903717632001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903717632001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:56:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:56:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903717632001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":173972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:56:59] local.INFO: GPS data processed {"connection_id":173972,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:56:59] local.INFO: Acknowledgment sent {"connection_id":173972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:57:03] local.INFO: TCP Data received {"connection_id":173972,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:57:03] local.INFO: Processing buffer {"connection_id":173972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:57:03] local.INFO: Packet analysis {"connection_id":173972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:57:03] local.INFO: Extracted packet for processing {"connection_id":173972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903717632001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:57: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-09-06 14:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788686699000,"timestamp_ms":1788686699000,"timestamp_seconds":1788686699,"priority":1,"record_length":96,"hex_timestamp":"000001a0760909f8"} 
[2026-09-06 14:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:57: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:57:03] 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-09-06 14: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-09-06 14:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:57:03] 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-09-06 14:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903717632001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903717632001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903717632001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":173972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:57:03] local.INFO: GPS data processed {"connection_id":173972,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:57:03] local.INFO: Acknowledgment sent {"connection_id":173972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:57:20] local.INFO: TCP Data received {"connection_id":172588,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:57:20] local.INFO: Processing buffer {"connection_id":172588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:57:20] local.INFO: IMEI packet received {"connection_id":172588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 14:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":172588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:57:48] local.INFO: TCP Data received {"connection_id":172589,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:57:48] local.INFO: Processing buffer {"connection_id":172589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:57:48] local.INFO: IMEI packet received {"connection_id":172589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":172589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:57:50] local.INFO: TCP Data received {"connection_id":172590,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:57:50] local.INFO: Processing buffer {"connection_id":172590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 14:57:50] local.INFO: IMEI packet received {"connection_id":172590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 14:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":172590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:57:53] local.INFO: TCP Data received {"connection_id":172589,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:57:53] local.INFO: Processing buffer {"connection_id":172589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:57:53] local.INFO: IMEI packet received {"connection_id":172589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":172589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:57:54] local.INFO: TCP Data received {"connection_id":172589,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:57:54] local.INFO: Processing buffer {"connection_id":172589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:57:54] local.INFO: Packet analysis {"connection_id":172589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:57:54] local.INFO: Extracted packet for processing {"connection_id":172589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:57:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 14:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903717632001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:57: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-09-06 14:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788686699000,"timestamp_ms":1788686699000,"timestamp_seconds":1788686699,"priority":1,"record_length":96,"hex_timestamp":"000001a0760909f8"} 
[2026-09-06 14:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:57: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-09-06 14:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:57: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-09-06 14:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 14:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 14:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903717632001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903717632001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:57:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:57:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903717632001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":172589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:57:54] local.INFO: GPS data processed {"connection_id":172589,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:57:54] local.INFO: Acknowledgment sent {"connection_id":172589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:58:25] local.INFO: TCP Data received {"connection_id":172589,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:58:25] local.INFO: Processing buffer {"connection_id":172589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:58:25] local.INFO: Packet analysis {"connection_id":172589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:58:25] local.INFO: Extracted packet for processing {"connection_id":172589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:58:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903717632001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788686699000,"timestamp_ms":1788686699000,"timestamp_seconds":1788686699,"priority":1,"record_length":96,"hex_timestamp":"000001a0760909f8"} 
[2026-09-06 14:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:58: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:58: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-09-06 14: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-09-06 14:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:58: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-09-06 14:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903717632001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903717632001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:58:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:58:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903717632001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":172589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:58:25] local.INFO: GPS data processed {"connection_id":172589,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:58:25] local.INFO: Acknowledgment sent {"connection_id":172589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:58:48] local.INFO: TCP Data received {"connection_id":173973,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:58:48] local.INFO: Processing buffer {"connection_id":173973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:58:48] local.INFO: IMEI packet received {"connection_id":173973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":173973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:58:53] local.INFO: TCP Data received {"connection_id":173973,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:58:53] local.INFO: Processing buffer {"connection_id":173973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:58:53] local.INFO: IMEI packet received {"connection_id":173973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":173973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:58:54] local.INFO: TCP Data received {"connection_id":173973,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:58:54] local.INFO: Processing buffer {"connection_id":173973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:58:54] local.INFO: Packet analysis {"connection_id":173973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:58:54] local.INFO: Extracted packet for processing {"connection_id":173973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:58:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903717632001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:58: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-09-06 14:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788686699000,"timestamp_ms":1788686699000,"timestamp_seconds":1788686699,"priority":1,"record_length":96,"hex_timestamp":"000001a0760909f8"} 
[2026-09-06 14:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:58: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:58: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-09-06 14: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-09-06 14:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:58: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-09-06 14:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903717632001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903717632001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:58:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:58:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903717632001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":173973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:58:54] local.INFO: GPS data processed {"connection_id":173973,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:58:54] local.INFO: Acknowledgment sent {"connection_id":173973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:59:27] local.INFO: TCP Data received {"connection_id":173973,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:59:27] local.INFO: Processing buffer {"connection_id":173973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:59:27] local.INFO: Packet analysis {"connection_id":173973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:59:27] local.INFO: Extracted packet for processing {"connection_id":173973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:59:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903717632001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14:59: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-09-06 14:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788686699000,"timestamp_ms":1788686699000,"timestamp_seconds":1788686699,"priority":1,"record_length":96,"hex_timestamp":"000001a0760909f8"} 
[2026-09-06 14:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:59:27] 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-09-06 14: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-09-06 14:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 14:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903717632001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903717632001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:59:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:59:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903717632001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":173973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:59:27] local.INFO: GPS data processed {"connection_id":173973,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:59:27] local.INFO: Acknowledgment sent {"connection_id":173973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 14:59:47] local.INFO: TCP Data received {"connection_id":172810,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:59:47] local.INFO: Processing buffer {"connection_id":172810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:59:47] local.INFO: IMEI packet received {"connection_id":172810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 14:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":172810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 14:59:53] local.INFO: TCP Data received {"connection_id":172810,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:59:53] local.INFO: Processing buffer {"connection_id":172810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 14:59:53] local.INFO: IMEI packet received {"connection_id":172810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 14:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":172810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 14:59:53] local.INFO: TCP Data received {"connection_id":172810,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:59:53] local.INFO: Processing buffer {"connection_id":172810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 14:59:53] local.INFO: Packet analysis {"connection_id":172810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:59:53] local.INFO: Extracted packet for processing {"connection_id":172810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 14:59:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 14: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-09-06 14:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903717632001,"note":"Value kept but may cause issues"} 
[2026-09-06 14:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 14:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 14: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-09-06 14:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788686699000,"timestamp_ms":1788686699000,"timestamp_seconds":1788686699,"priority":1,"record_length":96,"hex_timestamp":"000001a0760909f8"} 
[2026-09-06 14:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 14: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-09-06 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 14:59: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-09-06 14: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-09-06 14:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 14:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 14:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 14:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 14: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-09-06 14:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 14:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 14:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903717632001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 14:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 14:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 14:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903717632001,"description":"Unknown IO ID 0"} 
[2026-09-06 14:59:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 14:59:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 14:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 14:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 14:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903717632001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 14:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":172810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 14:59:53] local.INFO: GPS data processed {"connection_id":172810,"processed":1,"errors":0,"total":1} 
[2026-09-06 14:59:53] local.INFO: Acknowledgment sent {"connection_id":172810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:00:25] local.INFO: TCP Data received {"connection_id":172810,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:00:25] local.INFO: Processing buffer {"connection_id":172810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760909f8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:00:25] local.INFO: Packet analysis {"connection_id":172810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 15:00:25] local.INFO: Extracted packet for processing {"connection_id":172810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07609"} 
[2026-09-06 15:00:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903717632001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788686699000,"timestamp_ms":1788686699000,"timestamp_seconds":1788686699,"priority":1,"record_length":96,"hex_timestamp":"000001a0760909f8"} 
[2026-09-06 15:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:00: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-09-06 15: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-06 15:00: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-09-06 15: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-09-06 15:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15: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-09-06 15:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903717632001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903717632001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:00:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:00:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903717632001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":172810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:00:25] local.INFO: GPS data processed {"connection_id":172810,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:00:25] local.INFO: Acknowledgment sent {"connection_id":172810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:00:47] local.INFO: TCP Data received {"connection_id":173975,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:00:47] local.INFO: Processing buffer {"connection_id":173975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:00:47] local.INFO: IMEI packet received {"connection_id":173975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":173975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:00:52] local.INFO: TCP Data received {"connection_id":173975,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:00:52] local.INFO: Processing buffer {"connection_id":173975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:00:52] local.INFO: IMEI packet received {"connection_id":173975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":173975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:00:53] local.INFO: TCP Data received {"connection_id":173975,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:00:53] local.INFO: Processing buffer {"connection_id":173975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:00:53] local.INFO: Packet analysis {"connection_id":173975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:00:53] local.INFO: Extracted packet for processing {"connection_id":173975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903794944001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788687005000,"timestamp_ms":1788687005000,"timestamp_seconds":1788687005,"priority":1,"record_length":96,"hex_timestamp":"000001a0760db548"} 
[2026-09-06 15:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:00: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-09-06 15:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903794944001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903794944001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:00:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903794944001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":173975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:00:53] local.INFO: GPS data processed {"connection_id":173975,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:00:53] local.INFO: Acknowledgment sent {"connection_id":173975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:01:25] local.INFO: TCP Data received {"connection_id":173975,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:01:25] local.INFO: Processing buffer {"connection_id":173975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:01:25] local.INFO: Packet analysis {"connection_id":173975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:01:25] local.INFO: Extracted packet for processing {"connection_id":173975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:01:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903794944001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:01: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-09-06 15:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788687005000,"timestamp_ms":1788687005000,"timestamp_seconds":1788687005,"priority":1,"record_length":96,"hex_timestamp":"000001a0760db548"} 
[2026-09-06 15:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:01: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-09-06 15:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:01: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-09-06 15:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903794944001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903794944001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:01:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:01:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903794944001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":173975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:01:25] local.INFO: GPS data processed {"connection_id":173975,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:01:25] local.INFO: Acknowledgment sent {"connection_id":173975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:01:48] local.INFO: TCP Data received {"connection_id":172811,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:01:48] local.INFO: Processing buffer {"connection_id":172811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:01:48] local.INFO: IMEI packet received {"connection_id":172811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":172811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:01:53] local.INFO: TCP Data received {"connection_id":172811,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:01:53] local.INFO: Processing buffer {"connection_id":172811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:01:53] local.INFO: IMEI packet received {"connection_id":172811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":172811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:01:54] local.INFO: TCP Data received {"connection_id":172811,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:01:54] local.INFO: Processing buffer {"connection_id":172811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:01:54] local.INFO: Packet analysis {"connection_id":172811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:01:54] local.INFO: Extracted packet for processing {"connection_id":172811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:01:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903794944001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788687005000,"timestamp_ms":1788687005000,"timestamp_seconds":1788687005,"priority":1,"record_length":96,"hex_timestamp":"000001a0760db548"} 
[2026-09-06 15:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:01: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-09-06 15:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903794944001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903794944001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:01:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:01:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903794944001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":172811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:01:54] local.INFO: GPS data processed {"connection_id":172811,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:01:54] local.INFO: Acknowledgment sent {"connection_id":172811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:02:25] local.INFO: TCP Data received {"connection_id":172811,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:02:25] local.INFO: Processing buffer {"connection_id":172811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:02:25] local.INFO: Packet analysis {"connection_id":172811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:02:25] local.INFO: Extracted packet for processing {"connection_id":172811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:02:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903794944001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788687005000,"timestamp_ms":1788687005000,"timestamp_seconds":1788687005,"priority":1,"record_length":96,"hex_timestamp":"000001a0760db548"} 
[2026-09-06 15:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:02: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15: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-09-06 15:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903794944001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903794944001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:02:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:02:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903794944001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":172811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:02:25] local.INFO: GPS data processed {"connection_id":172811,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:02:25] local.INFO: Acknowledgment sent {"connection_id":172811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:02:48] local.INFO: TCP Data received {"connection_id":172593,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:02:48] local.INFO: Processing buffer {"connection_id":172593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:02:48] local.INFO: IMEI packet received {"connection_id":172593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":172593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:02:53] local.INFO: TCP Data received {"connection_id":172593,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:02:53] local.INFO: Processing buffer {"connection_id":172593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:02:53] local.INFO: IMEI packet received {"connection_id":172593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":172593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:02:54] local.INFO: TCP Data received {"connection_id":172593,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:02:54] local.INFO: Processing buffer {"connection_id":172593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:02:54] local.INFO: Packet analysis {"connection_id":172593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:02:54] local.INFO: Extracted packet for processing {"connection_id":172593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:02:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903794944001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788687005000,"timestamp_ms":1788687005000,"timestamp_seconds":1788687005,"priority":1,"record_length":96,"hex_timestamp":"000001a0760db548"} 
[2026-09-06 15:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:02: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-09-06 15:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903794944001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903794944001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:02:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:02:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903794944001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":172593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:02:54] local.INFO: GPS data processed {"connection_id":172593,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:02:54] local.INFO: Acknowledgment sent {"connection_id":172593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:03:14] local.INFO: TCP Data received {"connection_id":175300,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:03:14] local.INFO: Processing buffer {"connection_id":175300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:03:14] local.INFO: IMEI packet received {"connection_id":175300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 15:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":175300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:03:25] local.INFO: TCP Data received {"connection_id":172593,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:03:25] local.INFO: Processing buffer {"connection_id":172593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:03:25] local.INFO: Packet analysis {"connection_id":172593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:03:25] local.INFO: Extracted packet for processing {"connection_id":172593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903794944001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788687005000,"timestamp_ms":1788687005000,"timestamp_seconds":1788687005,"priority":1,"record_length":96,"hex_timestamp":"000001a0760db548"} 
[2026-09-06 15:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:03: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-09-06 15:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903794944001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903794944001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903794944001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":172593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:03:25] local.INFO: GPS data processed {"connection_id":172593,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:03:25] local.INFO: Acknowledgment sent {"connection_id":172593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:03:48] local.INFO: TCP Data received {"connection_id":172594,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:03:48] local.INFO: Processing buffer {"connection_id":172594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:03:48] local.INFO: IMEI packet received {"connection_id":172594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":172594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:03:49] local.INFO: TCP Data received {"connection_id":175301,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:03:49] local.INFO: Processing buffer {"connection_id":175301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:03:49] local.INFO: IMEI packet received {"connection_id":175301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 15:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":175301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:03:53] local.INFO: TCP Data received {"connection_id":172594,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:03:53] local.INFO: Processing buffer {"connection_id":172594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:03:53] local.INFO: IMEI packet received {"connection_id":172594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":172594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:03:54] local.INFO: TCP Data received {"connection_id":172594,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:03:54] local.INFO: Processing buffer {"connection_id":172594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:03:54] local.INFO: Packet analysis {"connection_id":172594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:03:54] local.INFO: Extracted packet for processing {"connection_id":172594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:03:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903794944001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:03: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-09-06 15:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788687005000,"timestamp_ms":1788687005000,"timestamp_seconds":1788687005,"priority":1,"record_length":96,"hex_timestamp":"000001a0760db548"} 
[2026-09-06 15:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:03: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903794944001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903794944001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:03:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:03:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903794944001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":172594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:03:54] local.INFO: GPS data processed {"connection_id":172594,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:03:54] local.INFO: Acknowledgment sent {"connection_id":172594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:04:25] local.INFO: TCP Data received {"connection_id":172594,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:04:25] local.INFO: Processing buffer {"connection_id":172594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:04:25] local.INFO: Packet analysis {"connection_id":172594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:04:25] local.INFO: Extracted packet for processing {"connection_id":172594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:04:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903794944001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788687005000,"timestamp_ms":1788687005000,"timestamp_seconds":1788687005,"priority":1,"record_length":96,"hex_timestamp":"000001a0760db548"} 
[2026-09-06 15:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:04: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-09-06 15:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903794944001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903794944001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:04:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:04:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903794944001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":172594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:04:25] local.INFO: GPS data processed {"connection_id":172594,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:04:25] local.INFO: Acknowledgment sent {"connection_id":172594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:04:47] local.INFO: TCP Data received {"connection_id":173977,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:04:47] local.INFO: Processing buffer {"connection_id":173977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:04:47] local.INFO: IMEI packet received {"connection_id":173977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":173977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:04:53] local.INFO: TCP Data received {"connection_id":173977,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:04:53] local.INFO: Processing buffer {"connection_id":173977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:04:53] local.INFO: IMEI packet received {"connection_id":173977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":173977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:04:53] local.INFO: TCP Data received {"connection_id":173977,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:04:53] local.INFO: Processing buffer {"connection_id":173977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:04:53] local.INFO: Packet analysis {"connection_id":173977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:04:53] local.INFO: Extracted packet for processing {"connection_id":173977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903794944001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788687005000,"timestamp_ms":1788687005000,"timestamp_seconds":1788687005,"priority":1,"record_length":96,"hex_timestamp":"000001a0760db548"} 
[2026-09-06 15:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903794944001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 15:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903794944001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:04:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903794944001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":173977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:04:53] local.INFO: GPS data processed {"connection_id":173977,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:04:53] local.INFO: Acknowledgment sent {"connection_id":173977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:05:25] local.INFO: TCP Data received {"connection_id":173977,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:05:25] local.INFO: Processing buffer {"connection_id":173977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0760db548012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:05:25] local.INFO: Packet analysis {"connection_id":173977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:05:25] local.INFO: Extracted packet for processing {"connection_id":173977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0760d"} 
[2026-09-06 15:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903794944001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788687005000,"timestamp_ms":1788687005000,"timestamp_seconds":1788687005,"priority":1,"record_length":96,"hex_timestamp":"000001a0760db548"} 
[2026-09-06 15:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903794944001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 15:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903794944001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:05:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903794944001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":173977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:05:25] local.INFO: GPS data processed {"connection_id":173977,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:05:25] local.INFO: Acknowledgment sent {"connection_id":173977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:05:47] local.INFO: TCP Data received {"connection_id":173979,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:05:47] local.INFO: Processing buffer {"connection_id":173979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:05:47] local.INFO: IMEI packet received {"connection_id":173979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":173979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:05:52] local.INFO: TCP Data received {"connection_id":173979,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:05:52] local.INFO: Processing buffer {"connection_id":173979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:05:52] local.INFO: IMEI packet received {"connection_id":173979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":173979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:05:54] local.INFO: TCP Data received {"connection_id":173979,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:05:54] local.INFO: Processing buffer {"connection_id":173979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:05:54] local.INFO: Packet analysis {"connection_id":173979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:05:54] local.INFO: Extracted packet for processing {"connection_id":173979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:05:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903873280001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:05: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-09-06 15:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788687312000,"timestamp_ms":1788687312000,"timestamp_seconds":1788687312,"priority":1,"record_length":96,"hex_timestamp":"000001a076126480"} 
[2026-09-06 15:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:05: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-09-06 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 15:05: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-09-06 15: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-09-06 15:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903873280001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903873280001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:05:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:05:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903873280001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":173979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:05:54] local.INFO: GPS data processed {"connection_id":173979,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:05:54] local.INFO: Acknowledgment sent {"connection_id":173979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:06:25] local.INFO: TCP Data received {"connection_id":173979,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:06:25] local.INFO: Processing buffer {"connection_id":173979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:06:25] local.INFO: Packet analysis {"connection_id":173979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:06:25] local.INFO: Extracted packet for processing {"connection_id":173979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:06:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903873280001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788687312000,"timestamp_ms":1788687312000,"timestamp_seconds":1788687312,"priority":1,"record_length":96,"hex_timestamp":"000001a076126480"} 
[2026-09-06 15:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:06: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-09-06 15:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 15:06: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-09-06 15: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-09-06 15:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:06: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-09-06 15:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903873280001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903873280001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:06:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:06:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903873280001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":173979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:06:25] local.INFO: GPS data processed {"connection_id":173979,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:06:25] local.INFO: Acknowledgment sent {"connection_id":173979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:06:48] local.INFO: TCP Data received {"connection_id":172596,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:06:48] local.INFO: Processing buffer {"connection_id":172596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:06:48] local.INFO: IMEI packet received {"connection_id":172596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":172596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:06:53] local.INFO: TCP Data received {"connection_id":172596,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:06:53] local.INFO: Processing buffer {"connection_id":172596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:06:53] local.INFO: IMEI packet received {"connection_id":172596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":172596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:06:53] local.INFO: TCP Data received {"connection_id":172596,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:06:53] local.INFO: Processing buffer {"connection_id":172596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:06:53] local.INFO: Packet analysis {"connection_id":172596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:06:53] local.INFO: Extracted packet for processing {"connection_id":172596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903873280001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788687312000,"timestamp_ms":1788687312000,"timestamp_seconds":1788687312,"priority":1,"record_length":96,"hex_timestamp":"000001a076126480"} 
[2026-09-06 15:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 15:06: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-09-06 15: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-09-06 15:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:06: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-09-06 15:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903873280001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903873280001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:06:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:06:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903873280001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":172596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:06:53] local.INFO: GPS data processed {"connection_id":172596,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:06:53] local.INFO: Acknowledgment sent {"connection_id":172596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:07:25] local.INFO: TCP Data received {"connection_id":172596,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:07:25] local.INFO: Processing buffer {"connection_id":172596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:07:25] local.INFO: Packet analysis {"connection_id":172596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:07:25] local.INFO: Extracted packet for processing {"connection_id":172596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:07:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 15:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903873280001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 15:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788687312000,"timestamp_ms":1788687312000,"timestamp_seconds":1788687312,"priority":1,"record_length":96,"hex_timestamp":"000001a076126480"} 
[2026-09-06 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-09-06 15:07: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-09-06 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 15:07: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-09-06 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-09-06 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-09-06 15:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:07: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-09-06 15:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903873280001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903873280001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:07:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:07:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903873280001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":172596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:07:25] local.INFO: GPS data processed {"connection_id":172596,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:07:25] local.INFO: Acknowledgment sent {"connection_id":172596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:07:47] local.INFO: TCP Data received {"connection_id":173980,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:07:47] local.INFO: Processing buffer {"connection_id":173980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:07:47] local.INFO: IMEI packet received {"connection_id":173980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":173980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:07:53] local.INFO: TCP Data received {"connection_id":173980,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:07:53] local.INFO: Processing buffer {"connection_id":173980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:07:53] local.INFO: IMEI packet received {"connection_id":173980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":173980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:07:55] local.INFO: TCP Data received {"connection_id":173980,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:07:55] local.INFO: Processing buffer {"connection_id":173980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:07:55] local.INFO: Packet analysis {"connection_id":173980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:07:55] local.INFO: Extracted packet for processing {"connection_id":173980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:07:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903873280001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:07: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-09-06 15:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788687312000,"timestamp_ms":1788687312000,"timestamp_seconds":1788687312,"priority":1,"record_length":96,"hex_timestamp":"000001a076126480"} 
[2026-09-06 15:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:07: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-09-06 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 15:07:55] 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-09-06 15: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-09-06 15:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:07: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-09-06 15:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903873280001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903873280001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:07:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:07:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903873280001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":173980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:07:55] local.INFO: GPS data processed {"connection_id":173980,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:07:55] local.INFO: Acknowledgment sent {"connection_id":173980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:08:26] local.INFO: TCP Data received {"connection_id":173980,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:08:26] local.INFO: Processing buffer {"connection_id":173980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:08:26] local.INFO: Packet analysis {"connection_id":173980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:08:26] local.INFO: Extracted packet for processing {"connection_id":173980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:08:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903873280001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788687312000,"timestamp_ms":1788687312000,"timestamp_seconds":1788687312,"priority":1,"record_length":96,"hex_timestamp":"000001a076126480"} 
[2026-09-06 15:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:08: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-09-06 15: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 15:08: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-09-06 15: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-09-06 15:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:08: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-09-06 15:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903873280001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903873280001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:08:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:08:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903873280001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":173980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:08:26] local.INFO: GPS data processed {"connection_id":173980,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:08:26] local.INFO: Acknowledgment sent {"connection_id":173980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:08:47] local.INFO: TCP Data received {"connection_id":172597,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:08:47] local.INFO: Processing buffer {"connection_id":172597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:08:47] local.INFO: IMEI packet received {"connection_id":172597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":172597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:08:53] local.INFO: TCP Data received {"connection_id":172597,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:08:53] local.INFO: Processing buffer {"connection_id":172597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:08:53] local.INFO: IMEI packet received {"connection_id":172597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":172597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:08:53] local.INFO: TCP Data received {"connection_id":172597,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:08:53] local.INFO: Processing buffer {"connection_id":172597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:08:53] local.INFO: Packet analysis {"connection_id":172597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:08:53] local.INFO: Extracted packet for processing {"connection_id":172597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 15:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903873280001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 15:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788687312000,"timestamp_ms":1788687312000,"timestamp_seconds":1788687312,"priority":1,"record_length":96,"hex_timestamp":"000001a076126480"} 
[2026-09-06 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-09-06 15: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-09-06 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 15:08: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-09-06 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-09-06 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-09-06 15:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:08: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-09-06 15:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903873280001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903873280001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:08:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903873280001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":172597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:08:53] local.INFO: GPS data processed {"connection_id":172597,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:08:53] local.INFO: Acknowledgment sent {"connection_id":172597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:09:10] local.INFO: TCP Data received {"connection_id":172598,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:09:10] local.INFO: Processing buffer {"connection_id":172598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:09:10] local.INFO: IMEI packet received {"connection_id":172598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 15:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":172598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:09:25] local.INFO: TCP Data received {"connection_id":172597,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:09:25] local.INFO: Processing buffer {"connection_id":172597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:09:25] local.INFO: Packet analysis {"connection_id":172597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:09:25] local.INFO: Extracted packet for processing {"connection_id":172597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:09:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903873280001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788687312000,"timestamp_ms":1788687312000,"timestamp_seconds":1788687312,"priority":1,"record_length":96,"hex_timestamp":"000001a076126480"} 
[2026-09-06 15:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:09: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-09-06 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 15:09: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-09-06 15: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-09-06 15:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:09: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-09-06 15:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903873280001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903873280001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:09:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:09:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903873280001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":172597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:09:25] local.INFO: GPS data processed {"connection_id":172597,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:09:25] local.INFO: Acknowledgment sent {"connection_id":172597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:09:47] local.INFO: TCP Data received {"connection_id":175305,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:09:47] local.INFO: Processing buffer {"connection_id":175305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:09:47] local.INFO: IMEI packet received {"connection_id":175305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":175305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:09:53] local.INFO: TCP Data received {"connection_id":175305,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:09:53] local.INFO: Processing buffer {"connection_id":175305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:09:53] local.INFO: IMEI packet received {"connection_id":175305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":175305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:09:55] local.INFO: TCP Data received {"connection_id":175305,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:09:55] local.INFO: Processing buffer {"connection_id":175305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:09:55] local.INFO: Packet analysis {"connection_id":175305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:09:55] local.INFO: Extracted packet for processing {"connection_id":175305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:09:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903873280001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:09: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-09-06 15:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788687312000,"timestamp_ms":1788687312000,"timestamp_seconds":1788687312,"priority":1,"record_length":96,"hex_timestamp":"000001a076126480"} 
[2026-09-06 15:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:09: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-09-06 15:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 15:09:55] 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-09-06 15:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:09:55] 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-09-06 15:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903873280001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903873280001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:09:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:09:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903873280001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":175305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:09:55] local.INFO: GPS data processed {"connection_id":175305,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:09:55] local.INFO: Acknowledgment sent {"connection_id":175305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:10:26] local.INFO: TCP Data received {"connection_id":175305,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:10:26] local.INFO: Processing buffer {"connection_id":175305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076126480012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:10:26] local.INFO: Packet analysis {"connection_id":175305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:10:26] local.INFO: Extracted packet for processing {"connection_id":175305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07612"} 
[2026-09-06 15:10:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903873280001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:10: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-09-06 15:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788687312000,"timestamp_ms":1788687312000,"timestamp_seconds":1788687312,"priority":1,"record_length":96,"hex_timestamp":"000001a076126480"} 
[2026-09-06 15:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:10: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-09-06 15:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 15:10: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-09-06 15:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:10: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-09-06 15:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903873280001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903873280001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:10:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:10:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903873280001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":175305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:10:26] local.INFO: GPS data processed {"connection_id":175305,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:10:26] local.INFO: Acknowledgment sent {"connection_id":175305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:10:53] local.INFO: TCP Data received {"connection_id":173982,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:10:53] local.INFO: Processing buffer {"connection_id":173982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:10:53] local.INFO: IMEI packet received {"connection_id":173982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":173982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:10:58] local.INFO: TCP Data received {"connection_id":173982,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:10:58] local.INFO: Processing buffer {"connection_id":173982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:10:58] local.INFO: IMEI packet received {"connection_id":173982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":173982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:10:59] local.INFO: TCP Data received {"connection_id":173982,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:10:59] local.INFO: Processing buffer {"connection_id":173982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:10:59] local.INFO: Packet analysis {"connection_id":173982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:10:59] local.INFO: Extracted packet for processing {"connection_id":173982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:10:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903951872001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788687615000,"timestamp_ms":1788687615000,"timestamp_seconds":1788687615,"priority":1,"record_length":96,"hex_timestamp":"000001a076170418"} 
[2026-09-06 15:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:10: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:10:59] 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-09-06 15: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-09-06 15:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903951872001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 15:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903951872001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:10:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:10:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903951872001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":173982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:10:59] local.INFO: GPS data processed {"connection_id":173982,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:10:59] local.INFO: Acknowledgment sent {"connection_id":173982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:11:03] local.INFO: TCP Data received {"connection_id":173982,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:11:03] local.INFO: Processing buffer {"connection_id":173982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:11:03] local.INFO: Packet analysis {"connection_id":173982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:11:03] local.INFO: Extracted packet for processing {"connection_id":173982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903951872001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:11: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-09-06 15:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788687615000,"timestamp_ms":1788687615000,"timestamp_seconds":1788687615,"priority":1,"record_length":96,"hex_timestamp":"000001a076170418"} 
[2026-09-06 15:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:11: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-09-06 15:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:11: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-09-06 15:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903951872001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 15:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903951872001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:11:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:11:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903951872001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":173982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:11:03] local.INFO: GPS data processed {"connection_id":173982,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:11:03] local.INFO: Acknowledgment sent {"connection_id":173982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:11:47] local.INFO: TCP Data received {"connection_id":172599,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:11:47] local.INFO: Processing buffer {"connection_id":172599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:11:47] local.INFO: IMEI packet received {"connection_id":172599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":172599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:11:53] local.INFO: TCP Data received {"connection_id":172599,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:11:53] local.INFO: Processing buffer {"connection_id":172599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:11:53] local.INFO: IMEI packet received {"connection_id":172599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":172599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:11:54] local.INFO: TCP Data received {"connection_id":172599,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:11:54] local.INFO: Processing buffer {"connection_id":172599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:11:54] local.INFO: Packet analysis {"connection_id":172599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:11:54] local.INFO: Extracted packet for processing {"connection_id":172599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903951872001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788687615000,"timestamp_ms":1788687615000,"timestamp_seconds":1788687615,"priority":1,"record_length":96,"hex_timestamp":"000001a076170418"} 
[2026-09-06 15:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:11: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:11:54] 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-09-06 15: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-09-06 15:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:11:54] 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-09-06 15:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903951872001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903951872001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:11:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:11:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903951872001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":172599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:11:54] local.INFO: GPS data processed {"connection_id":172599,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:11:54] local.INFO: Acknowledgment sent {"connection_id":172599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:12:25] local.INFO: TCP Data received {"connection_id":172599,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:12:25] local.INFO: Processing buffer {"connection_id":172599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:12:25] local.INFO: Packet analysis {"connection_id":172599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:12:25] local.INFO: Extracted packet for processing {"connection_id":172599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:12:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903951872001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788687615000,"timestamp_ms":1788687615000,"timestamp_seconds":1788687615,"priority":1,"record_length":96,"hex_timestamp":"000001a076170418"} 
[2026-09-06 15:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:12: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:12: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-09-06 15: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-09-06 15:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15: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-09-06 15:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903951872001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903951872001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:12:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:12:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903951872001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":172599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:12:25] local.INFO: GPS data processed {"connection_id":172599,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:12:25] local.INFO: Acknowledgment sent {"connection_id":172599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:12:47] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:12:47] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:12:47] local.INFO: IMEI packet received {"connection_id":173984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":173984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:12:53] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:12:53] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:12:53] local.INFO: IMEI packet received {"connection_id":173984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":173984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:12:54] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:12:54] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:12:54] local.INFO: Packet analysis {"connection_id":173984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:12:54] local.INFO: Extracted packet for processing {"connection_id":173984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:12:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903951872001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:12: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-09-06 15:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788687615000,"timestamp_ms":1788687615000,"timestamp_seconds":1788687615,"priority":1,"record_length":96,"hex_timestamp":"000001a076170418"} 
[2026-09-06 15:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:12:54] 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-09-06 15: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-09-06 15:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:12: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-09-06 15:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903951872001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903951872001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:12:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:12:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903951872001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":173984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:12:54] local.INFO: GPS data processed {"connection_id":173984,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:12:54] local.INFO: Acknowledgment sent {"connection_id":173984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:13:25] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:13:25] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:13:25] local.INFO: Packet analysis {"connection_id":173984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:13:25] local.INFO: Extracted packet for processing {"connection_id":173984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:13:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903951872001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788687615000,"timestamp_ms":1788687615000,"timestamp_seconds":1788687615,"priority":1,"record_length":96,"hex_timestamp":"000001a076170418"} 
[2026-09-06 15:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:13: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:13: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-09-06 15: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-09-06 15:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:13: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-09-06 15:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903951872001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903951872001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:13:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:13:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903951872001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":173984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:13:25] local.INFO: GPS data processed {"connection_id":173984,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:13:25] local.INFO: Acknowledgment sent {"connection_id":173984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:13:29] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:13:29] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:13:29] local.INFO: IMEI packet received {"connection_id":172813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":172813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:13:31] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:13:31] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:13:31] local.INFO: IMEI packet received {"connection_id":172813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":172813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:13:33] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:13:33] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:13:33] local.INFO: IMEI packet received {"connection_id":172813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":172813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:13:34] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.109.136.4","data_length":93,"data_hex":"00000000000000518e01000000000000b7980100000000000000000000000000..."} 
[2026-09-06 15:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":93,"packet_hex":"00000000000000518e01000000000000b7980100000000000000000000000000..."} 
[2026-09-06 15:13:34] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":93,"buffer_hex":"00000000000000518e01000000000000b7980100000000000000000000000000..."} 
[2026-09-06 15:13:34] local.INFO: Packet analysis {"connection_id":172813,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000000"} 
[2026-09-06 15:13:34] local.INFO: Extracted packet for processing {"connection_id":172813,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000000"} 
[2026-09-06 15:13: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-09-06 15: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":93,"current_offset":40} 
[2026-09-06 15:13: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-09-06 15:13: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-09-06 15:13:34] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:13:34] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 15:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172813,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-06 15:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 15:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 15:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 15:13:34] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 15:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":172813,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 15:13:34] local.ERROR: GPS data processing failed {"connection_id":172813,"error":"No valid data to process"} 
[2026-09-06 15:13:34] local.INFO: Acknowledgment sent {"connection_id":172813,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 15:13:47] local.INFO: TCP Data received {"connection_id":172814,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:13:47] local.INFO: Processing buffer {"connection_id":172814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:13:47] local.INFO: IMEI packet received {"connection_id":172814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":172814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:13:53] local.INFO: TCP Data received {"connection_id":172814,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:13:53] local.INFO: Processing buffer {"connection_id":172814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:13:53] local.INFO: IMEI packet received {"connection_id":172814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":172814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:13:53] local.INFO: TCP Data received {"connection_id":172814,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:13:53] local.INFO: Processing buffer {"connection_id":172814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:13:53] local.INFO: Packet analysis {"connection_id":172814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:13:53] local.INFO: Extracted packet for processing {"connection_id":172814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903951872001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788687615000,"timestamp_ms":1788687615000,"timestamp_seconds":1788687615,"priority":1,"record_length":96,"hex_timestamp":"000001a076170418"} 
[2026-09-06 15:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:13: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-09-06 15: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-09-06 15:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:13: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-09-06 15:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903951872001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903951872001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903951872001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":172814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:13:54] local.INFO: GPS data processed {"connection_id":172814,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:13:54] local.INFO: Acknowledgment sent {"connection_id":172814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:14:04] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.109.136.4","data_length":93,"data_hex":"00000000000000518e01000001a0761a24e0012d7e408005d359c80009006e05..."} 
[2026-09-06 15:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":93,"packet_hex":"00000000000000518e01000001a0761a24e0012d7e408005d359c80009006e05..."} 
[2026-09-06 15:14:04] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0761a24e0012d7e408005d359c80009006e05..."} 
[2026-09-06 15:14:04] local.INFO: Packet analysis {"connection_id":172813,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0761a"} 
[2026-09-06 15:14:04] local.INFO: Extracted packet for processing {"connection_id":172813,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0761a"} 
[2026-09-06 15:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763248768,"raw_latitude":97737160,"longitude_deg":76.3248768,"latitude_deg":9.773716,"altitude":9,"angle":110,"satellites":5,"speed":14,"hex_longitude":"2d7e4080","hex_latitude":"05d359c8","is_valid_coordinates":true} 
[2026-09-06 15:14:04] 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":93,"current_offset":40} 
[2026-09-06 15:14:04] 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-09-06 15:14:04] 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-09-06 15:14:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:14:04] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 15:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172813,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-06 15:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 15:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 15:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 15:14:04] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 15:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":172813,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 15:14:04] local.ERROR: GPS data processing failed {"connection_id":172813,"error":"No valid data to process"} 
[2026-09-06 15:14:04] local.INFO: Acknowledgment sent {"connection_id":172813,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 15:14:25] local.INFO: TCP Data received {"connection_id":172814,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:14:25] local.INFO: Processing buffer {"connection_id":172814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:14:25] local.INFO: Packet analysis {"connection_id":172814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:14:25] local.INFO: Extracted packet for processing {"connection_id":172814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:14:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903951872001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:14: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-09-06 15:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788687615000,"timestamp_ms":1788687615000,"timestamp_seconds":1788687615,"priority":1,"record_length":96,"hex_timestamp":"000001a076170418"} 
[2026-09-06 15:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:14: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:14: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-09-06 15: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-09-06 15:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:14:25] 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-09-06 15:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903951872001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903951872001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:14:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:14:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903951872001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":172814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:14:25] local.INFO: GPS data processed {"connection_id":172814,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:14:25] local.INFO: Acknowledgment sent {"connection_id":172814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:14:35] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.109.136.4","data_length":93,"data_hex":"00000000000000518e01000001a0761a3098012d7e438005d358a80009006205..."} 
[2026-09-06 15:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":93,"packet_hex":"00000000000000518e01000001a0761a3098012d7e438005d358a80009006205..."} 
[2026-09-06 15:14:35] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0761a3098012d7e438005d358a80009006205..."} 
[2026-09-06 15:14:35] local.INFO: Packet analysis {"connection_id":172813,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0761a"} 
[2026-09-06 15:14:35] local.INFO: Extracted packet for processing {"connection_id":172813,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0761a"} 
[2026-09-06 15:14:35] local.INFO: GPS Element Parsed {"raw_longitude":763249536,"raw_latitude":97736872,"longitude_deg":76.3249536,"latitude_deg":9.7736872,"altitude":9,"angle":98,"satellites":5,"speed":12,"hex_longitude":"2d7e4380","hex_latitude":"05d358a8","is_valid_coordinates":true} 
[2026-09-06 15:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-06 15:14:35] 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-09-06 15:14:35] 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-09-06 15:14:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:14:35] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 15:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172813,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-06 15:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 15:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 15:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 15:14:35] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 15:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":172813,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 15:14:35] local.ERROR: GPS data processing failed {"connection_id":172813,"error":"No valid data to process"} 
[2026-09-06 15:14:35] local.INFO: Acknowledgment sent {"connection_id":172813,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 15:14:53] local.INFO: TCP Data received {"connection_id":175307,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:14:53] local.INFO: Processing buffer {"connection_id":175307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:14:53] local.INFO: IMEI packet received {"connection_id":175307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":175307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:14:55] local.INFO: TCP Data received {"connection_id":172601,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:14:55] local.INFO: Processing buffer {"connection_id":172601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:14:55] local.INFO: IMEI packet received {"connection_id":172601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 15:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":172601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:14:58] local.INFO: TCP Data received {"connection_id":175307,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:14:58] local.INFO: Processing buffer {"connection_id":175307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:14:58] local.INFO: IMEI packet received {"connection_id":175307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":175307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:14:58] local.INFO: TCP Data received {"connection_id":175307,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:14:58] local.INFO: Processing buffer {"connection_id":175307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:14:58] local.INFO: Packet analysis {"connection_id":175307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:14:58] local.INFO: Extracted packet for processing {"connection_id":175307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:14:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903951872001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788687615000,"timestamp_ms":1788687615000,"timestamp_seconds":1788687615,"priority":1,"record_length":96,"hex_timestamp":"000001a076170418"} 
[2026-09-06 15:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:14: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-09-06 15: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":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:14: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-09-06 15: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-09-06 15:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:14:58] 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-09-06 15:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903951872001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903951872001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:14:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:14:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903951872001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":175307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:14:58] local.INFO: GPS data processed {"connection_id":175307,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:14:58] local.INFO: Acknowledgment sent {"connection_id":175307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:15:03] local.INFO: TCP Data received {"connection_id":175307,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:15:03] local.INFO: Processing buffer {"connection_id":175307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076170418012d34c50006aa3d30000e01352c..."} 
[2026-09-06 15:15:03] local.INFO: Packet analysis {"connection_id":175307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:15:03] local.INFO: Extracted packet for processing {"connection_id":175307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07617"} 
[2026-09-06 15:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457903951872001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:15: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-09-06 15:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788687615000,"timestamp_ms":1788687615000,"timestamp_seconds":1788687615,"priority":1,"record_length":96,"hex_timestamp":"000001a076170418"} 
[2026-09-06 15:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:15: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:15: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-09-06 15: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-09-06 15:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:15:03] 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-09-06 15:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457903951872001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457903951872001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:15:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:15:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457903951872001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":175307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:15:03] local.INFO: GPS data processed {"connection_id":175307,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:15:03] local.INFO: Acknowledgment sent {"connection_id":175307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:15:06] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.109.136.4","data_length":405,"data_hex":"00000000000001898e05000001a0761b5978012d7e410005d41a800006015306..."} 
[2026-09-06 15:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":405,"packet_hex":"00000000000001898e05000001a0761b5978012d7e410005d41a800006015306..."} 
[2026-09-06 15:15:06] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":405,"buffer_hex":"00000000000001898e05000001a0761b5978012d7e410005d41a800006015306..."} 
[2026-09-06 15:15:06] local.INFO: Packet analysis {"connection_id":172813,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e05000001a0761b"} 
[2026-09-06 15:15:06] local.INFO: Extracted packet for processing {"connection_id":172813,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e05000001a0761b"} 
[2026-09-06 15:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763248896,"raw_latitude":97786496,"longitude_deg":76.3248896,"latitude_deg":9.7786496,"altitude":6,"angle":339,"satellites":6,"speed":20,"hex_longitude":"2d7e4100","hex_latitude":"05d41a80","is_valid_coordinates":true} 
[2026-09-06 15:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-09-06 15:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904100096001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128939591150338048,"note":"Value kept but may cause issues"} 
[2026-09-06 15:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099241597156755456,"note":"Value kept but may cause issues"} 
[2026-09-06 15:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 15:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788687899000,"timestamp_ms":1788687899000,"timestamp_seconds":1788687899,"priority":1,"record_length":96,"hex_timestamp":"000001a0761b5978"} 
[2026-09-06 15:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 15:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":405,"current_offset":136} 
[2026-09-06 15:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:15:06] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172813,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-09-06 15:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:15:06] 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-09-06 15:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904100096001,"66":13820,"109":206,"85":15104,"24":20,"16":128939591150338048,"45":9099241597156755456},"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-09-06 15:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904100096001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:15:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 15:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128939591150338048,"km_value":128939591150338.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099241597156755456,"description":"Unknown IO ID 45"} 
[2026-09-06 15:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904100096001,"power":13820,"unknown_109":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9099241597156755456}} 
[2026-09-06 15:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":172813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:15:06] local.INFO: GPS data processed {"connection_id":172813,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:15:06] local.INFO: Acknowledgment sent {"connection_id":172813,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:15:37] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.109.136.4","data_length":93,"data_hex":"00000000000000518e01000001a0761b6918012d7e3f8005d41c300006000306..."} 
[2026-09-06 15:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":93,"packet_hex":"00000000000000518e01000001a0761b6918012d7e3f8005d41c300006000306..."} 
[2026-09-06 15:15:37] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0761b6918012d7e3f8005d41c300006000306..."} 
[2026-09-06 15:15:37] local.INFO: Packet analysis {"connection_id":172813,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0761b"} 
[2026-09-06 15:15:37] local.INFO: Extracted packet for processing {"connection_id":172813,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0761b"} 
[2026-09-06 15:15:37] local.INFO: GPS Element Parsed {"raw_longitude":763248512,"raw_latitude":97786928,"longitude_deg":76.3248512,"latitude_deg":9.7786928,"altitude":6,"angle":3,"satellites":6,"speed":8,"hex_longitude":"2d7e3f80","hex_latitude":"05d41c30","is_valid_coordinates":true} 
[2026-09-06 15: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":93,"current_offset":40} 
[2026-09-06 15:15:37] 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-09-06 15:15:37] 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-09-06 15:15:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:15:37] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 15:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172813,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-06 15:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 15:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 15:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 15:15:37] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 15:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":172813,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 15:15:37] local.ERROR: GPS data processing failed {"connection_id":172813,"error":"No valid data to process"} 
[2026-09-06 15:15:37] local.INFO: Acknowledgment sent {"connection_id":172813,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 15:15:48] local.INFO: TCP Data received {"connection_id":175308,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:15:48] local.INFO: Processing buffer {"connection_id":175308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:15:48] local.INFO: IMEI packet received {"connection_id":175308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":175308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:15:50] local.INFO: TCP Data received {"connection_id":175309,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:15:50] local.INFO: Processing buffer {"connection_id":175309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:15:50] local.INFO: IMEI packet received {"connection_id":175309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 15:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":175309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:15:53] local.INFO: TCP Data received {"connection_id":175308,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:15:53] local.INFO: Processing buffer {"connection_id":175308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:15:53] local.INFO: IMEI packet received {"connection_id":175308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":175308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:15:54] local.INFO: TCP Data received {"connection_id":175308,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:15:54] local.INFO: Processing buffer {"connection_id":175308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:15:54] local.INFO: Packet analysis {"connection_id":175308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:15:54] local.INFO: Extracted packet for processing {"connection_id":175308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:15:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904029440001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788687919000,"timestamp_ms":1788687919000,"timestamp_seconds":1788687919,"priority":1,"record_length":96,"hex_timestamp":"000001a0761ba798"} 
[2026-09-06 15:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:15:54] 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-09-06 15:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904029440001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904029440001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:15:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:15:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904029440001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":175308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:15:54] local.INFO: GPS data processed {"connection_id":175308,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:15:54] local.INFO: Acknowledgment sent {"connection_id":175308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:16:08] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.109.136.4","data_length":93,"data_hex":"00000000000000518e01000001a0761b6d00012d7e3f4005d41cd80006015f06..."} 
[2026-09-06 15:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":93,"packet_hex":"00000000000000518e01000001a0761b6d00012d7e3f4005d41cd80006015f06..."} 
[2026-09-06 15:16:08] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0761b6d00012d7e3f4005d41cd80006015f06..."} 
[2026-09-06 15:16:08] local.INFO: Packet analysis {"connection_id":172813,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0761b"} 
[2026-09-06 15:16:08] local.INFO: Extracted packet for processing {"connection_id":172813,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0761b"} 
[2026-09-06 15:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763248448,"raw_latitude":97787096,"longitude_deg":76.3248448,"latitude_deg":9.7787096,"altitude":6,"angle":351,"satellites":6,"speed":9,"hex_longitude":"2d7e3f40","hex_latitude":"05d41cd8","is_valid_coordinates":true} 
[2026-09-06 15:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-06 15:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:16:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:16:08] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 15:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172813,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-06 15:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 15:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 15:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 15:16:08] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 15:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":172813,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 15:16:08] local.ERROR: GPS data processing failed {"connection_id":172813,"error":"No valid data to process"} 
[2026-09-06 15:16:08] local.INFO: Acknowledgment sent {"connection_id":172813,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 15:16:26] local.INFO: TCP Data received {"connection_id":175308,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:16:26] local.INFO: Processing buffer {"connection_id":175308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:16:26] local.INFO: Packet analysis {"connection_id":175308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:16:26] local.INFO: Extracted packet for processing {"connection_id":175308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:16:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904029440001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:16: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-09-06 15:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788687919000,"timestamp_ms":1788687919000,"timestamp_seconds":1788687919,"priority":1,"record_length":96,"hex_timestamp":"000001a0761ba798"} 
[2026-09-06 15:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:16: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-09-06 15:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:16: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-09-06 15:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904029440001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904029440001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:16:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:16:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904029440001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":175308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:16:26] local.INFO: GPS data processed {"connection_id":175308,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:16:26] local.INFO: Acknowledgment sent {"connection_id":175308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:16:38] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.109.136.4","data_length":93,"data_hex":"00000000000000518e01000001a0761c99c8012d7e200005d523d00000000608..."} 
[2026-09-06 15:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":93,"packet_hex":"00000000000000518e01000001a0761c99c8012d7e200005d523d00000000608..."} 
[2026-09-06 15:16:38] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0761c99c8012d7e200005d523d00000000608..."} 
[2026-09-06 15:16:38] local.INFO: Packet analysis {"connection_id":172813,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0761c"} 
[2026-09-06 15:16:38] local.INFO: Extracted packet for processing {"connection_id":172813,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0761c"} 
[2026-09-06 15:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763240448,"raw_latitude":97854416,"longitude_deg":76.3240448,"latitude_deg":9.7854416,"altitude":0,"angle":6,"satellites":8,"speed":6,"hex_longitude":"2d7e2000","hex_latitude":"05d523d0","is_valid_coordinates":true} 
[2026-09-06 15:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-06 15:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:16:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:16:38] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 15:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172813,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-06 15:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 15:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 15:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 15:16:38] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 15:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":172813,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 15:16:38] local.ERROR: GPS data processing failed {"connection_id":172813,"error":"No valid data to process"} 
[2026-09-06 15:16:38] local.INFO: Acknowledgment sent {"connection_id":172813,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 15:16:47] local.INFO: TCP Data received {"connection_id":173985,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:16:47] local.INFO: Processing buffer {"connection_id":173985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:16:47] local.INFO: IMEI packet received {"connection_id":173985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":173985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:16:53] local.INFO: TCP Data received {"connection_id":173985,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:16:53] local.INFO: Processing buffer {"connection_id":173985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:16:53] local.INFO: IMEI packet received {"connection_id":173985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":173985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:16:55] local.INFO: TCP Data received {"connection_id":173985,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:16:55] local.INFO: Processing buffer {"connection_id":173985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:16:55] local.INFO: Packet analysis {"connection_id":173985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:16:55] local.INFO: Extracted packet for processing {"connection_id":173985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:16:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904029440001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:16: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-09-06 15:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788687919000,"timestamp_ms":1788687919000,"timestamp_seconds":1788687919,"priority":1,"record_length":96,"hex_timestamp":"000001a0761ba798"} 
[2026-09-06 15:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 15:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904029440001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904029440001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:16:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:16:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904029440001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":173985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:16:55] local.INFO: GPS data processed {"connection_id":173985,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:16:55] local.INFO: Acknowledgment sent {"connection_id":173985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:17:10] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.109.136.4","data_length":93,"data_hex":"00000000000000518e01000001a0761cc4c0012d7e1f4005d52a800000016307..."} 
[2026-09-06 15:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":93,"packet_hex":"00000000000000518e01000001a0761cc4c0012d7e1f4005d52a800000016307..."} 
[2026-09-06 15:17:10] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0761cc4c0012d7e1f4005d52a800000016307..."} 
[2026-09-06 15:17:10] local.INFO: Packet analysis {"connection_id":172813,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0761c"} 
[2026-09-06 15:17:10] local.INFO: Extracted packet for processing {"connection_id":172813,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0761c"} 
[2026-09-06 15:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763240256,"raw_latitude":97856128,"longitude_deg":76.3240256,"latitude_deg":9.7856128,"altitude":0,"angle":355,"satellites":7,"speed":14,"hex_longitude":"2d7e1f40","hex_latitude":"05d52a80","is_valid_coordinates":true} 
[2026-09-06 15:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-06 15:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:17:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:17:10] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 15:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172813,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-06 15:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 15:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 15:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 15:17:10] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 15:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":172813,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 15:17:10] local.ERROR: GPS data processing failed {"connection_id":172813,"error":"No valid data to process"} 
[2026-09-06 15:17:10] local.INFO: Acknowledgment sent {"connection_id":172813,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 15:17:26] local.INFO: TCP Data received {"connection_id":173985,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:17:26] local.INFO: Processing buffer {"connection_id":173985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:17:26] local.INFO: Packet analysis {"connection_id":173985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:17:26] local.INFO: Extracted packet for processing {"connection_id":173985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:17:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904029440001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:17: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-09-06 15:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788687919000,"timestamp_ms":1788687919000,"timestamp_seconds":1788687919,"priority":1,"record_length":96,"hex_timestamp":"000001a0761ba798"} 
[2026-09-06 15:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:17: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904029440001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904029440001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:17:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:17:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904029440001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":173985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:17:26] local.INFO: GPS data processed {"connection_id":173985,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:17:26] local.INFO: Acknowledgment sent {"connection_id":173985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:17:41] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0761dab38012d7dc30005d583580000011709..."} 
[2026-09-06 15:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0761dab38012d7dc30005d583580000011709..."} 
[2026-09-06 15:17:41] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0761dab38012d7dc30005d583580000011709..."} 
[2026-09-06 15:17:41] local.INFO: Packet analysis {"connection_id":172813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0761d"} 
[2026-09-06 15:17:41] local.INFO: Extracted packet for processing {"connection_id":172813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0761d"} 
[2026-09-06 15:17:41] local.INFO: GPS Element Parsed {"raw_longitude":763216640,"raw_latitude":97878872,"longitude_deg":76.321664,"latitude_deg":9.7878872,"altitude":0,"angle":279,"satellites":9,"speed":16,"hex_longitude":"2d7dc300","hex_latitude":"05d58358","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904140544001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128945084413509632,"note":"Value kept but may cause issues"} 
[2026-09-06 15:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063072062675003392,"note":"Value kept but may cause issues"} 
[2026-09-06 15:17:41] 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-09-06 15:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788688051000,"timestamp_ms":1788688051000,"timestamp_seconds":1788688051,"priority":1,"record_length":96,"hex_timestamp":"000001a0761dab38"} 
[2026-09-06 15:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:17:41] 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-09-06 15: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-06 15:17:41] 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-09-06 15: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-09-06 15:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:17:41] 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-09-06 15:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904140544001,"66":13820,"29":206,"85":15104,"24":16,"16":128945084413509632,"45":9063072062675003392},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-06 15:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904140544001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:17:41] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-06 15:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128945084413509632,"km_value":128945084413509.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063072062675003392,"description":"Unknown IO ID 45"} 
[2026-09-06 15:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904140544001,"power":13820,"unknown_29":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9063072062675003392}} 
[2026-09-06 15:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":172813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:17:41] local.INFO: GPS data processed {"connection_id":172813,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:17:41] local.INFO: Acknowledgment sent {"connection_id":172813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:17:47] local.INFO: TCP Data received {"connection_id":173986,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:17:47] local.INFO: Processing buffer {"connection_id":173986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:17:47] local.INFO: IMEI packet received {"connection_id":173986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":173986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:17:53] local.INFO: TCP Data received {"connection_id":173986,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:17:53] local.INFO: Processing buffer {"connection_id":173986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:17:53] local.INFO: IMEI packet received {"connection_id":173986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":173986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:17:54] local.INFO: TCP Data received {"connection_id":173986,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:17:54] local.INFO: Processing buffer {"connection_id":173986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:17:54] local.INFO: Packet analysis {"connection_id":173986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:17:54] local.INFO: Extracted packet for processing {"connection_id":173986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:17:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904029440001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788687919000,"timestamp_ms":1788687919000,"timestamp_seconds":1788687919,"priority":1,"record_length":96,"hex_timestamp":"000001a0761ba798"} 
[2026-09-06 15:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:17:54] 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-09-06 15:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904029440001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904029440001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:17:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:17:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904029440001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":173986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:17:54] local.INFO: GPS data processed {"connection_id":173986,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:17:54] local.INFO: Acknowledgment sent {"connection_id":173986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:18:13] local.INFO: TCP Data received {"connection_id":172602,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:18:13] local.INFO: Processing buffer {"connection_id":172602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:18:13] local.INFO: IMEI packet received {"connection_id":172602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":172602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:18:21] local.INFO: TCP Data received {"connection_id":172602,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:18:21] local.INFO: Processing buffer {"connection_id":172602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:18:21] local.INFO: IMEI packet received {"connection_id":172602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":172602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:18:22] local.INFO: TCP Data received {"connection_id":172602,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0761daf20012d7dc08005d582f00000010909..."} 
[2026-09-06 15:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0761daf20012d7dc08005d582f00000010909..."} 
[2026-09-06 15:18:22] local.INFO: Processing buffer {"connection_id":172602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0761daf20012d7dc08005d582f00000010909..."} 
[2026-09-06 15:18:22] local.INFO: Packet analysis {"connection_id":172602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0761d"} 
[2026-09-06 15:18:22] local.INFO: Extracted packet for processing {"connection_id":172602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0761d"} 
[2026-09-06 15:18:22] local.INFO: GPS Element Parsed {"raw_longitude":763216000,"raw_latitude":97878768,"longitude_deg":76.3216,"latitude_deg":9.7878768,"altitude":0,"angle":265,"satellites":9,"speed":17,"hex_longitude":"2d7dc080","hex_latitude":"05d582f0","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904141056001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128945114478280704,"note":"Value kept but may cause issues"} 
[2026-09-06 15:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062086900256561152,"note":"Value kept but may cause issues"} 
[2026-09-06 15:18: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-09-06 15:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788688052000,"timestamp_ms":1788688052000,"timestamp_seconds":1788688052,"priority":1,"record_length":96,"hex_timestamp":"000001a0761daf20"} 
[2026-09-06 15:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 15: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 15:18:22] 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-09-06 15: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-09-06 15:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":172602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":172602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":172602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:18: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-09-06 15:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904141056001,"66":13939,"29":206,"85":15104,"24":17,"16":128945114478280704,"45":9062086900256561152},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-06 15:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904141056001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:18:22] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-06 15:18:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128945114478280704,"km_value":128945114478280.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062086900256561152,"description":"Unknown IO ID 45"} 
[2026-09-06 15:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904141056001,"power":13939,"unknown_29":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9062086900256561152}} 
[2026-09-06 15:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":172602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:18:22] local.INFO: GPS data processed {"connection_id":172602,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:18:22] local.INFO: Acknowledgment sent {"connection_id":172602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:18:23] local.INFO: TCP Data received {"connection_id":172602,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0761dca78012d7dad4005d580900000011509..."} 
[2026-09-06 15:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0761dca78012d7dad4005d580900000011509..."} 
[2026-09-06 15:18:23] local.INFO: Processing buffer {"connection_id":172602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0761dca78012d7dad4005d580900000011509..."} 
[2026-09-06 15:18:23] local.INFO: Packet analysis {"connection_id":172602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0761d"} 
[2026-09-06 15:18:23] local.INFO: Extracted packet for processing {"connection_id":172602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0761d"} 
[2026-09-06 15:18:23] local.INFO: GPS Element Parsed {"raw_longitude":763211072,"raw_latitude":97878160,"longitude_deg":76.3211072,"latitude_deg":9.787816,"altitude":0,"angle":277,"satellites":9,"speed":26,"hex_longitude":"2d7dad40","hex_latitude":"05d58090","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904141312001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128945354996449280,"note":"Value kept but may cause issues"} 
[2026-09-06 15:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9061383212814757888,"note":"Value kept but may cause issues"} 
[2026-09-06 15:18:23] 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-09-06 15:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788688059000,"timestamp_ms":1788688059000,"timestamp_seconds":1788688059,"priority":1,"record_length":96,"hex_timestamp":"000001a0761dca78"} 
[2026-09-06 15:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:18:23] 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-09-06 15: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-06 15:18:23] 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-09-06 15: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-09-06 15:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:18:23] 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-09-06 15:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904141312001,"66":13917,"29":206,"85":15104,"24":26,"16":128945354996449280,"45":9061383212814757888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-06 15:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904141312001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:18:23] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-06 15:18:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128945354996449280,"km_value":128945354996449.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9061383212814757888,"description":"Unknown IO ID 45"} 
[2026-09-06 15:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904141312001,"power":13917,"unknown_29":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9061383212814757888}} 
[2026-09-06 15:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":172602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:18:23] local.INFO: GPS data processed {"connection_id":172602,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:18:23] local.INFO: Acknowledgment sent {"connection_id":172602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:18:27] local.INFO: TCP Data received {"connection_id":173986,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:18:27] local.INFO: Processing buffer {"connection_id":173986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:18:27] local.INFO: Packet analysis {"connection_id":173986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:18:27] local.INFO: Extracted packet for processing {"connection_id":173986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:18:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904029440001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:18: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-09-06 15:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788687919000,"timestamp_ms":1788687919000,"timestamp_seconds":1788687919,"priority":1,"record_length":96,"hex_timestamp":"000001a0761ba798"} 
[2026-09-06 15:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:18: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-09-06 15:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904029440001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904029440001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:18:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:18:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904029440001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":173986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:18:27] local.INFO: GPS data processed {"connection_id":173986,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:18:27] local.INFO: Acknowledgment sent {"connection_id":173986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:18:53] local.INFO: TCP Data received {"connection_id":175311,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:18:53] local.INFO: Processing buffer {"connection_id":175311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:18:53] local.INFO: IMEI packet received {"connection_id":175311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":175311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:18:54] local.INFO: TCP Data received {"connection_id":172602,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0761dda18012d7da24005d581400000010009..."} 
[2026-09-06 15:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0761dda18012d7da24005d581400000010009..."} 
[2026-09-06 15:18:54] local.INFO: Processing buffer {"connection_id":172602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0761dda18012d7da24005d581400000010009..."} 
[2026-09-06 15:18:54] local.INFO: Packet analysis {"connection_id":172602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0761d"} 
[2026-09-06 15:18:54] local.INFO: Extracted packet for processing {"connection_id":172602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0761d"} 
[2026-09-06 15:18:54] local.INFO: GPS Element Parsed {"raw_longitude":763208256,"raw_latitude":97878336,"longitude_deg":76.3208256,"latitude_deg":9.7878336,"altitude":0,"angle":256,"satellites":9,"speed":25,"hex_longitude":"2d7da240","hex_latitude":"05d58140","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904143104001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128945492435402752,"note":"Value kept but may cause issues"} 
[2026-09-06 15:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9055964819512922112,"note":"Value kept but may cause issues"} 
[2026-09-06 15:18:54] 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-09-06 15:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788688063000,"timestamp_ms":1788688063000,"timestamp_seconds":1788688063,"priority":1,"record_length":96,"hex_timestamp":"000001a0761dda18"} 
[2026-09-06 15:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:18:54] 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-09-06 15: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-06 15:18:54] 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-09-06 15: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-09-06 15:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:18:54] 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-09-06 15:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904143104001,"66":13798,"29":206,"85":15104,"24":25,"16":128945492435402752,"45":9055964819512922112},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-06 15:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904143104001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:18:54] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-06 15:18:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128945492435402752,"km_value":128945492435402.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9055964819512922112,"description":"Unknown IO ID 45"} 
[2026-09-06 15:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904143104001,"power":13798,"unknown_29":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9055964819512922112}} 
[2026-09-06 15:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":172602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:18:54] local.INFO: GPS data processed {"connection_id":172602,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:18:54] local.INFO: Acknowledgment sent {"connection_id":172602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:18:58] local.INFO: TCP Data received {"connection_id":175311,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:18:58] local.INFO: Processing buffer {"connection_id":175311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:18:58] local.INFO: IMEI packet received {"connection_id":175311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":175311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:18:59] local.INFO: TCP Data received {"connection_id":175311,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:18:59] local.INFO: Processing buffer {"connection_id":175311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:18:59] local.INFO: Packet analysis {"connection_id":175311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:18:59] local.INFO: Extracted packet for processing {"connection_id":175311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:18:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904029440001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:18: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-09-06 15:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788687919000,"timestamp_ms":1788687919000,"timestamp_seconds":1788687919,"priority":1,"record_length":96,"hex_timestamp":"000001a0761ba798"} 
[2026-09-06 15:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:18: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-09-06 15:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904029440001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 15:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904029440001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:18:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:18:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904029440001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":175311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:18:59] local.INFO: GPS data processed {"connection_id":175311,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:18:59] local.INFO: Acknowledgment sent {"connection_id":175311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:19:03] local.INFO: TCP Data received {"connection_id":175311,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:19:03] local.INFO: Processing buffer {"connection_id":175311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:19:03] local.INFO: Packet analysis {"connection_id":175311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:19:03] local.INFO: Extracted packet for processing {"connection_id":175311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904029440001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:19: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-09-06 15:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788687919000,"timestamp_ms":1788687919000,"timestamp_seconds":1788687919,"priority":1,"record_length":96,"hex_timestamp":"000001a0761ba798"} 
[2026-09-06 15:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:19: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904029440001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 15:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904029440001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904029440001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":175311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:19:03] local.INFO: GPS data processed {"connection_id":175311,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:19:03] local.INFO: Acknowledgment sent {"connection_id":175311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:19:25] local.INFO: TCP Data received {"connection_id":172602,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0761f0eb0012d7d21c005d5e5d0000001550c..."} 
[2026-09-06 15:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0761f0eb0012d7d21c005d5e5d0000001550c..."} 
[2026-09-06 15:19:25] local.INFO: Processing buffer {"connection_id":172602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0761f0eb0012d7d21c005d5e5d0000001550c..."} 
[2026-09-06 15:19:25] local.INFO: Packet analysis {"connection_id":172602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0761f"} 
[2026-09-06 15:19:25] local.INFO: Extracted packet for processing {"connection_id":172602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0761f"} 
[2026-09-06 15:19:25] local.INFO: GPS Element Parsed {"raw_longitude":763175360,"raw_latitude":97904080,"longitude_deg":76.317536,"latitude_deg":9.790408,"altitude":0,"angle":341,"satellites":12,"speed":44,"hex_longitude":"2d7d21c0","hex_latitude":"05d5e5d0","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904162560001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128948288459112448,"note":"Value kept but may cause issues"} 
[2026-09-06 15:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018317541382451200,"note":"Value kept but may cause issues"} 
[2026-09-06 15:19:25] 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-09-06 15:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788688142000,"timestamp_ms":1788688142000,"timestamp_seconds":1788688142,"priority":1,"record_length":96,"hex_timestamp":"000001a0761f0eb0"} 
[2026-09-06 15:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:19:25] 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-09-06 15: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-06 15:19: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-09-06 15: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-09-06 15:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:19:25] 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-09-06 15:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904162560001,"66":13624,"253":206,"85":15104,"24":44,"16":128948288459112448,"45":9018317541382451200},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-06 15:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904162560001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:19:25] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-06 15:19:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128948288459112448,"km_value":128948288459112.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018317541382451200,"description":"Unknown IO ID 45"} 
[2026-09-06 15:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904162560001,"power":13624,"unknown_253":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9018317541382451200}} 
[2026-09-06 15:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":172602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:19:25] local.INFO: GPS data processed {"connection_id":172602,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:19:25] local.INFO: Acknowledgment sent {"connection_id":172602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:19:48] local.INFO: TCP Data received {"connection_id":173988,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:19:48] local.INFO: Processing buffer {"connection_id":173988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:19:48] local.INFO: IMEI packet received {"connection_id":173988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":173988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:19:53] local.INFO: TCP Data received {"connection_id":173988,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:19:53] local.INFO: Processing buffer {"connection_id":173988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:19:53] local.INFO: IMEI packet received {"connection_id":173988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":173988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:19:53] local.INFO: TCP Data received {"connection_id":173988,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:19:53] local.INFO: Processing buffer {"connection_id":173988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:19:53] local.INFO: Packet analysis {"connection_id":173988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:19:53] local.INFO: Extracted packet for processing {"connection_id":173988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:19:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904029440001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788687919000,"timestamp_ms":1788687919000,"timestamp_seconds":1788687919,"priority":1,"record_length":96,"hex_timestamp":"000001a0761ba798"} 
[2026-09-06 15:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:19: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-09-06 15: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":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:19: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-09-06 15:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904029440001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904029440001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:19:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:19:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904029440001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":173988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:19:53] local.INFO: GPS data processed {"connection_id":173988,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:19:53] local.INFO: Acknowledgment sent {"connection_id":173988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:20:08] local.INFO: TCP Data received {"connection_id":172817,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:20:08] local.INFO: Processing buffer {"connection_id":172817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:20:08] local.INFO: IMEI packet received {"connection_id":172817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":172817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:20:10] local.INFO: TCP Data received {"connection_id":172817,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:20:10] local.INFO: Processing buffer {"connection_id":172817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:20:10] local.INFO: IMEI packet received {"connection_id":172817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":172817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:20:11] local.INFO: TCP Data received {"connection_id":172817,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0761f35c0012d7d15c005d60158000001440d..."} 
[2026-09-06 15:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0761f35c0012d7d15c005d60158000001440d..."} 
[2026-09-06 15:20:11] local.INFO: Processing buffer {"connection_id":172817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0761f35c0012d7d15c005d60158000001440d..."} 
[2026-09-06 15:20:11] local.INFO: Packet analysis {"connection_id":172817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0761f"} 
[2026-09-06 15:20:11] local.INFO: Extracted packet for processing {"connection_id":172817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0761f"} 
[2026-09-06 15:20:11] local.INFO: GPS Element Parsed {"raw_longitude":763172288,"raw_latitude":97911128,"longitude_deg":76.3172288,"latitude_deg":9.7911128,"altitude":0,"angle":324,"satellites":13,"speed":12,"hex_longitude":"2d7d15c0","hex_latitude":"05d60158","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904164352001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128948662121267200,"note":"Value kept but may cause issues"} 
[2026-09-06 15:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016699060268421120,"note":"Value kept but may cause issues"} 
[2026-09-06 15:20:11] 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-09-06 15:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788688152000,"timestamp_ms":1788688152000,"timestamp_seconds":1788688152,"priority":1,"record_length":96,"hex_timestamp":"000001a0761f35c0"} 
[2026-09-06 15:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:20:11] 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-09-06 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-06 15:20: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-09-06 15: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-09-06 15:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:20:11] 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-09-06 15:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904164352001,"66":13396,"253":206,"85":15104,"24":12,"16":128948662121267200,"45":9016699060268421120},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-06 15:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904164352001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:20:11] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-06 15:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128948662121267200,"km_value":128948662121267.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016699060268421120,"description":"Unknown IO ID 45"} 
[2026-09-06 15:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904164352001,"power":13396,"unknown_253":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9016699060268421120}} 
[2026-09-06 15:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":172817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:20:11] local.INFO: GPS data processed {"connection_id":172817,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:20:11] local.INFO: Acknowledgment sent {"connection_id":172817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:20:26] local.INFO: TCP Data received {"connection_id":173988,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:20:26] local.INFO: Processing buffer {"connection_id":173988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0761ba798012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:20:26] local.INFO: Packet analysis {"connection_id":173988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:20:26] local.INFO: Extracted packet for processing {"connection_id":173988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0761b"} 
[2026-09-06 15:20:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904029440001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788687919000,"timestamp_ms":1788687919000,"timestamp_seconds":1788687919,"priority":1,"record_length":96,"hex_timestamp":"000001a0761ba798"} 
[2026-09-06 15:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:20: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:20:26] 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-09-06 15:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904029440001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904029440001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:20:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:20:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904029440001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":173988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:20:26] local.INFO: GPS data processed {"connection_id":173988,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:20:26] local.INFO: Acknowledgment sent {"connection_id":173988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:20:42] local.INFO: TCP Data received {"connection_id":172817,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0761f3d90012d7d15c005d600e0000001570d..."} 
[2026-09-06 15:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0761f3d90012d7d15c005d600e0000001570d..."} 
[2026-09-06 15:20:42] local.INFO: Processing buffer {"connection_id":172817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0761f3d90012d7d15c005d600e0000001570d..."} 
[2026-09-06 15:20:42] local.INFO: Packet analysis {"connection_id":172817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0761f"} 
[2026-09-06 15:20:42] local.INFO: Extracted packet for processing {"connection_id":172817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0761f"} 
[2026-09-06 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":763172288,"raw_latitude":97911008,"longitude_deg":76.3172288,"latitude_deg":9.7911008,"altitude":0,"angle":343,"satellites":13,"speed":0,"hex_longitude":"2d7d15c0","hex_latitude":"05d600e0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 15:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904166912001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128948675006169088,"note":"Value kept but may cause issues"} 
[2026-09-06 15:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013321360549697536,"note":"Value kept but may cause issues"} 
[2026-09-06 15:20:42] 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-09-06 15:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788688154000,"timestamp_ms":1788688154000,"timestamp_seconds":1788688154,"priority":1,"record_length":96,"hex_timestamp":"000001a0761f3d90"} 
[2026-09-06 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-09-06 15:20:42] 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-09-06 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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-06 15:20:42] 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-09-06 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-09-06 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-09-06 15:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":172817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":172817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":172817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:20:42] 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-09-06 15:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904166912001,"66":13852,"253":206,"85":15104,"24":0,"16":128948675006169088,"45":9013321360549697536},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-06 15:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904166912001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:20:42] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-06 15:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128948675006169088,"km_value":128948675006169.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013321360549697536,"description":"Unknown IO ID 45"} 
[2026-09-06 15:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904166912001,"power":13852,"unknown_253":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9013321360549697536}} 
[2026-09-06 15:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":172817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:20:42] local.INFO: GPS data processed {"connection_id":172817,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:20:42] local.INFO: Acknowledgment sent {"connection_id":172817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:20:48] local.INFO: TCP Data received {"connection_id":175312,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:20:48] local.INFO: Processing buffer {"connection_id":175312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:20:48] local.INFO: IMEI packet received {"connection_id":175312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":175312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:20:53] local.INFO: TCP Data received {"connection_id":175312,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:20:53] local.INFO: Processing buffer {"connection_id":175312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:20:53] local.INFO: IMEI packet received {"connection_id":175312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":175312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:20:53] local.INFO: TCP Data received {"connection_id":172603,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:20:53] local.INFO: Processing buffer {"connection_id":172603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:20:53] local.INFO: IMEI packet received {"connection_id":172603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 15:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":172603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:20:54] local.INFO: TCP Data received {"connection_id":175312,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:20:54] local.INFO: Processing buffer {"connection_id":175312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:20:54] local.INFO: Packet analysis {"connection_id":175312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:20:54] local.INFO: Extracted packet for processing {"connection_id":175312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:20:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904107264001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788688222000,"timestamp_ms":1788688222000,"timestamp_seconds":1788688222,"priority":1,"record_length":96,"hex_timestamp":"000001a076204730"} 
[2026-09-06 15:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:20: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:20:54] 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-09-06 15:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904107264001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904107264001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:20:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:20:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904107264001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":175312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:20:54] local.INFO: GPS data processed {"connection_id":175312,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:20:54] local.INFO: Acknowledgment sent {"connection_id":175312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:21:05] local.INFO: TCP Data received {"connection_id":172818,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:21:05] local.INFO: Processing buffer {"connection_id":172818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:21:05] local.INFO: IMEI packet received {"connection_id":172818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":172818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:21:08] local.INFO: TCP Data received {"connection_id":172818,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:21:08] local.INFO: Processing buffer {"connection_id":172818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:21:08] local.INFO: IMEI packet received {"connection_id":172818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":172818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:21:15] local.INFO: TCP Data received {"connection_id":172818,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:21:15] local.INFO: Processing buffer {"connection_id":172818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:21:15] local.INFO: IMEI packet received {"connection_id":172818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":172818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:21:16] local.INFO: TCP Data received {"connection_id":172818,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0762079f8012d7ce0c005d6be680006015d0c..."} 
[2026-09-06 15:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762079f8012d7ce0c005d6be680006015d0c..."} 
[2026-09-06 15:21:16] local.INFO: Processing buffer {"connection_id":172818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762079f8012d7ce0c005d6be680006015d0c..."} 
[2026-09-06 15:21:16] local.INFO: Packet analysis {"connection_id":172818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:21:16] local.INFO: Extracted packet for processing {"connection_id":172818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:21:16] local.INFO: GPS Element Parsed {"raw_longitude":763158720,"raw_latitude":97959528,"longitude_deg":76.315872,"latitude_deg":9.7959528,"altitude":6,"angle":349,"satellites":12,"speed":43,"hex_longitude":"2d7ce0c0","hex_latitude":"05d6be68","is_valid_coordinates":true} 
[2026-09-06 15:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904185344001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128951148907331584,"note":"Value kept but may cause issues"} 
[2026-09-06 15:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000514249119401984,"note":"Value kept but may cause issues"} 
[2026-09-06 15:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 15:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788688235000,"timestamp_ms":1788688235000,"timestamp_seconds":1788688235,"priority":1,"record_length":96,"hex_timestamp":"000001a0762079f8"} 
[2026-09-06 15:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:21:16] 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-09-06 15:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-06 15:21:16] 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-09-06 15:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:21:16] 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-09-06 15:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904185344001,"66":13689,"30":206,"85":15104,"24":43,"16":128951148907331584,"45":9000514249119401984},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-06 15:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904185344001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:21:16] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-06 15:21:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128951148907331584,"km_value":128951148907331.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000514249119401984,"description":"Unknown IO ID 45"} 
[2026-09-06 15:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904185344001,"power":13689,"unknown_30":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9000514249119401984}} 
[2026-09-06 15:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":172818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:21:16] local.INFO: GPS data processed {"connection_id":172818,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:21:16] local.INFO: Acknowledgment sent {"connection_id":172818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:21:25] local.INFO: TCP Data received {"connection_id":175312,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:21:25] local.INFO: Processing buffer {"connection_id":175312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:21:25] local.INFO: Packet analysis {"connection_id":175312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:21:25] local.INFO: Extracted packet for processing {"connection_id":175312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:21:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904107264001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788688222000,"timestamp_ms":1788688222000,"timestamp_seconds":1788688222,"priority":1,"record_length":96,"hex_timestamp":"000001a076204730"} 
[2026-09-06 15:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:21: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:21: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-09-06 15:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904107264001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904107264001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:21:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:21:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904107264001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":175312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:21:25] local.INFO: GPS data processed {"connection_id":175312,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:21:25] local.INFO: Acknowledgment sent {"connection_id":175312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:21:47] local.INFO: TCP Data received {"connection_id":172818,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a076209938012d7cd78005d6e460000401590c..."} 
[2026-09-06 15:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076209938012d7cd78005d6e460000401590c..."} 
[2026-09-06 15:21:47] local.INFO: Processing buffer {"connection_id":172818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076209938012d7cd78005d6e460000401590c..."} 
[2026-09-06 15:21:47] local.INFO: Packet analysis {"connection_id":172818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:21:47] local.INFO: Extracted packet for processing {"connection_id":172818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:21:47] local.INFO: GPS Element Parsed {"raw_longitude":763156352,"raw_latitude":97969248,"longitude_deg":76.3156352,"latitude_deg":9.7969248,"altitude":4,"angle":345,"satellites":12,"speed":51,"hex_longitude":"2d7cd780","hex_latitude":"05d6e460","is_valid_coordinates":true} 
[2026-09-06 15:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904188160001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128951634238636032,"note":"Value kept but may cause issues"} 
[2026-09-06 15:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998403186796423168,"note":"Value kept but may cause issues"} 
[2026-09-06 15:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 15:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788688243000,"timestamp_ms":1788688243000,"timestamp_seconds":1788688243,"priority":1,"record_length":96,"hex_timestamp":"000001a076209938"} 
[2026-09-06 15:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:21:47] 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-09-06 15:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-06 15:21:47] 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-09-06 15:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":172818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":172818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":172818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:21:47] 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-09-06 15:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904188160001,"66":13689,"30":206,"85":15104,"24":51,"16":128951634238636032,"45":8998403186796423168},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-06 15:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904188160001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:21:47] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-06 15:21:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128951634238636032,"km_value":128951634238636.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998403186796423168,"description":"Unknown IO ID 45"} 
[2026-09-06 15:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904188160001,"power":13689,"unknown_30":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8998403186796423168}} 
[2026-09-06 15:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":172818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:21:47] local.INFO: GPS data processed {"connection_id":172818,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:21:47] local.INFO: Acknowledgment sent {"connection_id":172818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:21:47] local.INFO: TCP Data received {"connection_id":173990,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:21:47] local.INFO: Processing buffer {"connection_id":173990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:21:47] local.INFO: IMEI packet received {"connection_id":173990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":173990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:21:53] local.INFO: TCP Data received {"connection_id":173990,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:21:53] local.INFO: Processing buffer {"connection_id":173990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:21:53] local.INFO: IMEI packet received {"connection_id":173990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":173990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:21:54] local.INFO: TCP Data received {"connection_id":173990,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:21:54] local.INFO: Processing buffer {"connection_id":173990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:21:54] local.INFO: Packet analysis {"connection_id":173990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:21:54] local.INFO: Extracted packet for processing {"connection_id":173990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:21:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904107264001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:21: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-09-06 15:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788688222000,"timestamp_ms":1788688222000,"timestamp_seconds":1788688222,"priority":1,"record_length":96,"hex_timestamp":"000001a076204730"} 
[2026-09-06 15:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:21: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-09-06 15:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:21: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-09-06 15:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904107264001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904107264001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:21:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:21:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904107264001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":173990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:21:54] local.INFO: GPS data processed {"connection_id":173990,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:21:54] local.INFO: Acknowledgment sent {"connection_id":173990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:22:08] local.INFO: TCP Data received {"connection_id":173991,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:22:08] local.INFO: Processing buffer {"connection_id":173991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:22:08] local.INFO: IMEI packet received {"connection_id":173991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":173991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:22:12] local.INFO: TCP Data received {"connection_id":173991,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:22:12] local.INFO: Processing buffer {"connection_id":173991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:22:12] local.INFO: IMEI packet received {"connection_id":173991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":173991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:22:13] local.INFO: TCP Data received {"connection_id":173991,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07620b490012d7ccc4005d709480004015709..."} 
[2026-09-06 15:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07620b490012d7ccc4005d709480004015709..."} 
[2026-09-06 15:22:13] local.INFO: Processing buffer {"connection_id":173991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07620b490012d7ccc4005d709480004015709..."} 
[2026-09-06 15:22:13] local.INFO: Packet analysis {"connection_id":173991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:22:13] local.INFO: Extracted packet for processing {"connection_id":173991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:22:13] local.INFO: GPS Element Parsed {"raw_longitude":763153472,"raw_latitude":97978696,"longitude_deg":76.3153472,"latitude_deg":9.7978696,"altitude":4,"angle":343,"satellites":9,"speed":57,"hex_longitude":"2d7ccc40","hex_latitude":"05d70948","is_valid_coordinates":true} 
[2026-09-06 15:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904190208001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128952110980005888,"note":"Value kept but may cause issues"} 
[2026-09-06 15:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995799543264337920,"note":"Value kept but may cause issues"} 
[2026-09-06 15:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 15:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788688250000,"timestamp_ms":1788688250000,"timestamp_seconds":1788688250,"priority":1,"record_length":96,"hex_timestamp":"000001a07620b490"} 
[2026-09-06 15:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:22:13] 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-09-06 15:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-06 15:22:13] 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-09-06 15:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:22:13] 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-09-06 15:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904190208001,"66":13678,"30":206,"85":15104,"24":57,"16":128952110980005888,"45":8995799543264337920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-06 15:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904190208001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:22:13] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-06 15:22:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128952110980005888,"km_value":128952110980005.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995799543264337920,"description":"Unknown IO ID 45"} 
[2026-09-06 15:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904190208001,"power":13678,"unknown_30":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8995799543264337920}} 
[2026-09-06 15:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":173991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:22:13] local.INFO: GPS data processed {"connection_id":173991,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:22:13] local.INFO: Acknowledgment sent {"connection_id":173991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:22:25] local.INFO: TCP Data received {"connection_id":173990,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:22:25] local.INFO: Processing buffer {"connection_id":173990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:22:25] local.INFO: Packet analysis {"connection_id":173990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:22:25] local.INFO: Extracted packet for processing {"connection_id":173990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:22:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904107264001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788688222000,"timestamp_ms":1788688222000,"timestamp_seconds":1788688222,"priority":1,"record_length":96,"hex_timestamp":"000001a076204730"} 
[2026-09-06 15:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:22: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-09-06 15: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":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:22:25] 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-09-06 15:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904107264001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904107264001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:22:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:22:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904107264001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":173990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:22:25] local.INFO: GPS data processed {"connection_id":173990,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:22:25] local.INFO: Acknowledgment sent {"connection_id":173990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:22:45] local.INFO: TCP Data received {"connection_id":173991,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0762227a8012d7c8c8005d89ba0000001640c..."} 
[2026-09-06 15:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762227a8012d7c8c8005d89ba0000001640c..."} 
[2026-09-06 15:22:45] local.INFO: Processing buffer {"connection_id":173991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762227a8012d7c8c8005d89ba0000001640c..."} 
[2026-09-06 15:22:45] local.INFO: Packet analysis {"connection_id":173991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07622"} 
[2026-09-06 15:22:45] local.INFO: Extracted packet for processing {"connection_id":173991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07622"} 
[2026-09-06 15:22:45] local.INFO: GPS Element Parsed {"raw_longitude":763137152,"raw_latitude":98081696,"longitude_deg":76.3137152,"latitude_deg":9.8081696,"altitude":0,"angle":356,"satellites":12,"speed":52,"hex_longitude":"2d7c8c80","hex_latitude":"05d89ba0","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904214528001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128957209106186240,"note":"Value kept but may cause issues"} 
[2026-09-06 15:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974970395014064128,"note":"Value kept but may cause issues"} 
[2026-09-06 15:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 15:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788688345000,"timestamp_ms":1788688345000,"timestamp_seconds":1788688345,"priority":1,"record_length":96,"hex_timestamp":"000001a0762227a8"} 
[2026-09-06 15:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:22:45] 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-09-06 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 15:22:45] 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-09-06 15: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-09-06 15:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:22:45] 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-09-06 15:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904214528001,"66":13798,"196":206,"85":15104,"24":52,"16":128957209106186240,"45":8974970395014064128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-09-06 15:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904214528001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:22:45] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-06 15:22:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128957209106186240,"km_value":128957209106186.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974970395014064128,"description":"Unknown IO ID 45"} 
[2026-09-06 15:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904214528001,"power":13798,"unknown_196":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8974970395014064128}} 
[2026-09-06 15:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":173991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:22:45] local.INFO: GPS data processed {"connection_id":173991,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:22:45] local.INFO: Acknowledgment sent {"connection_id":173991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:22:53] local.INFO: TCP Data received {"connection_id":175313,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:22:53] local.INFO: Processing buffer {"connection_id":175313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:22:53] local.INFO: IMEI packet received {"connection_id":175313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":175313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:22:58] local.INFO: TCP Data received {"connection_id":175313,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:22:58] local.INFO: Processing buffer {"connection_id":175313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:22:58] local.INFO: IMEI packet received {"connection_id":175313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":175313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:22:59] local.INFO: TCP Data received {"connection_id":175313,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:22:59] local.INFO: Processing buffer {"connection_id":175313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:22:59] local.INFO: Packet analysis {"connection_id":175313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:22:59] local.INFO: Extracted packet for processing {"connection_id":175313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904107264001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788688222000,"timestamp_ms":1788688222000,"timestamp_seconds":1788688222,"priority":1,"record_length":96,"hex_timestamp":"000001a076204730"} 
[2026-09-06 15:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:22: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-09-06 15:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:22: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-09-06 15:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904107264001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904107264001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:22:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:22:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904107264001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":175313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:22:59] local.INFO: GPS data processed {"connection_id":175313,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:22:59] local.INFO: Acknowledgment sent {"connection_id":175313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:23:03] local.INFO: TCP Data received {"connection_id":175313,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:23:03] local.INFO: Processing buffer {"connection_id":175313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:23:03] local.INFO: Packet analysis {"connection_id":175313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:23:03] local.INFO: Extracted packet for processing {"connection_id":175313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904107264001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788688222000,"timestamp_ms":1788688222000,"timestamp_seconds":1788688222,"priority":1,"record_length":96,"hex_timestamp":"000001a076204730"} 
[2026-09-06 15:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:23: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904107264001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904107264001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904107264001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":175313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:23:03] local.INFO: GPS data processed {"connection_id":175313,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:23:03] local.INFO: Acknowledgment sent {"connection_id":175313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:23:13] local.INFO: TCP Data received {"connection_id":173992,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:23:13] local.INFO: Processing buffer {"connection_id":173992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:23:13] local.INFO: IMEI packet received {"connection_id":173992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":173992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:23:16] local.INFO: TCP Data received {"connection_id":173992,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:23:16] local.INFO: Processing buffer {"connection_id":173992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:23:16] local.INFO: IMEI packet received {"connection_id":173992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":173992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:23:17] local.INFO: TCP Data received {"connection_id":173992,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a076224300012d7c888005d8be60000001620c..."} 
[2026-09-06 15:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076224300012d7c888005d8be60000001620c..."} 
[2026-09-06 15:23:17] local.INFO: Processing buffer {"connection_id":173992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076224300012d7c888005d8be60000001620c..."} 
[2026-09-06 15:23:17] local.INFO: Packet analysis {"connection_id":173992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07622"} 
[2026-09-06 15:23:17] local.INFO: Extracted packet for processing {"connection_id":173992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07622"} 
[2026-09-06 15:23:17] local.INFO: GPS Element Parsed {"raw_longitude":763136128,"raw_latitude":98090592,"longitude_deg":76.3136128,"latitude_deg":9.8090592,"altitude":0,"angle":354,"satellites":12,"speed":50,"hex_longitude":"2d7c8880","hex_latitude":"05d8be60","is_valid_coordinates":true} 
[2026-09-06 15:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904216320001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128957642897883136,"note":"Value kept but may cause issues"} 
[2026-09-06 15:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974688920039825408,"note":"Value kept but may cause issues"} 
[2026-09-06 15:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 15:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788688352000,"timestamp_ms":1788688352000,"timestamp_seconds":1788688352,"priority":1,"record_length":96,"hex_timestamp":"000001a076224300"} 
[2026-09-06 15:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:23:17] 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-09-06 15:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 15:23:17] 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-09-06 15:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:23: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-09-06 15:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904216320001,"66":13830,"196":206,"85":15104,"24":50,"16":128957642897883136,"45":8974688920039825408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-09-06 15:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904216320001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:23:17] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-06 15:23:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128957642897883136,"km_value":128957642897883.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974688920039825408,"description":"Unknown IO ID 45"} 
[2026-09-06 15:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904216320001,"power":13830,"unknown_196":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8974688920039825408}} 
[2026-09-06 15:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":173992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:23:17] local.INFO: GPS data processed {"connection_id":173992,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:23:17] local.INFO: Acknowledgment sent {"connection_id":173992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:23:48] local.INFO: TCP Data received {"connection_id":172819,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:23:48] local.INFO: Processing buffer {"connection_id":172819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:23:48] local.INFO: IMEI packet received {"connection_id":172819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":172819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:23:48] local.INFO: TCP Data received {"connection_id":173992,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a076226240012d7c84c005d8e3f00000016309..."} 
[2026-09-06 15:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076226240012d7c84c005d8e3f00000016309..."} 
[2026-09-06 15:23:48] local.INFO: Processing buffer {"connection_id":173992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076226240012d7c84c005d8e3f00000016309..."} 
[2026-09-06 15:23:48] local.INFO: Packet analysis {"connection_id":173992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07622"} 
[2026-09-06 15:23:48] local.INFO: Extracted packet for processing {"connection_id":173992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07622"} 
[2026-09-06 15:23:48] local.INFO: GPS Element Parsed {"raw_longitude":763135168,"raw_latitude":98100208,"longitude_deg":76.3135168,"latitude_deg":9.8100208,"altitude":0,"angle":355,"satellites":9,"speed":45,"hex_longitude":"2d7c84c0","hex_latitude":"05d8e3f0","is_valid_coordinates":true} 
[2026-09-06 15:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904218112001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128958111049318400,"note":"Value kept but may cause issues"} 
[2026-09-06 15:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973563020135260160,"note":"Value kept but may cause issues"} 
[2026-09-06 15:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 15:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788688360000,"timestamp_ms":1788688360000,"timestamp_seconds":1788688360,"priority":1,"record_length":96,"hex_timestamp":"000001a076226240"} 
[2026-09-06 15:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:23:48] 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-09-06 15:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-06 15:23:48] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8162782930337792,"note":"Value kept but may cause issues"} 
[2026-09-06 15:23:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627227552512,"note":"Value kept but may cause issues"} 
[2026-09-06 15:23:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-09-06 15:23:48] local.WARNING: Large IO value detected {"io_id":149,"raw_value":3221608456,"note":"Value kept but may cause issues"} 
[2026-09-06 15:23:48] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":607846400,"corrected_to":0} 
[2026-09-06 15:23:48] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3622148096,"note":"Value kept but may cause issues"} 
[2026-09-06 15:23:48] local.WARNING: Large IO value detected {"io_id":80,"raw_value":-3458433025635777065,"note":"Value kept but may cause issues"} 
[2026-09-06 15:23:48] local.WARNING: Large IO value detected {"io_id":193,"raw_value":-6917529027572989937,"note":"Value kept but may cause issues"} 
[2026-09-06 15:23:48] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,196,85,24,241,157,16,38,160,39,45,128,155,12,10,66,37,117,195,240,192,1,110,227,118,216,4,113,205,56,186,149,13,239,53,2,202,5,29,80,193],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1455620302,"validated":0},{"io_id":202,"original":607846400,"validated":0}]} 
[2026-09-06 15:23:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":389278659117056,"timestamp_seconds":389278659117.056,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 15:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:23: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-09-06 15:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904218112001,"66":13656,"196":206,"85":15104,"24":45,"16":128958111049318400,"45":8973563020135260160},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-09-06 15:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904218112001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:23:48] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-06 15:23:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128958111049318400,"km_value":128958111049318.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973563020135260160,"description":"Unknown IO ID 45"} 
[2026-09-06 15:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904218112001,"power":13656,"unknown_196":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8973563020135260160}} 
[2026-09-06 15:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":173992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:23:48] local.INFO: GPS data processed {"connection_id":173992,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:23:48] local.INFO: Acknowledgment sent {"connection_id":173992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:23:53] local.INFO: TCP Data received {"connection_id":172819,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:23:53] local.INFO: Processing buffer {"connection_id":172819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:23:53] local.INFO: IMEI packet received {"connection_id":172819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":172819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:23:54] local.INFO: TCP Data received {"connection_id":172819,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:23:54] local.INFO: Processing buffer {"connection_id":172819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:23:54] local.INFO: Packet analysis {"connection_id":172819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:23:54] local.INFO: Extracted packet for processing {"connection_id":172819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:23:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904107264001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:23: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-09-06 15:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788688222000,"timestamp_ms":1788688222000,"timestamp_seconds":1788688222,"priority":1,"record_length":96,"hex_timestamp":"000001a076204730"} 
[2026-09-06 15:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:23: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-09-06 15:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:23:54] 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-09-06 15:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904107264001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904107264001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:23:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:23:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904107264001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":172819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:23:54] local.INFO: GPS data processed {"connection_id":172819,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:23:54] local.INFO: Acknowledgment sent {"connection_id":172819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:24:08] local.INFO: TCP Data received {"connection_id":175315,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:24:08] local.INFO: Processing buffer {"connection_id":175315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:24:08] local.INFO: IMEI packet received {"connection_id":175315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":175315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:24:10] local.INFO: TCP Data received {"connection_id":175315,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:24:10] local.INFO: Processing buffer {"connection_id":175315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:24:10] local.INFO: IMEI packet received {"connection_id":175315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":175315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:24:13] local.INFO: TCP Data received {"connection_id":175315,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:24:13] local.INFO: Processing buffer {"connection_id":175315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:24:13] local.INFO: IMEI packet received {"connection_id":175315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":175315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:24:14] local.INFO: TCP Data received {"connection_id":175315,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a076228950012d7c824005d909e8000001600b..."} 
[2026-09-06 15:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076228950012d7c824005d909e8000001600b..."} 
[2026-09-06 15:24:14] local.INFO: Processing buffer {"connection_id":175315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076228950012d7c824005d909e8000001600b..."} 
[2026-09-06 15:24:14] local.INFO: Packet analysis {"connection_id":175315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07622"} 
[2026-09-06 15:24:14] local.INFO: Extracted packet for processing {"connection_id":175315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07622"} 
[2026-09-06 15:24:14] local.INFO: GPS Element Parsed {"raw_longitude":763134528,"raw_latitude":98109928,"longitude_deg":76.3134528,"latitude_deg":9.8109928,"altitude":0,"angle":352,"satellites":11,"speed":39,"hex_longitude":"2d7c8240","hex_latitude":"05d909e8","is_valid_coordinates":true} 
[2026-09-06 15:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904220160001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128958587790688256,"note":"Value kept but may cause issues"} 
[2026-09-06 15:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972507488975056896,"note":"Value kept but may cause issues"} 
[2026-09-06 15:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 15:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788688370000,"timestamp_ms":1788688370000,"timestamp_seconds":1788688370,"priority":1,"record_length":96,"hex_timestamp":"000001a076228950"} 
[2026-09-06 15:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:24:14] 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-09-06 15:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 15:24:14] 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-09-06 15:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:24:14] 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-09-06 15:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904220160001,"66":13830,"196":206,"85":15104,"24":39,"16":128958587790688256,"45":8972507488975056896},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-09-06 15:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904220160001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:24:14] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-06 15:24:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128958587790688256,"km_value":128958587790688.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972507488975056896,"description":"Unknown IO ID 45"} 
[2026-09-06 15:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904220160001,"power":13830,"unknown_196":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8972507488975056896}} 
[2026-09-06 15:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":175315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:24:14] local.INFO: GPS data processed {"connection_id":175315,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:24:14] local.INFO: Acknowledgment sent {"connection_id":175315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:24:26] local.INFO: TCP Data received {"connection_id":172819,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:24:26] local.INFO: Processing buffer {"connection_id":172819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:24:26] local.INFO: Packet analysis {"connection_id":172819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:24:26] local.INFO: Extracted packet for processing {"connection_id":172819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:24:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904107264001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788688222000,"timestamp_ms":1788688222000,"timestamp_seconds":1788688222,"priority":1,"record_length":96,"hex_timestamp":"000001a076204730"} 
[2026-09-06 15:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:24: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:24:26] 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-09-06 15:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904107264001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904107264001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:24:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:24:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904107264001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":172819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:24:26] local.INFO: GPS data processed {"connection_id":172819,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:24:26] local.INFO: Acknowledgment sent {"connection_id":172819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:24:45] local.INFO: TCP Data received {"connection_id":175315,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07623f880012d7c2d4005dac378000001570d..."} 
[2026-09-06 15:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07623f880012d7c2d4005dac378000001570d..."} 
[2026-09-06 15:24:45] local.INFO: Processing buffer {"connection_id":175315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07623f880012d7c2d4005dac378000001570d..."} 
[2026-09-06 15:24:45] local.INFO: Packet analysis {"connection_id":175315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07623"} 
[2026-09-06 15:24:45] local.INFO: Extracted packet for processing {"connection_id":175315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07623"} 
[2026-09-06 15:24:45] local.INFO: GPS Element Parsed {"raw_longitude":763112768,"raw_latitude":98222968,"longitude_deg":76.3112768,"latitude_deg":9.8222968,"altitude":0,"angle":343,"satellites":13,"speed":49,"hex_longitude":"2d7c2d40","hex_latitude":"05dac378","is_valid_coordinates":true} 
[2026-09-06 15:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904244736001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128964209902878720,"note":"Value kept but may cause issues"} 
[2026-09-06 15:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951396865750802432,"note":"Value kept but may cause issues"} 
[2026-09-06 15:24:45] 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-09-06 15:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788688464000,"timestamp_ms":1788688464000,"timestamp_seconds":1788688464,"priority":1,"record_length":96,"hex_timestamp":"000001a07623f880"} 
[2026-09-06 15:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:24:45] 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-09-06 15:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-06 15:24:45] 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-09-06 15:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:24:45] 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-09-06 15:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904244736001,"66":13798,"187":206,"85":15104,"24":49,"16":128964209902878720,"45":8951396865750802432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 15:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904244736001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:24:45] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 15:24:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128964209902878720,"km_value":128964209902878.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951396865750802432,"description":"Unknown IO ID 45"} 
[2026-09-06 15:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904244736001,"power":13798,"unknown_187":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8951396865750802432}} 
[2026-09-06 15:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":175315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:24:45] local.INFO: GPS data processed {"connection_id":175315,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:24:45] local.INFO: Acknowledgment sent {"connection_id":175315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:24:47] local.INFO: TCP Data received {"connection_id":173993,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:24:47] local.INFO: Processing buffer {"connection_id":173993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:24:47] local.INFO: IMEI packet received {"connection_id":173993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":173993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:24:53] local.INFO: TCP Data received {"connection_id":173993,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:24:53] local.INFO: Processing buffer {"connection_id":173993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:24:53] local.INFO: IMEI packet received {"connection_id":173993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":173993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:24:54] local.INFO: TCP Data received {"connection_id":173993,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:24:54] local.INFO: Processing buffer {"connection_id":173993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:24:54] local.INFO: Packet analysis {"connection_id":173993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:24:54] local.INFO: Extracted packet for processing {"connection_id":173993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:24:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904107264001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:24: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-09-06 15:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788688222000,"timestamp_ms":1788688222000,"timestamp_seconds":1788688222,"priority":1,"record_length":96,"hex_timestamp":"000001a076204730"} 
[2026-09-06 15:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:24: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:24:54] 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-09-06 15:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904107264001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904107264001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:24:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:24:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904107264001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":173993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:24:54] local.INFO: GPS data processed {"connection_id":173993,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:24:54] local.INFO: Acknowledgment sent {"connection_id":173993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:25:08] local.INFO: TCP Data received {"connection_id":172604,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:25:08] local.INFO: Processing buffer {"connection_id":172604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:25:08] local.INFO: IMEI packet received {"connection_id":172604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":172604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:25:14] local.INFO: TCP Data received {"connection_id":172604,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:25:14] local.INFO: Processing buffer {"connection_id":172604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:25:14] local.INFO: IMEI packet received {"connection_id":172604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":172604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:25:15] local.INFO: TCP Data received {"connection_id":172604,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a076241f90012d7c21c005dae5380000015010..."} 
[2026-09-06 15:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076241f90012d7c21c005dae5380000015010..."} 
[2026-09-06 15:25:15] local.INFO: Processing buffer {"connection_id":172604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076241f90012d7c21c005dae5380000015010..."} 
[2026-09-06 15:25:15] local.INFO: Packet analysis {"connection_id":172604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:25:15] local.INFO: Extracted packet for processing {"connection_id":172604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:25:15] local.INFO: GPS Element Parsed {"raw_longitude":763109824,"raw_latitude":98231608,"longitude_deg":76.3109824,"latitude_deg":9.8231608,"altitude":0,"angle":336,"satellites":16,"speed":26,"hex_longitude":"2d7c21c0","hex_latitude":"05dae538","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904246784001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128964652284510208,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947878428544301056,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 15:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788688474000,"timestamp_ms":1788688474000,"timestamp_seconds":1788688474,"priority":1,"record_length":96,"hex_timestamp":"000001a076241f90"} 
[2026-09-06 15:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:25:15] 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-09-06 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 15:25:15] 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-09-06 15: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-09-06 15:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":172604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":172604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":172604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:25: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-09-06 15:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904246784001,"66":13580,"187":206,"85":15104,"24":26,"16":128964652284510208,"45":8947878428544301056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 15:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904246784001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:25:15] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 15:25:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128964652284510208,"km_value":128964652284510.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947878428544301056,"description":"Unknown IO ID 45"} 
[2026-09-06 15:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904246784001,"power":13580,"unknown_187":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8947878428544301056}} 
[2026-09-06 15:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":172604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:25:15] local.INFO: GPS data processed {"connection_id":172604,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:25:15] local.INFO: Acknowledgment sent {"connection_id":172604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:25:25] local.INFO: TCP Data received {"connection_id":173993,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:25:25] local.INFO: Processing buffer {"connection_id":173993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076204730012d34c50006aa3d30000e013529..."} 
[2026-09-06 15:25:25] local.INFO: Packet analysis {"connection_id":173993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:25:25] local.INFO: Extracted packet for processing {"connection_id":173993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07620"} 
[2026-09-06 15:25:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904107264001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788688222000,"timestamp_ms":1788688222000,"timestamp_seconds":1788688222,"priority":1,"record_length":96,"hex_timestamp":"000001a076204730"} 
[2026-09-06 15:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:25: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:25: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-09-06 15:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904107264001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904107264001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:25:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:25:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904107264001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":173993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:25:25] local.INFO: GPS data processed {"connection_id":173993,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:25:25] local.INFO: Acknowledgment sent {"connection_id":173993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:25:46] local.INFO: TCP Data received {"connection_id":172604,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a076243700012d7c1f4005daeb480000015e0e..."} 
[2026-09-06 15:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076243700012d7c1f4005daeb480000015e0e..."} 
[2026-09-06 15:25:46] local.INFO: Processing buffer {"connection_id":172604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076243700012d7c1f4005daeb480000015e0e..."} 
[2026-09-06 15:25:46] local.INFO: Packet analysis {"connection_id":172604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:25:46] local.INFO: Extracted packet for processing {"connection_id":172604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:25:46] local.INFO: GPS Element Parsed {"raw_longitude":763109184,"raw_latitude":98233160,"longitude_deg":76.3109184,"latitude_deg":9.823316,"altitude":0,"angle":350,"satellites":14,"speed":15,"hex_longitude":"2d7c1f40","hex_latitude":"05daeb48","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904249344001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128964733888888832,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944641466314340352,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:46] 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-09-06 15:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788688480000,"timestamp_ms":1788688480000,"timestamp_seconds":1788688480,"priority":1,"record_length":96,"hex_timestamp":"000001a076243700"} 
[2026-09-06 15:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:25:46] 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-09-06 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 15:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630889,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6848567881685270538,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:46] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549775605,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2834628814,"corrected_to":0} 
[2026-09-06 15:25:46] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:46] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":713949184,"corrected_to":0} 
[2026-09-06 15:25:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3658622976,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:46] local.WARNING: Large IO value detected {"io_id":124,"raw_value":7836269785188401152,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:46] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-6268784555751059883,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:46] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755622779486449,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:46] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,187,85,24,241,157,16,44,160,248,45,64,195,13,10,66,217,192,159,12,43,186,1,240,252,227,118,218,4,113,205,50,127,94,239,53,245,2,202,5,49,124,54,59],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2834628814,"validated":0},{"io_id":202,"original":713949184,"validated":0}]} 
[2026-09-06 15:25:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":369504628113408,"timestamp_seconds":369504628113.408,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 15:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:25: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-09-06 15:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904249344001,"66":13798,"187":206,"85":15104,"24":15,"16":128964733888888832,"45":8944641466314340352},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 15:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904249344001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:25:46] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 15:25:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128964733888888832,"km_value":128964733888888.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944641466314340352,"description":"Unknown IO ID 45"} 
[2026-09-06 15:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904249344001,"power":13798,"unknown_187":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8944641466314340352}} 
[2026-09-06 15:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":172604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:25:46] local.INFO: GPS data processed {"connection_id":172604,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:25:46] local.INFO: Acknowledgment sent {"connection_id":172604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:25:47] local.INFO: TCP Data received {"connection_id":172821,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:25:47] local.INFO: Processing buffer {"connection_id":172821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:25:47] local.INFO: IMEI packet received {"connection_id":172821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":172821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:25:53] local.INFO: TCP Data received {"connection_id":172821,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:25:53] local.INFO: Processing buffer {"connection_id":172821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:25:53] local.INFO: IMEI packet received {"connection_id":172821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":172821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:25:53] local.INFO: TCP Data received {"connection_id":172821,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:25:53] local.INFO: Processing buffer {"connection_id":172821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:25:53] local.INFO: Packet analysis {"connection_id":172821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:25:53] local.INFO: Extracted packet for processing {"connection_id":172821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:25:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904184832001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788688524000,"timestamp_ms":1788688524000,"timestamp_seconds":1788688524,"priority":1,"record_length":96,"hex_timestamp":"000001a07624e2e0"} 
[2026-09-06 15:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:25: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-09-06 15:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904184832001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904184832001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:25:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:25:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904184832001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":172821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":774999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:25:53] local.INFO: GPS data processed {"connection_id":172821,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:25:53] local.INFO: Acknowledgment sent {"connection_id":172821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:26:08] local.INFO: TCP Data received {"connection_id":172605,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:26:08] local.INFO: Processing buffer {"connection_id":172605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:26:08] local.INFO: IMEI packet received {"connection_id":172605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":172605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:26:09] local.INFO: TCP Data received {"connection_id":172605,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:26:09] local.INFO: Processing buffer {"connection_id":172605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:26:09] local.INFO: IMEI packet received {"connection_id":172605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":172605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:26:12] local.INFO: TCP Data received {"connection_id":172605,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:26:12] local.INFO: Processing buffer {"connection_id":172605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:26:12] local.INFO: IMEI packet received {"connection_id":172605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":172605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:26:13] local.INFO: TCP Data received {"connection_id":172605,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:26:13] local.INFO: Processing buffer {"connection_id":172605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:26:13] local.INFO: IMEI packet received {"connection_id":172605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":172605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:26:14] local.INFO: TCP Data received {"connection_id":172605,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0762563c8012d7bf94005dbbe200000007e10..."} 
[2026-09-06 15:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762563c8012d7bf94005dbbe200000007e10..."} 
[2026-09-06 15:26:14] local.INFO: Processing buffer {"connection_id":172605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762563c8012d7bf94005dbbe200000007e10..."} 
[2026-09-06 15:26:14] local.INFO: Packet analysis {"connection_id":172605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:26:14] local.INFO: Extracted packet for processing {"connection_id":172605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:26:14] local.INFO: GPS Element Parsed {"raw_longitude":763099456,"raw_latitude":98287136,"longitude_deg":76.3099456,"latitude_deg":9.8287136,"altitude":0,"angle":126,"satellites":16,"speed":11,"hex_longitude":"2d7bf940","hex_latitude":"05dbbe20","is_valid_coordinates":true} 
[2026-09-06 15:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904270080001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128967611516977152,"note":"Value kept but may cause issues"} 
[2026-09-06 15:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931975092376692736,"note":"Value kept but may cause issues"} 
[2026-09-06 15:26:14] 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-09-06 15:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788688557000,"timestamp_ms":1788688557000,"timestamp_seconds":1788688557,"priority":1,"record_length":96,"hex_timestamp":"000001a0762563c8"} 
[2026-09-06 15:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 15:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-06 15:26:14] 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-09-06 15:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:26:14] 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-09-06 15:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904270080001,"66":13765,"186":206,"85":15104,"24":11,"16":128967611516977152,"45":8931975092376692736},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-09-06 15:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904270080001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:26:14] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 15:26:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128967611516977152,"km_value":128967611516977.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931975092376692736,"description":"Unknown IO ID 45"} 
[2026-09-06 15:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904270080001,"power":13765,"unknown_186":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8931975092376692736}} 
[2026-09-06 15:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":172605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:26:14] local.INFO: GPS data processed {"connection_id":172605,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:26:14] local.INFO: Acknowledgment sent {"connection_id":172605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:26:19] local.INFO: TCP Data received {"connection_id":175316,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:26:19] local.INFO: Processing buffer {"connection_id":175316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:26:19] local.INFO: IMEI packet received {"connection_id":175316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 15:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":175316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:26:25] local.INFO: TCP Data received {"connection_id":172821,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:26:25] local.INFO: Processing buffer {"connection_id":172821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:26:25] local.INFO: Packet analysis {"connection_id":172821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:26:25] local.INFO: Extracted packet for processing {"connection_id":172821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904184832001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788688524000,"timestamp_ms":1788688524000,"timestamp_seconds":1788688524,"priority":1,"record_length":96,"hex_timestamp":"000001a07624e2e0"} 
[2026-09-06 15:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:26: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:26: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-09-06 15:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904184832001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904184832001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:26:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:26:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904184832001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":172821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:26:25] local.INFO: GPS data processed {"connection_id":172821,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:26:25] local.INFO: Acknowledgment sent {"connection_id":172821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:26:45] local.INFO: TCP Data received {"connection_id":172605,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a076256b98012d7bfc0005dbba200000009010..."} 
[2026-09-06 15:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076256b98012d7bfc0005dbba200000009010..."} 
[2026-09-06 15:26:45] local.INFO: Processing buffer {"connection_id":172605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076256b98012d7bfc0005dbba200000009010..."} 
[2026-09-06 15:26:45] local.INFO: Packet analysis {"connection_id":172605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:26:45] local.INFO: Extracted packet for processing {"connection_id":172605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:26:45] local.INFO: GPS Element Parsed {"raw_longitude":763100160,"raw_latitude":98286112,"longitude_deg":76.310016,"latitude_deg":9.8286112,"altitude":0,"angle":144,"satellites":16,"speed":16,"hex_longitude":"2d7bfc00","hex_latitude":"05dbba20","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904270592001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128967671646519296,"note":"Value kept but may cause issues"} 
[2026-09-06 15:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933241729771773952,"note":"Value kept but may cause issues"} 
[2026-09-06 15:26:45] 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-09-06 15:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788688559000,"timestamp_ms":1788688559000,"timestamp_seconds":1788688559,"priority":1,"record_length":96,"hex_timestamp":"000001a076256b98"} 
[2026-09-06 15:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:26: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-09-06 15: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-06 15:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:26:45] 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-09-06 15:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904270592001,"66":13896,"168":206,"85":15104,"24":16,"16":128967671646519296,"45":8933241729771773952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 15:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904270592001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:26:45] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 15:26:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128967671646519296,"km_value":128967671646519.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933241729771773952,"description":"Unknown IO ID 45"} 
[2026-09-06 15:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904270592001,"power":13896,"unknown_168":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8933241729771773952}} 
[2026-09-06 15:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":172605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:26:45] local.INFO: GPS data processed {"connection_id":172605,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:26:45] local.INFO: Acknowledgment sent {"connection_id":172605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:26:47] local.INFO: TCP Data received {"connection_id":173996,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:26:47] local.INFO: Processing buffer {"connection_id":173996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:26:47] local.INFO: IMEI packet received {"connection_id":173996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":173996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:26:48] local.INFO: TCP Data received {"connection_id":173995,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:26:48] local.INFO: Processing buffer {"connection_id":173995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:26:48] local.INFO: IMEI packet received {"connection_id":173995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 15:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":173995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:26:53] local.INFO: TCP Data received {"connection_id":173996,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:26:53] local.INFO: Processing buffer {"connection_id":173996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:26:53] local.INFO: IMEI packet received {"connection_id":173996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":173996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:26:54] local.INFO: TCP Data received {"connection_id":173996,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:26:54] local.INFO: Processing buffer {"connection_id":173996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:26:54] local.INFO: Packet analysis {"connection_id":173996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:26:54] local.INFO: Extracted packet for processing {"connection_id":173996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:26:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904184832001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788688524000,"timestamp_ms":1788688524000,"timestamp_seconds":1788688524,"priority":1,"record_length":96,"hex_timestamp":"000001a07624e2e0"} 
[2026-09-06 15:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:26: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:26:54] 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-09-06 15:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904184832001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904184832001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:26:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:26:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904184832001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":173996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:26:54] local.INFO: GPS data processed {"connection_id":173996,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:26:54] local.INFO: Acknowledgment sent {"connection_id":173996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:27:13] local.INFO: TCP Data received {"connection_id":172822,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:27:13] local.INFO: Processing buffer {"connection_id":172822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:27:13] local.INFO: IMEI packet received {"connection_id":172822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":172822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:27:18] local.INFO: TCP Data received {"connection_id":172822,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:27:18] local.INFO: Processing buffer {"connection_id":172822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:27:18] local.INFO: IMEI packet received {"connection_id":172822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":172822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:27:19] local.INFO: TCP Data received {"connection_id":172822,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a076257750012d7bfec005dbb2800000009d0f..."} 
[2026-09-06 15:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076257750012d7bfec005dbb2800000009d0f..."} 
[2026-09-06 15:27:19] local.INFO: Processing buffer {"connection_id":172822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076257750012d7bfec005dbb2800000009d0f..."} 
[2026-09-06 15:27:19] local.INFO: Packet analysis {"connection_id":172822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:27:19] local.INFO: Extracted packet for processing {"connection_id":172822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:27:19] local.INFO: GPS Element Parsed {"raw_longitude":763100864,"raw_latitude":98284160,"longitude_deg":76.3100864,"latitude_deg":9.828416,"altitude":0,"angle":157,"satellites":15,"speed":23,"hex_longitude":"2d7bfec0","hex_latitude":"05dbb280","is_valid_coordinates":true} 
[2026-09-06 15:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904271104001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128967774725734400,"note":"Value kept but may cause issues"} 
[2026-09-06 15:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934015785957466112,"note":"Value kept but may cause issues"} 
[2026-09-06 15:27:19] 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-09-06 15:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788688562000,"timestamp_ms":1788688562000,"timestamp_seconds":1788688562,"priority":1,"record_length":96,"hex_timestamp":"000001a076257750"} 
[2026-09-06 15:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 15:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-06 15:27:19] 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-09-06 15:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":172822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":172822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":172822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:27:19] 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-09-06 15:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904271104001,"66":13830,"168":206,"85":15104,"24":23,"16":128967774725734400,"45":8934015785957466112},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 15:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904271104001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:27:19] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 15:27:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128967774725734400,"km_value":128967774725734.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934015785957466112,"description":"Unknown IO ID 45"} 
[2026-09-06 15:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904271104001,"power":13830,"unknown_168":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8934015785957466112}} 
[2026-09-06 15:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":172822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:27:19] local.INFO: GPS data processed {"connection_id":172822,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:27:19] local.INFO: Acknowledgment sent {"connection_id":172822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:27:24] local.INFO: TCP Data received {"connection_id":172822,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a076258ec0012d7c02c005dba4580000008f0e..."} 
[2026-09-06 15:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076258ec0012d7c02c005dba4580000008f0e..."} 
[2026-09-06 15:27:24] local.INFO: Processing buffer {"connection_id":172822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076258ec0012d7c02c005dba4580000008f0e..."} 
[2026-09-06 15:27:24] local.INFO: Packet analysis {"connection_id":172822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:27:24] local.INFO: Extracted packet for processing {"connection_id":172822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:27:24] local.INFO: GPS Element Parsed {"raw_longitude":763101888,"raw_latitude":98280536,"longitude_deg":76.3101888,"latitude_deg":9.8280536,"altitude":0,"angle":143,"satellites":14,"speed":12,"hex_longitude":"2d7c02c0","hex_latitude":"05dba458","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904271872001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128967959409328128,"note":"Value kept but may cause issues"} 
[2026-09-06 15:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934789842142920704,"note":"Value kept but may cause issues"} 
[2026-09-06 15:27:24] 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-09-06 15:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788688568000,"timestamp_ms":1788688568000,"timestamp_seconds":1788688568,"priority":1,"record_length":96,"hex_timestamp":"000001a076258ec0"} 
[2026-09-06 15:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:27:24] 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-09-06 15: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-06 15:27:24] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1688858465992704,"note":"Value kept but may cause issues"} 
[2026-09-06 15:27:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627226805760,"note":"Value kept but may cause issues"} 
[2026-09-06 15:27:24] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3226992640,"note":"Value kept but may cause issues"} 
[2026-09-06 15:27:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797207758,"corrected_to":0} 
[2026-09-06 15:27:24] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":792657920,"corrected_to":0} 
[2026-09-06 15:27:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3686830080,"note":"Value kept but may cause issues"} 
[2026-09-06 15:27:24] local.WARNING: Large IO value detected {"io_id":60,"raw_value":-5187815285465283109,"note":"Value kept but may cause issues"} 
[2026-09-06 15:27:24] local.WARNING: Large IO value detected {"io_id":191,"raw_value":6341068281193824271,"note":"Value kept but may cause issues"} 
[2026-09-06 15:27:24] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,168,85,24,241,157,16,47,160,107,45,186,10,66,99,64,190,91,192,1,240,148,227,118,219,4,113,205,7,84,239,15,53,2,202,5,6,60,191],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2797207758,"validated":0},{"io_id":202,"original":792657920,"validated":0}]} 
[2026-09-06 15:27:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":172687751577600,"timestamp_seconds":172687751577.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 15:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:27:24] 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-09-06 15:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904271872001,"66":13656,"168":206,"85":15104,"24":12,"16":128967959409328128,"45":8934789842142920704},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 15:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904271872001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:27:24] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 15:27:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128967959409328128,"km_value":128967959409328.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934789842142920704,"description":"Unknown IO ID 45"} 
[2026-09-06 15:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904271872001,"power":13656,"unknown_168":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8934789842142920704}} 
[2026-09-06 15:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":172822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:27:24] local.INFO: GPS data processed {"connection_id":172822,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:27:24] local.INFO: Acknowledgment sent {"connection_id":172822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:27:26] local.INFO: TCP Data received {"connection_id":173996,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:27:26] local.INFO: Processing buffer {"connection_id":173996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:27:26] local.INFO: Packet analysis {"connection_id":173996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:27:26] local.INFO: Extracted packet for processing {"connection_id":173996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:27:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904184832001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788688524000,"timestamp_ms":1788688524000,"timestamp_seconds":1788688524,"priority":1,"record_length":96,"hex_timestamp":"000001a07624e2e0"} 
[2026-09-06 15:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:27: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-09-06 15:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:27: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-09-06 15:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904184832001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904184832001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:27:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:27:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904184832001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":173996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:27:26] local.INFO: GPS data processed {"connection_id":173996,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:27:26] local.INFO: Acknowledgment sent {"connection_id":173996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:27:53] local.INFO: TCP Data received {"connection_id":172823,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:27:53] local.INFO: Processing buffer {"connection_id":172823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:27:53] local.INFO: IMEI packet received {"connection_id":172823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":172823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:27:58] local.INFO: TCP Data received {"connection_id":172823,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:27:58] local.INFO: Processing buffer {"connection_id":172823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:27:58] local.INFO: IMEI packet received {"connection_id":172823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":172823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:27:58] local.INFO: TCP Data received {"connection_id":172823,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:27:58] local.INFO: Processing buffer {"connection_id":172823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:27:58] local.INFO: Packet analysis {"connection_id":172823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:27:58] local.INFO: Extracted packet for processing {"connection_id":172823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:27:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904184832001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788688524000,"timestamp_ms":1788688524000,"timestamp_seconds":1788688524,"priority":1,"record_length":96,"hex_timestamp":"000001a07624e2e0"} 
[2026-09-06 15:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:27: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-09-06 15:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904184832001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904184832001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:27:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:27:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904184832001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":172823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:27:58] local.INFO: GPS data processed {"connection_id":172823,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:27:58] local.INFO: Acknowledgment sent {"connection_id":172823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:28:03] local.INFO: TCP Data received {"connection_id":172823,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:28:03] local.INFO: Processing buffer {"connection_id":172823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:28:03] local.INFO: Packet analysis {"connection_id":172823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:28:03] local.INFO: Extracted packet for processing {"connection_id":172823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904184832001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:28: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-09-06 15:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788688524000,"timestamp_ms":1788688524000,"timestamp_seconds":1788688524,"priority":1,"record_length":96,"hex_timestamp":"000001a07624e2e0"} 
[2026-09-06 15:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:28: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-09-06 15:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:28: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-09-06 15:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904184832001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904184832001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:28:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904184832001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":172823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:28:03] local.INFO: GPS data processed {"connection_id":172823,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:28:03] local.INFO: Acknowledgment sent {"connection_id":172823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:28:08] local.INFO: TCP Data received {"connection_id":172606,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:28:08] local.INFO: Processing buffer {"connection_id":172606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:28:08] local.INFO: IMEI packet received {"connection_id":172606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":172606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:28:13] local.INFO: TCP Data received {"connection_id":172606,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:28:13] local.INFO: Processing buffer {"connection_id":172606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:28:13] local.INFO: IMEI packet received {"connection_id":172606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":172606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:28:14] local.INFO: TCP Data received {"connection_id":172606,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a076259a78012d7c034005dba2a80000007a0f..."} 
[2026-09-06 15:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076259a78012d7c034005dba2a80000007a0f..."} 
[2026-09-06 15:28:14] local.INFO: Processing buffer {"connection_id":172606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076259a78012d7c034005dba2a80000007a0f..."} 
[2026-09-06 15:28:14] local.INFO: Packet analysis {"connection_id":172606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:28:14] local.INFO: Extracted packet for processing {"connection_id":172606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:28:14] local.INFO: GPS Element Parsed {"raw_longitude":763102016,"raw_latitude":98280104,"longitude_deg":76.3102016,"latitude_deg":9.8280104,"altitude":0,"angle":122,"satellites":15,"speed":5,"hex_longitude":"2d7c0340","hex_latitude":"05dba2a8","is_valid_coordinates":true} 
[2026-09-06 15:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904273408001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128967989474099200,"note":"Value kept but may cause issues"} 
[2026-09-06 15:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935915742048835584,"note":"Value kept but may cause issues"} 
[2026-09-06 15:28:14] 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-09-06 15:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788688571000,"timestamp_ms":1788688571000,"timestamp_seconds":1788688571,"priority":1,"record_length":96,"hex_timestamp":"000001a076259a78"} 
[2026-09-06 15:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 15:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 15:28:14] 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-09-06 15:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:28:14] 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-09-06 15:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904273408001,"66":13765,"168":206,"85":15104,"24":5,"16":128967989474099200,"45":8935915742048835584},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 15:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904273408001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:28:14] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 15:28:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128967989474099200,"km_value":128967989474099.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935915742048835584,"description":"Unknown IO ID 45"} 
[2026-09-06 15:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904273408001,"power":13765,"unknown_168":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8935915742048835584}} 
[2026-09-06 15:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":172606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:28:14] local.INFO: GPS data processed {"connection_id":172606,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:28:14] local.INFO: Acknowledgment sent {"connection_id":172606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:28:45] local.INFO: TCP Data received {"connection_id":172606,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07625d128012d7c0a4005dba3880000005310..."} 
[2026-09-06 15:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07625d128012d7c0a4005dba3880000005310..."} 
[2026-09-06 15:28:45] local.INFO: Processing buffer {"connection_id":172606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07625d128012d7c0a4005dba3880000005310..."} 
[2026-09-06 15:28:45] local.INFO: Packet analysis {"connection_id":172606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:28:45] local.INFO: Extracted packet for processing {"connection_id":172606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:28:45] local.INFO: GPS Element Parsed {"raw_longitude":763103808,"raw_latitude":98280328,"longitude_deg":76.3103808,"latitude_deg":9.8280328,"altitude":0,"angle":83,"satellites":16,"speed":5,"hex_longitude":"2d7c0a40","hex_latitude":"05dba388","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904274176001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128968075373445120,"note":"Value kept but may cause issues"} 
[2026-09-06 15:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936056479537080320,"note":"Value kept but may cause issues"} 
[2026-09-06 15:28:45] 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-09-06 15:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788688585000,"timestamp_ms":1788688585000,"timestamp_seconds":1788688585,"priority":1,"record_length":96,"hex_timestamp":"000001a07625d128"} 
[2026-09-06 15:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:28: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-09-06 15: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-06 15:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":172606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":172606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":172606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:28:45] 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-09-06 15:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904274176001,"66":13820,"168":206,"85":15104,"24":5,"16":128968075373445120,"45":8936056479537080320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 15:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904274176001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:28:45] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 15:28:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128968075373445120,"km_value":128968075373445.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936056479537080320,"description":"Unknown IO ID 45"} 
[2026-09-06 15:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904274176001,"power":13820,"unknown_168":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8936056479537080320}} 
[2026-09-06 15:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":172606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:28:45] local.INFO: GPS data processed {"connection_id":172606,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:28:45] local.INFO: Acknowledgment sent {"connection_id":172606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:28:48] local.INFO: TCP Data received {"connection_id":173997,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:28:48] local.INFO: Processing buffer {"connection_id":173997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:28:48] local.INFO: IMEI packet received {"connection_id":173997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":173997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:28:53] local.INFO: TCP Data received {"connection_id":173997,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:28:53] local.INFO: Processing buffer {"connection_id":173997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:28:53] local.INFO: IMEI packet received {"connection_id":173997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":173997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:28:54] local.INFO: TCP Data received {"connection_id":173997,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:28:54] local.INFO: Processing buffer {"connection_id":173997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:28:54] local.INFO: Packet analysis {"connection_id":173997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:28:54] local.INFO: Extracted packet for processing {"connection_id":173997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:28:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904184832001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:28: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-09-06 15:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788688524000,"timestamp_ms":1788688524000,"timestamp_seconds":1788688524,"priority":1,"record_length":96,"hex_timestamp":"000001a07624e2e0"} 
[2026-09-06 15:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:28: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-09-06 15:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:28:54] 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-09-06 15:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904184832001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904184832001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:28:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:28:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904184832001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":173997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:28:54] local.INFO: GPS data processed {"connection_id":173997,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:28:54] local.INFO: Acknowledgment sent {"connection_id":173997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:29:08] local.INFO: TCP Data received {"connection_id":172824,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:29:08] local.INFO: Processing buffer {"connection_id":172824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:29:08] local.INFO: IMEI packet received {"connection_id":172824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":172824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:29:13] local.INFO: TCP Data received {"connection_id":172824,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:29:13] local.INFO: Processing buffer {"connection_id":172824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:29:13] local.INFO: IMEI packet received {"connection_id":172824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":172824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:29:14] local.INFO: TCP Data received {"connection_id":172824,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07625d8f8012d7c0bc005dba3400000006210..."} 
[2026-09-06 15:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07625d8f8012d7c0bc005dba3400000006210..."} 
[2026-09-06 15:29:14] local.INFO: Processing buffer {"connection_id":172824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07625d8f8012d7c0bc005dba3400000006210..."} 
[2026-09-06 15:29:14] local.INFO: Packet analysis {"connection_id":172824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:29:14] local.INFO: Extracted packet for processing {"connection_id":172824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:29:14] local.INFO: GPS Element Parsed {"raw_longitude":763104192,"raw_latitude":98280256,"longitude_deg":76.3104192,"latitude_deg":9.8280256,"altitude":0,"angle":98,"satellites":16,"speed":9,"hex_longitude":"2d7c0bc0","hex_latitude":"05dba340","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904277760001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128968096848281600,"note":"Value kept but may cause issues"} 
[2026-09-06 15:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938026804374112256,"note":"Value kept but may cause issues"} 
[2026-09-06 15:29:14] 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-09-06 15:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788688587000,"timestamp_ms":1788688587000,"timestamp_seconds":1788688587,"priority":1,"record_length":96,"hex_timestamp":"000001a07625d8f8"} 
[2026-09-06 15:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 15: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 15:29:14] 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-09-06 15: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-09-06 15:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:29:14] 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-09-06 15:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904277760001,"66":13678,"168":206,"85":15104,"24":9,"16":128968096848281600,"45":8938026804374112256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 15:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904277760001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:29:14] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 15:29:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128968096848281600,"km_value":128968096848281.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938026804374112256,"description":"Unknown IO ID 45"} 
[2026-09-06 15:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904277760001,"power":13678,"unknown_168":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8938026804374112256}} 
[2026-09-06 15:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":172824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775012,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:29:14] local.INFO: GPS data processed {"connection_id":172824,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:29:14] local.INFO: Acknowledgment sent {"connection_id":172824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:29:25] local.INFO: TCP Data received {"connection_id":173997,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:29:25] local.INFO: Processing buffer {"connection_id":173997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:29:25] local.INFO: Packet analysis {"connection_id":173997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:29:25] local.INFO: Extracted packet for processing {"connection_id":173997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:29:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904184832001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788688524000,"timestamp_ms":1788688524000,"timestamp_seconds":1788688524,"priority":1,"record_length":96,"hex_timestamp":"000001a07624e2e0"} 
[2026-09-06 15:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:29: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-09-06 15:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904184832001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904184832001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:29:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:29:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904184832001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":173997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:29:25] local.INFO: GPS data processed {"connection_id":173997,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:29:25] local.INFO: Acknowledgment sent {"connection_id":173997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:29:46] local.INFO: TCP Data received {"connection_id":172824,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07625e0c8012d7c0cc005dba2a80000007c10..."} 
[2026-09-06 15:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07625e0c8012d7c0cc005dba2a80000007c10..."} 
[2026-09-06 15:29:46] local.INFO: Processing buffer {"connection_id":172824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07625e0c8012d7c0cc005dba2a80000007c10..."} 
[2026-09-06 15:29:46] local.INFO: Packet analysis {"connection_id":172824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:29:46] local.INFO: Extracted packet for processing {"connection_id":172824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:29:46] local.INFO: GPS Element Parsed {"raw_longitude":763104448,"raw_latitude":98280104,"longitude_deg":76.3104448,"latitude_deg":9.8280104,"altitude":0,"angle":124,"satellites":16,"speed":6,"hex_longitude":"2d7c0cc0","hex_latitude":"05dba2a8","is_valid_coordinates":true} 
[2026-09-06 15:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904278272001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128968114028150784,"note":"Value kept but may cause issues"} 
[2026-09-06 15:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938449016839159808,"note":"Value kept but may cause issues"} 
[2026-09-06 15:29:46] 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-09-06 15:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788688589000,"timestamp_ms":1788688589000,"timestamp_seconds":1788688589,"priority":1,"record_length":96,"hex_timestamp":"000001a07625e0c8"} 
[2026-09-06 15:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:29:46] 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-09-06 15:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 15:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":172824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":172824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":172824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:29: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-09-06 15:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904278272001,"66":13526,"168":206,"85":15104,"24":6,"16":128968114028150784,"45":8938449016839159808},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 15:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904278272001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:29:46] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 15:29:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128968114028150784,"km_value":128968114028150.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938449016839159808,"description":"Unknown IO ID 45"} 
[2026-09-06 15:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904278272001,"power":13526,"unknown_168":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8938449016839159808}} 
[2026-09-06 15:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":172824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:29:46] local.INFO: GPS data processed {"connection_id":172824,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:29:46] local.INFO: Acknowledgment sent {"connection_id":172824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:29:48] local.INFO: TCP Data received {"connection_id":172825,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:29:48] local.INFO: Processing buffer {"connection_id":172825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:29:48] local.INFO: IMEI packet received {"connection_id":172825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":172825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:29:53] local.INFO: TCP Data received {"connection_id":172825,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:29:53] local.INFO: Processing buffer {"connection_id":172825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:29:53] local.INFO: IMEI packet received {"connection_id":172825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":172825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:29:55] local.INFO: TCP Data received {"connection_id":172825,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:29:55] local.INFO: Processing buffer {"connection_id":172825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:29:55] local.INFO: Packet analysis {"connection_id":172825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:29:55] local.INFO: Extracted packet for processing {"connection_id":172825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:29:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904184832001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788688524000,"timestamp_ms":1788688524000,"timestamp_seconds":1788688524,"priority":1,"record_length":96,"hex_timestamp":"000001a07624e2e0"} 
[2026-09-06 15:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:29: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-09-06 15: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:29: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-09-06 15:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904184832001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904184832001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:29:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:29:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904184832001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":172825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:29:55] local.INFO: GPS data processed {"connection_id":172825,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:29:55] local.INFO: Acknowledgment sent {"connection_id":172825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:30:09] local.INFO: TCP Data received {"connection_id":175318,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:30:09] local.INFO: Processing buffer {"connection_id":175318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:30:09] local.INFO: IMEI packet received {"connection_id":175318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":175318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:30:13] local.INFO: TCP Data received {"connection_id":175318,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:30:13] local.INFO: Processing buffer {"connection_id":175318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:30:13] local.INFO: IMEI packet received {"connection_id":175318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":175318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:30:14] local.INFO: TCP Data received {"connection_id":175318,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07625fc20012d7c0e0005dba0e00000008110..."} 
[2026-09-06 15:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07625fc20012d7c0e0005dba0e00000008110..."} 
[2026-09-06 15:30:14] local.INFO: Processing buffer {"connection_id":175318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07625fc20012d7c0e0005dba0e00000008110..."} 
[2026-09-06 15:30:14] local.INFO: Packet analysis {"connection_id":175318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:30:14] local.INFO: Extracted packet for processing {"connection_id":175318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07625"} 
[2026-09-06 15:30:14] local.INFO: GPS Element Parsed {"raw_longitude":763104768,"raw_latitude":98279648,"longitude_deg":76.3104768,"latitude_deg":9.8279648,"altitude":0,"angle":129,"satellites":16,"speed":3,"hex_longitude":"2d7c0e00","hex_latitude":"05dba0e0","is_valid_coordinates":true} 
[2026-09-06 15:30: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-09-06 15:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904278784001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128968139797954560,"note":"Value kept but may cause issues"} 
[2026-09-06 15:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938730491815831552,"note":"Value kept but may cause issues"} 
[2026-09-06 15:30:14] 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-09-06 15:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788688596000,"timestamp_ms":1788688596000,"timestamp_seconds":1788688596,"priority":1,"record_length":96,"hex_timestamp":"000001a07625fc20"} 
[2026-09-06 15:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 15:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-06 15:30:14] 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-09-06 15:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:30:14] 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-09-06 15:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904278784001,"66":13656,"168":206,"85":15104,"24":3,"16":128968139797954560,"45":8938730491815831552},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 15:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904278784001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:30:14] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 15:30:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128968139797954560,"km_value":128968139797954.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938730491815831552,"description":"Unknown IO ID 45"} 
[2026-09-06 15:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904278784001,"power":13656,"unknown_168":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8938730491815831552}} 
[2026-09-06 15:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":175318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:30:14] local.INFO: GPS data processed {"connection_id":175318,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:30:14] local.INFO: Acknowledgment sent {"connection_id":175318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:30:27] local.INFO: TCP Data received {"connection_id":172825,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:30:27] local.INFO: Processing buffer {"connection_id":172825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07624e2e0012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:30:27] local.INFO: Packet analysis {"connection_id":172825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:30:27] local.INFO: Extracted packet for processing {"connection_id":172825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07624"} 
[2026-09-06 15:30:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904184832001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:30: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-09-06 15:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788688524000,"timestamp_ms":1788688524000,"timestamp_seconds":1788688524,"priority":1,"record_length":96,"hex_timestamp":"000001a07624e2e0"} 
[2026-09-06 15:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:30: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-09-06 15:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 15:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:30: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-09-06 15:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904184832001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904184832001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:30:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:30:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904184832001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":172825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:30:27] local.INFO: GPS data processed {"connection_id":172825,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:30:27] local.INFO: Acknowledgment sent {"connection_id":172825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:30:47] local.INFO: TCP Data received {"connection_id":172827,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:30:47] local.INFO: Processing buffer {"connection_id":172827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:30:47] local.INFO: IMEI packet received {"connection_id":172827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":172827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:30:53] local.INFO: TCP Data received {"connection_id":172827,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:30:53] local.INFO: Processing buffer {"connection_id":172827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:30:53] local.INFO: IMEI packet received {"connection_id":172827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":172827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:30:53] local.INFO: TCP Data received {"connection_id":172827,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:30:53] local.INFO: Processing buffer {"connection_id":172827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:30:53] local.INFO: Packet analysis {"connection_id":172827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:30:53] local.INFO: Extracted packet for processing {"connection_id":172827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904262144001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788688826000,"timestamp_ms":1788688826000,"timestamp_seconds":1788688826,"priority":1,"record_length":96,"hex_timestamp":"000001a076297e90"} 
[2026-09-06 15:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:30: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-09-06 15: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-09-06 15:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:30: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-09-06 15:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904262144001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904262144001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:30:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904262144001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":172827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:30:53] local.INFO: GPS data processed {"connection_id":172827,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:30:53] local.INFO: Acknowledgment sent {"connection_id":172827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:31:29] local.INFO: TCP Data received {"connection_id":172827,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:31:29] local.INFO: Processing buffer {"connection_id":172827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:31:29] local.INFO: Packet analysis {"connection_id":172827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:31:29] local.INFO: Extracted packet for processing {"connection_id":172827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:31:29] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904262144001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:31: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-09-06 15:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788688826000,"timestamp_ms":1788688826000,"timestamp_seconds":1788688826,"priority":1,"record_length":96,"hex_timestamp":"000001a076297e90"} 
[2026-09-06 15:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:31: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:31: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-09-06 15:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904262144001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904262144001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:31:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:31:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904262144001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":172827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:31:29] local.INFO: GPS data processed {"connection_id":172827,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:31:29] local.INFO: Acknowledgment sent {"connection_id":172827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:31:48] local.INFO: TCP Data received {"connection_id":175319,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:31:48] local.INFO: Processing buffer {"connection_id":175319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:31:48] local.INFO: IMEI packet received {"connection_id":175319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":175319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:31:53] local.INFO: TCP Data received {"connection_id":175319,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:31:53] local.INFO: Processing buffer {"connection_id":175319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:31:53] local.INFO: IMEI packet received {"connection_id":175319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":175319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:31:54] local.INFO: TCP Data received {"connection_id":175319,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:31:54] local.INFO: Processing buffer {"connection_id":175319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:31:54] local.INFO: Packet analysis {"connection_id":175319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:31:54] local.INFO: Extracted packet for processing {"connection_id":175319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:31:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904262144001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:31: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-09-06 15:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788688826000,"timestamp_ms":1788688826000,"timestamp_seconds":1788688826,"priority":1,"record_length":96,"hex_timestamp":"000001a076297e90"} 
[2026-09-06 15:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:31: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-09-06 15:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:31:54] 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-09-06 15:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:31:54] 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-09-06 15:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904262144001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904262144001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:31:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:31:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904262144001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":175319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:31:54] local.INFO: GPS data processed {"connection_id":175319,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:31:54] local.INFO: Acknowledgment sent {"connection_id":175319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:31:58] local.INFO: TCP Data received {"connection_id":175319,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:31:58] local.INFO: Processing buffer {"connection_id":175319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:31:58] local.INFO: Packet analysis {"connection_id":175319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:31:58] local.INFO: Extracted packet for processing {"connection_id":175319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:31:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904262144001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788688826000,"timestamp_ms":1788688826000,"timestamp_seconds":1788688826,"priority":1,"record_length":96,"hex_timestamp":"000001a076297e90"} 
[2026-09-06 15:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:31: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:31: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-09-06 15: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-09-06 15:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:31: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-09-06 15:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904262144001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904262144001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:31:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:31:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904262144001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":175319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:31:58] local.INFO: GPS data processed {"connection_id":175319,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:31:58] local.INFO: Acknowledgment sent {"connection_id":175319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:32:30] local.INFO: TCP Data received {"connection_id":175319,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:32:30] local.INFO: Processing buffer {"connection_id":175319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:32:30] local.INFO: Packet analysis {"connection_id":175319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:32:30] local.INFO: Extracted packet for processing {"connection_id":175319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:32:30] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904262144001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:32: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-09-06 15:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788688826000,"timestamp_ms":1788688826000,"timestamp_seconds":1788688826,"priority":1,"record_length":96,"hex_timestamp":"000001a076297e90"} 
[2026-09-06 15:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:32:30] 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-09-06 15: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-09-06 15:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904262144001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904262144001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:32:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:32:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904262144001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":175319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:32:30] local.INFO: GPS data processed {"connection_id":175319,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:32:30] local.INFO: Acknowledgment sent {"connection_id":175319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:32:31] local.INFO: TCP Data received {"connection_id":175320,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:32:31] local.INFO: Processing buffer {"connection_id":175320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:32:31] local.INFO: IMEI packet received {"connection_id":175320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 15:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":175320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:32:47] local.INFO: TCP Data received {"connection_id":173999,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:32:47] local.INFO: Processing buffer {"connection_id":173999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:32:47] local.INFO: IMEI packet received {"connection_id":173999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":173999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:32:49] local.INFO: TCP Data received {"connection_id":172828,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:32:49] local.INFO: Processing buffer {"connection_id":172828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:32:49] local.INFO: IMEI packet received {"connection_id":172828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 15:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":172828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:32:53] local.INFO: TCP Data received {"connection_id":173999,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:32:53] local.INFO: Processing buffer {"connection_id":173999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:32:53] local.INFO: IMEI packet received {"connection_id":173999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":173999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:32:54] local.INFO: TCP Data received {"connection_id":173999,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:32:54] local.INFO: Processing buffer {"connection_id":173999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:32:54] local.INFO: Packet analysis {"connection_id":173999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:32:54] local.INFO: Extracted packet for processing {"connection_id":173999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904262144001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:32: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-09-06 15:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788688826000,"timestamp_ms":1788688826000,"timestamp_seconds":1788688826,"priority":1,"record_length":96,"hex_timestamp":"000001a076297e90"} 
[2026-09-06 15:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:32: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-09-06 15:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:32:54] 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-09-06 15:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:32:54] 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-09-06 15:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904262144001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904262144001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:32:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:32:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904262144001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":173999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:32:54] local.INFO: GPS data processed {"connection_id":173999,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:32:54] local.INFO: Acknowledgment sent {"connection_id":173999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:33:25] local.INFO: TCP Data received {"connection_id":173999,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:33:25] local.INFO: Processing buffer {"connection_id":173999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:33:25] local.INFO: Packet analysis {"connection_id":173999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:33:25] local.INFO: Extracted packet for processing {"connection_id":173999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:33:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904262144001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788688826000,"timestamp_ms":1788688826000,"timestamp_seconds":1788688826,"priority":1,"record_length":96,"hex_timestamp":"000001a076297e90"} 
[2026-09-06 15:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:33: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:33: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-09-06 15: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-09-06 15:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15: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-09-06 15:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904262144001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904262144001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:33:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:33:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904262144001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":173999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:33:25] local.INFO: GPS data processed {"connection_id":173999,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:33:25] local.INFO: Acknowledgment sent {"connection_id":173999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:33:48] local.INFO: TCP Data received {"connection_id":172830,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:33:48] local.INFO: Processing buffer {"connection_id":172830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:33:48] local.INFO: IMEI packet received {"connection_id":172830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":172830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:33:53] local.INFO: TCP Data received {"connection_id":172830,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:33:53] local.INFO: Processing buffer {"connection_id":172830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:33:53] local.INFO: IMEI packet received {"connection_id":172830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":172830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:33:53] local.INFO: TCP Data received {"connection_id":172830,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:33:53] local.INFO: Processing buffer {"connection_id":172830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:33:53] local.INFO: Packet analysis {"connection_id":172830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:33:53] local.INFO: Extracted packet for processing {"connection_id":172830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:33:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904262144001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788688826000,"timestamp_ms":1788688826000,"timestamp_seconds":1788688826,"priority":1,"record_length":96,"hex_timestamp":"000001a076297e90"} 
[2026-09-06 15:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:33: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-09-06 15: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-09-06 15:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:33: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-09-06 15:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904262144001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904262144001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:33:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:33:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904262144001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":172830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:33:53] local.INFO: GPS data processed {"connection_id":172830,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:33:53] local.INFO: Acknowledgment sent {"connection_id":172830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:34:00] local.INFO: TCP Data received {"connection_id":172831,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:34:00] local.INFO: Processing buffer {"connection_id":172831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:34:00] local.INFO: IMEI packet received {"connection_id":172831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":172831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:34:01] local.INFO: TCP Data received {"connection_id":172831,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:34:01] local.INFO: Processing buffer {"connection_id":172831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:34:01] local.INFO: IMEI packet received {"connection_id":172831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":172831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:34:05] local.INFO: TCP Data received {"connection_id":172831,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:34:05] local.INFO: Processing buffer {"connection_id":172831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:34:05] local.INFO: IMEI packet received {"connection_id":172831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":172831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:34:07] local.INFO: TCP Data received {"connection_id":172831,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0762cbab0012d7bd1c005dd74400000016017..."} 
[2026-09-06 15:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762cbab0012d7bd1c005dd74400000016017..."} 
[2026-09-06 15:34:07] local.INFO: Processing buffer {"connection_id":172831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762cbab0012d7bd1c005dd74400000016017..."} 
[2026-09-06 15:34:07] local.INFO: Packet analysis {"connection_id":172831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762c"} 
[2026-09-06 15:34:07] local.INFO: Extracted packet for processing {"connection_id":172831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762c"} 
[2026-09-06 15:34:07] local.INFO: GPS Element Parsed {"raw_longitude":763089344,"raw_latitude":98399296,"longitude_deg":76.3089344,"latitude_deg":9.8399296,"altitude":0,"angle":352,"satellites":23,"speed":49,"hex_longitude":"2d7bd1c0","hex_latitude":"05dd7440","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904391680001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128973796269883392,"note":"Value kept but may cause issues"} 
[2026-09-06 15:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923671580589871104,"note":"Value kept but may cause issues"} 
[2026-09-06 15:34:07] 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-09-06 15:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788689038000,"timestamp_ms":1788689038000,"timestamp_seconds":1788689038,"priority":1,"record_length":96,"hex_timestamp":"000001a0762cbab0"} 
[2026-09-06 15:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-06 15:34:07] 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-09-06 15: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-09-06 15:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:34: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-09-06 15:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904391680001,"66":13765,"169":206,"85":15104,"24":49,"16":128973796269883392,"45":8923671580589871104},"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-09-06 15:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904391680001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:34:07] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-06 15:34:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128973796269883392,"km_value":128973796269883.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923671580589871104,"description":"Unknown IO ID 45"} 
[2026-09-06 15:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904391680001,"power":13765,"unknown_169":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8923671580589871104}} 
[2026-09-06 15:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":172831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:34:07] local.INFO: GPS data processed {"connection_id":172831,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:34:07] local.INFO: Acknowledgment sent {"connection_id":172831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:34:25] local.INFO: TCP Data received {"connection_id":172830,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:34:25] local.INFO: Processing buffer {"connection_id":172830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:34:25] local.INFO: Packet analysis {"connection_id":172830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:34:25] local.INFO: Extracted packet for processing {"connection_id":172830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:34:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 15:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904262144001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 15:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788688826000,"timestamp_ms":1788688826000,"timestamp_seconds":1788688826,"priority":1,"record_length":96,"hex_timestamp":"000001a076297e90"} 
[2026-09-06 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-09-06 15:34: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-09-06 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:34: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-09-06 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-09-06 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-09-06 15:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:34: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-09-06 15:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904262144001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904262144001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:34:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:34:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904262144001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":172830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:34:25] local.INFO: GPS data processed {"connection_id":172830,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:34:25] local.INFO: Acknowledgment sent {"connection_id":172830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:34:38] local.INFO: TCP Data received {"connection_id":172831,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0762cd608012d7bcb8005dd96f80000015f15..."} 
[2026-09-06 15:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762cd608012d7bcb8005dd96f80000015f15..."} 
[2026-09-06 15:34:38] local.INFO: Processing buffer {"connection_id":172831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762cd608012d7bcb8005dd96f80000015f15..."} 
[2026-09-06 15:34:38] local.INFO: Packet analysis {"connection_id":172831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762c"} 
[2026-09-06 15:34:38] local.INFO: Extracted packet for processing {"connection_id":172831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762c"} 
[2026-09-06 15:34:38] local.INFO: GPS Element Parsed {"raw_longitude":763087744,"raw_latitude":98408184,"longitude_deg":76.3087744,"latitude_deg":9.8408184,"altitude":0,"angle":351,"satellites":21,"speed":49,"hex_longitude":"2d7bcb80","hex_latitude":"05dd96f8","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904393728001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128974234356547584,"note":"Value kept but may cause issues"} 
[2026-09-06 15:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922123468220416000,"note":"Value kept but may cause issues"} 
[2026-09-06 15:34:38] 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-09-06 15:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788689045000,"timestamp_ms":1788689045000,"timestamp_seconds":1788689045,"priority":1,"record_length":96,"hex_timestamp":"000001a0762cd608"} 
[2026-09-06 15:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:34:38] 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-09-06 15: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-06 15:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:34:38] 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-09-06 15:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904393728001,"66":13656,"169":206,"85":15104,"24":49,"16":128974234356547584,"45":8922123468220416000},"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-09-06 15:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904393728001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:34:38] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-06 15:34:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128974234356547584,"km_value":128974234356547.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922123468220416000,"description":"Unknown IO ID 45"} 
[2026-09-06 15:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904393728001,"power":13656,"unknown_169":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8922123468220416000}} 
[2026-09-06 15:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":172831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:34:38] local.INFO: GPS data processed {"connection_id":172831,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:34:38] local.INFO: Acknowledgment sent {"connection_id":172831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:34:47] local.INFO: TCP Data received {"connection_id":172609,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:34:47] local.INFO: Processing buffer {"connection_id":172609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:34:47] local.INFO: IMEI packet received {"connection_id":172609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":172609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:34:53] local.INFO: TCP Data received {"connection_id":172609,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:34:53] local.INFO: Processing buffer {"connection_id":172609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:34:53] local.INFO: IMEI packet received {"connection_id":172609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":172609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:34:53] local.INFO: TCP Data received {"connection_id":172609,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:34:53] local.INFO: Processing buffer {"connection_id":172609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:34:53] local.INFO: Packet analysis {"connection_id":172609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:34:53] local.INFO: Extracted packet for processing {"connection_id":172609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904262144001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788688826000,"timestamp_ms":1788688826000,"timestamp_seconds":1788688826,"priority":1,"record_length":96,"hex_timestamp":"000001a076297e90"} 
[2026-09-06 15:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:34: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-09-06 15: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-09-06 15:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15: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-09-06 15:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904262144001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904262144001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904262144001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":172609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:34:53] local.INFO: GPS data processed {"connection_id":172609,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:34:53] local.INFO: Acknowledgment sent {"connection_id":172609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:35:09] local.INFO: TCP Data received {"connection_id":172831,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0762cf548012d7bc48005ddbd500000015d15..."} 
[2026-09-06 15:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762cf548012d7bc48005ddbd500000015d15..."} 
[2026-09-06 15:35:09] local.INFO: Processing buffer {"connection_id":172831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762cf548012d7bc48005ddbd500000015d15..."} 
[2026-09-06 15:35:09] local.INFO: Packet analysis {"connection_id":172831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762c"} 
[2026-09-06 15:35:09] local.INFO: Extracted packet for processing {"connection_id":172831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762c"} 
[2026-09-06 15:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763085952,"raw_latitude":98418000,"longitude_deg":76.3085952,"latitude_deg":9.8418,"altitude":0,"angle":349,"satellites":21,"speed":49,"hex_longitude":"2d7bc480","hex_latitude":"05ddbd50","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904395520001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128974719687852032,"note":"Value kept but may cause issues"} 
[2026-09-06 15:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920364249618249728,"note":"Value kept but may cause issues"} 
[2026-09-06 15:35:09] 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-09-06 15:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788689053000,"timestamp_ms":1788689053000,"timestamp_seconds":1788689053,"priority":1,"record_length":96,"hex_timestamp":"000001a0762cf548"} 
[2026-09-06 15:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:35:09] 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-09-06 15: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 15:35:09] 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-09-06 15: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-09-06 15:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:35:09] 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-09-06 15:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904395520001,"66":13765,"169":206,"85":15104,"24":49,"16":128974719687852032,"45":8920364249618249728},"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-09-06 15:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904395520001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:35:09] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-06 15:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128974719687852032,"km_value":128974719687852.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920364249618249728,"description":"Unknown IO ID 45"} 
[2026-09-06 15:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904395520001,"power":13765,"unknown_169":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8920364249618249728}} 
[2026-09-06 15:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":172831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:35:09] local.INFO: GPS data processed {"connection_id":172831,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:35:09] local.INFO: Acknowledgment sent {"connection_id":172831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:35:26] local.INFO: TCP Data received {"connection_id":172609,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:35:26] local.INFO: Processing buffer {"connection_id":172609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076297e90012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:35:26] local.INFO: Packet analysis {"connection_id":172609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:35:26] local.INFO: Extracted packet for processing {"connection_id":172609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07629"} 
[2026-09-06 15:35:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904262144001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:35: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-09-06 15:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788688826000,"timestamp_ms":1788688826000,"timestamp_seconds":1788688826,"priority":1,"record_length":96,"hex_timestamp":"000001a076297e90"} 
[2026-09-06 15:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:35: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:35: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-09-06 15: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-09-06 15:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:35: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-09-06 15:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904262144001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904262144001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:35:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:35:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904262144001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":172609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:35:26] local.INFO: GPS data processed {"connection_id":172609,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:35:26] local.INFO: Acknowledgment sent {"connection_id":172609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:35:40] local.INFO: TCP Data received {"connection_id":172831,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0762d1488012d7bbd4005dde1680000015f16..."} 
[2026-09-06 15:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762d1488012d7bbd4005dde1680000015f16..."} 
[2026-09-06 15:35:40] local.INFO: Processing buffer {"connection_id":172831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762d1488012d7bbd4005dde1680000015f16..."} 
[2026-09-06 15:35:40] local.INFO: Packet analysis {"connection_id":172831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762d"} 
[2026-09-06 15:35:40] local.INFO: Extracted packet for processing {"connection_id":172831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762d"} 
[2026-09-06 15:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763084096,"raw_latitude":98427240,"longitude_deg":76.3084096,"latitude_deg":9.842724,"altitude":0,"angle":351,"satellites":22,"speed":47,"hex_longitude":"2d7bbd40","hex_latitude":"05dde168","is_valid_coordinates":true} 
[2026-09-06 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-09-06 15:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904397568001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128975174954385408,"note":"Value kept but may cause issues"} 
[2026-09-06 15:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918393924783788032,"note":"Value kept but may cause issues"} 
[2026-09-06 15:35:40] 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-09-06 15:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788689061000,"timestamp_ms":1788689061000,"timestamp_seconds":1788689061,"priority":1,"record_length":96,"hex_timestamp":"000001a0762d1488"} 
[2026-09-06 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-09-06 15:35: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-09-06 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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-06 15:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 15:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:35:40] 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-09-06 15:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904397568001,"66":13820,"169":206,"85":15104,"24":47,"16":128975174954385408,"45":8918393924783788032},"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-09-06 15:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904397568001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:35:40] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-06 15:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128975174954385408,"km_value":128975174954385.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918393924783788032,"description":"Unknown IO ID 45"} 
[2026-09-06 15:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904397568001,"power":13820,"unknown_169":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8918393924783788032}} 
[2026-09-06 15:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":172831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:35:40] local.INFO: GPS data processed {"connection_id":172831,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:35:40] local.INFO: Acknowledgment sent {"connection_id":172831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:35:47] local.INFO: TCP Data received {"connection_id":174001,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:35:47] local.INFO: Processing buffer {"connection_id":174001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:35:47] local.INFO: IMEI packet received {"connection_id":174001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":174001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:35:53] local.INFO: TCP Data received {"connection_id":174001,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:35:53] local.INFO: Processing buffer {"connection_id":174001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:35:53] local.INFO: IMEI packet received {"connection_id":174001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":174001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:35:54] local.INFO: TCP Data received {"connection_id":174001,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:35:54] local.INFO: Processing buffer {"connection_id":174001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:35:54] local.INFO: Packet analysis {"connection_id":174001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:35:54] local.INFO: Extracted packet for processing {"connection_id":174001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:35:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904339456001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:35: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-09-06 15:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788689129000,"timestamp_ms":1788689129000,"timestamp_seconds":1788689129,"priority":1,"record_length":96,"hex_timestamp":"000001a0762e1e28"} 
[2026-09-06 15:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:35: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-09-06 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:35:54] 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-09-06 15:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904339456001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904339456001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:35:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:35:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904339456001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":174001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:35:54] local.INFO: GPS data processed {"connection_id":174001,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:35:54] local.INFO: Acknowledgment sent {"connection_id":174001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:36:12] local.INFO: TCP Data received {"connection_id":172831,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0762e7800012d7b8ac005df72a80000016014..."} 
[2026-09-06 15:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762e7800012d7b8ac005df72a80000016014..."} 
[2026-09-06 15:36:12] local.INFO: Processing buffer {"connection_id":172831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762e7800012d7b8ac005df72a80000016014..."} 
[2026-09-06 15:36:12] local.INFO: Packet analysis {"connection_id":172831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:36:12] local.INFO: Extracted packet for processing {"connection_id":172831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":98529960,"longitude_deg":76.3071168,"latitude_deg":9.852996,"altitude":0,"angle":352,"satellites":20,"speed":47,"hex_longitude":"2d7b8ac0","hex_latitude":"05df72a8","is_valid_coordinates":true} 
[2026-09-06 15:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904420864001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903475751044421632,"note":"Value kept but may cause issues"} 
[2026-09-06 15:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128980204361089024,"note":"Value kept but may cause issues"} 
[2026-09-06 15:36: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-09-06 15:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788689152000,"timestamp_ms":1788689152000,"timestamp_seconds":1788689152,"priority":1,"record_length":96,"hex_timestamp":"000001a0762e7800"} 
[2026-09-06 15:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:36: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-09-06 15:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 15:36:12] 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-09-06 15:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":172831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:36: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-09-06 15:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904420864001,"66":13537,"45":8903475751044421632,"85":15104,"24":47,"16":128980204361089024},"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-09-06 15:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904420864001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903475751044421632,"description":"Unknown IO ID 45"} 
[2026-09-06 15:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128980204361089024,"km_value":128980204361089.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:36:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457904420864001,"power":13537,"unknown_45":8903475751044421632,"unknown_85":15104,"ignition":47,"odometer":null}} 
[2026-09-06 15:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":172831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:36:12] local.INFO: GPS data processed {"connection_id":172831,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:36:12] local.INFO: Acknowledgment sent {"connection_id":172831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:36:25] local.INFO: TCP Data received {"connection_id":174001,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:36:25] local.INFO: Processing buffer {"connection_id":174001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:36:25] local.INFO: Packet analysis {"connection_id":174001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:36:25] local.INFO: Extracted packet for processing {"connection_id":174001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:36:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904339456001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:36: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-09-06 15:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788689129000,"timestamp_ms":1788689129000,"timestamp_seconds":1788689129,"priority":1,"record_length":96,"hex_timestamp":"000001a0762e1e28"} 
[2026-09-06 15:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:36: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-09-06 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:36: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-09-06 15:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904339456001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904339456001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:36:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:36:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904339456001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":174001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:36:25] local.INFO: GPS data processed {"connection_id":174001,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:36:25] local.INFO: Acknowledgment sent {"connection_id":174001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:36:43] local.INFO: TCP Data received {"connection_id":172831,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0762e9740012d7b858005df97200000015f15..."} 
[2026-09-06 15:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762e9740012d7b858005df97200000015f15..."} 
[2026-09-06 15:36:43] local.INFO: Processing buffer {"connection_id":172831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762e9740012d7b858005df97200000015f15..."} 
[2026-09-06 15:36:43] local.INFO: Packet analysis {"connection_id":172831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:36:43] local.INFO: Extracted packet for processing {"connection_id":172831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:36:43] local.INFO: GPS Element Parsed {"raw_longitude":763069824,"raw_latitude":98539296,"longitude_deg":76.3069824,"latitude_deg":9.8539296,"altitude":0,"angle":351,"satellites":21,"speed":44,"hex_longitude":"2d7b8580","hex_latitude":"05df9720","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904422912001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138744907409408,"note":"Value kept but may cause issues"} 
[2026-09-06 15:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128980659627622400,"note":"Value kept but may cause issues"} 
[2026-09-06 15:36: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-09-06 15:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788689160000,"timestamp_ms":1788689160000,"timestamp_seconds":1788689160,"priority":1,"record_length":96,"hex_timestamp":"000001a0762e9740"} 
[2026-09-06 15:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 15: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":225,"data_length":795,"current_offset":136} 
[2026-09-06 15:36:43] 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-09-06 15: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-09-06 15:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":172831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:36: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-09-06 15:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904422912001,"66":13537,"45":8902138744907409408,"85":15104,"24":44,"16":128980659627622400},"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-09-06 15:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904422912001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138744907409408,"description":"Unknown IO ID 45"} 
[2026-09-06 15:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128980659627622400,"km_value":128980659627622.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:36:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457904422912001,"power":13537,"unknown_45":8902138744907409408,"unknown_85":15104,"ignition":44,"odometer":null}} 
[2026-09-06 15:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":172831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:36:43] local.INFO: GPS data processed {"connection_id":172831,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:36:43] local.INFO: Acknowledgment sent {"connection_id":172831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:36:53] local.INFO: TCP Data received {"connection_id":175321,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:36:53] local.INFO: Processing buffer {"connection_id":175321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:36:53] local.INFO: IMEI packet received {"connection_id":175321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":175321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:36:58] local.INFO: TCP Data received {"connection_id":175321,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:36:58] local.INFO: Processing buffer {"connection_id":175321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:36:58] local.INFO: IMEI packet received {"connection_id":175321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":175321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:36:59] local.INFO: TCP Data received {"connection_id":175321,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:36:59] local.INFO: Processing buffer {"connection_id":175321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:36:59] local.INFO: Packet analysis {"connection_id":175321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:36:59] local.INFO: Extracted packet for processing {"connection_id":175321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904339456001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:36: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-09-06 15:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788689129000,"timestamp_ms":1788689129000,"timestamp_seconds":1788689129,"priority":1,"record_length":96,"hex_timestamp":"000001a0762e1e28"} 
[2026-09-06 15:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:36: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-09-06 15:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:36:59] 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-09-06 15:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904339456001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904339456001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:36:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:36:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904339456001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":175321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:36:59] local.INFO: GPS data processed {"connection_id":175321,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:36:59] local.INFO: Acknowledgment sent {"connection_id":175321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:37:03] local.INFO: TCP Data received {"connection_id":175321,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:37:03] local.INFO: Processing buffer {"connection_id":175321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:37:03] local.INFO: Packet analysis {"connection_id":175321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:37:03] local.INFO: Extracted packet for processing {"connection_id":175321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904339456001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:37: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-09-06 15:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788689129000,"timestamp_ms":1788689129000,"timestamp_seconds":1788689129,"priority":1,"record_length":96,"hex_timestamp":"000001a0762e1e28"} 
[2026-09-06 15:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:37: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-09-06 15:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904339456001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904339456001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:37:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904339456001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":175321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:37:03] local.INFO: GPS data processed {"connection_id":175321,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:37:03] local.INFO: Acknowledgment sent {"connection_id":175321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:37:21] local.INFO: TCP Data received {"connection_id":172831,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0762eb680012d7b808005dfb9a00000016016..."} 
[2026-09-06 15:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762eb680012d7b808005dfb9a00000016016..."} 
[2026-09-06 15:37:21] local.INFO: Processing buffer {"connection_id":172831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762eb680012d7b808005dfb9a00000016016..."} 
[2026-09-06 15:37:21] local.INFO: Packet analysis {"connection_id":172831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:37:21] local.INFO: Extracted packet for processing {"connection_id":172831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":763068544,"raw_latitude":98548128,"longitude_deg":76.3068544,"latitude_deg":9.8548128,"altitude":0,"angle":352,"satellites":22,"speed":43,"hex_longitude":"2d7b8080","hex_latitude":"05dfb9a0","is_valid_coordinates":true} 
[2026-09-06 15:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904424960001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001282068480,"note":"Value kept but may cause issues"} 
[2026-09-06 15:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128981093419319296,"note":"Value kept but may cause issues"} 
[2026-09-06 15:37:21] 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-09-06 15:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788689168000,"timestamp_ms":1788689168000,"timestamp_seconds":1788689168,"priority":1,"record_length":96,"hex_timestamp":"000001a0762eb680"} 
[2026-09-06 15:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:37:21] 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-09-06 15:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-06 15:37:21] 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-09-06 15:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:37:21] 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-09-06 15:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904424960001,"66":13798,"45":8900661001282068480,"85":15104,"24":43,"16":128981093419319296},"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-09-06 15:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904424960001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001282068480,"description":"Unknown IO ID 45"} 
[2026-09-06 15:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128981093419319296,"km_value":128981093419319.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:37:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457904424960001,"power":13798,"unknown_45":8900661001282068480,"unknown_85":15104,"ignition":43,"odometer":null}} 
[2026-09-06 15:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":172831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:37:22] local.INFO: GPS data processed {"connection_id":172831,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:37:22] local.INFO: Acknowledgment sent {"connection_id":172831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:37:48] local.INFO: TCP Data received {"connection_id":172610,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:37:48] local.INFO: Processing buffer {"connection_id":172610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:37:48] local.INFO: IMEI packet received {"connection_id":172610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":172610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:37:53] local.INFO: TCP Data received {"connection_id":172610,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:37:53] local.INFO: Processing buffer {"connection_id":172610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:37:53] local.INFO: IMEI packet received {"connection_id":172610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":172610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:37:53] local.INFO: TCP Data received {"connection_id":172831,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0762ed9a8012d7b7c0005dfdf680000015e16..."} 
[2026-09-06 15:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762ed9a8012d7b7c0005dfdf680000015e16..."} 
[2026-09-06 15:37:53] local.INFO: Processing buffer {"connection_id":172831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762ed9a8012d7b7c0005dfdf680000015e16..."} 
[2026-09-06 15:37:53] local.INFO: Packet analysis {"connection_id":172831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:37:53] local.INFO: Extracted packet for processing {"connection_id":172831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:37:53] local.INFO: GPS Element Parsed {"raw_longitude":763067392,"raw_latitude":98557800,"longitude_deg":76.3067392,"latitude_deg":9.85578,"altitude":0,"angle":350,"satellites":22,"speed":45,"hex_longitude":"2d7b7c00","hex_latitude":"05dfdf68","is_valid_coordinates":true} 
[2026-09-06 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-09-06 15:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904427008001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128981565865721856,"note":"Value kept but may cause issues"} 
[2026-09-06 15:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899253626400776192,"note":"Value kept but may cause issues"} 
[2026-09-06 15:37:53] 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-09-06 15:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788689177000,"timestamp_ms":1788689177000,"timestamp_seconds":1788689177,"priority":1,"record_length":96,"hex_timestamp":"000001a0762ed9a8"} 
[2026-09-06 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-09-06 15:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 15:37:53] 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-09-06 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-09-06 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-09-06 15:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:37:53] 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-09-06 15:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904427008001,"66":13678,"44":206,"85":15104,"24":45,"16":128981565865721856,"45":8899253626400776192},"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-09-06 15:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904427008001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:37:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-06 15:37:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128981565865721856,"km_value":128981565865721.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899253626400776192,"description":"Unknown IO ID 45"} 
[2026-09-06 15:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904427008001,"power":13678,"unknown_44":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8899253626400776192}} 
[2026-09-06 15:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":172831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:37:53] local.INFO: GPS data processed {"connection_id":172831,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:37:53] local.INFO: Acknowledgment sent {"connection_id":172831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:37:54] local.INFO: TCP Data received {"connection_id":172610,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:37:54] local.INFO: Processing buffer {"connection_id":172610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:37:54] local.INFO: Packet analysis {"connection_id":172610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:37:54] local.INFO: Extracted packet for processing {"connection_id":172610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:37:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904339456001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:37: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-09-06 15:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788689129000,"timestamp_ms":1788689129000,"timestamp_seconds":1788689129,"priority":1,"record_length":96,"hex_timestamp":"000001a0762e1e28"} 
[2026-09-06 15:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:37: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-09-06 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:37:54] 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-09-06 15:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904339456001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904339456001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:37:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:37:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904339456001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":172610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:37:54] local.INFO: GPS data processed {"connection_id":172610,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:37:54] local.INFO: Acknowledgment sent {"connection_id":172610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:37:58] local.INFO: TCP Data received {"connection_id":174002,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:37:58] local.INFO: Processing buffer {"connection_id":174002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:37:58] local.INFO: IMEI packet received {"connection_id":174002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 15:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":174002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:38:24] local.INFO: TCP Data received {"connection_id":172831,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0763050a8012d7b3b0005e191e00000016119..."} 
[2026-09-06 15:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0763050a8012d7b3b0005e191e00000016119..."} 
[2026-09-06 15:38:24] local.INFO: Processing buffer {"connection_id":172831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0763050a8012d7b3b0005e191e00000016119..."} 
[2026-09-06 15:38:24] local.INFO: Packet analysis {"connection_id":172831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07630"} 
[2026-09-06 15:38:24] local.INFO: Extracted packet for processing {"connection_id":172831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07630"} 
[2026-09-06 15:38:24] local.INFO: GPS Element Parsed {"raw_longitude":763050752,"raw_latitude":98669024,"longitude_deg":76.3050752,"latitude_deg":9.8669024,"altitude":0,"angle":353,"satellites":25,"speed":38,"hex_longitude":"2d7b3b00","hex_latitude":"05e191e0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 15:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904451584001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880957752943249408,"note":"Value kept but may cause issues"} 
[2026-09-06 15:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128987020474187776,"note":"Value kept but may cause issues"} 
[2026-09-06 15:38:24] 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-09-06 15:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788689273000,"timestamp_ms":1788689273000,"timestamp_seconds":1788689273,"priority":1,"record_length":96,"hex_timestamp":"000001a0763050a8"} 
[2026-09-06 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-09-06 15:38:24] 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-09-06 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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-06 15:38:24] local.WARNING: Large IO value detected {"io_id":24,"raw_value":12666382557708288,"note":"Value kept but may cause issues"} 
[2026-09-06 15:38:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627225828864,"note":"Value kept but may cause issues"} 
[2026-09-06 15:38:24] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3712483328,"note":"Value kept but may cause issues"} 
[2026-09-06 15:38:24] local.WARNING: Large IO value detected {"io_id":113,"raw_value":-1729382251002986449,"note":"Value kept but may cause issues"} 
[2026-09-06 15:38:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2338717902,"corrected_to":0} 
[2026-09-06 15:38:24] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3674262923,"note":"Value kept but may cause issues"} 
[2026-09-06 15:38:24] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1049034752,"corrected_to":0} 
[2026-09-06 15:38:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3767937024,"note":"Value kept but may cause issues"} 
[2026-09-06 15:38:24] local.WARNING: Large IO value detected {"io_id":86,"raw_value":-6340736792316082720,"note":"Value kept but may cause issues"} 
[2026-09-06 15:38:24] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,217,85,24,241,157,16,64,160,10,45,128,73,23,66,239,192,38,22,63,211,1,240,197,227,118,224,4,113,205,48,149,94,144,53,102,2,202,5,86],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2338717902,"validated":0},{"io_id":202,"original":1049034752,"validated":0}]} 
[2026-09-06 15:38:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":386031663316992,"timestamp_seconds":386031663316.992,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 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-09-06 15:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:38:24] 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-09-06 15:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904451584001,"66":13820,"45":8880957752943249408,"85":15104,"24":38,"16":128987020474187776},"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-09-06 15:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904451584001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880957752943249408,"description":"Unknown IO ID 45"} 
[2026-09-06 15:38:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128987020474187776,"km_value":128987020474187.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:38:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457904451584001,"power":13820,"unknown_45":8880957752943249408,"unknown_85":15104,"ignition":38,"odometer":null}} 
[2026-09-06 15:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":172831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:38:24] local.INFO: GPS data processed {"connection_id":172831,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:38:24] local.INFO: Acknowledgment sent {"connection_id":172831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:38:25] local.INFO: TCP Data received {"connection_id":172610,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:38:25] local.INFO: Processing buffer {"connection_id":172610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:38:25] local.INFO: Packet analysis {"connection_id":172610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:38:25] local.INFO: Extracted packet for processing {"connection_id":172610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:38:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904339456001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788689129000,"timestamp_ms":1788689129000,"timestamp_seconds":1788689129,"priority":1,"record_length":96,"hex_timestamp":"000001a0762e1e28"} 
[2026-09-06 15:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:38:25] 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-09-06 15:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904339456001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904339456001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:38:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:38:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904339456001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":172610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:38:25] local.INFO: GPS data processed {"connection_id":172610,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:38:25] local.INFO: Acknowledgment sent {"connection_id":172610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:38:40] local.INFO: TCP Data received {"connection_id":174003,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:38:40] local.INFO: Processing buffer {"connection_id":174003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:38:40] local.INFO: IMEI packet received {"connection_id":174003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":174003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:38:45] local.INFO: TCP Data received {"connection_id":174003,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:38:45] local.INFO: Processing buffer {"connection_id":174003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:38:45] local.INFO: IMEI packet received {"connection_id":174003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":174003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:38:46] local.INFO: TCP Data received {"connection_id":174003,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a076307f88012d7b384005e1b5e00000016618..."} 
[2026-09-06 15:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076307f88012d7b384005e1b5e00000016618..."} 
[2026-09-06 15:38:46] local.INFO: Processing buffer {"connection_id":174003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076307f88012d7b384005e1b5e00000016618..."} 
[2026-09-06 15:38:46] local.INFO: Packet analysis {"connection_id":174003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07630"} 
[2026-09-06 15:38:46] local.INFO: Extracted packet for processing {"connection_id":174003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07630"} 
[2026-09-06 15:38:46] local.INFO: GPS Element Parsed {"raw_longitude":763050048,"raw_latitude":98678240,"longitude_deg":76.3050048,"latitude_deg":9.867824,"altitude":0,"angle":358,"satellites":24,"speed":36,"hex_longitude":"2d7b3840","hex_latitude":"05e1b5e0","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904453888001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879691115550334976,"note":"Value kept but may cause issues"} 
[2026-09-06 15:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128987467150786560,"note":"Value kept but may cause issues"} 
[2026-09-06 15:38:46] 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-09-06 15:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788689285000,"timestamp_ms":1788689285000,"timestamp_seconds":1788689285,"priority":1,"record_length":96,"hex_timestamp":"000001a076307f88"} 
[2026-09-06 15:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:38: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-09-06 15: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 15:38:46] 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-09-06 15: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-09-06 15:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:38:46] 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-09-06 15:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904453888001,"66":13906,"45":8879691115550334976,"85":15104,"24":36,"16":128987467150786560},"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-09-06 15:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904453888001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879691115550334976,"description":"Unknown IO ID 45"} 
[2026-09-06 15:38:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128987467150786560,"km_value":128987467150786.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:38:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457904453888001,"power":13906,"unknown_45":8879691115550334976,"unknown_85":15104,"ignition":36,"odometer":null}} 
[2026-09-06 15:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":174003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:38:46] local.INFO: GPS data processed {"connection_id":174003,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:38:46] local.INFO: Acknowledgment sent {"connection_id":174003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:38:47] local.INFO: TCP Data received {"connection_id":172611,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:38:47] local.INFO: Processing buffer {"connection_id":172611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:38:47] local.INFO: IMEI packet received {"connection_id":172611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":172611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:38:52] local.INFO: TCP Data received {"connection_id":172611,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:38:52] local.INFO: Processing buffer {"connection_id":172611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:38:52] local.INFO: IMEI packet received {"connection_id":172611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":172611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:38:54] local.INFO: TCP Data received {"connection_id":172611,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:38:54] local.INFO: Processing buffer {"connection_id":172611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:38:54] local.INFO: Packet analysis {"connection_id":172611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:38:54] local.INFO: Extracted packet for processing {"connection_id":172611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:38:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904339456001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788689129000,"timestamp_ms":1788689129000,"timestamp_seconds":1788689129,"priority":1,"record_length":96,"hex_timestamp":"000001a0762e1e28"} 
[2026-09-06 15:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:38: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-09-06 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:38: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-09-06 15:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904339456001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904339456001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:38:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:38:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904339456001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":172611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:38:54] local.INFO: GPS data processed {"connection_id":172611,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:38:54] local.INFO: Acknowledgment sent {"connection_id":172611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:39:17] local.INFO: TCP Data received {"connection_id":174003,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07630a2b0012d7b350005e1da100000016213..."} 
[2026-09-06 15:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07630a2b0012d7b350005e1da100000016213..."} 
[2026-09-06 15:39:17] local.INFO: Processing buffer {"connection_id":174003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07630a2b0012d7b350005e1da100000016213..."} 
[2026-09-06 15:39:17] local.INFO: Packet analysis {"connection_id":174003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07630"} 
[2026-09-06 15:39:17] local.INFO: Extracted packet for processing {"connection_id":174003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07630"} 
[2026-09-06 15:39:17] local.INFO: GPS Element Parsed {"raw_longitude":763049216,"raw_latitude":98687504,"longitude_deg":76.3049216,"latitude_deg":9.8687504,"altitude":0,"angle":354,"satellites":19,"speed":42,"hex_longitude":"2d7b3500","hex_latitude":"05e1da10","is_valid_coordinates":true} 
[2026-09-06 15:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904456960001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878917059366739968,"note":"Value kept but may cause issues"} 
[2026-09-06 15:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128987918122352640,"note":"Value kept but may cause issues"} 
[2026-09-06 15:39: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-09-06 15:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788689294000,"timestamp_ms":1788689294000,"timestamp_seconds":1788689294,"priority":1,"record_length":96,"hex_timestamp":"000001a07630a2b0"} 
[2026-09-06 15:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:39:17] 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-09-06 15:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-06 15:39:17] 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-09-06 15:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:39: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-09-06 15:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904456960001,"66":13820,"45":8878917059366739968,"85":15104,"24":42,"16":128987918122352640},"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-09-06 15:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904456960001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878917059366739968,"description":"Unknown IO ID 45"} 
[2026-09-06 15:39:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128987918122352640,"km_value":128987918122352.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:39:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457904456960001,"power":13820,"unknown_45":8878917059366739968,"unknown_85":15104,"ignition":42,"odometer":null}} 
[2026-09-06 15:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":174003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:39:17] local.INFO: GPS data processed {"connection_id":174003,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:39:17] local.INFO: Acknowledgment sent {"connection_id":174003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:39:25] local.INFO: TCP Data received {"connection_id":172611,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:39:25] local.INFO: Processing buffer {"connection_id":172611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:39:25] local.INFO: Packet analysis {"connection_id":172611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:39:25] local.INFO: Extracted packet for processing {"connection_id":172611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:39:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904339456001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:39: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-09-06 15:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788689129000,"timestamp_ms":1788689129000,"timestamp_seconds":1788689129,"priority":1,"record_length":96,"hex_timestamp":"000001a0762e1e28"} 
[2026-09-06 15:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:39: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-09-06 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:39: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-09-06 15:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904339456001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904339456001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:39:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:39:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904339456001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":172611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:39:25] local.INFO: GPS data processed {"connection_id":172611,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:39:25] local.INFO: Acknowledgment sent {"connection_id":172611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:39:47] local.INFO: TCP Data received {"connection_id":172834,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:39:47] local.INFO: Processing buffer {"connection_id":172834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:39:47] local.INFO: IMEI packet received {"connection_id":172834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":172834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:39:49] local.INFO: TCP Data received {"connection_id":174003,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07630cda8012d7b314005e1fc800000015f13..."} 
[2026-09-06 15:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07630cda8012d7b314005e1fc800000015f13..."} 
[2026-09-06 15:39:49] local.INFO: Processing buffer {"connection_id":174003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07630cda8012d7b314005e1fc800000015f13..."} 
[2026-09-06 15:39:49] local.INFO: Packet analysis {"connection_id":174003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07630"} 
[2026-09-06 15:39:49] local.INFO: Extracted packet for processing {"connection_id":174003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07630"} 
[2026-09-06 15:39:49] local.INFO: GPS Element Parsed {"raw_longitude":763048256,"raw_latitude":98696320,"longitude_deg":76.3048256,"latitude_deg":9.869632,"altitude":0,"angle":351,"satellites":19,"speed":22,"hex_longitude":"2d7b3140","hex_latitude":"05e1fc80","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904459264001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878002265694801920,"note":"Value kept but may cause issues"} 
[2026-09-06 15:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128988347619082240,"note":"Value kept but may cause issues"} 
[2026-09-06 15:39:49] 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-09-06 15:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788689305000,"timestamp_ms":1788689305000,"timestamp_seconds":1788689305,"priority":1,"record_length":96,"hex_timestamp":"000001a07630cda8"} 
[2026-09-06 15:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15: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-09-06 15: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-09-06 15:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:39:49] 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-09-06 15:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904459264001,"66":13515,"45":8878002265694801920,"85":15104,"24":22,"16":128988347619082240},"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-09-06 15:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904459264001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878002265694801920,"description":"Unknown IO ID 45"} 
[2026-09-06 15:39:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128988347619082240,"km_value":128988347619082.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:39:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457904459264001,"power":13515,"unknown_45":8878002265694801920,"unknown_85":15104,"ignition":22,"odometer":null}} 
[2026-09-06 15:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":174003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:39:49] local.INFO: GPS data processed {"connection_id":174003,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:39:49] local.INFO: Acknowledgment sent {"connection_id":174003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:39:53] local.INFO: TCP Data received {"connection_id":172834,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:39:53] local.INFO: Processing buffer {"connection_id":172834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:39:53] local.INFO: IMEI packet received {"connection_id":172834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":172834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:39:54] local.INFO: TCP Data received {"connection_id":172834,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:39:54] local.INFO: Processing buffer {"connection_id":172834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:39:54] local.INFO: Packet analysis {"connection_id":172834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:39:54] local.INFO: Extracted packet for processing {"connection_id":172834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:39:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904339456001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:39: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-09-06 15:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788689129000,"timestamp_ms":1788689129000,"timestamp_seconds":1788689129,"priority":1,"record_length":96,"hex_timestamp":"000001a0762e1e28"} 
[2026-09-06 15:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:39: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-09-06 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:39:54] 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-09-06 15:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904339456001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904339456001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:39:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:39:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904339456001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":172834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:39:54] local.INFO: GPS data processed {"connection_id":172834,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:39:54] local.INFO: Acknowledgment sent {"connection_id":172834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:40:20] local.INFO: TCP Data received {"connection_id":174003,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0763113f8012d7b2d4005e21ad8000000051c..."} 
[2026-09-06 15:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0763113f8012d7b2d4005e21ad8000000051c..."} 
[2026-09-06 15:40:20] local.INFO: Processing buffer {"connection_id":174003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0763113f8012d7b2d4005e21ad8000000051c..."} 
[2026-09-06 15:40:20] local.INFO: Packet analysis {"connection_id":174003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07631"} 
[2026-09-06 15:40:20] local.INFO: Extracted packet for processing {"connection_id":174003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07631"} 
[2026-09-06 15:40:20] local.INFO: GPS Element Parsed {"raw_longitude":763047232,"raw_latitude":98704088,"longitude_deg":76.3047232,"latitude_deg":9.8704088,"altitude":0,"angle":5,"satellites":28,"speed":13,"hex_longitude":"2d7b2d40","hex_latitude":"05e21ad8","is_valid_coordinates":true} 
[2026-09-06 15:40: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-09-06 15:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904462080001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876946734534393856,"note":"Value kept but may cause issues"} 
[2026-09-06 15:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128988734166138880,"note":"Value kept but may cause issues"} 
[2026-09-06 15:40:20] 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-09-06 15:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788689323000,"timestamp_ms":1788689323000,"timestamp_seconds":1788689323,"priority":1,"record_length":96,"hex_timestamp":"000001a0763113f8"} 
[2026-09-06 15:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:40:20] 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-09-06 15:40: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-06 15:40:20] 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-09-06 15:40: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-09-06 15:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:40:20] 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-09-06 15:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904462080001,"66":13678,"45":8876946734534393856,"85":15104,"24":13,"16":128988734166138880},"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-09-06 15:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904462080001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876946734534393856,"description":"Unknown IO ID 45"} 
[2026-09-06 15:40:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128988734166138880,"km_value":128988734166138.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:40:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457904462080001,"power":13678,"unknown_45":8876946734534393856,"unknown_85":15104,"ignition":13,"odometer":null}} 
[2026-09-06 15:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":174003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:40:20] local.INFO: GPS data processed {"connection_id":174003,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:40:20] local.INFO: Acknowledgment sent {"connection_id":174003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:40:25] local.INFO: TCP Data received {"connection_id":172834,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:40:25] local.INFO: Processing buffer {"connection_id":172834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0762e1e28012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:40:25] local.INFO: Packet analysis {"connection_id":172834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:40:25] local.INFO: Extracted packet for processing {"connection_id":172834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0762e"} 
[2026-09-06 15:40:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904339456001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:40: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-09-06 15:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788689129000,"timestamp_ms":1788689129000,"timestamp_seconds":1788689129,"priority":1,"record_length":96,"hex_timestamp":"000001a0762e1e28"} 
[2026-09-06 15:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:40: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-09-06 15:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904339456001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904339456001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:40:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:40:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904339456001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":172834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:40:25] local.INFO: GPS data processed {"connection_id":172834,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:40:25] local.INFO: Acknowledgment sent {"connection_id":172834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:40:40] local.INFO: TCP Data received {"connection_id":174004,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:40:40] local.INFO: Processing buffer {"connection_id":174004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:40:40] local.INFO: IMEI packet received {"connection_id":174004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":174004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:40:42] local.INFO: TCP Data received {"connection_id":174004,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:40:42] local.INFO: Processing buffer {"connection_id":174004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:40:42] local.INFO: IMEI packet received {"connection_id":174004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":174004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:40:45] local.INFO: TCP Data received {"connection_id":174004,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:40:45] local.INFO: Processing buffer {"connection_id":174004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:40:45] local.INFO: IMEI packet received {"connection_id":174004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":174004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:40:47] local.INFO: TCP Data received {"connection_id":174004,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a076325448012d7b04c005e34d480000015716..."} 
[2026-09-06 15:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076325448012d7b04c005e34d480000015716..."} 
[2026-09-06 15:40:47] local.INFO: Processing buffer {"connection_id":174004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076325448012d7b04c005e34d480000015716..."} 
[2026-09-06 15:40:47] local.INFO: Packet analysis {"connection_id":174004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:40:47] local.INFO: Extracted packet for processing {"connection_id":174004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:40:47] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":98782536,"longitude_deg":76.3036864,"latitude_deg":9.8782536,"altitude":0,"angle":343,"satellites":22,"speed":26,"hex_longitude":"2d7b04c0","hex_latitude":"05e34d48","is_valid_coordinates":true} 
[2026-09-06 15:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904486400001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128992578161868800,"note":"Value kept but may cause issues"} 
[2026-09-06 15:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864702573068441600,"note":"Value kept but may cause issues"} 
[2026-09-06 15:40:47] 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-09-06 15:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788689405000,"timestamp_ms":1788689405000,"timestamp_seconds":1788689405,"priority":1,"record_length":96,"hex_timestamp":"000001a076325448"} 
[2026-09-06 15:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:40:47] 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-09-06 15:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 15:40:47] 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-09-06 15:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:40:47] 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-09-06 15:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904486400001,"66":13798,"208":206,"85":15104,"24":26,"16":128992578161868800,"45":8864702573068441600},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-06 15:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904486400001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:40:47] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-06 15:40:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128992578161868800,"km_value":128992578161868.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864702573068441600,"description":"Unknown IO ID 45"} 
[2026-09-06 15:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904486400001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8864702573068441600}} 
[2026-09-06 15:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":174004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:40:47] local.INFO: GPS data processed {"connection_id":174004,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:40:47] local.INFO: Acknowledgment sent {"connection_id":174004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:40:53] local.INFO: TCP Data received {"connection_id":175325,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:40:53] local.INFO: Processing buffer {"connection_id":175325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:40:53] local.INFO: IMEI packet received {"connection_id":175325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":175325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:40:58] local.INFO: TCP Data received {"connection_id":175325,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:40:58] local.INFO: Processing buffer {"connection_id":175325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:40:58] local.INFO: IMEI packet received {"connection_id":175325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":175325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:40:59] local.INFO: TCP Data received {"connection_id":175325,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:40:59] local.INFO: Processing buffer {"connection_id":175325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:40:59] local.INFO: Packet analysis {"connection_id":175325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:40:59] local.INFO: Extracted packet for processing {"connection_id":175325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904417024001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:40: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-09-06 15:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788689433000,"timestamp_ms":1788689433000,"timestamp_seconds":1788689433,"priority":1,"record_length":96,"hex_timestamp":"000001a07632c1a8"} 
[2026-09-06 15:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:40: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:40:59] 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-09-06 15: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-09-06 15:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904417024001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 15:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904417024001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:40:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:40:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904417024001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":175325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:40:59] local.INFO: GPS data processed {"connection_id":175325,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:40:59] local.INFO: Acknowledgment sent {"connection_id":175325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:41:03] local.INFO: TCP Data received {"connection_id":175325,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:41:03] local.INFO: Processing buffer {"connection_id":175325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:41:03] local.INFO: Packet analysis {"connection_id":175325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:41:03] local.INFO: Extracted packet for processing {"connection_id":175325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:41:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904417024001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:41: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-09-06 15:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788689433000,"timestamp_ms":1788689433000,"timestamp_seconds":1788689433,"priority":1,"record_length":96,"hex_timestamp":"000001a07632c1a8"} 
[2026-09-06 15:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:41: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:41: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-09-06 15: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-09-06 15:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904417024001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 15:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904417024001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:41:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904417024001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":175325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:41:03] local.INFO: GPS data processed {"connection_id":175325,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:41:03] local.INFO: Acknowledgment sent {"connection_id":175325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:41:18] local.INFO: TCP Data received {"connection_id":174004,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a076328710012d7afa0005e36f500005015719..."} 
[2026-09-06 15:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076328710012d7afa0005e36f500005015719..."} 
[2026-09-06 15:41:18] local.INFO: Processing buffer {"connection_id":174004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076328710012d7afa0005e36f500005015719..."} 
[2026-09-06 15:41:18] local.INFO: Packet analysis {"connection_id":174004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:41:18] local.INFO: Extracted packet for processing {"connection_id":174004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:41:18] local.INFO: GPS Element Parsed {"raw_longitude":763034112,"raw_latitude":98791248,"longitude_deg":76.3034112,"latitude_deg":9.8791248,"altitude":5,"angle":343,"satellites":25,"speed":25,"hex_longitude":"2d7afa00","hex_latitude":"05e36f50","is_valid_coordinates":true} 
[2026-09-06 15:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904487680001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128993020543500288,"note":"Value kept but may cause issues"} 
[2026-09-06 15:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864421098092840960,"note":"Value kept but may cause issues"} 
[2026-09-06 15:41:18] 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-09-06 15:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788689418000,"timestamp_ms":1788689418000,"timestamp_seconds":1788689418,"priority":1,"record_length":96,"hex_timestamp":"000001a076328710"} 
[2026-09-06 15:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:41:18] 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-09-06 15:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 15:41:18] 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-09-06 15:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:41:18] 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-09-06 15:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904487680001,"66":13798,"208":206,"85":15104,"24":25,"16":128993020543500288,"45":8864421098092840960},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-06 15:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904487680001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:41:18] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-06 15:41:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128993020543500288,"km_value":128993020543500.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864421098092840960,"description":"Unknown IO ID 45"} 
[2026-09-06 15:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904487680001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8864421098092840960}} 
[2026-09-06 15:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":174004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:41:18] local.INFO: GPS data processed {"connection_id":174004,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:41:18] local.INFO: Acknowledgment sent {"connection_id":174004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:41:45] local.INFO: TCP Data received {"connection_id":175326,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:41:45] local.INFO: Processing buffer {"connection_id":175326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:41:45] local.INFO: IMEI packet received {"connection_id":175326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":175326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:41:47] local.INFO: TCP Data received {"connection_id":175327,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:41:47] local.INFO: Processing buffer {"connection_id":175327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:41:47] local.INFO: IMEI packet received {"connection_id":175327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":175327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:41:48] local.INFO: TCP Data received {"connection_id":175326,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:41:48] local.INFO: Processing buffer {"connection_id":175326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:41:48] local.INFO: IMEI packet received {"connection_id":175326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":175326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:41:50] local.INFO: TCP Data received {"connection_id":175326,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07632d530012d7af00005e390c0000601541c..."} 
[2026-09-06 15:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07632d530012d7af00005e390c0000601541c..."} 
[2026-09-06 15:41:50] local.INFO: Processing buffer {"connection_id":175326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07632d530012d7af00005e390c0000601541c..."} 
[2026-09-06 15:41:50] local.INFO: Packet analysis {"connection_id":175326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:41:50] local.INFO: Extracted packet for processing {"connection_id":175326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:41:50] local.INFO: GPS Element Parsed {"raw_longitude":763031552,"raw_latitude":98799808,"longitude_deg":76.3031552,"latitude_deg":9.8799808,"altitude":6,"angle":340,"satellites":28,"speed":19,"hex_longitude":"2d7af000","hex_latitude":"05e390c0","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904491008001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128993458630164480,"note":"Value kept but may cause issues"} 
[2026-09-06 15:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861395242095431680,"note":"Value kept but may cause issues"} 
[2026-09-06 15:41:50] 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-09-06 15:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788689438000,"timestamp_ms":1788689438000,"timestamp_seconds":1788689438,"priority":1,"record_length":96,"hex_timestamp":"000001a07632d530"} 
[2026-09-06 15:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:41: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-09-06 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 15:41:50] 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-09-06 15: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-09-06 15:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:41:50] 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-09-06 15:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904491008001,"66":13624,"208":206,"85":15104,"24":19,"16":128993458630164480,"45":8861395242095431680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-06 15:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904491008001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:41:50] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-06 15:41:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128993458630164480,"km_value":128993458630164.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861395242095431680,"description":"Unknown IO ID 45"} 
[2026-09-06 15:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904491008001,"power":13624,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8861395242095431680}} 
[2026-09-06 15:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":175326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:41:50] local.INFO: GPS data processed {"connection_id":175326,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:41:50] local.INFO: Acknowledgment sent {"connection_id":175326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:41:51] local.INFO: TCP Data received {"connection_id":175326,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a076330be0012d7ae54005e3b208000a01561c..."} 
[2026-09-06 15:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076330be0012d7ae54005e3b208000a01561c..."} 
[2026-09-06 15:41:51] local.INFO: Processing buffer {"connection_id":175326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076330be0012d7ae54005e3b208000a01561c..."} 
[2026-09-06 15:41:51] local.INFO: Packet analysis {"connection_id":175326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07633"} 
[2026-09-06 15:41:51] local.INFO: Extracted packet for processing {"connection_id":175326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07633"} 
[2026-09-06 15:41:51] local.INFO: GPS Element Parsed {"raw_longitude":763028800,"raw_latitude":98808328,"longitude_deg":76.30288,"latitude_deg":9.8808328,"altitude":10,"angle":342,"satellites":28,"speed":37,"hex_longitude":"2d7ae540","hex_latitude":"05e3b208","is_valid_coordinates":true} 
[2026-09-06 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-09-06 15:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904496128001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128993892421861376,"note":"Value kept but may cause issues"} 
[2026-09-06 15:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858580492330516480,"note":"Value kept but may cause issues"} 
[2026-09-06 15:41: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-09-06 15:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788689452000,"timestamp_ms":1788689452000,"timestamp_seconds":1788689452,"priority":1,"record_length":96,"hex_timestamp":"000001a076330be0"} 
[2026-09-06 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-09-06 15:41: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-09-06 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-06 15:41:51] 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-09-06 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-09-06 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-09-06 15:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:41:51] 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-09-06 15:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904496128001,"66":13820,"208":206,"85":15104,"24":37,"16":128993892421861376,"45":8858580492330516480},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-06 15:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904496128001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:41:51] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-06 15:41:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128993892421861376,"km_value":128993892421861.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858580492330516480,"description":"Unknown IO ID 45"} 
[2026-09-06 15:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904496128001,"power":13820,"unknown_208":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8858580492330516480}} 
[2026-09-06 15:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":175326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:41:51] local.INFO: GPS data processed {"connection_id":175326,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:41:51] local.INFO: Acknowledgment sent {"connection_id":175326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:41:53] local.INFO: TCP Data received {"connection_id":175327,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:41:53] local.INFO: Processing buffer {"connection_id":175327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:41:53] local.INFO: IMEI packet received {"connection_id":175327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":175327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:41:55] local.INFO: TCP Data received {"connection_id":175327,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:41:55] local.INFO: Processing buffer {"connection_id":175327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:41:55] local.INFO: Packet analysis {"connection_id":175327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:41:55] local.INFO: Extracted packet for processing {"connection_id":175327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:41:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 15:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904417024001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:41: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-09-06 15:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788689433000,"timestamp_ms":1788689433000,"timestamp_seconds":1788689433,"priority":1,"record_length":96,"hex_timestamp":"000001a07632c1a8"} 
[2026-09-06 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-09-06 15:41: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-09-06 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:41:55] 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-09-06 15:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 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-09-06 15:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:41:55] 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-09-06 15:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904417024001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904417024001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:41:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:41:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904417024001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":175327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:41:55] local.INFO: GPS data processed {"connection_id":175327,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:41:55] local.INFO: Acknowledgment sent {"connection_id":175327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:42:25] local.INFO: TCP Data received {"connection_id":175326,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0763332f0012d7ada4005e3d6c8000a01591b..."} 
[2026-09-06 15:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0763332f0012d7ada4005e3d6c8000a01591b..."} 
[2026-09-06 15:42:25] local.INFO: Processing buffer {"connection_id":175326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0763332f0012d7ada4005e3d6c8000a01591b..."} 
[2026-09-06 15:42:25] local.INFO: Packet analysis {"connection_id":175326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07633"} 
[2026-09-06 15:42:25] local.INFO: Extracted packet for processing {"connection_id":175326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07633"} 
[2026-09-06 15:42:25] local.INFO: GPS Element Parsed {"raw_longitude":763025984,"raw_latitude":98817736,"longitude_deg":76.3025984,"latitude_deg":9.8817736,"altitude":10,"angle":345,"satellites":27,"speed":39,"hex_longitude":"2d7ada40","hex_latitude":"05e3d6c8","is_valid_coordinates":true} 
[2026-09-06 15:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904499712001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128994364868263936,"note":"Value kept but may cause issues"} 
[2026-09-06 15:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855554636333058048,"note":"Value kept but may cause issues"} 
[2026-09-06 15:42:25] 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-09-06 15:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788689462000,"timestamp_ms":1788689462000,"timestamp_seconds":1788689462,"priority":1,"record_length":96,"hex_timestamp":"000001a0763332f0"} 
[2026-09-06 15:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 15:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 15:42:25] 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-09-06 15:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:42:25] 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-09-06 15:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904499712001,"66":13820,"208":206,"85":15104,"24":39,"16":128994364868263936,"45":8855554636333058048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-06 15:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904499712001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:42:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-06 15:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 15:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128994364868263936,"km_value":128994364868263.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855554636333058048,"description":"Unknown IO ID 45"} 
[2026-09-06 15:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904499712001,"power":13820,"unknown_208":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8855554636333058048}} 
[2026-09-06 15:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":175326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:42:25] local.INFO: GPS data processed {"connection_id":175326,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:42:25] local.INFO: Acknowledgment sent {"connection_id":175326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:42:26] local.INFO: TCP Data received {"connection_id":175327,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:42:26] local.INFO: Processing buffer {"connection_id":175327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:42:26] local.INFO: Packet analysis {"connection_id":175327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:42:26] local.INFO: Extracted packet for processing {"connection_id":175327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:42:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904417024001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:42: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-09-06 15:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788689433000,"timestamp_ms":1788689433000,"timestamp_seconds":1788689433,"priority":1,"record_length":96,"hex_timestamp":"000001a07632c1a8"} 
[2026-09-06 15:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:42: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-09-06 15: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-09-06 15: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-09-06 15: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-09-06 15:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:42:26] 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-09-06 15:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904417024001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904417024001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:42:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:42:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904417024001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":175327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:42:26] local.INFO: GPS data processed {"connection_id":175327,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:42:26] local.INFO: Acknowledgment sent {"connection_id":175327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:42:47] local.INFO: TCP Data received {"connection_id":175329,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:42:47] local.INFO: Processing buffer {"connection_id":175329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:42:47] local.INFO: IMEI packet received {"connection_id":175329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":175329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:42:53] local.INFO: TCP Data received {"connection_id":175329,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:42:53] local.INFO: Processing buffer {"connection_id":175329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:42:53] local.INFO: IMEI packet received {"connection_id":175329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":175329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:42:53] local.INFO: TCP Data received {"connection_id":172612,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:42:53] local.INFO: Processing buffer {"connection_id":172612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:42:53] local.INFO: IMEI packet received {"connection_id":172612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 15:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":172612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:42:55] local.INFO: TCP Data received {"connection_id":175329,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:42:55] local.INFO: Processing buffer {"connection_id":175329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:42:55] local.INFO: Packet analysis {"connection_id":175329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:42:55] local.INFO: Extracted packet for processing {"connection_id":175329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:42:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904417024001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:42: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-09-06 15:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788689433000,"timestamp_ms":1788689433000,"timestamp_seconds":1788689433,"priority":1,"record_length":96,"hex_timestamp":"000001a07632c1a8"} 
[2026-09-06 15:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:42: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-09-06 15:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:42:55] 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-09-06 15:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904417024001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904417024001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:42:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:42:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904417024001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":175329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:42:55] local.INFO: GPS data processed {"connection_id":175329,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:42:55] local.INFO: Acknowledgment sent {"connection_id":175329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:42:56] local.INFO: TCP Data received {"connection_id":172612,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:42:56] local.INFO: Processing buffer {"connection_id":172612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 15:42:56] local.INFO: IMEI packet received {"connection_id":172612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 15:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":172612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:42:59] local.INFO: TCP Data received {"connection_id":172612,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a076346f58012d7a308005e45a600011010f1d..."} 
[2026-09-06 15:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076346f58012d7a308005e45a600011010f1d..."} 
[2026-09-06 15:42:59] local.INFO: Processing buffer {"connection_id":172612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076346f58012d7a308005e45a600011010f1d..."} 
[2026-09-06 15:42:59] local.INFO: Packet analysis {"connection_id":172612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07634"} 
[2026-09-06 15:42:59] local.INFO: Extracted packet for processing {"connection_id":172612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07634"} 
[2026-09-06 15:42:59] local.INFO: GPS Element Parsed {"raw_longitude":762982528,"raw_latitude":98851424,"longitude_deg":76.2982528,"latitude_deg":9.8851424,"altitude":17,"angle":271,"satellites":29,"speed":17,"hex_longitude":"2d7a3080","hex_latitude":"05e45a60","is_valid_coordinates":true} 
[2026-09-06 15:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904520960001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128997448654782464,"note":"Value kept but may cause issues"} 
[2026-09-06 15:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808900158954514432,"note":"Value kept but may cause issues"} 
[2026-09-06 15:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 15:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788689543000,"timestamp_ms":1788689543000,"timestamp_seconds":1788689543,"priority":1,"record_length":96,"hex_timestamp":"000001a076346f58"} 
[2026-09-06 15:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 15:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-06 15:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:42:59] 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-09-06 15:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904520960001,"66":13830,"39":206,"87":13824,"24":17,"16":128997448654782464,"45":8808900158954514432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-06 15:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904520960001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:42:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-06 15:42:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-06 15:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128997448654782464,"km_value":128997448654782.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808900158954514432,"description":"Unknown IO ID 45"} 
[2026-09-06 15:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904520960001,"power":13830,"unknown_39":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8808900158954514432}} 
[2026-09-06 15:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":172612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:42:59] local.INFO: GPS data processed {"connection_id":172612,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:42:59] local.INFO: Acknowledgment sent {"connection_id":172612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:43:02] local.INFO: TCP Data received {"connection_id":172612,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a076347340012d7a2f4005e45a900011011f1d..."} 
[2026-09-06 15:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076347340012d7a2f4005e45a900011011f1d..."} 
[2026-09-06 15:43:02] local.INFO: Processing buffer {"connection_id":172612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076347340012d7a2f4005e45a900011011f1d..."} 
[2026-09-06 15:43:02] local.INFO: Packet analysis {"connection_id":172612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07634"} 
[2026-09-06 15:43:02] local.INFO: Extracted packet for processing {"connection_id":172612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07634"} 
[2026-09-06 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":762982208,"raw_latitude":98851472,"longitude_deg":76.2982208,"latitude_deg":9.8851472,"altitude":17,"angle":287,"satellites":29,"speed":15,"hex_longitude":"2d7a2f40","hex_latitude":"05e45a90","is_valid_coordinates":true} 
[2026-09-06 15:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904523008001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128997465834651648,"note":"Value kept but may cause issues"} 
[2026-09-06 15:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804678034303639552,"note":"Value kept but may cause issues"} 
[2026-09-06 15:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 15:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788689544000,"timestamp_ms":1788689544000,"timestamp_seconds":1788689544,"priority":1,"record_length":96,"hex_timestamp":"000001a076347340"} 
[2026-09-06 15:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 15:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-06 15:43:02] local.WARNING: Large IO value detected {"io_id":24,"raw_value":9851632790601728,"note":"Value kept but may cause issues"} 
[2026-09-06 15:43:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627225100288,"note":"Value kept but may cause issues"} 
[2026-09-06 15:43:02] local.WARNING: Large IO value detected {"io_id":73,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-09-06 15:43:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-06 15:43:02] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3489738106,"note":"Value kept but may cause issues"} 
[2026-09-06 15:43:02] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3221611613,"note":"Value kept but may cause issues"} 
[2026-09-06 15:43:02] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817311,"note":"Value kept but may cause issues"} 
[2026-09-06 15:43:02] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1235943424,"corrected_to":0} 
[2026-09-06 15:43:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3829792768,"note":"Value kept but may cause issues"} 
[2026-09-06 15:43:02] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-9223040556949568028,"note":"Value kept but may cause issues"} 
[2026-09-06 15:43:02] local.WARNING: Large IO value detected {"io_id":47,"raw_value":6341078176161857586,"note":"Value kept but may cause issues"} 
[2026-09-06 15:43:02] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,39,87,24,241,157,16,74,160,80,45,128,93,14,29,10,66,1,192,104,8,27,208,85,73,254,240,28,227,118,228,4,113,205,17,222,116,26,239,49,2,202,5,35,152,47],"length":528,"final_offset":658,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0},{"io_id":202,"original":1235943424,"validated":0}]} 
[2026-09-06 15:43:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225277190851067904,"timestamp_seconds":1225277190851068.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 15:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 15:43:02] 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-09-06 15:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 15:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 15:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904523008001,"66":13678,"39":206,"87":13824,"24":15,"16":128997465834651648,"45":8804678034303639552},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-06 15:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 15:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 15:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904523008001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:43:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-06 15:43:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-06 15:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":128997465834651648,"km_value":128997465834651.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804678034303639552,"description":"Unknown IO ID 45"} 
[2026-09-06 15:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904523008001,"power":13678,"unknown_39":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8804678034303639552}} 
[2026-09-06 15:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":172612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:43:02] local.INFO: GPS data processed {"connection_id":172612,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:43:02] local.INFO: Acknowledgment sent {"connection_id":172612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:43:26] local.INFO: TCP Data received {"connection_id":175329,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:43:26] local.INFO: Processing buffer {"connection_id":175329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:43:26] local.INFO: Packet analysis {"connection_id":175329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:43:26] local.INFO: Extracted packet for processing {"connection_id":175329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:43:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904417024001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788689433000,"timestamp_ms":1788689433000,"timestamp_seconds":1788689433,"priority":1,"record_length":96,"hex_timestamp":"000001a07632c1a8"} 
[2026-09-06 15:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:43: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:43: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-09-06 15: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-09-06 15:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904417024001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904417024001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:43:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:43:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904417024001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":175329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:43:26] local.INFO: GPS data processed {"connection_id":175329,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:43:26] local.INFO: Acknowledgment sent {"connection_id":175329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:43:27] local.INFO: TCP Data received {"connection_id":172836,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:43:27] local.INFO: Processing buffer {"connection_id":172836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:43:27] local.INFO: IMEI packet received {"connection_id":172836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 15:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":172836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:43:47] local.INFO: TCP Data received {"connection_id":172837,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:43:47] local.INFO: Processing buffer {"connection_id":172837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:43:47] local.INFO: IMEI packet received {"connection_id":172837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":172837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:43:53] local.INFO: TCP Data received {"connection_id":172837,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:43:53] local.INFO: Processing buffer {"connection_id":172837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:43:53] local.INFO: IMEI packet received {"connection_id":172837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":172837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:43:53] local.INFO: TCP Data received {"connection_id":172838,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:43:53] local.INFO: Processing buffer {"connection_id":172838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:43:53] local.INFO: IMEI packet received {"connection_id":172838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 15:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":172838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:43:53] local.INFO: TCP Data received {"connection_id":172837,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:43:53] local.INFO: Processing buffer {"connection_id":172837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:43:53] local.INFO: Packet analysis {"connection_id":172837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:43:53] local.INFO: Extracted packet for processing {"connection_id":172837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904417024001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788689433000,"timestamp_ms":1788689433000,"timestamp_seconds":1788689433,"priority":1,"record_length":96,"hex_timestamp":"000001a07632c1a8"} 
[2026-09-06 15:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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-09-06 15: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-09-06 15: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-09-06 15:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:43: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-09-06 15:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904417024001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904417024001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:43:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904417024001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":172837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:43:53] local.INFO: GPS data processed {"connection_id":172837,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:43:53] local.INFO: Acknowledgment sent {"connection_id":172837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:44:24] local.INFO: TCP Data received {"connection_id":172837,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:44:24] local.INFO: Processing buffer {"connection_id":172837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:44:24] local.INFO: Packet analysis {"connection_id":172837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:44:24] local.INFO: Extracted packet for processing {"connection_id":172837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:44:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904417024001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788689433000,"timestamp_ms":1788689433000,"timestamp_seconds":1788689433,"priority":1,"record_length":96,"hex_timestamp":"000001a07632c1a8"} 
[2026-09-06 15:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:44: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-09-06 15: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-09-06 15:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:44: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-09-06 15:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904417024001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904417024001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:44:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:44:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904417024001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":172837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:44:24] local.INFO: GPS data processed {"connection_id":172837,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:44:24] local.INFO: Acknowledgment sent {"connection_id":172837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:44:52] local.INFO: TCP Data received {"connection_id":174007,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:44:53] local.INFO: Processing buffer {"connection_id":174007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:44:53] local.INFO: IMEI packet received {"connection_id":174007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":174007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:44:58] local.INFO: TCP Data received {"connection_id":174007,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:44:58] local.INFO: Processing buffer {"connection_id":174007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:44:58] local.INFO: IMEI packet received {"connection_id":174007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":174007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:44:58] local.INFO: TCP Data received {"connection_id":174007,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:44:58] local.INFO: Processing buffer {"connection_id":174007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:44:58] local.INFO: Packet analysis {"connection_id":174007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:44:58] local.INFO: Extracted packet for processing {"connection_id":174007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:44:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904417024001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:44: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-09-06 15:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788689433000,"timestamp_ms":1788689433000,"timestamp_seconds":1788689433,"priority":1,"record_length":96,"hex_timestamp":"000001a07632c1a8"} 
[2026-09-06 15:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:44: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-09-06 15:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:44: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-09-06 15:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:44: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-09-06 15:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904417024001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904417024001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:44:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:44:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904417024001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":174007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:44:58] local.INFO: GPS data processed {"connection_id":174007,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:44:58] local.INFO: Acknowledgment sent {"connection_id":174007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:45:03] local.INFO: TCP Data received {"connection_id":174007,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:45:03] local.INFO: Processing buffer {"connection_id":174007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07632c1a8012d34c50006aa3d30000e01352b..."} 
[2026-09-06 15:45:03] local.INFO: Packet analysis {"connection_id":174007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:45:03] local.INFO: Extracted packet for processing {"connection_id":174007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07632"} 
[2026-09-06 15:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904417024001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:45: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-09-06 15:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788689433000,"timestamp_ms":1788689433000,"timestamp_seconds":1788689433,"priority":1,"record_length":96,"hex_timestamp":"000001a07632c1a8"} 
[2026-09-06 15:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:45: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-09-06 15:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:45: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-09-06 15:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904417024001,"66":25897,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904417024001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:45:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904417024001,"power":25897,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":174007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:45:03] local.INFO: GPS data processed {"connection_id":174007,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:45:03] local.INFO: Acknowledgment sent {"connection_id":174007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:45:43] local.INFO: TCP Data received {"connection_id":175330,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:45:43] local.INFO: Processing buffer {"connection_id":175330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:45:43] local.INFO: IMEI packet received {"connection_id":175330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":175330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:45:48] local.INFO: TCP Data received {"connection_id":175330,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:45:48] local.INFO: Processing buffer {"connection_id":175330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:45:48] local.INFO: IMEI packet received {"connection_id":175330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":175330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:45:53] local.INFO: TCP Data received {"connection_id":175330,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:45:53] local.INFO: Processing buffer {"connection_id":175330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:45:53] local.INFO: IMEI packet received {"connection_id":175330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":175330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:45:54] local.INFO: TCP Data received {"connection_id":175330,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:45:54] local.INFO: Processing buffer {"connection_id":175330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:45:54] local.INFO: Packet analysis {"connection_id":175330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:45:54] local.INFO: Extracted packet for processing {"connection_id":175330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:45:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904494848001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788689735000,"timestamp_ms":1788689735000,"timestamp_seconds":1788689735,"priority":1,"record_length":96,"hex_timestamp":"000001a076375d58"} 
[2026-09-06 15:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:45: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-09-06 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:45: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-09-06 15:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904494848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904494848001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:45:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:45:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904494848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":175330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:45:54] local.INFO: GPS data processed {"connection_id":175330,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:45:54] local.INFO: Acknowledgment sent {"connection_id":175330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:46:25] local.INFO: TCP Data received {"connection_id":175330,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:46:25] local.INFO: Processing buffer {"connection_id":175330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:46:25] local.INFO: Packet analysis {"connection_id":175330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:46:25] local.INFO: Extracted packet for processing {"connection_id":175330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:46:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904494848001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:46: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-09-06 15:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788689735000,"timestamp_ms":1788689735000,"timestamp_seconds":1788689735,"priority":1,"record_length":96,"hex_timestamp":"000001a076375d58"} 
[2026-09-06 15:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:46: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-09-06 15: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":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:46:25] 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-09-06 15:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904494848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904494848001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:46:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:46:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904494848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":175330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:46:25] local.INFO: GPS data processed {"connection_id":175330,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:46:25] local.INFO: Acknowledgment sent {"connection_id":175330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:46:47] local.INFO: TCP Data received {"connection_id":174009,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:46:47] local.INFO: Processing buffer {"connection_id":174009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:46:47] local.INFO: IMEI packet received {"connection_id":174009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":174009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:46:53] local.INFO: TCP Data received {"connection_id":174009,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:46:53] local.INFO: Processing buffer {"connection_id":174009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:46:53] local.INFO: IMEI packet received {"connection_id":174009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":174009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:46:53] local.INFO: TCP Data received {"connection_id":174009,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:46:53] local.INFO: Processing buffer {"connection_id":174009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:46:53] local.INFO: Packet analysis {"connection_id":174009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:46:53] local.INFO: Extracted packet for processing {"connection_id":174009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904494848001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788689735000,"timestamp_ms":1788689735000,"timestamp_seconds":1788689735,"priority":1,"record_length":96,"hex_timestamp":"000001a076375d58"} 
[2026-09-06 15:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:46: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-09-06 15:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904494848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904494848001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:46:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904494848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":174009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:46:53] local.INFO: GPS data processed {"connection_id":174009,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:46:53] local.INFO: Acknowledgment sent {"connection_id":174009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:47:25] local.INFO: TCP Data received {"connection_id":174009,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:47:25] local.INFO: Processing buffer {"connection_id":174009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:47:25] local.INFO: Packet analysis {"connection_id":174009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:47:25] local.INFO: Extracted packet for processing {"connection_id":174009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:47:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904494848001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:47: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-09-06 15:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788689735000,"timestamp_ms":1788689735000,"timestamp_seconds":1788689735,"priority":1,"record_length":96,"hex_timestamp":"000001a076375d58"} 
[2026-09-06 15:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:47: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-09-06 15:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:47:25] 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-09-06 15:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904494848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904494848001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:47:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:47:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904494848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":174009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:47:25] local.INFO: GPS data processed {"connection_id":174009,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:47:25] local.INFO: Acknowledgment sent {"connection_id":174009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:47:47] local.INFO: TCP Data received {"connection_id":172614,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:47:47] local.INFO: Processing buffer {"connection_id":172614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:47:47] local.INFO: IMEI packet received {"connection_id":172614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":172614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:47:52] local.INFO: TCP Data received {"connection_id":172614,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:47:52] local.INFO: Processing buffer {"connection_id":172614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:47:52] local.INFO: IMEI packet received {"connection_id":172614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":172614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:47:53] local.INFO: TCP Data received {"connection_id":172614,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:47:53] local.INFO: Processing buffer {"connection_id":172614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:47:53] local.INFO: Packet analysis {"connection_id":172614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:47:53] local.INFO: Extracted packet for processing {"connection_id":172614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904494848001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788689735000,"timestamp_ms":1788689735000,"timestamp_seconds":1788689735,"priority":1,"record_length":96,"hex_timestamp":"000001a076375d58"} 
[2026-09-06 15:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:47: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-09-06 15:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904494848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904494848001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:47:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:47:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904494848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":172614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:47:53] local.INFO: GPS data processed {"connection_id":172614,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:47:53] local.INFO: Acknowledgment sent {"connection_id":172614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:48:25] local.INFO: TCP Data received {"connection_id":172614,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:48:25] local.INFO: Processing buffer {"connection_id":172614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:48:25] local.INFO: Packet analysis {"connection_id":172614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:48:25] local.INFO: Extracted packet for processing {"connection_id":172614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:48:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904494848001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:48: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-09-06 15:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788689735000,"timestamp_ms":1788689735000,"timestamp_seconds":1788689735,"priority":1,"record_length":96,"hex_timestamp":"000001a076375d58"} 
[2026-09-06 15:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:48: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-09-06 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:48:25] 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-09-06 15:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904494848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904494848001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:48:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:48:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904494848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":172614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:48:25] local.INFO: GPS data processed {"connection_id":172614,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:48:25] local.INFO: Acknowledgment sent {"connection_id":172614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:48:53] local.INFO: TCP Data received {"connection_id":172840,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:48:53] local.INFO: Processing buffer {"connection_id":172840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:48:53] local.INFO: IMEI packet received {"connection_id":172840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":172840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:48:58] local.INFO: TCP Data received {"connection_id":172840,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:48:58] local.INFO: Processing buffer {"connection_id":172840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:48:58] local.INFO: IMEI packet received {"connection_id":172840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":172840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:48:59] local.INFO: TCP Data received {"connection_id":172840,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:48:59] local.INFO: Processing buffer {"connection_id":172840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:48:59] local.INFO: Packet analysis {"connection_id":172840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:48:59] local.INFO: Extracted packet for processing {"connection_id":172840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:48:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904494848001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:48: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-09-06 15:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788689735000,"timestamp_ms":1788689735000,"timestamp_seconds":1788689735,"priority":1,"record_length":96,"hex_timestamp":"000001a076375d58"} 
[2026-09-06 15:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:48: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-09-06 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:48:59] 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-09-06 15:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904494848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904494848001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:48:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:48:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904494848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":172840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:48:59] local.INFO: GPS data processed {"connection_id":172840,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:48:59] local.INFO: Acknowledgment sent {"connection_id":172840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:48:59] local.INFO: TCP Data received {"connection_id":172615,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:49:00] local.INFO: Processing buffer {"connection_id":172615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:49:00] local.INFO: IMEI packet received {"connection_id":172615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 15:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":172615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:49:31] local.INFO: TCP Data received {"connection_id":172840,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:49:31] local.INFO: Processing buffer {"connection_id":172840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:49:31] local.INFO: Packet analysis {"connection_id":172840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:49:31] local.INFO: Extracted packet for processing {"connection_id":172840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904494848001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:49: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-09-06 15:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788689735000,"timestamp_ms":1788689735000,"timestamp_seconds":1788689735,"priority":1,"record_length":96,"hex_timestamp":"000001a076375d58"} 
[2026-09-06 15:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:49: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-09-06 15:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904494848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904494848001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:49:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:49:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904494848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":172840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:49:31] local.INFO: GPS data processed {"connection_id":172840,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:49:31] local.INFO: Acknowledgment sent {"connection_id":172840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:49:48] local.INFO: TCP Data received {"connection_id":174010,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:49:48] local.INFO: Processing buffer {"connection_id":174010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:49:48] local.INFO: IMEI packet received {"connection_id":174010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":174010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:49:53] local.INFO: TCP Data received {"connection_id":174010,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:49:53] local.INFO: Processing buffer {"connection_id":174010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:49:53] local.INFO: IMEI packet received {"connection_id":174010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":174010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:49:54] local.INFO: TCP Data received {"connection_id":174010,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:49:54] local.INFO: Processing buffer {"connection_id":174010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:49:54] local.INFO: Packet analysis {"connection_id":174010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:49:54] local.INFO: Extracted packet for processing {"connection_id":174010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:49:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904494848001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:49: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-09-06 15:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788689735000,"timestamp_ms":1788689735000,"timestamp_seconds":1788689735,"priority":1,"record_length":96,"hex_timestamp":"000001a076375d58"} 
[2026-09-06 15:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:49: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-09-06 15:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:49:54] 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-09-06 15:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904494848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904494848001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:49:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:49:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904494848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":174010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:49:54] local.INFO: GPS data processed {"connection_id":174010,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:49:54] local.INFO: Acknowledgment sent {"connection_id":174010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:50:25] local.INFO: TCP Data received {"connection_id":174010,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:50:25] local.INFO: Processing buffer {"connection_id":174010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076375d58012d34c50006aa3d30000e013527..."} 
[2026-09-06 15:50:25] local.INFO: Packet analysis {"connection_id":174010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:50:25] local.INFO: Extracted packet for processing {"connection_id":174010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07637"} 
[2026-09-06 15:50:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904494848001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:50: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-09-06 15:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788689735000,"timestamp_ms":1788689735000,"timestamp_seconds":1788689735,"priority":1,"record_length":96,"hex_timestamp":"000001a076375d58"} 
[2026-09-06 15:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:50: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-09-06 15: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 15:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 15: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-09-06 15:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:50: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-09-06 15:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904494848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904494848001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:50:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:50:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904494848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":174010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:50:25] local.INFO: GPS data processed {"connection_id":174010,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:50:25] local.INFO: Acknowledgment sent {"connection_id":174010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:50:47] local.INFO: TCP Data received {"connection_id":172841,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:50:47] local.INFO: Processing buffer {"connection_id":172841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:50:47] local.INFO: IMEI packet received {"connection_id":172841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":172841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:50:53] local.INFO: TCP Data received {"connection_id":172841,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:50:53] local.INFO: Processing buffer {"connection_id":172841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:50:53] local.INFO: IMEI packet received {"connection_id":172841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":172841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:50:55] local.INFO: TCP Data received {"connection_id":172841,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:50:55] local.INFO: Processing buffer {"connection_id":172841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:50:55] local.INFO: Packet analysis {"connection_id":172841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:50:55] local.INFO: Extracted packet for processing {"connection_id":172841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:50:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904572160001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788690040000,"timestamp_ms":1788690040000,"timestamp_seconds":1788690040,"priority":1,"record_length":96,"hex_timestamp":"000001a0763c04c0"} 
[2026-09-06 15:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 15:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:50:55] 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-09-06 15:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904572160001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904572160001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:50:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:50:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904572160001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":172841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:50:55] local.INFO: GPS data processed {"connection_id":172841,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:50:55] local.INFO: Acknowledgment sent {"connection_id":172841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:51:26] local.INFO: TCP Data received {"connection_id":172841,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:51:26] local.INFO: Processing buffer {"connection_id":172841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:51:26] local.INFO: Packet analysis {"connection_id":172841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:51:26] local.INFO: Extracted packet for processing {"connection_id":172841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:51:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904572160001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788690040000,"timestamp_ms":1788690040000,"timestamp_seconds":1788690040,"priority":1,"record_length":96,"hex_timestamp":"000001a0763c04c0"} 
[2026-09-06 15:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:51: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:51: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-09-06 15: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-09-06 15:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904572160001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904572160001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:51:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:51:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904572160001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":172841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:51:26] local.INFO: GPS data processed {"connection_id":172841,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:51:26] local.INFO: Acknowledgment sent {"connection_id":172841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:51:52] local.INFO: TCP Data received {"connection_id":175332,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:51:52] local.INFO: Processing buffer {"connection_id":175332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:51:52] local.INFO: IMEI packet received {"connection_id":175332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":175332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:51:57] local.INFO: TCP Data received {"connection_id":175332,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:51:57] local.INFO: Processing buffer {"connection_id":175332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:51:57] local.INFO: IMEI packet received {"connection_id":175332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":175332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:51:58] local.INFO: TCP Data received {"connection_id":175332,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:51:58] local.INFO: Processing buffer {"connection_id":175332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:51:58] local.INFO: Packet analysis {"connection_id":175332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:51:58] local.INFO: Extracted packet for processing {"connection_id":175332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:51:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904572160001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788690040000,"timestamp_ms":1788690040000,"timestamp_seconds":1788690040,"priority":1,"record_length":96,"hex_timestamp":"000001a0763c04c0"} 
[2026-09-06 15:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:51: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-09-06 15:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904572160001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 15:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904572160001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:51:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:51:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904572160001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":175332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:51:58] local.INFO: GPS data processed {"connection_id":175332,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:51:58] local.INFO: Acknowledgment sent {"connection_id":175332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:52:03] local.INFO: TCP Data received {"connection_id":175332,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:52:03] local.INFO: Processing buffer {"connection_id":175332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:52:03] local.INFO: Packet analysis {"connection_id":175332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:52:03] local.INFO: Extracted packet for processing {"connection_id":175332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904572160001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:52: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-09-06 15:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788690040000,"timestamp_ms":1788690040000,"timestamp_seconds":1788690040,"priority":1,"record_length":96,"hex_timestamp":"000001a0763c04c0"} 
[2026-09-06 15:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:52: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-09-06 15:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:52: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-09-06 15: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-09-06 15:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904572160001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 15:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904572160001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:52:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:52:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904572160001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":175332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:52:03] local.INFO: GPS data processed {"connection_id":175332,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:52:03] local.INFO: Acknowledgment sent {"connection_id":175332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:52:47] local.INFO: TCP Data received {"connection_id":174011,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:52:48] local.INFO: Processing buffer {"connection_id":174011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:52:48] local.INFO: IMEI packet received {"connection_id":174011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":174011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:52:52] local.INFO: TCP Data received {"connection_id":174011,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:52:52] local.INFO: Processing buffer {"connection_id":174011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:52:52] local.INFO: IMEI packet received {"connection_id":174011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":174011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:52:53] local.INFO: TCP Data received {"connection_id":174011,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:52:53] local.INFO: Processing buffer {"connection_id":174011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:52:53] local.INFO: Packet analysis {"connection_id":174011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:52:53] local.INFO: Extracted packet for processing {"connection_id":174011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:52:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904572160001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788690040000,"timestamp_ms":1788690040000,"timestamp_seconds":1788690040,"priority":1,"record_length":96,"hex_timestamp":"000001a0763c04c0"} 
[2026-09-06 15:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:52: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-09-06 15: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-09-06 15:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:52: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-09-06 15:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904572160001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904572160001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:52:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904572160001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":174011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:52:53] local.INFO: GPS data processed {"connection_id":174011,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:52:53] local.INFO: Acknowledgment sent {"connection_id":174011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:53:25] local.INFO: TCP Data received {"connection_id":174011,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:53:25] local.INFO: Processing buffer {"connection_id":174011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:53:25] local.INFO: Packet analysis {"connection_id":174011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:53:25] local.INFO: Extracted packet for processing {"connection_id":174011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:53:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904572160001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788690040000,"timestamp_ms":1788690040000,"timestamp_seconds":1788690040,"priority":1,"record_length":96,"hex_timestamp":"000001a0763c04c0"} 
[2026-09-06 15:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:53: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-09-06 15: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-09-06 15:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:53: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-09-06 15:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904572160001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904572160001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:53:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:53:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904572160001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":174011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:53:25] local.INFO: GPS data processed {"connection_id":174011,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:53:25] local.INFO: Acknowledgment sent {"connection_id":174011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:53:48] local.INFO: TCP Data received {"connection_id":175334,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:53:48] local.INFO: Processing buffer {"connection_id":175334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:53:48] local.INFO: IMEI packet received {"connection_id":175334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":175334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:53:52] local.INFO: TCP Data received {"connection_id":175334,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:53:52] local.INFO: Processing buffer {"connection_id":175334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:53:52] local.INFO: IMEI packet received {"connection_id":175334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":175334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:53:53] local.INFO: TCP Data received {"connection_id":175334,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:53:53] local.INFO: Processing buffer {"connection_id":175334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:53:53] local.INFO: Packet analysis {"connection_id":175334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:53:53] local.INFO: Extracted packet for processing {"connection_id":175334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904572160001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788690040000,"timestamp_ms":1788690040000,"timestamp_seconds":1788690040,"priority":1,"record_length":96,"hex_timestamp":"000001a0763c04c0"} 
[2026-09-06 15:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:53: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-09-06 15: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-09-06 15: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-09-06 15: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-09-06 15:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:53: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-09-06 15:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904572160001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904572160001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:53:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904572160001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":175334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:53:53] local.INFO: GPS data processed {"connection_id":175334,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:53:53] local.INFO: Acknowledgment sent {"connection_id":175334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:54:25] local.INFO: TCP Data received {"connection_id":175334,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:54:25] local.INFO: Processing buffer {"connection_id":175334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:54:25] local.INFO: Packet analysis {"connection_id":175334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:54:25] local.INFO: Extracted packet for processing {"connection_id":175334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:54:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904572160001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788690040000,"timestamp_ms":1788690040000,"timestamp_seconds":1788690040,"priority":1,"record_length":96,"hex_timestamp":"000001a0763c04c0"} 
[2026-09-06 15:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:54: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-09-06 15:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15: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-09-06 15: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-09-06 15:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:54: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-09-06 15:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904572160001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904572160001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:54:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:54:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904572160001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":175334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:54:25] local.INFO: GPS data processed {"connection_id":175334,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:54:25] local.INFO: Acknowledgment sent {"connection_id":175334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:54:33] local.INFO: TCP Data received {"connection_id":172842,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:54:33] local.INFO: Processing buffer {"connection_id":172842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:54:33] local.INFO: IMEI packet received {"connection_id":172842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 15:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":172842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:54:48] local.INFO: TCP Data received {"connection_id":172843,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:54:48] local.INFO: Processing buffer {"connection_id":172843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:54:48] local.INFO: IMEI packet received {"connection_id":172843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":172843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:54:50] local.INFO: TCP Data received {"connection_id":172844,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:54:50] local.INFO: Processing buffer {"connection_id":172844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 15:54:50] local.INFO: IMEI packet received {"connection_id":172844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 15:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":172844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:54:52] local.INFO: TCP Data received {"connection_id":172843,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:54:52] local.INFO: Processing buffer {"connection_id":172843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:54:52] local.INFO: IMEI packet received {"connection_id":172843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":172843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:54:53] local.INFO: TCP Data received {"connection_id":172843,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:54:53] local.INFO: Processing buffer {"connection_id":172843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:54:53] local.INFO: Packet analysis {"connection_id":172843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:54:53] local.INFO: Extracted packet for processing {"connection_id":172843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904572160001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788690040000,"timestamp_ms":1788690040000,"timestamp_seconds":1788690040,"priority":1,"record_length":96,"hex_timestamp":"000001a0763c04c0"} 
[2026-09-06 15:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:54: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-09-06 15: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-09-06 15: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-09-06 15: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-09-06 15:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:54: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-09-06 15:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904572160001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904572160001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:54:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904572160001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":172843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:54:53] local.INFO: GPS data processed {"connection_id":172843,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:54:53] local.INFO: Acknowledgment sent {"connection_id":172843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:55:25] local.INFO: TCP Data received {"connection_id":172843,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:55:25] local.INFO: Processing buffer {"connection_id":172843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0763c04c0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:55:25] local.INFO: Packet analysis {"connection_id":172843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:55:25] local.INFO: Extracted packet for processing {"connection_id":172843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0763c"} 
[2026-09-06 15:55:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904572160001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788690040000,"timestamp_ms":1788690040000,"timestamp_seconds":1788690040,"priority":1,"record_length":96,"hex_timestamp":"000001a0763c04c0"} 
[2026-09-06 15:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:55: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:55: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-09-06 15: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-09-06 15:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:55: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-09-06 15:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904572160001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904572160001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:55:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:55:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904572160001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":172843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:55:25] local.INFO: GPS data processed {"connection_id":172843,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:55:25] local.INFO: Acknowledgment sent {"connection_id":172843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:55:47] local.INFO: TCP Data received {"connection_id":172618,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:55:47] local.INFO: Processing buffer {"connection_id":172618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:55:47] local.INFO: IMEI packet received {"connection_id":172618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":172618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:55:53] local.INFO: TCP Data received {"connection_id":172618,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:55:53] local.INFO: Processing buffer {"connection_id":172618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:55:53] local.INFO: IMEI packet received {"connection_id":172618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":172618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:55:54] local.INFO: TCP Data received {"connection_id":172618,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:55:54] local.INFO: Processing buffer {"connection_id":172618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:55:54] local.INFO: Packet analysis {"connection_id":172618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:55:54] local.INFO: Extracted packet for processing {"connection_id":172618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:55:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904650240001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:55: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-09-06 15:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788690344000,"timestamp_ms":1788690344000,"timestamp_seconds":1788690344,"priority":1,"record_length":96,"hex_timestamp":"000001a07640a840"} 
[2026-09-06 15:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:55: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:55:54] 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-09-06 15: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-09-06 15:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:55: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-09-06 15:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904650240001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904650240001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:55:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:55:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904650240001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":172618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:55:54] local.INFO: GPS data processed {"connection_id":172618,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:55:54] local.INFO: Acknowledgment sent {"connection_id":172618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:56:25] local.INFO: TCP Data received {"connection_id":172618,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:56:25] local.INFO: Processing buffer {"connection_id":172618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:56:25] local.INFO: Packet analysis {"connection_id":172618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:56:25] local.INFO: Extracted packet for processing {"connection_id":172618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:56:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904650240001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15: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-09-06 15:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788690344000,"timestamp_ms":1788690344000,"timestamp_seconds":1788690344,"priority":1,"record_length":96,"hex_timestamp":"000001a07640a840"} 
[2026-09-06 15:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:56: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-09-06 15: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-09-06 15: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-09-06 15: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-09-06 15:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:56: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-09-06 15:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904650240001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904650240001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:56:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:56:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904650240001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":172618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:56:25] local.INFO: GPS data processed {"connection_id":172618,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:56:25] local.INFO: Acknowledgment sent {"connection_id":172618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:56:47] local.INFO: TCP Data received {"connection_id":175335,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:56:47] local.INFO: Processing buffer {"connection_id":175335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:56:47] local.INFO: IMEI packet received {"connection_id":175335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":175335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:56:53] local.INFO: TCP Data received {"connection_id":175335,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:56:53] local.INFO: Processing buffer {"connection_id":175335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:56:53] local.INFO: IMEI packet received {"connection_id":175335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":175335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:56:55] local.INFO: TCP Data received {"connection_id":175335,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:56:55] local.INFO: Processing buffer {"connection_id":175335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:56:55] local.INFO: Packet analysis {"connection_id":175335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:56:55] local.INFO: Extracted packet for processing {"connection_id":175335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:56:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904650240001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:56: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-09-06 15:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788690344000,"timestamp_ms":1788690344000,"timestamp_seconds":1788690344,"priority":1,"record_length":96,"hex_timestamp":"000001a07640a840"} 
[2026-09-06 15:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 15:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:56:55] 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-09-06 15:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:56:55] 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-09-06 15:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904650240001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904650240001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:56:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:56:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904650240001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":175335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:56:55] local.INFO: GPS data processed {"connection_id":175335,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:56:55] local.INFO: Acknowledgment sent {"connection_id":175335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:57:26] local.INFO: TCP Data received {"connection_id":175335,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:57:26] local.INFO: Processing buffer {"connection_id":175335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:57:26] local.INFO: Packet analysis {"connection_id":175335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:57:26] local.INFO: Extracted packet for processing {"connection_id":175335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:57:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904650240001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:57: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-09-06 15:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788690344000,"timestamp_ms":1788690344000,"timestamp_seconds":1788690344,"priority":1,"record_length":96,"hex_timestamp":"000001a07640a840"} 
[2026-09-06 15:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:57: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:57: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-09-06 15: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-09-06 15:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:57: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-09-06 15:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904650240001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904650240001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:57:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:57:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904650240001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":175335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:57:26] local.INFO: GPS data processed {"connection_id":175335,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:57:26] local.INFO: Acknowledgment sent {"connection_id":175335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:57:53] local.INFO: TCP Data received {"connection_id":174014,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:57:53] local.INFO: Processing buffer {"connection_id":174014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:57:53] local.INFO: IMEI packet received {"connection_id":174014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":174014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:57:57] local.INFO: TCP Data received {"connection_id":174014,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:57:57] local.INFO: Processing buffer {"connection_id":174014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:57:57] local.INFO: IMEI packet received {"connection_id":174014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":174014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:57:58] local.INFO: TCP Data received {"connection_id":174014,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:57:58] local.INFO: Processing buffer {"connection_id":174014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:57:58] local.INFO: Packet analysis {"connection_id":174014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:57:58] local.INFO: Extracted packet for processing {"connection_id":174014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:57:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904650240001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:57: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-09-06 15:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788690344000,"timestamp_ms":1788690344000,"timestamp_seconds":1788690344,"priority":1,"record_length":96,"hex_timestamp":"000001a07640a840"} 
[2026-09-06 15:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:57: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-09-06 15:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:57: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-09-06 15:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:57: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-09-06 15:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904650240001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904650240001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:57:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:57:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904650240001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":174014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:57:58] local.INFO: GPS data processed {"connection_id":174014,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:57:58] local.INFO: Acknowledgment sent {"connection_id":174014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:58:03] local.INFO: TCP Data received {"connection_id":174014,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:58:03] local.INFO: Processing buffer {"connection_id":174014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:58:03] local.INFO: Packet analysis {"connection_id":174014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:58:03] local.INFO: Extracted packet for processing {"connection_id":174014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 15:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904650240001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:58: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-09-06 15:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788690344000,"timestamp_ms":1788690344000,"timestamp_seconds":1788690344,"priority":1,"record_length":96,"hex_timestamp":"000001a07640a840"} 
[2026-09-06 15:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:58: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-09-06 15:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:58: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-09-06 15:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 15:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904650240001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904650240001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:58:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:58:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904650240001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":174014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:58:03] local.INFO: GPS data processed {"connection_id":174014,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:58:03] local.INFO: Acknowledgment sent {"connection_id":174014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:58:48] local.INFO: TCP Data received {"connection_id":172620,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:58:48] local.INFO: Processing buffer {"connection_id":172620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:58:48] local.INFO: IMEI packet received {"connection_id":172620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":172620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:58:52] local.INFO: TCP Data received {"connection_id":172620,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:58:52] local.INFO: Processing buffer {"connection_id":172620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:58:52] local.INFO: IMEI packet received {"connection_id":172620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":172620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:58:54] local.INFO: TCP Data received {"connection_id":172620,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:58:54] local.INFO: Processing buffer {"connection_id":172620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:58:54] local.INFO: Packet analysis {"connection_id":172620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:58:54] local.INFO: Extracted packet for processing {"connection_id":172620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:58:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904650240001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:58: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-09-06 15:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788690344000,"timestamp_ms":1788690344000,"timestamp_seconds":1788690344,"priority":1,"record_length":96,"hex_timestamp":"000001a07640a840"} 
[2026-09-06 15:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:58: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:58:54] 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-09-06 15: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-09-06 15:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:58: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-09-06 15:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904650240001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904650240001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:58:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:58:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904650240001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":172620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:58:54] local.INFO: GPS data processed {"connection_id":172620,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:58:54] local.INFO: Acknowledgment sent {"connection_id":172620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:59:26] local.INFO: TCP Data received {"connection_id":172620,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:59:26] local.INFO: Processing buffer {"connection_id":172620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:59:26] local.INFO: Packet analysis {"connection_id":172620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:59:26] local.INFO: Extracted packet for processing {"connection_id":172620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:59:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904650240001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:59: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-09-06 15:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788690344000,"timestamp_ms":1788690344000,"timestamp_seconds":1788690344,"priority":1,"record_length":96,"hex_timestamp":"000001a07640a840"} 
[2026-09-06 15:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:59: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:59: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-09-06 15: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-09-06 15:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:59: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-09-06 15:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904650240001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 15:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904650240001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:59:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:59:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904650240001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":172620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:59:26] local.INFO: GPS data processed {"connection_id":172620,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:59:26] local.INFO: Acknowledgment sent {"connection_id":172620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 15:59:48] local.INFO: TCP Data received {"connection_id":174015,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:59:48] local.INFO: Processing buffer {"connection_id":174015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:59:48] local.INFO: IMEI packet received {"connection_id":174015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 15:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":174015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 15:59:52] local.INFO: TCP Data received {"connection_id":174015,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:59:52] local.INFO: Processing buffer {"connection_id":174015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 15:59:52] local.INFO: IMEI packet received {"connection_id":174015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 15:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":174015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 15:59:54] local.INFO: TCP Data received {"connection_id":174015,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:59:54] local.INFO: Processing buffer {"connection_id":174015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 15:59:54] local.INFO: Packet analysis {"connection_id":174015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:59:54] local.INFO: Extracted packet for processing {"connection_id":174015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 15:59:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 15: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-09-06 15:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904650240001,"note":"Value kept but may cause issues"} 
[2026-09-06 15:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 15:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 15:59: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-09-06 15:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788690344000,"timestamp_ms":1788690344000,"timestamp_seconds":1788690344,"priority":1,"record_length":96,"hex_timestamp":"000001a07640a840"} 
[2026-09-06 15:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 15:59: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-09-06 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 15:59:54] 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-09-06 15: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-09-06 15:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 15:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 15:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 15:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 15:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 15:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 15:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 15:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904650240001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 15:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 15:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 15:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904650240001,"description":"Unknown IO ID 0"} 
[2026-09-06 15:59:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 15:59:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 15:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 15:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 15:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904650240001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 15:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":174015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 15:59:54] local.INFO: GPS data processed {"connection_id":174015,"processed":1,"errors":0,"total":1} 
[2026-09-06 15:59:54] local.INFO: Acknowledgment sent {"connection_id":174015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:00:25] local.INFO: TCP Data received {"connection_id":174015,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:00:25] local.INFO: Processing buffer {"connection_id":174015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07640a840012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:00:25] local.INFO: Packet analysis {"connection_id":174015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 16:00:25] local.INFO: Extracted packet for processing {"connection_id":174015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07640"} 
[2026-09-06 16:00:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904650240001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788690344000,"timestamp_ms":1788690344000,"timestamp_seconds":1788690344,"priority":1,"record_length":96,"hex_timestamp":"000001a07640a840"} 
[2026-09-06 16:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 16:00: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-09-06 16: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-09-06 16:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904650240001,"66":25908,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 16:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904650240001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:00:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:00:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904650240001,"power":25908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":174015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:00:25] local.INFO: GPS data processed {"connection_id":174015,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:00:25] local.INFO: Acknowledgment sent {"connection_id":174015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:00:28] local.INFO: TCP Data received {"connection_id":174016,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:00:28] local.INFO: Processing buffer {"connection_id":174016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:00:28] local.INFO: IMEI packet received {"connection_id":174016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":174016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:00:46] local.INFO: TCP Data received {"connection_id":172621,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:00:46] local.INFO: Processing buffer {"connection_id":172621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:00:46] local.INFO: IMEI packet received {"connection_id":172621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":172621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:00:47] local.INFO: TCP Data received {"connection_id":172621,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:00:47] local.INFO: Processing buffer {"connection_id":172621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:00:47] local.INFO: IMEI packet received {"connection_id":172621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":172621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:00:49] local.INFO: TCP Data received {"connection_id":175336,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:00:49] local.INFO: Processing buffer {"connection_id":175336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:00:49] local.INFO: IMEI packet received {"connection_id":175336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":175336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:00:52] local.INFO: TCP Data received {"connection_id":172621,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:00:53] local.INFO: Processing buffer {"connection_id":172621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:00:53] local.INFO: IMEI packet received {"connection_id":172621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":172621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:00:53] local.INFO: TCP Data received {"connection_id":172621,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:00:53] local.INFO: Processing buffer {"connection_id":172621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:00:53] local.INFO: Packet analysis {"connection_id":172621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:00:53] local.INFO: Extracted packet for processing {"connection_id":172621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904728064001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788690645000,"timestamp_ms":1788690645000,"timestamp_seconds":1788690645,"priority":1,"record_length":96,"hex_timestamp":"000001a076454008"} 
[2026-09-06 16:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 16:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:00: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-09-06 16:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904728064001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904728064001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:00:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904728064001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":172621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:00:53] local.INFO: GPS data processed {"connection_id":172621,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:00:53] local.INFO: Acknowledgment sent {"connection_id":172621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:01:25] local.INFO: TCP Data received {"connection_id":172621,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:01:25] local.INFO: Processing buffer {"connection_id":172621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:01:25] local.INFO: Packet analysis {"connection_id":172621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:01:25] local.INFO: Extracted packet for processing {"connection_id":172621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:01:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904728064001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:01: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-09-06 16:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788690645000,"timestamp_ms":1788690645000,"timestamp_seconds":1788690645,"priority":1,"record_length":96,"hex_timestamp":"000001a076454008"} 
[2026-09-06 16:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 16:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 16:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:01: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-09-06 16:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904728064001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904728064001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:01:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:01:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904728064001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":172621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:01:25] local.INFO: GPS data processed {"connection_id":172621,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:01:25] local.INFO: Acknowledgment sent {"connection_id":172621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:01:47] local.INFO: TCP Data received {"connection_id":174017,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:01:47] local.INFO: Processing buffer {"connection_id":174017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:01:47] local.INFO: IMEI packet received {"connection_id":174017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":174017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:01:53] local.INFO: TCP Data received {"connection_id":174017,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:01:53] local.INFO: Processing buffer {"connection_id":174017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:01:53] local.INFO: IMEI packet received {"connection_id":174017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":174017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:01:54] local.INFO: TCP Data received {"connection_id":174017,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:01:54] local.INFO: Processing buffer {"connection_id":174017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:01:54] local.INFO: Packet analysis {"connection_id":174017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:01:54] local.INFO: Extracted packet for processing {"connection_id":174017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:01:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904728064001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788690645000,"timestamp_ms":1788690645000,"timestamp_seconds":1788690645,"priority":1,"record_length":96,"hex_timestamp":"000001a076454008"} 
[2026-09-06 16:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:01: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-09-06 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 16:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904728064001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904728064001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:01:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:01:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904728064001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":174017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:01:54] local.INFO: GPS data processed {"connection_id":174017,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:01:54] local.INFO: Acknowledgment sent {"connection_id":174017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:02:26] local.INFO: TCP Data received {"connection_id":174017,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:02:26] local.INFO: Processing buffer {"connection_id":174017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:02:26] local.INFO: Packet analysis {"connection_id":174017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:02:26] local.INFO: Extracted packet for processing {"connection_id":174017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:02:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904728064001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788690645000,"timestamp_ms":1788690645000,"timestamp_seconds":1788690645,"priority":1,"record_length":96,"hex_timestamp":"000001a076454008"} 
[2026-09-06 16:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:02: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-09-06 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 16:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:02:26] 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-09-06 16:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904728064001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904728064001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:02:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:02:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904728064001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":174017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:02:26] local.INFO: GPS data processed {"connection_id":174017,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:02:26] local.INFO: Acknowledgment sent {"connection_id":174017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:02:52] local.INFO: TCP Data received {"connection_id":172847,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:02:52] local.INFO: Processing buffer {"connection_id":172847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:02:52] local.INFO: IMEI packet received {"connection_id":172847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":172847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:02:57] local.INFO: TCP Data received {"connection_id":172847,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:02:57] local.INFO: Processing buffer {"connection_id":172847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:02:57] local.INFO: IMEI packet received {"connection_id":172847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":172847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:02:58] local.INFO: TCP Data received {"connection_id":172847,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:02:58] local.INFO: Processing buffer {"connection_id":172847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:02:58] local.INFO: Packet analysis {"connection_id":172847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:02:58] local.INFO: Extracted packet for processing {"connection_id":172847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:02:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904728064001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788690645000,"timestamp_ms":1788690645000,"timestamp_seconds":1788690645,"priority":1,"record_length":96,"hex_timestamp":"000001a076454008"} 
[2026-09-06 16:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:02: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-09-06 16:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 16:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904728064001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904728064001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:02:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:02:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904728064001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":172847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:02:58] local.INFO: GPS data processed {"connection_id":172847,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:02:58] local.INFO: Acknowledgment sent {"connection_id":172847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:03:03] local.INFO: TCP Data received {"connection_id":172847,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:03:03] local.INFO: Processing buffer {"connection_id":172847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:03:03] local.INFO: Packet analysis {"connection_id":172847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:03:03] local.INFO: Extracted packet for processing {"connection_id":172847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904728064001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:03: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-09-06 16:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788690645000,"timestamp_ms":1788690645000,"timestamp_seconds":1788690645,"priority":1,"record_length":96,"hex_timestamp":"000001a076454008"} 
[2026-09-06 16:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:03: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-09-06 16:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 16:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:03:03] 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-09-06 16:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904728064001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904728064001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904728064001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":172847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:03:03] local.INFO: GPS data processed {"connection_id":172847,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:03:03] local.INFO: Acknowledgment sent {"connection_id":172847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:03:47] local.INFO: TCP Data received {"connection_id":175338,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:03:47] local.INFO: Processing buffer {"connection_id":175338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:03:47] local.INFO: IMEI packet received {"connection_id":175338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":175338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:03:52] local.INFO: TCP Data received {"connection_id":175338,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:03:52] local.INFO: Processing buffer {"connection_id":175338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:03:52] local.INFO: IMEI packet received {"connection_id":175338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":175338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:03:53] local.INFO: TCP Data received {"connection_id":175338,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:03:53] local.INFO: Processing buffer {"connection_id":175338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:03:53] local.INFO: Packet analysis {"connection_id":175338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:03:53] local.INFO: Extracted packet for processing {"connection_id":175338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:03:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904728064001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788690645000,"timestamp_ms":1788690645000,"timestamp_seconds":1788690645,"priority":1,"record_length":96,"hex_timestamp":"000001a076454008"} 
[2026-09-06 16:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 16:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:03: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-09-06 16:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904728064001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904728064001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:03:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:03:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904728064001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":175338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:03:53] local.INFO: GPS data processed {"connection_id":175338,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:03:53] local.INFO: Acknowledgment sent {"connection_id":175338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:04:25] local.INFO: TCP Data received {"connection_id":175338,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:04:25] local.INFO: Processing buffer {"connection_id":175338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:04:25] local.INFO: Packet analysis {"connection_id":175338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:04:25] local.INFO: Extracted packet for processing {"connection_id":175338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:04:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904728064001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788690645000,"timestamp_ms":1788690645000,"timestamp_seconds":1788690645,"priority":1,"record_length":96,"hex_timestamp":"000001a076454008"} 
[2026-09-06 16:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 16:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:04:25] 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-09-06 16:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904728064001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904728064001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:04:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:04:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904728064001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":175338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:04:25] local.INFO: GPS data processed {"connection_id":175338,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:04:25] local.INFO: Acknowledgment sent {"connection_id":175338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:04:48] local.INFO: TCP Data received {"connection_id":172623,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:04:48] local.INFO: Processing buffer {"connection_id":172623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:04:48] local.INFO: IMEI packet received {"connection_id":172623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":172623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:04:53] local.INFO: TCP Data received {"connection_id":172623,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:04:53] local.INFO: Processing buffer {"connection_id":172623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:04:53] local.INFO: IMEI packet received {"connection_id":172623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":172623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:04:54] local.INFO: TCP Data received {"connection_id":172623,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:04:54] local.INFO: Processing buffer {"connection_id":172623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:04:54] local.INFO: Packet analysis {"connection_id":172623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:04:54] local.INFO: Extracted packet for processing {"connection_id":172623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:04:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904728064001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788690645000,"timestamp_ms":1788690645000,"timestamp_seconds":1788690645,"priority":1,"record_length":96,"hex_timestamp":"000001a076454008"} 
[2026-09-06 16:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:04: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-09-06 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 16:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:04:54] 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-09-06 16:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904728064001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904728064001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:04:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:04:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904728064001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":172623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:04:54] local.INFO: GPS data processed {"connection_id":172623,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:04:54] local.INFO: Acknowledgment sent {"connection_id":172623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:05:25] local.INFO: TCP Data received {"connection_id":172623,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:05:25] local.INFO: Processing buffer {"connection_id":172623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076454008012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:05:25] local.INFO: Packet analysis {"connection_id":172623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:05:25] local.INFO: Extracted packet for processing {"connection_id":172623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07645"} 
[2026-09-06 16:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904728064001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788690645000,"timestamp_ms":1788690645000,"timestamp_seconds":1788690645,"priority":1,"record_length":96,"hex_timestamp":"000001a076454008"} 
[2026-09-06 16:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-06 16:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:05: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-09-06 16:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904728064001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904728064001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:05:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904728064001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":172623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:05:25] local.INFO: GPS data processed {"connection_id":172623,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:05:25] local.INFO: Acknowledgment sent {"connection_id":172623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:05:47] local.INFO: TCP Data received {"connection_id":174019,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:05:47] local.INFO: Processing buffer {"connection_id":174019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:05:47] local.INFO: IMEI packet received {"connection_id":174019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":174019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:05:48] local.INFO: TCP Data received {"connection_id":174019,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:05:48] local.INFO: Processing buffer {"connection_id":174019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:05:48] local.INFO: IMEI packet received {"connection_id":174019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":174019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:05:52] local.INFO: TCP Data received {"connection_id":174019,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:05:52] local.INFO: Processing buffer {"connection_id":174019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:05:52] local.INFO: IMEI packet received {"connection_id":174019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":174019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:05:53] local.INFO: TCP Data received {"connection_id":174019,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:05:53] local.INFO: Processing buffer {"connection_id":174019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:05:53] local.INFO: Packet analysis {"connection_id":174019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:05:53] local.INFO: Extracted packet for processing {"connection_id":174019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904805120001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788690946000,"timestamp_ms":1788690946000,"timestamp_seconds":1788690946,"priority":1,"record_length":96,"hex_timestamp":"000001a07649d7d0"} 
[2026-09-06 16:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:05: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-09-06 16: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-09-06 16:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:05:53] 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-09-06 16:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904805120001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904805120001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:05:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904805120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":174019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:05:53] local.INFO: GPS data processed {"connection_id":174019,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:05:53] local.INFO: Acknowledgment sent {"connection_id":174019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:06:14] local.INFO: TCP Data received {"connection_id":172624,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:06:14] local.INFO: Processing buffer {"connection_id":172624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:06:14] local.INFO: IMEI packet received {"connection_id":172624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":172624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:06:25] local.INFO: TCP Data received {"connection_id":174019,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:06:25] local.INFO: Processing buffer {"connection_id":174019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:06:25] local.INFO: Packet analysis {"connection_id":174019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:06:25] local.INFO: Extracted packet for processing {"connection_id":174019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:06:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904805120001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788690946000,"timestamp_ms":1788690946000,"timestamp_seconds":1788690946,"priority":1,"record_length":96,"hex_timestamp":"000001a07649d7d0"} 
[2026-09-06 16:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:06: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-09-06 16:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:06: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-09-06 16: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-09-06 16:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:06:25] 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-09-06 16:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904805120001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904805120001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:06:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:06:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904805120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":174019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:06:25] local.INFO: GPS data processed {"connection_id":174019,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:06:25] local.INFO: Acknowledgment sent {"connection_id":174019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:06:47] local.INFO: TCP Data received {"connection_id":174020,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:06:47] local.INFO: Processing buffer {"connection_id":174020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:06:47] local.INFO: IMEI packet received {"connection_id":174020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":174020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:06:49] local.INFO: TCP Data received {"connection_id":175341,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:06:49] local.INFO: Processing buffer {"connection_id":175341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:06:49] local.INFO: IMEI packet received {"connection_id":175341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":175341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:06:52] local.INFO: TCP Data received {"connection_id":174020,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:06:52] local.INFO: Processing buffer {"connection_id":174020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:06:52] local.INFO: IMEI packet received {"connection_id":174020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":174020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:06:53] local.INFO: TCP Data received {"connection_id":174020,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:06:53] local.INFO: Processing buffer {"connection_id":174020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:06:53] local.INFO: Packet analysis {"connection_id":174020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:06:53] local.INFO: Extracted packet for processing {"connection_id":174020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904805120001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788690946000,"timestamp_ms":1788690946000,"timestamp_seconds":1788690946,"priority":1,"record_length":96,"hex_timestamp":"000001a07649d7d0"} 
[2026-09-06 16:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:06: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-09-06 16: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-09-06 16:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:06: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-09-06 16:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904805120001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904805120001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:06:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:06:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904805120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":174020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:06:53] local.INFO: GPS data processed {"connection_id":174020,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:06:53] local.INFO: Acknowledgment sent {"connection_id":174020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:07:25] local.INFO: TCP Data received {"connection_id":174020,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:07:25] local.INFO: Processing buffer {"connection_id":174020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:07:25] local.INFO: Packet analysis {"connection_id":174020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:07:25] local.INFO: Extracted packet for processing {"connection_id":174020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:07:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904805120001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788690946000,"timestamp_ms":1788690946000,"timestamp_seconds":1788690946,"priority":1,"record_length":96,"hex_timestamp":"000001a07649d7d0"} 
[2026-09-06 16:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 16: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:07: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-09-06 16: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-09-06 16:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:07: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-09-06 16:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904805120001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904805120001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:07:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:07:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904805120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":174020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:07:26] local.INFO: GPS data processed {"connection_id":174020,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:07:26] local.INFO: Acknowledgment sent {"connection_id":174020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:07:52] local.INFO: TCP Data received {"connection_id":175343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:07:52] local.INFO: Processing buffer {"connection_id":175343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:07:52] local.INFO: IMEI packet received {"connection_id":175343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":175343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:07:57] local.INFO: TCP Data received {"connection_id":175343,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:07:57] local.INFO: Processing buffer {"connection_id":175343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:07:57] local.INFO: IMEI packet received {"connection_id":175343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":175343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:07:58] local.INFO: TCP Data received {"connection_id":175343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:07:58] local.INFO: Processing buffer {"connection_id":175343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:07:58] local.INFO: Packet analysis {"connection_id":175343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:07:58] local.INFO: Extracted packet for processing {"connection_id":175343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:07:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904805120001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:07: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-09-06 16:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788690946000,"timestamp_ms":1788690946000,"timestamp_seconds":1788690946,"priority":1,"record_length":96,"hex_timestamp":"000001a07649d7d0"} 
[2026-09-06 16:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:07: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-09-06 16:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:07: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-09-06 16:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:07: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-09-06 16:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904805120001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904805120001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:07:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:07:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904805120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":175343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:07:58] local.INFO: GPS data processed {"connection_id":175343,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:07:58] local.INFO: Acknowledgment sent {"connection_id":175343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:08:03] local.INFO: TCP Data received {"connection_id":175343,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:08:03] local.INFO: Processing buffer {"connection_id":175343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:08:03] local.INFO: Packet analysis {"connection_id":175343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:08:03] local.INFO: Extracted packet for processing {"connection_id":175343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904805120001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:08: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-09-06 16:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788690946000,"timestamp_ms":1788690946000,"timestamp_seconds":1788690946,"priority":1,"record_length":96,"hex_timestamp":"000001a07649d7d0"} 
[2026-09-06 16:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:08: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-09-06 16: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:08: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-09-06 16: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-09-06 16:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904805120001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904805120001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:08:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904805120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":175343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:08:03] local.INFO: GPS data processed {"connection_id":175343,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:08:03] local.INFO: Acknowledgment sent {"connection_id":175343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:08:47] local.INFO: TCP Data received {"connection_id":172848,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:08:47] local.INFO: Processing buffer {"connection_id":172848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:08:47] local.INFO: IMEI packet received {"connection_id":172848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":172848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:08:52] local.INFO: TCP Data received {"connection_id":172848,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:08:52] local.INFO: Processing buffer {"connection_id":172848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:08:52] local.INFO: IMEI packet received {"connection_id":172848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":172848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:08:53] local.INFO: TCP Data received {"connection_id":172848,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:08:53] local.INFO: Processing buffer {"connection_id":172848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:08:53] local.INFO: Packet analysis {"connection_id":172848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:08:53] local.INFO: Extracted packet for processing {"connection_id":172848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904805120001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788690946000,"timestamp_ms":1788690946000,"timestamp_seconds":1788690946,"priority":1,"record_length":96,"hex_timestamp":"000001a07649d7d0"} 
[2026-09-06 16:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:08: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-09-06 16: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:08: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-09-06 16: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-09-06 16:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904805120001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904805120001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:08:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904805120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":172848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:08:53] local.INFO: GPS data processed {"connection_id":172848,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:08:53] local.INFO: Acknowledgment sent {"connection_id":172848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:09:24] local.INFO: TCP Data received {"connection_id":172848,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:09:24] local.INFO: Processing buffer {"connection_id":172848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:09:24] local.INFO: Packet analysis {"connection_id":172848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:09:24] local.INFO: Extracted packet for processing {"connection_id":172848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:09:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904805120001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788690946000,"timestamp_ms":1788690946000,"timestamp_seconds":1788690946,"priority":1,"record_length":96,"hex_timestamp":"000001a07649d7d0"} 
[2026-09-06 16:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:09: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-09-06 16: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-09-06 16:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:09: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-09-06 16:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904805120001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904805120001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:09:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:09:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904805120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":172848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:09:25] local.INFO: GPS data processed {"connection_id":172848,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:09:25] local.INFO: Acknowledgment sent {"connection_id":172848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:09:47] local.INFO: TCP Data received {"connection_id":174022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:09:47] local.INFO: Processing buffer {"connection_id":174022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:09:47] local.INFO: IMEI packet received {"connection_id":174022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":174022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:09:52] local.INFO: TCP Data received {"connection_id":174022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:09:52] local.INFO: Processing buffer {"connection_id":174022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:09:52] local.INFO: IMEI packet received {"connection_id":174022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":174022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:09:53] local.INFO: TCP Data received {"connection_id":174022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:09:54] local.INFO: Processing buffer {"connection_id":174022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:09:54] local.INFO: Packet analysis {"connection_id":174022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:09:54] local.INFO: Extracted packet for processing {"connection_id":174022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:09:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904805120001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:09: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-09-06 16:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788690946000,"timestamp_ms":1788690946000,"timestamp_seconds":1788690946,"priority":1,"record_length":96,"hex_timestamp":"000001a07649d7d0"} 
[2026-09-06 16:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:09: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-09-06 16: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:09: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-09-06 16: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-09-06 16:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:09: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-09-06 16:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904805120001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904805120001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:09:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:09:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904805120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":174022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:09:54] local.INFO: GPS data processed {"connection_id":174022,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:09:54] local.INFO: Acknowledgment sent {"connection_id":174022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:10:25] local.INFO: TCP Data received {"connection_id":174022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:10:25] local.INFO: Processing buffer {"connection_id":174022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07649d7d0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:10:25] local.INFO: Packet analysis {"connection_id":174022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:10:25] local.INFO: Extracted packet for processing {"connection_id":174022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07649"} 
[2026-09-06 16:10:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904805120001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788690946000,"timestamp_ms":1788690946000,"timestamp_seconds":1788690946,"priority":1,"record_length":96,"hex_timestamp":"000001a07649d7d0"} 
[2026-09-06 16:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:10: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-09-06 16: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:10: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-09-06 16: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-09-06 16:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:10: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-09-06 16:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904805120001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904805120001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:10:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:10:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904805120001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":174022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:10:25] local.INFO: GPS data processed {"connection_id":174022,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:10:25] local.INFO: Acknowledgment sent {"connection_id":174022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:10:47] local.INFO: TCP Data received {"connection_id":172625,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:10:47] local.INFO: Processing buffer {"connection_id":172625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:10:47] local.INFO: IMEI packet received {"connection_id":172625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":172625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:10:48] local.INFO: TCP Data received {"connection_id":172625,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:10:48] local.INFO: Processing buffer {"connection_id":172625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:10:48] local.INFO: IMEI packet received {"connection_id":172625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":172625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:10:52] local.INFO: TCP Data received {"connection_id":172625,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:10:52] local.INFO: Processing buffer {"connection_id":172625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:10:52] local.INFO: IMEI packet received {"connection_id":172625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":172625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:10:54] local.INFO: TCP Data received {"connection_id":172625,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:10:54] local.INFO: Processing buffer {"connection_id":172625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:10:54] local.INFO: Packet analysis {"connection_id":172625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:10:54] local.INFO: Extracted packet for processing {"connection_id":172625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:10:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904882176001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788691247000,"timestamp_ms":1788691247000,"timestamp_seconds":1788691247,"priority":1,"record_length":96,"hex_timestamp":"000001a0764e6f98"} 
[2026-09-06 16:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:10: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-09-06 16: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:10:54] 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-09-06 16: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-09-06 16:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:10: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-09-06 16:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904882176001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904882176001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:10:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:10:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904882176001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":172625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:10:54] local.INFO: GPS data processed {"connection_id":172625,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:10:54] local.INFO: Acknowledgment sent {"connection_id":172625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:11:26] local.INFO: TCP Data received {"connection_id":172625,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:11:26] local.INFO: Processing buffer {"connection_id":172625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:11:26] local.INFO: Packet analysis {"connection_id":172625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:11:26] local.INFO: Extracted packet for processing {"connection_id":172625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:11:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904882176001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788691247000,"timestamp_ms":1788691247000,"timestamp_seconds":1788691247,"priority":1,"record_length":96,"hex_timestamp":"000001a0764e6f98"} 
[2026-09-06 16:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 16:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:11: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-09-06 16: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-09-06 16:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:11: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-09-06 16:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904882176001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904882176001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:11:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:11:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904882176001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":172625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:11:26] local.INFO: GPS data processed {"connection_id":172625,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:11:26] local.INFO: Acknowledgment sent {"connection_id":172625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:11:47] local.INFO: TCP Data received {"connection_id":172849,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:11:47] local.INFO: Processing buffer {"connection_id":172849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:11:47] local.INFO: IMEI packet received {"connection_id":172849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":172849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:11:52] local.INFO: TCP Data received {"connection_id":172849,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:11:52] local.INFO: Processing buffer {"connection_id":172849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:11:52] local.INFO: IMEI packet received {"connection_id":172849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":172849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:11:53] local.INFO: TCP Data received {"connection_id":172849,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:11:53] local.INFO: Processing buffer {"connection_id":172849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:11:53] local.INFO: Packet analysis {"connection_id":172849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:11:53] local.INFO: Extracted packet for processing {"connection_id":172849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:11:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904882176001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788691247000,"timestamp_ms":1788691247000,"timestamp_seconds":1788691247,"priority":1,"record_length":96,"hex_timestamp":"000001a0764e6f98"} 
[2026-09-06 16:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:11: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-09-06 16:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:11: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-09-06 16:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:11: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-09-06 16:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904882176001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904882176001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:11:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:11:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904882176001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":172849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:11:53] local.INFO: GPS data processed {"connection_id":172849,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:11:53] local.INFO: Acknowledgment sent {"connection_id":172849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:12:24] local.INFO: TCP Data received {"connection_id":172849,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:12:24] local.INFO: Processing buffer {"connection_id":172849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:12:24] local.INFO: Packet analysis {"connection_id":172849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:12:24] local.INFO: Extracted packet for processing {"connection_id":172849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904882176001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788691247000,"timestamp_ms":1788691247000,"timestamp_seconds":1788691247,"priority":1,"record_length":96,"hex_timestamp":"000001a0764e6f98"} 
[2026-09-06 16:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:12: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-09-06 16: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:12: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-09-06 16: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-09-06 16:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:12: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-09-06 16:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904882176001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904882176001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:12:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904882176001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":172849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:12:24] local.INFO: GPS data processed {"connection_id":172849,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:12:24] local.INFO: Acknowledgment sent {"connection_id":172849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:12:45] local.INFO: TCP Data received {"connection_id":172626,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:12:45] local.INFO: Processing buffer {"connection_id":172626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:12:45] local.INFO: IMEI packet received {"connection_id":172626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":172626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:12:47] local.INFO: TCP Data received {"connection_id":175345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:12:47] local.INFO: Processing buffer {"connection_id":175345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:12:47] local.INFO: IMEI packet received {"connection_id":175345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":175345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:12:52] local.INFO: TCP Data received {"connection_id":175345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:12:52] local.INFO: Processing buffer {"connection_id":175345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:12:52] local.INFO: IMEI packet received {"connection_id":175345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":175345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:12:53] local.INFO: TCP Data received {"connection_id":175345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:12:53] local.INFO: Processing buffer {"connection_id":175345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:12:53] local.INFO: Packet analysis {"connection_id":175345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:12:53] local.INFO: Extracted packet for processing {"connection_id":175345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:12:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904882176001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788691247000,"timestamp_ms":1788691247000,"timestamp_seconds":1788691247,"priority":1,"record_length":96,"hex_timestamp":"000001a0764e6f98"} 
[2026-09-06 16:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:12: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-09-06 16: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-09-06 16:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:12: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-09-06 16:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904882176001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904882176001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:12:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:12:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904882176001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":175345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:12:53] local.INFO: GPS data processed {"connection_id":175345,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:12:53] local.INFO: Acknowledgment sent {"connection_id":175345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:13:24] local.INFO: TCP Data received {"connection_id":175345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:13:24] local.INFO: Processing buffer {"connection_id":175345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:13:24] local.INFO: Packet analysis {"connection_id":175345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:13:24] local.INFO: Extracted packet for processing {"connection_id":175345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:13:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904882176001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788691247000,"timestamp_ms":1788691247000,"timestamp_seconds":1788691247,"priority":1,"record_length":96,"hex_timestamp":"000001a0764e6f98"} 
[2026-09-06 16:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:13: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-09-06 16: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:13: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-09-06 16: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-09-06 16:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:13: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-09-06 16:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904882176001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904882176001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:13:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:13:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904882176001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":175345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:13:24] local.INFO: GPS data processed {"connection_id":175345,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:13:24] local.INFO: Acknowledgment sent {"connection_id":175345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:13:52] local.INFO: TCP Data received {"connection_id":172627,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:13:52] local.INFO: Processing buffer {"connection_id":172627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:13:52] local.INFO: IMEI packet received {"connection_id":172627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":172627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:13:57] local.INFO: TCP Data received {"connection_id":172627,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:13:57] local.INFO: Processing buffer {"connection_id":172627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:13:57] local.INFO: IMEI packet received {"connection_id":172627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":172627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:13:59] local.INFO: TCP Data received {"connection_id":172627,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:13:59] local.INFO: Processing buffer {"connection_id":172627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:13:59] local.INFO: Packet analysis {"connection_id":172627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:13:59] local.INFO: Extracted packet for processing {"connection_id":172627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904882176001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:13: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-09-06 16:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788691247000,"timestamp_ms":1788691247000,"timestamp_seconds":1788691247,"priority":1,"record_length":96,"hex_timestamp":"000001a0764e6f98"} 
[2026-09-06 16:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:13: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-09-06 16:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:13:59] 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-09-06 16:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904882176001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904882176001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:13:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:13:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904882176001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":172627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:13:59] local.INFO: GPS data processed {"connection_id":172627,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:13:59] local.INFO: Acknowledgment sent {"connection_id":172627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:14:03] local.INFO: TCP Data received {"connection_id":172627,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:14:03] local.INFO: Processing buffer {"connection_id":172627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:14:03] local.INFO: Packet analysis {"connection_id":172627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:14:03] local.INFO: Extracted packet for processing {"connection_id":172627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904882176001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:14: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-09-06 16:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788691247000,"timestamp_ms":1788691247000,"timestamp_seconds":1788691247,"priority":1,"record_length":96,"hex_timestamp":"000001a0764e6f98"} 
[2026-09-06 16:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:14: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-09-06 16:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904882176001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904882176001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:14:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904882176001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":172627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:14:03] local.INFO: GPS data processed {"connection_id":172627,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:14:03] local.INFO: Acknowledgment sent {"connection_id":172627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:14:47] local.INFO: TCP Data received {"connection_id":174025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:14:47] local.INFO: Processing buffer {"connection_id":174025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:14:47] local.INFO: IMEI packet received {"connection_id":174025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":174025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:14:52] local.INFO: TCP Data received {"connection_id":174025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:14:52] local.INFO: Processing buffer {"connection_id":174025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:14:52] local.INFO: IMEI packet received {"connection_id":174025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":174025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:14:53] local.INFO: TCP Data received {"connection_id":174025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:14:53] local.INFO: Processing buffer {"connection_id":174025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:14:53] local.INFO: Packet analysis {"connection_id":174025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:14:53] local.INFO: Extracted packet for processing {"connection_id":174025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:14:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 16:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904882176001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 16:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788691247000,"timestamp_ms":1788691247000,"timestamp_seconds":1788691247,"priority":1,"record_length":96,"hex_timestamp":"000001a0764e6f98"} 
[2026-09-06 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-09-06 16: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-09-06 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:14: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-09-06 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-09-06 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-09-06 16:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:14: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-09-06 16:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904882176001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904882176001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:14:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904882176001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":174025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:14:53] local.INFO: GPS data processed {"connection_id":174025,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:14:53] local.INFO: Acknowledgment sent {"connection_id":174025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:15:25] local.INFO: TCP Data received {"connection_id":174025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:15:25] local.INFO: Processing buffer {"connection_id":174025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0764e6f98012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:15:25] local.INFO: Packet analysis {"connection_id":174025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:15:25] local.INFO: Extracted packet for processing {"connection_id":174025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0764e"} 
[2026-09-06 16:15:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904882176001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788691247000,"timestamp_ms":1788691247000,"timestamp_seconds":1788691247,"priority":1,"record_length":96,"hex_timestamp":"000001a0764e6f98"} 
[2026-09-06 16:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:15: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-09-06 16:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:15: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-09-06 16:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:15: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-09-06 16:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904882176001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904882176001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:15:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:15:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904882176001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":174025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:15:25] local.INFO: GPS data processed {"connection_id":174025,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:15:25] local.INFO: Acknowledgment sent {"connection_id":174025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:15:47] local.INFO: TCP Data received {"connection_id":172851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:15:47] local.INFO: Processing buffer {"connection_id":172851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:15:47] local.INFO: IMEI packet received {"connection_id":172851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":172851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:15:49] local.INFO: TCP Data received {"connection_id":172851,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:15:49] local.INFO: Processing buffer {"connection_id":172851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:15:49] local.INFO: IMEI packet received {"connection_id":172851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":172851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:15:51] local.INFO: TCP Data received {"connection_id":172851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:15:51] local.INFO: Processing buffer {"connection_id":172851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:15:51] local.INFO: Packet analysis {"connection_id":172851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:15:51] local.INFO: Extracted packet for processing {"connection_id":172851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:15:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904959232001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788691547000,"timestamp_ms":1788691547000,"timestamp_seconds":1788691547,"priority":1,"record_length":96,"hex_timestamp":"000001a076530378"} 
[2026-09-06 16:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 16: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 16:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":172851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":172851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":172851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:15: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-09-06 16:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904959232001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904959232001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:15:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:15:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904959232001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":172851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:15:51] local.INFO: GPS data processed {"connection_id":172851,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:15:51] local.INFO: Acknowledgment sent {"connection_id":172851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:16:23] local.INFO: TCP Data received {"connection_id":172851,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:16:23] local.INFO: Processing buffer {"connection_id":172851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:16:23] local.INFO: Packet analysis {"connection_id":172851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:16:23] local.INFO: Extracted packet for processing {"connection_id":172851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:16:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904959232001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788691547000,"timestamp_ms":1788691547000,"timestamp_seconds":1788691547,"priority":1,"record_length":96,"hex_timestamp":"000001a076530378"} 
[2026-09-06 16:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:16: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-09-06 16: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 16:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:16: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-09-06 16:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904959232001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904959232001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:16:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:16:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904959232001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":172851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:16:23] local.INFO: GPS data processed {"connection_id":172851,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:16:23] local.INFO: Acknowledgment sent {"connection_id":172851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:16:47] local.INFO: TCP Data received {"connection_id":174027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:16:47] local.INFO: Processing buffer {"connection_id":174027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:16:47] local.INFO: IMEI packet received {"connection_id":174027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":174027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:16:52] local.INFO: TCP Data received {"connection_id":174027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:16:52] local.INFO: Processing buffer {"connection_id":174027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:16:52] local.INFO: IMEI packet received {"connection_id":174027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":174027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:16:53] local.INFO: TCP Data received {"connection_id":174027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:16:53] local.INFO: Processing buffer {"connection_id":174027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:16:53] local.INFO: Packet analysis {"connection_id":174027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:16:53] local.INFO: Extracted packet for processing {"connection_id":174027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:16:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904959232001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788691547000,"timestamp_ms":1788691547000,"timestamp_seconds":1788691547,"priority":1,"record_length":96,"hex_timestamp":"000001a076530378"} 
[2026-09-06 16:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 16:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:16: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-09-06 16:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904959232001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904959232001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:16:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:16:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904959232001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":174027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:16:53] local.INFO: GPS data processed {"connection_id":174027,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:16:53] local.INFO: Acknowledgment sent {"connection_id":174027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:17:15] local.INFO: TCP Data received {"connection_id":172852,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:17:15] local.INFO: Processing buffer {"connection_id":172852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:17:15] local.INFO: IMEI packet received {"connection_id":172852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":172852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:17:16] local.INFO: TCP Data received {"connection_id":172852,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:17:16] local.INFO: Processing buffer {"connection_id":172852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:17:16] local.INFO: IMEI packet received {"connection_id":172852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":172852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:17:22] local.INFO: TCP Data received {"connection_id":172852,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:17:22] local.INFO: Processing buffer {"connection_id":172852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:17:22] local.INFO: IMEI packet received {"connection_id":172852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":172852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:17:25] local.INFO: TCP Data received {"connection_id":174027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:17:25] local.INFO: Processing buffer {"connection_id":174027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:17:25] local.INFO: Packet analysis {"connection_id":174027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:17:25] local.INFO: Extracted packet for processing {"connection_id":174027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:17:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904959232001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788691547000,"timestamp_ms":1788691547000,"timestamp_seconds":1788691547,"priority":1,"record_length":96,"hex_timestamp":"000001a076530378"} 
[2026-09-06 16:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 16:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:17: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-09-06 16:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904959232001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904959232001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:17:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:17:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904959232001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":174027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:17:25] local.INFO: GPS data processed {"connection_id":174027,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:17:25] local.INFO: Acknowledgment sent {"connection_id":174027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:17:47] local.INFO: TCP Data received {"connection_id":172853,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:17:47] local.INFO: Processing buffer {"connection_id":172853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:17:47] local.INFO: IMEI packet received {"connection_id":172853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":172853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:17:52] local.INFO: TCP Data received {"connection_id":172853,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:17:52] local.INFO: Processing buffer {"connection_id":172853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:17:52] local.INFO: IMEI packet received {"connection_id":172853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":172853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:17:53] local.INFO: TCP Data received {"connection_id":172853,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:17:53] local.INFO: Processing buffer {"connection_id":172853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:17:53] local.INFO: Packet analysis {"connection_id":172853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:17:53] local.INFO: Extracted packet for processing {"connection_id":172853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904959232001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788691547000,"timestamp_ms":1788691547000,"timestamp_seconds":1788691547,"priority":1,"record_length":96,"hex_timestamp":"000001a076530378"} 
[2026-09-06 16:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 16:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16: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-09-06 16:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904959232001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904959232001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:17:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904959232001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":172853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:17:53] local.INFO: GPS data processed {"connection_id":172853,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:17:53] local.INFO: Acknowledgment sent {"connection_id":172853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:18:02] local.INFO: TCP Data received {"connection_id":172852,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:18:02] local.INFO: Processing buffer {"connection_id":172852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:18:02] local.INFO: IMEI packet received {"connection_id":172852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":172852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:18:03] local.INFO: TCP Data received {"connection_id":172852,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 16:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172852,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 16:18:03] local.INFO: Processing buffer {"connection_id":172852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-06 16:18:03] local.INFO: Packet analysis {"connection_id":172852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-06 16:18:03] local.INFO: Extracted packet for processing {"connection_id":172852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-06 16:18:03] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 16:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128999046382616576,"note":"Value kept but may cause issues"} 
[2026-09-06 16:18:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 16:18:03] 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-09-06 16:18:03] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 16:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172852,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172852,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 16:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172852,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 16:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 16:18:03] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 16:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":172852,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 16:18:03] local.ERROR: GPS data processing failed {"connection_id":172852,"error":"No valid data to process"} 
[2026-09-06 16:18:03] local.INFO: Acknowledgment sent {"connection_id":172852,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 16:18:04] local.INFO: TCP Data received {"connection_id":172852,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-06 16:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172852,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-06 16:18:04] local.INFO: Processing buffer {"connection_id":172852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-06 16:18:04] local.INFO: Packet analysis {"connection_id":172852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 16:18:04] local.INFO: Extracted packet for processing {"connection_id":172852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 16:18: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-09-06 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-09-06 16:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128999046382616576,"note":"Value kept but may cause issues"} 
[2026-09-06 16:18:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 16:18:04] 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-09-06 16:18:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 16:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172852,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172852,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 16:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172852,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 16:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 16:18:04] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 16:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":172852,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 16:18:04] local.ERROR: GPS data processing failed {"connection_id":172852,"error":"No valid data to process"} 
[2026-09-06 16:18:04] local.INFO: Acknowledgment sent {"connection_id":172852,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 16:18:09] local.INFO: TCP Data received {"connection_id":172854,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:18:09] local.INFO: Processing buffer {"connection_id":172854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:18:09] local.INFO: IMEI packet received {"connection_id":172854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":172854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:18:28] local.INFO: TCP Data received {"connection_id":172853,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:18:28] local.INFO: Processing buffer {"connection_id":172853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:18:28] local.INFO: Packet analysis {"connection_id":172853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:18:28] local.INFO: Extracted packet for processing {"connection_id":172853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:18:28] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904959232001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:18: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-09-06 16:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788691547000,"timestamp_ms":1788691547000,"timestamp_seconds":1788691547,"priority":1,"record_length":96,"hex_timestamp":"000001a076530378"} 
[2026-09-06 16:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:18: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-09-06 16: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 16:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904959232001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904959232001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:18:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:18:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904959232001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":172853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:18:28] local.INFO: GPS data processed {"connection_id":172853,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:18:28] local.INFO: Acknowledgment sent {"connection_id":172853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:18:36] local.INFO: TCP Data received {"connection_id":172852,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-06 16:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-06 16:18:36] local.INFO: Processing buffer {"connection_id":172852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-06 16:18:36] local.INFO: Packet analysis {"connection_id":172852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 16:18:36] local.INFO: Extracted packet for processing {"connection_id":172852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 16:18: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-09-06 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-09-06 16:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128999046382616576,"note":"Value kept but may cause issues"} 
[2026-09-06 16:18:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 16:18:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":89000,"timestamp_seconds":89,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 16:18:36] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 16:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172852,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172852,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 16:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172852,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 16:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 16:18:36] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 16:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":172852,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 16:18:36] local.ERROR: GPS data processing failed {"connection_id":172852,"error":"No valid data to process"} 
[2026-09-06 16:18:36] local.INFO: Acknowledgment sent {"connection_id":172852,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 16:18:47] local.INFO: TCP Data received {"connection_id":175348,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:18:47] local.INFO: Processing buffer {"connection_id":175348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:18:47] local.INFO: IMEI packet received {"connection_id":175348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":175348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:18:49] local.INFO: TCP Data received {"connection_id":174028,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:18:49] local.INFO: Processing buffer {"connection_id":174028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:18:49] local.INFO: IMEI packet received {"connection_id":174028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":174028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:18:52] local.INFO: TCP Data received {"connection_id":175348,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:18:52] local.INFO: Processing buffer {"connection_id":175348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:18:52] local.INFO: IMEI packet received {"connection_id":175348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":175348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:18:53] local.INFO: TCP Data received {"connection_id":175348,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:18:53] local.INFO: Processing buffer {"connection_id":175348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:18:53] local.INFO: Packet analysis {"connection_id":175348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:18:53] local.INFO: Extracted packet for processing {"connection_id":175348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:18:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904959232001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788691547000,"timestamp_ms":1788691547000,"timestamp_seconds":1788691547,"priority":1,"record_length":96,"hex_timestamp":"000001a076530378"} 
[2026-09-06 16:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 16:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:18: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-09-06 16:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904959232001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904959232001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:18:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904959232001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":175348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:18:53] local.INFO: GPS data processed {"connection_id":175348,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:18:53] local.INFO: Acknowledgment sent {"connection_id":175348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:19:07] local.INFO: TCP Data received {"connection_id":172852,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-06 16:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172852,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-06 16:19:07] local.INFO: Processing buffer {"connection_id":172852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-06 16:19:07] local.INFO: Packet analysis {"connection_id":172852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 16:19:07] local.INFO: Extracted packet for processing {"connection_id":172852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-06 16:19: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-09-06 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-09-06 16:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128999046382616576,"note":"Value kept but may cause issues"} 
[2026-09-06 16:19:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,208,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 16:19:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":110000,"timestamp_seconds":110,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 16:19:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-06 16:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172852,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172852,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 16:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172852,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-06 16:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-06 16:19:07] local.WARNING: DEBUG: No valid data to process  
[2026-09-06 16:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":172852,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-06 16:19:07] local.ERROR: GPS data processing failed {"connection_id":172852,"error":"No valid data to process"} 
[2026-09-06 16:19:07] local.INFO: Acknowledgment sent {"connection_id":172852,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-06 16:19:25] local.INFO: TCP Data received {"connection_id":175348,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:19:25] local.INFO: Processing buffer {"connection_id":175348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:19:25] local.INFO: Packet analysis {"connection_id":175348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:19:25] local.INFO: Extracted packet for processing {"connection_id":175348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:19:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904959232001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788691547000,"timestamp_ms":1788691547000,"timestamp_seconds":1788691547,"priority":1,"record_length":96,"hex_timestamp":"000001a076530378"} 
[2026-09-06 16:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 16:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:19: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-09-06 16:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904959232001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904959232001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:19:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:19:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904959232001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":175348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:19:25] local.INFO: GPS data processed {"connection_id":175348,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:19:25] local.INFO: Acknowledgment sent {"connection_id":175348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:19:38] local.INFO: TCP Data received {"connection_id":172852,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076559f700100000000000000000000000000..."} 
[2026-09-06 16:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076559f700100000000000000000000000000..."} 
[2026-09-06 16:19:38] local.INFO: Processing buffer {"connection_id":172852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076559f700100000000000000000000000000..."} 
[2026-09-06 16:19:38] local.INFO: Packet analysis {"connection_id":172852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07655"} 
[2026-09-06 16:19:38] local.INFO: Extracted packet for processing {"connection_id":172852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07655"} 
[2026-09-06 16:19: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-09-06 16:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128999046382616576,"note":"Value kept but may cause issues"} 
[2026-09-06 16:19:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,208,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 16:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788691718000,"timestamp_ms":1788691718000,"timestamp_seconds":1788691718,"priority":1,"record_length":96,"hex_timestamp":"000001a076559f70"} 
[2026-09-06 16:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-06 16:19:38] 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-09-06 16:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":172852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":172852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":172852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:19:38] 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-09-06 16:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":172852,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 16:19:38] local.INFO: GPS data processed {"connection_id":172852,"processed":0,"errors":0,"total":1} 
[2026-09-06 16:19:38] local.INFO: Acknowledgment sent {"connection_id":172852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:19:47] local.INFO: TCP Data received {"connection_id":174029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:19:47] local.INFO: Processing buffer {"connection_id":174029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:19:47] local.INFO: IMEI packet received {"connection_id":174029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":174029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:19:52] local.INFO: TCP Data received {"connection_id":174029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:19:52] local.INFO: Processing buffer {"connection_id":174029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:19:52] local.INFO: IMEI packet received {"connection_id":174029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":174029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:19:53] local.INFO: TCP Data received {"connection_id":174029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:19:53] local.INFO: Processing buffer {"connection_id":174029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:19:53] local.INFO: Packet analysis {"connection_id":174029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:19:53] local.INFO: Extracted packet for processing {"connection_id":174029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:19:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904959232001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788691547000,"timestamp_ms":1788691547000,"timestamp_seconds":1788691547,"priority":1,"record_length":96,"hex_timestamp":"000001a076530378"} 
[2026-09-06 16:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:19: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-09-06 16: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 16:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:19: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-09-06 16:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904959232001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904959232001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:19:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:19:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904959232001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":174029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:19:53] local.INFO: GPS data processed {"connection_id":174029,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:19:53] local.INFO: Acknowledgment sent {"connection_id":174029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:20:09] local.INFO: TCP Data received {"connection_id":172852,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07655f1780100000000000000000000000000..."} 
[2026-09-06 16:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07655f1780100000000000000000000000000..."} 
[2026-09-06 16:20:09] local.INFO: Processing buffer {"connection_id":172852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07655f1780100000000000000000000000000..."} 
[2026-09-06 16:20:09] local.INFO: Packet analysis {"connection_id":172852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07655"} 
[2026-09-06 16:20:09] local.INFO: Extracted packet for processing {"connection_id":172852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07655"} 
[2026-09-06 16:20:09] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 16:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128999046382616576,"note":"Value kept but may cause issues"} 
[2026-09-06 16:20:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,208,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 16:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788691739000,"timestamp_ms":1788691739000,"timestamp_seconds":1788691739,"priority":1,"record_length":96,"hex_timestamp":"000001a07655f178"} 
[2026-09-06 16:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:20:09] 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-09-06 16: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-06 16:20:09] 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-09-06 16: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-09-06 16:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:20:09] 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-09-06 16:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":172852,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 16:20:09] local.INFO: GPS data processed {"connection_id":172852,"processed":0,"errors":0,"total":1} 
[2026-09-06 16:20:09] local.INFO: Acknowledgment sent {"connection_id":172852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:20:24] local.INFO: TCP Data received {"connection_id":174029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:20:24] local.INFO: Processing buffer {"connection_id":174029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076530378012d34c50006aa3d30000e013529..."} 
[2026-09-06 16:20:24] local.INFO: Packet analysis {"connection_id":174029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:20:24] local.INFO: Extracted packet for processing {"connection_id":174029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07653"} 
[2026-09-06 16:20:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457904959232001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788691547000,"timestamp_ms":1788691547000,"timestamp_seconds":1788691547,"priority":1,"record_length":96,"hex_timestamp":"000001a076530378"} 
[2026-09-06 16:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 16:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 16:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:20: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-09-06 16:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457904959232001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457904959232001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:20:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:20:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457904959232001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":174029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:20:24] local.INFO: GPS data processed {"connection_id":174029,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:20:24] local.INFO: Acknowledgment sent {"connection_id":174029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:20:40] local.INFO: TCP Data received {"connection_id":172852,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0765643800100000000000000000000000000..."} 
[2026-09-06 16:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765643800100000000000000000000000000..."} 
[2026-09-06 16:20:40] local.INFO: Processing buffer {"connection_id":172852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765643800100000000000000000000000000..."} 
[2026-09-06 16:20:40] local.INFO: Packet analysis {"connection_id":172852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07656"} 
[2026-09-06 16:20:40] local.INFO: Extracted packet for processing {"connection_id":172852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07656"} 
[2026-09-06 16:20:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 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-09-06 16:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":128999046382616576,"note":"Value kept but may cause issues"} 
[2026-09-06 16:20:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,208,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 16:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788691760000,"timestamp_ms":1788691760000,"timestamp_seconds":1788691760,"priority":1,"record_length":96,"hex_timestamp":"000001a076564380"} 
[2026-09-06 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-09-06 16:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":138,"data_length":795,"current_offset":136} 
[2026-09-06 16:20: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-09-06 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-09-06 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-09-06 16:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":172852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":172852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":172852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:20: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-09-06 16:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":172852,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 16:20:40] local.INFO: GPS data processed {"connection_id":172852,"processed":0,"errors":0,"total":1} 
[2026-09-06 16:20:40] local.INFO: Acknowledgment sent {"connection_id":172852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:20:47] local.INFO: TCP Data received {"connection_id":174031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:20:47] local.INFO: Processing buffer {"connection_id":174031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:20:47] local.INFO: IMEI packet received {"connection_id":174031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":174031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:20:50] local.INFO: TCP Data received {"connection_id":174031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:20:50] local.INFO: Processing buffer {"connection_id":174031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:20:50] local.INFO: IMEI packet received {"connection_id":174031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":174031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:20:52] local.INFO: TCP Data received {"connection_id":174031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:20:52] local.INFO: Processing buffer {"connection_id":174031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:20:52] local.INFO: IMEI packet received {"connection_id":174031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":174031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:20:53] local.INFO: TCP Data received {"connection_id":174031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:20:53] local.INFO: Processing buffer {"connection_id":174031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:20:53] local.INFO: Packet analysis {"connection_id":174031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:20:53] local.INFO: Extracted packet for processing {"connection_id":174031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905036032001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788691845000,"timestamp_ms":1788691845000,"timestamp_seconds":1788691845,"priority":1,"record_length":96,"hex_timestamp":"000001a076578f88"} 
[2026-09-06 16:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:20: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-09-06 16: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-09-06 16:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:20: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-09-06 16:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905036032001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905036032001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:20:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905036032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":174031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:20:53] local.INFO: GPS data processed {"connection_id":174031,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:20:53] local.INFO: Acknowledgment sent {"connection_id":174031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:21:11] local.INFO: TCP Data received {"connection_id":172852,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076578f88012d7b138005e2f8e0001300b30a..."} 
[2026-09-06 16:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076578f88012d7b138005e2f8e0001300b30a..."} 
[2026-09-06 16:21:11] local.INFO: Processing buffer {"connection_id":172852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076578f88012d7b138005e2f8e0001300b30a..."} 
[2026-09-06 16:21:11] local.INFO: Packet analysis {"connection_id":172852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:21:11] local.INFO: Extracted packet for processing {"connection_id":172852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763040640,"raw_latitude":98760928,"longitude_deg":76.304064,"latitude_deg":9.8760928,"altitude":19,"angle":179,"satellites":10,"speed":27,"hex_longitude":"2d7b1380","hex_latitude":"05e2f8e0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 16:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905108736001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129000171664048128,"note":"Value kept but may cause issues"} 
[2026-09-06 16:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866391422926669824,"note":"Value kept but may cause issues"} 
[2026-09-06 16:21: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-09-06 16:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788691845000,"timestamp_ms":1788691845000,"timestamp_seconds":1788691845,"priority":1,"record_length":96,"hex_timestamp":"000001a076578f88"} 
[2026-09-06 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-09-06 16:21:11] 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-09-06 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":203,"data_length":795,"current_offset":136} 
[2026-09-06 16:21:11] 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-09-06 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-09-06 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-09-06 16:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:21: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-09-06 16:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905108736001,"66":13580,"208":206,"85":15104,"24":27,"16":129000171664048128,"45":8866391422926669824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-06 16:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905108736001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:21:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-06 16:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129000171664048128,"km_value":129000171664048.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866391422926669824,"description":"Unknown IO ID 45"} 
[2026-09-06 16:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905108736001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8866391422926669824}} 
[2026-09-06 16:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":172852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:21:11] local.INFO: GPS data processed {"connection_id":172852,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:21:11] local.INFO: Acknowledgment sent {"connection_id":172852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:21:24] local.INFO: TCP Data received {"connection_id":174031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:21:24] local.INFO: Processing buffer {"connection_id":174031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:21:24] local.INFO: Packet analysis {"connection_id":174031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:21:24] local.INFO: Extracted packet for processing {"connection_id":174031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:21:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905036032001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788691845000,"timestamp_ms":1788691845000,"timestamp_seconds":1788691845,"priority":1,"record_length":96,"hex_timestamp":"000001a076578f88"} 
[2026-09-06 16:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:21: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-09-06 16: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-09-06 16:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:21: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-09-06 16:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905036032001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905036032001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:21:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:21:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905036032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":174031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:21:24] local.INFO: GPS data processed {"connection_id":174031,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:21:24] local.INFO: Acknowledgment sent {"connection_id":174031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:21:47] local.INFO: TCP Data received {"connection_id":172856,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:21:47] local.INFO: Processing buffer {"connection_id":172856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:21:47] local.INFO: IMEI packet received {"connection_id":172856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":172856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:21:52] local.INFO: TCP Data received {"connection_id":172856,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:21:52] local.INFO: Processing buffer {"connection_id":172856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:21:52] local.INFO: IMEI packet received {"connection_id":172856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":172856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:21:53] local.INFO: TCP Data received {"connection_id":172856,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:21:53] local.INFO: Processing buffer {"connection_id":172856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:21:53] local.INFO: Packet analysis {"connection_id":172856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:21:53] local.INFO: Extracted packet for processing {"connection_id":172856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905036032001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788691845000,"timestamp_ms":1788691845000,"timestamp_seconds":1788691845,"priority":1,"record_length":96,"hex_timestamp":"000001a076578f88"} 
[2026-09-06 16:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:21: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-09-06 16: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:21: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-09-06 16: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-09-06 16:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:21: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-09-06 16:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905036032001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905036032001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:21:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905036032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":172856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:21:53] local.INFO: GPS data processed {"connection_id":172856,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:21:53] local.INFO: Acknowledgment sent {"connection_id":172856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:21:55] local.INFO: TCP Data received {"connection_id":172858,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:21:55] local.INFO: Processing buffer {"connection_id":172858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:21:55] local.INFO: IMEI packet received {"connection_id":172858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":172858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:22:00] local.INFO: TCP Data received {"connection_id":172858,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:22:00] local.INFO: Processing buffer {"connection_id":172858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:22:00] local.INFO: IMEI packet received {"connection_id":172858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":172858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:22:01] local.INFO: TCP Data received {"connection_id":172858,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07657ba80012d7b170005e2d488000e00b40a..."} 
[2026-09-06 16:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07657ba80012d7b170005e2d488000e00b40a..."} 
[2026-09-06 16:22:01] local.INFO: Processing buffer {"connection_id":172858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07657ba80012d7b170005e2d488000e00b40a..."} 
[2026-09-06 16:22:01] local.INFO: Packet analysis {"connection_id":172858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:22:01] local.INFO: Extracted packet for processing {"connection_id":172858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763041536,"raw_latitude":98751624,"longitude_deg":76.3041536,"latitude_deg":9.8751624,"altitude":14,"angle":180,"satellites":10,"speed":33,"hex_longitude":"2d7b1700","hex_latitude":"05e2d488","is_valid_coordinates":true} 
[2026-09-06 16:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905112320001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129000626930581504,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868572853993791488,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:01] 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-09-06 16:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788691856000,"timestamp_ms":1788691856000,"timestamp_seconds":1788691856,"priority":1,"record_length":96,"hex_timestamp":"000001a07657ba80"} 
[2026-09-06 16:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:22:01] 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-09-06 16:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 16:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630923,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3869725676399493120,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:01] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635300470087632,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-06 16:22:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":65716,"corrected_to":0} 
[2026-09-06 16:22:01] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376799,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:01] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:01] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1274675200,"corrected_to":0} 
[2026-09-06 16:22:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3813550080,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:01] local.WARNING: Large IO value detected {"io_id":123,"raw_value":216179255963811847,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:01] local.WARNING: Large IO value detected {"io_id":53,"raw_value":7926561155567373909,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:01] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:01] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,208,85,24,241,157,16,76,160,88,45,192,29,30,10,66,64,65,20,1,240,214,227,118,4,113,205,8,251,200,239,52,2,202,5,123,53,59],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0},{"io_id":200,"original":65716,"validated":0},{"io_id":202,"original":1274675200,"validated":0}]} 
[2026-09-06 16:22:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1369291142253445120,"timestamp_seconds":1369291142253445.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 16:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:22: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-09-06 16:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905112320001,"66":13646,"208":206,"85":15104,"24":33,"16":129000626930581504,"45":8868572853993791488},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-06 16:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905112320001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:22:01] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-06 16:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129000626930581504,"km_value":129000626930581.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868572853993791488,"description":"Unknown IO ID 45"} 
[2026-09-06 16:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905112320001,"power":13646,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8868572853993791488}} 
[2026-09-06 16:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":172858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:22:01] local.INFO: GPS data processed {"connection_id":172858,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:22:01] local.INFO: Acknowledgment sent {"connection_id":172858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:22:24] local.INFO: TCP Data received {"connection_id":172856,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:22:24] local.INFO: Processing buffer {"connection_id":172856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:22:24] local.INFO: Packet analysis {"connection_id":172856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:22:24] local.INFO: Extracted packet for processing {"connection_id":172856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:22:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 16:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905036032001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 16:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788691845000,"timestamp_ms":1788691845000,"timestamp_seconds":1788691845,"priority":1,"record_length":96,"hex_timestamp":"000001a076578f88"} 
[2026-09-06 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-09-06 16: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-09-06 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:22: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-09-06 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-09-06 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-09-06 16:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:22: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-09-06 16:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905036032001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905036032001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:22:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:22:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905036032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":172856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:22:24] local.INFO: GPS data processed {"connection_id":172856,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:22:24] local.INFO: Acknowledgment sent {"connection_id":172856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:22:33] local.INFO: TCP Data received {"connection_id":172858,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07657e578012d7b1ac005e2b0c0000f00b60a..."} 
[2026-09-06 16:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07657e578012d7b1ac005e2b0c0000f00b60a..."} 
[2026-09-06 16:22:33] local.INFO: Processing buffer {"connection_id":172858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07657e578012d7b1ac005e2b0c0000f00b60a..."} 
[2026-09-06 16:22:33] local.INFO: Packet analysis {"connection_id":172858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:22:33] local.INFO: Extracted packet for processing {"connection_id":172858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763042496,"raw_latitude":98742464,"longitude_deg":76.3042496,"latitude_deg":9.8742464,"altitude":15,"angle":182,"satellites":10,"speed":38,"hex_longitude":"2d7b1ac0","hex_latitude":"05e2b0c0","is_valid_coordinates":true} 
[2026-09-06 16:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905115136001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129001073607180288,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869558016409896960,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:33] 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-09-06 16:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788691867000,"timestamp_ms":1788691867000,"timestamp_seconds":1788691867,"priority":1,"record_length":96,"hex_timestamp":"000001a07657e578"} 
[2026-09-06 16:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:22:33] 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-09-06 16:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 16:22:33] 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-09-06 16:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:22:33] 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-09-06 16:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905115136001,"66":13493,"207":206,"85":15104,"24":38,"16":129001073607180288,"45":8869558016409896960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-06 16:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905115136001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:22:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-06 16:22:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129001073607180288,"km_value":129001073607180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869558016409896960,"description":"Unknown IO ID 45"} 
[2026-09-06 16:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905115136001,"power":13493,"unknown_207":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8869558016409896960}} 
[2026-09-06 16:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":172858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:22:33] local.INFO: GPS data processed {"connection_id":172858,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:22:33] local.INFO: Acknowledgment sent {"connection_id":172858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:22:47] local.INFO: TCP Data received {"connection_id":172859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:22:47] local.INFO: Processing buffer {"connection_id":172859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:22:47] local.INFO: IMEI packet received {"connection_id":172859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":172859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:22:52] local.INFO: TCP Data received {"connection_id":172859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:22:52] local.INFO: Processing buffer {"connection_id":172859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:22:52] local.INFO: IMEI packet received {"connection_id":172859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":172859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:22:53] local.INFO: TCP Data received {"connection_id":172859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:22:53] local.INFO: Processing buffer {"connection_id":172859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:22:53] local.INFO: Packet analysis {"connection_id":172859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:22:53] local.INFO: Extracted packet for processing {"connection_id":172859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905036032001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788691845000,"timestamp_ms":1788691845000,"timestamp_seconds":1788691845,"priority":1,"record_length":96,"hex_timestamp":"000001a076578f88"} 
[2026-09-06 16:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:22: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-09-06 16: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:22: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-09-06 16: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-09-06 16:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:22: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-09-06 16:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905036032001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905036032001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:22:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905036032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":172859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:22:53] local.INFO: GPS data processed {"connection_id":172859,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:22:53] local.INFO: Acknowledgment sent {"connection_id":172859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:23:04] local.INFO: TCP Data received {"connection_id":172858,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076596448012d7b490005e15550000000ae0a..."} 
[2026-09-06 16:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076596448012d7b490005e15550000000ae0a..."} 
[2026-09-06 16:23:04] local.INFO: Processing buffer {"connection_id":172858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076596448012d7b490005e15550000000ae0a..."} 
[2026-09-06 16:23:04] local.INFO: Packet analysis {"connection_id":172858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07659"} 
[2026-09-06 16:23:04] local.INFO: Extracted packet for processing {"connection_id":172858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07659"} 
[2026-09-06 16:23:04] local.INFO: GPS Element Parsed {"raw_longitude":763054336,"raw_latitude":98653520,"longitude_deg":76.3054336,"latitude_deg":9.865352,"altitude":0,"angle":174,"satellites":10,"speed":40,"hex_longitude":"2d7b4900","hex_latitude":"05e15550","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905140736001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129005463063756800,"note":"Value kept but may cause issues"} 
[2026-09-06 16:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882716971548268544,"note":"Value kept but may cause issues"} 
[2026-09-06 16:23:04] 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-09-06 16:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788691965000,"timestamp_ms":1788691965000,"timestamp_seconds":1788691965,"priority":1,"record_length":96,"hex_timestamp":"000001a076596448"} 
[2026-09-06 16:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:23:04] 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-09-06 16: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 16:23:04] 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-09-06 16: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-09-06 16:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:23:04] 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-09-06 16:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905140736001,"66":13493,"216":206,"85":15104,"24":40,"16":129005463063756800,"45":8882716971548268544},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-09-06 16:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905140736001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:23:04] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-06 16:23:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129005463063756800,"km_value":129005463063756.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882716971548268544,"description":"Unknown IO ID 45"} 
[2026-09-06 16:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905140736001,"power":13493,"unknown_216":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8882716971548268544}} 
[2026-09-06 16:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":172858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:23:04] local.INFO: GPS data processed {"connection_id":172858,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:23:04] local.INFO: Acknowledgment sent {"connection_id":172858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:23:24] local.INFO: TCP Data received {"connection_id":172859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:23:24] local.INFO: Processing buffer {"connection_id":172859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:23:24] local.INFO: Packet analysis {"connection_id":172859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:23:24] local.INFO: Extracted packet for processing {"connection_id":172859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:23:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905036032001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788691845000,"timestamp_ms":1788691845000,"timestamp_seconds":1788691845,"priority":1,"record_length":96,"hex_timestamp":"000001a076578f88"} 
[2026-09-06 16:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:23: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-09-06 16: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-09-06 16:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:23: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-09-06 16:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905036032001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905036032001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:23:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:23:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905036032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":172859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:23:24] local.INFO: GPS data processed {"connection_id":172859,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:23:24] local.INFO: Acknowledgment sent {"connection_id":172859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:23:35] local.INFO: TCP Data received {"connection_id":172858,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076598770012d7b4e8005e12f58000000ae09..."} 
[2026-09-06 16:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076598770012d7b4e8005e12f58000000ae09..."} 
[2026-09-06 16:23:35] local.INFO: Processing buffer {"connection_id":172858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076598770012d7b4e8005e12f58000000ae09..."} 
[2026-09-06 16:23:35] local.INFO: Packet analysis {"connection_id":172858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07659"} 
[2026-09-06 16:23:35] local.INFO: Extracted packet for processing {"connection_id":172858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07659"} 
[2026-09-06 16:23:35] local.INFO: GPS Element Parsed {"raw_longitude":763055744,"raw_latitude":98643800,"longitude_deg":76.3055744,"latitude_deg":9.86438,"altitude":0,"angle":174,"satellites":9,"speed":49,"hex_longitude":"2d7b4e80","hex_latitude":"05e12f58","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905143040001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129005939805126656,"note":"Value kept but may cause issues"} 
[2026-09-06 16:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883631765220315136,"note":"Value kept but may cause issues"} 
[2026-09-06 16:23:35] 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-09-06 16:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788691974000,"timestamp_ms":1788691974000,"timestamp_seconds":1788691974,"priority":1,"record_length":96,"hex_timestamp":"000001a076598770"} 
[2026-09-06 16:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-06 16:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:23:35] 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-09-06 16:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905143040001,"66":13624,"216":206,"85":15104,"24":49,"16":129005939805126656,"45":8883631765220315136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-09-06 16:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905143040001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:23:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-06 16:23:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129005939805126656,"km_value":129005939805126.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883631765220315136,"description":"Unknown IO ID 45"} 
[2026-09-06 16:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905143040001,"power":13624,"unknown_216":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8883631765220315136}} 
[2026-09-06 16:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":172858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:23:35] local.INFO: GPS data processed {"connection_id":172858,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:23:35] local.INFO: Acknowledgment sent {"connection_id":172858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:23:47] local.INFO: TCP Data received {"connection_id":172628,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:23:47] local.INFO: Processing buffer {"connection_id":172628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:23:47] local.INFO: IMEI packet received {"connection_id":172628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":172628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:23:52] local.INFO: TCP Data received {"connection_id":172628,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:23:52] local.INFO: Processing buffer {"connection_id":172628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:23:52] local.INFO: IMEI packet received {"connection_id":172628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":172628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:23:53] local.INFO: TCP Data received {"connection_id":172628,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:23:53] local.INFO: Processing buffer {"connection_id":172628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:23:53] local.INFO: Packet analysis {"connection_id":172628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:23:53] local.INFO: Extracted packet for processing {"connection_id":172628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:23:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905036032001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788691845000,"timestamp_ms":1788691845000,"timestamp_seconds":1788691845,"priority":1,"record_length":96,"hex_timestamp":"000001a076578f88"} 
[2026-09-06 16:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:23: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-09-06 16: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:23: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-09-06 16: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-09-06 16:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:23: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-09-06 16:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905036032001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905036032001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:23:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:23:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905036032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":172628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:23:53] local.INFO: GPS data processed {"connection_id":172628,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:23:53] local.INFO: Acknowledgment sent {"connection_id":172628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:23:55] local.INFO: TCP Data received {"connection_id":175351,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:23:55] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:23:55] local.INFO: IMEI packet received {"connection_id":175351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":175351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:23:59] local.INFO: TCP Data received {"connection_id":175351,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:23:59] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:23:59] local.INFO: IMEI packet received {"connection_id":175351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":175351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:24:14] local.INFO: TCP Data received {"connection_id":174032,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:24:14] local.INFO: Processing buffer {"connection_id":174032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:24:14] local.INFO: IMEI packet received {"connection_id":174032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":174032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:24:18] local.INFO: TCP Data received {"connection_id":175351,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07659a2c8012d7b550005e10c50000000ad09..."} 
[2026-09-06 16:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07659a2c8012d7b550005e10c50000000ad09..."} 
[2026-09-06 16:24:18] local.INFO: Processing buffer {"connection_id":175351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07659a2c8012d7b550005e10c50000000ad09..."} 
[2026-09-06 16:24:18] local.INFO: Packet analysis {"connection_id":175351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07659"} 
[2026-09-06 16:24:18] local.INFO: Extracted packet for processing {"connection_id":175351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07659"} 
[2026-09-06 16:24:18] local.INFO: GPS Element Parsed {"raw_longitude":763057408,"raw_latitude":98634832,"longitude_deg":76.3057408,"latitude_deg":9.8634832,"altitude":0,"angle":173,"satellites":9,"speed":57,"hex_longitude":"2d7b5500","hex_latitude":"05e10c50","is_valid_coordinates":true} 
[2026-09-06 16:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905145344001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129006382186758144,"note":"Value kept but may cause issues"} 
[2026-09-06 16:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885179877589735424,"note":"Value kept but may cause issues"} 
[2026-09-06 16:24:18] 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-09-06 16:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788691981000,"timestamp_ms":1788691981000,"timestamp_seconds":1788691981,"priority":1,"record_length":96,"hex_timestamp":"000001a07659a2c8"} 
[2026-09-06 16:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:24:18] 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-09-06 16:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-06 16:24:18] 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-09-06 16:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:24:18] 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-09-06 16:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905145344001,"66":13526,"216":206,"85":15104,"24":57,"16":129006382186758144,"45":8885179877589735424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-09-06 16:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905145344001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:24:18] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-06 16:24:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129006382186758144,"km_value":129006382186758.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885179877589735424,"description":"Unknown IO ID 45"} 
[2026-09-06 16:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905145344001,"power":13526,"unknown_216":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8885179877589735424}} 
[2026-09-06 16:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":175351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:24:18] local.INFO: GPS data processed {"connection_id":175351,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:24:18] local.INFO: Acknowledgment sent {"connection_id":175351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:24:25] local.INFO: TCP Data received {"connection_id":172628,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:24:25] local.INFO: Processing buffer {"connection_id":172628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:24:25] local.INFO: Packet analysis {"connection_id":172628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:24:25] local.INFO: Extracted packet for processing {"connection_id":172628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:24:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905036032001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788691845000,"timestamp_ms":1788691845000,"timestamp_seconds":1788691845,"priority":1,"record_length":96,"hex_timestamp":"000001a076578f88"} 
[2026-09-06 16:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:24: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-09-06 16: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-09-06 16: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-09-06 16: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-09-06 16:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:24: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-09-06 16:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905036032001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905036032001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:24:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:24:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905036032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":172628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:24:25] local.INFO: GPS data processed {"connection_id":172628,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:24:25] local.INFO: Acknowledgment sent {"connection_id":172628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:24:47] local.INFO: TCP Data received {"connection_id":174033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:24:47] local.INFO: Processing buffer {"connection_id":174033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:24:47] local.INFO: IMEI packet received {"connection_id":174033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":174033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:24:49] local.INFO: TCP Data received {"connection_id":174034,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:24:49] local.INFO: Processing buffer {"connection_id":174034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:24:49] local.INFO: IMEI packet received {"connection_id":174034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":174034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:24:52] local.INFO: TCP Data received {"connection_id":174033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:24:52] local.INFO: Processing buffer {"connection_id":174033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:24:52] local.INFO: IMEI packet received {"connection_id":174033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":174033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:24:53] local.INFO: TCP Data received {"connection_id":174033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:24:53] local.INFO: Processing buffer {"connection_id":174033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:24:53] local.INFO: Packet analysis {"connection_id":174033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:24:53] local.INFO: Extracted packet for processing {"connection_id":174033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:24:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905036032001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788691845000,"timestamp_ms":1788691845000,"timestamp_seconds":1788691845,"priority":1,"record_length":96,"hex_timestamp":"000001a076578f88"} 
[2026-09-06 16:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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-09-06 16: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-09-06 16: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-09-06 16:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16: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-09-06 16:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905036032001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905036032001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:24:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905036032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":174033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:24:53] local.INFO: GPS data processed {"connection_id":174033,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:24:53] local.INFO: Acknowledgment sent {"connection_id":174033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:24:55] local.INFO: TCP Data received {"connection_id":174035,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:24:55] local.INFO: Processing buffer {"connection_id":174035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:24:55] local.INFO: IMEI packet received {"connection_id":174035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":174035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:25:00] local.INFO: TCP Data received {"connection_id":174035,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:25:00] local.INFO: Processing buffer {"connection_id":174035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:25:00] local.INFO: IMEI packet received {"connection_id":174035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":174035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:25:01] local.INFO: TCP Data received {"connection_id":174035,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0765acf90012d7b7d0005df5280000000b10c..."} 
[2026-09-06 16:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765acf90012d7b7d0005df5280000000b10c..."} 
[2026-09-06 16:25:01] local.INFO: Processing buffer {"connection_id":174035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765acf90012d7b7d0005df5280000000b10c..."} 
[2026-09-06 16:25:01] local.INFO: Packet analysis {"connection_id":174035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765a"} 
[2026-09-06 16:25:01] local.INFO: Extracted packet for processing {"connection_id":174035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765a"} 
[2026-09-06 16:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763067648,"raw_latitude":98521728,"longitude_deg":76.3067648,"latitude_deg":9.8521728,"altitude":0,"angle":177,"satellites":12,"speed":57,"hex_longitude":"2d7b7d00","hex_latitude":"05df5280","is_valid_coordinates":true} 
[2026-09-06 16:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905165056001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129011896924766208,"note":"Value kept but may cause issues"} 
[2026-09-06 16:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897353670303733760,"note":"Value kept but may cause issues"} 
[2026-09-06 16:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788692058000,"timestamp_ms":1788692058000,"timestamp_seconds":1788692058,"priority":1,"record_length":96,"hex_timestamp":"000001a0765acf90"} 
[2026-09-06 16:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:25:01] 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-09-06 16:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 16:25:01] 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-09-06 16:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:25: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-09-06 16:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905165056001,"66":13243,"103":206,"85":15104,"24":57,"16":129011896924766208,"45":8897353670303733760},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-06 16:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905165056001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:25:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-06 16:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129011896924766208,"km_value":129011896924766.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897353670303733760,"description":"Unknown IO ID 45"} 
[2026-09-06 16:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905165056001,"power":13243,"unknown_103":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8897353670303733760}} 
[2026-09-06 16:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":174035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:25:01] local.INFO: GPS data processed {"connection_id":174035,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:25:01] local.INFO: Acknowledgment sent {"connection_id":174035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:25:25] local.INFO: TCP Data received {"connection_id":174033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:25:25] local.INFO: Processing buffer {"connection_id":174033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076578f88012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:25:25] local.INFO: Packet analysis {"connection_id":174033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:25:25] local.INFO: Extracted packet for processing {"connection_id":174033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07657"} 
[2026-09-06 16:25:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905036032001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788691845000,"timestamp_ms":1788691845000,"timestamp_seconds":1788691845,"priority":1,"record_length":96,"hex_timestamp":"000001a076578f88"} 
[2026-09-06 16:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:25: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-09-06 16: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 16:25: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-09-06 16: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-09-06 16:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:25: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-09-06 16:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905036032001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905036032001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:25:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:25:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905036032001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":174033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:25:25] local.INFO: GPS data processed {"connection_id":174033,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:25:25] local.INFO: Acknowledgment sent {"connection_id":174033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:25:51] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:25:51] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:25:51] local.INFO: IMEI packet received {"connection_id":174036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":174036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:25:52] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:25:52] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:25:52] local.INFO: IMEI packet received {"connection_id":174036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":174036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:25:57] local.INFO: TCP Data received {"connection_id":175353,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:25:57] local.INFO: Processing buffer {"connection_id":175353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:25:57] local.INFO: IMEI packet received {"connection_id":175353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":175353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:25:58] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:25:58] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:25:58] local.INFO: IMEI packet received {"connection_id":174036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":174036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:25:59] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:25:59] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:25:59] local.INFO: Packet analysis {"connection_id":174036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:25:59] local.INFO: Extracted packet for processing {"connection_id":174036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:25:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905112320001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:25: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-09-06 16:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788692144000,"timestamp_ms":1788692144000,"timestamp_seconds":1788692144,"priority":1,"record_length":96,"hex_timestamp":"000001a0765c1f80"} 
[2026-09-06 16:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:25: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-09-06 16: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 16:25:59] 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-09-06 16: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-09-06 16:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905112320001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905112320001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:25:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:25:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905112320001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":174036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:25:59] local.INFO: GPS data processed {"connection_id":174036,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:25:59] local.INFO: Acknowledgment sent {"connection_id":174036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:26:00] local.INFO: TCP Data received {"connection_id":175353,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:26:00] local.INFO: Processing buffer {"connection_id":175353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:26:00] local.INFO: IMEI packet received {"connection_id":175353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":175353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:26:05] local.INFO: TCP Data received {"connection_id":175353,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:26:05] local.INFO: Processing buffer {"connection_id":175353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:26:05] local.INFO: IMEI packet received {"connection_id":175353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":175353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:26:06] local.INFO: TCP Data received {"connection_id":175353,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0765bd548012d7b998005de22a8000000bb0e..."} 
[2026-09-06 16:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765bd548012d7b998005de22a8000000bb0e..."} 
[2026-09-06 16:26:06] local.INFO: Processing buffer {"connection_id":175353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765bd548012d7b998005de22a8000000bb0e..."} 
[2026-09-06 16:26:06] local.INFO: Packet analysis {"connection_id":175353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765b"} 
[2026-09-06 16:26:06] local.INFO: Extracted packet for processing {"connection_id":175353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765b"} 
[2026-09-06 16:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763074944,"raw_latitude":98443944,"longitude_deg":76.3074944,"latitude_deg":9.8443944,"altitude":0,"angle":187,"satellites":14,"speed":8,"hex_longitude":"2d7b9980","hex_latitude":"05de22a8","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905182208001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904531282187499520,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129015792460103680,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26:06] 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-09-06 16:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788692125000,"timestamp_ms":1788692125000,"timestamp_seconds":1788692125,"priority":1,"record_length":96,"hex_timestamp":"000001a0765bd548"} 
[2026-09-06 16:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-06 16:26:06] 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-09-06 16: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-09-06 16:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905182208001,"66":13319,"45":8904531282187499520,"85":15104,"24":8,"16":129015792460103680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-06 16:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905182208001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904531282187499520,"description":"Unknown IO ID 45"} 
[2026-09-06 16:26:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129015792460103680,"km_value":129015792460103.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:26:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457905182208001,"power":13319,"unknown_45":8904531282187499520,"unknown_85":15104,"ignition":8,"odometer":null}} 
[2026-09-06 16:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":175353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:26:06] local.INFO: GPS data processed {"connection_id":175353,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:26:06] local.INFO: Acknowledgment sent {"connection_id":175353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:26:11] local.INFO: TCP Data received {"connection_id":175353,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0765be4e8012d7b9d0005de2018000000af0f..."} 
[2026-09-06 16:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765be4e8012d7b9d0005de2018000000af0f..."} 
[2026-09-06 16:26:11] local.INFO: Processing buffer {"connection_id":175353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765be4e8012d7b9d0005de2018000000af0f..."} 
[2026-09-06 16:26:11] local.INFO: Packet analysis {"connection_id":175353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765b"} 
[2026-09-06 16:26:11] local.INFO: Extracted packet for processing {"connection_id":175353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765b"} 
[2026-09-06 16:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763075840,"raw_latitude":98443288,"longitude_deg":76.307584,"latitude_deg":9.8443288,"altitude":0,"angle":175,"satellites":15,"speed":10,"hex_longitude":"2d7b9d00","hex_latitude":"05de2018","is_valid_coordinates":true} 
[2026-09-06 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-09-06 16:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905184000001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906290500791871488,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129015848294678528,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26: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-09-06 16:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788692129000,"timestamp_ms":1788692129000,"timestamp_seconds":1788692129,"priority":1,"record_length":96,"hex_timestamp":"000001a0765be4e8"} 
[2026-09-06 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-09-06 16:26: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-09-06 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-06 16:26:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26:11] local.WARNING: Large IO value detected {"io_id":91,"raw_value":4109535954832982021,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26:11] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-5212916568669419008,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2133590222,"corrected_to":0} 
[2026-09-06 16:26:11] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3087084923,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26:11] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1514143744,"corrected_to":0} 
[2026-09-06 16:26:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3734040576,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":57842197194495291,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,45,85,24,241,157,16,91,160,185,64,35,13,10,66,44,178,37,1,240,181,227,118,222,4,113,205,50,111,137,112,239,53,2,202,5,57,88],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2133590222,"validated":0},{"io_id":202,"original":1514143744,"validated":0}]} 
[2026-09-06 16:26:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":205668804460544,"timestamp_seconds":205668804460.544,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 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-09-06 16:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:26: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-09-06 16:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905184000001,"66":13678,"45":8906290500791871488,"85":15104,"24":10,"16":129015848294678528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-06 16:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905184000001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906290500791871488,"description":"Unknown IO ID 45"} 
[2026-09-06 16:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129015848294678528,"km_value":129015848294678.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:26:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457905184000001,"power":13678,"unknown_45":8906290500791871488,"unknown_85":15104,"ignition":10,"odometer":null}} 
[2026-09-06 16:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":175353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:26:11] local.INFO: GPS data processed {"connection_id":175353,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:26:11] local.INFO: Acknowledgment sent {"connection_id":175353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:26:31] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:26:31] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:26:31] local.INFO: Packet analysis {"connection_id":174036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:26:31] local.INFO: Extracted packet for processing {"connection_id":174036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905112320001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26: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-09-06 16:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788692144000,"timestamp_ms":1788692144000,"timestamp_seconds":1788692144,"priority":1,"record_length":96,"hex_timestamp":"000001a0765c1f80"} 
[2026-09-06 16:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:26: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-09-06 16:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 16:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905112320001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905112320001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:26:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:26:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905112320001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":174036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:26:31] local.INFO: GPS data processed {"connection_id":174036,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:26:31] local.INFO: Acknowledgment sent {"connection_id":174036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:26:47] local.INFO: TCP Data received {"connection_id":172860,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:26:47] local.INFO: Processing buffer {"connection_id":172860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:26:47] local.INFO: IMEI packet received {"connection_id":172860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":172860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:26:52] local.INFO: TCP Data received {"connection_id":172861,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:26:52] local.INFO: Processing buffer {"connection_id":172861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:26:52] local.INFO: IMEI packet received {"connection_id":172861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":172861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:26:52] local.INFO: TCP Data received {"connection_id":172860,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:26:52] local.INFO: Processing buffer {"connection_id":172860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:26:52] local.INFO: IMEI packet received {"connection_id":172860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":172860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:26:53] local.INFO: TCP Data received {"connection_id":172860,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:26:53] local.INFO: Processing buffer {"connection_id":172860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:26:53] local.INFO: Packet analysis {"connection_id":172860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:26:53] local.INFO: Extracted packet for processing {"connection_id":172860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905112320001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788692144000,"timestamp_ms":1788692144000,"timestamp_seconds":1788692144,"priority":1,"record_length":96,"hex_timestamp":"000001a0765c1f80"} 
[2026-09-06 16:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:26: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-09-06 16: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 16:26: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-09-06 16: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-09-06 16:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16: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-09-06 16:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905112320001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905112320001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:26:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905112320001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":172860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:26:53] local.INFO: GPS data processed {"connection_id":172860,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:26:53] local.INFO: Acknowledgment sent {"connection_id":172860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:26:55] local.INFO: TCP Data received {"connection_id":172861,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:26:55] local.INFO: Processing buffer {"connection_id":172861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:26:55] local.INFO: IMEI packet received {"connection_id":172861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":172861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:27:00] local.INFO: TCP Data received {"connection_id":172861,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:27:00] local.INFO: Processing buffer {"connection_id":172861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:27:00] local.INFO: IMEI packet received {"connection_id":172861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":172861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:27:01] local.INFO: TCP Data received {"connection_id":172861,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0765c2b38012d7ba64005ddfc48000000ab0d..."} 
[2026-09-06 16:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765c2b38012d7ba64005ddfc48000000ab0d..."} 
[2026-09-06 16:27:01] local.INFO: Processing buffer {"connection_id":172861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765c2b38012d7ba64005ddfc48000000ab0d..."} 
[2026-09-06 16:27:01] local.INFO: Packet analysis {"connection_id":172861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:27:01] local.INFO: Extracted packet for processing {"connection_id":172861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763078208,"raw_latitude":98434120,"longitude_deg":76.3078208,"latitude_deg":9.843412,"altitude":0,"angle":171,"satellites":13,"speed":38,"hex_longitude":"2d7ba640","hex_latitude":"05ddfc48","is_valid_coordinates":true} 
[2026-09-06 16:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905185024001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907275663210190848,"note":"Value kept but may cause issues"} 
[2026-09-06 16:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129016325036048384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:27:01] 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-09-06 16:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788692147000,"timestamp_ms":1788692147000,"timestamp_seconds":1788692147,"priority":1,"record_length":96,"hex_timestamp":"000001a0765c2b38"} 
[2026-09-06 16:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:27:01] 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-09-06 16:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 16:27:01] 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-09-06 16:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:27: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-09-06 16:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905185024001,"66":13646,"45":8907275663210190848,"85":15104,"24":38,"16":129016325036048384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-06 16:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905185024001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907275663210190848,"description":"Unknown IO ID 45"} 
[2026-09-06 16:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129016325036048384,"km_value":129016325036048.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:27:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457905185024001,"power":13646,"unknown_45":8907275663210190848,"unknown_85":15104,"ignition":38,"odometer":null}} 
[2026-09-06 16:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":172861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:27:01] local.INFO: GPS data processed {"connection_id":172861,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:27:01] local.INFO: Acknowledgment sent {"connection_id":172861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:27:02] local.INFO: TCP Data received {"connection_id":172861,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0765c4a78012d7baac005ddd9b8000000ac0d..."} 
[2026-09-06 16:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765c4a78012d7baac005ddd9b8000000ac0d..."} 
[2026-09-06 16:27:02] local.INFO: Processing buffer {"connection_id":172861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765c4a78012d7baac005ddd9b8000000ac0d..."} 
[2026-09-06 16:27:02] local.INFO: Packet analysis {"connection_id":172861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:27:02] local.INFO: Extracted packet for processing {"connection_id":172861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763079360,"raw_latitude":98425272,"longitude_deg":76.307936,"latitude_deg":9.8425272,"altitude":0,"angle":172,"satellites":13,"speed":48,"hex_longitude":"2d7baac0","hex_latitude":"05ddd9b8","is_valid_coordinates":true} 
[2026-09-06 16:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905189632001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909879306742417408,"note":"Value kept but may cause issues"} 
[2026-09-06 16:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129016758827745280,"note":"Value kept but may cause issues"} 
[2026-09-06 16:27:02] 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-09-06 16:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788692155000,"timestamp_ms":1788692155000,"timestamp_seconds":1788692155,"priority":1,"record_length":96,"hex_timestamp":"000001a0765c4a78"} 
[2026-09-06 16:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:27: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-09-06 16:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 16:27:02] 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-09-06 16:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905189632001,"66":13646,"45":8909879306742417408,"85":15104,"24":48,"16":129016758827745280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-06 16:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905189632001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909879306742417408,"description":"Unknown IO ID 45"} 
[2026-09-06 16:27:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129016758827745280,"km_value":129016758827745.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:27:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457905189632001,"power":13646,"unknown_45":8909879306742417408,"unknown_85":15104,"ignition":48,"odometer":null}} 
[2026-09-06 16:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":172861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:27:02] local.INFO: GPS data processed {"connection_id":172861,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:27:02] local.INFO: Acknowledgment sent {"connection_id":172861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:27:25] local.INFO: TCP Data received {"connection_id":172860,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:27:25] local.INFO: Processing buffer {"connection_id":172860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:27:25] local.INFO: Packet analysis {"connection_id":172860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:27:25] local.INFO: Extracted packet for processing {"connection_id":172860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:27:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905112320001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788692144000,"timestamp_ms":1788692144000,"timestamp_seconds":1788692144,"priority":1,"record_length":96,"hex_timestamp":"000001a0765c1f80"} 
[2026-09-06 16:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 16:27: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-09-06 16: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-09-06 16:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:27: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-09-06 16:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905112320001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905112320001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:27:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:27:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905112320001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":172860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:27:25] local.INFO: GPS data processed {"connection_id":172860,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:27:25] local.INFO: Acknowledgment sent {"connection_id":172860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:27:34] local.INFO: TCP Data received {"connection_id":172861,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0765c69b8012d7bad4005ddb248000000af0d..."} 
[2026-09-06 16:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765c69b8012d7bad4005ddb248000000af0d..."} 
[2026-09-06 16:27:34] local.INFO: Processing buffer {"connection_id":172861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765c69b8012d7bad4005ddb248000000af0d..."} 
[2026-09-06 16:27:34] local.INFO: Packet analysis {"connection_id":172861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:27:34] local.INFO: Extracted packet for processing {"connection_id":172861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:27:34] local.INFO: GPS Element Parsed {"raw_longitude":763080000,"raw_latitude":98415176,"longitude_deg":76.308,"latitude_deg":9.8415176,"altitude":0,"angle":175,"satellites":13,"speed":50,"hex_longitude":"2d7bad40","hex_latitude":"05ddb248","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905191680001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911145944135350272,"note":"Value kept but may cause issues"} 
[2026-09-06 16:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129017248454017024,"note":"Value kept but may cause issues"} 
[2026-09-06 16:27:34] 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-09-06 16:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788692163000,"timestamp_ms":1788692163000,"timestamp_seconds":1788692163,"priority":1,"record_length":96,"hex_timestamp":"000001a0765c69b8"} 
[2026-09-06 16:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:27:34] 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-09-06 16: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 16:27:34] 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-09-06 16: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-09-06 16:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905191680001,"66":13624,"45":8911145944135350272,"85":15104,"24":50,"16":129017248454017024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-06 16:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905191680001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911145944135350272,"description":"Unknown IO ID 45"} 
[2026-09-06 16:27:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129017248454017024,"km_value":129017248454017.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:27:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457905191680001,"power":13624,"unknown_45":8911145944135350272,"unknown_85":15104,"ignition":50,"odometer":null}} 
[2026-09-06 16:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":172861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:27:34] local.INFO: GPS data processed {"connection_id":172861,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:27:34] local.INFO: Acknowledgment sent {"connection_id":172861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:27:47] local.INFO: TCP Data received {"connection_id":175355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:27:47] local.INFO: Processing buffer {"connection_id":175355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:27:47] local.INFO: IMEI packet received {"connection_id":175355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":175355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:27:52] local.INFO: TCP Data received {"connection_id":175355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:27:52] local.INFO: Processing buffer {"connection_id":175355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:27:52] local.INFO: IMEI packet received {"connection_id":175355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":175355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:27:54] local.INFO: TCP Data received {"connection_id":175355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:27:54] local.INFO: Processing buffer {"connection_id":175355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:27:54] local.INFO: Packet analysis {"connection_id":175355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:27:54] local.INFO: Extracted packet for processing {"connection_id":175355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:27:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905112320001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:27: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-09-06 16:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788692144000,"timestamp_ms":1788692144000,"timestamp_seconds":1788692144,"priority":1,"record_length":96,"hex_timestamp":"000001a0765c1f80"} 
[2026-09-06 16:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:27: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-09-06 16:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 16:27: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-09-06 16:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:27: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-09-06 16:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905112320001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905112320001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:27:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:27:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905112320001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":175355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:27:54] local.INFO: GPS data processed {"connection_id":175355,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:27:54] local.INFO: Acknowledgment sent {"connection_id":175355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:27:55] local.INFO: TCP Data received {"connection_id":174037,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:27:55] local.INFO: Processing buffer {"connection_id":174037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:27:55] local.INFO: IMEI packet received {"connection_id":174037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":174037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:27:56] local.INFO: TCP Data received {"connection_id":174037,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:27:56] local.INFO: Processing buffer {"connection_id":174037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:27:56] local.INFO: IMEI packet received {"connection_id":174037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":174037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:28:00] local.INFO: TCP Data received {"connection_id":174037,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:28:00] local.INFO: Processing buffer {"connection_id":174037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:28:00] local.INFO: IMEI packet received {"connection_id":174037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":174037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:28:01] local.INFO: TCP Data received {"connection_id":174037,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0765de0b8012d7be28005dc27b0000000b10e..."} 
[2026-09-06 16:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765de0b8012d7be28005dc27b0000000b10e..."} 
[2026-09-06 16:28:01] local.INFO: Processing buffer {"connection_id":174037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765de0b8012d7be28005dc27b0000000b10e..."} 
[2026-09-06 16:28:01] local.INFO: Packet analysis {"connection_id":174037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765d"} 
[2026-09-06 16:28:01] local.INFO: Extracted packet for processing {"connection_id":174037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765d"} 
[2026-09-06 16:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763093632,"raw_latitude":98314160,"longitude_deg":76.3093632,"latitude_deg":9.831416,"altitude":0,"angle":177,"satellites":14,"speed":50,"hex_longitude":"2d7be280","hex_latitude":"05dc27b0","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905216256001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129022282155687936,"note":"Value kept but may cause issues"} 
[2026-09-06 16:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925360430433320960,"note":"Value kept but may cause issues"} 
[2026-09-06 16:28:01] 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-09-06 16:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788692259000,"timestamp_ms":1788692259000,"timestamp_seconds":1788692259,"priority":1,"record_length":96,"hex_timestamp":"000001a0765de0b8"} 
[2026-09-06 16:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 16:28:01] 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-09-06 16: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-09-06 16:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:28: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-09-06 16:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905216256001,"66":13765,"168":206,"85":15104,"24":50,"16":129022282155687936,"45":8925360430433320960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 16:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905216256001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:28:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 16:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129022282155687936,"km_value":129022282155687.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925360430433320960,"description":"Unknown IO ID 45"} 
[2026-09-06 16:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905216256001,"power":13765,"unknown_168":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8925360430433320960}} 
[2026-09-06 16:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":174037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:28:01] local.INFO: GPS data processed {"connection_id":174037,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:28:01] local.INFO: Acknowledgment sent {"connection_id":174037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:28:04] local.INFO: TCP Data received {"connection_id":174037,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0765dfc10012d7be84005dc0490000000b00e..."} 
[2026-09-06 16:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765dfc10012d7be84005dc0490000000b00e..."} 
[2026-09-06 16:28:04] local.INFO: Processing buffer {"connection_id":174037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765dfc10012d7be84005dc0490000000b00e..."} 
[2026-09-06 16:28:04] local.INFO: Packet analysis {"connection_id":174037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765d"} 
[2026-09-06 16:28:04] local.INFO: Extracted packet for processing {"connection_id":174037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765d"} 
[2026-09-06 16:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763095104,"raw_latitude":98305168,"longitude_deg":76.3095104,"latitude_deg":9.8305168,"altitude":0,"angle":176,"satellites":14,"speed":55,"hex_longitude":"2d7be840","hex_latitude":"05dc0490","is_valid_coordinates":true} 
[2026-09-06 16:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905218304001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129022724537319424,"note":"Value kept but may cause issues"} 
[2026-09-06 16:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926838174058524672,"note":"Value kept but may cause issues"} 
[2026-09-06 16:28:04] 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-09-06 16:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788692266000,"timestamp_ms":1788692266000,"timestamp_seconds":1788692266,"priority":1,"record_length":96,"hex_timestamp":"000001a0765dfc10"} 
[2026-09-06 16:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-06 16:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:28:04] 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-09-06 16:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905218304001,"66":13678,"168":206,"85":15104,"24":55,"16":129022724537319424,"45":8926838174058524672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 16:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905218304001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:28:04] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 16:28:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129022724537319424,"km_value":129022724537319.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926838174058524672,"description":"Unknown IO ID 45"} 
[2026-09-06 16:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905218304001,"power":13678,"unknown_168":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8926838174058524672}} 
[2026-09-06 16:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":174037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:28:04] local.INFO: GPS data processed {"connection_id":174037,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:28:04] local.INFO: Acknowledgment sent {"connection_id":174037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:28:25] local.INFO: TCP Data received {"connection_id":175355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:28:25] local.INFO: Processing buffer {"connection_id":175355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:28:25] local.INFO: Packet analysis {"connection_id":175355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:28:25] local.INFO: Extracted packet for processing {"connection_id":175355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:28:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905112320001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788692144000,"timestamp_ms":1788692144000,"timestamp_seconds":1788692144,"priority":1,"record_length":96,"hex_timestamp":"000001a0765c1f80"} 
[2026-09-06 16:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:28: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-09-06 16: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 16:28: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-09-06 16: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-09-06 16:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:28: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-09-06 16:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905112320001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905112320001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:28:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:28:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905112320001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":175355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:28:25] local.INFO: GPS data processed {"connection_id":175355,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:28:25] local.INFO: Acknowledgment sent {"connection_id":175355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:28:34] local.INFO: TCP Data received {"connection_id":174037,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0765e1768012d7bec8005dbdf20000000ad0d..."} 
[2026-09-06 16:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765e1768012d7bec8005dbdf20000000ad0d..."} 
[2026-09-06 16:28:34] local.INFO: Processing buffer {"connection_id":174037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765e1768012d7bec8005dbdf20000000ad0d..."} 
[2026-09-06 16:28:34] local.INFO: Packet analysis {"connection_id":174037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765e"} 
[2026-09-06 16:28:34] local.INFO: Extracted packet for processing {"connection_id":174037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765e"} 
[2026-09-06 16:28:34] local.INFO: GPS Element Parsed {"raw_longitude":763096192,"raw_latitude":98295584,"longitude_deg":76.3096192,"latitude_deg":9.8295584,"altitude":0,"angle":173,"satellites":13,"speed":53,"hex_longitude":"2d7bec80","hex_latitude":"05dbdf20","is_valid_coordinates":true} 
[2026-09-06 16:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905220096001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129023192688754688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928456655172308992,"note":"Value kept but may cause issues"} 
[2026-09-06 16:28:34] 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-09-06 16:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788692273000,"timestamp_ms":1788692273000,"timestamp_seconds":1788692273,"priority":1,"record_length":96,"hex_timestamp":"000001a0765e1768"} 
[2026-09-06 16:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 16:28:34] 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-09-06 16:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905220096001,"66":13559,"168":206,"85":15104,"24":53,"16":129023192688754688,"45":8928456655172308992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 16:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905220096001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:28:34] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 16:28:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129023192688754688,"km_value":129023192688754.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928456655172308992,"description":"Unknown IO ID 45"} 
[2026-09-06 16:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905220096001,"power":13559,"unknown_168":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8928456655172308992}} 
[2026-09-06 16:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":174037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:28:34] local.INFO: GPS data processed {"connection_id":174037,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:28:34] local.INFO: Acknowledgment sent {"connection_id":174037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:28:47] local.INFO: TCP Data received {"connection_id":175357,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:28:47] local.INFO: Processing buffer {"connection_id":175357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:28:47] local.INFO: IMEI packet received {"connection_id":175357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":175357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:28:52] local.INFO: TCP Data received {"connection_id":175357,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:28:52] local.INFO: Processing buffer {"connection_id":175357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:28:52] local.INFO: IMEI packet received {"connection_id":175357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":175357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:28:53] local.INFO: TCP Data received {"connection_id":175357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:28:53] local.INFO: Processing buffer {"connection_id":175357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:28:53] local.INFO: Packet analysis {"connection_id":175357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:28:53] local.INFO: Extracted packet for processing {"connection_id":175357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905112320001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788692144000,"timestamp_ms":1788692144000,"timestamp_seconds":1788692144,"priority":1,"record_length":96,"hex_timestamp":"000001a0765c1f80"} 
[2026-09-06 16:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 16:28: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-09-06 16: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-09-06 16:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16: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-09-06 16:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905112320001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905112320001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:28:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905112320001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":175357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:28:53] local.INFO: GPS data processed {"connection_id":175357,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:28:53] local.INFO: Acknowledgment sent {"connection_id":175357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:28:59] local.INFO: TCP Data received {"connection_id":172629,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:28:59] local.INFO: Processing buffer {"connection_id":172629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:28:59] local.INFO: IMEI packet received {"connection_id":172629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":172629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:29:00] local.INFO: TCP Data received {"connection_id":172629,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:29:00] local.INFO: Processing buffer {"connection_id":172629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:29:00] local.INFO: IMEI packet received {"connection_id":172629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":172629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:29:05] local.INFO: TCP Data received {"connection_id":172629,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:29:05] local.INFO: Processing buffer {"connection_id":172629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:29:05] local.INFO: IMEI packet received {"connection_id":172629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":172629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:29:06] local.INFO: TCP Data received {"connection_id":172629,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0765e36a8012d7bf34005dbbb10000000a80d..."} 
[2026-09-06 16:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765e36a8012d7bf34005dbbb10000000a80d..."} 
[2026-09-06 16:29:06] local.INFO: Processing buffer {"connection_id":172629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765e36a8012d7bf34005dbbb10000000a80d..."} 
[2026-09-06 16:29:06] local.INFO: Packet analysis {"connection_id":172629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765e"} 
[2026-09-06 16:29:06] local.INFO: Extracted packet for processing {"connection_id":172629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765e"} 
[2026-09-06 16:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763097920,"raw_latitude":98286352,"longitude_deg":76.309792,"latitude_deg":9.8286352,"altitude":0,"angle":168,"satellites":13,"speed":44,"hex_longitude":"2d7bf340","hex_latitude":"05dbbb10","is_valid_coordinates":true} 
[2026-09-06 16:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905221888001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129023647955288064,"note":"Value kept but may cause issues"} 
[2026-09-06 16:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929652923820875776,"note":"Value kept but may cause issues"} 
[2026-09-06 16:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788692281000,"timestamp_ms":1788692281000,"timestamp_seconds":1788692281,"priority":1,"record_length":96,"hex_timestamp":"000001a0765e36a8"} 
[2026-09-06 16:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 16:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905221888001,"66":13678,"168":206,"85":15104,"24":44,"16":129023647955288064,"45":8929652923820875776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 16:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905221888001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:29:06] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 16:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129023647955288064,"km_value":129023647955288.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929652923820875776,"description":"Unknown IO ID 45"} 
[2026-09-06 16:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905221888001,"power":13678,"unknown_168":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8929652923820875776}} 
[2026-09-06 16:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":172629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:29:06] local.INFO: GPS data processed {"connection_id":172629,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:29:06] local.INFO: Acknowledgment sent {"connection_id":172629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:29:24] local.INFO: TCP Data received {"connection_id":175357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:29:24] local.INFO: Processing buffer {"connection_id":175357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:29:24] local.INFO: Packet analysis {"connection_id":175357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:29:24] local.INFO: Extracted packet for processing {"connection_id":175357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:29:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 16:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905112320001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 16:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788692144000,"timestamp_ms":1788692144000,"timestamp_seconds":1788692144,"priority":1,"record_length":96,"hex_timestamp":"000001a0765c1f80"} 
[2026-09-06 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-09-06 16: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-09-06 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 16:29: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-09-06 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-09-06 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-09-06 16:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:29: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-09-06 16:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905112320001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905112320001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:29:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:29:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905112320001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":175357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:29:25] local.INFO: GPS data processed {"connection_id":175357,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:29:25] local.INFO: Acknowledgment sent {"connection_id":175357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:29:37] local.INFO: TCP Data received {"connection_id":172629,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0765e55e8012d7bfc8005db95c8000000a70e..."} 
[2026-09-06 16:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765e55e8012d7bfc8005db95c8000000a70e..."} 
[2026-09-06 16:29:37] local.INFO: Processing buffer {"connection_id":172629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765e55e8012d7bfc8005db95c8000000a70e..."} 
[2026-09-06 16:29:37] local.INFO: Packet analysis {"connection_id":172629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765e"} 
[2026-09-06 16:29:37] local.INFO: Extracted packet for processing {"connection_id":172629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765e"} 
[2026-09-06 16:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763100288,"raw_latitude":98276808,"longitude_deg":76.3100288,"latitude_deg":9.8276808,"altitude":0,"angle":167,"satellites":14,"speed":51,"hex_longitude":"2d7bfc80","hex_latitude":"05db95c8","is_valid_coordinates":true} 
[2026-09-06 16:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905223936001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129024124696657920,"note":"Value kept but may cause issues"} 
[2026-09-06 16:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931552879911309312,"note":"Value kept but may cause issues"} 
[2026-09-06 16:29:37] 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-09-06 16:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788692289000,"timestamp_ms":1788692289000,"timestamp_seconds":1788692289,"priority":1,"record_length":96,"hex_timestamp":"000001a0765e55e8"} 
[2026-09-06 16:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:29: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-09-06 16:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 16:29:37] 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-09-06 16:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:29: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-09-06 16:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905223936001,"66":13656,"168":206,"85":15104,"24":51,"16":129024124696657920,"45":8931552879911309312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-06 16:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905223936001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:29:37] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-06 16:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129024124696657920,"km_value":129024124696657.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931552879911309312,"description":"Unknown IO ID 45"} 
[2026-09-06 16:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905223936001,"power":13656,"unknown_168":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8931552879911309312}} 
[2026-09-06 16:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":172629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:29:37] local.INFO: GPS data processed {"connection_id":172629,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:29:37] local.INFO: Acknowledgment sent {"connection_id":172629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:29:47] local.INFO: TCP Data received {"connection_id":175359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:29:47] local.INFO: Processing buffer {"connection_id":175359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:29:47] local.INFO: IMEI packet received {"connection_id":175359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":175359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:29:52] local.INFO: TCP Data received {"connection_id":175359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:29:52] local.INFO: Processing buffer {"connection_id":175359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:29:52] local.INFO: IMEI packet received {"connection_id":175359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":175359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:29:53] local.INFO: TCP Data received {"connection_id":175359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:29:53] local.INFO: Processing buffer {"connection_id":175359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:29:53] local.INFO: Packet analysis {"connection_id":175359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:29:53] local.INFO: Extracted packet for processing {"connection_id":175359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905112320001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788692144000,"timestamp_ms":1788692144000,"timestamp_seconds":1788692144,"priority":1,"record_length":96,"hex_timestamp":"000001a0765c1f80"} 
[2026-09-06 16:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:29: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-09-06 16: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-09-06 16: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-09-06 16: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-09-06 16:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16: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-09-06 16:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905112320001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905112320001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:29:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905112320001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":175359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:29:53] local.INFO: GPS data processed {"connection_id":175359,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:29:53] local.INFO: Acknowledgment sent {"connection_id":175359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:29:55] local.INFO: TCP Data received {"connection_id":172862,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:29:55] local.INFO: Processing buffer {"connection_id":172862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:29:55] local.INFO: IMEI packet received {"connection_id":172862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":172862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:29:56] local.INFO: TCP Data received {"connection_id":172862,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:29:56] local.INFO: Processing buffer {"connection_id":172862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:29:56] local.INFO: IMEI packet received {"connection_id":172862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":172862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:30:00] local.INFO: TCP Data received {"connection_id":172862,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:30:00] local.INFO: Processing buffer {"connection_id":172862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:30:00] local.INFO: IMEI packet received {"connection_id":172862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":172862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:30:01] local.INFO: TCP Data received {"connection_id":172862,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0765f9a20012d7c6d0005da10a8000400a70f..."} 
[2026-09-06 16:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765f9a20012d7c6d0005da10a8000400a70f..."} 
[2026-09-06 16:30:01] local.INFO: Processing buffer {"connection_id":172862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765f9a20012d7c6d0005da10a8000400a70f..."} 
[2026-09-06 16:30:01] local.INFO: Packet analysis {"connection_id":172862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765f"} 
[2026-09-06 16:30:01] local.INFO: Extracted packet for processing {"connection_id":172862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765f"} 
[2026-09-06 16:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763129088,"raw_latitude":98177192,"longitude_deg":76.3129088,"latitude_deg":9.8177192,"altitude":4,"angle":167,"satellites":15,"speed":51,"hex_longitude":"2d7c6d00","hex_latitude":"05da10a8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 16:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905245440001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129029149808394240,"note":"Value kept but may cause issues"} 
[2026-09-06 16:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962655864812150784,"note":"Value kept but may cause issues"} 
[2026-09-06 16:30:01] 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-09-06 16:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788692372000,"timestamp_ms":1788692372000,"timestamp_seconds":1788692372,"priority":1,"record_length":96,"hex_timestamp":"000001a0765f9a20"} 
[2026-09-06 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-09-06 16:30:01] 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-09-06 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-06 16:30:01] 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-09-06 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-09-06 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-09-06 16:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:30: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-09-06 16:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905245440001,"66":13678,"187":206,"85":15104,"24":51,"16":129029149808394240,"45":8962655864812150784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 16:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905245440001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:30:01] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 16:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129029149808394240,"km_value":129029149808394.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962655864812150784,"description":"Unknown IO ID 45"} 
[2026-09-06 16:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905245440001,"power":13678,"unknown_187":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8962655864812150784}} 
[2026-09-06 16:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":172862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:30:01] local.INFO: GPS data processed {"connection_id":172862,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:30:01] local.INFO: Acknowledgment sent {"connection_id":172862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:30:04] local.INFO: TCP Data received {"connection_id":172862,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0765fb960012d7c75c005d9ea38000400aa0f..."} 
[2026-09-06 16:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765fb960012d7c75c005d9ea38000400aa0f..."} 
[2026-09-06 16:30:04] local.INFO: Processing buffer {"connection_id":172862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765fb960012d7c75c005d9ea38000400aa0f..."} 
[2026-09-06 16:30:04] local.INFO: Packet analysis {"connection_id":172862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765f"} 
[2026-09-06 16:30:04] local.INFO: Extracted packet for processing {"connection_id":172862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765f"} 
[2026-09-06 16:30:04] local.INFO: GPS Element Parsed {"raw_longitude":763131328,"raw_latitude":98167352,"longitude_deg":76.3131328,"latitude_deg":9.8167352,"altitude":4,"angle":170,"satellites":15,"speed":50,"hex_longitude":"2d7c75c0","hex_latitude":"05d9ea38","is_valid_coordinates":true} 
[2026-09-06 16:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905247232001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129029639434665984,"note":"Value kept but may cause issues"} 
[2026-09-06 16:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965822458297886720,"note":"Value kept but may cause issues"} 
[2026-09-06 16:30:04] 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-09-06 16:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788692380000,"timestamp_ms":1788692380000,"timestamp_seconds":1788692380,"priority":1,"record_length":96,"hex_timestamp":"000001a0765fb960"} 
[2026-09-06 16:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:30:04] 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-09-06 16:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 16:30:04] 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-09-06 16:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:30:04] 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-09-06 16:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905247232001,"66":13396,"187":206,"85":15104,"24":50,"16":129029639434665984,"45":8965822458297886720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 16:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905247232001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:30:04] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 16:30:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129029639434665984,"km_value":129029639434665.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965822458297886720,"description":"Unknown IO ID 45"} 
[2026-09-06 16:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905247232001,"power":13396,"unknown_187":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8965822458297886720}} 
[2026-09-06 16:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":172862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:30:04] local.INFO: GPS data processed {"connection_id":172862,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:30:04] local.INFO: Acknowledgment sent {"connection_id":172862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:30:25] local.INFO: TCP Data received {"connection_id":175359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:30:25] local.INFO: Processing buffer {"connection_id":175359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765c1f80012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:30:25] local.INFO: Packet analysis {"connection_id":175359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:30:25] local.INFO: Extracted packet for processing {"connection_id":175359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765c"} 
[2026-09-06 16:30:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905112320001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788692144000,"timestamp_ms":1788692144000,"timestamp_seconds":1788692144,"priority":1,"record_length":96,"hex_timestamp":"000001a0765c1f80"} 
[2026-09-06 16:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 16: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 16:30: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-09-06 16: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-09-06 16:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:30: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-09-06 16:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905112320001,"66":25875,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905112320001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:30:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:30:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905112320001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":175359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:30:25] local.INFO: GPS data processed {"connection_id":175359,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:30:25] local.INFO: Acknowledgment sent {"connection_id":175359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:30:29] local.INFO: TCP Data received {"connection_id":175360,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:30:29] local.INFO: Processing buffer {"connection_id":175360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:30:29] local.INFO: IMEI packet received {"connection_id":175360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":175360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:30:35] local.INFO: TCP Data received {"connection_id":172862,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0765fd4b8012d7c7a0005d9c6f0000400ae0e..."} 
[2026-09-06 16:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765fd4b8012d7c7a0005d9c6f0000400ae0e..."} 
[2026-09-06 16:30:35] local.INFO: Processing buffer {"connection_id":172862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765fd4b8012d7c7a0005d9c6f0000400ae0e..."} 
[2026-09-06 16:30:35] local.INFO: Packet analysis {"connection_id":172862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765f"} 
[2026-09-06 16:30:35] local.INFO: Extracted packet for processing {"connection_id":172862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765f"} 
[2026-09-06 16:30:35] local.INFO: GPS Element Parsed {"raw_longitude":763132416,"raw_latitude":98158320,"longitude_deg":76.3132416,"latitude_deg":9.815832,"altitude":4,"angle":174,"satellites":14,"speed":52,"hex_longitude":"2d7c7a00","hex_latitude":"05d9c6f0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 16:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905249280001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129030081816297472,"note":"Value kept but may cause issues"} 
[2026-09-06 16:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968285364341585920,"note":"Value kept but may cause issues"} 
[2026-09-06 16:30:35] 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-09-06 16:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788692387000,"timestamp_ms":1788692387000,"timestamp_seconds":1788692387,"priority":1,"record_length":96,"hex_timestamp":"000001a0765fd4b8"} 
[2026-09-06 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-09-06 16:30:35] 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-09-06 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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-06 16:30: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-09-06 16: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-09-06 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-09-06 16:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:30:35] 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-09-06 16:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905249280001,"66":13602,"187":206,"85":15104,"24":52,"16":129030081816297472,"45":8968285364341585920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 16:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905249280001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:30:35] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 16:30:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129030081816297472,"km_value":129030081816297.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968285364341585920,"description":"Unknown IO ID 45"} 
[2026-09-06 16:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905249280001,"power":13602,"unknown_187":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8968285364341585920}} 
[2026-09-06 16:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":172862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:30:35] local.INFO: GPS data processed {"connection_id":172862,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:30:35] local.INFO: Acknowledgment sent {"connection_id":172862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:30:47] local.INFO: TCP Data received {"connection_id":172863,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:30:47] local.INFO: Processing buffer {"connection_id":172863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:30:47] local.INFO: IMEI packet received {"connection_id":172863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":172863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:30:49] local.INFO: TCP Data received {"connection_id":174038,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:30:49] local.INFO: Processing buffer {"connection_id":174038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:30:49] local.INFO: IMEI packet received {"connection_id":174038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":174038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:30:52] local.INFO: TCP Data received {"connection_id":172863,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:30:52] local.INFO: Processing buffer {"connection_id":172863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:30:52] local.INFO: IMEI packet received {"connection_id":172863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":172863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:30:53] local.INFO: TCP Data received {"connection_id":172863,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:30:53] local.INFO: Processing buffer {"connection_id":172863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:30:53] local.INFO: Packet analysis {"connection_id":172863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:30:53] local.INFO: Extracted packet for processing {"connection_id":172863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905188864001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788692444000,"timestamp_ms":1788692444000,"timestamp_seconds":1788692444,"priority":1,"record_length":96,"hex_timestamp":"000001a07660b360"} 
[2026-09-06 16:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":19,"data_length":795,"current_offset":136} 
[2026-09-06 16:30: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-09-06 16: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-09-06 16:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:30: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-09-06 16:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905188864001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905188864001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:30:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905188864001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":172863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:30:53] local.INFO: GPS data processed {"connection_id":172863,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:30:53] local.INFO: Acknowledgment sent {"connection_id":172863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:30:55] local.INFO: TCP Data received {"connection_id":172630,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:30:55] local.INFO: Processing buffer {"connection_id":172630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:30:55] local.INFO: IMEI packet received {"connection_id":172630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":172630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:30:56] local.INFO: TCP Data received {"connection_id":172630,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:30:56] local.INFO: Processing buffer {"connection_id":172630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:30:56] local.INFO: IMEI packet received {"connection_id":172630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":172630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:31:00] local.INFO: TCP Data received {"connection_id":172630,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:31:00] local.INFO: Processing buffer {"connection_id":172630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:31:00] local.INFO: IMEI packet received {"connection_id":172630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":172630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:31:01] local.INFO: TCP Data received {"connection_id":172630,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0765ff010012d7c7c4005d9a230000300af0b..."} 
[2026-09-06 16:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0765ff010012d7c7c4005d9a230000300af0b..."} 
[2026-09-06 16:31:01] local.INFO: Processing buffer {"connection_id":172630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0765ff010012d7c7c4005d9a230000300af0b..."} 
[2026-09-06 16:31:01] local.INFO: Packet analysis {"connection_id":172630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0765f"} 
[2026-09-06 16:31:01] local.INFO: Extracted packet for processing {"connection_id":172630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0765f"} 
[2026-09-06 16:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763132992,"raw_latitude":98148912,"longitude_deg":76.3132992,"latitude_deg":9.8148912,"altitude":3,"angle":175,"satellites":11,"speed":53,"hex_longitude":"2d7c7c40","hex_latitude":"05d9a230","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905251072001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129030537082830848,"note":"Value kept but may cause issues"} 
[2026-09-06 16:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969481632990294016,"note":"Value kept but may cause issues"} 
[2026-09-06 16:31:01] 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-09-06 16:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788692394000,"timestamp_ms":1788692394000,"timestamp_seconds":1788692394,"priority":1,"record_length":96,"hex_timestamp":"000001a0765ff010"} 
[2026-09-06 16:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:31:01] 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-09-06 16: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-06 16:31:01] 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-09-06 16: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-09-06 16:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:31: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-09-06 16:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905251072001,"66":13613,"187":206,"85":15104,"24":53,"16":129030537082830848,"45":8969481632990294016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-06 16:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905251072001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:31:01] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-06 16:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129030537082830848,"km_value":129030537082830.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969481632990294016,"description":"Unknown IO ID 45"} 
[2026-09-06 16:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905251072001,"power":13613,"unknown_187":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8969481632990294016}} 
[2026-09-06 16:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":172630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:31:01] local.INFO: GPS data processed {"connection_id":172630,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:31:01] local.INFO: Acknowledgment sent {"connection_id":172630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:31:24] local.INFO: TCP Data received {"connection_id":172863,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:31:24] local.INFO: Processing buffer {"connection_id":172863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:31:24] local.INFO: Packet analysis {"connection_id":172863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:31:24] local.INFO: Extracted packet for processing {"connection_id":172863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:31:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905188864001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788692444000,"timestamp_ms":1788692444000,"timestamp_seconds":1788692444,"priority":1,"record_length":96,"hex_timestamp":"000001a07660b360"} 
[2026-09-06 16:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 16:31: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-09-06 16: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-09-06 16:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:31: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-09-06 16:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905188864001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905188864001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:31:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905188864001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":172863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:31:24] local.INFO: GPS data processed {"connection_id":172863,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:31:24] local.INFO: Acknowledgment sent {"connection_id":172863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:31:33] local.INFO: TCP Data received {"connection_id":172630,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076600b68012d7c808005d97e10000300b00b..."} 
[2026-09-06 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076600b68012d7c808005d97e10000300b00b..."} 
[2026-09-06 16:31:33] local.INFO: Processing buffer {"connection_id":172630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076600b68012d7c808005d97e10000300b00b..."} 
[2026-09-06 16:31:33] local.INFO: Packet analysis {"connection_id":172630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:31:33] local.INFO: Extracted packet for processing {"connection_id":172630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763134080,"raw_latitude":98139664,"longitude_deg":76.313408,"latitude_deg":9.8139664,"altitude":3,"angle":176,"satellites":11,"speed":53,"hex_longitude":"2d7c8080","hex_latitude":"05d97e10","is_valid_coordinates":true} 
[2026-09-06 16:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905252864001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129030988054396928,"note":"Value kept but may cause issues"} 
[2026-09-06 16:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970114951685484544,"note":"Value kept but may cause issues"} 
[2026-09-06 16:31:33] 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-09-06 16:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788692401000,"timestamp_ms":1788692401000,"timestamp_seconds":1788692401,"priority":1,"record_length":96,"hex_timestamp":"000001a076600b68"} 
[2026-09-06 16:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:31:33] 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-09-06 16:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-06 16:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:31:33] 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-09-06 16:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905252864001,"66":13580,"245":206,"85":15104,"24":53,"16":129030988054396928,"45":8970114951685484544},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-09-06 16:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905252864001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129030988054396928,"km_value":129030988054396.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970114951685484544,"description":"Unknown IO ID 45"} 
[2026-09-06 16:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905252864001,"power":13580,"geofence_id":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8970114951685484544}} 
[2026-09-06 16:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":172630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:31:33] local.INFO: GPS data processed {"connection_id":172630,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:31:33] local.INFO: Acknowledgment sent {"connection_id":172630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:31:47] local.INFO: TCP Data received {"connection_id":174039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:31:47] local.INFO: Processing buffer {"connection_id":174039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:31:47] local.INFO: IMEI packet received {"connection_id":174039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":174039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:31:52] local.INFO: TCP Data received {"connection_id":174039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:31:52] local.INFO: Processing buffer {"connection_id":174039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:31:52] local.INFO: IMEI packet received {"connection_id":174039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":174039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:31:53] local.INFO: TCP Data received {"connection_id":174039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:31:53] local.INFO: Processing buffer {"connection_id":174039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:31:53] local.INFO: Packet analysis {"connection_id":174039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:31:53] local.INFO: Extracted packet for processing {"connection_id":174039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905188864001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788692444000,"timestamp_ms":1788692444000,"timestamp_seconds":1788692444,"priority":1,"record_length":96,"hex_timestamp":"000001a07660b360"} 
[2026-09-06 16:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:31: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-09-06 16: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":19,"data_length":795,"current_offset":136} 
[2026-09-06 16:31: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-09-06 16: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-09-06 16:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:31: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-09-06 16:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905188864001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905188864001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:31:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:31:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905188864001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":174039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:31:53] local.INFO: GPS data processed {"connection_id":174039,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:31:53] local.INFO: Acknowledgment sent {"connection_id":174039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:31:55] local.INFO: TCP Data received {"connection_id":172864,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:31:55] local.INFO: Processing buffer {"connection_id":172864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:31:55] local.INFO: IMEI packet received {"connection_id":172864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":172864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:31:56] local.INFO: TCP Data received {"connection_id":172864,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:31:56] local.INFO: Processing buffer {"connection_id":172864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:31:56] local.INFO: IMEI packet received {"connection_id":172864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":172864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:32:00] local.INFO: TCP Data received {"connection_id":172864,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:32:00] local.INFO: Processing buffer {"connection_id":172864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:32:00] local.INFO: IMEI packet received {"connection_id":172864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":172864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:32:01] local.INFO: TCP Data received {"connection_id":172864,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076615388012d7ca44005d7e5f8000900ae10..."} 
[2026-09-06 16:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076615388012d7ca44005d7e5f8000900ae10..."} 
[2026-09-06 16:32:01] local.INFO: Processing buffer {"connection_id":172864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076615388012d7ca44005d7e5f8000900ae10..."} 
[2026-09-06 16:32:01] local.INFO: Packet analysis {"connection_id":172864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07661"} 
[2026-09-06 16:32:01] local.INFO: Extracted packet for processing {"connection_id":172864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07661"} 
[2026-09-06 16:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763143232,"raw_latitude":98035192,"longitude_deg":76.3143232,"latitude_deg":9.8035192,"altitude":9,"angle":174,"satellites":16,"speed":25,"hex_longitude":"2d7ca440","hex_latitude":"05d7e5f8","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905273088001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129036081885609984,"note":"Value kept but may cause issues"} 
[2026-09-06 16:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980459157052895232,"note":"Value kept but may cause issues"} 
[2026-09-06 16:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788692485000,"timestamp_ms":1788692485000,"timestamp_seconds":1788692485,"priority":1,"record_length":96,"hex_timestamp":"000001a076615388"} 
[2026-09-06 16:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-06 16:32:01] 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-09-06 16: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-09-06 16:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:32: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-09-06 16:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905273088001,"66":13472,"196":206,"85":15104,"24":25,"16":129036081885609984,"45":8980459157052895232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-09-06 16:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905273088001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:32:01] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-06 16:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129036081885609984,"km_value":129036081885609.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980459157052895232,"description":"Unknown IO ID 45"} 
[2026-09-06 16:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905273088001,"power":13472,"unknown_196":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8980459157052895232}} 
[2026-09-06 16:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":172864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:32:01] local.INFO: GPS data processed {"connection_id":172864,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:32:01] local.INFO: Acknowledgment sent {"connection_id":172864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:32:25] local.INFO: TCP Data received {"connection_id":174039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:32:25] local.INFO: Processing buffer {"connection_id":174039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:32:25] local.INFO: Packet analysis {"connection_id":174039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:32:25] local.INFO: Extracted packet for processing {"connection_id":174039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:32:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905188864001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788692444000,"timestamp_ms":1788692444000,"timestamp_seconds":1788692444,"priority":1,"record_length":96,"hex_timestamp":"000001a07660b360"} 
[2026-09-06 16:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:32: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-09-06 16: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":19,"data_length":795,"current_offset":136} 
[2026-09-06 16:32: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-09-06 16: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-09-06 16:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:32: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-09-06 16:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905188864001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905188864001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:32:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:32:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905188864001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":174039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:32:25] local.INFO: GPS data processed {"connection_id":174039,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:32:25] local.INFO: Acknowledgment sent {"connection_id":174039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:32:32] local.INFO: TCP Data received {"connection_id":172864,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076618650012d7ca88005d7c2a0000c00a90f..."} 
[2026-09-06 16:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076618650012d7ca88005d7c2a0000c00a90f..."} 
[2026-09-06 16:32:32] local.INFO: Processing buffer {"connection_id":172864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076618650012d7ca88005d7c2a0000c00a90f..."} 
[2026-09-06 16:32:32] local.INFO: Packet analysis {"connection_id":172864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07661"} 
[2026-09-06 16:32:32] local.INFO: Extracted packet for processing {"connection_id":172864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07661"} 
[2026-09-06 16:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763144320,"raw_latitude":98026144,"longitude_deg":76.314432,"latitude_deg":9.8026144,"altitude":12,"angle":169,"satellites":15,"speed":38,"hex_longitude":"2d7ca880","hex_latitude":"05d7c2a0","is_valid_coordinates":true} 
[2026-09-06 16:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905276160001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129036524267241472,"note":"Value kept but may cause issues"} 
[2026-09-06 16:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981373950724798464,"note":"Value kept but may cause issues"} 
[2026-09-06 16:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788692498000,"timestamp_ms":1788692498000,"timestamp_seconds":1788692498,"priority":1,"record_length":96,"hex_timestamp":"000001a076618650"} 
[2026-09-06 16:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 16:32:32] 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-09-06 16:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:32:32] 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-09-06 16:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905276160001,"66":13678,"195":206,"85":15104,"24":38,"16":129036524267241472,"45":8981373950724798464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-09-06 16:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905276160001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:32:32] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-06 16:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129036524267241472,"km_value":129036524267241.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981373950724798464,"description":"Unknown IO ID 45"} 
[2026-09-06 16:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905276160001,"power":13678,"unknown_195":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8981373950724798464}} 
[2026-09-06 16:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":172864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:32:33] local.INFO: GPS data processed {"connection_id":172864,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:32:33] local.INFO: Acknowledgment sent {"connection_id":172864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:32:47] local.INFO: TCP Data received {"connection_id":174041,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:32:47] local.INFO: Processing buffer {"connection_id":174041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:32:47] local.INFO: IMEI packet received {"connection_id":174041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":174041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:32:52] local.INFO: TCP Data received {"connection_id":174041,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:32:52] local.INFO: Processing buffer {"connection_id":174041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:32:52] local.INFO: IMEI packet received {"connection_id":174041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":174041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:32:53] local.INFO: TCP Data received {"connection_id":174041,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:32:53] local.INFO: Processing buffer {"connection_id":174041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:32:53] local.INFO: Packet analysis {"connection_id":174041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:32:53] local.INFO: Extracted packet for processing {"connection_id":174041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905188864001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788692444000,"timestamp_ms":1788692444000,"timestamp_seconds":1788692444,"priority":1,"record_length":96,"hex_timestamp":"000001a07660b360"} 
[2026-09-06 16:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:32: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-09-06 16: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":19,"data_length":795,"current_offset":136} 
[2026-09-06 16:32: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-09-06 16: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-09-06 16:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16: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-09-06 16:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905188864001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905188864001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:32:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905188864001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":174041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:32:53] local.INFO: GPS data processed {"connection_id":174041,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:32:53] local.INFO: Acknowledgment sent {"connection_id":174041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:32:55] local.INFO: TCP Data received {"connection_id":172865,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:32:55] local.INFO: Processing buffer {"connection_id":172865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:32:55] local.INFO: IMEI packet received {"connection_id":172865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":172865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:33:00] local.INFO: TCP Data received {"connection_id":172865,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:33:00] local.INFO: Processing buffer {"connection_id":172865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:33:00] local.INFO: IMEI packet received {"connection_id":172865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":172865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:33:01] local.INFO: TCP Data received {"connection_id":172865,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07661a978012d7cadc005d79c20000f00ab0f..."} 
[2026-09-06 16:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07661a978012d7cadc005d79c20000f00ab0f..."} 
[2026-09-06 16:33:01] local.INFO: Processing buffer {"connection_id":172865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07661a978012d7cadc005d79c20000f00ab0f..."} 
[2026-09-06 16:33:01] local.INFO: Packet analysis {"connection_id":172865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07661"} 
[2026-09-06 16:33:01] local.INFO: Extracted packet for processing {"connection_id":172865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07661"} 
[2026-09-06 16:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763145664,"raw_latitude":98016288,"longitude_deg":76.3145664,"latitude_deg":9.8016288,"altitude":15,"angle":171,"satellites":15,"speed":48,"hex_longitude":"2d7cadc0","hex_latitude":"05d79c20","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905279488001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129037005303578624,"note":"Value kept but may cause issues"} 
[2026-09-06 16:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982570219373502464,"note":"Value kept but may cause issues"} 
[2026-09-06 16:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788692507000,"timestamp_ms":1788692507000,"timestamp_seconds":1788692507,"priority":1,"record_length":96,"hex_timestamp":"000001a07661a978"} 
[2026-09-06 16:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 16:33:01] 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-09-06 16: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-09-06 16:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:33: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-09-06 16:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905279488001,"66":13656,"195":206,"85":15104,"24":48,"16":129037005303578624,"45":8982570219373502464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-09-06 16:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905279488001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:33:01] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-06 16:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129037005303578624,"km_value":129037005303578.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982570219373502464,"description":"Unknown IO ID 45"} 
[2026-09-06 16:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905279488001,"power":13656,"unknown_195":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8982570219373502464}} 
[2026-09-06 16:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":172865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:33:01] local.INFO: GPS data processed {"connection_id":172865,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:33:01] local.INFO: Acknowledgment sent {"connection_id":172865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:33:25] local.INFO: TCP Data received {"connection_id":174041,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:33:25] local.INFO: Processing buffer {"connection_id":174041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:33:25] local.INFO: Packet analysis {"connection_id":174041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:33:25] local.INFO: Extracted packet for processing {"connection_id":174041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:33:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 16:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905188864001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 16:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788692444000,"timestamp_ms":1788692444000,"timestamp_seconds":1788692444,"priority":1,"record_length":96,"hex_timestamp":"000001a07660b360"} 
[2026-09-06 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-09-06 16:33: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-09-06 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 16:33: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-09-06 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-09-06 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-09-06 16:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:33: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-09-06 16:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905188864001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905188864001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:33:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:33:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905188864001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":174041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:33:25] local.INFO: GPS data processed {"connection_id":174041,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:33:25] local.INFO: Acknowledgment sent {"connection_id":174041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:33:32] local.INFO: TCP Data received {"connection_id":172865,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07661c4d0012d7cb4c005d77858001100a60d..."} 
[2026-09-06 16:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07661c4d0012d7cb4c005d77858001100a60d..."} 
[2026-09-06 16:33:32] local.INFO: Processing buffer {"connection_id":172865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07661c4d0012d7cb4c005d77858001100a60d..."} 
[2026-09-06 16:33:32] local.INFO: Packet analysis {"connection_id":172865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07661"} 
[2026-09-06 16:33:32] local.INFO: Extracted packet for processing {"connection_id":172865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07661"} 
[2026-09-06 16:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763147456,"raw_latitude":98007128,"longitude_deg":76.3147456,"latitude_deg":9.8007128,"altitude":17,"angle":166,"satellites":13,"speed":55,"hex_longitude":"2d7cb4c0","hex_latitude":"05d77858","is_valid_coordinates":true} 
[2026-09-06 16:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905281792001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129037456275144704,"note":"Value kept but may cause issues"} 
[2026-09-06 16:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984047962998710272,"note":"Value kept but may cause issues"} 
[2026-09-06 16:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788692514000,"timestamp_ms":1788692514000,"timestamp_seconds":1788692514,"priority":1,"record_length":96,"hex_timestamp":"000001a07661c4d0"} 
[2026-09-06 16:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:33:32] 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-09-06 16:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 16:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:33:32] 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-09-06 16:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905281792001,"66":13493,"195":206,"85":15104,"24":55,"16":129037456275144704,"45":8984047962998710272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-09-06 16:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905281792001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:33:32] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-06 16:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129037456275144704,"km_value":129037456275144.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984047962998710272,"description":"Unknown IO ID 45"} 
[2026-09-06 16:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905281792001,"power":13493,"unknown_195":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8984047962998710272}} 
[2026-09-06 16:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":172865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:33:33] local.INFO: GPS data processed {"connection_id":172865,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:33:33] local.INFO: Acknowledgment sent {"connection_id":172865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:33:47] local.INFO: TCP Data received {"connection_id":174042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:33:47] local.INFO: Processing buffer {"connection_id":174042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:33:47] local.INFO: IMEI packet received {"connection_id":174042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":174042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:33:52] local.INFO: TCP Data received {"connection_id":174042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:33:52] local.INFO: Processing buffer {"connection_id":174042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:33:52] local.INFO: IMEI packet received {"connection_id":174042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":174042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:33:53] local.INFO: TCP Data received {"connection_id":174042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:33:53] local.INFO: Processing buffer {"connection_id":174042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:33:53] local.INFO: Packet analysis {"connection_id":174042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:33:53] local.INFO: Extracted packet for processing {"connection_id":174042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:33:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905188864001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788692444000,"timestamp_ms":1788692444000,"timestamp_seconds":1788692444,"priority":1,"record_length":96,"hex_timestamp":"000001a07660b360"} 
[2026-09-06 16:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 16:33: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-09-06 16: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-09-06 16:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16: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-09-06 16:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905188864001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905188864001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:33:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:33:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905188864001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":174042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:33:53] local.INFO: GPS data processed {"connection_id":174042,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:33:53] local.INFO: Acknowledgment sent {"connection_id":174042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:33:55] local.INFO: TCP Data received {"connection_id":175362,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:33:55] local.INFO: Processing buffer {"connection_id":175362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:33:55] local.INFO: IMEI packet received {"connection_id":175362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":175362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:34:04] local.INFO: TCP Data received {"connection_id":175362,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:34:04] local.INFO: Processing buffer {"connection_id":175362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:34:04] local.INFO: IMEI packet received {"connection_id":175362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":175362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:34:07] local.INFO: TCP Data received {"connection_id":175362,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:34:07] local.INFO: Processing buffer {"connection_id":175362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:34:07] local.INFO: IMEI packet received {"connection_id":175362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":175362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:34:10] local.INFO: TCP Data received {"connection_id":175362,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076634f58012d7cff4005d60720002100ab0e..."} 
[2026-09-06 16:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076634f58012d7cff4005d60720002100ab0e..."} 
[2026-09-06 16:34:10] local.INFO: Processing buffer {"connection_id":175362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076634f58012d7cff4005d60720002100ab0e..."} 
[2026-09-06 16:34:10] local.INFO: Packet analysis {"connection_id":175362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07663"} 
[2026-09-06 16:34:10] local.INFO: Extracted packet for processing {"connection_id":175362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07663"} 
[2026-09-06 16:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763166528,"raw_latitude":97912608,"longitude_deg":76.3166528,"latitude_deg":9.7912608,"altitude":33,"angle":171,"satellites":14,"speed":55,"hex_longitude":"2d7cff40","hex_latitude":"05d60720","is_valid_coordinates":true} 
[2026-09-06 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-09-06 16:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905307392001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129042163559301120,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006073379902343168,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788692615000,"timestamp_ms":1788692615000,"timestamp_seconds":1788692615,"priority":1,"record_length":96,"hex_timestamp":"000001a076634f58"} 
[2026-09-06 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-09-06 16:34:10] 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-09-06 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 16:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630960,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3859407859284443136,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:10] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2792357914,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039035075,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803826894,"corrected_to":0} 
[2026-09-06 16:34:10] local.WARNING: Large IO value detected {"io_id":234,"raw_value":2147866303,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:10] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026193177070481835,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:10] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1896742912,"corrected_to":0} 
[2026-09-06 16:34:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3605258240,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:10] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-3170527716557455335,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:10] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755635664388337,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:10] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,30,85,24,241,157,16,114,160,45,192,82,33,15,10,66,64,118,113,198,1,240,181,227,214,4,205,11,81,234,152,239,52,31,2,202,5,25,53,124,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2803826894,"validated":0},{"io_id":202,"original":1896742912,"validated":0}]} 
[2026-09-06 16:34:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378089783678926848,"timestamp_seconds":2378089783678927.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 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-09-06 16:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:34:10] 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-09-06 16:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905307392001,"66":13678,"30":206,"85":15104,"24":55,"16":129042163559301120,"45":9006073379902343168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-06 16:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905307392001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:34:10] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-06 16:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129042163559301120,"km_value":129042163559301.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006073379902343168,"description":"Unknown IO ID 45"} 
[2026-09-06 16:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905307392001,"power":13678,"unknown_30":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9006073379902343168}} 
[2026-09-06 16:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":175362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:34:10] local.INFO: GPS data processed {"connection_id":175362,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:34:10] local.INFO: Acknowledgment sent {"connection_id":175362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:34:15] local.INFO: TCP Data received {"connection_id":175362,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076636ab0012d7d080005d5e0c8002100a30c..."} 
[2026-09-06 16:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076636ab0012d7d080005d5e0c8002100a30c..."} 
[2026-09-06 16:34:15] local.INFO: Processing buffer {"connection_id":175362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076636ab0012d7d080005d5e0c8002100a30c..."} 
[2026-09-06 16:34:15] local.INFO: Packet analysis {"connection_id":175362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07663"} 
[2026-09-06 16:34:15] local.INFO: Extracted packet for processing {"connection_id":175362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07663"} 
[2026-09-06 16:34:15] local.INFO: GPS Element Parsed {"raw_longitude":763168768,"raw_latitude":97902792,"longitude_deg":76.3168768,"latitude_deg":9.7902792,"altitude":33,"angle":163,"satellites":12,"speed":57,"hex_longitude":"2d7d0800","hex_latitude":"05d5e0c8","is_valid_coordinates":true} 
[2026-09-06 16:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905309440001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129042653185572864,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006988173574086656,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:15] 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-09-06 16:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788692622000,"timestamp_ms":1788692622000,"timestamp_seconds":1788692622,"priority":1,"record_length":96,"hex_timestamp":"000001a076636ab0"} 
[2026-09-06 16:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:34:15] 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-09-06 16:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 16:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:34:15] 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-09-06 16:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905309440001,"66":13678,"29":206,"85":15104,"24":57,"16":129042653185572864,"45":9006988173574086656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-06 16:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905309440001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:34:15] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-06 16:34:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129042653185572864,"km_value":129042653185572.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006988173574086656,"description":"Unknown IO ID 45"} 
[2026-09-06 16:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905309440001,"power":13678,"unknown_29":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9006988173574086656}} 
[2026-09-06 16:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":175362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:34:15] local.INFO: GPS data processed {"connection_id":175362,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:34:15] local.INFO: Acknowledgment sent {"connection_id":175362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:34:24] local.INFO: TCP Data received {"connection_id":174042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:34:24] local.INFO: Processing buffer {"connection_id":174042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:34:24] local.INFO: Packet analysis {"connection_id":174042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:34:24] local.INFO: Extracted packet for processing {"connection_id":174042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:34:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905188864001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788692444000,"timestamp_ms":1788692444000,"timestamp_seconds":1788692444,"priority":1,"record_length":96,"hex_timestamp":"000001a07660b360"} 
[2026-09-06 16:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:34: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-09-06 16:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 16:34: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-09-06 16:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16: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-09-06 16:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905188864001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905188864001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:34:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:34:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905188864001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":174042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:34:24] local.INFO: GPS data processed {"connection_id":174042,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:34:24] local.INFO: Acknowledgment sent {"connection_id":174042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:34:47] local.INFO: TCP Data received {"connection_id":172632,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:34:47] local.INFO: Processing buffer {"connection_id":172632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:34:47] local.INFO: IMEI packet received {"connection_id":172632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":172632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:34:52] local.INFO: TCP Data received {"connection_id":172632,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:34:52] local.INFO: Processing buffer {"connection_id":172632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:34:52] local.INFO: IMEI packet received {"connection_id":172632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":172632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:34:53] local.INFO: TCP Data received {"connection_id":172632,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:34:53] local.INFO: Processing buffer {"connection_id":172632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:34:53] local.INFO: Packet analysis {"connection_id":172632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:34:53] local.INFO: Extracted packet for processing {"connection_id":172632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905188864001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788692444000,"timestamp_ms":1788692444000,"timestamp_seconds":1788692444,"priority":1,"record_length":96,"hex_timestamp":"000001a07660b360"} 
[2026-09-06 16:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":19,"data_length":795,"current_offset":136} 
[2026-09-06 16:34: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-09-06 16: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-09-06 16:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:34: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-09-06 16:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905188864001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905188864001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905188864001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":172632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:34:53] local.INFO: GPS data processed {"connection_id":172632,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:34:53] local.INFO: Acknowledgment sent {"connection_id":172632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:34:55] local.INFO: TCP Data received {"connection_id":172867,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:34:55] local.INFO: Processing buffer {"connection_id":172867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:34:55] local.INFO: IMEI packet received {"connection_id":172867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":172867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:35:00] local.INFO: TCP Data received {"connection_id":172867,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:35:00] local.INFO: Processing buffer {"connection_id":172867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:35:00] local.INFO: IMEI packet received {"connection_id":172867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":172867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:35:01] local.INFO: TCP Data received {"connection_id":172867,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076638608012d7d158005d5bbf80021009f10..."} 
[2026-09-06 16:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076638608012d7d158005d5bbf80021009f10..."} 
[2026-09-06 16:35:01] local.INFO: Processing buffer {"connection_id":172867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076638608012d7d158005d5bbf80021009f10..."} 
[2026-09-06 16:35:01] local.INFO: Packet analysis {"connection_id":172867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07663"} 
[2026-09-06 16:35:01] local.INFO: Extracted packet for processing {"connection_id":172867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07663"} 
[2026-09-06 16:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763172224,"raw_latitude":97893368,"longitude_deg":76.3172224,"latitude_deg":9.7893368,"altitude":33,"angle":159,"satellites":16,"speed":57,"hex_longitude":"2d7d1580","hex_latitude":"05d5bbf8","is_valid_coordinates":true} 
[2026-09-06 16:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905311232001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129043138516877312,"note":"Value kept but may cause issues"} 
[2026-09-06 16:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009451079617792000,"note":"Value kept but may cause issues"} 
[2026-09-06 16:35:01] 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-09-06 16:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788692629000,"timestamp_ms":1788692629000,"timestamp_seconds":1788692629,"priority":1,"record_length":96,"hex_timestamp":"000001a076638608"} 
[2026-09-06 16:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:35:01] 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-09-06 16:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 16:35:01] 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-09-06 16:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:35: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-09-06 16:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905311232001,"66":13504,"29":206,"85":15104,"24":57,"16":129043138516877312,"45":9009451079617792000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-06 16:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905311232001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:35:01] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-06 16:35:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129043138516877312,"km_value":129043138516877.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009451079617792000,"description":"Unknown IO ID 45"} 
[2026-09-06 16:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905311232001,"power":13504,"unknown_29":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9009451079617792000}} 
[2026-09-06 16:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":172867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:35:01] local.INFO: GPS data processed {"connection_id":172867,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:35:01] local.INFO: Acknowledgment sent {"connection_id":172867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:35:25] local.INFO: TCP Data received {"connection_id":172632,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:35:25] local.INFO: Processing buffer {"connection_id":172632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07660b360012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:35:25] local.INFO: Packet analysis {"connection_id":172632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:35:25] local.INFO: Extracted packet for processing {"connection_id":172632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07660"} 
[2026-09-06 16:35:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905188864001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788692444000,"timestamp_ms":1788692444000,"timestamp_seconds":1788692444,"priority":1,"record_length":96,"hex_timestamp":"000001a07660b360"} 
[2026-09-06 16:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":19,"data_length":795,"current_offset":136} 
[2026-09-06 16:35: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-09-06 16: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-09-06 16:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16: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-09-06 16:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905188864001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905188864001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:35:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:35:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905188864001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":172632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:35:25] local.INFO: GPS data processed {"connection_id":172632,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:35:25] local.INFO: Acknowledgment sent {"connection_id":172632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:35:32] local.INFO: TCP Data received {"connection_id":172867,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07664c658012d7d3f0005d3e280000200ba0f..."} 
[2026-09-06 16:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07664c658012d7d3f0005d3e280000200ba0f..."} 
[2026-09-06 16:35:32] local.INFO: Processing buffer {"connection_id":172867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07664c658012d7d3f0005d3e280000200ba0f..."} 
[2026-09-06 16:35:32] local.INFO: Packet analysis {"connection_id":172867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07664"} 
[2026-09-06 16:35:32] local.INFO: Extracted packet for processing {"connection_id":172867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07664"} 
[2026-09-06 16:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763182848,"raw_latitude":97772160,"longitude_deg":76.3182848,"latitude_deg":9.777216,"altitude":2,"angle":186,"satellites":15,"speed":58,"hex_longitude":"2d7d3f00","hex_latitude":"05d3e280","is_valid_coordinates":true} 
[2026-09-06 16:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905332480001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129049082751614976,"note":"Value kept but may cause issues"} 
[2026-09-06 16:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025846996980033536,"note":"Value kept but may cause issues"} 
[2026-09-06 16:35:32] 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-09-06 16:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788692711000,"timestamp_ms":1788692711000,"timestamp_seconds":1788692711,"priority":1,"record_length":96,"hex_timestamp":"000001a07664c658"} 
[2026-09-06 16:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-06 16:35:32] 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-09-06 16:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:35:32] 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-09-06 16:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905332480001,"66":13580,"254":206,"85":15104,"24":58,"16":129049082751614976,"45":9025846996980033536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-09-06 16:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905332480001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:35:32] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-09-06 16:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129049082751614976,"km_value":129049082751614.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025846996980033536,"description":"Unknown IO ID 45"} 
[2026-09-06 16:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905332480001,"power":13580,"unknown_254":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9025846996980033536}} 
[2026-09-06 16:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":172867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:35:32] local.INFO: GPS data processed {"connection_id":172867,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:35:32] local.INFO: Acknowledgment sent {"connection_id":172867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:35:47] local.INFO: TCP Data received {"connection_id":175363,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:35:47] local.INFO: Processing buffer {"connection_id":175363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:35:47] local.INFO: IMEI packet received {"connection_id":175363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":175363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:35:54] local.INFO: TCP Data received {"connection_id":175363,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:35:54] local.INFO: Processing buffer {"connection_id":175363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:35:54] local.INFO: IMEI packet received {"connection_id":175363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":175363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:35:55] local.INFO: TCP Data received {"connection_id":175363,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:35:55] local.INFO: Processing buffer {"connection_id":175363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:35:55] local.INFO: Packet analysis {"connection_id":175363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:35:55] local.INFO: Extracted packet for processing {"connection_id":175363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:35:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905265664001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:35: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-09-06 16:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788692746000,"timestamp_ms":1788692746000,"timestamp_seconds":1788692746,"priority":1,"record_length":96,"hex_timestamp":"000001a076654f10"} 
[2026-09-06 16:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 16:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:35:55] 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-09-06 16:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905265664001,"66":25615,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905265664001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:35:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:35:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905265664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":175363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:35:55] local.INFO: GPS data processed {"connection_id":175363,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:35:55] local.INFO: Acknowledgment sent {"connection_id":175363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:36:00] local.INFO: TCP Data received {"connection_id":172633,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:36:00] local.INFO: Processing buffer {"connection_id":172633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:36:00] local.INFO: IMEI packet received {"connection_id":172633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":172633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:36:03] local.INFO: TCP Data received {"connection_id":172633,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:36:03] local.INFO: Processing buffer {"connection_id":172633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:36:03] local.INFO: IMEI packet received {"connection_id":172633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":172633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:36:04] local.INFO: TCP Data received {"connection_id":172633,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07664e1b0012d7d3ac005d3bb48000100b90f..."} 
[2026-09-06 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07664e1b0012d7d3ac005d3bb48000100b90f..."} 
[2026-09-06 16:36:04] local.INFO: Processing buffer {"connection_id":172633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07664e1b0012d7d3ac005d3bb48000100b90f..."} 
[2026-09-06 16:36:04] local.INFO: Packet analysis {"connection_id":172633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07664"} 
[2026-09-06 16:36:04] local.INFO: Extracted packet for processing {"connection_id":172633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07664"} 
[2026-09-06 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":763181760,"raw_latitude":97762120,"longitude_deg":76.318176,"latitude_deg":9.776212,"altitude":1,"angle":185,"satellites":15,"speed":57,"hex_longitude":"2d7d3ac0","hex_latitude":"05d3bb48","is_valid_coordinates":true} 
[2026-09-06 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905334016001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129049572377886720,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024932203303436288,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:04] 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-09-06 16:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788692718000,"timestamp_ms":1788692718000,"timestamp_seconds":1788692718,"priority":1,"record_length":96,"hex_timestamp":"000001a07664e1b0"} 
[2026-09-06 16:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 16:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751630966,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3569178624,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3857623351912562688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634042044688637,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835218638,"corrected_to":0} 
[2026-09-06 16:36:04] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3221607578,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:04] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2002649088,"corrected_to":0} 
[2026-09-06 16:36:04] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3350684534617145366,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:04] local.WARNING: Large IO value detected {"io_id":54,"raw_value":432571689910455893,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:04] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755661434192113,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:04] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,254,85,24,241,157,16,121,160,174,45,64,5,2,15,10,66,151,40,120,124,128,1,240,214,227,118,212,4,113,205,58,73,55,14,239,53,253,202,17,60,125,54,59],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2835218638,"validated":0},{"io_id":202,"original":2002649088,"validated":0}]} 
[2026-09-06 16:36:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144319761666932736,"timestamp_seconds":144319761666932.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 16:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":172633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":172633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":172633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:36:04] 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-09-06 16:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905334016001,"66":13472,"254":206,"85":15104,"24":57,"16":129049572377886720,"45":9024932203303436288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-09-06 16:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905334016001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:36:04] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-09-06 16:36:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129049572377886720,"km_value":129049572377886.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024932203303436288,"description":"Unknown IO ID 45"} 
[2026-09-06 16:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905334016001,"power":13472,"unknown_254":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9024932203303436288}} 
[2026-09-06 16:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":172633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:36:04] local.INFO: GPS data processed {"connection_id":172633,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:36:04] local.INFO: Acknowledgment sent {"connection_id":172633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:36:05] local.INFO: TCP Data received {"connection_id":172633,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07664fd08012d7d3a4005d39458000300b30e..."} 
[2026-09-06 16:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07664fd08012d7d3a4005d39458000300b30e..."} 
[2026-09-06 16:36:05] local.INFO: Processing buffer {"connection_id":172633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07664fd08012d7d3a4005d39458000300b30e..."} 
[2026-09-06 16:36:05] local.INFO: Packet analysis {"connection_id":172633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07664"} 
[2026-09-06 16:36:05] local.INFO: Extracted packet for processing {"connection_id":172633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07664"} 
[2026-09-06 16:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":97752152,"longitude_deg":76.3181632,"latitude_deg":9.7752152,"altitude":3,"angle":179,"satellites":14,"speed":56,"hex_longitude":"2d7d3a40","hex_latitude":"05d39458","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905335808001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129050053414223872,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735934649845760,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788692725000,"timestamp_ms":1788692725000,"timestamp_seconds":1788692725,"priority":1,"record_length":96,"hex_timestamp":"000001a07664fd08"} 
[2026-09-06 16:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 16:36: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-09-06 16: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-09-06 16:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:36:05] 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-09-06 16:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905335808001,"66":13559,"254":206,"85":15104,"24":56,"16":129050053414223872,"45":9023735934649845760},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-09-06 16:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905335808001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:36:05] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-09-06 16:36:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129050053414223872,"km_value":129050053414223.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735934649845760,"description":"Unknown IO ID 45"} 
[2026-09-06 16:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905335808001,"power":13559,"unknown_254":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9023735934649845760}} 
[2026-09-06 16:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":172633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:36:05] local.INFO: GPS data processed {"connection_id":172633,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:36:05] local.INFO: Acknowledgment sent {"connection_id":172633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:36:15] local.INFO: TCP Data received {"connection_id":174043,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:36:15] local.INFO: Processing buffer {"connection_id":174043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:36:15] local.INFO: IMEI packet received {"connection_id":174043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":174043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:36:27] local.INFO: TCP Data received {"connection_id":175363,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:36:27] local.INFO: Processing buffer {"connection_id":175363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:36:27] local.INFO: Packet analysis {"connection_id":175363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:36:27] local.INFO: Extracted packet for processing {"connection_id":175363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:36:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905265664001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36: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-09-06 16:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788692746000,"timestamp_ms":1788692746000,"timestamp_seconds":1788692746,"priority":1,"record_length":96,"hex_timestamp":"000001a076654f10"} 
[2026-09-06 16:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:36: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-09-06 16:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:36:27] 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-09-06 16:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:36: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-09-06 16:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905265664001,"66":25615,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905265664001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:36:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:36:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905265664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":175363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:36:27] local.INFO: GPS data processed {"connection_id":175363,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:36:27] local.INFO: Acknowledgment sent {"connection_id":175363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:36:37] local.INFO: TCP Data received {"connection_id":172633,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076651860012d7d3c8005d36d68000500b10f..."} 
[2026-09-06 16:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076651860012d7d3c8005d36d68000500b10f..."} 
[2026-09-06 16:36:37] local.INFO: Processing buffer {"connection_id":172633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076651860012d7d3c8005d36d68000500b10f..."} 
[2026-09-06 16:36:37] local.INFO: Packet analysis {"connection_id":172633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:36:37] local.INFO: Extracted packet for processing {"connection_id":172633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97742184,"longitude_deg":76.3182208,"latitude_deg":9.7742184,"altitude":5,"angle":177,"satellites":15,"speed":56,"hex_longitude":"2d7d3c80","hex_latitude":"05d36d68","is_valid_coordinates":true} 
[2026-09-06 16:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905337600001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129050538745528320,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023595197158938624,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:37] 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-09-06 16:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788692732000,"timestamp_ms":1788692732000,"timestamp_seconds":1788692732,"priority":1,"record_length":96,"hex_timestamp":"000001a076651860"} 
[2026-09-06 16:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:36: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-09-06 16:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 16:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:36: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-09-06 16:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905337600001,"66":13689,"254":206,"85":15104,"24":56,"16":129050538745528320,"45":9023595197158938624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-09-06 16:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905337600001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:36:37] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-09-06 16:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129050538745528320,"km_value":129050538745528.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023595197158938624,"description":"Unknown IO ID 45"} 
[2026-09-06 16:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905337600001,"power":13689,"unknown_254":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9023595197158938624}} 
[2026-09-06 16:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":172633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:36:37] local.INFO: GPS data processed {"connection_id":172633,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:36:37] local.INFO: Acknowledgment sent {"connection_id":172633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:36:52] local.INFO: TCP Data received {"connection_id":174044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:36:52] local.INFO: Processing buffer {"connection_id":174044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:36:52] local.INFO: IMEI packet received {"connection_id":174044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":174044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:36:54] local.INFO: TCP Data received {"connection_id":172634,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:36:54] local.INFO: Processing buffer {"connection_id":172634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:36:54] local.INFO: IMEI packet received {"connection_id":172634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":172634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:36:55] local.INFO: TCP Data received {"connection_id":172635,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:36:55] local.INFO: Processing buffer {"connection_id":172635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:36:55] local.INFO: IMEI packet received {"connection_id":172635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":172635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:36:56] local.INFO: TCP Data received {"connection_id":172635,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:36:56] local.INFO: Processing buffer {"connection_id":172635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:36:56] local.INFO: IMEI packet received {"connection_id":172635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":172635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:36:57] local.INFO: TCP Data received {"connection_id":174044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:36:57] local.INFO: Processing buffer {"connection_id":174044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:36:57] local.INFO: IMEI packet received {"connection_id":174044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":174044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:36:58] local.INFO: TCP Data received {"connection_id":174044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:36:58] local.INFO: Processing buffer {"connection_id":174044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:36:58] local.INFO: Packet analysis {"connection_id":174044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:36:58] local.INFO: Extracted packet for processing {"connection_id":174044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:36:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905265664001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788692746000,"timestamp_ms":1788692746000,"timestamp_seconds":1788692746,"priority":1,"record_length":96,"hex_timestamp":"000001a076654f10"} 
[2026-09-06 16:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:36: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-09-06 16:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:36: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-09-06 16:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:36: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-09-06 16:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905265664001,"66":25615,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905265664001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:36:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:36:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905265664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":174044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:36:58] local.INFO: GPS data processed {"connection_id":174044,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:36:58] local.INFO: Acknowledgment sent {"connection_id":174044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:37:00] local.INFO: TCP Data received {"connection_id":172635,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:37:00] local.INFO: Processing buffer {"connection_id":172635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:37:00] local.INFO: IMEI packet received {"connection_id":172635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":172635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:37:01] local.INFO: TCP Data received {"connection_id":172635,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0766533b8012d7d3f8005d346b8000900b00f..."} 
[2026-09-06 16:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766533b8012d7d3f8005d346b8000900b00f..."} 
[2026-09-06 16:37:01] local.INFO: Processing buffer {"connection_id":172635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766533b8012d7d3f8005d346b8000900b00f..."} 
[2026-09-06 16:37:01] local.INFO: Packet analysis {"connection_id":172635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:37:01] local.INFO: Extracted packet for processing {"connection_id":172635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763182976,"raw_latitude":97732280,"longitude_deg":76.3182976,"latitude_deg":9.773228,"altitude":9,"angle":176,"satellites":15,"speed":57,"hex_longitude":"2d7d3f80","hex_latitude":"05d346b8","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905339392001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129051019781865472,"note":"Value kept but may cause issues"} 
[2026-09-06 16:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515853985792,"note":"Value kept but may cause issues"} 
[2026-09-06 16:37:01] 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-09-06 16:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788692739000,"timestamp_ms":1788692739000,"timestamp_seconds":1788692739,"priority":1,"record_length":96,"hex_timestamp":"000001a0766533b8"} 
[2026-09-06 16:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:37:01] 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-09-06 16: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-06 16:37:01] 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-09-06 16: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-09-06 16:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:37: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-09-06 16:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905339392001,"66":13798,"81":206,"85":15104,"24":57,"16":129051019781865472,"45":9024228515853985792},"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-09-06 16:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905339392001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:37:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 16:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129051019781865472,"km_value":129051019781865.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515853985792,"description":"Unknown IO ID 45"} 
[2026-09-06 16:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905339392001,"power":13798,"unknown_81":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9024228515853985792}} 
[2026-09-06 16:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":172635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:37:01] local.INFO: GPS data processed {"connection_id":172635,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:37:01] local.INFO: Acknowledgment sent {"connection_id":172635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:37:03] local.INFO: TCP Data received {"connection_id":174044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:37:03] local.INFO: Processing buffer {"connection_id":174044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:37:03] local.INFO: Packet analysis {"connection_id":174044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:37:03] local.INFO: Extracted packet for processing {"connection_id":174044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905265664001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:37: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-09-06 16:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788692746000,"timestamp_ms":1788692746000,"timestamp_seconds":1788692746,"priority":1,"record_length":96,"hex_timestamp":"000001a076654f10"} 
[2026-09-06 16:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:37: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-09-06 16:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:37: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-09-06 16:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905265664001,"66":25615,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905265664001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:37:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905265664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":174044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:37:03] local.INFO: GPS data processed {"connection_id":174044,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:37:03] local.INFO: Acknowledgment sent {"connection_id":174044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:37:05] local.INFO: TCP Data received {"connection_id":172635,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076654f10012d7d410005d31fa0000b00b20f..."} 
[2026-09-06 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076654f10012d7d410005d31fa0000b00b20f..."} 
[2026-09-06 16:37:05] local.INFO: Processing buffer {"connection_id":172635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076654f10012d7d410005d31fa0000b00b20f..."} 
[2026-09-06 16:37:05] local.INFO: Packet analysis {"connection_id":172635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:37:05] local.INFO: Extracted packet for processing {"connection_id":172635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":97722272,"longitude_deg":76.318336,"latitude_deg":9.7722272,"altitude":11,"angle":178,"satellites":15,"speed":57,"hex_longitude":"2d7d4100","hex_latitude":"05d31fa0","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905341184001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129051505113169920,"note":"Value kept but may cause issues"} 
[2026-09-06 16:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025072940781582336,"note":"Value kept but may cause issues"} 
[2026-09-06 16:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788692746000,"timestamp_ms":1788692746000,"timestamp_seconds":1788692746,"priority":1,"record_length":96,"hex_timestamp":"000001a076654f10"} 
[2026-09-06 16:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:37: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-09-06 16: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 16:37:05] 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-09-06 16: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-09-06 16:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:37:05] 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-09-06 16:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905341184001,"66":13602,"81":206,"85":15104,"24":57,"16":129051505113169920,"45":9025072940781582336},"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-09-06 16:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905341184001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 16:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129051505113169920,"km_value":129051505113169.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025072940781582336,"description":"Unknown IO ID 45"} 
[2026-09-06 16:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905341184001,"power":13602,"unknown_81":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9025072940781582336}} 
[2026-09-06 16:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":172635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:37:05] local.INFO: GPS data processed {"connection_id":172635,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:37:05] local.INFO: Acknowledgment sent {"connection_id":172635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:37:36] local.INFO: TCP Data received {"connection_id":172635,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076656a68012d7d430005d2f810000d00b210..."} 
[2026-09-06 16:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076656a68012d7d430005d2f810000d00b210..."} 
[2026-09-06 16:37:36] local.INFO: Processing buffer {"connection_id":172635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076656a68012d7d430005d2f810000d00b210..."} 
[2026-09-06 16:37:36] local.INFO: Packet analysis {"connection_id":172635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:37:36] local.INFO: Extracted packet for processing {"connection_id":172635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:37:36] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":97712144,"longitude_deg":76.3183872,"latitude_deg":9.7712144,"altitude":13,"angle":178,"satellites":16,"speed":57,"hex_longitude":"2d7d4300","hex_latitude":"05d2f810","is_valid_coordinates":true} 
[2026-09-06 16:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905342976001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129051999034408960,"note":"Value kept but may cause issues"} 
[2026-09-06 16:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025495153244086272,"note":"Value kept but may cause issues"} 
[2026-09-06 16:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788692753000,"timestamp_ms":1788692753000,"timestamp_seconds":1788692753,"priority":1,"record_length":96,"hex_timestamp":"000001a076656a68"} 
[2026-09-06 16:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:37: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-09-06 16:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-06 16:37:36] 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-09-06 16:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:37:36] 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-09-06 16:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905342976001,"66":13722,"81":206,"85":15104,"24":57,"16":129051999034408960,"45":9025495153244086272},"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-09-06 16:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905342976001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-06 16:37:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129051999034408960,"km_value":129051999034408.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025495153244086272,"description":"Unknown IO ID 45"} 
[2026-09-06 16:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905342976001,"power":13722,"unknown_81":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9025495153244086272}} 
[2026-09-06 16:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":172635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:37:36] local.INFO: GPS data processed {"connection_id":172635,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:37:36] local.INFO: Acknowledgment sent {"connection_id":172635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:37:47] local.INFO: TCP Data received {"connection_id":172868,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:37:47] local.INFO: Processing buffer {"connection_id":172868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:37:47] local.INFO: IMEI packet received {"connection_id":172868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":172868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:37:52] local.INFO: TCP Data received {"connection_id":172868,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:37:52] local.INFO: Processing buffer {"connection_id":172868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:37:52] local.INFO: IMEI packet received {"connection_id":172868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":172868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:37:53] local.INFO: TCP Data received {"connection_id":172868,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:37:53] local.INFO: Processing buffer {"connection_id":172868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:37:53] local.INFO: Packet analysis {"connection_id":172868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:37:53] local.INFO: Extracted packet for processing {"connection_id":172868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905265664001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788692746000,"timestamp_ms":1788692746000,"timestamp_seconds":1788692746,"priority":1,"record_length":96,"hex_timestamp":"000001a076654f10"} 
[2026-09-06 16:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:37: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-09-06 16: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:37: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-09-06 16: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-09-06 16:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:37: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-09-06 16:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905265664001,"66":25615,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905265664001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:37:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905265664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":172868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:37:53] local.INFO: GPS data processed {"connection_id":172868,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:37:53] local.INFO: Acknowledgment sent {"connection_id":172868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:37:55] local.INFO: TCP Data received {"connection_id":175365,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:37:55] local.INFO: Processing buffer {"connection_id":175365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:37:55] local.INFO: IMEI packet received {"connection_id":175365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":175365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:38:00] local.INFO: TCP Data received {"connection_id":175365,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:38:00] local.INFO: Processing buffer {"connection_id":175365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:38:00] local.INFO: IMEI packet received {"connection_id":175365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":175365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:38:01] local.INFO: TCP Data received {"connection_id":175365,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0766589a8012d7d460005d2d2b0000b00ad0e..."} 
[2026-09-06 16:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766589a8012d7d460005d2d2b0000b00ad0e..."} 
[2026-09-06 16:38:01] local.INFO: Processing buffer {"connection_id":175365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766589a8012d7d460005d2d2b0000b00ad0e..."} 
[2026-09-06 16:38:01] local.INFO: Packet analysis {"connection_id":175365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:38:01] local.INFO: Extracted packet for processing {"connection_id":175365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763184640,"raw_latitude":97702576,"longitude_deg":76.318464,"latitude_deg":9.7702576,"altitude":11,"angle":173,"satellites":14,"speed":29,"hex_longitude":"2d7d4600","hex_latitude":"05d2d2b0","is_valid_coordinates":true} 
[2026-09-06 16:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905344768001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129052462890876928,"note":"Value kept but may cause issues"} 
[2026-09-06 16:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058103194914816,"note":"Value kept but may cause issues"} 
[2026-09-06 16:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788692761000,"timestamp_ms":1788692761000,"timestamp_seconds":1788692761,"priority":1,"record_length":96,"hex_timestamp":"000001a0766589a8"} 
[2026-09-06 16:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:38:01] 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-09-06 16:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-06 16:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:38: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-09-06 16:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905344768001,"66":13428,"115":206,"85":15104,"24":29,"16":129052462890876928,"45":9026058103194914816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-09-06 16:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905344768001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:38:01] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-06 16:38:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129052462890876928,"km_value":129052462890876.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058103194914816,"description":"Unknown IO ID 45"} 
[2026-09-06 16:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905344768001,"power":13428,"unknown_115":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9026058103194914816}} 
[2026-09-06 16:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":175365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:38:01] local.INFO: GPS data processed {"connection_id":175365,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:38:01] local.INFO: Acknowledgment sent {"connection_id":175365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:38:24] local.INFO: TCP Data received {"connection_id":172868,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:38:24] local.INFO: Processing buffer {"connection_id":172868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:38:24] local.INFO: Packet analysis {"connection_id":172868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:38:24] local.INFO: Extracted packet for processing {"connection_id":172868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:38:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905265664001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788692746000,"timestamp_ms":1788692746000,"timestamp_seconds":1788692746,"priority":1,"record_length":96,"hex_timestamp":"000001a076654f10"} 
[2026-09-06 16:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:38: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-09-06 16: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-09-06 16:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905265664001,"66":25615,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905265664001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:38:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:38:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905265664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":172868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:38:24] local.INFO: GPS data processed {"connection_id":172868,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:38:24] local.INFO: Acknowledgment sent {"connection_id":172868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:38:32] local.INFO: TCP Data received {"connection_id":175365,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07665c440012d7d454005d2af58000800b610..."} 
[2026-09-06 16:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07665c440012d7d454005d2af58000800b610..."} 
[2026-09-06 16:38:32] local.INFO: Processing buffer {"connection_id":175365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07665c440012d7d454005d2af58000800b610..."} 
[2026-09-06 16:38:32] local.INFO: Packet analysis {"connection_id":175365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:38:32] local.INFO: Extracted packet for processing {"connection_id":175365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763184448,"raw_latitude":97693528,"longitude_deg":76.3184448,"latitude_deg":9.7693528,"altitude":8,"angle":182,"satellites":16,"speed":28,"hex_longitude":"2d7d4540","hex_latitude":"05d2af58","is_valid_coordinates":true} 
[2026-09-06 16:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905346816001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129052905272508416,"note":"Value kept but may cause issues"} 
[2026-09-06 16:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026902528122597376,"note":"Value kept but may cause issues"} 
[2026-09-06 16:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788692776000,"timestamp_ms":1788692776000,"timestamp_seconds":1788692776,"priority":1,"record_length":96,"hex_timestamp":"000001a07665c440"} 
[2026-09-06 16:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-06 16:38:32] 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-09-06 16:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:38:32] 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-09-06 16:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905346816001,"66":13820,"115":206,"85":15104,"24":28,"16":129052905272508416,"45":9026902528122597376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-09-06 16:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905346816001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:38:32] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-06 16:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129052905272508416,"km_value":129052905272508.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026902528122597376,"description":"Unknown IO ID 45"} 
[2026-09-06 16:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905346816001,"power":13820,"unknown_115":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9026902528122597376}} 
[2026-09-06 16:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":175365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:38:32] local.INFO: GPS data processed {"connection_id":175365,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:38:32] local.INFO: Acknowledgment sent {"connection_id":175365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:38:47] local.INFO: TCP Data received {"connection_id":172869,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:38:47] local.INFO: Processing buffer {"connection_id":172869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:38:47] local.INFO: IMEI packet received {"connection_id":172869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":172869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:38:52] local.INFO: TCP Data received {"connection_id":172869,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:38:52] local.INFO: Processing buffer {"connection_id":172869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:38:52] local.INFO: IMEI packet received {"connection_id":172869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":172869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:38:53] local.INFO: TCP Data received {"connection_id":172869,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:38:53] local.INFO: Processing buffer {"connection_id":172869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:38:53] local.INFO: Packet analysis {"connection_id":172869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:38:53] local.INFO: Extracted packet for processing {"connection_id":172869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:38:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905265664001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788692746000,"timestamp_ms":1788692746000,"timestamp_seconds":1788692746,"priority":1,"record_length":96,"hex_timestamp":"000001a076654f10"} 
[2026-09-06 16:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:38: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-09-06 16: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:38: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-09-06 16: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-09-06 16:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:38: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-09-06 16:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905265664001,"66":25615,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905265664001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:38:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:38:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905265664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":172869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:38:53] local.INFO: GPS data processed {"connection_id":172869,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:38:53] local.INFO: Acknowledgment sent {"connection_id":172869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:38:54] local.INFO: TCP Data received {"connection_id":172870,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:38:54] local.INFO: Processing buffer {"connection_id":172870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:38:54] local.INFO: IMEI packet received {"connection_id":172870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":172870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:38:55] local.INFO: TCP Data received {"connection_id":172870,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:38:55] local.INFO: Processing buffer {"connection_id":172870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:38:55] local.INFO: IMEI packet received {"connection_id":172870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":172870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:39:05] local.INFO: TCP Data received {"connection_id":172870,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:39:05] local.INFO: Processing buffer {"connection_id":172870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:39:05] local.INFO: IMEI packet received {"connection_id":172870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":172870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:39:06] local.INFO: TCP Data received {"connection_id":172870,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076661260012d7d428005d293f8000500b411..."} 
[2026-09-06 16:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076661260012d7d428005d293f8000500b411..."} 
[2026-09-06 16:39:06] local.INFO: Processing buffer {"connection_id":172870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076661260012d7d428005d293f8000500b411..."} 
[2026-09-06 16:39:06] local.INFO: Packet analysis {"connection_id":172870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07666"} 
[2026-09-06 16:39:06] local.INFO: Extracted packet for processing {"connection_id":172870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07666"} 
[2026-09-06 16:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":97686520,"longitude_deg":76.3183744,"latitude_deg":9.768652,"altitude":5,"angle":180,"satellites":17,"speed":7,"hex_longitude":"2d7d4280","hex_latitude":"05d293f8","is_valid_coordinates":true} 
[2026-09-06 16:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905350656001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129053253164859392,"note":"Value kept but may cause issues"} 
[2026-09-06 16:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026691421887748096,"note":"Value kept but may cause issues"} 
[2026-09-06 16:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788692796000,"timestamp_ms":1788692796000,"timestamp_seconds":1788692796,"priority":1,"record_length":96,"hex_timestamp":"000001a076661260"} 
[2026-09-06 16:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:39:06] 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-09-06 16:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 16:39:06] 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-09-06 16:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905350656001,"66":13580,"115":206,"85":15104,"24":7,"16":129053253164859392,"45":9026691421887748096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-09-06 16:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905350656001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:39:06] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-06 16:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129053253164859392,"km_value":129053253164859.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026691421887748096,"description":"Unknown IO ID 45"} 
[2026-09-06 16:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905350656001,"power":13580,"unknown_115":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9026691421887748096}} 
[2026-09-06 16:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":172870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:39:06] local.INFO: GPS data processed {"connection_id":172870,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:39:06] local.INFO: Acknowledgment sent {"connection_id":172870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:39:26] local.INFO: TCP Data received {"connection_id":172869,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:39:26] local.INFO: Processing buffer {"connection_id":172869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:39:26] local.INFO: Packet analysis {"connection_id":172869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:39:26] local.INFO: Extracted packet for processing {"connection_id":172869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:39:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905265664001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788692746000,"timestamp_ms":1788692746000,"timestamp_seconds":1788692746,"priority":1,"record_length":96,"hex_timestamp":"000001a076654f10"} 
[2026-09-06 16:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:39: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-09-06 16: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:39: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-09-06 16: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-09-06 16:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:39: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-09-06 16:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905265664001,"66":25615,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905265664001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:39:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:39:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905265664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":172869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:39:26] local.INFO: GPS data processed {"connection_id":172869,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:39:26] local.INFO: Acknowledgment sent {"connection_id":172869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:39:37] local.INFO: TCP Data received {"connection_id":172870,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076688b30012d7d3a8005d12a08001300b017..."} 
[2026-09-06 16:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076688b30012d7d3a8005d12a08001300b017..."} 
[2026-09-06 16:39:37] local.INFO: Processing buffer {"connection_id":172870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076688b30012d7d3a8005d12a08001300b017..."} 
[2026-09-06 16:39:37] local.INFO: Packet analysis {"connection_id":172870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07668"} 
[2026-09-06 16:39:37] local.INFO: Extracted packet for processing {"connection_id":172870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07668"} 
[2026-09-06 16:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763181696,"raw_latitude":97593864,"longitude_deg":76.3181696,"latitude_deg":9.7593864,"altitude":19,"angle":176,"satellites":23,"speed":50,"hex_longitude":"2d7d3a80","hex_latitude":"05d12a08","is_valid_coordinates":true} 
[2026-09-06 16:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905395200001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129057784355356672,"note":"Value kept but may cause issues"} 
[2026-09-06 16:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353399963648,"note":"Value kept but may cause issues"} 
[2026-09-06 16:39:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 16:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788692958000,"timestamp_ms":1788692958000,"timestamp_seconds":1788692958,"priority":1,"record_length":96,"hex_timestamp":"000001a076688b30"} 
[2026-09-06 16:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 16:39:37] 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-09-06 16:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:39: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-09-06 16:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905395200001,"66":13624,"24":50,"85":15104,"16":129057784355356672,"45":9023243353399963648},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 16:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905395200001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129057784355356672,"km_value":129057784355356.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353399963648,"description":"Unknown IO ID 45"} 
[2026-09-06 16:39:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457905395200001,"power":13624,"ignition":50,"unknown_85":15104,"odometer":null,"unknown_45":9023243353399963648}} 
[2026-09-06 16:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":172870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:39:37] local.INFO: GPS data processed {"connection_id":172870,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:39:37] local.INFO: Acknowledgment sent {"connection_id":172870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:39:47] local.INFO: TCP Data received {"connection_id":174045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:39:47] local.INFO: Processing buffer {"connection_id":174045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:39:47] local.INFO: IMEI packet received {"connection_id":174045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":174045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:39:52] local.INFO: TCP Data received {"connection_id":174045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:39:52] local.INFO: Processing buffer {"connection_id":174045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:39:52] local.INFO: IMEI packet received {"connection_id":174045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":174045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:39:54] local.INFO: TCP Data received {"connection_id":174045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:39:54] local.INFO: Processing buffer {"connection_id":174045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:39:54] local.INFO: Packet analysis {"connection_id":174045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:39:54] local.INFO: Extracted packet for processing {"connection_id":174045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:39:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905265664001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:39: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-09-06 16:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788692746000,"timestamp_ms":1788692746000,"timestamp_seconds":1788692746,"priority":1,"record_length":96,"hex_timestamp":"000001a076654f10"} 
[2026-09-06 16:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:39: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-09-06 16: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:39: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-09-06 16: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-09-06 16:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:39: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-09-06 16:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905265664001,"66":25615,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905265664001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:39:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:39:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905265664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":174045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:39:54] local.INFO: GPS data processed {"connection_id":174045,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:39:54] local.INFO: Acknowledgment sent {"connection_id":174045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:40:00] local.INFO: TCP Data received {"connection_id":175367,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:40:00] local.INFO: Processing buffer {"connection_id":175367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:40:00] local.INFO: IMEI packet received {"connection_id":175367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":175367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:40:05] local.INFO: TCP Data received {"connection_id":175367,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:40:05] local.INFO: Processing buffer {"connection_id":175367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:40:05] local.INFO: IMEI packet received {"connection_id":175367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":175367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:40:06] local.INFO: TCP Data received {"connection_id":175367,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07668a688012d7d3c8005d10740001400b018..."} 
[2026-09-06 16:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07668a688012d7d3c8005d10740001400b018..."} 
[2026-09-06 16:40:06] local.INFO: Processing buffer {"connection_id":175367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07668a688012d7d3c8005d10740001400b018..."} 
[2026-09-06 16:40:06] local.INFO: Packet analysis {"connection_id":175367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07668"} 
[2026-09-06 16:40:06] local.INFO: Extracted packet for processing {"connection_id":175367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07668"} 
[2026-09-06 16:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97584960,"longitude_deg":76.3182208,"latitude_deg":9.758496,"altitude":20,"angle":176,"satellites":24,"speed":46,"hex_longitude":"2d7d3c80","hex_latitude":"05d10740","is_valid_coordinates":true} 
[2026-09-06 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-09-06 16:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905397248001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129058218147053568,"note":"Value kept but may cause issues"} 
[2026-09-06 16:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023665565862594560,"note":"Value kept but may cause issues"} 
[2026-09-06 16:40:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 16:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788692965000,"timestamp_ms":1788692965000,"timestamp_seconds":1788692965,"priority":1,"record_length":96,"hex_timestamp":"000001a07668a688"} 
[2026-09-06 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-09-06 16:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-06 16:40: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-09-06 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-09-06 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-09-06 16:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905397248001,"66":13896,"24":46,"85":15104,"16":129058218147053568,"45":9023665565862594560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 16:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905397248001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129058218147053568,"km_value":129058218147053.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023665565862594560,"description":"Unknown IO ID 45"} 
[2026-09-06 16:40:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457905397248001,"power":13896,"ignition":46,"unknown_85":15104,"odometer":null,"unknown_45":9023665565862594560}} 
[2026-09-06 16:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":175367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:40:06] local.INFO: GPS data processed {"connection_id":175367,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:40:06] local.INFO: Acknowledgment sent {"connection_id":175367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:40:25] local.INFO: TCP Data received {"connection_id":174045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:40:25] local.INFO: Processing buffer {"connection_id":174045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:40:25] local.INFO: Packet analysis {"connection_id":174045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:40:25] local.INFO: Extracted packet for processing {"connection_id":174045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:40:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905265664001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:40: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-09-06 16:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788692746000,"timestamp_ms":1788692746000,"timestamp_seconds":1788692746,"priority":1,"record_length":96,"hex_timestamp":"000001a076654f10"} 
[2026-09-06 16:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:40: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-09-06 16: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:40: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-09-06 16: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-09-06 16:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:40: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-09-06 16:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905265664001,"66":25615,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905265664001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:40:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:40:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905265664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":174045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:40:25] local.INFO: GPS data processed {"connection_id":174045,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:40:25] local.INFO: Acknowledgment sent {"connection_id":174045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:40:37] local.INFO: TCP Data received {"connection_id":175367,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07668c5c8012d7d3f0005d0e3e8001400b018..."} 
[2026-09-06 16:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07668c5c8012d7d3f0005d0e3e8001400b018..."} 
[2026-09-06 16:40:37] local.INFO: Processing buffer {"connection_id":175367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07668c5c8012d7d3f0005d0e3e8001400b018..."} 
[2026-09-06 16:40:37] local.INFO: Packet analysis {"connection_id":175367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07668"} 
[2026-09-06 16:40:37] local.INFO: Extracted packet for processing {"connection_id":175367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07668"} 
[2026-09-06 16:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763182848,"raw_latitude":97575912,"longitude_deg":76.3182848,"latitude_deg":9.7575912,"altitude":20,"angle":176,"satellites":24,"speed":44,"hex_longitude":"2d7d3f00","hex_latitude":"05d0e3e8","is_valid_coordinates":true} 
[2026-09-06 16:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905399040001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129058656233717760,"note":"Value kept but may cause issues"} 
[2026-09-06 16:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515813736448,"note":"Value kept but may cause issues"} 
[2026-09-06 16:40:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 16:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788692973000,"timestamp_ms":1788692973000,"timestamp_seconds":1788692973,"priority":1,"record_length":96,"hex_timestamp":"000001a07668c5c8"} 
[2026-09-06 16:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-06 16:40:37] 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-09-06 16:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:40: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-09-06 16:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905399040001,"66":13765,"24":44,"85":15104,"16":129058656233717760,"45":9024228515813736448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 16:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905399040001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129058656233717760,"km_value":129058656233717.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515813736448,"description":"Unknown IO ID 45"} 
[2026-09-06 16:40:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457905399040001,"power":13765,"ignition":44,"unknown_85":15104,"odometer":null,"unknown_45":9024228515813736448}} 
[2026-09-06 16:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":175367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:40:37] local.INFO: GPS data processed {"connection_id":175367,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:40:37] local.INFO: Acknowledgment sent {"connection_id":175367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:40:47] local.INFO: TCP Data received {"connection_id":174047,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:40:47] local.INFO: Processing buffer {"connection_id":174047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:40:47] local.INFO: IMEI packet received {"connection_id":174047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":174047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:40:52] local.INFO: TCP Data received {"connection_id":174047,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:40:52] local.INFO: Processing buffer {"connection_id":174047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:40:52] local.INFO: IMEI packet received {"connection_id":174047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":174047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:40:53] local.INFO: TCP Data received {"connection_id":174047,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:40:53] local.INFO: Processing buffer {"connection_id":174047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076654f10012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:40:53] local.INFO: Packet analysis {"connection_id":174047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:40:53] local.INFO: Extracted packet for processing {"connection_id":174047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07665"} 
[2026-09-06 16:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905265664001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788692746000,"timestamp_ms":1788692746000,"timestamp_seconds":1788692746,"priority":1,"record_length":96,"hex_timestamp":"000001a076654f10"} 
[2026-09-06 16:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:40: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-09-06 16: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 16:40: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-09-06 16: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-09-06 16:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:40: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-09-06 16:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905265664001,"66":25615,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905265664001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:40:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:40:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905265664001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":174047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:40:54] local.INFO: GPS data processed {"connection_id":174047,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:40:54] local.INFO: Acknowledgment sent {"connection_id":174047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:40:55] local.INFO: TCP Data received {"connection_id":172636,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:40:55] local.INFO: Processing buffer {"connection_id":172636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:40:55] local.INFO: IMEI packet received {"connection_id":172636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":172636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:40:59] local.INFO: TCP Data received {"connection_id":172636,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:40:59] local.INFO: Processing buffer {"connection_id":172636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:40:59] local.INFO: IMEI packet received {"connection_id":172636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":172636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:41:00] local.INFO: TCP Data received {"connection_id":172636,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:41:00] local.INFO: Processing buffer {"connection_id":172636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:41:00] local.INFO: IMEI packet received {"connection_id":172636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":172636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:41:00] local.INFO: TCP Data received {"connection_id":172636,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07668e508012d7d414005d0bd58001400af18..."} 
[2026-09-06 16:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07668e508012d7d414005d0bd58001400af18..."} 
[2026-09-06 16:41:00] local.INFO: Processing buffer {"connection_id":172636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07668e508012d7d414005d0bd58001400af18..."} 
[2026-09-06 16:41:00] local.INFO: Packet analysis {"connection_id":172636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07668"} 
[2026-09-06 16:41:00] local.INFO: Extracted packet for processing {"connection_id":172636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07668"} 
[2026-09-06 16:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763183424,"raw_latitude":97566040,"longitude_deg":76.3183424,"latitude_deg":9.756604,"altitude":20,"angle":175,"satellites":24,"speed":52,"hex_longitude":"2d7d4140","hex_latitude":"05d0bd58","is_valid_coordinates":true} 
[2026-09-06 16:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905401088001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129059137270054912,"note":"Value kept but may cause issues"} 
[2026-09-06 16:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024932203253196800,"note":"Value kept but may cause issues"} 
[2026-09-06 16:41:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 16:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788692981000,"timestamp_ms":1788692981000,"timestamp_seconds":1788692981,"priority":1,"record_length":96,"hex_timestamp":"000001a07668e508"} 
[2026-09-06 16:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-06 16:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:41:00] 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-09-06 16:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905401088001,"66":13613,"24":52,"85":15104,"16":129059137270054912,"45":9024932203253196800},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 16:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905401088001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:41:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129059137270054912,"km_value":129059137270054.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024932203253196800,"description":"Unknown IO ID 45"} 
[2026-09-06 16:41:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457905401088001,"power":13613,"ignition":52,"unknown_85":15104,"odometer":null,"unknown_45":9024932203253196800}} 
[2026-09-06 16:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":172636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:41:01] local.INFO: GPS data processed {"connection_id":172636,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:41:01] local.INFO: Acknowledgment sent {"connection_id":172636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:41:07] local.INFO: TCP Data received {"connection_id":172636,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076690448012d7d438005d09950001200af18..."} 
[2026-09-06 16:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076690448012d7d438005d09950001200af18..."} 
[2026-09-06 16:41:07] local.INFO: Processing buffer {"connection_id":172636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076690448012d7d438005d09950001200af18..."} 
[2026-09-06 16:41:07] local.INFO: Packet analysis {"connection_id":172636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:41:07] local.INFO: Extracted packet for processing {"connection_id":172636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":97556816,"longitude_deg":76.3184,"latitude_deg":9.7556816,"altitude":18,"angle":175,"satellites":24,"speed":29,"hex_longitude":"2d7d4380","hex_latitude":"05d09950","is_valid_coordinates":true} 
[2026-09-06 16:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905403136001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129059583946653696,"note":"Value kept but may cause issues"} 
[2026-09-06 16:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565521948268544,"note":"Value kept but may cause issues"} 
[2026-09-06 16:41:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 16:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788692989000,"timestamp_ms":1788692989000,"timestamp_seconds":1788692989,"priority":1,"record_length":96,"hex_timestamp":"000001a076690448"} 
[2026-09-06 16:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:41: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-09-06 16:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-06 16:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":172636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":172636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":172636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905403136001,"66":13504,"24":29,"85":15104,"16":129059583946653696,"45":9025565521948268544},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 16:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905403136001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129059583946653696,"km_value":129059583946653.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565521948268544,"description":"Unknown IO ID 45"} 
[2026-09-06 16:41:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457905403136001,"power":13504,"ignition":29,"unknown_85":15104,"odometer":null,"unknown_45":9025565521948268544}} 
[2026-09-06 16:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":172636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:41:07] local.INFO: GPS data processed {"connection_id":172636,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:41:07] local.INFO: Acknowledgment sent {"connection_id":172636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:41:26] local.INFO: TCP Data received {"connection_id":174047,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:41:26] local.INFO: Processing buffer {"connection_id":174047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:41:26] local.INFO: Packet analysis {"connection_id":174047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:41:26] local.INFO: Extracted packet for processing {"connection_id":174047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:41:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905342976001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788693051000,"timestamp_ms":1788693051000,"timestamp_seconds":1788693051,"priority":1,"record_length":96,"hex_timestamp":"000001a07669f678"} 
[2026-09-06 16:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 16:41: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-09-06 16: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-09-06 16:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:41: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-09-06 16:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905342976001,"66":25625,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905342976001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:41:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:41:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905342976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":174047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:41:26] local.INFO: GPS data processed {"connection_id":174047,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:41:26] local.INFO: Acknowledgment sent {"connection_id":174047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:41:41] local.INFO: TCP Data received {"connection_id":172636,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076691fa0012d7d450005d08bd0001200a418..."} 
[2026-09-06 16:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076691fa0012d7d450005d08bd0001200a418..."} 
[2026-09-06 16:41:41] local.INFO: Processing buffer {"connection_id":172636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076691fa0012d7d450005d08bd0001200a418..."} 
[2026-09-06 16:41:41] local.INFO: Packet analysis {"connection_id":172636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:41:41] local.INFO: Extracted packet for processing {"connection_id":172636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763184384,"raw_latitude":97553360,"longitude_deg":76.3184384,"latitude_deg":9.755336,"altitude":18,"angle":164,"satellites":24,"speed":19,"hex_longitude":"2d7d4500","hex_latitude":"05d08bd0","is_valid_coordinates":true} 
[2026-09-06 16:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905405184001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129059751450378240,"note":"Value kept but may cause issues"} 
[2026-09-06 16:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840643506176,"note":"Value kept but may cause issues"} 
[2026-09-06 16:41:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 16:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788692996000,"timestamp_ms":1788692996000,"timestamp_seconds":1788692996,"priority":1,"record_length":96,"hex_timestamp":"000001a076691fa0"} 
[2026-09-06 16:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-06 16:41: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-09-06 16:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":172636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":172636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":172636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:41:41] 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-09-06 16:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905405184001,"66":13624,"24":19,"85":15104,"16":129059751450378240,"45":9026198840643506176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 16:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905405184001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129059751450378240,"km_value":129059751450378.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840643506176,"description":"Unknown IO ID 45"} 
[2026-09-06 16:41:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457905405184001,"power":13624,"ignition":19,"unknown_85":15104,"odometer":null,"unknown_45":9026198840643506176}} 
[2026-09-06 16:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":172636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:41:41] local.INFO: GPS data processed {"connection_id":172636,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:41:41] local.INFO: Acknowledgment sent {"connection_id":172636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:41:47] local.INFO: TCP Data received {"connection_id":172872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:41:47] local.INFO: Processing buffer {"connection_id":172872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:41:47] local.INFO: IMEI packet received {"connection_id":172872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":172872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:41:52] local.INFO: TCP Data received {"connection_id":172872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:41:52] local.INFO: Processing buffer {"connection_id":172872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:41:52] local.INFO: IMEI packet received {"connection_id":172872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":172872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:41:53] local.INFO: TCP Data received {"connection_id":172872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:41:53] local.INFO: Processing buffer {"connection_id":172872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:41:53] local.INFO: Packet analysis {"connection_id":172872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:41:53] local.INFO: Extracted packet for processing {"connection_id":172872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905342976001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788693051000,"timestamp_ms":1788693051000,"timestamp_seconds":1788693051,"priority":1,"record_length":96,"hex_timestamp":"000001a07669f678"} 
[2026-09-06 16:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 16:41: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-09-06 16: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-09-06 16:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:41: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-09-06 16:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905342976001,"66":25625,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905342976001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:41:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905342976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":172872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:41:53] local.INFO: GPS data processed {"connection_id":172872,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:41:53] local.INFO: Acknowledgment sent {"connection_id":172872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:41:55] local.INFO: TCP Data received {"connection_id":172638,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:41:55] local.INFO: Processing buffer {"connection_id":172638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:41:55] local.INFO: IMEI packet received {"connection_id":172638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":172638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:42:00] local.INFO: TCP Data received {"connection_id":172638,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:42:00] local.INFO: Processing buffer {"connection_id":172638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:42:00] local.INFO: IMEI packet received {"connection_id":172638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":172638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:42:01] local.INFO: TCP Data received {"connection_id":172638,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0766a8700012d7d530005cf0f30000c00b419..."} 
[2026-09-06 16:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766a8700012d7d530005cf0f30000c00b419..."} 
[2026-09-06 16:42:01] local.INFO: Processing buffer {"connection_id":172638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766a8700012d7d530005cf0f30000c00b419..."} 
[2026-09-06 16:42:01] local.INFO: Packet analysis {"connection_id":172638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766a"} 
[2026-09-06 16:42:01] local.INFO: Extracted packet for processing {"connection_id":172638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766a"} 
[2026-09-06 16:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763187968,"raw_latitude":97455920,"longitude_deg":76.3187968,"latitude_deg":9.745592,"altitude":12,"angle":180,"satellites":25,"speed":37,"hex_longitude":"2d7d5300","hex_latitude":"05cf0f30","is_valid_coordinates":true} 
[2026-09-06 16:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905427712001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129064488799305728,"note":"Value kept but may cause issues"} 
[2026-09-06 16:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420965270796288,"note":"Value kept but may cause issues"} 
[2026-09-06 16:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788693088000,"timestamp_ms":1788693088000,"timestamp_seconds":1788693088,"priority":1,"record_length":96,"hex_timestamp":"000001a0766a8700"} 
[2026-09-06 16:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:42: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-09-06 16:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 16:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:42: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-09-06 16:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905427712001,"66":13472,"198":206,"85":15104,"24":37,"16":129064488799305728,"45":9030420965270796288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 16:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905427712001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:42:01] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 16:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129064488799305728,"km_value":129064488799305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420965270796288,"description":"Unknown IO ID 45"} 
[2026-09-06 16:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905427712001,"power":13472,"unknown_198":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9030420965270796288}} 
[2026-09-06 16:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":172638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:42:01] local.INFO: GPS data processed {"connection_id":172638,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:42:01] local.INFO: Acknowledgment sent {"connection_id":172638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:42:24] local.INFO: TCP Data received {"connection_id":172637,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:42:24] local.INFO: Processing buffer {"connection_id":172637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:42:24] local.INFO: IMEI packet received {"connection_id":172637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":172637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:42:25] local.INFO: TCP Data received {"connection_id":172872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:42:25] local.INFO: Processing buffer {"connection_id":172872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:42:25] local.INFO: Packet analysis {"connection_id":172872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:42:25] local.INFO: Extracted packet for processing {"connection_id":172872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:42:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905342976001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788693051000,"timestamp_ms":1788693051000,"timestamp_seconds":1788693051,"priority":1,"record_length":96,"hex_timestamp":"000001a07669f678"} 
[2026-09-06 16:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:42: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-09-06 16: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 16:42: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-09-06 16: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-09-06 16:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:42: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-09-06 16:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905342976001,"66":25625,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905342976001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:42:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:42:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905342976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":172872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:42:25] local.INFO: GPS data processed {"connection_id":172872,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:42:25] local.INFO: Acknowledgment sent {"connection_id":172872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:42:32] local.INFO: TCP Data received {"connection_id":172638,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0766aae10012d7d534005cee9a8000a00b319..."} 
[2026-09-06 16:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766aae10012d7d534005cee9a8000a00b319..."} 
[2026-09-06 16:42:32] local.INFO: Processing buffer {"connection_id":172638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766aae10012d7d534005cee9a8000a00b319..."} 
[2026-09-06 16:42:32] local.INFO: Packet analysis {"connection_id":172638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766a"} 
[2026-09-06 16:42:32] local.INFO: Extracted packet for processing {"connection_id":172638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766a"} 
[2026-09-06 16:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763188032,"raw_latitude":97446312,"longitude_deg":76.3188032,"latitude_deg":9.7446312,"altitude":10,"angle":179,"satellites":25,"speed":36,"hex_longitude":"2d7d5340","hex_latitude":"05cee9a8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 16:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905430528001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129064956950740992,"note":"Value kept but may cause issues"} 
[2026-09-06 16:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030561702756691968,"note":"Value kept but may cause issues"} 
[2026-09-06 16:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788693098000,"timestamp_ms":1788693098000,"timestamp_seconds":1788693098,"priority":1,"record_length":96,"hex_timestamp":"000001a0766aae10"} 
[2026-09-06 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-09-06 16:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 16:42:32] 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-09-06 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-09-06 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-09-06 16:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:42:32] 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-09-06 16:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905430528001,"66":13624,"198":206,"85":15104,"24":36,"16":129064956950740992,"45":9030561702756691968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 16:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905430528001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:42:32] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 16:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129064956950740992,"km_value":129064956950740.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030561702756691968,"description":"Unknown IO ID 45"} 
[2026-09-06 16:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905430528001,"power":13624,"unknown_198":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9030561702756691968}} 
[2026-09-06 16:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":172638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:42:32] local.INFO: GPS data processed {"connection_id":172638,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:42:32] local.INFO: Acknowledgment sent {"connection_id":172638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:42:49] local.INFO: TCP Data received {"connection_id":175368,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:42:49] local.INFO: Processing buffer {"connection_id":175368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:42:49] local.INFO: IMEI packet received {"connection_id":175368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":175368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:42:52] local.INFO: TCP Data received {"connection_id":175369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:42:52] local.INFO: Processing buffer {"connection_id":175369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:42:52] local.INFO: IMEI packet received {"connection_id":175369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":175369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:42:55] local.INFO: TCP Data received {"connection_id":175370,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:42:55] local.INFO: Processing buffer {"connection_id":175370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:42:55] local.INFO: IMEI packet received {"connection_id":175370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":175370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:42:57] local.INFO: TCP Data received {"connection_id":175369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:42:57] local.INFO: Processing buffer {"connection_id":175369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:42:57] local.INFO: IMEI packet received {"connection_id":175369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":175369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:42:58] local.INFO: TCP Data received {"connection_id":175369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:42:58] local.INFO: Processing buffer {"connection_id":175369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:42:58] local.INFO: Packet analysis {"connection_id":175369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:42:58] local.INFO: Extracted packet for processing {"connection_id":175369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:42:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905342976001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788693051000,"timestamp_ms":1788693051000,"timestamp_seconds":1788693051,"priority":1,"record_length":96,"hex_timestamp":"000001a07669f678"} 
[2026-09-06 16:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:42: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-09-06 16: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 16:42: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-09-06 16: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-09-06 16:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:42: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-09-06 16:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905342976001,"66":25625,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905342976001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:42:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:42:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905342976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":175369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:42:58] local.INFO: GPS data processed {"connection_id":175369,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:42:58] local.INFO: Acknowledgment sent {"connection_id":175369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:42:58] local.INFO: TCP Data received {"connection_id":175370,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:42:58] local.INFO: Processing buffer {"connection_id":175370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:42:58] local.INFO: IMEI packet received {"connection_id":175370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":175370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:43:00] local.INFO: TCP Data received {"connection_id":175370,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:43:00] local.INFO: Processing buffer {"connection_id":175370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:43:00] local.INFO: IMEI packet received {"connection_id":175370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":175370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:43:00] local.INFO: TCP Data received {"connection_id":175370,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0766ad908012d7d538005cec648000900b118..."} 
[2026-09-06 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766ad908012d7d538005cec648000900b118..."} 
[2026-09-06 16:43:00] local.INFO: Processing buffer {"connection_id":175370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766ad908012d7d538005cec648000900b118..."} 
[2026-09-06 16:43:00] local.INFO: Packet analysis {"connection_id":175370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766a"} 
[2026-09-06 16:43:00] local.INFO: Extracted packet for processing {"connection_id":175370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766a"} 
[2026-09-06 16:43:00] local.INFO: GPS Element Parsed {"raw_longitude":763188096,"raw_latitude":97437256,"longitude_deg":76.3188096,"latitude_deg":9.7437256,"altitude":9,"angle":177,"satellites":24,"speed":26,"hex_longitude":"2d7d5380","hex_latitude":"05cec648","is_valid_coordinates":true} 
[2026-09-06 16:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905433088001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129065395037405184,"note":"Value kept but may cause issues"} 
[2026-09-06 16:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030632071498409984,"note":"Value kept but may cause issues"} 
[2026-09-06 16:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788693109000,"timestamp_ms":1788693109000,"timestamp_seconds":1788693109,"priority":1,"record_length":96,"hex_timestamp":"000001a0766ad908"} 
[2026-09-06 16:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:43:00] 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-09-06 16:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-06 16:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:43:00] 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-09-06 16:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905433088001,"66":13526,"237":206,"85":15104,"24":26,"16":129065395037405184,"45":9030632071498409984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-09-06 16:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905433088001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:43:00] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-06 16:43:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129065395037405184,"km_value":129065395037405.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030632071498409984,"description":"Unknown IO ID 45"} 
[2026-09-06 16:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905433088001,"power":13526,"unknown_237":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9030632071498409984}} 
[2026-09-06 16:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":175370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:43:00] local.INFO: GPS data processed {"connection_id":175370,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:43:00] local.INFO: Acknowledgment sent {"connection_id":175370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:43:03] local.INFO: TCP Data received {"connection_id":175369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:43:03] local.INFO: Processing buffer {"connection_id":175369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:43:03] local.INFO: Packet analysis {"connection_id":175369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:43:03] local.INFO: Extracted packet for processing {"connection_id":175369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905342976001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:43: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-09-06 16:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788693051000,"timestamp_ms":1788693051000,"timestamp_seconds":1788693051,"priority":1,"record_length":96,"hex_timestamp":"000001a07669f678"} 
[2026-09-06 16:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:43: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-09-06 16:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 16:43: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-09-06 16:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905342976001,"66":25625,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905342976001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905342976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":175369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:43:03] local.INFO: GPS data processed {"connection_id":175369,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:43:03] local.INFO: Acknowledgment sent {"connection_id":175369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:43:32] local.INFO: TCP Data received {"connection_id":175370,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0766b2b10012d7d538005cea6c8000c00b516..."} 
[2026-09-06 16:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766b2b10012d7d538005cea6c8000c00b516..."} 
[2026-09-06 16:43:32] local.INFO: Processing buffer {"connection_id":175370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766b2b10012d7d538005cea6c8000c00b516..."} 
[2026-09-06 16:43:32] local.INFO: Packet analysis {"connection_id":175370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766b"} 
[2026-09-06 16:43:32] local.INFO: Extracted packet for processing {"connection_id":175370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766b"} 
[2026-09-06 16:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763188096,"raw_latitude":97429192,"longitude_deg":76.3188096,"latitude_deg":9.7429192,"altitude":12,"angle":181,"satellites":22,"speed":33,"hex_longitude":"2d7d5380","hex_latitude":"05cea6c8","is_valid_coordinates":true} 
[2026-09-06 16:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905435904001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129065790174396416,"note":"Value kept but may cause issues"} 
[2026-09-06 16:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030702440240269312,"note":"Value kept but may cause issues"} 
[2026-09-06 16:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788693130000,"timestamp_ms":1788693130000,"timestamp_seconds":1788693130,"priority":1,"record_length":96,"hex_timestamp":"000001a0766b2b10"} 
[2026-09-06 16:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-06 16:43:32] 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-09-06 16:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:43:32] 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-09-06 16:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905435904001,"66":13559,"237":206,"85":15104,"24":33,"16":129065790174396416,"45":9030702440240269312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-09-06 16:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905435904001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:43:32] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-06 16:43:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129065790174396416,"km_value":129065790174396.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030702440240269312,"description":"Unknown IO ID 45"} 
[2026-09-06 16:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905435904001,"power":13559,"unknown_237":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9030702440240269312}} 
[2026-09-06 16:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":175370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:43:32] local.INFO: GPS data processed {"connection_id":175370,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:43:32] local.INFO: Acknowledgment sent {"connection_id":175370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:43:47] local.INFO: TCP Data received {"connection_id":172639,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:43:47] local.INFO: Processing buffer {"connection_id":172639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:43:47] local.INFO: IMEI packet received {"connection_id":172639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":172639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:43:52] local.INFO: TCP Data received {"connection_id":172639,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:43:52] local.INFO: Processing buffer {"connection_id":172639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:43:52] local.INFO: IMEI packet received {"connection_id":172639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":172639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:43:54] local.INFO: TCP Data received {"connection_id":172639,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:43:54] local.INFO: Processing buffer {"connection_id":172639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:43:54] local.INFO: Packet analysis {"connection_id":172639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:43:54] local.INFO: Extracted packet for processing {"connection_id":172639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:43:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905342976001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:43: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-09-06 16:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788693051000,"timestamp_ms":1788693051000,"timestamp_seconds":1788693051,"priority":1,"record_length":96,"hex_timestamp":"000001a07669f678"} 
[2026-09-06 16:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:43: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-09-06 16:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 16:43: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-09-06 16:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:43: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-09-06 16:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905342976001,"66":25625,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905342976001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:43:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:43:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905342976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":172639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:43:54] local.INFO: GPS data processed {"connection_id":172639,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:43:54] local.INFO: Acknowledgment sent {"connection_id":172639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:43:58] local.INFO: TCP Data received {"connection_id":174048,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:43:58] local.INFO: Processing buffer {"connection_id":174048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:43:58] local.INFO: IMEI packet received {"connection_id":174048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":174048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:44:00] local.INFO: TCP Data received {"connection_id":174048,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:44:00] local.INFO: Processing buffer {"connection_id":174048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:44:00] local.INFO: IMEI packet received {"connection_id":174048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":174048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:44:04] local.INFO: TCP Data received {"connection_id":174048,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:44:04] local.INFO: Processing buffer {"connection_id":174048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:44:04] local.INFO: IMEI packet received {"connection_id":174048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":174048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:44:05] local.INFO: TCP Data received {"connection_id":174048,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0766b4e38012d7d518005ce80c0000b00b617..."} 
[2026-09-06 16:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766b4e38012d7d518005ce80c0000b00b617..."} 
[2026-09-06 16:44:05] local.INFO: Processing buffer {"connection_id":174048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766b4e38012d7d518005ce80c0000b00b617..."} 
[2026-09-06 16:44:05] local.INFO: Packet analysis {"connection_id":174048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766b"} 
[2026-09-06 16:44:05] local.INFO: Extracted packet for processing {"connection_id":174048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766b"} 
[2026-09-06 16:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763187584,"raw_latitude":97419456,"longitude_deg":76.3187584,"latitude_deg":9.7419456,"altitude":11,"angle":182,"satellites":23,"speed":49,"hex_longitude":"2d7d5180","hex_latitude":"05ce80c0","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905441280001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129066262620798976,"note":"Value kept but may cause issues"} 
[2026-09-06 16:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030702440238204928,"note":"Value kept but may cause issues"} 
[2026-09-06 16:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788693139000,"timestamp_ms":1788693139000,"timestamp_seconds":1788693139,"priority":1,"record_length":96,"hex_timestamp":"000001a0766b4e38"} 
[2026-09-06 16:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:44: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-09-06 16: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 16:44: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-09-06 16: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-09-06 16:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:44:05] 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-09-06 16:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905441280001,"66":13450,"237":206,"85":15104,"24":49,"16":129066262620798976,"45":9030702440238204928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-09-06 16:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905441280001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:44:05] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-06 16:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129066262620798976,"km_value":129066262620798.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030702440238204928,"description":"Unknown IO ID 45"} 
[2026-09-06 16:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905441280001,"power":13450,"unknown_237":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9030702440238204928}} 
[2026-09-06 16:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":174048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:44:05] local.INFO: GPS data processed {"connection_id":174048,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:44:05] local.INFO: Acknowledgment sent {"connection_id":174048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:44:24] local.INFO: TCP Data received {"connection_id":172639,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:44:25] local.INFO: Processing buffer {"connection_id":172639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:44:25] local.INFO: Packet analysis {"connection_id":172639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:44:25] local.INFO: Extracted packet for processing {"connection_id":172639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:44:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905342976001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788693051000,"timestamp_ms":1788693051000,"timestamp_seconds":1788693051,"priority":1,"record_length":96,"hex_timestamp":"000001a07669f678"} 
[2026-09-06 16:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:44: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-09-06 16: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 16:44: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-09-06 16: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-09-06 16:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16: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-09-06 16:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905342976001,"66":25625,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905342976001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:44:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:44:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905342976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":172639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:44:25] local.INFO: GPS data processed {"connection_id":172639,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:44:25] local.INFO: Acknowledgment sent {"connection_id":172639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:44:40] local.INFO: TCP Data received {"connection_id":174048,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0766d26e0012d7d598005cc8db8000a00b419..."} 
[2026-09-06 16:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766d26e0012d7d598005cc8db8000a00b419..."} 
[2026-09-06 16:44:40] local.INFO: Processing buffer {"connection_id":174048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766d26e0012d7d598005cc8db8000a00b419..."} 
[2026-09-06 16:44:40] local.INFO: Packet analysis {"connection_id":174048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766d"} 
[2026-09-06 16:44:40] local.INFO: Extracted packet for processing {"connection_id":174048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766d"} 
[2026-09-06 16:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763189632,"raw_latitude":97291704,"longitude_deg":76.3189632,"latitude_deg":9.7291704,"altitude":10,"angle":180,"satellites":25,"speed":60,"hex_longitude":"2d7d5980","hex_latitude":"05cc8db8","is_valid_coordinates":true} 
[2026-09-06 16:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905473024001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129072468848541696,"note":"Value kept but may cause issues"} 
[2026-09-06 16:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032320921321465856,"note":"Value kept but may cause issues"} 
[2026-09-06 16:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788693260000,"timestamp_ms":1788693260000,"timestamp_seconds":1788693260,"priority":1,"record_length":96,"hex_timestamp":"000001a0766d26e0"} 
[2026-09-06 16:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:44: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-09-06 16:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-06 16:44:40] 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-09-06 16:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:44: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-09-06 16:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905473024001,"66":13678,"236":206,"85":15104,"24":60,"16":129072468848541696,"45":9032320921321465856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-09-06 16:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905473024001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:44:40] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-06 16:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129072468848541696,"km_value":129072468848541.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032320921321465856,"description":"Unknown IO ID 45"} 
[2026-09-06 16:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905473024001,"power":13678,"unknown_236":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":9032320921321465856}} 
[2026-09-06 16:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":174048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:44:40] local.INFO: GPS data processed {"connection_id":174048,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:44:40] local.INFO: Acknowledgment sent {"connection_id":174048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:44:47] local.INFO: TCP Data received {"connection_id":172641,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:44:47] local.INFO: Processing buffer {"connection_id":172641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:44:47] local.INFO: IMEI packet received {"connection_id":172641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":172641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:44:52] local.INFO: TCP Data received {"connection_id":172641,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:44:52] local.INFO: Processing buffer {"connection_id":172641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:44:52] local.INFO: IMEI packet received {"connection_id":172641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":172641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:44:53] local.INFO: TCP Data received {"connection_id":172641,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:44:53] local.INFO: Processing buffer {"connection_id":172641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:44:53] local.INFO: Packet analysis {"connection_id":172641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:44:53] local.INFO: Extracted packet for processing {"connection_id":172641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905342976001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788693051000,"timestamp_ms":1788693051000,"timestamp_seconds":1788693051,"priority":1,"record_length":96,"hex_timestamp":"000001a07669f678"} 
[2026-09-06 16:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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-09-06 16: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-09-06 16: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-09-06 16:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:44: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-09-06 16:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905342976001,"66":25625,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905342976001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:44:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905342976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":172641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:44:53] local.INFO: GPS data processed {"connection_id":172641,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:44:53] local.INFO: Acknowledgment sent {"connection_id":172641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:44:55] local.INFO: TCP Data received {"connection_id":172642,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:44:55] local.INFO: Processing buffer {"connection_id":172642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:44:55] local.INFO: IMEI packet received {"connection_id":172642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":172642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:44:59] local.INFO: TCP Data received {"connection_id":172642,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:44:59] local.INFO: Processing buffer {"connection_id":172642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:44:59] local.INFO: IMEI packet received {"connection_id":172642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":172642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:44:59] local.INFO: TCP Data received {"connection_id":172642,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0766d3e50012d7d57c005cc6a88000a00b71a..."} 
[2026-09-06 16:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766d3e50012d7d57c005cc6a88000a00b71a..."} 
[2026-09-06 16:44:59] local.INFO: Processing buffer {"connection_id":172642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766d3e50012d7d57c005cc6a88000a00b71a..."} 
[2026-09-06 16:44:59] local.INFO: Packet analysis {"connection_id":172642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766d"} 
[2026-09-06 16:44:59] local.INFO: Extracted packet for processing {"connection_id":172642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766d"} 
[2026-09-06 16:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763189184,"raw_latitude":97282696,"longitude_deg":76.3189184,"latitude_deg":9.7282696,"altitude":10,"angle":183,"satellites":26,"speed":57,"hex_longitude":"2d7d57c0","hex_latitude":"05cc6a88","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905474560001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129072906935205888,"note":"Value kept but may cause issues"} 
[2026-09-06 16:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032391290063271936,"note":"Value kept but may cause issues"} 
[2026-09-06 16:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788693266000,"timestamp_ms":1788693266000,"timestamp_seconds":1788693266,"priority":1,"record_length":96,"hex_timestamp":"000001a0766d3e50"} 
[2026-09-06 16:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 16:44:59] 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-09-06 16:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:44:59] 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-09-06 16:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905474560001,"66":12885,"236":206,"85":15104,"24":57,"16":129072906935205888,"45":9032391290063271936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-09-06 16:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905474560001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:44:59] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-06 16:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129072906935205888,"km_value":129072906935205.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032391290063271936,"description":"Unknown IO ID 45"} 
[2026-09-06 16:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905474560001,"power":12885,"unknown_236":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9032391290063271936}} 
[2026-09-06 16:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":172642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:45:00] local.INFO: GPS data processed {"connection_id":172642,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:45:00] local.INFO: Acknowledgment sent {"connection_id":172642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:45:24] local.INFO: TCP Data received {"connection_id":172641,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:45:24] local.INFO: Processing buffer {"connection_id":172641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:45:24] local.INFO: Packet analysis {"connection_id":172641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:45:24] local.INFO: Extracted packet for processing {"connection_id":172641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:45:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905342976001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788693051000,"timestamp_ms":1788693051000,"timestamp_seconds":1788693051,"priority":1,"record_length":96,"hex_timestamp":"000001a07669f678"} 
[2026-09-06 16:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:45: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-09-06 16: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-09-06 16: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-09-06 16: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-09-06 16:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:45: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-09-06 16:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905342976001,"66":25625,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905342976001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:45:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:45:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905342976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":172641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:45:24] local.INFO: GPS data processed {"connection_id":172641,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:45:24] local.INFO: Acknowledgment sent {"connection_id":172641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:45:31] local.INFO: TCP Data received {"connection_id":172642,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0766d59a8012d7d54c005cc45d0000900b91a..."} 
[2026-09-06 16:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766d59a8012d7d54c005cc45d0000900b91a..."} 
[2026-09-06 16:45:31] local.INFO: Processing buffer {"connection_id":172642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766d59a8012d7d54c005cc45d0000900b91a..."} 
[2026-09-06 16:45:31] local.INFO: Packet analysis {"connection_id":172642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766d"} 
[2026-09-06 16:45:31] local.INFO: Extracted packet for processing {"connection_id":172642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766d"} 
[2026-09-06 16:45:31] local.INFO: GPS Element Parsed {"raw_longitude":763188416,"raw_latitude":97273296,"longitude_deg":76.3188416,"latitude_deg":9.7273296,"altitude":9,"angle":185,"satellites":26,"speed":48,"hex_longitude":"2d7d54c0","hex_latitude":"05cc45d0","is_valid_coordinates":true} 
[2026-09-06 16:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905476096001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129073366496706560,"note":"Value kept but may cause issues"} 
[2026-09-06 16:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031898708851722240,"note":"Value kept but may cause issues"} 
[2026-09-06 16:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788693273000,"timestamp_ms":1788693273000,"timestamp_seconds":1788693273,"priority":1,"record_length":96,"hex_timestamp":"000001a0766d59a8"} 
[2026-09-06 16:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-06 16:45:31] 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-09-06 16:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:45:31] 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-09-06 16:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905476096001,"66":13189,"236":206,"85":15104,"24":48,"16":129073366496706560,"45":9031898708851722240},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-09-06 16:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905476096001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:45:31] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-06 16:45:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129073366496706560,"km_value":129073366496706.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031898708851722240,"description":"Unknown IO ID 45"} 
[2026-09-06 16:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905476096001,"power":13189,"unknown_236":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9031898708851722240}} 
[2026-09-06 16:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":172642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:45:31] local.INFO: GPS data processed {"connection_id":172642,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:45:31] local.INFO: Acknowledgment sent {"connection_id":172642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:45:47] local.INFO: TCP Data received {"connection_id":175371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:45:47] local.INFO: Processing buffer {"connection_id":175371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:45:47] local.INFO: IMEI packet received {"connection_id":175371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":175371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:45:52] local.INFO: TCP Data received {"connection_id":175371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:45:52] local.INFO: Processing buffer {"connection_id":175371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:45:52] local.INFO: IMEI packet received {"connection_id":175371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":175371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:45:54] local.INFO: TCP Data received {"connection_id":175371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:45:54] local.INFO: Processing buffer {"connection_id":175371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07669f678012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:45:54] local.INFO: Packet analysis {"connection_id":175371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:45:54] local.INFO: Extracted packet for processing {"connection_id":175371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07669"} 
[2026-09-06 16:45:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905342976001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788693051000,"timestamp_ms":1788693051000,"timestamp_seconds":1788693051,"priority":1,"record_length":96,"hex_timestamp":"000001a07669f678"} 
[2026-09-06 16:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:45: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-09-06 16: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 16:45: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-09-06 16: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-09-06 16:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:45: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-09-06 16:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905342976001,"66":25625,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905342976001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:45:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:45:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905342976001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":175371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:45:54] local.INFO: GPS data processed {"connection_id":175371,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:45:54] local.INFO: Acknowledgment sent {"connection_id":175371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:45:55] local.INFO: TCP Data received {"connection_id":172643,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:45:55] local.INFO: Processing buffer {"connection_id":172643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:45:55] local.INFO: IMEI packet received {"connection_id":172643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":172643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:46:00] local.INFO: TCP Data received {"connection_id":172643,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:46:00] local.INFO: Processing buffer {"connection_id":172643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:46:00] local.INFO: IMEI packet received {"connection_id":172643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":172643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:46:03] local.INFO: TCP Data received {"connection_id":172643,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0766d78e8012d7d50c005cc1f68000800bd1a..."} 
[2026-09-06 16:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766d78e8012d7d50c005cc1f68000800bd1a..."} 
[2026-09-06 16:46:03] local.INFO: Processing buffer {"connection_id":172643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766d78e8012d7d50c005cc1f68000800bd1a..."} 
[2026-09-06 16:46:03] local.INFO: Packet analysis {"connection_id":172643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766d"} 
[2026-09-06 16:46:03] local.INFO: Extracted packet for processing {"connection_id":172643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766d"} 
[2026-09-06 16:46:03] local.INFO: GPS Element Parsed {"raw_longitude":763187392,"raw_latitude":97263464,"longitude_deg":76.3187392,"latitude_deg":9.7263464,"altitude":8,"angle":189,"satellites":26,"speed":49,"hex_longitude":"2d7d50c0","hex_latitude":"05cc1f68","is_valid_coordinates":true} 
[2026-09-06 16:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905477888001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129073843238076416,"note":"Value kept but may cause issues"} 
[2026-09-06 16:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031054283919183872,"note":"Value kept but may cause issues"} 
[2026-09-06 16:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788693281000,"timestamp_ms":1788693281000,"timestamp_seconds":1788693281,"priority":1,"record_length":96,"hex_timestamp":"000001a0766d78e8"} 
[2026-09-06 16:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:46:03] 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-09-06 16:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-06 16:46:03] 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-09-06 16:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905477888001,"66":13461,"236":206,"85":15104,"24":49,"16":129073843238076416,"45":9031054283919183872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-09-06 16:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905477888001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:46:03] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-06 16:46:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129073843238076416,"km_value":129073843238076.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031054283919183872,"description":"Unknown IO ID 45"} 
[2026-09-06 16:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905477888001,"power":13461,"unknown_236":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9031054283919183872}} 
[2026-09-06 16:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":172643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:46:03] local.INFO: GPS data processed {"connection_id":172643,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:46:03] local.INFO: Acknowledgment sent {"connection_id":172643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:46:25] local.INFO: TCP Data received {"connection_id":175371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:46:25] local.INFO: Processing buffer {"connection_id":175371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:46:25] local.INFO: Packet analysis {"connection_id":175371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:46:25] local.INFO: Extracted packet for processing {"connection_id":175371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:46:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905421056001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:46: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-09-06 16:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788693353000,"timestamp_ms":1788693353000,"timestamp_seconds":1788693353,"priority":1,"record_length":96,"hex_timestamp":"000001a0766e9228"} 
[2026-09-06 16:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:46: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-09-06 16: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 16:46: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-09-06 16: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-09-06 16:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:46: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-09-06 16:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905421056001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905421056001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:46:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:46:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905421056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":175371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:46:25] local.INFO: GPS data processed {"connection_id":175371,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:46:25] local.INFO: Acknowledgment sent {"connection_id":175371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:46:34] local.INFO: TCP Data received {"connection_id":172643,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0766d9828012d7d4a8005cbfa50000800bd1b..."} 
[2026-09-06 16:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766d9828012d7d4a8005cbfa50000800bd1b..."} 
[2026-09-06 16:46:34] local.INFO: Processing buffer {"connection_id":172643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766d9828012d7d4a8005cbfa50000800bd1b..."} 
[2026-09-06 16:46:34] local.INFO: Packet analysis {"connection_id":172643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766d"} 
[2026-09-06 16:46:34] local.INFO: Extracted packet for processing {"connection_id":172643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766d"} 
[2026-09-06 16:46:34] local.INFO: GPS Element Parsed {"raw_longitude":763185792,"raw_latitude":97253968,"longitude_deg":76.3185792,"latitude_deg":9.7253968,"altitude":8,"angle":189,"satellites":27,"speed":48,"hex_longitude":"2d7d4a80","hex_latitude":"05cbfa50","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905479936001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129074311389511680,"note":"Value kept but may cause issues"} 
[2026-09-06 16:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029928384009824256,"note":"Value kept but may cause issues"} 
[2026-09-06 16:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788693289000,"timestamp_ms":1788693289000,"timestamp_seconds":1788693289,"priority":1,"record_length":96,"hex_timestamp":"000001a0766d9828"} 
[2026-09-06 16:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-06 16:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16: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-09-06 16:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905479936001,"66":13678,"129":206,"85":15104,"24":48,"16":129074311389511680,"45":9029928384009824256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-06 16:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905479936001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:46:34] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-06 16:46:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129074311389511680,"km_value":129074311389511.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029928384009824256,"description":"Unknown IO ID 45"} 
[2026-09-06 16:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905479936001,"power":13678,"unknown_129":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9029928384009824256}} 
[2026-09-06 16:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":172643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:46:35] local.INFO: GPS data processed {"connection_id":172643,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:46:35] local.INFO: Acknowledgment sent {"connection_id":172643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:46:47] local.INFO: TCP Data received {"connection_id":172644,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:46:47] local.INFO: Processing buffer {"connection_id":172644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:46:47] local.INFO: IMEI packet received {"connection_id":172644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":172644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:46:52] local.INFO: TCP Data received {"connection_id":172644,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:46:52] local.INFO: Processing buffer {"connection_id":172644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:46:52] local.INFO: IMEI packet received {"connection_id":172644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":172644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:46:54] local.INFO: TCP Data received {"connection_id":172644,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:46:54] local.INFO: Processing buffer {"connection_id":172644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:46:54] local.INFO: Packet analysis {"connection_id":172644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:46:54] local.INFO: Extracted packet for processing {"connection_id":172644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:46:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905421056001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788693353000,"timestamp_ms":1788693353000,"timestamp_seconds":1788693353,"priority":1,"record_length":96,"hex_timestamp":"000001a0766e9228"} 
[2026-09-06 16:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:46: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-09-06 16: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 16:46: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-09-06 16: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-09-06 16:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:46: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-09-06 16:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905421056001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905421056001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:46:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:46:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905421056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":172644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:46:54] local.INFO: GPS data processed {"connection_id":172644,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:46:54] local.INFO: Acknowledgment sent {"connection_id":172644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:46:55] local.INFO: TCP Data received {"connection_id":172874,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:46:55] local.INFO: Processing buffer {"connection_id":172874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:46:55] local.INFO: IMEI packet received {"connection_id":172874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":172874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:46:57] local.INFO: TCP Data received {"connection_id":172874,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:46:57] local.INFO: Processing buffer {"connection_id":172874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:46:57] local.INFO: IMEI packet received {"connection_id":172874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":172874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:47:00] local.INFO: TCP Data received {"connection_id":172874,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:47:00] local.INFO: Processing buffer {"connection_id":172874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:47:00] local.INFO: IMEI packet received {"connection_id":172874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":172874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:47:01] local.INFO: TCP Data received {"connection_id":172874,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0766db768012d7d444005cbd688000700be1b..."} 
[2026-09-06 16:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766db768012d7d444005cbd688000700be1b..."} 
[2026-09-06 16:47:01] local.INFO: Processing buffer {"connection_id":172874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766db768012d7d444005cbd688000700be1b..."} 
[2026-09-06 16:47:01] local.INFO: Packet analysis {"connection_id":172874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766d"} 
[2026-09-06 16:47:01] local.INFO: Extracted packet for processing {"connection_id":172874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766d"} 
[2026-09-06 16:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":97244808,"longitude_deg":76.3184192,"latitude_deg":9.7244808,"altitude":7,"angle":190,"satellites":27,"speed":40,"hex_longitude":"2d7d4440","hex_latitude":"05cbd688","is_valid_coordinates":true} 
[2026-09-06 16:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905481984001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129074762361077760,"note":"Value kept but may cause issues"} 
[2026-09-06 16:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169165402951680,"note":"Value kept but may cause issues"} 
[2026-09-06 16:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788693297000,"timestamp_ms":1788693297000,"timestamp_seconds":1788693297,"priority":1,"record_length":96,"hex_timestamp":"000001a0766db768"} 
[2026-09-06 16:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-06 16:47:01] 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-09-06 16:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:47: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-09-06 16:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905481984001,"66":13580,"129":206,"85":15104,"24":40,"16":129074762361077760,"45":9028169165402951680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-06 16:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905481984001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:47:01] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-06 16:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129074762361077760,"km_value":129074762361077.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169165402951680,"description":"Unknown IO ID 45"} 
[2026-09-06 16:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905481984001,"power":13580,"unknown_129":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9028169165402951680}} 
[2026-09-06 16:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":172874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:47:01] local.INFO: GPS data processed {"connection_id":172874,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:47:01] local.INFO: Acknowledgment sent {"connection_id":172874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:47:25] local.INFO: TCP Data received {"connection_id":172644,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:47:25] local.INFO: Processing buffer {"connection_id":172644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:47:25] local.INFO: Packet analysis {"connection_id":172644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:47:25] local.INFO: Extracted packet for processing {"connection_id":172644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:47:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905421056001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:47: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-09-06 16:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788693353000,"timestamp_ms":1788693353000,"timestamp_seconds":1788693353,"priority":1,"record_length":96,"hex_timestamp":"000001a0766e9228"} 
[2026-09-06 16:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:47: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-09-06 16:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 16:47: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-09-06 16:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:47: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-09-06 16:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905421056001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905421056001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:47:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:47:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905421056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":172644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:47:25] local.INFO: GPS data processed {"connection_id":172644,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:47:25] local.INFO: Acknowledgment sent {"connection_id":172644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:47:32] local.INFO: TCP Data received {"connection_id":172874,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0766fcaa8012d7d1cc005ca32c0000800b91e..."} 
[2026-09-06 16:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766fcaa8012d7d1cc005ca32c0000800b91e..."} 
[2026-09-06 16:47:32] local.INFO: Processing buffer {"connection_id":172874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766fcaa8012d7d1cc005ca32c0000800b91e..."} 
[2026-09-06 16:47:32] local.INFO: Packet analysis {"connection_id":172874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766f"} 
[2026-09-06 16:47:32] local.INFO: Extracted packet for processing {"connection_id":172874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766f"} 
[2026-09-06 16:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":97137344,"longitude_deg":76.317408,"latitude_deg":9.7137344,"altitude":8,"angle":185,"satellites":30,"speed":63,"hex_longitude":"2d7d1cc0","hex_latitude":"05ca32c0","is_valid_coordinates":true} 
[2026-09-06 16:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905517312001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129080006516146176,"note":"Value kept but may cause issues"} 
[2026-09-06 16:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016136110121187328,"note":"Value kept but may cause issues"} 
[2026-09-06 16:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788693433000,"timestamp_ms":1788693433000,"timestamp_seconds":1788693433,"priority":1,"record_length":96,"hex_timestamp":"000001a0766fcaa8"} 
[2026-09-06 16:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-06 16:47:32] 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-09-06 16:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:47:32] 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-09-06 16:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905517312001,"66":13189,"131":206,"85":15104,"24":63,"16":129080006516146176,"45":9016136110121187328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-06 16:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905517312001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:47:32] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-06 16:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129080006516146176,"km_value":129080006516146.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016136110121187328,"description":"Unknown IO ID 45"} 
[2026-09-06 16:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905517312001,"power":13189,"unknown_131":206,"unknown_85":15104,"ignition":63,"odometer":null,"unknown_45":9016136110121187328}} 
[2026-09-06 16:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":172874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:47:32] local.INFO: GPS data processed {"connection_id":172874,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:47:32] local.INFO: Acknowledgment sent {"connection_id":172874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:47:47] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:47:47] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:47:47] local.INFO: IMEI packet received {"connection_id":175374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":175374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:47:52] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:47:52] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:47:52] local.INFO: IMEI packet received {"connection_id":175374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":175374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:47:53] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:47:53] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:47:53] local.INFO: Packet analysis {"connection_id":175374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:47:53] local.INFO: Extracted packet for processing {"connection_id":175374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905421056001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788693353000,"timestamp_ms":1788693353000,"timestamp_seconds":1788693353,"priority":1,"record_length":96,"hex_timestamp":"000001a0766e9228"} 
[2026-09-06 16:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 16:47: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-09-06 16: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-09-06 16:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:47: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-09-06 16:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905421056001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905421056001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:47:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:47:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905421056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":175374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:47:53] local.INFO: GPS data processed {"connection_id":175374,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:47:53] local.INFO: Acknowledgment sent {"connection_id":175374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:48:00] local.INFO: TCP Data received {"connection_id":172646,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:48:00] local.INFO: Processing buffer {"connection_id":172646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:48:00] local.INFO: IMEI packet received {"connection_id":172646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":172646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:48:01] local.INFO: TCP Data received {"connection_id":172646,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:48:01] local.INFO: Processing buffer {"connection_id":172646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:48:01] local.INFO: IMEI packet received {"connection_id":172646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":172646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:48:03] local.INFO: TCP Data received {"connection_id":172646,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:48:03] local.INFO: Processing buffer {"connection_id":172646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:48:03] local.INFO: IMEI packet received {"connection_id":172646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":172646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:48:05] local.INFO: TCP Data received {"connection_id":172646,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:48:05] local.INFO: Processing buffer {"connection_id":172646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:48:05] local.INFO: IMEI packet received {"connection_id":172646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":172646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:48:06] local.INFO: TCP Data received {"connection_id":172646,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0766fe218012d7d18c005ca0e68000800b91e..."} 
[2026-09-06 16:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766fe218012d7d18c005ca0e68000800b91e..."} 
[2026-09-06 16:48:06] local.INFO: Processing buffer {"connection_id":172646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766fe218012d7d18c005ca0e68000800b91e..."} 
[2026-09-06 16:48:06] local.INFO: Packet analysis {"connection_id":172646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766f"} 
[2026-09-06 16:48:06] local.INFO: Extracted packet for processing {"connection_id":172646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766f"} 
[2026-09-06 16:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763173056,"raw_latitude":97128040,"longitude_deg":76.3173056,"latitude_deg":9.712804,"altitude":8,"angle":185,"satellites":30,"speed":61,"hex_longitude":"2d7d18c0","hex_latitude":"05ca0e68","is_valid_coordinates":true} 
[2026-09-06 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-09-06 16:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905518848001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129080461782679552,"note":"Value kept but may cause issues"} 
[2026-09-06 16:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685188583424,"note":"Value kept but may cause issues"} 
[2026-09-06 16:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788693439000,"timestamp_ms":1788693439000,"timestamp_seconds":1788693439,"priority":1,"record_length":96,"hex_timestamp":"000001a0766fe218"} 
[2026-09-06 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-09-06 16:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-06 16:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 16:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905518848001,"66":13852,"131":206,"85":15104,"24":61,"16":129080461782679552,"45":9015291685188583424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-06 16:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905518848001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:48:06] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-06 16:48:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129080461782679552,"km_value":129080461782679.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685188583424,"description":"Unknown IO ID 45"} 
[2026-09-06 16:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905518848001,"power":13852,"unknown_131":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":9015291685188583424}} 
[2026-09-06 16:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":172646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:48:06] local.INFO: GPS data processed {"connection_id":172646,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:48:06] local.INFO: Acknowledgment sent {"connection_id":172646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:48:24] local.INFO: TCP Data received {"connection_id":175374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:48:24] local.INFO: Processing buffer {"connection_id":175374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:48:24] local.INFO: Packet analysis {"connection_id":175374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:48:24] local.INFO: Extracted packet for processing {"connection_id":175374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905421056001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788693353000,"timestamp_ms":1788693353000,"timestamp_seconds":1788693353,"priority":1,"record_length":96,"hex_timestamp":"000001a0766e9228"} 
[2026-09-06 16:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 16:48: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-09-06 16: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-09-06 16:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:48: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-09-06 16:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905421056001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905421056001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:48:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905421056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":175374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:48:24] local.INFO: GPS data processed {"connection_id":175374,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:48:24] local.INFO: Acknowledgment sent {"connection_id":175374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:48:29] local.INFO: TCP Data received {"connection_id":172645,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:48:29] local.INFO: Processing buffer {"connection_id":172645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:48:29] local.INFO: IMEI packet received {"connection_id":172645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":172645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:48:37] local.INFO: TCP Data received {"connection_id":172646,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0766ff988012d7d15c005c9eae8000700b91e..."} 
[2026-09-06 16:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766ff988012d7d15c005c9eae8000700b91e..."} 
[2026-09-06 16:48:37] local.INFO: Processing buffer {"connection_id":172646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766ff988012d7d15c005c9eae8000700b91e..."} 
[2026-09-06 16:48:37] local.INFO: Packet analysis {"connection_id":172646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766f"} 
[2026-09-06 16:48:37] local.INFO: Extracted packet for processing {"connection_id":172646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766f"} 
[2026-09-06 16:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763172288,"raw_latitude":97118952,"longitude_deg":76.3172288,"latitude_deg":9.7118952,"altitude":7,"angle":185,"satellites":30,"speed":59,"hex_longitude":"2d7d15c0","hex_latitude":"05c9eae8","is_valid_coordinates":true} 
[2026-09-06 16:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905520384001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129080904164311040,"note":"Value kept but may cause issues"} 
[2026-09-06 16:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014165785279358976,"note":"Value kept but may cause issues"} 
[2026-09-06 16:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788693445000,"timestamp_ms":1788693445000,"timestamp_seconds":1788693445,"priority":1,"record_length":96,"hex_timestamp":"000001a0766ff988"} 
[2026-09-06 16:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-06 16:48:37] 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-09-06 16:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16: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-09-06 16:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905520384001,"66":13461,"131":206,"85":15104,"24":59,"16":129080904164311040,"45":9014165785279358976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-06 16:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905520384001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:48:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-06 16:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129080904164311040,"km_value":129080904164311.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014165785279358976,"description":"Unknown IO ID 45"} 
[2026-09-06 16:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905520384001,"power":13461,"unknown_131":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9014165785279358976}} 
[2026-09-06 16:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":172646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:48:37] local.INFO: GPS data processed {"connection_id":172646,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:48:37] local.INFO: Acknowledgment sent {"connection_id":172646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:48:47] local.INFO: TCP Data received {"connection_id":174049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:48:47] local.INFO: Processing buffer {"connection_id":174049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:48:47] local.INFO: IMEI packet received {"connection_id":174049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":174049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:48:50] local.INFO: TCP Data received {"connection_id":175375,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:48:50] local.INFO: Processing buffer {"connection_id":175375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:48:50] local.INFO: IMEI packet received {"connection_id":175375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":175375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:48:52] local.INFO: TCP Data received {"connection_id":174049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:48:52] local.INFO: Processing buffer {"connection_id":174049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:48:52] local.INFO: IMEI packet received {"connection_id":174049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":174049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:48:54] local.INFO: TCP Data received {"connection_id":174049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:48:54] local.INFO: Processing buffer {"connection_id":174049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:48:54] local.INFO: Packet analysis {"connection_id":174049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:48:54] local.INFO: Extracted packet for processing {"connection_id":174049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:48:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905421056001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:48: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-09-06 16:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788693353000,"timestamp_ms":1788693353000,"timestamp_seconds":1788693353,"priority":1,"record_length":96,"hex_timestamp":"000001a0766e9228"} 
[2026-09-06 16:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:48: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-09-06 16: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 16:48: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-09-06 16: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-09-06 16:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:48: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-09-06 16:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905421056001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905421056001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:48:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:48:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905421056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":174049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:48:54] local.INFO: GPS data processed {"connection_id":174049,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:48:54] local.INFO: Acknowledgment sent {"connection_id":174049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:48:59] local.INFO: TCP Data received {"connection_id":172875,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:48:59] local.INFO: Processing buffer {"connection_id":172875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:48:59] local.INFO: IMEI packet received {"connection_id":172875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":172875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:49:00] local.INFO: TCP Data received {"connection_id":172875,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:49:00] local.INFO: Processing buffer {"connection_id":172875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:49:00] local.INFO: IMEI packet received {"connection_id":172875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":172875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:49:05] local.INFO: TCP Data received {"connection_id":172875,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:49:05] local.INFO: Processing buffer {"connection_id":172875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:49:05] local.INFO: IMEI packet received {"connection_id":172875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":172875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:49:06] local.INFO: TCP Data received {"connection_id":172875,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0767014e0012d7d120005c9c2e0000700b91e..."} 
[2026-09-06 16:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0767014e0012d7d120005c9c2e0000700b91e..."} 
[2026-09-06 16:49:06] local.INFO: Processing buffer {"connection_id":172875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0767014e0012d7d120005c9c2e0000700b91e..."} 
[2026-09-06 16:49:06] local.INFO: Packet analysis {"connection_id":172875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07670"} 
[2026-09-06 16:49:06] local.INFO: Extracted packet for processing {"connection_id":172875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07670"} 
[2026-09-06 16:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763171328,"raw_latitude":97108704,"longitude_deg":76.3171328,"latitude_deg":9.7108704,"altitude":7,"angle":185,"satellites":30,"speed":57,"hex_longitude":"2d7d1200","hex_latitude":"05c9c2e0","is_valid_coordinates":true} 
[2026-09-06 16:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905521920001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129081402380517376,"note":"Value kept but may cause issues"} 
[2026-09-06 16:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013321360346900480,"note":"Value kept but may cause issues"} 
[2026-09-06 16:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788693452000,"timestamp_ms":1788693452000,"timestamp_seconds":1788693452,"priority":1,"record_length":96,"hex_timestamp":"000001a0767014e0"} 
[2026-09-06 16:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-06 16:49:06] 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-09-06 16:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905521920001,"66":13559,"131":206,"85":15104,"24":57,"16":129081402380517376,"45":9013321360346900480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-06 16:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905521920001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:49:06] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-06 16:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129081402380517376,"km_value":129081402380517.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013321360346900480,"description":"Unknown IO ID 45"} 
[2026-09-06 16:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905521920001,"power":13559,"unknown_131":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9013321360346900480}} 
[2026-09-06 16:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":172875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:49:06] local.INFO: GPS data processed {"connection_id":172875,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:49:06] local.INFO: Acknowledgment sent {"connection_id":172875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:49:09] local.INFO: TCP Data received {"connection_id":172875,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076703038012d7d0f0005c99c10000700b71e..."} 
[2026-09-06 16:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076703038012d7d0f0005c99c10000700b71e..."} 
[2026-09-06 16:49:09] local.INFO: Processing buffer {"connection_id":172875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076703038012d7d0f0005c99c10000700b71e..."} 
[2026-09-06 16:49:09] local.INFO: Packet analysis {"connection_id":172875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07670"} 
[2026-09-06 16:49:09] local.INFO: Extracted packet for processing {"connection_id":172875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07670"} 
[2026-09-06 16:49:09] local.INFO: GPS Element Parsed {"raw_longitude":763170560,"raw_latitude":97098768,"longitude_deg":76.317056,"latitude_deg":9.7098768,"altitude":7,"angle":183,"satellites":30,"speed":55,"hex_longitude":"2d7d0f00","hex_latitude":"05c99c10","is_valid_coordinates":true} 
[2026-09-06 16:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905523712001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129081887711821824,"note":"Value kept but may cause issues"} 
[2026-09-06 16:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012265829181612032,"note":"Value kept but may cause issues"} 
[2026-09-06 16:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788693459000,"timestamp_ms":1788693459000,"timestamp_seconds":1788693459,"priority":1,"record_length":96,"hex_timestamp":"000001a076703038"} 
[2026-09-06 16:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 16:49:09] 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-09-06 16:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":172875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":172875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":172875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:49:09] 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-09-06 16:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905523712001,"66":13624,"131":206,"85":15104,"24":55,"16":129081887711821824,"45":9012265829181612032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-06 16:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905523712001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:49:09] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-06 16:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 16:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129081887711821824,"km_value":129081887711821.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012265829181612032,"description":"Unknown IO ID 45"} 
[2026-09-06 16:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905523712001,"power":13624,"unknown_131":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9012265829181612032}} 
[2026-09-06 16:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":172875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:49:09] local.INFO: GPS data processed {"connection_id":172875,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:49:09] local.INFO: Acknowledgment sent {"connection_id":172875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:49:26] local.INFO: TCP Data received {"connection_id":174049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:49:26] local.INFO: Processing buffer {"connection_id":174049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:49:26] local.INFO: Packet analysis {"connection_id":174049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:49:26] local.INFO: Extracted packet for processing {"connection_id":174049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:49:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905421056001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:49: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-09-06 16:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788693353000,"timestamp_ms":1788693353000,"timestamp_seconds":1788693353,"priority":1,"record_length":96,"hex_timestamp":"000001a0766e9228"} 
[2026-09-06 16:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:49: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-09-06 16: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 16:49: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-09-06 16: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-09-06 16:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:49: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-09-06 16:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905421056001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905421056001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:49:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:49:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905421056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":174049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:49:26] local.INFO: GPS data processed {"connection_id":174049,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:49:26] local.INFO: Acknowledgment sent {"connection_id":174049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:49:47] local.INFO: TCP Data received {"connection_id":172877,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:49:47] local.INFO: Processing buffer {"connection_id":172877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:49:47] local.INFO: IMEI packet received {"connection_id":172877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":172877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:49:52] local.INFO: TCP Data received {"connection_id":172877,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:49:52] local.INFO: Processing buffer {"connection_id":172877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:49:52] local.INFO: IMEI packet received {"connection_id":172877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":172877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:49:53] local.INFO: TCP Data received {"connection_id":172877,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:49:53] local.INFO: Processing buffer {"connection_id":172877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:49:53] local.INFO: Packet analysis {"connection_id":172877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:49:53] local.INFO: Extracted packet for processing {"connection_id":172877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905421056001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788693353000,"timestamp_ms":1788693353000,"timestamp_seconds":1788693353,"priority":1,"record_length":96,"hex_timestamp":"000001a0766e9228"} 
[2026-09-06 16:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 16:49: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-09-06 16: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-09-06 16:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:49: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-09-06 16:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905421056001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905421056001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:49:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905421056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":172877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:49:53] local.INFO: GPS data processed {"connection_id":172877,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:49:53] local.INFO: Acknowledgment sent {"connection_id":172877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:49:55] local.INFO: TCP Data received {"connection_id":175376,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:49:55] local.INFO: Processing buffer {"connection_id":175376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:49:55] local.INFO: IMEI packet received {"connection_id":175376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":175376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:49:58] local.INFO: TCP Data received {"connection_id":175376,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:49:58] local.INFO: Processing buffer {"connection_id":175376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:49:58] local.INFO: IMEI packet received {"connection_id":175376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":175376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:49:58] local.INFO: TCP Data received {"connection_id":175376,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07671c290012d7d0e0005c8aec80007010618..."} 
[2026-09-06 16:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07671c290012d7d0e0005c8aec80007010618..."} 
[2026-09-06 16:49:58] local.INFO: Processing buffer {"connection_id":175376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07671c290012d7d0e0005c8aec80007010618..."} 
[2026-09-06 16:49:58] local.INFO: Packet analysis {"connection_id":175376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07671"} 
[2026-09-06 16:49:58] local.INFO: Extracted packet for processing {"connection_id":175376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07671"} 
[2026-09-06 16:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763170304,"raw_latitude":97038024,"longitude_deg":76.3170304,"latitude_deg":9.7038024,"altitude":7,"angle":262,"satellites":24,"speed":7,"hex_longitude":"2d7d0e00","hex_latitude":"05c8aec8","is_valid_coordinates":true} 
[2026-09-06 16:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905550336001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129084975793307648,"note":"Value kept but may cause issues"} 
[2026-09-06 16:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012758410372730880,"note":"Value kept but may cause issues"} 
[2026-09-06 16:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788693562000,"timestamp_ms":1788693562000,"timestamp_seconds":1788693562,"priority":1,"record_length":96,"hex_timestamp":"000001a07671c290"} 
[2026-09-06 16:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-06 16:49:58] 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-09-06 16:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905550336001,"66":13319,"205":206,"85":12288,"24":7,"16":129084975793307648,"45":9012758410372730880},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-06 16:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905550336001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:49:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129084975793307648,"km_value":129084975793307.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012758410372730880,"description":"Unknown IO ID 45"} 
[2026-09-06 16:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905550336001,"power":13319,"cell_id":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":9012758410372730880}} 
[2026-09-06 16:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":175376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:49:58] local.INFO: GPS data processed {"connection_id":175376,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:49:58] local.INFO: Acknowledgment sent {"connection_id":175376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:50:00] local.INFO: TCP Data received {"connection_id":175376,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07671ca60012d7d0c8005c8ae30000700fa1b..."} 
[2026-09-06 16:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07671ca60012d7d0c8005c8ae30000700fa1b..."} 
[2026-09-06 16:50:00] local.INFO: Processing buffer {"connection_id":175376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07671ca60012d7d0c8005c8ae30000700fa1b..."} 
[2026-09-06 16:50:00] local.INFO: Packet analysis {"connection_id":175376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07671"} 
[2026-09-06 16:50:00] local.INFO: Extracted packet for processing {"connection_id":175376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07671"} 
[2026-09-06 16:50:00] local.INFO: GPS Element Parsed {"raw_longitude":763169920,"raw_latitude":97037872,"longitude_deg":76.316992,"latitude_deg":9.7037872,"altitude":7,"angle":250,"satellites":27,"speed":5,"hex_longitude":"2d7d0c80","hex_latitude":"05c8ae30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905551872001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129084992973176832,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011139929256675328,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:00] 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-09-06 16:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788693564000,"timestamp_ms":1788693564000,"timestamp_seconds":1788693564,"priority":1,"record_length":96,"hex_timestamp":"000001a07671ca60"} 
[2026-09-06 16:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-06 16:50:00] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2147862703,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:00] local.WARNING: Large IO value detected {"io_id":153,"raw_value":4278190080,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":-5568700904872665856,"corrected_to":0} 
[2026-09-06 16:50:00] local.WARNING: Large IO value detected {"io_id":113,"raw_value":-8649161789481091067,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:00] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2952867197,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:00] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2583298048,"corrected_to":0} 
[2026-09-06 16:50:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3367008256,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:00] local.WARNING: Large IO value detected {"io_id":121,"raw_value":57887968660968752,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:00] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,205,85,24,241,157,16,154,160,171,45,192,174,7,26,10,66,163,128,29,155,1,240,94,227,153,118,200,4,113,9,147,168,239,52,2,202,5,8,121],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":200,"original":-5568700904872665856,"validated":0},{"io_id":202,"original":2583298048,"validated":0}]} 
[2026-09-06 16:50:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504691333391646720,"timestamp_seconds":504691333391646.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 16:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:50:00] 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-09-06 16:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905551872001,"66":13515,"205":206,"85":12288,"24":5,"16":129084992973176832,"45":9011139929256675328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-06 16:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905551872001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:50:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129084992973176832,"km_value":129084992973176.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011139929256675328,"description":"Unknown IO ID 45"} 
[2026-09-06 16:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905551872001,"power":13515,"cell_id":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9011139929256675328}} 
[2026-09-06 16:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":175376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:50:00] local.INFO: GPS data processed {"connection_id":175376,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:50:00] local.INFO: Acknowledgment sent {"connection_id":175376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:50:24] local.INFO: TCP Data received {"connection_id":172877,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:50:24] local.INFO: Processing buffer {"connection_id":172877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0766e9228012d34c50006aa3d30000e013526..."} 
[2026-09-06 16:50:24] local.INFO: Packet analysis {"connection_id":172877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:50:24] local.INFO: Extracted packet for processing {"connection_id":172877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0766e"} 
[2026-09-06 16:50:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 16:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905421056001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 16:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788693353000,"timestamp_ms":1788693353000,"timestamp_seconds":1788693353,"priority":1,"record_length":96,"hex_timestamp":"000001a0766e9228"} 
[2026-09-06 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-09-06 16: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-09-06 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 16: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-09-06 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-09-06 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-09-06 16:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:50: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-09-06 16:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905421056001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905421056001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:50:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905421056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":172877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:50:24] local.INFO: GPS data processed {"connection_id":172877,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:50:24] local.INFO: Acknowledgment sent {"connection_id":172877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:50:31] local.INFO: TCP Data received {"connection_id":175376,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07671f170012d7d0a8005c8ae00000801101b..."} 
[2026-09-06 16:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07671f170012d7d0a8005c8ae00000801101b..."} 
[2026-09-06 16:50:31] local.INFO: Processing buffer {"connection_id":175376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07671f170012d7d0a8005c8ae00000801101b..."} 
[2026-09-06 16:50:31] local.INFO: Packet analysis {"connection_id":175376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07671"} 
[2026-09-06 16:50:31] local.INFO: Extracted packet for processing {"connection_id":175376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07671"} 
[2026-09-06 16:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":97037824,"longitude_deg":76.3169408,"latitude_deg":9.7037824,"altitude":8,"angle":272,"satellites":27,"speed":8,"hex_longitude":"2d7d0a80","hex_latitude":"05c8ae00","is_valid_coordinates":true} 
[2026-09-06 16:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905552384001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129085023037947904,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010717716791570432,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:31] 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-09-06 16:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788693574000,"timestamp_ms":1788693574000,"timestamp_seconds":1788693574,"priority":1,"record_length":96,"hex_timestamp":"000001a07671f170"} 
[2026-09-06 16:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-06 16:50:31] 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-09-06 16:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:50:31] 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-09-06 16:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905552384001,"66":13254,"205":206,"85":12288,"24":8,"16":129085023037947904,"45":9010717716791570432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-06 16:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905552384001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:50:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129085023037947904,"km_value":129085023037947.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010717716791570432,"description":"Unknown IO ID 45"} 
[2026-09-06 16:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905552384001,"power":13254,"cell_id":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9010717716791570432}} 
[2026-09-06 16:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":175376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:50:31] local.INFO: GPS data processed {"connection_id":175376,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:50:31] local.INFO: Acknowledgment sent {"connection_id":175376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:50:52] local.INFO: TCP Data received {"connection_id":172647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:50:52] local.INFO: Processing buffer {"connection_id":172647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:50:52] local.INFO: IMEI packet received {"connection_id":172647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":172647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:50:55] local.INFO: TCP Data received {"connection_id":172648,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:50:55] local.INFO: Processing buffer {"connection_id":172648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:50:55] local.INFO: IMEI packet received {"connection_id":172648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":172648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:50:57] local.INFO: TCP Data received {"connection_id":172647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:50:57] local.INFO: Processing buffer {"connection_id":172647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:50:57] local.INFO: IMEI packet received {"connection_id":172647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":172647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:50:58] local.INFO: TCP Data received {"connection_id":172647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:50:58] local.INFO: Processing buffer {"connection_id":172647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:50:58] local.INFO: Packet analysis {"connection_id":172647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:50:58] local.INFO: Extracted packet for processing {"connection_id":172647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:50:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905498368001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788693655000,"timestamp_ms":1788693655000,"timestamp_seconds":1788693655,"priority":1,"record_length":96,"hex_timestamp":"000001a076732dd8"} 
[2026-09-06 16:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:50: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-09-06 16: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":238,"data_length":795,"current_offset":136} 
[2026-09-06 16:50: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-09-06 16: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-09-06 16:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:50: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-09-06 16:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905498368001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905498368001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:50:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:50:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905498368001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":172647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:50:58] local.INFO: GPS data processed {"connection_id":172647,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:50:58] local.INFO: Acknowledgment sent {"connection_id":172647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:50:59] local.INFO: TCP Data received {"connection_id":172647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:50:59] local.INFO: Processing buffer {"connection_id":172647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:50:59] local.INFO: Packet analysis {"connection_id":172647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:50:59] local.INFO: Extracted packet for processing {"connection_id":172647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:50:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905498368001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:50: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-09-06 16:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788693655000,"timestamp_ms":1788693655000,"timestamp_seconds":1788693655,"priority":1,"record_length":96,"hex_timestamp":"000001a076732dd8"} 
[2026-09-06 16:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:50: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-09-06 16: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 16:50: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-09-06 16: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-09-06 16:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905498368001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905498368001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:50:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:50:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905498368001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":172647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:50:59] local.INFO: GPS data processed {"connection_id":172647,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:50:59] local.INFO: Acknowledgment sent {"connection_id":172647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:51:00] local.INFO: TCP Data received {"connection_id":172648,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:51:00] local.INFO: Processing buffer {"connection_id":172648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:51:00] local.INFO: IMEI packet received {"connection_id":172648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":172648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:51:01] local.INFO: TCP Data received {"connection_id":172648,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076722438012d7ce68005c8ad10000801071d..."} 
[2026-09-06 16:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076722438012d7ce68005c8ad10000801071d..."} 
[2026-09-06 16:51:01] local.INFO: Processing buffer {"connection_id":172648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076722438012d7ce68005c8ad10000801071d..."} 
[2026-09-06 16:51:01] local.INFO: Packet analysis {"connection_id":172648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07672"} 
[2026-09-06 16:51:01] local.INFO: Extracted packet for processing {"connection_id":172648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07672"} 
[2026-09-06 16:51:01] local.INFO: GPS Element Parsed {"raw_longitude":763160192,"raw_latitude":97037584,"longitude_deg":76.3160192,"latitude_deg":9.7037584,"altitude":8,"angle":263,"satellites":29,"speed":39,"hex_longitude":"2d7ce680","hex_latitude":"05c8ad10","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905554944001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129085465419579392,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154766838136832,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:01] 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-09-06 16:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788693587000,"timestamp_ms":1788693587000,"timestamp_seconds":1788693587,"priority":1,"record_length":96,"hex_timestamp":"000001a076722438"} 
[2026-09-06 16:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-06 16:51: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-09-06 16: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-09-06 16:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:51: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-09-06 16:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905554944001,"66":13330,"205":206,"85":12288,"24":39,"16":129085465419579392,"45":9010154766838136832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-06 16:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905554944001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:51:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129085465419579392,"km_value":129085465419579.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154766838136832,"description":"Unknown IO ID 45"} 
[2026-09-06 16:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905554944001,"power":13330,"cell_id":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9010154766838136832}} 
[2026-09-06 16:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":172648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:51:01] local.INFO: GPS data processed {"connection_id":172648,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:51:01] local.INFO: Acknowledgment sent {"connection_id":172648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:51:31] local.INFO: TCP Data received {"connection_id":172647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:51:31] local.INFO: Processing buffer {"connection_id":172647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:51:31] local.INFO: Packet analysis {"connection_id":172647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:51:31] local.INFO: Extracted packet for processing {"connection_id":172647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905498368001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51: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-09-06 16:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788693655000,"timestamp_ms":1788693655000,"timestamp_seconds":1788693655,"priority":1,"record_length":96,"hex_timestamp":"000001a076732dd8"} 
[2026-09-06 16:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 16:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 16:51: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-09-06 16:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905498368001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905498368001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:51:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:51:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905498368001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":172647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:51:31] local.INFO: GPS data processed {"connection_id":172647,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:51:31] local.INFO: Acknowledgment sent {"connection_id":172647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:51:32] local.INFO: TCP Data received {"connection_id":172648,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076724378012d7cc30005c8a630000800fc1a..."} 
[2026-09-06 16:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076724378012d7cc30005c8a630000800fc1a..."} 
[2026-09-06 16:51:32] local.INFO: Processing buffer {"connection_id":172648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076724378012d7cc30005c8a630000800fc1a..."} 
[2026-09-06 16:51:32] local.INFO: Packet analysis {"connection_id":172648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07672"} 
[2026-09-06 16:51:32] local.INFO: Extracted packet for processing {"connection_id":172648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07672"} 
[2026-09-06 16:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763151104,"raw_latitude":97035824,"longitude_deg":76.3151104,"latitude_deg":9.7035824,"altitude":8,"angle":252,"satellites":26,"speed":49,"hex_longitude":"2d7cc300","hex_latitude":"05c8a630","is_valid_coordinates":true} 
[2026-09-06 16:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905558272001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129085907801210880,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000021667676491776,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:32] 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-09-06 16:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788693595000,"timestamp_ms":1788693595000,"timestamp_seconds":1788693595,"priority":1,"record_length":96,"hex_timestamp":"000001a076724378"} 
[2026-09-06 16:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-06 16:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:32] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2583953408,"corrected_to":0} 
[2026-09-06 16:51:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277803041927507880,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":-5832161483069907968,"corrected_to":0} 
[2026-09-06 16:51:32] local.WARNING: Large IO value detected {"io_id":113,"raw_value":-7523261882638532603,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:32] local.WARNING: Large IO value detected {"io_id":9,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:32] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2147862702,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3366887424,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:32] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57887968660968752,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:32] local.WARNING: Large IO value detected {"io_id":168,"raw_value":-3674710430661470208,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:32] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:32] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,205,85,24,241,157,16,154,160,45,128,174,8,27,10,66,202,7,194,1,240,227,118,200,4,113,9,163,21,29,239,52,2,5,94,168,76],"length":626,"final_offset":756,"validated_count":37,"validation_warnings":[{"io_id":202,"original":2583953408,"validated":0},{"io_id":200,"original":-5832161483069907968,"validated":0}]} 
[2026-09-06 16:51:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576750048418136064,"timestamp_seconds":576750048418136.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 16:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:51:32] 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-09-06 16:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905558272001,"66":12885,"205":206,"85":12288,"24":49,"16":129085907801210880,"45":9000021667676491776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-06 16:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905558272001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129085907801210880,"km_value":129085907801210.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000021667676491776,"description":"Unknown IO ID 45"} 
[2026-09-06 16:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905558272001,"power":12885,"cell_id":206,"unknown_85":12288,"ignition":49,"odometer":null,"unknown_45":9000021667676491776}} 
[2026-09-06 16:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":172648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:51:32] local.INFO: GPS data processed {"connection_id":172648,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:51:32] local.INFO: Acknowledgment sent {"connection_id":172648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:51:47] local.INFO: TCP Data received {"connection_id":175377,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:51:47] local.INFO: Processing buffer {"connection_id":175377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:51:47] local.INFO: IMEI packet received {"connection_id":175377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":175377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:51:52] local.INFO: TCP Data received {"connection_id":175377,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:51:52] local.INFO: Processing buffer {"connection_id":175377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:51:52] local.INFO: IMEI packet received {"connection_id":175377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":175377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:51:54] local.INFO: TCP Data received {"connection_id":175377,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:51:54] local.INFO: Processing buffer {"connection_id":175377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:51:54] local.INFO: Packet analysis {"connection_id":175377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:51:54] local.INFO: Extracted packet for processing {"connection_id":175377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:51:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905498368001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:51: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-09-06 16:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788693655000,"timestamp_ms":1788693655000,"timestamp_seconds":1788693655,"priority":1,"record_length":96,"hex_timestamp":"000001a076732dd8"} 
[2026-09-06 16:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:51: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-09-06 16: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 16:51: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-09-06 16: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-09-06 16:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:51: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-09-06 16:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905498368001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905498368001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:51:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:51:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905498368001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":175377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:51:54] local.INFO: GPS data processed {"connection_id":175377,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:51:54] local.INFO: Acknowledgment sent {"connection_id":175377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:51:55] local.INFO: TCP Data received {"connection_id":174050,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:51:55] local.INFO: Processing buffer {"connection_id":174050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:51:55] local.INFO: IMEI packet received {"connection_id":174050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":174050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:52:00] local.INFO: TCP Data received {"connection_id":174050,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:52:00] local.INFO: Processing buffer {"connection_id":174050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:52:00] local.INFO: IMEI packet received {"connection_id":174050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":174050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:52:01] local.INFO: TCP Data received {"connection_id":174050,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0767262b8012d7c9e4005c89d70000a01021d..."} 
[2026-09-06 16:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0767262b8012d7c9e4005c89d70000a01021d..."} 
[2026-09-06 16:52:01] local.INFO: Processing buffer {"connection_id":174050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0767262b8012d7c9e4005c89d70000a01021d..."} 
[2026-09-06 16:52:01] local.INFO: Packet analysis {"connection_id":174050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07672"} 
[2026-09-06 16:52:01] local.INFO: Extracted packet for processing {"connection_id":174050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07672"} 
[2026-09-06 16:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763141696,"raw_latitude":97033584,"longitude_deg":76.3141696,"latitude_deg":9.7033584,"altitude":10,"angle":258,"satellites":29,"speed":44,"hex_longitude":"2d7c9e40","hex_latitude":"05c89d70","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905560320001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129086371657678848,"note":"Value kept but may cause issues"} 
[2026-09-06 16:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990029306002812928,"note":"Value kept but may cause issues"} 
[2026-09-06 16:52:01] 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-09-06 16:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788693603000,"timestamp_ms":1788693603000,"timestamp_seconds":1788693603,"priority":1,"record_length":96,"hex_timestamp":"000001a0767262b8"} 
[2026-09-06 16:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-06 16:52:01] 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-09-06 16: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-09-06 16:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:52: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-09-06 16:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905560320001,"66":13537,"205":206,"85":12288,"24":44,"16":129086371657678848,"45":8990029306002812928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-06 16:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905560320001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:52:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129086371657678848,"km_value":129086371657678.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990029306002812928,"description":"Unknown IO ID 45"} 
[2026-09-06 16:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905560320001,"power":13537,"cell_id":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":8990029306002812928}} 
[2026-09-06 16:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":174050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:52:01] local.INFO: GPS data processed {"connection_id":174050,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:52:01] local.INFO: Acknowledgment sent {"connection_id":174050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:52:24] local.INFO: TCP Data received {"connection_id":175377,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:52:24] local.INFO: Processing buffer {"connection_id":175377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:52:24] local.INFO: Packet analysis {"connection_id":175377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:52:24] local.INFO: Extracted packet for processing {"connection_id":175377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:52:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905498368001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788693655000,"timestamp_ms":1788693655000,"timestamp_seconds":1788693655,"priority":1,"record_length":96,"hex_timestamp":"000001a076732dd8"} 
[2026-09-06 16:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:52: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-09-06 16: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 16:52: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-09-06 16: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-09-06 16:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16: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-09-06 16:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905498368001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905498368001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:52:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:52:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905498368001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":175377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:52:24] local.INFO: GPS data processed {"connection_id":175377,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:52:24] local.INFO: Acknowledgment sent {"connection_id":175377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:52:31] local.INFO: TCP Data received {"connection_id":174050,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076727258012d7c8e0005c89ad8000a010d1d..."} 
[2026-09-06 16:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076727258012d7c8e0005c89ad8000a010d1d..."} 
[2026-09-06 16:52:31] local.INFO: Processing buffer {"connection_id":174050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076727258012d7c8e0005c89ad8000a010d1d..."} 
[2026-09-06 16:52:31] local.INFO: Packet analysis {"connection_id":174050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07672"} 
[2026-09-06 16:52:31] local.INFO: Extracted packet for processing {"connection_id":174050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07672"} 
[2026-09-06 16:52:31] local.INFO: GPS Element Parsed {"raw_longitude":763137536,"raw_latitude":97032920,"longitude_deg":76.3137536,"latitude_deg":9.703292,"altitude":10,"angle":269,"satellites":29,"speed":40,"hex_longitude":"2d7c8e00","hex_latitude":"05c89ad8","is_valid_coordinates":true} 
[2026-09-06 16:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905562368001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129086573521141760,"note":"Value kept but may cause issues"} 
[2026-09-06 16:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979685100608122880,"note":"Value kept but may cause issues"} 
[2026-09-06 16:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788693607000,"timestamp_ms":1788693607000,"timestamp_seconds":1788693607,"priority":1,"record_length":96,"hex_timestamp":"000001a076727258"} 
[2026-09-06 16:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-06 16:52:31] 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-09-06 16:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:52:31] 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-09-06 16:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905562368001,"66":13537,"199":206,"85":12288,"24":40,"16":129086573521141760,"45":8979685100608122880},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 16:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905562368001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:52:31] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 16:52:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129086573521141760,"km_value":129086573521141.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979685100608122880,"description":"Unknown IO ID 45"} 
[2026-09-06 16:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905562368001,"power":13537,"trip_odometer":0.206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":8979685100608122880}} 
[2026-09-06 16:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":174050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:52:32] local.INFO: GPS data processed {"connection_id":174050,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:52:32] local.INFO: Acknowledgment sent {"connection_id":174050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:52:47] local.INFO: TCP Data received {"connection_id":175378,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:52:47] local.INFO: Processing buffer {"connection_id":175378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:52:47] local.INFO: IMEI packet received {"connection_id":175378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":175378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:52:52] local.INFO: TCP Data received {"connection_id":175378,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:52:52] local.INFO: Processing buffer {"connection_id":175378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:52:52] local.INFO: IMEI packet received {"connection_id":175378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":175378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:52:53] local.INFO: TCP Data received {"connection_id":175378,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:52:53] local.INFO: Processing buffer {"connection_id":175378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:52:53] local.INFO: Packet analysis {"connection_id":175378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:52:53] local.INFO: Extracted packet for processing {"connection_id":175378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:52:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905498368001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788693655000,"timestamp_ms":1788693655000,"timestamp_seconds":1788693655,"priority":1,"record_length":96,"hex_timestamp":"000001a076732dd8"} 
[2026-09-06 16:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":238,"data_length":795,"current_offset":136} 
[2026-09-06 16:52: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-09-06 16: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-09-06 16:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:52: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-09-06 16:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905498368001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905498368001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:52:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905498368001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":175378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:52:53] local.INFO: GPS data processed {"connection_id":175378,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:52:53] local.INFO: Acknowledgment sent {"connection_id":175378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:52:55] local.INFO: TCP Data received {"connection_id":174051,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:52:55] local.INFO: Processing buffer {"connection_id":174051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:52:55] local.INFO: IMEI packet received {"connection_id":174051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":174051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:53:00] local.INFO: TCP Data received {"connection_id":174051,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:53:00] local.INFO: Processing buffer {"connection_id":174051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:53:00] local.INFO: IMEI packet received {"connection_id":174051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":174051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:53:01] local.INFO: TCP Data received {"connection_id":174051,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076727a28012d7c85c005c89c28000a011e1d..."} 
[2026-09-06 16:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076727a28012d7c85c005c89c28000a011e1d..."} 
[2026-09-06 16:53:01] local.INFO: Processing buffer {"connection_id":174051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076727a28012d7c85c005c89c28000a011e1d..."} 
[2026-09-06 16:53:01] local.INFO: Packet analysis {"connection_id":174051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07672"} 
[2026-09-06 16:53:01] local.INFO: Extracted packet for processing {"connection_id":174051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07672"} 
[2026-09-06 16:53:01] local.INFO: GPS Element Parsed {"raw_longitude":763135424,"raw_latitude":97033256,"longitude_deg":76.3135424,"latitude_deg":9.7033256,"altitude":10,"angle":286,"satellites":29,"speed":40,"hex_longitude":"2d7c85c0","hex_latitude":"05c89c28","is_valid_coordinates":true} 
[2026-09-06 16:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905563392001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129086672305389568,"note":"Value kept but may cause issues"} 
[2026-09-06 16:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975111132236404736,"note":"Value kept but may cause issues"} 
[2026-09-06 16:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788693609000,"timestamp_ms":1788693609000,"timestamp_seconds":1788693609,"priority":1,"record_length":96,"hex_timestamp":"000001a076727a28"} 
[2026-09-06 16:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-06 16:53:01] 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-09-06 16:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:53: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-09-06 16:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905563392001,"66":13428,"199":206,"85":12288,"24":40,"16":129086672305389568,"45":8975111132236404736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 16:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905563392001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:53:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 16:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129086672305389568,"km_value":129086672305389.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975111132236404736,"description":"Unknown IO ID 45"} 
[2026-09-06 16:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905563392001,"power":13428,"trip_odometer":0.206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":8975111132236404736}} 
[2026-09-06 16:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":174051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:53:01] local.INFO: GPS data processed {"connection_id":174051,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:53:01] local.INFO: Acknowledgment sent {"connection_id":174051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:53:24] local.INFO: TCP Data received {"connection_id":175378,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:53:24] local.INFO: Processing buffer {"connection_id":175378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:53:24] local.INFO: Packet analysis {"connection_id":175378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:53:24] local.INFO: Extracted packet for processing {"connection_id":175378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 16:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905498368001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 16:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788693655000,"timestamp_ms":1788693655000,"timestamp_seconds":1788693655,"priority":1,"record_length":96,"hex_timestamp":"000001a076732dd8"} 
[2026-09-06 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-09-06 16:53: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-09-06 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":238,"data_length":795,"current_offset":136} 
[2026-09-06 16:53: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-09-06 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-09-06 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-09-06 16:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:53: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-09-06 16:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905498368001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905498368001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:53:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905498368001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":175378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:53:24] local.INFO: GPS data processed {"connection_id":175378,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:53:24] local.INFO: Acknowledgment sent {"connection_id":175378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:53:32] local.INFO: TCP Data received {"connection_id":174051,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0767281f8012d7c7e8005c89fb0000a012c1b..."} 
[2026-09-06 16:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0767281f8012d7c7e8005c89fb0000a012c1b..."} 
[2026-09-06 16:53:32] local.INFO: Processing buffer {"connection_id":174051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0767281f8012d7c7e8005c89fb0000a012c1b..."} 
[2026-09-06 16:53:32] local.INFO: Packet analysis {"connection_id":174051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07672"} 
[2026-09-06 16:53:32] local.INFO: Extracted packet for processing {"connection_id":174051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07672"} 
[2026-09-06 16:53:32] local.INFO: GPS Element Parsed {"raw_longitude":763133568,"raw_latitude":97034160,"longitude_deg":76.3133568,"latitude_deg":9.703416,"altitude":10,"angle":300,"satellites":27,"speed":41,"hex_longitude":"2d7c7e80","hex_latitude":"05c89fb0","is_valid_coordinates":true} 
[2026-09-06 16:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905563904001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129086775384604672,"note":"Value kept but may cause issues"} 
[2026-09-06 16:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972788963678627840,"note":"Value kept but may cause issues"} 
[2026-09-06 16:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788693611000,"timestamp_ms":1788693611000,"timestamp_seconds":1788693611,"priority":1,"record_length":96,"hex_timestamp":"000001a0767281f8"} 
[2026-09-06 16:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-06 16:53:32] 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-09-06 16:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:53:32] 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-09-06 16:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905563904001,"66":13559,"199":206,"85":12288,"24":41,"16":129086775384604672,"45":8972788963678627840},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 16:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905563904001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:53:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 16:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129086775384604672,"km_value":129086775384604.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972788963678627840,"description":"Unknown IO ID 45"} 
[2026-09-06 16:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905563904001,"power":13559,"trip_odometer":0.206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":8972788963678627840}} 
[2026-09-06 16:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":174051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:53:32] local.INFO: GPS data processed {"connection_id":174051,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:53:32] local.INFO: Acknowledgment sent {"connection_id":174051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:53:47] local.INFO: TCP Data received {"connection_id":172881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:53:47] local.INFO: Processing buffer {"connection_id":172881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:53:47] local.INFO: IMEI packet received {"connection_id":172881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":172881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:53:52] local.INFO: TCP Data received {"connection_id":172881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:53:52] local.INFO: Processing buffer {"connection_id":172881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:53:52] local.INFO: IMEI packet received {"connection_id":172881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":172881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:53:54] local.INFO: TCP Data received {"connection_id":172881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:53:54] local.INFO: Processing buffer {"connection_id":172881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:53:54] local.INFO: Packet analysis {"connection_id":172881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:53:54] local.INFO: Extracted packet for processing {"connection_id":172881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:53:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905498368001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788693655000,"timestamp_ms":1788693655000,"timestamp_seconds":1788693655,"priority":1,"record_length":96,"hex_timestamp":"000001a076732dd8"} 
[2026-09-06 16:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:53: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-09-06 16: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 16:53: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-09-06 16: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-09-06 16:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:53: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-09-06 16:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905498368001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905498368001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:53:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:53:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905498368001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":172881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:53:54] local.INFO: GPS data processed {"connection_id":172881,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:53:54] local.INFO: Acknowledgment sent {"connection_id":172881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:53:55] local.INFO: TCP Data received {"connection_id":175379,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:53:55] local.INFO: Processing buffer {"connection_id":175379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:53:55] local.INFO: IMEI packet received {"connection_id":175379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":175379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:53:59] local.INFO: TCP Data received {"connection_id":175379,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:53:59] local.INFO: Processing buffer {"connection_id":175379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:53:59] local.INFO: IMEI packet received {"connection_id":175379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":175379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:54:00] local.INFO: TCP Data received {"connection_id":175379,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076758380012d7c5e4005c8a9080004010f25..."} 
[2026-09-06 16:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076758380012d7c5e4005c8a9080004010f25..."} 
[2026-09-06 16:54:00] local.INFO: Processing buffer {"connection_id":175379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076758380012d7c5e4005c8a9080004010f25..."} 
[2026-09-06 16:54:00] local.INFO: Packet analysis {"connection_id":175379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07675"} 
[2026-09-06 16:54:00] local.INFO: Extracted packet for processing {"connection_id":175379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07675"} 
[2026-09-06 16:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763125312,"raw_latitude":97036552,"longitude_deg":76.3125312,"latitude_deg":9.7036552,"altitude":4,"angle":271,"satellites":37,"speed":1,"hex_longitude":"2d7c5e40","hex_latitude":"05c8a908","is_valid_coordinates":true} 
[2026-09-06 16:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905614336001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129087196291399680,"note":"Value kept but may cause issues"} 
[2026-09-06 16:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961741070843574272,"note":"Value kept but may cause issues"} 
[2026-09-06 16:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788693808000,"timestamp_ms":1788693808000,"timestamp_seconds":1788693808,"priority":1,"record_length":96,"hex_timestamp":"000001a076758380"} 
[2026-09-06 16:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-06 16:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:54:00] 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-09-06 16:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905614336001,"66":13222,"199":206,"85":12288,"24":1,"16":129087196291399680,"45":8961741070843574272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 16:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905614336001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:54:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 16:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129087196291399680,"km_value":129087196291399.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961741070843574272,"description":"Unknown IO ID 45"} 
[2026-09-06 16:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905614336001,"power":13222,"trip_odometer":0.206,"unknown_85":12288,"ignition":1,"odometer":null,"unknown_45":8961741070843574272}} 
[2026-09-06 16:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":175379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:54:00] local.INFO: GPS data processed {"connection_id":175379,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:54:00] local.INFO: Acknowledgment sent {"connection_id":175379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:54:25] local.INFO: TCP Data received {"connection_id":172881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:54:25] local.INFO: Processing buffer {"connection_id":172881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:54:25] local.INFO: Packet analysis {"connection_id":172881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:54:25] local.INFO: Extracted packet for processing {"connection_id":172881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:54:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905498368001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788693655000,"timestamp_ms":1788693655000,"timestamp_seconds":1788693655,"priority":1,"record_length":96,"hex_timestamp":"000001a076732dd8"} 
[2026-09-06 16:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:54: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-09-06 16: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 16:54: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-09-06 16: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-09-06 16:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:54: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-09-06 16:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905498368001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905498368001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:54:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:54:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905498368001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":172881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:54:25] local.INFO: GPS data processed {"connection_id":172881,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:54:25] local.INFO: Acknowledgment sent {"connection_id":172881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:54:31] local.INFO: TCP Data received {"connection_id":175379,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076759af0012d7c5d0005c8a9300004011a24..."} 
[2026-09-06 16:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076759af0012d7c5d0005c8a9300004011a24..."} 
[2026-09-06 16:54:31] local.INFO: Processing buffer {"connection_id":175379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076759af0012d7c5d0005c8a9300004011a24..."} 
[2026-09-06 16:54:31] local.INFO: Packet analysis {"connection_id":175379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07675"} 
[2026-09-06 16:54:31] local.INFO: Extracted packet for processing {"connection_id":175379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07675"} 
[2026-09-06 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":763124992,"raw_latitude":97036592,"longitude_deg":76.3124992,"latitude_deg":9.7036592,"altitude":4,"angle":282,"satellites":36,"speed":4,"hex_longitude":"2d7c5d00","hex_latitude":"05c8a930","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905614848001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129087213471268864,"note":"Value kept but may cause issues"} 
[2026-09-06 16:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961670702099400704,"note":"Value kept but may cause issues"} 
[2026-09-06 16:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788693814000,"timestamp_ms":1788693814000,"timestamp_seconds":1788693814,"priority":1,"record_length":96,"hex_timestamp":"000001a076759af0"} 
[2026-09-06 16:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 16:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:54:31] 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-09-06 16:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905614848001,"66":13102,"199":206,"85":12288,"24":4,"16":129087213471268864,"45":8961670702099400704},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 16:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905614848001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:54:31] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 16:54:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129087213471268864,"km_value":129087213471268.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961670702099400704,"description":"Unknown IO ID 45"} 
[2026-09-06 16:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905614848001,"power":13102,"trip_odometer":0.206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":8961670702099400704}} 
[2026-09-06 16:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":175379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:54:31] local.INFO: GPS data processed {"connection_id":175379,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:54:31] local.INFO: Acknowledgment sent {"connection_id":175379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:54:47] local.INFO: TCP Data received {"connection_id":174052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:54:47] local.INFO: Processing buffer {"connection_id":174052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:54:47] local.INFO: IMEI packet received {"connection_id":174052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":174052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:54:49] local.INFO: TCP Data received {"connection_id":174053,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174053,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:54:49] local.INFO: Processing buffer {"connection_id":174053,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 16:54:49] local.INFO: IMEI packet received {"connection_id":174053,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 16:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":174053,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:54:52] local.INFO: TCP Data received {"connection_id":174052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:54:52] local.INFO: Processing buffer {"connection_id":174052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:54:52] local.INFO: IMEI packet received {"connection_id":174052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":174052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:54:53] local.INFO: TCP Data received {"connection_id":174052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:54:53] local.INFO: Processing buffer {"connection_id":174052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:54:53] local.INFO: Packet analysis {"connection_id":174052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:54:53] local.INFO: Extracted packet for processing {"connection_id":174052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905498368001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788693655000,"timestamp_ms":1788693655000,"timestamp_seconds":1788693655,"priority":1,"record_length":96,"hex_timestamp":"000001a076732dd8"} 
[2026-09-06 16:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:54: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-09-06 16: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":238,"data_length":795,"current_offset":136} 
[2026-09-06 16:54: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-09-06 16: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-09-06 16:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16: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-09-06 16:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905498368001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905498368001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:54:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905498368001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":174052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:54:53] local.INFO: GPS data processed {"connection_id":174052,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:54:53] local.INFO: Acknowledgment sent {"connection_id":174052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:54:55] local.INFO: TCP Data received {"connection_id":172650,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:54:55] local.INFO: Processing buffer {"connection_id":172650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:54:55] local.INFO: IMEI packet received {"connection_id":172650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":172650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:54:56] local.INFO: TCP Data received {"connection_id":172650,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:54:56] local.INFO: Processing buffer {"connection_id":172650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:54:56] local.INFO: IMEI packet received {"connection_id":172650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":172650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:55:00] local.INFO: TCP Data received {"connection_id":172650,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:55:00] local.INFO: Processing buffer {"connection_id":172650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:55:00] local.INFO: IMEI packet received {"connection_id":172650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":172650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:55:01] local.INFO: TCP Data received {"connection_id":172650,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07675aa90012d7c5b8005c8a9780005010f24..."} 
[2026-09-06 16:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07675aa90012d7c5b8005c8a9780005010f24..."} 
[2026-09-06 16:55:01] local.INFO: Processing buffer {"connection_id":172650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07675aa90012d7c5b8005c8a9780005010f24..."} 
[2026-09-06 16:55:01] local.INFO: Packet analysis {"connection_id":172650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07675"} 
[2026-09-06 16:55:01] local.INFO: Extracted packet for processing {"connection_id":172650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07675"} 
[2026-09-06 16:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763124608,"raw_latitude":97036664,"longitude_deg":76.3124608,"latitude_deg":9.7036664,"altitude":5,"angle":271,"satellites":36,"speed":6,"hex_longitude":"2d7c5b80","hex_latitude":"05c8a978","is_valid_coordinates":true} 
[2026-09-06 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-09-06 16:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905616384001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129087230651138048,"note":"Value kept but may cause issues"} 
[2026-09-06 16:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961318858378522624,"note":"Value kept but may cause issues"} 
[2026-09-06 16:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788693818000,"timestamp_ms":1788693818000,"timestamp_seconds":1788693818,"priority":1,"record_length":96,"hex_timestamp":"000001a07675aa90"} 
[2026-09-06 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-09-06 16:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 16:55:01] 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-09-06 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-09-06 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-09-06 16:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:55: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-09-06 16:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905616384001,"66":13396,"199":206,"85":12288,"24":6,"16":129087230651138048,"45":8961318858378522624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 16:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905616384001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:55:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 16:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129087230651138048,"km_value":129087230651138.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961318858378522624,"description":"Unknown IO ID 45"} 
[2026-09-06 16:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905616384001,"power":13396,"trip_odometer":0.206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":8961318858378522624}} 
[2026-09-06 16:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":172650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:55:01] local.INFO: GPS data processed {"connection_id":172650,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:55:01] local.INFO: Acknowledgment sent {"connection_id":172650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:55:24] local.INFO: TCP Data received {"connection_id":174052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:55:25] local.INFO: Processing buffer {"connection_id":174052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:55:25] local.INFO: Packet analysis {"connection_id":174052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:55:25] local.INFO: Extracted packet for processing {"connection_id":174052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:55:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905498368001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788693655000,"timestamp_ms":1788693655000,"timestamp_seconds":1788693655,"priority":1,"record_length":96,"hex_timestamp":"000001a076732dd8"} 
[2026-09-06 16:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:55: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-09-06 16: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 16:55: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-09-06 16: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-09-06 16:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:55: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-09-06 16:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905498368001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905498368001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:55:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:55:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905498368001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":174052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:55:25] local.INFO: GPS data processed {"connection_id":174052,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:55:25] local.INFO: Acknowledgment sent {"connection_id":174052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:55:33] local.INFO: TCP Data received {"connection_id":172650,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07675f4c8012d7c534005c8aa500006010225..."} 
[2026-09-06 16:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07675f4c8012d7c534005c8aa500006010225..."} 
[2026-09-06 16:55:33] local.INFO: Processing buffer {"connection_id":172650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07675f4c8012d7c534005c8aa500006010225..."} 
[2026-09-06 16:55:33] local.INFO: Packet analysis {"connection_id":172650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07675"} 
[2026-09-06 16:55:33] local.INFO: Extracted packet for processing {"connection_id":172650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07675"} 
[2026-09-06 16:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763122496,"raw_latitude":97036880,"longitude_deg":76.3122496,"latitude_deg":9.703688,"altitude":6,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d7c5340","hex_latitude":"05c8aa50","is_valid_coordinates":true} 
[2026-09-06 16:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905617408001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129087333730353152,"note":"Value kept but may cause issues"} 
[2026-09-06 16:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960896645913475072,"note":"Value kept but may cause issues"} 
[2026-09-06 16:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788693837000,"timestamp_ms":1788693837000,"timestamp_seconds":1788693837,"priority":1,"record_length":96,"hex_timestamp":"000001a07675f4c8"} 
[2026-09-06 16:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:55: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-09-06 16:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-06 16:55:33] 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-09-06 16:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:55:33] 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-09-06 16:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905617408001,"66":13319,"199":206,"85":12288,"24":0,"16":129087333730353152,"45":8960896645913475072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 16:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905617408001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:55:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 16:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129087333730353152,"km_value":129087333730353.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960896645913475072,"description":"Unknown IO ID 45"} 
[2026-09-06 16:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905617408001,"power":13319,"trip_odometer":0.206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":8960896645913475072}} 
[2026-09-06 16:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":172650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:55:33] local.INFO: GPS data processed {"connection_id":172650,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:55:33] local.INFO: Acknowledgment sent {"connection_id":172650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:55:47] local.INFO: TCP Data received {"connection_id":172882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:55:47] local.INFO: Processing buffer {"connection_id":172882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:55:47] local.INFO: IMEI packet received {"connection_id":172882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":172882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:55:52] local.INFO: TCP Data received {"connection_id":172882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:55:52] local.INFO: Processing buffer {"connection_id":172882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:55:52] local.INFO: IMEI packet received {"connection_id":172882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":172882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:55:53] local.INFO: TCP Data received {"connection_id":172882,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:55:53] local.INFO: Processing buffer {"connection_id":172882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076732dd8012d34c50006aa3d30000e013528..."} 
[2026-09-06 16:55:53] local.INFO: Packet analysis {"connection_id":172882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:55:53] local.INFO: Extracted packet for processing {"connection_id":172882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07673"} 
[2026-09-06 16:55:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905498368001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788693655000,"timestamp_ms":1788693655000,"timestamp_seconds":1788693655,"priority":1,"record_length":96,"hex_timestamp":"000001a076732dd8"} 
[2026-09-06 16:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:55: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-09-06 16: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 16:55: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-09-06 16: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-09-06 16:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:55: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-09-06 16:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905498368001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905498368001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:55:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:55:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905498368001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":172882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:55:53] local.INFO: GPS data processed {"connection_id":172882,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:55:53] local.INFO: Acknowledgment sent {"connection_id":172882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:55:59] local.INFO: TCP Data received {"connection_id":172883,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:55:59] local.INFO: Processing buffer {"connection_id":172883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:55:59] local.INFO: IMEI packet received {"connection_id":172883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":172883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:56:00] local.INFO: TCP Data received {"connection_id":172883,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:56:00] local.INFO: Processing buffer {"connection_id":172883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:56:00] local.INFO: IMEI packet received {"connection_id":172883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":172883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:56:01] local.INFO: TCP Data received {"connection_id":172883,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:56:01] local.INFO: Processing buffer {"connection_id":172883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:56:01] local.INFO: IMEI packet received {"connection_id":172883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":172883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:56:05] local.INFO: TCP Data received {"connection_id":172883,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:56:05] local.INFO: Processing buffer {"connection_id":172883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:56:05] local.INFO: IMEI packet received {"connection_id":172883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":172883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:56:06] local.INFO: TCP Data received {"connection_id":172883,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076778720012d7b3f0005c8bf900006010c23..."} 
[2026-09-06 16:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076778720012d7b3f0005c8bf900006010c23..."} 
[2026-09-06 16:56:06] local.INFO: Processing buffer {"connection_id":172883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076778720012d7b3f0005c8bf900006010c23..."} 
[2026-09-06 16:56:06] local.INFO: Packet analysis {"connection_id":172883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:56:06] local.INFO: Extracted packet for processing {"connection_id":172883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763051776,"raw_latitude":97042320,"longitude_deg":76.3051776,"latitude_deg":9.704232,"altitude":6,"angle":268,"satellites":35,"speed":31,"hex_longitude":"2d7b3f00","hex_latitude":"05c8bf90","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905645312001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129090756819288064,"note":"Value kept but may cause issues"} 
[2026-09-06 16:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890809376713760768,"note":"Value kept but may cause issues"} 
[2026-09-06 16:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788693940000,"timestamp_ms":1788693940000,"timestamp_seconds":1788693940,"priority":1,"record_length":96,"hex_timestamp":"000001a076778720"} 
[2026-09-06 16:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:56: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-09-06 16: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-06 16:56:06] 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-09-06 16: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-09-06 16:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905645312001,"66":13254,"199":206,"85":12288,"24":31,"16":129090756819288064,"45":8890809376713760768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 16:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905645312001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:56:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 16:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129090756819288064,"km_value":129090756819288.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890809376713760768,"description":"Unknown IO ID 45"} 
[2026-09-06 16:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905645312001,"power":13254,"trip_odometer":0.206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":8890809376713760768}} 
[2026-09-06 16:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":172883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:56:06] local.INFO: GPS data processed {"connection_id":172883,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:56:06] local.INFO: Acknowledgment sent {"connection_id":172883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:56:24] local.INFO: TCP Data received {"connection_id":172882,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:56:24] local.INFO: Processing buffer {"connection_id":172882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:56:24] local.INFO: Packet analysis {"connection_id":172882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:56:24] local.INFO: Extracted packet for processing {"connection_id":172882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:56:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905575680001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788693955000,"timestamp_ms":1788693955000,"timestamp_seconds":1788693955,"priority":1,"record_length":96,"hex_timestamp":"000001a07677c1b8"} 
[2026-09-06 16:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":4,"data_length":795,"current_offset":136} 
[2026-09-06 16:56: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-09-06 16: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-09-06 16:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:56: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-09-06 16:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905575680001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905575680001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:56:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:56:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905575680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":172882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:56:24] local.INFO: GPS data processed {"connection_id":172882,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:56:24] local.INFO: Acknowledgment sent {"connection_id":172882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:56:36] local.INFO: TCP Data received {"connection_id":172883,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07677ae30012d7b1e8005c8bd400005011c24..."} 
[2026-09-06 16:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07677ae30012d7b1e8005c8bd400005011c24..."} 
[2026-09-06 16:56:36] local.INFO: Processing buffer {"connection_id":172883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07677ae30012d7b1e8005c8bd400005011c24..."} 
[2026-09-06 16:56:36] local.INFO: Packet analysis {"connection_id":172883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:56:36] local.INFO: Extracted packet for processing {"connection_id":172883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763043456,"raw_latitude":97041728,"longitude_deg":76.3043456,"latitude_deg":9.7041728,"altitude":5,"angle":284,"satellites":36,"speed":31,"hex_longitude":"2d7b1e80","hex_latitude":"05c8bd40","is_valid_coordinates":true} 
[2026-09-06 16:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905648640001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129091156251246592,"note":"Value kept but may cause issues"} 
[2026-09-06 16:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880817015040741376,"note":"Value kept but may cause issues"} 
[2026-09-06 16:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788693950000,"timestamp_ms":1788693950000,"timestamp_seconds":1788693950,"priority":1,"record_length":96,"hex_timestamp":"000001a07677ae30"} 
[2026-09-06 16:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:56: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-09-06 16:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-06 16:56: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-09-06 16:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:56:36] 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-09-06 16:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905648640001,"66":13341,"199":206,"85":12288,"24":31,"16":129091156251246592,"45":8880817015040741376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 16:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905648640001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:56:37] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 16:56:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129091156251246592,"km_value":129091156251246.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880817015040741376,"description":"Unknown IO ID 45"} 
[2026-09-06 16:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905648640001,"power":13341,"trip_odometer":0.206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":8880817015040741376}} 
[2026-09-06 16:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":172883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:56:37] local.INFO: GPS data processed {"connection_id":172883,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:56:37] local.INFO: Acknowledgment sent {"connection_id":172883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:56:53] local.INFO: TCP Data received {"connection_id":172652,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:56:53] local.INFO: Processing buffer {"connection_id":172652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:56:53] local.INFO: IMEI packet received {"connection_id":172652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":172652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:56:55] local.INFO: TCP Data received {"connection_id":175380,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:56:55] local.INFO: Processing buffer {"connection_id":175380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:56:55] local.INFO: IMEI packet received {"connection_id":175380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":175380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:56:57] local.INFO: TCP Data received {"connection_id":172652,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:56:57] local.INFO: Processing buffer {"connection_id":172652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:56:57] local.INFO: IMEI packet received {"connection_id":172652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":172652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:56:58] local.INFO: TCP Data received {"connection_id":172652,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:56:58] local.INFO: Processing buffer {"connection_id":172652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:56:58] local.INFO: Packet analysis {"connection_id":172652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:56:58] local.INFO: Extracted packet for processing {"connection_id":172652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:56:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905575680001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788693955000,"timestamp_ms":1788693955000,"timestamp_seconds":1788693955,"priority":1,"record_length":96,"hex_timestamp":"000001a07677c1b8"} 
[2026-09-06 16:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:56: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-09-06 16:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 16:56: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-09-06 16:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:56: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-09-06 16:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905575680001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905575680001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:56:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:56:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905575680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":172652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:56:58] local.INFO: GPS data processed {"connection_id":172652,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:56:58] local.INFO: Acknowledgment sent {"connection_id":172652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:57:00] local.INFO: TCP Data received {"connection_id":175380,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:57:00] local.INFO: Processing buffer {"connection_id":175380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:57:00] local.INFO: IMEI packet received {"connection_id":175380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":175380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:57:00] local.INFO: TCP Data received {"connection_id":175380,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07677b600012d7b18c005c8bf600005012824..."} 
[2026-09-06 16:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07677b600012d7b18c005c8bf600005012824..."} 
[2026-09-06 16:57:00] local.INFO: Processing buffer {"connection_id":175380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07677b600012d7b18c005c8bf600005012824..."} 
[2026-09-06 16:57:00] local.INFO: Packet analysis {"connection_id":175380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:57:00] local.INFO: Extracted packet for processing {"connection_id":175380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:57:00] local.INFO: GPS Element Parsed {"raw_longitude":763041984,"raw_latitude":97042272,"longitude_deg":76.3041984,"latitude_deg":9.7042272,"altitude":5,"angle":296,"satellites":36,"speed":29,"hex_longitude":"2d7b18c0","hex_latitude":"05c8bf60","is_valid_coordinates":true} 
[2026-09-06 16:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905651200001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129091233560657920,"note":"Value kept but may cause issues"} 
[2026-09-06 16:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871669078297493504,"note":"Value kept but may cause issues"} 
[2026-09-06 16:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788693952000,"timestamp_ms":1788693952000,"timestamp_seconds":1788693952,"priority":1,"record_length":96,"hex_timestamp":"000001a07677b600"} 
[2026-09-06 16:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-06 16:57:00] 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-09-06 16:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:57:00] 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-09-06 16:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905651200001,"66":13461,"199":206,"85":12288,"24":29,"16":129091233560657920,"45":8871669078297493504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 16:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905651200001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:57:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 16:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129091233560657920,"km_value":129091233560657.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871669078297493504,"description":"Unknown IO ID 45"} 
[2026-09-06 16:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905651200001,"power":13461,"trip_odometer":0.206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":8871669078297493504}} 
[2026-09-06 16:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":175380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:57:01] local.INFO: GPS data processed {"connection_id":175380,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:57:01] local.INFO: Acknowledgment sent {"connection_id":175380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:57:03] local.INFO: TCP Data received {"connection_id":172652,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:57:03] local.INFO: Processing buffer {"connection_id":172652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:57:03] local.INFO: Packet analysis {"connection_id":172652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:57:03] local.INFO: Extracted packet for processing {"connection_id":172652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905575680001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:57: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-09-06 16:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788693955000,"timestamp_ms":1788693955000,"timestamp_seconds":1788693955,"priority":1,"record_length":96,"hex_timestamp":"000001a07677c1b8"} 
[2026-09-06 16:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:57: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-09-06 16:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 16:57:03] 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-09-06 16:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905575680001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905575680001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905575680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":172652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:57:03] local.INFO: GPS data processed {"connection_id":172652,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:57:03] local.INFO: Acknowledgment sent {"connection_id":172652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:57:04] local.INFO: TCP Data received {"connection_id":175380,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07677c1b8012d7b110005c8c2680005011b23..."} 
[2026-09-06 16:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07677c1b8012d7b110005c8c2680005011b23..."} 
[2026-09-06 16:57:04] local.INFO: Processing buffer {"connection_id":175380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07677c1b8012d7b110005c8c2680005011b23..."} 
[2026-09-06 16:57:04] local.INFO: Packet analysis {"connection_id":175380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:57:04] local.INFO: Extracted packet for processing {"connection_id":175380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763040000,"raw_latitude":97043048,"longitude_deg":76.304,"latitude_deg":9.7043048,"altitude":5,"angle":283,"satellites":35,"speed":25,"hex_longitude":"2d7b1100","hex_latitude":"05c8c268","is_valid_coordinates":true} 
[2026-09-06 16:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905651712001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129091332344905728,"note":"Value kept but may cause issues"} 
[2026-09-06 16:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870050597181546496,"note":"Value kept but may cause issues"} 
[2026-09-06 16:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788693955000,"timestamp_ms":1788693955000,"timestamp_seconds":1788693955,"priority":1,"record_length":96,"hex_timestamp":"000001a07677c1b8"} 
[2026-09-06 16:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:57: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-09-06 16:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-06 16:57:04] 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-09-06 16:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:57:04] 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-09-06 16:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905651712001,"66":13450,"199":206,"85":12288,"24":25,"16":129091332344905728,"45":8870050597181546496},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 16:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905651712001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:57:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 16:57:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129091332344905728,"km_value":129091332344905.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870050597181546496,"description":"Unknown IO ID 45"} 
[2026-09-06 16:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905651712001,"power":13450,"trip_odometer":0.206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":8870050597181546496}} 
[2026-09-06 16:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":175380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:57:04] local.INFO: GPS data processed {"connection_id":175380,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:57:04] local.INFO: Acknowledgment sent {"connection_id":175380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:57:08] local.INFO: TCP Data received {"connection_id":172652,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:57:08] local.INFO: Processing buffer {"connection_id":172652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:57:08] local.INFO: Packet analysis {"connection_id":172652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:57:08] local.INFO: Extracted packet for processing {"connection_id":172652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905575680001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788693955000,"timestamp_ms":1788693955000,"timestamp_seconds":1788693955,"priority":1,"record_length":96,"hex_timestamp":"000001a07677c1b8"} 
[2026-09-06 16:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 16:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 16:57:08] 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-09-06 16:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 16:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905575680001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905575680001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905575680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":172652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:57:08] local.INFO: GPS data processed {"connection_id":172652,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:57:08] local.INFO: Acknowledgment sent {"connection_id":172652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:57:35] local.INFO: TCP Data received {"connection_id":175380,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07678ea98012d7aeec005c872880002009724..."} 
[2026-09-06 16:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07678ea98012d7aeec005c872880002009724..."} 
[2026-09-06 16:57:35] local.INFO: Processing buffer {"connection_id":175380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07678ea98012d7aeec005c872880002009724..."} 
[2026-09-06 16:57:35] local.INFO: Packet analysis {"connection_id":175380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07678"} 
[2026-09-06 16:57:35] local.INFO: Extracted packet for processing {"connection_id":175380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07678"} 
[2026-09-06 16:57:35] local.INFO: GPS Element Parsed {"raw_longitude":763031232,"raw_latitude":97022600,"longitude_deg":76.3031232,"latitude_deg":9.70226,"altitude":2,"angle":151,"satellites":36,"speed":21,"hex_longitude":"2d7aeec0","hex_latitude":"05c87288","is_valid_coordinates":true} 
[2026-09-06 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-09-06 16:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905671424001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129092835583459328,"note":"Value kept but may cause issues"} 
[2026-09-06 16:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857736066945669120,"note":"Value kept but may cause issues"} 
[2026-09-06 16:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788694031000,"timestamp_ms":1788694031000,"timestamp_seconds":1788694031,"priority":1,"record_length":96,"hex_timestamp":"000001a07678ea98"} 
[2026-09-06 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-09-06 16:57: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-09-06 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 16:57:35] 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-09-06 16: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-09-06 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-09-06 16:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:57:35] 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-09-06 16:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905671424001,"66":13276,"80":206,"85":12288,"24":21,"16":129092835583459328,"45":8857736066945669120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,85,24,16,45]} 
[2026-09-06 16:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905671424001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:57:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-06 16:57:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129092835583459328,"km_value":129092835583459.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857736066945669120,"description":"Unknown IO ID 45"} 
[2026-09-06 16:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905671424001,"power":13276,"unknown_80":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":8857736066945669120}} 
[2026-09-06 16:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":175380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:57:35] local.INFO: GPS data processed {"connection_id":175380,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:57:35] local.INFO: Acknowledgment sent {"connection_id":175380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:57:47] local.INFO: TCP Data received {"connection_id":172653,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:57:47] local.INFO: Processing buffer {"connection_id":172653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:57:47] local.INFO: IMEI packet received {"connection_id":172653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":172653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:57:52] local.INFO: TCP Data received {"connection_id":172653,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:57:52] local.INFO: Processing buffer {"connection_id":172653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:57:52] local.INFO: IMEI packet received {"connection_id":172653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":172653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:57:53] local.INFO: TCP Data received {"connection_id":172653,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:57:53] local.INFO: Processing buffer {"connection_id":172653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:57:53] local.INFO: Packet analysis {"connection_id":172653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:57:53] local.INFO: Extracted packet for processing {"connection_id":172653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:57:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905575680001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788693955000,"timestamp_ms":1788693955000,"timestamp_seconds":1788693955,"priority":1,"record_length":96,"hex_timestamp":"000001a07677c1b8"} 
[2026-09-06 16:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:57: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-09-06 16:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 16:57: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-09-06 16:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:57: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-09-06 16:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905575680001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905575680001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:57:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:57:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905575680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":172653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:57:53] local.INFO: GPS data processed {"connection_id":172653,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:57:53] local.INFO: Acknowledgment sent {"connection_id":172653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:58:10] local.INFO: TCP Data received {"connection_id":175382,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175382,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:58:10] local.INFO: Processing buffer {"connection_id":175382,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:58:10] local.INFO: IMEI packet received {"connection_id":175382,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":175382,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:58:10] local.INFO: TCP Data received {"connection_id":175382,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175382,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:58:10] local.INFO: Processing buffer {"connection_id":175382,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:58:10] local.INFO: IMEI packet received {"connection_id":175382,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":175382,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:58:15] local.INFO: TCP Data received {"connection_id":175382,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175382,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:58:15] local.INFO: Processing buffer {"connection_id":175382,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:58:15] local.INFO: IMEI packet received {"connection_id":175382,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":175382,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:58:16] local.INFO: TCP Data received {"connection_id":175382,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07678f650012d7af18005c86c18000300a824..."} 
[2026-09-06 16:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07678f650012d7af18005c86c18000300a824..."} 
[2026-09-06 16:58:16] local.INFO: Processing buffer {"connection_id":175382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07678f650012d7af18005c86c18000300a824..."} 
[2026-09-06 16:58:16] local.INFO: Packet analysis {"connection_id":175382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07678"} 
[2026-09-06 16:58:16] local.INFO: Extracted packet for processing {"connection_id":175382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07678"} 
[2026-09-06 16:58:16] local.INFO: GPS Element Parsed {"raw_longitude":763031936,"raw_latitude":97020952,"longitude_deg":76.3031936,"latitude_deg":9.7020952,"altitude":3,"angle":168,"satellites":36,"speed":23,"hex_longitude":"2d7af180","hex_latitude":"05c86c18","is_valid_coordinates":true} 
[2026-09-06 16:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905671936001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129092921482805248,"note":"Value kept but may cause issues"} 
[2026-09-06 16:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858228648154662912,"note":"Value kept but may cause issues"} 
[2026-09-06 16:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788694034000,"timestamp_ms":1788694034000,"timestamp_seconds":1788694034,"priority":1,"record_length":96,"hex_timestamp":"000001a07678f650"} 
[2026-09-06 16:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:58: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-09-06 16:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-06 16:58: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-09-06 16:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:58:16] 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-09-06 16:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905671936001,"66":13048,"80":206,"85":12288,"24":23,"16":129092921482805248,"45":8858228648154662912},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,85,24,16,45]} 
[2026-09-06 16:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905671936001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:58:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-06 16:58:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129092921482805248,"km_value":129092921482805.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858228648154662912,"description":"Unknown IO ID 45"} 
[2026-09-06 16:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905671936001,"power":13048,"unknown_80":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":8858228648154662912}} 
[2026-09-06 16:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":175382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:58:16] local.INFO: GPS data processed {"connection_id":175382,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:58:16] local.INFO: Acknowledgment sent {"connection_id":175382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:58:25] local.INFO: TCP Data received {"connection_id":172653,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:58:25] local.INFO: Processing buffer {"connection_id":172653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:58:25] local.INFO: Packet analysis {"connection_id":172653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:58:25] local.INFO: Extracted packet for processing {"connection_id":172653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:58:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905575680001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788693955000,"timestamp_ms":1788693955000,"timestamp_seconds":1788693955,"priority":1,"record_length":96,"hex_timestamp":"000001a07677c1b8"} 
[2026-09-06 16:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:58: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-09-06 16: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":4,"data_length":795,"current_offset":136} 
[2026-09-06 16:58: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-09-06 16: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-09-06 16:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:58: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-09-06 16:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905575680001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905575680001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:58:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:58:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905575680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":172653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:58:25] local.INFO: GPS data processed {"connection_id":172653,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:58:25] local.INFO: Acknowledgment sent {"connection_id":172653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:58:47] local.INFO: TCP Data received {"connection_id":172884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:58:47] local.INFO: Processing buffer {"connection_id":172884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:58:47] local.INFO: IMEI packet received {"connection_id":172884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":172884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:58:52] local.INFO: TCP Data received {"connection_id":172884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:58:52] local.INFO: Processing buffer {"connection_id":172884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:58:52] local.INFO: IMEI packet received {"connection_id":172884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":172884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:58:53] local.INFO: TCP Data received {"connection_id":172884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:58:53] local.INFO: Processing buffer {"connection_id":172884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:58:53] local.INFO: Packet analysis {"connection_id":172884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:58:53] local.INFO: Extracted packet for processing {"connection_id":172884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905575680001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16: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-09-06 16:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788693955000,"timestamp_ms":1788693955000,"timestamp_seconds":1788693955,"priority":1,"record_length":96,"hex_timestamp":"000001a07677c1b8"} 
[2026-09-06 16:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16: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-09-06 16: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":4,"data_length":795,"current_offset":136} 
[2026-09-06 16:58: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-09-06 16: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-09-06 16:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:58: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-09-06 16:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905575680001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905575680001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:58:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905575680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":172884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:58:53] local.INFO: GPS data processed {"connection_id":172884,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:58:53] local.INFO: Acknowledgment sent {"connection_id":172884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:58:55] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:58:55] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:58:55] local.INFO: IMEI packet received {"connection_id":174055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":174055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:59:01] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:59:01] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:59:01] local.INFO: IMEI packet received {"connection_id":174055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 16:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":174055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:59:01] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0767a2ae8012d7ae50005c7ad08000500cd22..."} 
[2026-09-06 16:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0767a2ae8012d7ae50005c7ad08000500cd22..."} 
[2026-09-06 16:59:01] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0767a2ae8012d7ae50005c7ad08000500cd22..."} 
[2026-09-06 16:59:01] local.INFO: Packet analysis {"connection_id":174055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0767a"} 
[2026-09-06 16:59:01] local.INFO: Extracted packet for processing {"connection_id":174055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0767a"} 
[2026-09-06 16:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763028736,"raw_latitude":96972040,"longitude_deg":76.3028736,"latitude_deg":9.697204,"altitude":5,"angle":205,"satellites":34,"speed":27,"hex_longitude":"2d7ae500","hex_latitude":"05c7ad08","is_valid_coordinates":true} 
[2026-09-06 16:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905689600001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129095459808477184,"note":"Value kept but may cause issues"} 
[2026-09-06 16:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861747085352415232,"note":"Value kept but may cause issues"} 
[2026-09-06 16:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788694113000,"timestamp_ms":1788694113000,"timestamp_seconds":1788694113,"priority":1,"record_length":96,"hex_timestamp":"000001a0767a2ae8"} 
[2026-09-06 16:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:59:01] 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-09-06 16:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-06 16:59:01] 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-09-06 16:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:59: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-09-06 16:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905689600001,"66":13656,"203":206,"85":12288,"24":27,"16":129095459808477184,"45":8861747085352415232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,85,24,16,45]} 
[2026-09-06 16:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905689600001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129095459808477184,"km_value":129095459808477.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861747085352415232,"description":"Unknown IO ID 45"} 
[2026-09-06 16:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905689600001,"power":13656,"mnc":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":8861747085352415232}} 
[2026-09-06 16:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":174055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:59:01] local.INFO: GPS data processed {"connection_id":174055,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:59:01] local.INFO: Acknowledgment sent {"connection_id":174055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:59:26] local.INFO: TCP Data received {"connection_id":172884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:59:26] local.INFO: Processing buffer {"connection_id":172884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:59:26] local.INFO: Packet analysis {"connection_id":172884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:59:26] local.INFO: Extracted packet for processing {"connection_id":172884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:59:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16: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-09-06 16:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905575680001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:59: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-09-06 16:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788693955000,"timestamp_ms":1788693955000,"timestamp_seconds":1788693955,"priority":1,"record_length":96,"hex_timestamp":"000001a07677c1b8"} 
[2026-09-06 16:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:59: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-09-06 16: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":4,"data_length":795,"current_offset":136} 
[2026-09-06 16:59: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-09-06 16: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-09-06 16:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:59: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-09-06 16:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905575680001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905575680001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:59:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:59:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905575680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":172884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:59:26] local.INFO: GPS data processed {"connection_id":172884,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:59:26] local.INFO: Acknowledgment sent {"connection_id":172884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:59:32] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0767a2ae8012d7ae50005c7ad08000500cd22..."} 
[2026-09-06 16:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0767a2ae8012d7ae50005c7ad08000500cd22..."} 
[2026-09-06 16:59:32] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0767a2ae8012d7ae50005c7ad08000500cd22..."} 
[2026-09-06 16:59:32] local.INFO: Packet analysis {"connection_id":174055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0767a"} 
[2026-09-06 16:59:32] local.INFO: Extracted packet for processing {"connection_id":174055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0767a"} 
[2026-09-06 16:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763028736,"raw_latitude":96972040,"longitude_deg":76.3028736,"latitude_deg":9.697204,"altitude":5,"angle":205,"satellites":34,"speed":27,"hex_longitude":"2d7ae500","hex_latitude":"05c7ad08","is_valid_coordinates":true} 
[2026-09-06 16:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905692928001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129095459808477184,"note":"Value kept but may cause issues"} 
[2026-09-06 16:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855484267118790656,"note":"Value kept but may cause issues"} 
[2026-09-06 16:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 16:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788694113000,"timestamp_ms":1788694113000,"timestamp_seconds":1788694113,"priority":1,"record_length":96,"hex_timestamp":"000001a0767a2ae8"} 
[2026-09-06 16:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 16:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 16:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 16:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 16:59:32] 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-09-06 16:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 16:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 16:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905692928001,"66":13656,"203":206,"85":12288,"24":27,"16":129095459808477184,"45":8855484267118790656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,85,24,16,45]} 
[2026-09-06 16:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 16:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 16:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905692928001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 16:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129095459808477184,"km_value":129095459808477.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855484267118790656,"description":"Unknown IO ID 45"} 
[2026-09-06 16:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905692928001,"power":13656,"mnc":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":8855484267118790656}} 
[2026-09-06 16:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":174055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:59:32] local.INFO: GPS data processed {"connection_id":174055,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:59:32] local.INFO: Acknowledgment sent {"connection_id":174055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:59:47] local.INFO: TCP Data received {"connection_id":172885,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:59:47] local.INFO: Processing buffer {"connection_id":172885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:59:47] local.INFO: IMEI packet received {"connection_id":172885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 16:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":172885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 16:59:52] local.INFO: TCP Data received {"connection_id":172885,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:59:52] local.INFO: Processing buffer {"connection_id":172885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 16:59:52] local.INFO: IMEI packet received {"connection_id":172885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 16:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":172885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 16:59:54] local.INFO: TCP Data received {"connection_id":172885,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:59:54] local.INFO: Processing buffer {"connection_id":172885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 16:59:54] local.INFO: Packet analysis {"connection_id":172885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:59:54] local.INFO: Extracted packet for processing {"connection_id":172885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 16:59:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 16:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 16:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905575680001,"note":"Value kept but may cause issues"} 
[2026-09-06 16:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 16:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 16:59: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-09-06 16:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788693955000,"timestamp_ms":1788693955000,"timestamp_seconds":1788693955,"priority":1,"record_length":96,"hex_timestamp":"000001a07677c1b8"} 
[2026-09-06 16:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 16:59: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-09-06 16:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 16:59:54] 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-09-06 16:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 16:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 16:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 16:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 16:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 16:59: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-09-06 16:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 16:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 16:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905575680001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 16:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 16:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 16:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905575680001,"description":"Unknown IO ID 0"} 
[2026-09-06 16:59:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 16:59:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 16:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 16:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 16:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905575680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 16:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":172885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 16:59:54] local.INFO: GPS data processed {"connection_id":172885,"processed":1,"errors":0,"total":1} 
[2026-09-06 16:59:54] local.INFO: Acknowledgment sent {"connection_id":172885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 16:59:55] local.INFO: TCP Data received {"connection_id":174057,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:59:55] local.INFO: Processing buffer {"connection_id":174057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 16:59:55] local.INFO: IMEI packet received {"connection_id":174057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 16:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":174057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:00:00] local.INFO: TCP Data received {"connection_id":174057,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:00:00] local.INFO: Processing buffer {"connection_id":174057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:00:00] local.INFO: IMEI packet received {"connection_id":174057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":174057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:00:00] local.INFO: TCP Data received {"connection_id":174057,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0767a3a88012d7ae1c005c7a300000500be21..."} 
[2026-09-06 17:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0767a3a88012d7ae1c005c7a300000500be21..."} 
[2026-09-06 17:00:00] local.INFO: Processing buffer {"connection_id":174057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0767a3a88012d7ae1c005c7a300000500be21..."} 
[2026-09-06 17:00:00] local.INFO: Packet analysis {"connection_id":174057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0767a"} 
[2026-09-06 17:00:00] local.INFO: Extracted packet for processing {"connection_id":174057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0767a"} 
[2026-09-06 17:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763027904,"raw_latitude":96969472,"longitude_deg":76.3027904,"latitude_deg":9.6969472,"altitude":5,"angle":190,"satellites":33,"speed":26,"hex_longitude":"2d7ae1c0","hex_latitude":"05c7a300","is_valid_coordinates":true} 
[2026-09-06 17:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905692928001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129095592952463360,"note":"Value kept but may cause issues"} 
[2026-09-06 17:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855484267118790656,"note":"Value kept but may cause issues"} 
[2026-09-06 17:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788694117000,"timestamp_ms":1788694117000,"timestamp_seconds":1788694117,"priority":1,"record_length":96,"hex_timestamp":"000001a0767a3a88"} 
[2026-09-06 17:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 17:00:00] 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-09-06 17:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:00:00] 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-09-06 17:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905692928001,"66":13417,"203":206,"85":12288,"24":26,"16":129095592952463360,"45":8855484267118790656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,85,24,16,45]} 
[2026-09-06 17:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905692928001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:00:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 17:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129095592952463360,"km_value":129095592952463.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855484267118790656,"description":"Unknown IO ID 45"} 
[2026-09-06 17:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905692928001,"power":13417,"mnc":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":8855484267118790656}} 
[2026-09-06 17:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":174057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:00:00] local.INFO: GPS data processed {"connection_id":174057,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:00:00] local.INFO: Acknowledgment sent {"connection_id":174057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:00:25] local.INFO: TCP Data received {"connection_id":172885,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 17:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 17:00:25] local.INFO: Processing buffer {"connection_id":172885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 17:00:25] local.INFO: Packet analysis {"connection_id":172885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 17:00:25] local.INFO: Extracted packet for processing {"connection_id":172885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 17:00:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905575680001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788693955000,"timestamp_ms":1788693955000,"timestamp_seconds":1788693955,"priority":1,"record_length":96,"hex_timestamp":"000001a07677c1b8"} 
[2026-09-06 17:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:00: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-09-06 17:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905575680001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905575680001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:00:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:00:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905575680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":172885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:00:25] local.INFO: GPS data processed {"connection_id":172885,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:00:25] local.INFO: Acknowledgment sent {"connection_id":172885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:00:32] local.INFO: TCP Data received {"connection_id":174057,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0767a5db0012d7ae04005c789f0000400b123..."} 
[2026-09-06 17:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0767a5db0012d7ae04005c789f0000400b123..."} 
[2026-09-06 17:00:32] local.INFO: Processing buffer {"connection_id":174057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0767a5db0012d7ae04005c789f0000400b123..."} 
[2026-09-06 17:00:32] local.INFO: Packet analysis {"connection_id":174057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0767a"} 
[2026-09-06 17:00:32] local.INFO: Extracted packet for processing {"connection_id":174057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0767a"} 
[2026-09-06 17:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763027520,"raw_latitude":96963056,"longitude_deg":76.302752,"latitude_deg":9.6963056,"altitude":4,"angle":177,"satellites":35,"speed":29,"hex_longitude":"2d7ae040","hex_latitude":"05c789f0","is_valid_coordinates":true} 
[2026-09-06 17:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905693952001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129095902190108672,"note":"Value kept but may cause issues"} 
[2026-09-06 17:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854569473443823616,"note":"Value kept but may cause issues"} 
[2026-09-06 17:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788694126000,"timestamp_ms":1788694126000,"timestamp_seconds":1788694126,"priority":1,"record_length":96,"hex_timestamp":"000001a0767a5db0"} 
[2026-09-06 17:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-06 17:00:32] 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-09-06 17:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:00:32] 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-09-06 17:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905693952001,"66":13493,"203":206,"85":12288,"24":29,"16":129095902190108672,"45":8854569473443823616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,85,24,16,45]} 
[2026-09-06 17:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905693952001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:00:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 17:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129095902190108672,"km_value":129095902190108.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854569473443823616,"description":"Unknown IO ID 45"} 
[2026-09-06 17:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905693952001,"power":13493,"mnc":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":8854569473443823616}} 
[2026-09-06 17:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":174057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:00:32] local.INFO: GPS data processed {"connection_id":174057,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:00:32] local.INFO: Acknowledgment sent {"connection_id":174057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:00:47] local.INFO: TCP Data received {"connection_id":172655,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:00:47] local.INFO: Processing buffer {"connection_id":172655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:00:47] local.INFO: IMEI packet received {"connection_id":172655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":172655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:00:49] local.INFO: TCP Data received {"connection_id":175383,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:00:49] local.INFO: Processing buffer {"connection_id":175383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:00:49] local.INFO: IMEI packet received {"connection_id":175383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 17:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":175383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:00:52] local.INFO: TCP Data received {"connection_id":172655,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:00:52] local.INFO: Processing buffer {"connection_id":172655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:00:52] local.INFO: IMEI packet received {"connection_id":172655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":172655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:00:53] local.INFO: TCP Data received {"connection_id":172655,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 17:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 17:00:53] local.INFO: Processing buffer {"connection_id":172655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07677c1b8012d34c50006aa3d30000e01352a..."} 
[2026-09-06 17:00:53] local.INFO: Packet analysis {"connection_id":172655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 17:00:53] local.INFO: Extracted packet for processing {"connection_id":172655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07677"} 
[2026-09-06 17:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905575680001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788693955000,"timestamp_ms":1788693955000,"timestamp_seconds":1788693955,"priority":1,"record_length":96,"hex_timestamp":"000001a07677c1b8"} 
[2026-09-06 17:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":4,"data_length":795,"current_offset":136} 
[2026-09-06 17:00: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-09-06 17: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-09-06 17:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:00: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-09-06 17:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905575680001,"66":25582,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905575680001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:00:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905575680001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":172655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:00:53] local.INFO: GPS data processed {"connection_id":172655,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:00:53] local.INFO: Acknowledgment sent {"connection_id":172655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:00:54] local.INFO: TCP Data received {"connection_id":172886,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:00:54] local.INFO: Processing buffer {"connection_id":172886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:00:54] local.INFO: IMEI packet received {"connection_id":172886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":172886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:00:55] local.INFO: TCP Data received {"connection_id":172886,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:00:55] local.INFO: Processing buffer {"connection_id":172886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:00:55] local.INFO: IMEI packet received {"connection_id":172886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":172886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:00:56] local.INFO: TCP Data received {"connection_id":172886,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:00:56] local.INFO: Processing buffer {"connection_id":172886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:00:56] local.INFO: IMEI packet received {"connection_id":172886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":172886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:00:58] local.INFO: TCP Data received {"connection_id":172886,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:00:58] local.INFO: Processing buffer {"connection_id":172886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:00:58] local.INFO: IMEI packet received {"connection_id":172886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":172886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:01:24] local.INFO: TCP Data received {"connection_id":172655,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:01:24] local.INFO: Processing buffer {"connection_id":172655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:01:24] local.INFO: Packet analysis {"connection_id":172655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:01:24] local.INFO: Extracted packet for processing {"connection_id":172655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:01:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905652480001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788694256000,"timestamp_ms":1788694256000,"timestamp_seconds":1788694256,"priority":1,"record_length":96,"hex_timestamp":"000001a0767c5980"} 
[2026-09-06 17:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":238,"data_length":795,"current_offset":136} 
[2026-09-06 17:01: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-09-06 17: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-09-06 17:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:01: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-09-06 17:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905652480001,"66":25549,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905652480001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:01:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:01:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905652480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":172655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:01:24] local.INFO: GPS data processed {"connection_id":172655,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:01:24] local.INFO: Acknowledgment sent {"connection_id":172655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:01:47] local.INFO: TCP Data received {"connection_id":175384,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:01:47] local.INFO: Processing buffer {"connection_id":175384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:01:47] local.INFO: IMEI packet received {"connection_id":175384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":175384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:01:52] local.INFO: TCP Data received {"connection_id":175384,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:01:52] local.INFO: Processing buffer {"connection_id":175384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:01:52] local.INFO: IMEI packet received {"connection_id":175384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":175384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:01:53] local.INFO: TCP Data received {"connection_id":175384,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:01:53] local.INFO: Processing buffer {"connection_id":175384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:01:53] local.INFO: Packet analysis {"connection_id":175384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:01:53] local.INFO: Extracted packet for processing {"connection_id":175384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:01:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905652480001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788694256000,"timestamp_ms":1788694256000,"timestamp_seconds":1788694256,"priority":1,"record_length":96,"hex_timestamp":"000001a0767c5980"} 
[2026-09-06 17:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":238,"data_length":795,"current_offset":136} 
[2026-09-06 17:01: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-09-06 17: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-09-06 17:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17: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-09-06 17:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905652480001,"66":25549,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905652480001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:01:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:01:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905652480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":175384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:01:53] local.INFO: GPS data processed {"connection_id":175384,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:01:53] local.INFO: Acknowledgment sent {"connection_id":175384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:02:24] local.INFO: TCP Data received {"connection_id":175384,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:02:24] local.INFO: Processing buffer {"connection_id":175384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:02:24] local.INFO: Packet analysis {"connection_id":175384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:02:24] local.INFO: Extracted packet for processing {"connection_id":175384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:02:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 17:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905652480001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 17:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788694256000,"timestamp_ms":1788694256000,"timestamp_seconds":1788694256,"priority":1,"record_length":96,"hex_timestamp":"000001a0767c5980"} 
[2026-09-06 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-09-06 17: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-09-06 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":238,"data_length":795,"current_offset":136} 
[2026-09-06 17:02: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-09-06 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-09-06 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-09-06 17:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:02: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-09-06 17:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905652480001,"66":25549,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905652480001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:02:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:02:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905652480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":175384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:02:24] local.INFO: GPS data processed {"connection_id":175384,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:02:24] local.INFO: Acknowledgment sent {"connection_id":175384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:02:47] local.INFO: TCP Data received {"connection_id":175386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:02:47] local.INFO: Processing buffer {"connection_id":175386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:02:47] local.INFO: IMEI packet received {"connection_id":175386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":175386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:02:52] local.INFO: TCP Data received {"connection_id":175386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:02:52] local.INFO: Processing buffer {"connection_id":175386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:02:52] local.INFO: IMEI packet received {"connection_id":175386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":175386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:02:54] local.INFO: TCP Data received {"connection_id":175386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:02:54] local.INFO: Processing buffer {"connection_id":175386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:02:54] local.INFO: Packet analysis {"connection_id":175386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:02:54] local.INFO: Extracted packet for processing {"connection_id":175386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:02:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 17:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905652480001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 17:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788694256000,"timestamp_ms":1788694256000,"timestamp_seconds":1788694256,"priority":1,"record_length":96,"hex_timestamp":"000001a0767c5980"} 
[2026-09-06 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-09-06 17:02: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-09-06 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":238,"data_length":795,"current_offset":136} 
[2026-09-06 17:02: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-09-06 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-09-06 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-09-06 17:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:02: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-09-06 17:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905652480001,"66":25549,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905652480001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:02:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:02:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905652480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":175386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:02:54] local.INFO: GPS data processed {"connection_id":175386,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:02:54] local.INFO: Acknowledgment sent {"connection_id":175386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:03:25] local.INFO: TCP Data received {"connection_id":175386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:03:25] local.INFO: Processing buffer {"connection_id":175386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:03:25] local.INFO: Packet analysis {"connection_id":175386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:03:25] local.INFO: Extracted packet for processing {"connection_id":175386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 17:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905652480001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 17:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788694256000,"timestamp_ms":1788694256000,"timestamp_seconds":1788694256,"priority":1,"record_length":96,"hex_timestamp":"000001a0767c5980"} 
[2026-09-06 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-09-06 17: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-09-06 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":238,"data_length":795,"current_offset":136} 
[2026-09-06 17:03: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-09-06 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-09-06 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-09-06 17:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:03: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-09-06 17:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905652480001,"66":25549,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905652480001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905652480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":175386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:03:25] local.INFO: GPS data processed {"connection_id":175386,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:03:25] local.INFO: Acknowledgment sent {"connection_id":175386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:03:54] local.INFO: TCP Data received {"connection_id":172890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:03:54] local.INFO: Processing buffer {"connection_id":172890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:03:54] local.INFO: IMEI packet received {"connection_id":172890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":172890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:03:57] local.INFO: TCP Data received {"connection_id":172890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:03:57] local.INFO: Processing buffer {"connection_id":172890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:03:57] local.INFO: IMEI packet received {"connection_id":172890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":172890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:03:58] local.INFO: TCP Data received {"connection_id":172890,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:03:58] local.INFO: Processing buffer {"connection_id":172890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:03:58] local.INFO: Packet analysis {"connection_id":172890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:03:58] local.INFO: Extracted packet for processing {"connection_id":172890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:03:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905652480001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788694256000,"timestamp_ms":1788694256000,"timestamp_seconds":1788694256,"priority":1,"record_length":96,"hex_timestamp":"000001a0767c5980"} 
[2026-09-06 17:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:03: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-09-06 17: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 17:03: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-09-06 17: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-09-06 17:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905652480001,"66":25549,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905652480001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:03:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:03:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905652480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":172890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:03:58] local.INFO: GPS data processed {"connection_id":172890,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:03:58] local.INFO: Acknowledgment sent {"connection_id":172890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:04:03] local.INFO: TCP Data received {"connection_id":172890,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:04:03] local.INFO: Processing buffer {"connection_id":172890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:04:03] local.INFO: Packet analysis {"connection_id":172890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:04:03] local.INFO: Extracted packet for processing {"connection_id":172890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905652480001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:04: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-09-06 17:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788694256000,"timestamp_ms":1788694256000,"timestamp_seconds":1788694256,"priority":1,"record_length":96,"hex_timestamp":"000001a0767c5980"} 
[2026-09-06 17:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:04: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-09-06 17:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 17:04: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-09-06 17:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905652480001,"66":25549,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905652480001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:04:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905652480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":172890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:04:03] local.INFO: GPS data processed {"connection_id":172890,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:04:03] local.INFO: Acknowledgment sent {"connection_id":172890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:04:47] local.INFO: TCP Data received {"connection_id":172656,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:04:47] local.INFO: Processing buffer {"connection_id":172656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:04:47] local.INFO: IMEI packet received {"connection_id":172656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":172656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:04:52] local.INFO: TCP Data received {"connection_id":172656,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:04:52] local.INFO: Processing buffer {"connection_id":172656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:04:52] local.INFO: IMEI packet received {"connection_id":172656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":172656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:04:53] local.INFO: TCP Data received {"connection_id":172656,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:04:53] local.INFO: Processing buffer {"connection_id":172656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:04:53] local.INFO: Packet analysis {"connection_id":172656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:04:53] local.INFO: Extracted packet for processing {"connection_id":172656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905652480001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788694256000,"timestamp_ms":1788694256000,"timestamp_seconds":1788694256,"priority":1,"record_length":96,"hex_timestamp":"000001a0767c5980"} 
[2026-09-06 17:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:04: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-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:04: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-09-06 17:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905652480001,"66":25549,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905652480001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:04:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905652480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":172656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:04:53] local.INFO: GPS data processed {"connection_id":172656,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:04:53] local.INFO: Acknowledgment sent {"connection_id":172656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:05:26] local.INFO: TCP Data received {"connection_id":172656,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:05:26] local.INFO: Processing buffer {"connection_id":172656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:05:26] local.INFO: Packet analysis {"connection_id":172656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:05:26] local.INFO: Extracted packet for processing {"connection_id":172656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:05:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905652480001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788694256000,"timestamp_ms":1788694256000,"timestamp_seconds":1788694256,"priority":1,"record_length":96,"hex_timestamp":"000001a0767c5980"} 
[2026-09-06 17:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:05: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-09-06 17:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905652480001,"66":25549,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905652480001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:05:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:05:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905652480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":172656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:05:26] local.INFO: GPS data processed {"connection_id":172656,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:05:26] local.INFO: Acknowledgment sent {"connection_id":172656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:05:47] local.INFO: TCP Data received {"connection_id":175387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:05:47] local.INFO: Processing buffer {"connection_id":175387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:05:47] local.INFO: IMEI packet received {"connection_id":175387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":175387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:05:52] local.INFO: TCP Data received {"connection_id":175387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:05:52] local.INFO: Processing buffer {"connection_id":175387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:05:52] local.INFO: IMEI packet received {"connection_id":175387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":175387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:05:54] local.INFO: TCP Data received {"connection_id":175387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:05:54] local.INFO: Processing buffer {"connection_id":175387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0767c5980012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:05:54] local.INFO: Packet analysis {"connection_id":175387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:05:54] local.INFO: Extracted packet for processing {"connection_id":175387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0767c"} 
[2026-09-06 17:05:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905652480001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:05: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-09-06 17:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788694256000,"timestamp_ms":1788694256000,"timestamp_seconds":1788694256,"priority":1,"record_length":96,"hex_timestamp":"000001a0767c5980"} 
[2026-09-06 17:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:05: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-09-06 17: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 17:05: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-09-06 17: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-09-06 17:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:05: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-09-06 17:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905652480001,"66":25549,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905652480001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:05:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:05:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905652480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":175387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:05:54] local.INFO: GPS data processed {"connection_id":175387,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:05:54] local.INFO: Acknowledgment sent {"connection_id":175387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:06:00] local.INFO: TCP Data received {"connection_id":174059,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:06:00] local.INFO: Processing buffer {"connection_id":174059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:06:00] local.INFO: IMEI packet received {"connection_id":174059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":174059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:06:01] local.INFO: TCP Data received {"connection_id":174059,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0768060c0012d7ae28005c8bac00007000a23..."} 
[2026-09-06 17:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768060c0012d7ae28005c8bac00007000a23..."} 
[2026-09-06 17:06:01] local.INFO: Processing buffer {"connection_id":174059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768060c0012d7ae28005c8bac00007000a23..."} 
[2026-09-06 17:06:01] local.INFO: Packet analysis {"connection_id":174059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:06:01] local.INFO: Extracted packet for processing {"connection_id":174059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763028096,"raw_latitude":97041088,"longitude_deg":76.3028096,"latitude_deg":9.7041088,"altitude":7,"angle":10,"satellites":35,"speed":10,"hex_longitude":"2d7ae280","hex_latitude":"05c8bac0","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905795072001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129106858651680768,"note":"Value kept but may cause issues"} 
[2026-09-06 17:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855062054670553088,"note":"Value kept but may cause issues"} 
[2026-09-06 17:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788694520000,"timestamp_ms":1788694520000,"timestamp_seconds":1788694520,"priority":1,"record_length":96,"hex_timestamp":"000001a0768060c0"} 
[2026-09-06 17:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-06 17:06:01] 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-09-06 17: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-09-06 17:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:06: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-09-06 17:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905795072001,"66":12982,"80":206,"85":12288,"24":10,"16":129106858651680768,"45":8855062054670553088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,85,24,16,45]} 
[2026-09-06 17:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905795072001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:06:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-06 17:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 17:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129106858651680768,"km_value":129106858651680.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855062054670553088,"description":"Unknown IO ID 45"} 
[2026-09-06 17:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905795072001,"power":12982,"unknown_80":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":8855062054670553088}} 
[2026-09-06 17:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":174059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:06:01] local.INFO: GPS data processed {"connection_id":174059,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:06:01] local.INFO: Acknowledgment sent {"connection_id":174059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:06:19] local.INFO: TCP Data received {"connection_id":174058,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174058,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:06:19] local.INFO: Processing buffer {"connection_id":174058,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:06:19] local.INFO: IMEI packet received {"connection_id":174058,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 17:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":174058,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:06:26] local.INFO: TCP Data received {"connection_id":175387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:06:26] local.INFO: Processing buffer {"connection_id":175387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:06:26] local.INFO: Packet analysis {"connection_id":175387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:06:26] local.INFO: Extracted packet for processing {"connection_id":175387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:06:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905729536001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788694558000,"timestamp_ms":1788694558000,"timestamp_seconds":1788694558,"priority":1,"record_length":96,"hex_timestamp":"000001a07680f530"} 
[2026-09-06 17:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-06 17:06: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-09-06 17: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-09-06 17:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905729536001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905729536001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:06:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:06:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905729536001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":175387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:06:26] local.INFO: GPS data processed {"connection_id":175387,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:06:26] local.INFO: Acknowledgment sent {"connection_id":175387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:06:38] local.INFO: TCP Data received {"connection_id":174059,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076806890012d7ae34005c8bc580007003123..."} 
[2026-09-06 17:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076806890012d7ae34005c8bc580007003123..."} 
[2026-09-06 17:06:38] local.INFO: Processing buffer {"connection_id":174059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076806890012d7ae34005c8bc580007003123..."} 
[2026-09-06 17:06:38] local.INFO: Packet analysis {"connection_id":174059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:06:38] local.INFO: Extracted packet for processing {"connection_id":174059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763028288,"raw_latitude":97041496,"longitude_deg":76.3028288,"latitude_deg":9.7041496,"altitude":7,"angle":49,"satellites":35,"speed":9,"hex_longitude":"2d7ae340","hex_latitude":"05c8bc58","is_valid_coordinates":true} 
[2026-09-06 17:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905797120001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129106875831549952,"note":"Value kept but may cause issues"} 
[2026-09-06 17:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854780579694690304,"note":"Value kept but may cause issues"} 
[2026-09-06 17:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788694522000,"timestamp_ms":1788694522000,"timestamp_seconds":1788694522,"priority":1,"record_length":96,"hex_timestamp":"000001a076806890"} 
[2026-09-06 17:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:06: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-09-06 17:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-06 17:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:06:38] 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-09-06 17:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905797120001,"66":12982,"80":206,"85":12288,"24":9,"16":129106875831549952,"45":8854780579694690304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,85,24,16,45]} 
[2026-09-06 17:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905797120001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:06:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-06 17:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 17:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129106875831549952,"km_value":129106875831549.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854780579694690304,"description":"Unknown IO ID 45"} 
[2026-09-06 17:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905797120001,"power":12982,"unknown_80":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":8854780579694690304}} 
[2026-09-06 17:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":174059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:06:38] local.INFO: GPS data processed {"connection_id":174059,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:06:38] local.INFO: Acknowledgment sent {"connection_id":174059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:06:47] local.INFO: TCP Data received {"connection_id":172893,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:06:47] local.INFO: Processing buffer {"connection_id":172893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:06:47] local.INFO: IMEI packet received {"connection_id":172893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":172893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:06:49] local.INFO: TCP Data received {"connection_id":172894,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:06:49] local.INFO: Processing buffer {"connection_id":172894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:06:49] local.INFO: IMEI packet received {"connection_id":172894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 17:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":172894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:06:52] local.INFO: TCP Data received {"connection_id":172893,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:06:52] local.INFO: Processing buffer {"connection_id":172893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:06:52] local.INFO: IMEI packet received {"connection_id":172893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":172893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:06:54] local.INFO: TCP Data received {"connection_id":172893,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:06:54] local.INFO: Processing buffer {"connection_id":172893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:06:54] local.INFO: Packet analysis {"connection_id":172893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:06:54] local.INFO: Extracted packet for processing {"connection_id":172893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:06:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905729536001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788694558000,"timestamp_ms":1788694558000,"timestamp_seconds":1788694558,"priority":1,"record_length":96,"hex_timestamp":"000001a07680f530"} 
[2026-09-06 17:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:06: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-09-06 17: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":205,"data_length":795,"current_offset":136} 
[2026-09-06 17:06: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-09-06 17: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-09-06 17:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17: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-09-06 17:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905729536001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905729536001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:06:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:06:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905729536001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":172893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:06:54] local.INFO: GPS data processed {"connection_id":172893,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:06:54] local.INFO: Acknowledgment sent {"connection_id":172893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:07:10] local.INFO: TCP Data received {"connection_id":172895,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:10] local.INFO: Processing buffer {"connection_id":172895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:10] local.INFO: IMEI packet received {"connection_id":172895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":172895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:07:12] local.INFO: TCP Data received {"connection_id":172895,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:12] local.INFO: Processing buffer {"connection_id":172895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:12] local.INFO: IMEI packet received {"connection_id":172895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":172895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:07:16] local.INFO: TCP Data received {"connection_id":172895,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:16] local.INFO: Processing buffer {"connection_id":172895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:16] local.INFO: IMEI packet received {"connection_id":172895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":172895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:07:16] local.INFO: TCP Data received {"connection_id":172895,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0768189a0012d7bad4005c8b728000a005322..."} 
[2026-09-06 17:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768189a0012d7bad4005c8b728000a005322..."} 
[2026-09-06 17:07:16] local.INFO: Processing buffer {"connection_id":172895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768189a0012d7bad4005c8b728000a005322..."} 
[2026-09-06 17:07:16] local.INFO: Packet analysis {"connection_id":172895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07681"} 
[2026-09-06 17:07:16] local.INFO: Extracted packet for processing {"connection_id":172895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07681"} 
[2026-09-06 17:07:16] local.INFO: GPS Element Parsed {"raw_longitude":763080000,"raw_latitude":97040168,"longitude_deg":76.308,"latitude_deg":9.7040168,"altitude":10,"angle":83,"satellites":34,"speed":32,"hex_longitude":"2d7bad40","hex_latitude":"05c8b728","is_valid_coordinates":true} 
[2026-09-06 17:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905813760001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129109396977352704,"note":"Value kept but may cause issues"} 
[2026-09-06 17:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901786900804921344,"note":"Value kept but may cause issues"} 
[2026-09-06 17:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788694596000,"timestamp_ms":1788694596000,"timestamp_seconds":1788694596,"priority":1,"record_length":96,"hex_timestamp":"000001a0768189a0"} 
[2026-09-06 17:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-06 17:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:07:16] 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-09-06 17:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905813760001,"66":13222,"80":206,"85":12288,"24":32,"16":129109396977352704,"45":8901786900804921344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,85,24,16,45]} 
[2026-09-06 17:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905813760001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:07:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-06 17:07:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 17:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129109396977352704,"km_value":129109396977352.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901786900804921344,"description":"Unknown IO ID 45"} 
[2026-09-06 17:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905813760001,"power":13222,"unknown_80":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":8901786900804921344}} 
[2026-09-06 17:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":172895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:07:16] local.INFO: GPS data processed {"connection_id":172895,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:07:16] local.INFO: Acknowledgment sent {"connection_id":172895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:07:20] local.INFO: TCP Data received {"connection_id":172895,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07681b880012d7bd2c005c8bad8000c005822..."} 
[2026-09-06 17:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07681b880012d7bd2c005c8bad8000c005822..."} 
[2026-09-06 17:07:20] local.INFO: Processing buffer {"connection_id":172895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07681b880012d7bd2c005c8bad8000c005822..."} 
[2026-09-06 17:07:20] local.INFO: Packet analysis {"connection_id":172895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07681"} 
[2026-09-06 17:07:20] local.INFO: Extracted packet for processing {"connection_id":172895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07681"} 
[2026-09-06 17:07:20] local.INFO: GPS Element Parsed {"raw_longitude":763089600,"raw_latitude":97041112,"longitude_deg":76.30896,"latitude_deg":9.7041112,"altitude":12,"angle":88,"satellites":34,"speed":30,"hex_longitude":"2d7bd2c0","hex_latitude":"05c8bad8","is_valid_coordinates":true} 
[2026-09-06 17:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905816576001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129109860833820672,"note":"Value kept but may cause issues"} 
[2026-09-06 17:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911849631222540288,"note":"Value kept but may cause issues"} 
[2026-09-06 17:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788694608000,"timestamp_ms":1788694608000,"timestamp_seconds":1788694608,"priority":1,"record_length":96,"hex_timestamp":"000001a07681b880"} 
[2026-09-06 17:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 17:07:20] 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-09-06 17:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":172895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":172895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":172895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:07:20] 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-09-06 17:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905816576001,"66":13559,"80":206,"85":12288,"24":30,"16":129109860833820672,"45":8911849631222540288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,85,24,16,45]} 
[2026-09-06 17:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905816576001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:07:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-06 17:07:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 17:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129109860833820672,"km_value":129109860833820.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911849631222540288,"description":"Unknown IO ID 45"} 
[2026-09-06 17:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905816576001,"power":13559,"unknown_80":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":8911849631222540288}} 
[2026-09-06 17:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":172895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:07:20] local.INFO: GPS data processed {"connection_id":172895,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:07:20] local.INFO: Acknowledgment sent {"connection_id":172895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:07:26] local.INFO: TCP Data received {"connection_id":172893,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:07:26] local.INFO: Processing buffer {"connection_id":172893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:07:26] local.INFO: Packet analysis {"connection_id":172893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:07:26] local.INFO: Extracted packet for processing {"connection_id":172893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:07:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905729536001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788694558000,"timestamp_ms":1788694558000,"timestamp_seconds":1788694558,"priority":1,"record_length":96,"hex_timestamp":"000001a07680f530"} 
[2026-09-06 17:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17: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":205,"data_length":795,"current_offset":136} 
[2026-09-06 17:07: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-09-06 17: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-09-06 17:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:07: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-09-06 17:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905729536001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905729536001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:07:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:07:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905729536001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":172893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:07:26] local.INFO: GPS data processed {"connection_id":172893,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:07:26] local.INFO: Acknowledgment sent {"connection_id":172893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:07:47] local.INFO: TCP Data received {"connection_id":175388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:07:47] local.INFO: Processing buffer {"connection_id":175388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:07:47] local.INFO: IMEI packet received {"connection_id":175388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":175388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:07:52] local.INFO: TCP Data received {"connection_id":175388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:07:52] local.INFO: Processing buffer {"connection_id":175388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:07:52] local.INFO: IMEI packet received {"connection_id":175388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":175388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:07:53] local.INFO: TCP Data received {"connection_id":175388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:07:53] local.INFO: Processing buffer {"connection_id":175388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:07:53] local.INFO: Packet analysis {"connection_id":175388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:07:53] local.INFO: Extracted packet for processing {"connection_id":175388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905729536001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788694558000,"timestamp_ms":1788694558000,"timestamp_seconds":1788694558,"priority":1,"record_length":96,"hex_timestamp":"000001a07680f530"} 
[2026-09-06 17:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":205,"data_length":795,"current_offset":136} 
[2026-09-06 17:07: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-09-06 17: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-09-06 17:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:07: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-09-06 17:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905729536001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905729536001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:07:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905729536001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":175388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:07:53] local.INFO: GPS data processed {"connection_id":175388,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:07:53] local.INFO: Acknowledgment sent {"connection_id":175388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:07:55] local.INFO: TCP Data received {"connection_id":175389,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:55] local.INFO: Processing buffer {"connection_id":175389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:55] local.INFO: IMEI packet received {"connection_id":175389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":175389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:07:56] local.INFO: TCP Data received {"connection_id":175389,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:56] local.INFO: Processing buffer {"connection_id":175389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:56] local.INFO: IMEI packet received {"connection_id":175389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":175389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:07:59] local.INFO: TCP Data received {"connection_id":175389,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:59] local.INFO: Processing buffer {"connection_id":175389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:07:59] local.INFO: IMEI packet received {"connection_id":175389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":175389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:07:59] local.INFO: TCP Data received {"connection_id":175389,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07681e760012d7bf84005c8b8c8000b005f22..."} 
[2026-09-06 17:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07681e760012d7bf84005c8b8c8000b005f22..."} 
[2026-09-06 17:07:59] local.INFO: Processing buffer {"connection_id":175389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07681e760012d7bf84005c8b8c8000b005f22..."} 
[2026-09-06 17:07:59] local.INFO: Packet analysis {"connection_id":175389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07681"} 
[2026-09-06 17:07:59] local.INFO: Extracted packet for processing {"connection_id":175389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07681"} 
[2026-09-06 17:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763099200,"raw_latitude":97040584,"longitude_deg":76.30992,"latitude_deg":9.7040584,"altitude":11,"angle":95,"satellites":34,"speed":32,"hex_longitude":"2d7bf840","hex_latitude":"05c8b8c8","is_valid_coordinates":true} 
[2026-09-06 17:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905819648001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129110320395321344,"note":"Value kept but may cause issues"} 
[2026-09-06 17:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922404942849431552,"note":"Value kept but may cause issues"} 
[2026-09-06 17:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788694620000,"timestamp_ms":1788694620000,"timestamp_seconds":1788694620,"priority":1,"record_length":96,"hex_timestamp":"000001a07681e760"} 
[2026-09-06 17:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 17:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:07:59] 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-09-06 17:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905819648001,"66":13580,"80":206,"85":12288,"24":32,"16":129110320395321344,"45":8922404942849431552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,85,24,16,45]} 
[2026-09-06 17:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905819648001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:07:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-06 17:07:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 17:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129110320395321344,"km_value":129110320395321.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922404942849431552,"description":"Unknown IO ID 45"} 
[2026-09-06 17:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905819648001,"power":13580,"unknown_80":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":8922404942849431552}} 
[2026-09-06 17:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":175389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:07:59] local.INFO: GPS data processed {"connection_id":175389,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:07:59] local.INFO: Acknowledgment sent {"connection_id":175389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:08:25] local.INFO: TCP Data received {"connection_id":175388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:08:25] local.INFO: Processing buffer {"connection_id":175388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:08:25] local.INFO: Packet analysis {"connection_id":175388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:08:25] local.INFO: Extracted packet for processing {"connection_id":175388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:08:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905729536001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788694558000,"timestamp_ms":1788694558000,"timestamp_seconds":1788694558,"priority":1,"record_length":96,"hex_timestamp":"000001a07680f530"} 
[2026-09-06 17:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:08: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-09-06 17: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":205,"data_length":795,"current_offset":136} 
[2026-09-06 17:08: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-09-06 17: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-09-06 17:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:08: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-09-06 17:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905729536001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905729536001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:08:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:08:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905729536001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":175388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:08:25] local.INFO: GPS data processed {"connection_id":175388,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:08:25] local.INFO: Acknowledgment sent {"connection_id":175388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:08:31] local.INFO: TCP Data received {"connection_id":175389,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076820e70012d7c1d4005c8b5e0000a006323..."} 
[2026-09-06 17:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076820e70012d7c1d4005c8b5e0000a006323..."} 
[2026-09-06 17:08:31] local.INFO: Processing buffer {"connection_id":175389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076820e70012d7c1d4005c8b5e0000a006323..."} 
[2026-09-06 17:08:31] local.INFO: Packet analysis {"connection_id":175389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07682"} 
[2026-09-06 17:08:31] local.INFO: Extracted packet for processing {"connection_id":175389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07682"} 
[2026-09-06 17:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763108672,"raw_latitude":97039840,"longitude_deg":76.3108672,"latitude_deg":9.703984,"altitude":10,"angle":99,"satellites":35,"speed":40,"hex_longitude":"2d7c1d40","hex_latitude":"05c8b5e0","is_valid_coordinates":true} 
[2026-09-06 17:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905822720001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129110775661854720,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932960254475945984,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788694630000,"timestamp_ms":1788694630000,"timestamp_seconds":1788694630,"priority":1,"record_length":96,"hex_timestamp":"000001a076820e70"} 
[2026-09-06 17:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 17:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631022,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3841908032216760320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:31] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:31] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2167648257,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3157786633,"corrected_to":0} 
[2026-09-06 17:08:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039055696,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2807038158,"corrected_to":0} 
[2026-09-06 17:08:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:31] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2938699776,"corrected_to":0} 
[2026-09-06 17:08:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3367913472,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:31] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2431950158521958410,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:31] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964620923031125,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:31] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755515405304049,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:31] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,80,85,24,241,157,16,177,160,184,45,192,186,12,34,10,66,176,137,64,183,94,128,1,240,237,227,175,118,200,4,113,205,28,253,71,208,239,52,2,202,5,123,50,48],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":200,"original":3157786633,"validated":0},{"io_id":205,"original":2807038158,"validated":0},{"io_id":202,"original":2938699776,"validated":0}]} 
[2026-09-06 17:08:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792738134052831232,"timestamp_seconds":792738134052831.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 17:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:08:31] 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-09-06 17:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905822720001,"66":13417,"199":206,"85":12288,"24":40,"16":129110775661854720,"45":8932960254475945984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 17:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905822720001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:08:31] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 17:08:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 17:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129110775661854720,"km_value":129110775661854.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932960254475945984,"description":"Unknown IO ID 45"} 
[2026-09-06 17:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905822720001,"power":13417,"trip_odometer":0.206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":8932960254475945984}} 
[2026-09-06 17:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":175389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:08:31] local.INFO: GPS data processed {"connection_id":175389,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:08:31] local.INFO: Acknowledgment sent {"connection_id":175389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:08:47] local.INFO: TCP Data received {"connection_id":175390,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:08:47] local.INFO: Processing buffer {"connection_id":175390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:08:47] local.INFO: IMEI packet received {"connection_id":175390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":175390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:08:52] local.INFO: TCP Data received {"connection_id":175390,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:08:52] local.INFO: Processing buffer {"connection_id":175390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:08:52] local.INFO: IMEI packet received {"connection_id":175390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":175390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:08:55] local.INFO: TCP Data received {"connection_id":174061,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:08:55] local.INFO: Processing buffer {"connection_id":174061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:08:55] local.INFO: IMEI packet received {"connection_id":174061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":174061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:08:55] local.INFO: TCP Data received {"connection_id":175390,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:08:55] local.INFO: Processing buffer {"connection_id":175390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:08:55] local.INFO: Packet analysis {"connection_id":175390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:08:55] local.INFO: Extracted packet for processing {"connection_id":175390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:08:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905729536001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:08: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-09-06 17:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788694558000,"timestamp_ms":1788694558000,"timestamp_seconds":1788694558,"priority":1,"record_length":96,"hex_timestamp":"000001a07680f530"} 
[2026-09-06 17:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-06 17:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905729536001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905729536001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:08:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:08:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905729536001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":175390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:08:55] local.INFO: GPS data processed {"connection_id":175390,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:08:55] local.INFO: Acknowledgment sent {"connection_id":175390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:09:00] local.INFO: TCP Data received {"connection_id":174061,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:09:00] local.INFO: Processing buffer {"connection_id":174061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:09:00] local.INFO: IMEI packet received {"connection_id":174061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":174061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:09:01] local.INFO: TCP Data received {"connection_id":174061,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076838958012d7d0b4005c8afc0000c003322..."} 
[2026-09-06 17:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076838958012d7d0b4005c8afc0000c003322..."} 
[2026-09-06 17:09:01] local.INFO: Processing buffer {"connection_id":174061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076838958012d7d0b4005c8afc0000c003322..."} 
[2026-09-06 17:09:01] local.INFO: Packet analysis {"connection_id":174061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07683"} 
[2026-09-06 17:09:01] local.INFO: Extracted packet for processing {"connection_id":174061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07683"} 
[2026-09-06 17:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763169600,"raw_latitude":97038272,"longitude_deg":76.31696,"latitude_deg":9.7038272,"altitude":12,"angle":51,"satellites":34,"speed":6,"hex_longitude":"2d7d0b40","hex_latitude":"05c8afc0","is_valid_coordinates":true} 
[2026-09-06 17:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905849600001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129113769254060032,"note":"Value kept but may cause issues"} 
[2026-09-06 17:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010084398094047232,"note":"Value kept but may cause issues"} 
[2026-09-06 17:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788694727000,"timestamp_ms":1788694727000,"timestamp_seconds":1788694727,"priority":1,"record_length":96,"hex_timestamp":"000001a076838958"} 
[2026-09-06 17:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-06 17:09:01] 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-09-06 17:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:09: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-09-06 17:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905849600001,"66":13091,"199":206,"85":12288,"24":6,"16":129113769254060032,"45":9010084398094047232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 17:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905849600001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:09:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 17:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 17:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129113769254060032,"km_value":129113769254060.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010084398094047232,"description":"Unknown IO ID 45"} 
[2026-09-06 17:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905849600001,"power":13091,"trip_odometer":0.206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9010084398094047232}} 
[2026-09-06 17:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":174061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:09:01] local.INFO: GPS data processed {"connection_id":174061,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:09:01] local.INFO: Acknowledgment sent {"connection_id":174061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:09:32] local.INFO: TCP Data received {"connection_id":175390,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:09:32] local.INFO: Processing buffer {"connection_id":175390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:09:32] local.INFO: Packet analysis {"connection_id":175390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:09:32] local.INFO: Extracted packet for processing {"connection_id":175390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:09:32] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905729536001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:09: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-09-06 17:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788694558000,"timestamp_ms":1788694558000,"timestamp_seconds":1788694558,"priority":1,"record_length":96,"hex_timestamp":"000001a07680f530"} 
[2026-09-06 17:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-06 17:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905729536001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905729536001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:09:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:09:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905729536001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":175390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:09:32] local.INFO: GPS data processed {"connection_id":175390,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:09:32] local.INFO: Acknowledgment sent {"connection_id":175390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:09:33] local.INFO: TCP Data received {"connection_id":174061,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076838d40012d7d0bc005c8b038000c002322..."} 
[2026-09-06 17:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076838d40012d7d0bc005c8b038000c002322..."} 
[2026-09-06 17:09:33] local.INFO: Processing buffer {"connection_id":174061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076838d40012d7d0bc005c8b038000c002322..."} 
[2026-09-06 17:09:33] local.INFO: Packet analysis {"connection_id":174061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07683"} 
[2026-09-06 17:09:33] local.INFO: Extracted packet for processing {"connection_id":174061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07683"} 
[2026-09-06 17:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763169728,"raw_latitude":97038392,"longitude_deg":76.3169728,"latitude_deg":9.7038392,"altitude":12,"angle":35,"satellites":34,"speed":8,"hex_longitude":"2d7d0bc0","hex_latitude":"05c8b038","is_valid_coordinates":true} 
[2026-09-06 17:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905850112001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129113773549027328,"note":"Value kept but may cause issues"} 
[2026-09-06 17:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010365873070784512,"note":"Value kept but may cause issues"} 
[2026-09-06 17:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788694728000,"timestamp_ms":1788694728000,"timestamp_seconds":1788694728,"priority":1,"record_length":96,"hex_timestamp":"000001a076838d40"} 
[2026-09-06 17:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-06 17:09:33] 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-09-06 17:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:09:33] 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-09-06 17:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905850112001,"66":13091,"199":206,"85":12288,"24":8,"16":129113773549027328,"45":9010365873070784512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 17:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905850112001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:09:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 17:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 17:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129113773549027328,"km_value":129113773549027.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010365873070784512,"description":"Unknown IO ID 45"} 
[2026-09-06 17:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905850112001,"power":13091,"trip_odometer":0.206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9010365873070784512}} 
[2026-09-06 17:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":174061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:09:33] local.INFO: GPS data processed {"connection_id":174061,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:09:33] local.INFO: Acknowledgment sent {"connection_id":174061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:09:52] local.INFO: TCP Data received {"connection_id":172659,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:09:52] local.INFO: Processing buffer {"connection_id":172659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:09:52] local.INFO: IMEI packet received {"connection_id":172659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":172659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:09:55] local.INFO: TCP Data received {"connection_id":172898,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:09:55] local.INFO: Processing buffer {"connection_id":172898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:09:55] local.INFO: IMEI packet received {"connection_id":172898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":172898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:09:56] local.INFO: TCP Data received {"connection_id":172898,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:09:56] local.INFO: Processing buffer {"connection_id":172898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:09:56] local.INFO: IMEI packet received {"connection_id":172898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":172898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:09:57] local.INFO: TCP Data received {"connection_id":172659,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:09:57] local.INFO: Processing buffer {"connection_id":172659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:09:57] local.INFO: IMEI packet received {"connection_id":172659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":172659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:09:58] local.INFO: TCP Data received {"connection_id":172659,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:09:58] local.INFO: Processing buffer {"connection_id":172659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:09:58] local.INFO: Packet analysis {"connection_id":172659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:09:58] local.INFO: Extracted packet for processing {"connection_id":172659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:09:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905729536001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788694558000,"timestamp_ms":1788694558000,"timestamp_seconds":1788694558,"priority":1,"record_length":96,"hex_timestamp":"000001a07680f530"} 
[2026-09-06 17:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:09: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-09-06 17: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-06 17:09: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-09-06 17: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-09-06 17:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:09: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-09-06 17:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905729536001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905729536001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:09:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:09:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905729536001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":172659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:09:58] local.INFO: GPS data processed {"connection_id":172659,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:09:58] local.INFO: Acknowledgment sent {"connection_id":172659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:10:00] local.INFO: TCP Data received {"connection_id":172898,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:10:00] local.INFO: Processing buffer {"connection_id":172898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:10:00] local.INFO: IMEI packet received {"connection_id":172898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":172898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:10:02] local.INFO: TCP Data received {"connection_id":172898,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076839128012d7d0c0005c8b0f8000c000522..."} 
[2026-09-06 17:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076839128012d7d0c0005c8b0f8000c000522..."} 
[2026-09-06 17:10:02] local.INFO: Processing buffer {"connection_id":172898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076839128012d7d0c0005c8b0f8000c000522..."} 
[2026-09-06 17:10:02] local.INFO: Packet analysis {"connection_id":172898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07683"} 
[2026-09-06 17:10:02] local.INFO: Extracted packet for processing {"connection_id":172898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07683"} 
[2026-09-06 17:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763169792,"raw_latitude":97038584,"longitude_deg":76.3169792,"latitude_deg":9.7038584,"altitude":12,"angle":5,"satellites":34,"speed":8,"hex_longitude":"2d7d0c00","hex_latitude":"05c8b0f8","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905850368001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129113786433929216,"note":"Value kept but may cause issues"} 
[2026-09-06 17:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010506610559170560,"note":"Value kept but may cause issues"} 
[2026-09-06 17:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788694729000,"timestamp_ms":1788694729000,"timestamp_seconds":1788694729,"priority":1,"record_length":96,"hex_timestamp":"000001a076839128"} 
[2026-09-06 17:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-06 17:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905850368001,"66":13493,"199":206,"85":12288,"24":8,"16":129113786433929216,"45":9010506610559170560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 17:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905850368001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:10:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 17:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 17:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129113786433929216,"km_value":129113786433929.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010506610559170560,"description":"Unknown IO ID 45"} 
[2026-09-06 17:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905850368001,"power":13493,"trip_odometer":0.206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9010506610559170560}} 
[2026-09-06 17:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":172898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:10:02] local.INFO: GPS data processed {"connection_id":172898,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:10:02] local.INFO: Acknowledgment sent {"connection_id":172898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:10:03] local.INFO: TCP Data received {"connection_id":172659,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:10:03] local.INFO: Processing buffer {"connection_id":172659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:10:03] local.INFO: Packet analysis {"connection_id":172659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:10:03] local.INFO: Extracted packet for processing {"connection_id":172659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:10:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905729536001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:10: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-09-06 17:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788694558000,"timestamp_ms":1788694558000,"timestamp_seconds":1788694558,"priority":1,"record_length":96,"hex_timestamp":"000001a07680f530"} 
[2026-09-06 17:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:10: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-09-06 17:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-06 17:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905729536001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905729536001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:10:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:10:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905729536001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":172659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:10:03] local.INFO: GPS data processed {"connection_id":172659,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:10:03] local.INFO: Acknowledgment sent {"connection_id":172659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:10:33] local.INFO: TCP Data received {"connection_id":172898,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076839510012d7d0c0005c8b1e0000c015e21..."} 
[2026-09-06 17:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076839510012d7d0c0005c8b1e0000c015e21..."} 
[2026-09-06 17:10:33] local.INFO: Processing buffer {"connection_id":172898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076839510012d7d0c0005c8b1e0000c015e21..."} 
[2026-09-06 17:10:33] local.INFO: Packet analysis {"connection_id":172898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07683"} 
[2026-09-06 17:10:33] local.INFO: Extracted packet for processing {"connection_id":172898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07683"} 
[2026-09-06 17:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763169792,"raw_latitude":97038816,"longitude_deg":76.3169792,"latitude_deg":9.7038816,"altitude":12,"angle":350,"satellites":33,"speed":8,"hex_longitude":"2d7d0c00","hex_latitude":"05c8b1e0","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905850624001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129113795023863808,"note":"Value kept but may cause issues"} 
[2026-09-06 17:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010576979303397376,"note":"Value kept but may cause issues"} 
[2026-09-06 17:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788694730000,"timestamp_ms":1788694730000,"timestamp_seconds":1788694730,"priority":1,"record_length":96,"hex_timestamp":"000001a076839510"} 
[2026-09-06 17:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-06 17:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:10:33] 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-09-06 17:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905850624001,"66":13656,"199":206,"85":12288,"24":8,"16":129113795023863808,"45":9010576979303397376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-06 17:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905850624001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:10:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-06 17:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-06 17:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129113795023863808,"km_value":129113795023863.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010576979303397376,"description":"Unknown IO ID 45"} 
[2026-09-06 17:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905850624001,"power":13656,"trip_odometer":0.206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9010576979303397376}} 
[2026-09-06 17:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":172898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:10:33] local.INFO: GPS data processed {"connection_id":172898,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:10:33] local.INFO: Acknowledgment sent {"connection_id":172898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:10:47] local.INFO: TCP Data received {"connection_id":172899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:10:47] local.INFO: Processing buffer {"connection_id":172899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:10:47] local.INFO: IMEI packet received {"connection_id":172899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":172899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:10:52] local.INFO: TCP Data received {"connection_id":172899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:10:52] local.INFO: Processing buffer {"connection_id":172899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:10:52] local.INFO: IMEI packet received {"connection_id":172899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":172899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:10:54] local.INFO: TCP Data received {"connection_id":172899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:10:54] local.INFO: Processing buffer {"connection_id":172899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07680f530012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:10:54] local.INFO: Packet analysis {"connection_id":172899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:10:54] local.INFO: Extracted packet for processing {"connection_id":172899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07680"} 
[2026-09-06 17:10:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 17:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905729536001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 17:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788694558000,"timestamp_ms":1788694558000,"timestamp_seconds":1788694558,"priority":1,"record_length":96,"hex_timestamp":"000001a07680f530"} 
[2026-09-06 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-09-06 17:10: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-09-06 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":205,"data_length":795,"current_offset":136} 
[2026-09-06 17:10: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-09-06 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-09-06 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-09-06 17:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:10: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-09-06 17:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905729536001,"66":25604,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905729536001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:10:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:10:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905729536001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":172899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:10:54] local.INFO: GPS data processed {"connection_id":172899,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:10:54] local.INFO: Acknowledgment sent {"connection_id":172899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:10:59] local.INFO: TCP Data received {"connection_id":175391,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:10:59] local.INFO: Processing buffer {"connection_id":175391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:10:59] local.INFO: IMEI packet received {"connection_id":175391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":175391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:11:00] local.INFO: TCP Data received {"connection_id":175391,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:11:00] local.INFO: Processing buffer {"connection_id":175391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:11:00] local.INFO: IMEI packet received {"connection_id":175391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":175391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:11:05] local.INFO: TCP Data received {"connection_id":175391,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:11:05] local.INFO: Processing buffer {"connection_id":175391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:11:05] local.INFO: IMEI packet received {"connection_id":175391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":175391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:11:06] local.INFO: TCP Data received {"connection_id":175391,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0768517c8012d7d180005ca49d80007000622..."} 
[2026-09-06 17:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768517c8012d7d180005ca49d80007000622..."} 
[2026-09-06 17:11:06] local.INFO: Processing buffer {"connection_id":175391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768517c8012d7d180005ca49d80007000622..."} 
[2026-09-06 17:11:06] local.INFO: Packet analysis {"connection_id":175391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:11:06] local.INFO: Extracted packet for processing {"connection_id":175391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763172864,"raw_latitude":97143256,"longitude_deg":76.3172864,"latitude_deg":9.7143256,"altitude":7,"angle":6,"satellites":34,"speed":53,"hex_longitude":"2d7d1800","hex_latitude":"05ca49d8","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905874432001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129118875970174976,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012828779141482496,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788694829000,"timestamp_ms":1788694829000,"timestamp_seconds":1788694829,"priority":1,"record_length":96,"hex_timestamp":"000001a0768517c8"} 
[2026-09-06 17:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:11: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-09-06 17: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":7,"data_length":795,"current_offset":136} 
[2026-09-06 17:11:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:06] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2223968257,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:06] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2060396876790112256,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":3221604709,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:06] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827496,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:06] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3489738109,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:06] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3059220480,"corrected_to":0} 
[2026-09-06 17:11:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3376435200,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:06] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57887968660968752,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:06] local.WARNING: Large IO value detected {"io_id":132,"raw_value":738591633771577349,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:06] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,131,85,24,241,157,16,184,160,225,45,128,255,9,33,10,66,205,197,192,216,32,183,170,1,240,91,227,118,201,4,113,52,111,34,239,2,202,5,11,37,133,132],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":202,"original":3059220480,"validated":0}]} 
[2026-09-06 17:11:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576467495405551616,"timestamp_seconds":576467495405551.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 17:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905874432001,"66":13656,"131":206,"85":15104,"24":53,"16":129118875970174976,"45":9012828779141482496},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-06 17:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905874432001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:11:06] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-06 17:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129118875970174976,"km_value":129118875970174.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012828779141482496,"description":"Unknown IO ID 45"} 
[2026-09-06 17:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905874432001,"power":13656,"unknown_131":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9012828779141482496}} 
[2026-09-06 17:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":175391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:11:06] local.INFO: GPS data processed {"connection_id":175391,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:11:06] local.INFO: Acknowledgment sent {"connection_id":175391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:11:25] local.INFO: TCP Data received {"connection_id":172899,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:11:25] local.INFO: Processing buffer {"connection_id":172899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:11:25] local.INFO: Packet analysis {"connection_id":172899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:11:25] local.INFO: Extracted packet for processing {"connection_id":172899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:11:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905806848001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788694858000,"timestamp_ms":1788694858000,"timestamp_seconds":1788694858,"priority":1,"record_length":96,"hex_timestamp":"000001a076858910"} 
[2026-09-06 17:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:11: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-09-06 17:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 17:11: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-09-06 17: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-09-06 17:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:11: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-09-06 17:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905806848001,"66":25702,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905806848001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:11:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:11:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905806848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":172899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:11:25] local.INFO: GPS data processed {"connection_id":172899,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:11:25] local.INFO: Acknowledgment sent {"connection_id":172899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:11:37] local.INFO: TCP Data received {"connection_id":175391,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076853320012d7d1b8005ca6e900006000622..."} 
[2026-09-06 17:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076853320012d7d1b8005ca6e900006000622..."} 
[2026-09-06 17:11:37] local.INFO: Processing buffer {"connection_id":175391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076853320012d7d1b8005ca6e900006000622..."} 
[2026-09-06 17:11:37] local.INFO: Packet analysis {"connection_id":175391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:11:37] local.INFO: Extracted packet for processing {"connection_id":175391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763173760,"raw_latitude":97152656,"longitude_deg":76.317376,"latitude_deg":9.7152656,"altitude":6,"angle":6,"satellites":34,"speed":54,"hex_longitude":"2d7d1b80","hex_latitude":"05ca6e90","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905876224001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129119331236708352,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013954679050721280,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788694836000,"timestamp_ms":1788694836000,"timestamp_seconds":1788694836,"priority":1,"record_length":96,"hex_timestamp":"000001a076853320"} 
[2026-09-06 17:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:11: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-09-06 17: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-06 17:11:37] 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-09-06 17: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-09-06 17:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:11: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-09-06 17:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905876224001,"66":13341,"131":206,"85":15104,"24":54,"16":129119331236708352,"45":9013954679050721280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-06 17:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905876224001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:11:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-06 17:11:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129119331236708352,"km_value":129119331236708.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013954679050721280,"description":"Unknown IO ID 45"} 
[2026-09-06 17:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905876224001,"power":13341,"unknown_131":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9013954679050721280}} 
[2026-09-06 17:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":175391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:11:37] local.INFO: GPS data processed {"connection_id":175391,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:11:37] local.INFO: Acknowledgment sent {"connection_id":175391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:11:47] local.INFO: TCP Data received {"connection_id":172660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:11:47] local.INFO: Processing buffer {"connection_id":172660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:11:47] local.INFO: IMEI packet received {"connection_id":172660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":172660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:11:52] local.INFO: TCP Data received {"connection_id":172660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:11:52] local.INFO: Processing buffer {"connection_id":172660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:11:52] local.INFO: IMEI packet received {"connection_id":172660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":172660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:11:53] local.INFO: TCP Data received {"connection_id":172660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:11:53] local.INFO: Processing buffer {"connection_id":172660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:11:53] local.INFO: Packet analysis {"connection_id":172660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:11:53] local.INFO: Extracted packet for processing {"connection_id":172660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:11:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905806848001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788694858000,"timestamp_ms":1788694858000,"timestamp_seconds":1788694858,"priority":1,"record_length":96,"hex_timestamp":"000001a076858910"} 
[2026-09-06 17:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:11: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-09-06 17: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 17:11: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-09-06 17: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-09-06 17:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:11: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-09-06 17:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905806848001,"66":25702,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905806848001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:11:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:11:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905806848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":172660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:11:53] local.INFO: GPS data processed {"connection_id":172660,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:11:53] local.INFO: Acknowledgment sent {"connection_id":172660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:11:53] local.INFO: TCP Data received {"connection_id":172662,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:11:53] local.INFO: Processing buffer {"connection_id":172662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:11:53] local.INFO: IMEI packet received {"connection_id":172662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":172662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:11:54] local.INFO: TCP Data received {"connection_id":172661,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:11:54] local.INFO: Processing buffer {"connection_id":172661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:11:54] local.INFO: IMEI packet received {"connection_id":172661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 17:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":172661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:11:55] local.INFO: TCP Data received {"connection_id":172662,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:11:55] local.INFO: Processing buffer {"connection_id":172662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:11:55] local.INFO: IMEI packet received {"connection_id":172662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":172662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:12:00] local.INFO: TCP Data received {"connection_id":172662,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:12:00] local.INFO: Processing buffer {"connection_id":172662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:12:00] local.INFO: IMEI packet received {"connection_id":172662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":172662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:12:01] local.INFO: TCP Data received {"connection_id":172662,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076854e78012d7d1f4005ca94400005000522..."} 
[2026-09-06 17:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076854e78012d7d1f4005ca94400005000522..."} 
[2026-09-06 17:12:01] local.INFO: Processing buffer {"connection_id":172662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076854e78012d7d1f4005ca94400005000522..."} 
[2026-09-06 17:12:01] local.INFO: Packet analysis {"connection_id":172662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:12:01] local.INFO: Extracted packet for processing {"connection_id":172662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:12:01] local.INFO: GPS Element Parsed {"raw_longitude":763174720,"raw_latitude":97162304,"longitude_deg":76.317472,"latitude_deg":9.7162304,"altitude":5,"angle":5,"satellites":34,"speed":56,"hex_longitude":"2d7d1f40","hex_latitude":"05ca9440","is_valid_coordinates":true} 
[2026-09-06 17:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905878016001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129119803683110912,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014939841471614976,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788694843000,"timestamp_ms":1788694843000,"timestamp_seconds":1788694843,"priority":1,"record_length":96,"hex_timestamp":"000001a076854e78"} 
[2026-09-06 17:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-06 17:12:01] 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-09-06 17:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:12: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-09-06 17:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905878016001,"66":13613,"131":206,"85":15104,"24":56,"16":129119803683110912,"45":9014939841471614976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-06 17:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905878016001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:12:01] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-06 17:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129119803683110912,"km_value":129119803683110.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014939841471614976,"description":"Unknown IO ID 45"} 
[2026-09-06 17:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905878016001,"power":13613,"unknown_131":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9014939841471614976}} 
[2026-09-06 17:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":172662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:12:01] local.INFO: GPS data processed {"connection_id":172662,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:12:01] local.INFO: Acknowledgment sent {"connection_id":172662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:12:24] local.INFO: TCP Data received {"connection_id":172660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:12:24] local.INFO: Processing buffer {"connection_id":172660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:12:24] local.INFO: Packet analysis {"connection_id":172660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:12:24] local.INFO: Extracted packet for processing {"connection_id":172660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905806848001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788694858000,"timestamp_ms":1788694858000,"timestamp_seconds":1788694858,"priority":1,"record_length":96,"hex_timestamp":"000001a076858910"} 
[2026-09-06 17:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:12: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-09-06 17:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905806848001,"66":25702,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905806848001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:12:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905806848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":172660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:12:24] local.INFO: GPS data processed {"connection_id":172660,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:12:24] local.INFO: Acknowledgment sent {"connection_id":172660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:12:32] local.INFO: TCP Data received {"connection_id":172662,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076869698012d7d47c005cc27480007000922..."} 
[2026-09-06 17:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076869698012d7d47c005cc27480007000922..."} 
[2026-09-06 17:12:32] local.INFO: Processing buffer {"connection_id":172662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076869698012d7d47c005cc27480007000922..."} 
[2026-09-06 17:12:32] local.INFO: Packet analysis {"connection_id":172662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07686"} 
[2026-09-06 17:12:32] local.INFO: Extracted packet for processing {"connection_id":172662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07686"} 
[2026-09-06 17:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763185088,"raw_latitude":97265480,"longitude_deg":76.3185088,"latitude_deg":9.726548,"altitude":7,"angle":9,"satellites":34,"speed":50,"hex_longitude":"2d7d47c0","hex_latitude":"05cc2748","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905899264001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129124833089814528,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565521868849152,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788694927000,"timestamp_ms":1788694927000,"timestamp_seconds":1788694927,"priority":1,"record_length":96,"hex_timestamp":"000001a076869698"} 
[2026-09-06 17:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:12: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-09-06 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-06 17:12:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:32] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:32] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2247520257,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:32] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":195906609560625664,"corrected_to":0} 
[2026-09-06 17:12:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894266574,"corrected_to":0} 
[2026-09-06 17:12:32] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57892048879899963,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3221605196,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:32] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3151822848,"corrected_to":0} 
[2026-09-06 17:12:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3408523264,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:32] local.WARNING: Large IO value detected {"io_id":133,"raw_value":-6881498935737171963,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:32] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,130,85,24,241,157,16,189,160,88,45,221,11,34,10,66,131,52,128,187,12,21,192,1,240,84,227,188,118,203,4,113,205,51,219,44,239,2,202,5,7,49,133],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":203,"original":195906609560625664,"validated":0},{"io_id":205,"original":2894266574,"validated":0},{"io_id":202,"original":3151822848,"validated":0}]} 
[2026-09-06 17:12:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792645775077081088,"timestamp_seconds":792645775077081.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 17:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:12:32] 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-09-06 17:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905899264001,"66":13319,"130":206,"85":15104,"24":50,"16":129124833089814528,"45":9025565521868849152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-09-06 17:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905899264001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:12:32] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-06 17:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129124833089814528,"km_value":129124833089814.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565521868849152,"description":"Unknown IO ID 45"} 
[2026-09-06 17:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905899264001,"power":13319,"unknown_130":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9025565521868849152}} 
[2026-09-06 17:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":172662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:12:32] local.INFO: GPS data processed {"connection_id":172662,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:12:32] local.INFO: Acknowledgment sent {"connection_id":172662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:12:47] local.INFO: TCP Data received {"connection_id":175392,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:12:47] local.INFO: Processing buffer {"connection_id":175392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:12:47] local.INFO: IMEI packet received {"connection_id":175392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":175392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:12:52] local.INFO: TCP Data received {"connection_id":175392,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:12:52] local.INFO: Processing buffer {"connection_id":175392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:12:52] local.INFO: IMEI packet received {"connection_id":175392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":175392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:12:53] local.INFO: TCP Data received {"connection_id":172901,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:12:53] local.INFO: Processing buffer {"connection_id":172901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:12:53] local.INFO: IMEI packet received {"connection_id":172901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":172901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:12:53] local.INFO: TCP Data received {"connection_id":175392,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:12:53] local.INFO: Processing buffer {"connection_id":175392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:12:53] local.INFO: Packet analysis {"connection_id":175392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:12:53] local.INFO: Extracted packet for processing {"connection_id":175392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:12:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905806848001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788694858000,"timestamp_ms":1788694858000,"timestamp_seconds":1788694858,"priority":1,"record_length":96,"hex_timestamp":"000001a076858910"} 
[2026-09-06 17:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:12: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-09-06 17: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":4,"data_length":795,"current_offset":136} 
[2026-09-06 17:12: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-09-06 17: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-09-06 17:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:12: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-09-06 17:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905806848001,"66":25702,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905806848001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:12:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:12:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905806848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":175392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:12:53] local.INFO: GPS data processed {"connection_id":175392,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:12:53] local.INFO: Acknowledgment sent {"connection_id":175392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:12:55] local.INFO: TCP Data received {"connection_id":172901,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:12:55] local.INFO: Processing buffer {"connection_id":172901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:12:55] local.INFO: IMEI packet received {"connection_id":172901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":172901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:13:00] local.INFO: TCP Data received {"connection_id":172901,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:13:00] local.INFO: Processing buffer {"connection_id":172901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:13:00] local.INFO: IMEI packet received {"connection_id":172901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":172901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:13:01] local.INFO: TCP Data received {"connection_id":172901,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07686b5d8012d7d4e4005cc4e380005000722..."} 
[2026-09-06 17:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07686b5d8012d7d4e4005cc4e380005000722..."} 
[2026-09-06 17:13:01] local.INFO: Processing buffer {"connection_id":172901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07686b5d8012d7d4e4005cc4e380005000722..."} 
[2026-09-06 17:13:01] local.INFO: Packet analysis {"connection_id":172901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07686"} 
[2026-09-06 17:13:01] local.INFO: Extracted packet for processing {"connection_id":172901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07686"} 
[2026-09-06 17:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763186752,"raw_latitude":97275448,"longitude_deg":76.3186752,"latitude_deg":9.7275448,"altitude":5,"angle":7,"satellites":34,"speed":49,"hex_longitude":"2d7d4e40","hex_latitude":"05cc4e38","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905901312001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129125322716086272,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027395109219944448,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788694935000,"timestamp_ms":1788694935000,"timestamp_seconds":1788694935,"priority":1,"record_length":96,"hex_timestamp":"000001a07686b5d8"} 
[2026-09-06 17:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-06 17:13:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:01] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2249568257,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:01] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3021915380030578944,"corrected_to":0} 
[2026-09-06 17:13:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894266574,"corrected_to":0} 
[2026-09-06 17:13:01] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1879125373,"corrected_to":0} 
[2026-09-06 17:13:01] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3221605232,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:01] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3158638592,"corrected_to":0} 
[2026-09-06 17:13:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3410804736,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:01] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57892048879899963,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:01] local.WARNING: Large IO value detected {"io_id":133,"raw_value":-4629699122051760123,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:01] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,130,85,24,241,157,16,190,160,119,45,64,1,11,34,10,66,189,88,221,131,52,128,240,187,227,118,203,4,113,205,49,246,46,144,239,2,202,5,6,7,133],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":203,"original":3021915380030578944,"validated":0},{"io_id":205,"original":2894266574,"validated":0},{"io_id":246,"original":1879125373,"validated":0},{"io_id":202,"original":3158638592,"validated":0}]} 
[2026-09-06 17:13:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504413199902310400,"timestamp_seconds":504413199902310.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 17:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:13: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-09-06 17:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905901312001,"66":13580,"130":206,"85":15104,"24":49,"16":129125322716086272,"45":9027395109219944448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-09-06 17:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905901312001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:13:01] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-06 17:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129125322716086272,"km_value":129125322716086.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027395109219944448,"description":"Unknown IO ID 45"} 
[2026-09-06 17:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905901312001,"power":13580,"unknown_130":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9027395109219944448}} 
[2026-09-06 17:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":172901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:13:01] local.INFO: GPS data processed {"connection_id":172901,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:13:01] local.INFO: Acknowledgment sent {"connection_id":172901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:13:26] local.INFO: TCP Data received {"connection_id":175392,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:13:26] local.INFO: Processing buffer {"connection_id":175392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:13:26] local.INFO: Packet analysis {"connection_id":175392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:13:26] local.INFO: Extracted packet for processing {"connection_id":175392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:13:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905806848001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788694858000,"timestamp_ms":1788694858000,"timestamp_seconds":1788694858,"priority":1,"record_length":96,"hex_timestamp":"000001a076858910"} 
[2026-09-06 17:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:13: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-09-06 17: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 17:13: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-09-06 17: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-09-06 17:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:13: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-09-06 17:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905806848001,"66":25702,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905806848001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:13:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:13:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905806848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":175392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:13:26] local.INFO: GPS data processed {"connection_id":175392,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:13:26] local.INFO: Acknowledgment sent {"connection_id":175392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:13:32] local.INFO: TCP Data received {"connection_id":172901,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07686d518012d7d528005cc75200005000522..."} 
[2026-09-06 17:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07686d518012d7d528005cc75200005000522..."} 
[2026-09-06 17:13:32] local.INFO: Processing buffer {"connection_id":172901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07686d518012d7d528005cc75200005000522..."} 
[2026-09-06 17:13:32] local.INFO: Packet analysis {"connection_id":172901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07686"} 
[2026-09-06 17:13:32] local.INFO: Extracted packet for processing {"connection_id":172901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07686"} 
[2026-09-06 17:13:32] local.INFO: GPS Element Parsed {"raw_longitude":763187840,"raw_latitude":97285408,"longitude_deg":76.318784,"latitude_deg":9.7285408,"altitude":5,"angle":5,"satellites":34,"speed":50,"hex_longitude":"2d7d5280","hex_latitude":"05cc7520","is_valid_coordinates":true} 
[2026-09-06 17:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905903360001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129125808047390720,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029224696571115520,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788694943000,"timestamp_ms":1788694943000,"timestamp_seconds":1788694943,"priority":1,"record_length":96,"hex_timestamp":"000001a07686d518"} 
[2026-09-06 17:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 17:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631035,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3838116916124188672,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:32] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2164260864,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:32] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2251616257,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:32] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3139960844,"corrected_to":0} 
[2026-09-06 17:13:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275794051,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894266574,"corrected_to":0} 
[2026-09-06 17:13:32] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2952867197,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:32] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3221605271,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:32] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629299081432661,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:32] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:32] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3166109696,"corrected_to":0} 
[2026-09-06 17:13:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3413151744,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:32] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3224583703921426438,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:32] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755622779486449,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:32] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,130,85,24,241,157,16,190,160,150,45,192,39,7,34,10,66,119,64,1,11,189,88,240,215,227,118,203,4,113,205,21,49,208,239,52,131,2,202,5,8,51,125,59],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":203,"original":3139960844,"validated":0},{"io_id":205,"original":2894266574,"validated":0},{"io_id":202,"original":3166109696,"validated":0}]} 
[2026-09-06 17:13:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360295812803133440,"timestamp_seconds":360295812803133.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 17:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:13:32] 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-09-06 17:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905903360001,"66":13363,"130":206,"85":15104,"24":50,"16":129125808047390720,"45":9029224696571115520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-09-06 17:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905903360001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:13:32] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-06 17:13:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129125808047390720,"km_value":129125808047390.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029224696571115520,"description":"Unknown IO ID 45"} 
[2026-09-06 17:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905903360001,"power":13363,"unknown_130":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9029224696571115520}} 
[2026-09-06 17:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":172901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:13:32] local.INFO: GPS data processed {"connection_id":172901,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:13:32] local.INFO: Acknowledgment sent {"connection_id":172901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:13:47] local.INFO: TCP Data received {"connection_id":175393,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:13:47] local.INFO: Processing buffer {"connection_id":175393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:13:47] local.INFO: IMEI packet received {"connection_id":175393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":175393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:13:52] local.INFO: TCP Data received {"connection_id":175393,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:13:52] local.INFO: Processing buffer {"connection_id":175393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:13:52] local.INFO: IMEI packet received {"connection_id":175393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":175393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:13:53] local.INFO: TCP Data received {"connection_id":175393,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:13:53] local.INFO: Processing buffer {"connection_id":175393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:13:53] local.INFO: Packet analysis {"connection_id":175393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:13:53] local.INFO: Extracted packet for processing {"connection_id":175393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905806848001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788694858000,"timestamp_ms":1788694858000,"timestamp_seconds":1788694858,"priority":1,"record_length":96,"hex_timestamp":"000001a076858910"} 
[2026-09-06 17:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":4,"data_length":795,"current_offset":136} 
[2026-09-06 17:13: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-09-06 17: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-09-06 17:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:13: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-09-06 17:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905806848001,"66":25702,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905806848001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905806848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":175393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:13:53] local.INFO: GPS data processed {"connection_id":175393,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:13:53] local.INFO: Acknowledgment sent {"connection_id":175393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:13:55] local.INFO: TCP Data received {"connection_id":175394,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:13:55] local.INFO: Processing buffer {"connection_id":175394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:13:55] local.INFO: IMEI packet received {"connection_id":175394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":175394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:14:00] local.INFO: TCP Data received {"connection_id":175394,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:14:00] local.INFO: Processing buffer {"connection_id":175394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:14:00] local.INFO: IMEI packet received {"connection_id":175394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":175394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:14:01] local.INFO: TCP Data received {"connection_id":175394,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0768805c8012d7d400005ce0a780007000322..."} 
[2026-09-06 17:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768805c8012d7d400005ce0a780007000322..."} 
[2026-09-06 17:14:01] local.INFO: Processing buffer {"connection_id":175394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768805c8012d7d400005ce0a780007000322..."} 
[2026-09-06 17:14:01] local.INFO: Packet analysis {"connection_id":175394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07688"} 
[2026-09-06 17:14:01] local.INFO: Extracted packet for processing {"connection_id":175394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07688"} 
[2026-09-06 17:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763183104,"raw_latitude":97389176,"longitude_deg":76.3183104,"latitude_deg":9.7389176,"altitude":7,"angle":3,"satellites":34,"speed":38,"hex_longitude":"2d7d4000","hex_latitude":"05ce0a78","is_valid_coordinates":true} 
[2026-09-06 17:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905923328001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129130854633963520,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834458804224,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788695021000,"timestamp_ms":1788695021000,"timestamp_seconds":1788695021,"priority":1,"record_length":96,"hex_timestamp":"000001a0768805c8"} 
[2026-09-06 17:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 17:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631040,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:01] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":12289,"corrected_to":0} 
[2026-09-06 17:14:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3439779840,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:01] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275794049,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7215329780634222602,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:01] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2272864257,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894135502,"corrected_to":0} 
[2026-09-06 17:14:01] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2450184338071932501,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:01] local.WARNING: Large IO value detected {"io_id":93,"raw_value":3489738109,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:01] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3221605675,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:01] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:01] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3243048960,"corrected_to":0} 
[2026-09-06 17:14:01] local.WARNING: Large IO value detected {"io_id":125,"raw_value":5908729088640024583,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:01] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755627074453745,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:01] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,129,85,24,241,157,16,195,160,203,45,192,5,34,10,66,194,175,64,154,4,148,1,240,231,227,118,205,113,53,93,76,40,239,51,2,202,8,125,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":203,"original":12289,"validated":0},{"io_id":205,"original":2894135502,"validated":0},{"io_id":202,"original":3243048960,"validated":0}]} 
[2026-09-06 17:14:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432345710259666944,"timestamp_seconds":432345710259666.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 17:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:14: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-09-06 17:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905923328001,"66":13102,"235":206,"85":15104,"24":38,"16":129130854633963520,"45":9024861834458804224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-06 17:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905923328001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:14:01] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-06 17:14:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129130854633963520,"km_value":129130854633963.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834458804224,"description":"Unknown IO ID 45"} 
[2026-09-06 17:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905923328001,"power":13102,"unknown_235":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9024861834458804224}} 
[2026-09-06 17:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":175394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:14:01] local.INFO: GPS data processed {"connection_id":175394,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:14:01] local.INFO: Acknowledgment sent {"connection_id":175394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:14:25] local.INFO: TCP Data received {"connection_id":175393,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:14:25] local.INFO: Processing buffer {"connection_id":175393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:14:25] local.INFO: Packet analysis {"connection_id":175393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:14:25] local.INFO: Extracted packet for processing {"connection_id":175393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:14:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905806848001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14: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-09-06 17:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788694858000,"timestamp_ms":1788694858000,"timestamp_seconds":1788694858,"priority":1,"record_length":96,"hex_timestamp":"000001a076858910"} 
[2026-09-06 17:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:14: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-09-06 17:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 17:14: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-09-06 17: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-09-06 17:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:14: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-09-06 17:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905806848001,"66":25702,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905806848001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:14:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:14:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905806848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":175393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:14:25] local.INFO: GPS data processed {"connection_id":175393,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:14:25] local.INFO: Acknowledgment sent {"connection_id":175393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:14:32] local.INFO: TCP Data received {"connection_id":175394,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076882cd8012d7d428005ce31500006000422..."} 
[2026-09-06 17:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076882cd8012d7d428005ce31500006000422..."} 
[2026-09-06 17:14:32] local.INFO: Processing buffer {"connection_id":175394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076882cd8012d7d428005ce31500006000422..."} 
[2026-09-06 17:14:32] local.INFO: Packet analysis {"connection_id":175394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07688"} 
[2026-09-06 17:14:32] local.INFO: Extracted packet for processing {"connection_id":175394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07688"} 
[2026-09-06 17:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":97399120,"longitude_deg":76.3183744,"latitude_deg":9.739912,"altitude":6,"angle":4,"satellites":34,"speed":47,"hex_longitude":"2d7d4280","hex_latitude":"05ce3150","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905925376001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129131335670300672,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025213678182103040,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788695031000,"timestamp_ms":1788695031000,"timestamp_seconds":1788695031,"priority":1,"record_length":96,"hex_timestamp":"000001a076882cd8"} 
[2026-09-06 17:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:14: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-09-06 17: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 17:14: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-09-06 17: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-09-06 17:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:14:32] 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-09-06 17:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905925376001,"66":13559,"235":206,"85":15104,"24":47,"16":129131335670300672,"45":9025213678182103040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-06 17:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905925376001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:14:32] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-06 17:14:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129131335670300672,"km_value":129131335670300.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025213678182103040,"description":"Unknown IO ID 45"} 
[2026-09-06 17:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905925376001,"power":13559,"unknown_235":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9025213678182103040}} 
[2026-09-06 17:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":175394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:14:32] local.INFO: GPS data processed {"connection_id":175394,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:14:32] local.INFO: Acknowledgment sent {"connection_id":175394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:14:47] local.INFO: TCP Data received {"connection_id":175395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:14:47] local.INFO: Processing buffer {"connection_id":175395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:14:47] local.INFO: IMEI packet received {"connection_id":175395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":175395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:14:52] local.INFO: TCP Data received {"connection_id":175395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:14:52] local.INFO: Processing buffer {"connection_id":175395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:14:52] local.INFO: IMEI packet received {"connection_id":175395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":175395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:14:53] local.INFO: TCP Data received {"connection_id":175395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:14:53] local.INFO: Processing buffer {"connection_id":175395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:14:53] local.INFO: Packet analysis {"connection_id":175395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:14:53] local.INFO: Extracted packet for processing {"connection_id":175395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:14:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905806848001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788694858000,"timestamp_ms":1788694858000,"timestamp_seconds":1788694858,"priority":1,"record_length":96,"hex_timestamp":"000001a076858910"} 
[2026-09-06 17:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 17: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-09-06 17: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-09-06 17:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:14: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-09-06 17:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905806848001,"66":25702,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905806848001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:14:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905806848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":175395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:14:53] local.INFO: GPS data processed {"connection_id":175395,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:14:53] local.INFO: Acknowledgment sent {"connection_id":175395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:14:54] local.INFO: TCP Data received {"connection_id":172902,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:14:54] local.INFO: Processing buffer {"connection_id":172902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:14:54] local.INFO: IMEI packet received {"connection_id":172902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":172902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:14:55] local.INFO: TCP Data received {"connection_id":172902,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:14:55] local.INFO: Processing buffer {"connection_id":172902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:14:55] local.INFO: IMEI packet received {"connection_id":172902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":172902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:15:00] local.INFO: TCP Data received {"connection_id":172902,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:15:00] local.INFO: Processing buffer {"connection_id":172902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:15:00] local.INFO: IMEI packet received {"connection_id":172902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":172902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:15:00] local.INFO: TCP Data received {"connection_id":172902,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076884830012d7d450005ce55c80005000422..."} 
[2026-09-06 17:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076884830012d7d450005ce55c80005000422..."} 
[2026-09-06 17:15:00] local.INFO: Processing buffer {"connection_id":172902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076884830012d7d450005ce55c80005000422..."} 
[2026-09-06 17:15:00] local.INFO: Packet analysis {"connection_id":172902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07688"} 
[2026-09-06 17:15:00] local.INFO: Extracted packet for processing {"connection_id":172902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07688"} 
[2026-09-06 17:15:00] local.INFO: GPS Element Parsed {"raw_longitude":763184384,"raw_latitude":97408456,"longitude_deg":76.3184384,"latitude_deg":9.7408456,"altitude":5,"angle":4,"satellites":34,"speed":57,"hex_longitude":"2d7d4500","hex_latitude":"05ce55c8","is_valid_coordinates":true} 
[2026-09-06 17:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905927936001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129131790936834048,"note":"Value kept but may cause issues"} 
[2026-09-06 17:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917365626425344,"note":"Value kept but may cause issues"} 
[2026-09-06 17:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788695038000,"timestamp_ms":1788695038000,"timestamp_seconds":1788695038,"priority":1,"record_length":96,"hex_timestamp":"000001a076884830"} 
[2026-09-06 17:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-06 17:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:15:00] 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-09-06 17:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905927936001,"66":13450,"235":206,"85":15104,"24":57,"16":129131790936834048,"45":9025917365626425344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-06 17:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905927936001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:15:00] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-06 17:15:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129131790936834048,"km_value":129131790936834.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917365626425344,"description":"Unknown IO ID 45"} 
[2026-09-06 17:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905927936001,"power":13450,"unknown_235":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9025917365626425344}} 
[2026-09-06 17:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":172902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:15:00] local.INFO: GPS data processed {"connection_id":172902,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:15:00] local.INFO: Acknowledgment sent {"connection_id":172902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:15:24] local.INFO: TCP Data received {"connection_id":175395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:15:24] local.INFO: Processing buffer {"connection_id":175395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:15:24] local.INFO: Packet analysis {"connection_id":175395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:15:24] local.INFO: Extracted packet for processing {"connection_id":175395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905806848001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788694858000,"timestamp_ms":1788694858000,"timestamp_seconds":1788694858,"priority":1,"record_length":96,"hex_timestamp":"000001a076858910"} 
[2026-09-06 17:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":4,"data_length":795,"current_offset":136} 
[2026-09-06 17:15: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-09-06 17: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-09-06 17:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:15: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-09-06 17:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905806848001,"66":25702,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905806848001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:15:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905806848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":175395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:15:24] local.INFO: GPS data processed {"connection_id":175395,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:15:24] local.INFO: Acknowledgment sent {"connection_id":175395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:15:31] local.INFO: TCP Data received {"connection_id":172902,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076885fa0012d7d470005ce78d00007000422..."} 
[2026-09-06 17:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076885fa0012d7d470005ce78d00007000422..."} 
[2026-09-06 17:15:31] local.INFO: Processing buffer {"connection_id":172902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076885fa0012d7d470005ce78d00007000422..."} 
[2026-09-06 17:15:31] local.INFO: Packet analysis {"connection_id":172902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07688"} 
[2026-09-06 17:15:31] local.INFO: Extracted packet for processing {"connection_id":172902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07688"} 
[2026-09-06 17:15:31] local.INFO: GPS Element Parsed {"raw_longitude":763184896,"raw_latitude":97417424,"longitude_deg":76.3184896,"latitude_deg":9.7417424,"altitude":7,"angle":4,"satellites":34,"speed":61,"hex_longitude":"2d7d4700","hex_latitude":"05ce78d0","is_valid_coordinates":true} 
[2026-09-06 17:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905929728001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129132224728530944,"note":"Value kept but may cause issues"} 
[2026-09-06 17:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026621053070592000,"note":"Value kept but may cause issues"} 
[2026-09-06 17:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788695044000,"timestamp_ms":1788695044000,"timestamp_seconds":1788695044,"priority":1,"record_length":96,"hex_timestamp":"000001a076885fa0"} 
[2026-09-06 17:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-06 17:15:31] 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-09-06 17:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:15:31] 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-09-06 17:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905929728001,"66":13135,"235":206,"85":15104,"24":61,"16":129132224728530944,"45":9026621053070592000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-06 17:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905929728001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:15:31] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-06 17:15:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129132224728530944,"km_value":129132224728530.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026621053070592000,"description":"Unknown IO ID 45"} 
[2026-09-06 17:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905929728001,"power":13135,"unknown_235":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":9026621053070592000}} 
[2026-09-06 17:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":172902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:15:31] local.INFO: GPS data processed {"connection_id":172902,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:15:31] local.INFO: Acknowledgment sent {"connection_id":172902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:15:47] local.INFO: TCP Data received {"connection_id":175396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:15:47] local.INFO: Processing buffer {"connection_id":175396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:15:47] local.INFO: IMEI packet received {"connection_id":175396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":175396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:15:52] local.INFO: TCP Data received {"connection_id":175396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:15:52] local.INFO: Processing buffer {"connection_id":175396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:15:52] local.INFO: IMEI packet received {"connection_id":175396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":175396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:15:54] local.INFO: TCP Data received {"connection_id":175396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:15:54] local.INFO: Processing buffer {"connection_id":175396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076858910012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:15:54] local.INFO: Packet analysis {"connection_id":175396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:15:54] local.INFO: Extracted packet for processing {"connection_id":175396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07685"} 
[2026-09-06 17:15:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905806848001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788694858000,"timestamp_ms":1788694858000,"timestamp_seconds":1788694858,"priority":1,"record_length":96,"hex_timestamp":"000001a076858910"} 
[2026-09-06 17:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:15: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-09-06 17: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":4,"data_length":795,"current_offset":136} 
[2026-09-06 17:15:54] 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-09-06 17: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-09-06 17:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17: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-09-06 17:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905806848001,"66":25702,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905806848001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:15:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:15:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905806848001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":175396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:15:54] local.INFO: GPS data processed {"connection_id":175396,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:15:54] local.INFO: Acknowledgment sent {"connection_id":175396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:15:55] local.INFO: TCP Data received {"connection_id":172664,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:15:55] local.INFO: Processing buffer {"connection_id":172664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:15:55] local.INFO: IMEI packet received {"connection_id":172664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":172664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:15:58] local.INFO: TCP Data received {"connection_id":172664,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:15:58] local.INFO: Processing buffer {"connection_id":172664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:15:58] local.INFO: IMEI packet received {"connection_id":172664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":172664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:16:00] local.INFO: TCP Data received {"connection_id":172664,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:16:00] local.INFO: Processing buffer {"connection_id":172664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:16:00] local.INFO: IMEI packet received {"connection_id":172664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":172664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:16:00] local.INFO: TCP Data received {"connection_id":172664,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076899050012d7d490005d00b200007016622..."} 
[2026-09-06 17:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076899050012d7d490005d00b200007016622..."} 
[2026-09-06 17:16:00] local.INFO: Processing buffer {"connection_id":172664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076899050012d7d490005d00b200007016622..."} 
[2026-09-06 17:16:00] local.INFO: Packet analysis {"connection_id":172664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07689"} 
[2026-09-06 17:16:00] local.INFO: Extracted packet for processing {"connection_id":172664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07689"} 
[2026-09-06 17:16:00] local.INFO: GPS Element Parsed {"raw_longitude":763185408,"raw_latitude":97520416,"longitude_deg":76.3185408,"latitude_deg":9.7520416,"altitude":7,"angle":358,"satellites":34,"speed":44,"hex_longitude":"2d7d4900","hex_latitude":"05d00b20","is_valid_coordinates":true} 
[2026-09-06 17:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905949184001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129137219775496192,"note":"Value kept but may cause issues"} 
[2026-09-06 17:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427980371968,"note":"Value kept but may cause issues"} 
[2026-09-06 17:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788695122000,"timestamp_ms":1788695122000,"timestamp_seconds":1788695122,"priority":1,"record_length":96,"hex_timestamp":"000001a076899050"} 
[2026-09-06 17:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-06 17:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:16:00] 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-09-06 17:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905949184001,"66":12841,"237":206,"85":15104,"24":44,"16":129137219775496192,"45":9028028427980371968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-09-06 17:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905949184001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:16:00] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-06 17:16:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129137219775496192,"km_value":129137219775496.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427980371968,"description":"Unknown IO ID 45"} 
[2026-09-06 17:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905949184001,"power":12841,"unknown_237":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9028028427980371968}} 
[2026-09-06 17:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":172664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:16:00] local.INFO: GPS data processed {"connection_id":172664,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:16:00] local.INFO: Acknowledgment sent {"connection_id":172664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:16:01] local.INFO: TCP Data received {"connection_id":172664,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07689e258012d7d47c005d028900007016522..."} 
[2026-09-06 17:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07689e258012d7d47c005d028900007016522..."} 
[2026-09-06 17:16:01] local.INFO: Processing buffer {"connection_id":172664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07689e258012d7d47c005d028900007016522..."} 
[2026-09-06 17:16:01] local.INFO: Packet analysis {"connection_id":172664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07689"} 
[2026-09-06 17:16:01] local.INFO: Extracted packet for processing {"connection_id":172664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07689"} 
[2026-09-06 17:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763185088,"raw_latitude":97527952,"longitude_deg":76.3185088,"latitude_deg":9.7527952,"altitude":7,"angle":357,"satellites":34,"speed":5,"hex_longitude":"2d7d47c0","hex_latitude":"05d02890","is_valid_coordinates":true} 
[2026-09-06 17:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905951232001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129137584847716352,"note":"Value kept but may cause issues"} 
[2026-09-06 17:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027746953006096384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788695143000,"timestamp_ms":1788695143000,"timestamp_seconds":1788695143,"priority":1,"record_length":96,"hex_timestamp":"000001a07689e258"} 
[2026-09-06 17:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 17:16:01] 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-09-06 17:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:16: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-09-06 17:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905951232001,"66":13200,"198":206,"85":15104,"24":5,"16":129137584847716352,"45":9027746953006096384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 17:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905951232001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:16:01] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 17:16:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129137584847716352,"km_value":129137584847716.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027746953006096384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905951232001,"power":13200,"unknown_198":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9027746953006096384}} 
[2026-09-06 17:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":172664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:16:01] local.INFO: GPS data processed {"connection_id":172664,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:16:01] local.INFO: Acknowledgment sent {"connection_id":172664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:16:25] local.INFO: TCP Data received {"connection_id":175396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:16:25] local.INFO: Processing buffer {"connection_id":175396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:16:25] local.INFO: Packet analysis {"connection_id":175396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:16:25] local.INFO: Extracted packet for processing {"connection_id":175396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:16:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905883648001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788695157000,"timestamp_ms":1788695157000,"timestamp_seconds":1788695157,"priority":1,"record_length":96,"hex_timestamp":"000001a0768a1908"} 
[2026-09-06 17:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:16: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-09-06 17: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 17:16: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-09-06 17: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-09-06 17:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17: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-09-06 17:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905883648001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905883648001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:16:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:16:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905883648001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":175396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:16:26] local.INFO: GPS data processed {"connection_id":175396,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:16:26] local.INFO: Acknowledgment sent {"connection_id":175396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:16:32] local.INFO: TCP Data received {"connection_id":172664,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07689f5e0012d7d47c005d02bb00006000722..."} 
[2026-09-06 17:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07689f5e0012d7d47c005d02bb00006000722..."} 
[2026-09-06 17:16:32] local.INFO: Processing buffer {"connection_id":172664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07689f5e0012d7d47c005d02bb00006000722..."} 
[2026-09-06 17:16:32] local.INFO: Packet analysis {"connection_id":172664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07689"} 
[2026-09-06 17:16:32] local.INFO: Extracted packet for processing {"connection_id":172664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07689"} 
[2026-09-06 17:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763185088,"raw_latitude":97528752,"longitude_deg":76.3185088,"latitude_deg":9.7528752,"altitude":6,"angle":7,"satellites":34,"speed":8,"hex_longitude":"2d7d47c0","hex_latitude":"05d02bb0","is_valid_coordinates":true} 
[2026-09-06 17:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905956608001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129137627797389312,"note":"Value kept but may cause issues"} 
[2026-09-06 17:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027395109287137280,"note":"Value kept but may cause issues"} 
[2026-09-06 17:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788695148000,"timestamp_ms":1788695148000,"timestamp_seconds":1788695148,"priority":1,"record_length":96,"hex_timestamp":"000001a07689f5e0"} 
[2026-09-06 17:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:16: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-09-06 17:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-06 17:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:16:32] 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-09-06 17:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905956608001,"66":12841,"198":206,"85":15104,"24":8,"16":129137627797389312,"45":9027395109287137280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 17:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905956608001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:16:32] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 17:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129137627797389312,"km_value":129137627797389.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027395109287137280,"description":"Unknown IO ID 45"} 
[2026-09-06 17:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905956608001,"power":12841,"unknown_198":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9027395109287137280}} 
[2026-09-06 17:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":172664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:16:32] local.INFO: GPS data processed {"connection_id":172664,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:16:32] local.INFO: Acknowledgment sent {"connection_id":172664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:16:47] local.INFO: TCP Data received {"connection_id":175397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:16:47] local.INFO: Processing buffer {"connection_id":175397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:16:47] local.INFO: IMEI packet received {"connection_id":175397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":175397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:16:52] local.INFO: TCP Data received {"connection_id":175397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:16:52] local.INFO: Processing buffer {"connection_id":175397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:16:52] local.INFO: IMEI packet received {"connection_id":175397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":175397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:16:55] local.INFO: TCP Data received {"connection_id":172904,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:16:55] local.INFO: Processing buffer {"connection_id":172904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:16:55] local.INFO: IMEI packet received {"connection_id":172904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":172904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:17:00] local.INFO: TCP Data received {"connection_id":175397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:17:00] local.INFO: Processing buffer {"connection_id":175397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:17:00] local.INFO: Packet analysis {"connection_id":175397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:17:00] local.INFO: Extracted packet for processing {"connection_id":175397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:17:00] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905883648001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:17: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-09-06 17:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788695157000,"timestamp_ms":1788695157000,"timestamp_seconds":1788695157,"priority":1,"record_length":96,"hex_timestamp":"000001a0768a1908"} 
[2026-09-06 17:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:17: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-09-06 17:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 17:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905883648001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905883648001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:17:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:17:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905883648001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":175397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:17:00] local.INFO: GPS data processed {"connection_id":175397,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:17:00] local.INFO: Acknowledgment sent {"connection_id":175397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:17:00] local.INFO: TCP Data received {"connection_id":172904,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:17:00] local.INFO: Processing buffer {"connection_id":172904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:17:00] local.INFO: IMEI packet received {"connection_id":172904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":172904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:17:01] local.INFO: TCP Data received {"connection_id":172904,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0768a0198012d7d48c005d02e080006001d22..."} 
[2026-09-06 17:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768a0198012d7d48c005d02e080006001d22..."} 
[2026-09-06 17:17:01] local.INFO: Processing buffer {"connection_id":172904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768a0198012d7d48c005d02e080006001d22..."} 
[2026-09-06 17:17:01] local.INFO: Packet analysis {"connection_id":172904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:17:01] local.INFO: Extracted packet for processing {"connection_id":172904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:17:01] local.INFO: GPS Element Parsed {"raw_longitude":763185344,"raw_latitude":97529352,"longitude_deg":76.3185344,"latitude_deg":9.7529352,"altitude":6,"angle":29,"satellites":34,"speed":7,"hex_longitude":"2d7d48c0","hex_latitude":"05d02e08","is_valid_coordinates":true} 
[2026-09-06 17:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905957888001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129137657862160384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027395109287342080,"note":"Value kept but may cause issues"} 
[2026-09-06 17:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788695151000,"timestamp_ms":1788695151000,"timestamp_seconds":1788695151,"priority":1,"record_length":96,"hex_timestamp":"000001a0768a0198"} 
[2026-09-06 17:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-06 17:17:01] 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-09-06 17:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:17: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-09-06 17:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905957888001,"66":13222,"198":206,"85":15104,"24":7,"16":129137657862160384,"45":9027395109287342080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 17:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905957888001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:17:01] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 17:17:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129137657862160384,"km_value":129137657862160.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027395109287342080,"description":"Unknown IO ID 45"} 
[2026-09-06 17:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905957888001,"power":13222,"unknown_198":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9027395109287342080}} 
[2026-09-06 17:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":172904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:17:01] local.INFO: GPS data processed {"connection_id":172904,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:17:01] local.INFO: Acknowledgment sent {"connection_id":172904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:17:29] local.INFO: TCP Data received {"connection_id":172903,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:17:29] local.INFO: Processing buffer {"connection_id":172903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:17:29] local.INFO: IMEI packet received {"connection_id":172903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 17:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":172903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:17:31] local.INFO: TCP Data received {"connection_id":175397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:17:31] local.INFO: Processing buffer {"connection_id":175397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:17:31] local.INFO: Packet analysis {"connection_id":175397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:17:31] local.INFO: Extracted packet for processing {"connection_id":175397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:17:31] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905883648001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:17: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-09-06 17:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788695157000,"timestamp_ms":1788695157000,"timestamp_seconds":1788695157,"priority":1,"record_length":96,"hex_timestamp":"000001a0768a1908"} 
[2026-09-06 17:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:17: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-09-06 17:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 17:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905883648001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905883648001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:17:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:17:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905883648001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":175397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:17:31] local.INFO: GPS data processed {"connection_id":175397,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:17:31] local.INFO: Acknowledgment sent {"connection_id":175397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:17:32] local.INFO: TCP Data received {"connection_id":172904,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0768a1520012d7d4a4005d031f00006000822..."} 
[2026-09-06 17:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768a1520012d7d4a4005d031f00006000822..."} 
[2026-09-06 17:17:32] local.INFO: Processing buffer {"connection_id":172904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768a1520012d7d4a4005d031f00006000822..."} 
[2026-09-06 17:17:32] local.INFO: Packet analysis {"connection_id":172904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:17:32] local.INFO: Extracted packet for processing {"connection_id":172904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":97530352,"longitude_deg":76.3185728,"latitude_deg":9.7530352,"altitude":6,"angle":8,"satellites":34,"speed":13,"hex_longitude":"2d7d4a40","hex_latitude":"05d031f0","is_valid_coordinates":true} 
[2026-09-06 17:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905958656001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129137709401767936,"note":"Value kept but may cause issues"} 
[2026-09-06 17:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027676584264206336,"note":"Value kept but may cause issues"} 
[2026-09-06 17:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788695156000,"timestamp_ms":1788695156000,"timestamp_seconds":1788695156,"priority":1,"record_length":96,"hex_timestamp":"000001a0768a1520"} 
[2026-09-06 17:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:17: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-09-06 17:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-06 17:17:32] 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-09-06 17:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:17:32] 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-09-06 17:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905958656001,"66":12613,"198":206,"85":15104,"24":13,"16":129137709401767936,"45":9027676584264206336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 17:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905958656001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:17:32] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 17:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129137709401767936,"km_value":129137709401767.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027676584264206336,"description":"Unknown IO ID 45"} 
[2026-09-06 17:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905958656001,"power":12613,"unknown_198":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9027676584264206336}} 
[2026-09-06 17:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":172904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:17:32] local.INFO: GPS data processed {"connection_id":172904,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:17:32] local.INFO: Acknowledgment sent {"connection_id":172904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:17:47] local.INFO: TCP Data received {"connection_id":172905,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:17:47] local.INFO: Processing buffer {"connection_id":172905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:17:47] local.INFO: IMEI packet received {"connection_id":172905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":172905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:17:49] local.INFO: TCP Data received {"connection_id":172665,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:17:49] local.INFO: Processing buffer {"connection_id":172665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:17:49] local.INFO: IMEI packet received {"connection_id":172665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 17:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":172665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:17:52] local.INFO: TCP Data received {"connection_id":172905,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:17:52] local.INFO: Processing buffer {"connection_id":172905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:17:52] local.INFO: IMEI packet received {"connection_id":172905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":172905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:17:53] local.INFO: TCP Data received {"connection_id":172905,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:17:53] local.INFO: Processing buffer {"connection_id":172905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:17:53] local.INFO: Packet analysis {"connection_id":172905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:17:53] local.INFO: Extracted packet for processing {"connection_id":172905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905883648001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788695157000,"timestamp_ms":1788695157000,"timestamp_seconds":1788695157,"priority":1,"record_length":96,"hex_timestamp":"000001a0768a1908"} 
[2026-09-06 17:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 17:17: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-09-06 17: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-09-06 17:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17: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-09-06 17:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905883648001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905883648001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:17:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905883648001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":172905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:17:53] local.INFO: GPS data processed {"connection_id":172905,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:17:53] local.INFO: Acknowledgment sent {"connection_id":172905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:17:57] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:17:57] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:17:57] local.INFO: IMEI packet received {"connection_id":175398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":175398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:18:00] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:18:00] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:18:00] local.INFO: IMEI packet received {"connection_id":175398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":175398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:18:05] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:18:05] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:18:05] local.INFO: IMEI packet received {"connection_id":175398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":175398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:18:06] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0768a1cf0012d7d4a4005d035580007016522..."} 
[2026-09-06 17:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768a1cf0012d7d4a4005d035580007016522..."} 
[2026-09-06 17:18:06] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768a1cf0012d7d4a4005d035580007016522..."} 
[2026-09-06 17:18:06] local.INFO: Packet analysis {"connection_id":175398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:18:06] local.INFO: Extracted packet for processing {"connection_id":175398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:18:06] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":97531224,"longitude_deg":76.3185728,"latitude_deg":9.7531224,"altitude":7,"angle":357,"satellites":34,"speed":20,"hex_longitude":"2d7d4a40","hex_latitude":"05d03558","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905959936001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129137752351440896,"note":"Value kept but may cause issues"} 
[2026-09-06 17:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796729528320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788695158000,"timestamp_ms":1788695158000,"timestamp_seconds":1788695158,"priority":1,"record_length":96,"hex_timestamp":"000001a0768a1cf0"} 
[2026-09-06 17:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:18: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-09-06 17:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-06 17:18:06] 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-09-06 17:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905959936001,"66":12906,"198":206,"85":15104,"24":20,"16":129137752351440896,"45":9028098796729528320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 17:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905959936001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:18:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 17:18:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129137752351440896,"km_value":129137752351440.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796729528320,"description":"Unknown IO ID 45"} 
[2026-09-06 17:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905959936001,"power":12906,"unknown_198":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9028098796729528320}} 
[2026-09-06 17:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":175398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:18:06] local.INFO: GPS data processed {"connection_id":175398,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:18:06] local.INFO: Acknowledgment sent {"connection_id":175398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:18:10] local.INFO: TCP Data received {"connection_id":175398,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0768a4bd0012d7d470005d05a680008016322..."} 
[2026-09-06 17:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768a4bd0012d7d470005d05a680008016322..."} 
[2026-09-06 17:18:10] local.INFO: Processing buffer {"connection_id":175398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768a4bd0012d7d470005d05a680008016322..."} 
[2026-09-06 17:18:10] local.INFO: Packet analysis {"connection_id":175398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:18:10] local.INFO: Extracted packet for processing {"connection_id":175398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:18:10] local.INFO: GPS Element Parsed {"raw_longitude":763184896,"raw_latitude":97540712,"longitude_deg":76.3184896,"latitude_deg":9.7540712,"altitude":8,"angle":355,"satellites":34,"speed":41,"hex_longitude":"2d7d4700","hex_latitude":"05d05a68","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905960448001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129138211912941568,"note":"Value kept but may cause issues"} 
[2026-09-06 17:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796729751552,"note":"Value kept but may cause issues"} 
[2026-09-06 17:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788695170000,"timestamp_ms":1788695170000,"timestamp_seconds":1788695170,"priority":1,"record_length":96,"hex_timestamp":"000001a0768a4bd0"} 
[2026-09-06 17:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:18: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-09-06 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-06 17:18:10] 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-09-06 17: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-09-06 17:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:18:10] 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-09-06 17:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905960448001,"66":13820,"198":206,"85":15104,"24":41,"16":129138211912941568,"45":9028098796729751552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-06 17:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905960448001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:18:10] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-06 17:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129138211912941568,"km_value":129138211912941.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796729751552,"description":"Unknown IO ID 45"} 
[2026-09-06 17:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905960448001,"power":13820,"unknown_198":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9028098796729751552}} 
[2026-09-06 17:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":175398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:18:10] local.INFO: GPS data processed {"connection_id":175398,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:18:10] local.INFO: Acknowledgment sent {"connection_id":175398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:18:24] local.INFO: TCP Data received {"connection_id":172905,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:18:24] local.INFO: Processing buffer {"connection_id":172905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:18:24] local.INFO: Packet analysis {"connection_id":172905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:18:24] local.INFO: Extracted packet for processing {"connection_id":172905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:18:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905883648001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788695157000,"timestamp_ms":1788695157000,"timestamp_seconds":1788695157,"priority":1,"record_length":96,"hex_timestamp":"000001a0768a1908"} 
[2026-09-06 17:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:18: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-09-06 17: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 17:18: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-09-06 17: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-09-06 17:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:18: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-09-06 17:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905883648001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905883648001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:18:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:18:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905883648001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":172905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:18:24] local.INFO: GPS data processed {"connection_id":172905,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:18:24] local.INFO: Acknowledgment sent {"connection_id":172905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:18:47] local.INFO: TCP Data received {"connection_id":172906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:18:47] local.INFO: Processing buffer {"connection_id":172906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:18:47] local.INFO: IMEI packet received {"connection_id":172906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":172906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:18:54] local.INFO: TCP Data received {"connection_id":172906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:18:54] local.INFO: Processing buffer {"connection_id":172906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:18:54] local.INFO: IMEI packet received {"connection_id":172906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":172906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:18:55] local.INFO: TCP Data received {"connection_id":172906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:18:55] local.INFO: Processing buffer {"connection_id":172906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:18:55] local.INFO: Packet analysis {"connection_id":172906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:18:55] local.INFO: Extracted packet for processing {"connection_id":172906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:18:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905883648001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:18: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-09-06 17:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788695157000,"timestamp_ms":1788695157000,"timestamp_seconds":1788695157,"priority":1,"record_length":96,"hex_timestamp":"000001a0768a1908"} 
[2026-09-06 17:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:18: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-09-06 17:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 17:18: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-09-06 17:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905883648001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905883648001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:18:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:18:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905883648001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":172906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:18:55] local.INFO: GPS data processed {"connection_id":172906,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:18:55] local.INFO: Acknowledgment sent {"connection_id":172906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:19:00] local.INFO: TCP Data received {"connection_id":172666,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:19:00] local.INFO: Processing buffer {"connection_id":172666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:19:00] local.INFO: IMEI packet received {"connection_id":172666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":172666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:19:00] local.INFO: TCP Data received {"connection_id":172666,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:19:00] local.INFO: Processing buffer {"connection_id":172666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:19:00] local.INFO: IMEI packet received {"connection_id":172666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":172666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:19:05] local.INFO: TCP Data received {"connection_id":172666,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:19:05] local.INFO: Processing buffer {"connection_id":172666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:19:05] local.INFO: IMEI packet received {"connection_id":172666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":172666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:19:06] local.INFO: TCP Data received {"connection_id":172666,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0768c3800012d7d2f4005d19d280008015724..."} 
[2026-09-06 17:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768c3800012d7d2f4005d19d280008015724..."} 
[2026-09-06 17:19:06] local.INFO: Processing buffer {"connection_id":172666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768c3800012d7d2f4005d19d280008015724..."} 
[2026-09-06 17:19:06] local.INFO: Packet analysis {"connection_id":172666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768c"} 
[2026-09-06 17:19:06] local.INFO: Extracted packet for processing {"connection_id":172666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768c"} 
[2026-09-06 17:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763178816,"raw_latitude":97623336,"longitude_deg":76.3178816,"latitude_deg":9.7623336,"altitude":8,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d7d2f40","hex_latitude":"05d19d28","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905990400001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129142240592265216,"note":"Value kept but may cause issues"} 
[2026-09-06 17:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020639709870417920,"note":"Value kept but may cause issues"} 
[2026-09-06 17:19:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 17:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788695296000,"timestamp_ms":1788695296000,"timestamp_seconds":1788695296,"priority":1,"record_length":96,"hex_timestamp":"000001a0768c3800"} 
[2026-09-06 17:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:19: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-09-06 17: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-06 17:19: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-09-06 17: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-09-06 17:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905990400001,"66":13135,"24":0,"85":15104,"16":129142240592265216,"45":9020639709870417920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 17:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905990400001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129142240592265216,"km_value":129142240592265.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020639709870417920,"description":"Unknown IO ID 45"} 
[2026-09-06 17:19:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457905990400001,"power":13135,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9020639709870417920}} 
[2026-09-06 17:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":172666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:19:06] local.INFO: GPS data processed {"connection_id":172666,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:19:06] local.INFO: Acknowledgment sent {"connection_id":172666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:19:27] local.INFO: TCP Data received {"connection_id":172906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:19:27] local.INFO: Processing buffer {"connection_id":172906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:19:27] local.INFO: Packet analysis {"connection_id":172906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:19:27] local.INFO: Extracted packet for processing {"connection_id":172906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:19:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905883648001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788695157000,"timestamp_ms":1788695157000,"timestamp_seconds":1788695157,"priority":1,"record_length":96,"hex_timestamp":"000001a0768a1908"} 
[2026-09-06 17:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:19: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-09-06 17:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 17:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:19: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-09-06 17:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905883648001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905883648001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:19:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:19:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905883648001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":172906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:19:27] local.INFO: GPS data processed {"connection_id":172906,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:19:27] local.INFO: Acknowledgment sent {"connection_id":172906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:19:37] local.INFO: TCP Data received {"connection_id":172666,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0768c8a08012d7d2f4005d19de80008015725..."} 
[2026-09-06 17:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768c8a08012d7d2f4005d19de80008015725..."} 
[2026-09-06 17:19:37] local.INFO: Processing buffer {"connection_id":172666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768c8a08012d7d2f4005d19de80008015725..."} 
[2026-09-06 17:19:37] local.INFO: Packet analysis {"connection_id":172666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768c"} 
[2026-09-06 17:19:37] local.INFO: Extracted packet for processing {"connection_id":172666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768c"} 
[2026-09-06 17:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763178816,"raw_latitude":97623528,"longitude_deg":76.3178816,"latitude_deg":9.7623528,"altitude":8,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d7d2f40","hex_latitude":"05d19de8","is_valid_coordinates":true} 
[2026-09-06 17:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905995776001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129142257772134400,"note":"Value kept but may cause issues"} 
[2026-09-06 17:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020498972382144512,"note":"Value kept but may cause issues"} 
[2026-09-06 17:19:37] 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-09-06 17:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788695317000,"timestamp_ms":1788695317000,"timestamp_seconds":1788695317,"priority":1,"record_length":96,"hex_timestamp":"000001a0768c8a08"} 
[2026-09-06 17:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:19: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-09-06 17:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 17:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:19: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-09-06 17:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905995776001,"66":12667,"23":206,"85":15104,"24":0,"16":129142257772134400,"45":9020498972382144512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905995776001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:19:37] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129142257772134400,"km_value":129142257772134.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020498972382144512,"description":"Unknown IO ID 45"} 
[2026-09-06 17:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905995776001,"power":12667,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9020498972382144512}} 
[2026-09-06 17:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":172666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:19:37] local.INFO: GPS data processed {"connection_id":172666,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:19:37] local.INFO: Acknowledgment sent {"connection_id":172666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:19:47] local.INFO: TCP Data received {"connection_id":172907,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:19:47] local.INFO: Processing buffer {"connection_id":172907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:19:47] local.INFO: IMEI packet received {"connection_id":172907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":172907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:19:52] local.INFO: TCP Data received {"connection_id":172907,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:19:52] local.INFO: Processing buffer {"connection_id":172907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:19:52] local.INFO: IMEI packet received {"connection_id":172907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":172907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:19:54] local.INFO: TCP Data received {"connection_id":172907,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:19:54] local.INFO: Processing buffer {"connection_id":172907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:19:54] local.INFO: Packet analysis {"connection_id":172907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:19:54] local.INFO: Extracted packet for processing {"connection_id":172907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:19:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905883648001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788695157000,"timestamp_ms":1788695157000,"timestamp_seconds":1788695157,"priority":1,"record_length":96,"hex_timestamp":"000001a0768a1908"} 
[2026-09-06 17:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:19: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-09-06 17:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 17:19: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-09-06 17:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905883648001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905883648001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:19:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:19:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905883648001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":172907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:19:54] local.INFO: GPS data processed {"connection_id":172907,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:19:54] local.INFO: Acknowledgment sent {"connection_id":172907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:19:55] local.INFO: TCP Data received {"connection_id":172667,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:19:55] local.INFO: Processing buffer {"connection_id":172667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:19:55] local.INFO: IMEI packet received {"connection_id":172667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":172667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:20:00] local.INFO: TCP Data received {"connection_id":172667,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:20:00] local.INFO: Processing buffer {"connection_id":172667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:20:00] local.INFO: IMEI packet received {"connection_id":172667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":172667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:20:01] local.INFO: TCP Data received {"connection_id":172667,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0768cdc10012d7d2e4005d1a0480009015725..."} 
[2026-09-06 17:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768cdc10012d7d2e4005d1a0480009015725..."} 
[2026-09-06 17:20:01] local.INFO: Processing buffer {"connection_id":172667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768cdc10012d7d2e4005d1a0480009015725..."} 
[2026-09-06 17:20:01] local.INFO: Packet analysis {"connection_id":172667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768c"} 
[2026-09-06 17:20:01] local.INFO: Extracted packet for processing {"connection_id":172667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768c"} 
[2026-09-06 17:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":97624136,"longitude_deg":76.317856,"latitude_deg":9.7624136,"altitude":9,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05d1a048","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906001152001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129142292131872768,"note":"Value kept but may cause issues"} 
[2026-09-06 17:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020498972382193664,"note":"Value kept but may cause issues"} 
[2026-09-06 17:20:01] 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-09-06 17:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788695338000,"timestamp_ms":1788695338000,"timestamp_seconds":1788695338,"priority":1,"record_length":96,"hex_timestamp":"000001a0768cdc10"} 
[2026-09-06 17:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-06 17:20:01] 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-09-06 17: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-09-06 17:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:20: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-09-06 17:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906001152001,"66":12917,"23":206,"85":15104,"24":0,"16":129142292131872768,"45":9020498972382193664},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906001152001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:20:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129142292131872768,"km_value":129142292131872.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020498972382193664,"description":"Unknown IO ID 45"} 
[2026-09-06 17:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906001152001,"power":12917,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9020498972382193664}} 
[2026-09-06 17:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":172667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:20:01] local.INFO: GPS data processed {"connection_id":172667,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:20:01] local.INFO: Acknowledgment sent {"connection_id":172667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:20:25] local.INFO: TCP Data received {"connection_id":172907,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:20:25] local.INFO: Processing buffer {"connection_id":172907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:20:25] local.INFO: Packet analysis {"connection_id":172907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:20:25] local.INFO: Extracted packet for processing {"connection_id":172907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:20:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905883648001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788695157000,"timestamp_ms":1788695157000,"timestamp_seconds":1788695157,"priority":1,"record_length":96,"hex_timestamp":"000001a0768a1908"} 
[2026-09-06 17:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 17:20: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-09-06 17: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-09-06 17:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:20: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-09-06 17:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905883648001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905883648001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:20:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:20:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905883648001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":172907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:20:25] local.INFO: GPS data processed {"connection_id":172907,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:20:25] local.INFO: Acknowledgment sent {"connection_id":172907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:20:32] local.INFO: TCP Data received {"connection_id":172667,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0768d2e18012d7d2e4005d1a0480009015725..."} 
[2026-09-06 17:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768d2e18012d7d2e4005d1a0480009015725..."} 
[2026-09-06 17:20:32] local.INFO: Processing buffer {"connection_id":172667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768d2e18012d7d2e4005d1a0480009015725..."} 
[2026-09-06 17:20:32] local.INFO: Packet analysis {"connection_id":172667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768d"} 
[2026-09-06 17:20:32] local.INFO: Extracted packet for processing {"connection_id":172667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768d"} 
[2026-09-06 17:20:32] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":97624136,"longitude_deg":76.317856,"latitude_deg":9.7624136,"altitude":9,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05d1a048","is_valid_coordinates":true} 
[2026-09-06 17:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906006528001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129142292131872768,"note":"Value kept but may cause issues"} 
[2026-09-06 17:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497405638656,"note":"Value kept but may cause issues"} 
[2026-09-06 17:20:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 17:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788695359000,"timestamp_ms":1788695359000,"timestamp_seconds":1788695359,"priority":1,"record_length":96,"hex_timestamp":"000001a0768d2e18"} 
[2026-09-06 17:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-06 17:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:20:32] 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-09-06 17:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906006528001,"66":13102,"24":0,"85":15104,"16":129142292131872768,"45":9020217497405638656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 17:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906006528001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:20:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129142292131872768,"km_value":129142292131872.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497405638656,"description":"Unknown IO ID 45"} 
[2026-09-06 17:20:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457906006528001,"power":13102,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9020217497405638656}} 
[2026-09-06 17:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":172667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:20:32] local.INFO: GPS data processed {"connection_id":172667,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:20:32] local.INFO: Acknowledgment sent {"connection_id":172667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:20:47] local.INFO: TCP Data received {"connection_id":174066,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:20:47] local.INFO: Processing buffer {"connection_id":174066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:20:47] local.INFO: IMEI packet received {"connection_id":174066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":174066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:20:52] local.INFO: TCP Data received {"connection_id":174066,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:20:52] local.INFO: Processing buffer {"connection_id":174066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:20:52] local.INFO: IMEI packet received {"connection_id":174066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":174066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:20:54] local.INFO: TCP Data received {"connection_id":174066,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:20:54] local.INFO: Processing buffer {"connection_id":174066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768a1908012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:20:54] local.INFO: Packet analysis {"connection_id":174066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:20:54] local.INFO: Extracted packet for processing {"connection_id":174066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768a"} 
[2026-09-06 17:20:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905883648001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788695157000,"timestamp_ms":1788695157000,"timestamp_seconds":1788695157,"priority":1,"record_length":96,"hex_timestamp":"000001a0768a1908"} 
[2026-09-06 17:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 17:20: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-09-06 17: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-09-06 17:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:20:54] 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-09-06 17:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905883648001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905883648001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:20:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:20:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905883648001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":174066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:20:54] local.INFO: GPS data processed {"connection_id":174066,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:20:54] local.INFO: Acknowledgment sent {"connection_id":174066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:20:55] local.INFO: TCP Data received {"connection_id":174067,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:20:55] local.INFO: Processing buffer {"connection_id":174067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:20:55] local.INFO: IMEI packet received {"connection_id":174067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":174067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:21:00] local.INFO: TCP Data received {"connection_id":174067,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:21:00] local.INFO: Processing buffer {"connection_id":174067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:21:00] local.INFO: IMEI packet received {"connection_id":174067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":174067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:21:01] local.INFO: TCP Data received {"connection_id":174067,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0768d8020012d7d2e4005d1a0480009015725..."} 
[2026-09-06 17:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768d8020012d7d2e4005d1a0480009015725..."} 
[2026-09-06 17:21:01] local.INFO: Processing buffer {"connection_id":174067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768d8020012d7d2e4005d1a0480009015725..."} 
[2026-09-06 17:21:01] local.INFO: Packet analysis {"connection_id":174067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768d"} 
[2026-09-06 17:21:01] local.INFO: Extracted packet for processing {"connection_id":174067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768d"} 
[2026-09-06 17:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":97624136,"longitude_deg":76.317856,"latitude_deg":9.7624136,"altitude":9,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05d1a048","is_valid_coordinates":true} 
[2026-09-06 17:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906011904001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129142292131872768,"note":"Value kept but may cause issues"} 
[2026-09-06 17:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497405638656,"note":"Value kept but may cause issues"} 
[2026-09-06 17:21:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 17:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788695380000,"timestamp_ms":1788695380000,"timestamp_seconds":1788695380,"priority":1,"record_length":96,"hex_timestamp":"000001a0768d8020"} 
[2026-09-06 17:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-06 17:21:01] 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-09-06 17:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:21: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-09-06 17:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906011904001,"66":12232,"24":0,"85":15104,"16":129142292131872768,"45":9020217497405638656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-09-06 17:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906011904001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129142292131872768,"km_value":129142292131872.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497405638656,"description":"Unknown IO ID 45"} 
[2026-09-06 17:21:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457906011904001,"power":12232,"ignition":0,"unknown_85":15104,"odometer":null,"unknown_45":9020217497405638656}} 
[2026-09-06 17:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":174067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:21:01] local.INFO: GPS data processed {"connection_id":174067,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:21:01] local.INFO: Acknowledgment sent {"connection_id":174067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:21:25] local.INFO: TCP Data received {"connection_id":174066,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:21:25] local.INFO: Processing buffer {"connection_id":174066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:21:25] local.INFO: Packet analysis {"connection_id":174066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:21:25] local.INFO: Extracted packet for processing {"connection_id":174066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:21:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905960192001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788695461000,"timestamp_ms":1788695461000,"timestamp_seconds":1788695461,"priority":1,"record_length":96,"hex_timestamp":"000001a0768ebc88"} 
[2026-09-06 17:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:21: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-09-06 17: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-09-06 17:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:21: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-09-06 17:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905960192001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905960192001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:21:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:21:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905960192001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":174066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:21:25] local.INFO: GPS data processed {"connection_id":174066,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:21:25] local.INFO: Acknowledgment sent {"connection_id":174066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:21:32] local.INFO: TCP Data received {"connection_id":174067,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0768dd228012d7d2e4005d1a0480009015725..."} 
[2026-09-06 17:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768dd228012d7d2e4005d1a0480009015725..."} 
[2026-09-06 17:21:32] local.INFO: Processing buffer {"connection_id":174067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768dd228012d7d2e4005d1a0480009015725..."} 
[2026-09-06 17:21:32] local.INFO: Packet analysis {"connection_id":174067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768d"} 
[2026-09-06 17:21:32] local.INFO: Extracted packet for processing {"connection_id":174067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768d"} 
[2026-09-06 17:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":97624136,"longitude_deg":76.317856,"latitude_deg":9.7624136,"altitude":9,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05d1a048","is_valid_coordinates":true} 
[2026-09-06 17:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906017280001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129142292131872768,"note":"Value kept but may cause issues"} 
[2026-09-06 17:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497405638656,"note":"Value kept but may cause issues"} 
[2026-09-06 17:21:32] 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-09-06 17:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788695401000,"timestamp_ms":1788695401000,"timestamp_seconds":1788695401,"priority":1,"record_length":96,"hex_timestamp":"000001a0768dd228"} 
[2026-09-06 17:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-06 17:21:32] 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-09-06 17:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:21:32] 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-09-06 17:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906017280001,"66":13243,"23":206,"85":15104,"24":0,"16":129142292131872768,"45":9020217497405638656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906017280001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:21:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129142292131872768,"km_value":129142292131872.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497405638656,"description":"Unknown IO ID 45"} 
[2026-09-06 17:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906017280001,"power":13243,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9020217497405638656}} 
[2026-09-06 17:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":174067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:21:32] local.INFO: GPS data processed {"connection_id":174067,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:21:32] local.INFO: Acknowledgment sent {"connection_id":174067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:21:48] local.INFO: TCP Data received {"connection_id":175401,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:21:48] local.INFO: Processing buffer {"connection_id":175401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:21:48] local.INFO: IMEI packet received {"connection_id":175401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":175401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:21:52] local.INFO: TCP Data received {"connection_id":175401,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:21:52] local.INFO: Processing buffer {"connection_id":175401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:21:52] local.INFO: IMEI packet received {"connection_id":175401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":175401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:21:53] local.INFO: TCP Data received {"connection_id":175401,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:21:53] local.INFO: Processing buffer {"connection_id":175401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:21:53] local.INFO: Packet analysis {"connection_id":175401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:21:53] local.INFO: Extracted packet for processing {"connection_id":175401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905960192001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788695461000,"timestamp_ms":1788695461000,"timestamp_seconds":1788695461,"priority":1,"record_length":96,"hex_timestamp":"000001a0768ebc88"} 
[2026-09-06 17:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:21: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-09-06 17: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-09-06 17:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:21: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-09-06 17:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905960192001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905960192001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:21:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905960192001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":175401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:21:53] local.INFO: GPS data processed {"connection_id":175401,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:21:53] local.INFO: Acknowledgment sent {"connection_id":175401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:21:55] local.INFO: TCP Data received {"connection_id":172669,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:21:55] local.INFO: Processing buffer {"connection_id":172669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:21:55] local.INFO: IMEI packet received {"connection_id":172669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":172669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:21:58] local.INFO: TCP Data received {"connection_id":175401,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:21:58] local.INFO: Processing buffer {"connection_id":175401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:21:58] local.INFO: Packet analysis {"connection_id":175401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:21:58] local.INFO: Extracted packet for processing {"connection_id":175401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:21:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905960192001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788695461000,"timestamp_ms":1788695461000,"timestamp_seconds":1788695461,"priority":1,"record_length":96,"hex_timestamp":"000001a0768ebc88"} 
[2026-09-06 17:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:21: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-09-06 17: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-09-06 17:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:21: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-09-06 17:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905960192001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905960192001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:21:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:21:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905960192001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":175401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:21:58] local.INFO: GPS data processed {"connection_id":175401,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:21:58] local.INFO: Acknowledgment sent {"connection_id":175401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:22:00] local.INFO: TCP Data received {"connection_id":172669,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:22:00] local.INFO: Processing buffer {"connection_id":172669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:22:00] local.INFO: IMEI packet received {"connection_id":172669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":172669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:22:00] local.INFO: TCP Data received {"connection_id":172669,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0768e2430012d7d2e4005d1a0480009015725..."} 
[2026-09-06 17:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768e2430012d7d2e4005d1a0480009015725..."} 
[2026-09-06 17:22:00] local.INFO: Processing buffer {"connection_id":172669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768e2430012d7d2e4005d1a0480009015725..."} 
[2026-09-06 17:22:00] local.INFO: Packet analysis {"connection_id":172669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:22:00] local.INFO: Extracted packet for processing {"connection_id":172669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":97624136,"longitude_deg":76.317856,"latitude_deg":9.7624136,"altitude":9,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d7d2e40","hex_latitude":"05d1a048","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906022656001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129142292131872768,"note":"Value kept but may cause issues"} 
[2026-09-06 17:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497405638656,"note":"Value kept but may cause issues"} 
[2026-09-06 17:22:00] 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-09-06 17:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788695422000,"timestamp_ms":1788695422000,"timestamp_seconds":1788695422,"priority":1,"record_length":96,"hex_timestamp":"000001a0768e2430"} 
[2026-09-06 17:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-06 17:22:00] 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-09-06 17: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-09-06 17:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:22:00] 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-09-06 17:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906022656001,"66":13037,"23":206,"85":15104,"24":0,"16":129142292131872768,"45":9020217497405638656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906022656001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:22:00] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:22:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129142292131872768,"km_value":129142292131872.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497405638656,"description":"Unknown IO ID 45"} 
[2026-09-06 17:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906022656001,"power":13037,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9020217497405638656}} 
[2026-09-06 17:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":172669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:22:01] local.INFO: GPS data processed {"connection_id":172669,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:22:01] local.INFO: Acknowledgment sent {"connection_id":172669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:22:30] local.INFO: TCP Data received {"connection_id":175401,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:22:30] local.INFO: Processing buffer {"connection_id":175401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:22:30] local.INFO: Packet analysis {"connection_id":175401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:22:30] local.INFO: Extracted packet for processing {"connection_id":175401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:22:30] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905960192001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:22: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-09-06 17:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788695461000,"timestamp_ms":1788695461000,"timestamp_seconds":1788695461,"priority":1,"record_length":96,"hex_timestamp":"000001a0768ebc88"} 
[2026-09-06 17:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:22: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-09-06 17:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905960192001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905960192001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:22:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:22:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905960192001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":175401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:22:30] local.INFO: GPS data processed {"connection_id":175401,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:22:30] local.INFO: Acknowledgment sent {"connection_id":175401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:22:32] local.INFO: TCP Data received {"connection_id":172669,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0768e7638012d7d2bc005d1a4080009015725..."} 
[2026-09-06 17:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768e7638012d7d2bc005d1a4080009015725..."} 
[2026-09-06 17:22:32] local.INFO: Processing buffer {"connection_id":172669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768e7638012d7d2bc005d1a4080009015725..."} 
[2026-09-06 17:22:32] local.INFO: Packet analysis {"connection_id":172669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:22:32] local.INFO: Extracted packet for processing {"connection_id":172669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763177920,"raw_latitude":97625096,"longitude_deg":76.317792,"latitude_deg":9.7625096,"altitude":9,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d7d2bc0","hex_latitude":"05d1a408","is_valid_coordinates":true} 
[2026-09-06 17:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906028032001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129142347966447616,"note":"Value kept but may cause issues"} 
[2026-09-06 17:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497405638656,"note":"Value kept but may cause issues"} 
[2026-09-06 17:22:32] 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-09-06 17:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788695443000,"timestamp_ms":1788695443000,"timestamp_seconds":1788695443,"priority":1,"record_length":96,"hex_timestamp":"000001a0768e7638"} 
[2026-09-06 17:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:22: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-09-06 17:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-06 17:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:22:32] 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-09-06 17:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906028032001,"66":13276,"23":206,"85":15104,"24":0,"16":129142347966447616,"45":9020217497405638656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906028032001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:22:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129142347966447616,"km_value":129142347966447.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497405638656,"description":"Unknown IO ID 45"} 
[2026-09-06 17:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906028032001,"power":13276,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9020217497405638656}} 
[2026-09-06 17:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":172669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:22:32] local.INFO: GPS data processed {"connection_id":172669,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:22:32] local.INFO: Acknowledgment sent {"connection_id":172669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:22:48] local.INFO: TCP Data received {"connection_id":175402,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:22:48] local.INFO: Processing buffer {"connection_id":175402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:22:48] local.INFO: IMEI packet received {"connection_id":175402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":175402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:22:52] local.INFO: TCP Data received {"connection_id":175402,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:22:52] local.INFO: Processing buffer {"connection_id":175402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:22:52] local.INFO: IMEI packet received {"connection_id":175402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":175402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:22:53] local.INFO: TCP Data received {"connection_id":175402,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:22:53] local.INFO: Processing buffer {"connection_id":175402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:22:53] local.INFO: Packet analysis {"connection_id":175402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:22:53] local.INFO: Extracted packet for processing {"connection_id":175402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905960192001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788695461000,"timestamp_ms":1788695461000,"timestamp_seconds":1788695461,"priority":1,"record_length":96,"hex_timestamp":"000001a0768ebc88"} 
[2026-09-06 17:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:22: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-09-06 17: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-09-06 17:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:22: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-09-06 17:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905960192001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905960192001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:22:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905960192001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":175402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:22:53] local.INFO: GPS data processed {"connection_id":175402,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:22:53] local.INFO: Acknowledgment sent {"connection_id":175402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:22:54] local.INFO: TCP Data received {"connection_id":172670,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:22:54] local.INFO: Processing buffer {"connection_id":172670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:22:54] local.INFO: IMEI packet received {"connection_id":172670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":172670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:22:55] local.INFO: TCP Data received {"connection_id":172670,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:22:55] local.INFO: Processing buffer {"connection_id":172670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:22:55] local.INFO: IMEI packet received {"connection_id":172670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":172670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:22:59] local.INFO: TCP Data received {"connection_id":172670,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:22:59] local.INFO: Processing buffer {"connection_id":172670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:22:59] local.INFO: IMEI packet received {"connection_id":172670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":172670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:23:00] local.INFO: TCP Data received {"connection_id":172670,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0768ec840012d7d2b8005d1a4d80009015724..."} 
[2026-09-06 17:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768ec840012d7d2b8005d1a4d80009015724..."} 
[2026-09-06 17:23:00] local.INFO: Processing buffer {"connection_id":172670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768ec840012d7d2b8005d1a4d80009015724..."} 
[2026-09-06 17:23:00] local.INFO: Packet analysis {"connection_id":172670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:23:00] local.INFO: Extracted packet for processing {"connection_id":172670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:23:00] local.INFO: GPS Element Parsed {"raw_longitude":763177856,"raw_latitude":97625304,"longitude_deg":76.3177856,"latitude_deg":9.7625304,"altitude":9,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d7d2b80","hex_latitude":"05d1a4d8","is_valid_coordinates":true} 
[2026-09-06 17:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906033408001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129142360851349504,"note":"Value kept but may cause issues"} 
[2026-09-06 17:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019513809964107776,"note":"Value kept but may cause issues"} 
[2026-09-06 17:23:00] 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-09-06 17:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788695464000,"timestamp_ms":1788695464000,"timestamp_seconds":1788695464,"priority":1,"record_length":96,"hex_timestamp":"000001a0768ec840"} 
[2026-09-06 17:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-06 17:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:23:00] 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-09-06 17:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906033408001,"66":12667,"23":206,"85":15104,"24":0,"16":129142360851349504,"45":9019513809964107776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906033408001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:23:00] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:23:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129142360851349504,"km_value":129142360851349.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019513809964107776,"description":"Unknown IO ID 45"} 
[2026-09-06 17:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906033408001,"power":12667,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9019513809964107776}} 
[2026-09-06 17:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":172670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:23:00] local.INFO: GPS data processed {"connection_id":172670,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:23:00] local.INFO: Acknowledgment sent {"connection_id":172670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:23:09] local.INFO: TCP Data received {"connection_id":174068,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:23:09] local.INFO: Processing buffer {"connection_id":174068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:23:09] local.INFO: IMEI packet received {"connection_id":174068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 17:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":174068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:23:25] local.INFO: TCP Data received {"connection_id":175402,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:23:25] local.INFO: Processing buffer {"connection_id":175402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:23:25] local.INFO: Packet analysis {"connection_id":175402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:23:25] local.INFO: Extracted packet for processing {"connection_id":175402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:23:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905960192001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788695461000,"timestamp_ms":1788695461000,"timestamp_seconds":1788695461,"priority":1,"record_length":96,"hex_timestamp":"000001a0768ebc88"} 
[2026-09-06 17:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:23: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-09-06 17: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-09-06 17:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:23: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-09-06 17:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905960192001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905960192001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:23:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:23:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905960192001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":175402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:23:25] local.INFO: GPS data processed {"connection_id":175402,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:23:25] local.INFO: Acknowledgment sent {"connection_id":175402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:23:36] local.INFO: TCP Data received {"connection_id":172670,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07690eb20012d7d260005d1c2a8000a015a25..."} 
[2026-09-06 17:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07690eb20012d7d260005d1c2a8000a015a25..."} 
[2026-09-06 17:23:36] local.INFO: Processing buffer {"connection_id":172670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07690eb20012d7d260005d1c2a8000a015a25..."} 
[2026-09-06 17:23:36] local.INFO: Packet analysis {"connection_id":172670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07690"} 
[2026-09-06 17:23:36] local.INFO: Extracted packet for processing {"connection_id":172670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07690"} 
[2026-09-06 17:23:36] local.INFO: GPS Element Parsed {"raw_longitude":763176448,"raw_latitude":97632936,"longitude_deg":76.3176448,"latitude_deg":9.7632936,"altitude":10,"angle":346,"satellites":37,"speed":4,"hex_longitude":"2d7d2600","hex_latitude":"05d1c2a8","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906073344001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129142751693373440,"note":"Value kept but may cause issues"} 
[2026-09-06 17:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017965697594042368,"note":"Value kept but may cause issues"} 
[2026-09-06 17:23:36] 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-09-06 17:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788695604000,"timestamp_ms":1788695604000,"timestamp_seconds":1788695604,"priority":1,"record_length":96,"hex_timestamp":"000001a07690eb20"} 
[2026-09-06 17:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-06 17:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:23:36] 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-09-06 17:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906073344001,"66":12874,"23":206,"85":15104,"24":4,"16":129142751693373440,"45":9017965697594042368},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906073344001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:23:36] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:23:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129142751693373440,"km_value":129142751693373.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017965697594042368,"description":"Unknown IO ID 45"} 
[2026-09-06 17:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906073344001,"power":12874,"unknown_23":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9017965697594042368}} 
[2026-09-06 17:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":172670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:23:36] local.INFO: GPS data processed {"connection_id":172670,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:23:36] local.INFO: Acknowledgment sent {"connection_id":172670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:23:47] local.INFO: TCP Data received {"connection_id":172908,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:23:47] local.INFO: Processing buffer {"connection_id":172908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:23:47] local.INFO: IMEI packet received {"connection_id":172908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":172908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:23:52] local.INFO: TCP Data received {"connection_id":172908,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:23:52] local.INFO: Processing buffer {"connection_id":172908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:23:52] local.INFO: IMEI packet received {"connection_id":172908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":172908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:23:54] local.INFO: TCP Data received {"connection_id":172908,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:23:54] local.INFO: Processing buffer {"connection_id":172908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:23:54] local.INFO: Packet analysis {"connection_id":172908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:23:54] local.INFO: Extracted packet for processing {"connection_id":172908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:23:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905960192001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:23: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-09-06 17:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788695461000,"timestamp_ms":1788695461000,"timestamp_seconds":1788695461,"priority":1,"record_length":96,"hex_timestamp":"000001a0768ebc88"} 
[2026-09-06 17:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:23: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-09-06 17:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:23:54] 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-09-06 17:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905960192001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905960192001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:23:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:23:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905960192001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":172908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:23:54] local.INFO: GPS data processed {"connection_id":172908,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:23:54] local.INFO: Acknowledgment sent {"connection_id":172908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:23:55] local.INFO: TCP Data received {"connection_id":172909,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:23:55] local.INFO: Processing buffer {"connection_id":172909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:23:55] local.INFO: IMEI packet received {"connection_id":172909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":172909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:24:01] local.INFO: TCP Data received {"connection_id":172909,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:24:01] local.INFO: Processing buffer {"connection_id":172909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:24:01] local.INFO: IMEI packet received {"connection_id":172909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":172909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:24:01] local.INFO: TCP Data received {"connection_id":172909,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:24:01] local.INFO: Processing buffer {"connection_id":172909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:24:01] local.INFO: IMEI packet received {"connection_id":172909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":172909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:24:05] local.INFO: TCP Data received {"connection_id":172909,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:24:05] local.INFO: Processing buffer {"connection_id":172909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:24:05] local.INFO: IMEI packet received {"connection_id":172909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":172909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:24:06] local.INFO: TCP Data received {"connection_id":172909,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07690fea8012d7d258005d1c550000a000325..."} 
[2026-09-06 17:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07690fea8012d7d258005d1c550000a000325..."} 
[2026-09-06 17:24:06] local.INFO: Processing buffer {"connection_id":172909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07690fea8012d7d258005d1c550000a000325..."} 
[2026-09-06 17:24:06] local.INFO: Packet analysis {"connection_id":172909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07690"} 
[2026-09-06 17:24:06] local.INFO: Extracted packet for processing {"connection_id":172909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07690"} 
[2026-09-06 17:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763176320,"raw_latitude":97633616,"longitude_deg":76.317632,"latitude_deg":9.7633616,"altitude":10,"angle":3,"satellites":37,"speed":6,"hex_longitude":"2d7d2580","hex_latitude":"05d1c550","is_valid_coordinates":true} 
[2026-09-06 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-09-06 17:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906074624001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129142786053111808,"note":"Value kept but may cause issues"} 
[2026-09-06 17:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017895328850028544,"note":"Value kept but may cause issues"} 
[2026-09-06 17:24:06] 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-09-06 17:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788695609000,"timestamp_ms":1788695609000,"timestamp_seconds":1788695609,"priority":1,"record_length":96,"hex_timestamp":"000001a07690fea8"} 
[2026-09-06 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-09-06 17:24: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-09-06 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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-06 17:24:06] 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-09-06 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-09-06 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-09-06 17:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906074624001,"66":12939,"23":206,"85":15104,"24":6,"16":129142786053111808,"45":9017895328850028544},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906074624001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:24:06] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129142786053111808,"km_value":129142786053111.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017895328850028544,"description":"Unknown IO ID 45"} 
[2026-09-06 17:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906074624001,"power":12939,"unknown_23":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9017895328850028544}} 
[2026-09-06 17:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":172909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:24:06] local.INFO: GPS data processed {"connection_id":172909,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:24:06] local.INFO: Acknowledgment sent {"connection_id":172909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:24:26] local.INFO: TCP Data received {"connection_id":172908,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:24:26] local.INFO: Processing buffer {"connection_id":172908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:24:26] local.INFO: Packet analysis {"connection_id":172908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:24:26] local.INFO: Extracted packet for processing {"connection_id":172908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:24:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905960192001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 17:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788695461000,"timestamp_ms":1788695461000,"timestamp_seconds":1788695461,"priority":1,"record_length":96,"hex_timestamp":"000001a0768ebc88"} 
[2026-09-06 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-09-06 17:24: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-09-06 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:24: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-09-06 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-09-06 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-09-06 17:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:24: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-09-06 17:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905960192001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905960192001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:24:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:24:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905960192001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":172908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:24:26] local.INFO: GPS data processed {"connection_id":172908,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:24:26] local.INFO: Acknowledgment sent {"connection_id":172908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:24:43] local.INFO: TCP Data received {"connection_id":172909,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076910678012d7d258005d1c5f8000a001425..."} 
[2026-09-06 17:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076910678012d7d258005d1c5f8000a001425..."} 
[2026-09-06 17:24:43] local.INFO: Processing buffer {"connection_id":172909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076910678012d7d258005d1c5f8000a001425..."} 
[2026-09-06 17:24:43] local.INFO: Packet analysis {"connection_id":172909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07691"} 
[2026-09-06 17:24:43] local.INFO: Extracted packet for processing {"connection_id":172909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07691"} 
[2026-09-06 17:24:43] local.INFO: GPS Element Parsed {"raw_longitude":763176320,"raw_latitude":97633784,"longitude_deg":76.317632,"latitude_deg":9.7633784,"altitude":10,"angle":20,"satellites":37,"speed":1,"hex_longitude":"2d7d2580","hex_latitude":"05d1c5f8","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906075904001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129142794643046400,"note":"Value kept but may cause issues"} 
[2026-09-06 17:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017754591361847296,"note":"Value kept but may cause issues"} 
[2026-09-06 17:24:43] 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-09-06 17:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788695611000,"timestamp_ms":1788695611000,"timestamp_seconds":1788695611,"priority":1,"record_length":96,"hex_timestamp":"000001a076910678"} 
[2026-09-06 17:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:24: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-09-06 17: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":139,"data_length":795,"current_offset":136} 
[2026-09-06 17:24: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-09-06 17: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-09-06 17:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":172909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":172909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":172909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:24: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-09-06 17:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906075904001,"66":12939,"23":206,"85":15104,"24":1,"16":129142794643046400,"45":9017754591361847296},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906075904001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:24:43] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129142794643046400,"km_value":129142794643046.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017754591361847296,"description":"Unknown IO ID 45"} 
[2026-09-06 17:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906075904001,"power":12939,"unknown_23":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9017754591361847296}} 
[2026-09-06 17:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":172909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:24:43] local.INFO: GPS data processed {"connection_id":172909,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:24:43] local.INFO: Acknowledgment sent {"connection_id":172909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:24:47] local.INFO: TCP Data received {"connection_id":175403,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:24:47] local.INFO: Processing buffer {"connection_id":175403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:24:47] local.INFO: IMEI packet received {"connection_id":175403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":175403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:24:52] local.INFO: TCP Data received {"connection_id":175403,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:24:52] local.INFO: Processing buffer {"connection_id":175403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:24:52] local.INFO: IMEI packet received {"connection_id":175403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":175403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:24:54] local.INFO: TCP Data received {"connection_id":175403,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:24:54] local.INFO: Processing buffer {"connection_id":175403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:24:54] local.INFO: Packet analysis {"connection_id":175403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:24:54] local.INFO: Extracted packet for processing {"connection_id":175403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:24:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905960192001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:24: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-09-06 17:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788695461000,"timestamp_ms":1788695461000,"timestamp_seconds":1788695461,"priority":1,"record_length":96,"hex_timestamp":"000001a0768ebc88"} 
[2026-09-06 17:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:24: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-09-06 17:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:24:54] 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-09-06 17:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905960192001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905960192001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:24:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:24:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905960192001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":175403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:24:54] local.INFO: GPS data processed {"connection_id":175403,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:24:54] local.INFO: Acknowledgment sent {"connection_id":175403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:24:58] local.INFO: TCP Data received {"connection_id":172911,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:24:58] local.INFO: Processing buffer {"connection_id":172911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:24:58] local.INFO: IMEI packet received {"connection_id":172911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":172911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:25:01] local.INFO: TCP Data received {"connection_id":172911,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:25:01] local.INFO: Processing buffer {"connection_id":172911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:25:01] local.INFO: IMEI packet received {"connection_id":172911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":172911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:25:05] local.INFO: TCP Data received {"connection_id":172911,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:25:05] local.INFO: Processing buffer {"connection_id":172911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:25:05] local.INFO: IMEI packet received {"connection_id":172911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":172911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:25:06] local.INFO: TCP Data received {"connection_id":172911,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076911a00012d7d260005d1c6a8000a016325..."} 
[2026-09-06 17:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076911a00012d7d260005d1c6a8000a016325..."} 
[2026-09-06 17:25:06] local.INFO: Processing buffer {"connection_id":172911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076911a00012d7d260005d1c6a8000a016325..."} 
[2026-09-06 17:25:06] local.INFO: Packet analysis {"connection_id":172911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07691"} 
[2026-09-06 17:25:06] local.INFO: Extracted packet for processing {"connection_id":172911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07691"} 
[2026-09-06 17:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763176448,"raw_latitude":97633960,"longitude_deg":76.3176448,"latitude_deg":9.763396,"altitude":10,"angle":355,"satellites":37,"speed":2,"hex_longitude":"2d7d2600","hex_latitude":"05d1c6a8","is_valid_coordinates":true} 
[2026-09-06 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-09-06 17:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906076416001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129142803232980992,"note":"Value kept but may cause issues"} 
[2026-09-06 17:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017754591361890304,"note":"Value kept but may cause issues"} 
[2026-09-06 17:25:06] 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-09-06 17:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788695616000,"timestamp_ms":1788695616000,"timestamp_seconds":1788695616,"priority":1,"record_length":96,"hex_timestamp":"000001a076911a00"} 
[2026-09-06 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-09-06 17:25: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-09-06 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-06 17:25: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-09-06 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-09-06 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-09-06 17:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906076416001,"66":12798,"23":206,"85":15104,"24":2,"16":129142803232980992,"45":9017754591361890304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906076416001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:25:06] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129142803232980992,"km_value":129142803232980.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017754591361890304,"description":"Unknown IO ID 45"} 
[2026-09-06 17:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906076416001,"power":12798,"unknown_23":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9017754591361890304}} 
[2026-09-06 17:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":172911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:25:06] local.INFO: GPS data processed {"connection_id":172911,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:25:06] local.INFO: Acknowledgment sent {"connection_id":172911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:25:11] local.INFO: TCP Data received {"connection_id":172911,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076916820012d7d250005d1cef00009016425..."} 
[2026-09-06 17:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076916820012d7d250005d1cef00009016425..."} 
[2026-09-06 17:25:11] local.INFO: Processing buffer {"connection_id":172911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076916820012d7d250005d1cef00009016425..."} 
[2026-09-06 17:25:11] local.INFO: Packet analysis {"connection_id":172911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07691"} 
[2026-09-06 17:25:11] local.INFO: Extracted packet for processing {"connection_id":172911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07691"} 
[2026-09-06 17:25:11] local.INFO: GPS Element Parsed {"raw_longitude":763176192,"raw_latitude":97636080,"longitude_deg":76.3176192,"latitude_deg":9.763608,"altitude":9,"angle":356,"satellites":37,"speed":0,"hex_longitude":"2d7d2500","hex_latitude":"05d1cef0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 17:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906077696001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129142910607163392,"note":"Value kept but may cause issues"} 
[2026-09-06 17:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017895328850290688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:25: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-09-06 17:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788695636000,"timestamp_ms":1788695636000,"timestamp_seconds":1788695636,"priority":1,"record_length":96,"hex_timestamp":"000001a076916820"} 
[2026-09-06 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-09-06 17:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-06 17:25: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-09-06 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-09-06 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-09-06 17:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":172911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":172911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":172911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:25: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-09-06 17:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906077696001,"66":12874,"23":206,"85":15104,"24":0,"16":129142910607163392,"45":9017895328850290688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906077696001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:25:11] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129142910607163392,"km_value":129142910607163.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017895328850290688,"description":"Unknown IO ID 45"} 
[2026-09-06 17:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906077696001,"power":12874,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9017895328850290688}} 
[2026-09-06 17:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":172911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:25:11] local.INFO: GPS data processed {"connection_id":172911,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:25:11] local.INFO: Acknowledgment sent {"connection_id":172911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:25:25] local.INFO: TCP Data received {"connection_id":175403,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:25:25] local.INFO: Processing buffer {"connection_id":175403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:25:25] local.INFO: Packet analysis {"connection_id":175403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:25:25] local.INFO: Extracted packet for processing {"connection_id":175403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:25:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905960192001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788695461000,"timestamp_ms":1788695461000,"timestamp_seconds":1788695461,"priority":1,"record_length":96,"hex_timestamp":"000001a0768ebc88"} 
[2026-09-06 17:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:25: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-09-06 17: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-09-06 17:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:25: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-09-06 17:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905960192001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905960192001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:25:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:25:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905960192001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":175403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:25:25] local.INFO: GPS data processed {"connection_id":175403,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:25:25] local.INFO: Acknowledgment sent {"connection_id":175403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:25:47] local.INFO: TCP Data received {"connection_id":172672,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:25:47] local.INFO: Processing buffer {"connection_id":172672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:25:47] local.INFO: IMEI packet received {"connection_id":172672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":172672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:25:52] local.INFO: TCP Data received {"connection_id":172672,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:25:52] local.INFO: Processing buffer {"connection_id":172672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:25:52] local.INFO: IMEI packet received {"connection_id":172672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":172672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:25:53] local.INFO: TCP Data received {"connection_id":172672,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:25:53] local.INFO: Processing buffer {"connection_id":172672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0768ebc88012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:25:53] local.INFO: Packet analysis {"connection_id":172672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:25:53] local.INFO: Extracted packet for processing {"connection_id":172672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0768e"} 
[2026-09-06 17:25:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457905960192001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788695461000,"timestamp_ms":1788695461000,"timestamp_seconds":1788695461,"priority":1,"record_length":96,"hex_timestamp":"000001a0768ebc88"} 
[2026-09-06 17:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:25: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-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:25: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-09-06 17:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457905960192001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457905960192001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:25:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:25:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457905960192001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":172672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:25:53] local.INFO: GPS data processed {"connection_id":172672,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:25:53] local.INFO: Acknowledgment sent {"connection_id":172672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:25:55] local.INFO: TCP Data received {"connection_id":172673,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:25:55] local.INFO: Processing buffer {"connection_id":172673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:25:55] local.INFO: IMEI packet received {"connection_id":172673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":172673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:26:00] local.INFO: TCP Data received {"connection_id":172673,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:26:00] local.INFO: Processing buffer {"connection_id":172673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:26:00] local.INFO: IMEI packet received {"connection_id":172673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":172673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:26:01] local.INFO: TCP Data received {"connection_id":172673,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07691ba28012d7d248005d1d4980009016525..."} 
[2026-09-06 17:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07691ba28012d7d248005d1d4980009016525..."} 
[2026-09-06 17:26:01] local.INFO: Processing buffer {"connection_id":172673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07691ba28012d7d248005d1d4980009016525..."} 
[2026-09-06 17:26:01] local.INFO: Packet analysis {"connection_id":172673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07691"} 
[2026-09-06 17:26:01] local.INFO: Extracted packet for processing {"connection_id":172673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07691"} 
[2026-09-06 17:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763176064,"raw_latitude":97637528,"longitude_deg":76.3176064,"latitude_deg":9.7637528,"altitude":9,"angle":357,"satellites":37,"speed":5,"hex_longitude":"2d7d2480","hex_latitude":"05d1d498","is_valid_coordinates":true} 
[2026-09-06 17:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906082816001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129142983621607424,"note":"Value kept but may cause issues"} 
[2026-09-06 17:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017613853874122752,"note":"Value kept but may cause issues"} 
[2026-09-06 17:26:01] 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-09-06 17:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788695657000,"timestamp_ms":1788695657000,"timestamp_seconds":1788695657,"priority":1,"record_length":96,"hex_timestamp":"000001a07691ba28"} 
[2026-09-06 17:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-06 17:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:26: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-09-06 17:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906082816001,"66":12645,"23":206,"85":15104,"24":5,"16":129142983621607424,"45":9017613853874122752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906082816001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:26:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:26:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129142983621607424,"km_value":129142983621607.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017613853874122752,"description":"Unknown IO ID 45"} 
[2026-09-06 17:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906082816001,"power":12645,"unknown_23":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9017613853874122752}} 
[2026-09-06 17:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":172673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:26:01] local.INFO: GPS data processed {"connection_id":172673,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:26:01] local.INFO: Acknowledgment sent {"connection_id":172673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:26:24] local.INFO: TCP Data received {"connection_id":172672,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:26:24] local.INFO: Processing buffer {"connection_id":172672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:26:24] local.INFO: Packet analysis {"connection_id":172672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:26:24] local.INFO: Extracted packet for processing {"connection_id":172672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:26:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906038016001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788695761000,"timestamp_ms":1788695761000,"timestamp_seconds":1788695761,"priority":1,"record_length":96,"hex_timestamp":"000001a076935068"} 
[2026-09-06 17:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:26: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-09-06 17: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-09-06 17:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:26: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-09-06 17:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906038016001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906038016001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:26:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:26:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906038016001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":172672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:26:24] local.INFO: GPS data processed {"connection_id":172672,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:26:24] local.INFO: Acknowledgment sent {"connection_id":172672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:26:32] local.INFO: TCP Data received {"connection_id":172673,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07691e908012d7d248005d1dc000009000825..."} 
[2026-09-06 17:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07691e908012d7d248005d1dc000009000825..."} 
[2026-09-06 17:26:32] local.INFO: Processing buffer {"connection_id":172673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07691e908012d7d248005d1dc000009000825..."} 
[2026-09-06 17:26:32] local.INFO: Packet analysis {"connection_id":172673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07691"} 
[2026-09-06 17:26:32] local.INFO: Extracted packet for processing {"connection_id":172673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07691"} 
[2026-09-06 17:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763176064,"raw_latitude":97639424,"longitude_deg":76.3176064,"latitude_deg":9.7639424,"altitude":9,"angle":8,"satellites":37,"speed":5,"hex_longitude":"2d7d2480","hex_latitude":"05d1dc00","is_valid_coordinates":true} 
[2026-09-06 17:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906088192001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129143078110887936,"note":"Value kept but may cause issues"} 
[2026-09-06 17:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017473116386138112,"note":"Value kept but may cause issues"} 
[2026-09-06 17:26:32] 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-09-06 17:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788695669000,"timestamp_ms":1788695669000,"timestamp_seconds":1788695669,"priority":1,"record_length":96,"hex_timestamp":"000001a07691e908"} 
[2026-09-06 17:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-06 17:26:32] 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-09-06 17:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:26:32] 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-09-06 17:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906088192001,"66":13189,"23":206,"85":15104,"24":5,"16":129143078110887936,"45":9017473116386138112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906088192001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:26:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:26:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129143078110887936,"km_value":129143078110887.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017473116386138112,"description":"Unknown IO ID 45"} 
[2026-09-06 17:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906088192001,"power":13189,"unknown_23":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9017473116386138112}} 
[2026-09-06 17:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":172673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:26:32] local.INFO: GPS data processed {"connection_id":172673,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:26:32] local.INFO: Acknowledgment sent {"connection_id":172673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:26:47] local.INFO: TCP Data received {"connection_id":172912,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:26:47] local.INFO: Processing buffer {"connection_id":172912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:26:47] local.INFO: IMEI packet received {"connection_id":172912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":172912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:26:52] local.INFO: TCP Data received {"connection_id":172912,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:26:52] local.INFO: Processing buffer {"connection_id":172912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:26:52] local.INFO: IMEI packet received {"connection_id":172912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":172912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:26:54] local.INFO: TCP Data received {"connection_id":172912,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:26:54] local.INFO: Processing buffer {"connection_id":172912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:26:54] local.INFO: Packet analysis {"connection_id":172912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:26:54] local.INFO: Extracted packet for processing {"connection_id":172912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:26:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906038016001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788695761000,"timestamp_ms":1788695761000,"timestamp_seconds":1788695761,"priority":1,"record_length":96,"hex_timestamp":"000001a076935068"} 
[2026-09-06 17:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:26: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-09-06 17: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-09-06 17:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:26:54] 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-09-06 17:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906038016001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906038016001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:26:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:26:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906038016001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":172912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:26:54] local.INFO: GPS data processed {"connection_id":172912,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:26:54] local.INFO: Acknowledgment sent {"connection_id":172912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:26:55] local.INFO: TCP Data received {"connection_id":172913,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:26:55] local.INFO: Processing buffer {"connection_id":172913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:26:55] local.INFO: IMEI packet received {"connection_id":172913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":172913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:27:00] local.INFO: TCP Data received {"connection_id":172913,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:27:00] local.INFO: Processing buffer {"connection_id":172913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:27:00] local.INFO: IMEI packet received {"connection_id":172913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":172913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:27:01] local.INFO: TCP Data received {"connection_id":172913,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076937b60012d7d238005d1fe880008000724..."} 
[2026-09-06 17:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076937b60012d7d238005d1fe880008000724..."} 
[2026-09-06 17:27:01] local.INFO: Processing buffer {"connection_id":172913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076937b60012d7d238005d1fe880008000724..."} 
[2026-09-06 17:27:01] local.INFO: Packet analysis {"connection_id":172913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:27:01] local.INFO: Extracted packet for processing {"connection_id":172913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763175808,"raw_latitude":97648264,"longitude_deg":76.3175808,"latitude_deg":9.7648264,"altitude":8,"angle":7,"satellites":36,"speed":4,"hex_longitude":"2d7d2380","hex_latitude":"05d1fe88","is_valid_coordinates":true} 
[2026-09-06 17:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906117376001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129143524787486720,"note":"Value kept but may cause issues"} 
[2026-09-06 17:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017262010156324864,"note":"Value kept but may cause issues"} 
[2026-09-06 17:27:01] 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-09-06 17:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788695772000,"timestamp_ms":1788695772000,"timestamp_seconds":1788695772,"priority":1,"record_length":96,"hex_timestamp":"000001a076937b60"} 
[2026-09-06 17:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-06 17:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:27: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-09-06 17:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906117376001,"66":13091,"23":206,"85":15104,"24":4,"16":129143524787486720,"45":9017262010156324864},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906117376001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:27:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129143524787486720,"km_value":129143524787486.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017262010156324864,"description":"Unknown IO ID 45"} 
[2026-09-06 17:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906117376001,"power":13091,"unknown_23":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9017262010156324864}} 
[2026-09-06 17:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":172913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:27:01] local.INFO: GPS data processed {"connection_id":172913,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:27:01] local.INFO: Acknowledgment sent {"connection_id":172913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:27:28] local.INFO: TCP Data received {"connection_id":172912,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:27:28] local.INFO: Processing buffer {"connection_id":172912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:27:28] local.INFO: Packet analysis {"connection_id":172912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:27:28] local.INFO: Extracted packet for processing {"connection_id":172912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:27:28] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906038016001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:27: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-09-06 17:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788695761000,"timestamp_ms":1788695761000,"timestamp_seconds":1788695761,"priority":1,"record_length":96,"hex_timestamp":"000001a076935068"} 
[2026-09-06 17:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:27: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-09-06 17: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:27:28] 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-09-06 17: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-09-06 17:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906038016001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906038016001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:27:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:27:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906038016001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":172912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:27:28] local.INFO: GPS data processed {"connection_id":172912,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:27:28] local.INFO: Acknowledgment sent {"connection_id":172912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:27:32] local.INFO: TCP Data received {"connection_id":172913,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07693cd68012d7d24c005d209e80006000224..."} 
[2026-09-06 17:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07693cd68012d7d24c005d209e80006000224..."} 
[2026-09-06 17:27:32] local.INFO: Processing buffer {"connection_id":172913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07693cd68012d7d24c005d209e80006000224..."} 
[2026-09-06 17:27:32] local.INFO: Packet analysis {"connection_id":172913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:27:32] local.INFO: Extracted packet for processing {"connection_id":172913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763176128,"raw_latitude":97651176,"longitude_deg":76.3176128,"latitude_deg":9.7651176,"altitude":6,"angle":2,"satellites":36,"speed":4,"hex_longitude":"2d7d24c0","hex_latitude":"05d209e8","is_valid_coordinates":true} 
[2026-09-06 17:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906117632001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129143666521407488,"note":"Value kept but may cause issues"} 
[2026-09-06 17:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017191641412175872,"note":"Value kept but may cause issues"} 
[2026-09-06 17:27:32] 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-09-06 17:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788695793000,"timestamp_ms":1788695793000,"timestamp_seconds":1788695793,"priority":1,"record_length":96,"hex_timestamp":"000001a07693cd68"} 
[2026-09-06 17:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-06 17:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:27:32] 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-09-06 17:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906117632001,"66":13135,"23":206,"85":15104,"24":4,"16":129143666521407488,"45":9017191641412175872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906117632001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:27:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129143666521407488,"km_value":129143666521407.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017191641412175872,"description":"Unknown IO ID 45"} 
[2026-09-06 17:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906117632001,"power":13135,"unknown_23":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9017191641412175872}} 
[2026-09-06 17:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":172913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:27:32] local.INFO: GPS data processed {"connection_id":172913,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:27:32] local.INFO: Acknowledgment sent {"connection_id":172913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:27:48] local.INFO: TCP Data received {"connection_id":174070,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:27:48] local.INFO: Processing buffer {"connection_id":174070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:27:48] local.INFO: IMEI packet received {"connection_id":174070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":174070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:27:52] local.INFO: TCP Data received {"connection_id":174070,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:27:52] local.INFO: Processing buffer {"connection_id":174070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:27:52] local.INFO: IMEI packet received {"connection_id":174070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":174070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:27:53] local.INFO: TCP Data received {"connection_id":174070,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:27:53] local.INFO: Processing buffer {"connection_id":174070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:27:53] local.INFO: Packet analysis {"connection_id":174070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:27:53] local.INFO: Extracted packet for processing {"connection_id":174070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:27:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906038016001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 17:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788695761000,"timestamp_ms":1788695761000,"timestamp_seconds":1788695761,"priority":1,"record_length":96,"hex_timestamp":"000001a076935068"} 
[2026-09-06 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-09-06 17: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-09-06 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:27: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-09-06 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-09-06 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-09-06 17:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:27: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-09-06 17:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906038016001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906038016001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:27:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:27:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906038016001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":174070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:27:53] local.INFO: GPS data processed {"connection_id":174070,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:27:53] local.INFO: Acknowledgment sent {"connection_id":174070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:27:55] local.INFO: TCP Data received {"connection_id":174071,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:27:55] local.INFO: Processing buffer {"connection_id":174071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:27:55] local.INFO: IMEI packet received {"connection_id":174071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":174071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:28:00] local.INFO: TCP Data received {"connection_id":174071,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:28:00] local.INFO: Processing buffer {"connection_id":174071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:28:00] local.INFO: IMEI packet received {"connection_id":174071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":174071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:28:01] local.INFO: TCP Data received {"connection_id":174071,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076940800012d7d260005d212080006000d25..."} 
[2026-09-06 17:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076940800012d7d260005d212080006000d25..."} 
[2026-09-06 17:28:01] local.INFO: Processing buffer {"connection_id":174071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076940800012d7d260005d212080006000d25..."} 
[2026-09-06 17:28:01] local.INFO: Packet analysis {"connection_id":174071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07694"} 
[2026-09-06 17:28:01] local.INFO: Extracted packet for processing {"connection_id":174071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07694"} 
[2026-09-06 17:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763176448,"raw_latitude":97653256,"longitude_deg":76.3176448,"latitude_deg":9.7653256,"altitude":6,"angle":13,"satellites":37,"speed":5,"hex_longitude":"2d7d2600","hex_latitude":"05d21208","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906123008001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129143773895589888,"note":"Value kept but may cause issues"} 
[2026-09-06 17:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017543485133809664,"note":"Value kept but may cause issues"} 
[2026-09-06 17:28:01] 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-09-06 17:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788695808000,"timestamp_ms":1788695808000,"timestamp_seconds":1788695808,"priority":1,"record_length":96,"hex_timestamp":"000001a076940800"} 
[2026-09-06 17:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 17:28:01] 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-09-06 17: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-09-06 17:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:28: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-09-06 17:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906123008001,"66":13254,"23":206,"85":15104,"24":5,"16":129143773895589888,"45":9017543485133809664},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906123008001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:28:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129143773895589888,"km_value":129143773895589.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017543485133809664,"description":"Unknown IO ID 45"} 
[2026-09-06 17:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906123008001,"power":13254,"unknown_23":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9017543485133809664}} 
[2026-09-06 17:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":174071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:28:01] local.INFO: GPS data processed {"connection_id":174071,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:28:01] local.INFO: Acknowledgment sent {"connection_id":174071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:28:24] local.INFO: TCP Data received {"connection_id":174070,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:28:24] local.INFO: Processing buffer {"connection_id":174070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:28:24] local.INFO: Packet analysis {"connection_id":174070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:28:24] local.INFO: Extracted packet for processing {"connection_id":174070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:28:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906038016001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 17:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788695761000,"timestamp_ms":1788695761000,"timestamp_seconds":1788695761,"priority":1,"record_length":96,"hex_timestamp":"000001a076935068"} 
[2026-09-06 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-09-06 17: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-09-06 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:28: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-09-06 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-09-06 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-09-06 17:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:28: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-09-06 17:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906038016001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906038016001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:28:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:28:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906038016001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":174070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:28:24] local.INFO: GPS data processed {"connection_id":174070,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:28:24] local.INFO: Acknowledgment sent {"connection_id":174070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:28:33] local.INFO: TCP Data received {"connection_id":174071,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076945620012d7d270005d21c100007000a24..."} 
[2026-09-06 17:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076945620012d7d270005d21c100007000a24..."} 
[2026-09-06 17:28:33] local.INFO: Processing buffer {"connection_id":174071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076945620012d7d270005d21c100007000a24..."} 
[2026-09-06 17:28:33] local.INFO: Packet analysis {"connection_id":174071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07694"} 
[2026-09-06 17:28:33] local.INFO: Extracted packet for processing {"connection_id":174071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07694"} 
[2026-09-06 17:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763176704,"raw_latitude":97655824,"longitude_deg":76.3176704,"latitude_deg":9.7655824,"altitude":7,"angle":10,"satellites":36,"speed":7,"hex_longitude":"2d7d2700","hex_latitude":"05d21c10","is_valid_coordinates":true} 
[2026-09-06 17:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906126848001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129143898449641472,"note":"Value kept but may cause issues"} 
[2026-09-06 17:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017895328855230464,"note":"Value kept but may cause issues"} 
[2026-09-06 17:28:33] 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-09-06 17:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788695828000,"timestamp_ms":1788695828000,"timestamp_seconds":1788695828,"priority":1,"record_length":96,"hex_timestamp":"000001a076945620"} 
[2026-09-06 17:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-06 17:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:28:33] 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-09-06 17:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906126848001,"66":13004,"23":206,"85":15104,"24":7,"16":129143898449641472,"45":9017895328855230464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906126848001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:28:33] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129143898449641472,"km_value":129143898449641.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017895328855230464,"description":"Unknown IO ID 45"} 
[2026-09-06 17:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906126848001,"power":13004,"unknown_23":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9017895328855230464}} 
[2026-09-06 17:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":174071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:28:33] local.INFO: GPS data processed {"connection_id":174071,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:28:33] local.INFO: Acknowledgment sent {"connection_id":174071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:28:49] local.INFO: TCP Data received {"connection_id":175406,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:28:49] local.INFO: Processing buffer {"connection_id":175406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:28:49] local.INFO: IMEI packet received {"connection_id":175406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":175406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:28:53] local.INFO: TCP Data received {"connection_id":175406,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:28:53] local.INFO: Processing buffer {"connection_id":175406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:28:53] local.INFO: IMEI packet received {"connection_id":175406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":175406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:28:54] local.INFO: TCP Data received {"connection_id":175406,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:28:54] local.INFO: Processing buffer {"connection_id":175406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:28:54] local.INFO: Packet analysis {"connection_id":175406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:28:54] local.INFO: Extracted packet for processing {"connection_id":175406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:28:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906038016001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:28: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-09-06 17:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788695761000,"timestamp_ms":1788695761000,"timestamp_seconds":1788695761,"priority":1,"record_length":96,"hex_timestamp":"000001a076935068"} 
[2026-09-06 17:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:28: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-09-06 17:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:28: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-09-06 17:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906038016001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 17:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906038016001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:28:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:28:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906038016001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":175406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:28:54] local.INFO: GPS data processed {"connection_id":175406,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:28:54] local.INFO: Acknowledgment sent {"connection_id":175406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:28:54] local.INFO: TCP Data received {"connection_id":175407,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:28:54] local.INFO: Processing buffer {"connection_id":175407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:28:54] local.INFO: IMEI packet received {"connection_id":175407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 17:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":175407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:28:55] local.INFO: TCP Data received {"connection_id":172914,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:28:55] local.INFO: Processing buffer {"connection_id":172914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:28:55] local.INFO: IMEI packet received {"connection_id":172914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":172914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:28:55] local.INFO: TCP Data received {"connection_id":172914,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:28:55] local.INFO: Processing buffer {"connection_id":172914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:28:55] local.INFO: IMEI packet received {"connection_id":172914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":172914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:28:58] local.INFO: TCP Data received {"connection_id":175406,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:28:58] local.INFO: Processing buffer {"connection_id":175406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:28:58] local.INFO: Packet analysis {"connection_id":175406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:28:58] local.INFO: Extracted packet for processing {"connection_id":175406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:28:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906038016001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788695761000,"timestamp_ms":1788695761000,"timestamp_seconds":1788695761,"priority":1,"record_length":96,"hex_timestamp":"000001a076935068"} 
[2026-09-06 17:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:28: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-09-06 17:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906038016001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 17:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906038016001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:28:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:28:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906038016001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":175406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:28:58] local.INFO: GPS data processed {"connection_id":175406,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:28:58] local.INFO: Acknowledgment sent {"connection_id":175406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:28:59] local.INFO: TCP Data received {"connection_id":172914,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:28:59] local.INFO: Processing buffer {"connection_id":172914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:28:59] local.INFO: IMEI packet received {"connection_id":172914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":172914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:29:01] local.INFO: TCP Data received {"connection_id":172914,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:29:01] local.INFO: Processing buffer {"connection_id":172914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:29:01] local.INFO: IMEI packet received {"connection_id":172914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":172914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:29:02] local.INFO: TCP Data received {"connection_id":172914,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07694a828012d7d2a0005d231100007000825..."} 
[2026-09-06 17:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07694a828012d7d2a0005d231100007000825..."} 
[2026-09-06 17:29:02] local.INFO: Processing buffer {"connection_id":172914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07694a828012d7d2a0005d231100007000825..."} 
[2026-09-06 17:29:02] local.INFO: Packet analysis {"connection_id":172914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07694"} 
[2026-09-06 17:29:02] local.INFO: Extracted packet for processing {"connection_id":172914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07694"} 
[2026-09-06 17:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763177472,"raw_latitude":97661200,"longitude_deg":76.3177472,"latitude_deg":9.76612,"altitude":7,"angle":8,"satellites":37,"speed":15,"hex_longitude":"2d7d2a00","hex_latitude":"05d23110","is_valid_coordinates":true} 
[2026-09-06 17:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906131968001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129144164737613824,"note":"Value kept but may cause issues"} 
[2026-09-06 17:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018176803832598528,"note":"Value kept but may cause issues"} 
[2026-09-06 17:29:02] 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-09-06 17:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788695849000,"timestamp_ms":1788695849000,"timestamp_seconds":1788695849,"priority":1,"record_length":96,"hex_timestamp":"000001a07694a828"} 
[2026-09-06 17:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-06 17:29:02] 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-09-06 17:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906131968001,"66":13374,"23":206,"85":15104,"24":15,"16":129144164737613824,"45":9018176803832598528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906131968001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:29:02] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129144164737613824,"km_value":129144164737613.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018176803832598528,"description":"Unknown IO ID 45"} 
[2026-09-06 17:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906131968001,"power":13374,"unknown_23":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9018176803832598528}} 
[2026-09-06 17:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":172914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:29:02] local.INFO: GPS data processed {"connection_id":172914,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:29:02] local.INFO: Acknowledgment sent {"connection_id":172914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:29:05] local.INFO: TCP Data received {"connection_id":172914,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07694fa30012d7d2e0005d247b00009000a25..."} 
[2026-09-06 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07694fa30012d7d2e0005d247b00009000a25..."} 
[2026-09-06 17:29:05] local.INFO: Processing buffer {"connection_id":172914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07694fa30012d7d2e0005d247b00009000a25..."} 
[2026-09-06 17:29:05] local.INFO: Packet analysis {"connection_id":172914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07694"} 
[2026-09-06 17:29:05] local.INFO: Extracted packet for processing {"connection_id":172914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07694"} 
[2026-09-06 17:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763178496,"raw_latitude":97666992,"longitude_deg":76.3178496,"latitude_deg":9.7666992,"altitude":9,"angle":10,"satellites":37,"speed":19,"hex_longitude":"2d7d2e00","hex_latitude":"05d247b0","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906137344001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129144452500422656,"note":"Value kept but may cause issues"} 
[2026-09-06 17:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019021228764106752,"note":"Value kept but may cause issues"} 
[2026-09-06 17:29:05] 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-09-06 17:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788695870000,"timestamp_ms":1788695870000,"timestamp_seconds":1788695870,"priority":1,"record_length":96,"hex_timestamp":"000001a07694fa30"} 
[2026-09-06 17:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:29: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-09-06 17: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-06 17:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:29:05] 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-09-06 17:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906137344001,"66":12939,"23":206,"85":15104,"24":19,"16":129144452500422656,"45":9019021228764106752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-09-06 17:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906137344001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:29:05] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-06 17:29:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129144452500422656,"km_value":129144452500422.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019021228764106752,"description":"Unknown IO ID 45"} 
[2026-09-06 17:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906137344001,"power":12939,"unknown_23":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9019021228764106752}} 
[2026-09-06 17:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":172914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:29:05] local.INFO: GPS data processed {"connection_id":172914,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:29:05] local.INFO: Acknowledgment sent {"connection_id":172914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:29:30] local.INFO: TCP Data received {"connection_id":175406,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:29:30] local.INFO: Processing buffer {"connection_id":175406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:29:30] local.INFO: Packet analysis {"connection_id":175406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:29:30] local.INFO: Extracted packet for processing {"connection_id":175406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906038016001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788695761000,"timestamp_ms":1788695761000,"timestamp_seconds":1788695761,"priority":1,"record_length":96,"hex_timestamp":"000001a076935068"} 
[2026-09-06 17:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906038016001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 17:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906038016001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:29:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:29:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906038016001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":175406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:29:30] local.INFO: GPS data processed {"connection_id":175406,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:29:30] local.INFO: Acknowledgment sent {"connection_id":175406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:29:36] local.INFO: TCP Data received {"connection_id":172914,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076954c38012d7d32c005d261380009000624..."} 
[2026-09-06 17:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076954c38012d7d32c005d261380009000624..."} 
[2026-09-06 17:29:36] local.INFO: Processing buffer {"connection_id":172914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076954c38012d7d32c005d261380009000624..."} 
[2026-09-06 17:29:36] local.INFO: Packet analysis {"connection_id":172914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07695"} 
[2026-09-06 17:29:36] local.INFO: Extracted packet for processing {"connection_id":172914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07695"} 
[2026-09-06 17:29:36] local.INFO: GPS Element Parsed {"raw_longitude":763179712,"raw_latitude":97673528,"longitude_deg":76.3179712,"latitude_deg":9.7673528,"altitude":9,"angle":6,"satellites":36,"speed":13,"hex_longitude":"2d7d32c0","hex_latitude":"05d26138","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906142720001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129144778917937152,"note":"Value kept but may cause issues"} 
[2026-09-06 17:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020147128672432128,"note":"Value kept but may cause issues"} 
[2026-09-06 17:29:36] 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-09-06 17:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788695891000,"timestamp_ms":1788695891000,"timestamp_seconds":1788695891,"priority":1,"record_length":96,"hex_timestamp":"000001a076954c38"} 
[2026-09-06 17:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:29: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-09-06 17: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-06 17:29:36] 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-09-06 17: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-09-06 17:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:29:36] 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-09-06 17:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906142720001,"66":13135,"197":206,"85":15104,"24":13,"16":129144778917937152,"45":9020147128672432128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-06 17:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906142720001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:29:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-06 17:29:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129144778917937152,"km_value":129144778917937.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020147128672432128,"description":"Unknown IO ID 45"} 
[2026-09-06 17:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906142720001,"power":13135,"unknown_197":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9020147128672432128}} 
[2026-09-06 17:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":172914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:29:36] local.INFO: GPS data processed {"connection_id":172914,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:29:36] local.INFO: Acknowledgment sent {"connection_id":172914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:29:47] local.INFO: TCP Data received {"connection_id":172915,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:29:47] local.INFO: Processing buffer {"connection_id":172915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:29:47] local.INFO: IMEI packet received {"connection_id":172915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":172915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:29:52] local.INFO: TCP Data received {"connection_id":172915,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:29:52] local.INFO: Processing buffer {"connection_id":172915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:29:52] local.INFO: IMEI packet received {"connection_id":172915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":172915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:29:53] local.INFO: TCP Data received {"connection_id":172915,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:29:53] local.INFO: Processing buffer {"connection_id":172915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:29:53] local.INFO: Packet analysis {"connection_id":172915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:29:53] local.INFO: Extracted packet for processing {"connection_id":172915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906038016001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788695761000,"timestamp_ms":1788695761000,"timestamp_seconds":1788695761,"priority":1,"record_length":96,"hex_timestamp":"000001a076935068"} 
[2026-09-06 17:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:29: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-09-06 17: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:29: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-09-06 17: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-09-06 17:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:29: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-09-06 17:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906038016001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906038016001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:29:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906038016001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":172915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:29:53] local.INFO: GPS data processed {"connection_id":172915,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:29:53] local.INFO: Acknowledgment sent {"connection_id":172915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:29:55] local.INFO: TCP Data received {"connection_id":174072,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:29:55] local.INFO: Processing buffer {"connection_id":174072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:29:55] local.INFO: IMEI packet received {"connection_id":174072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":174072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:30:00] local.INFO: TCP Data received {"connection_id":174072,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:30:00] local.INFO: Processing buffer {"connection_id":174072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:30:00] local.INFO: IMEI packet received {"connection_id":174072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":174072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:30:01] local.INFO: TCP Data received {"connection_id":174072,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076959e40012d7d350005d272a80006000725..."} 
[2026-09-06 17:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076959e40012d7d350005d272a80006000725..."} 
[2026-09-06 17:30:01] local.INFO: Processing buffer {"connection_id":174072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076959e40012d7d350005d272a80006000725..."} 
[2026-09-06 17:30:01] local.INFO: Packet analysis {"connection_id":174072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07695"} 
[2026-09-06 17:30:01] local.INFO: Extracted packet for processing {"connection_id":174072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07695"} 
[2026-09-06 17:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":97677992,"longitude_deg":76.3180288,"latitude_deg":9.7677992,"altitude":6,"angle":7,"satellites":37,"speed":6,"hex_longitude":"2d7d3500","hex_latitude":"05d272a8","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906148096001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129144997961269248,"note":"Value kept but may cause issues"} 
[2026-09-06 17:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484134813480960,"note":"Value kept but may cause issues"} 
[2026-09-06 17:30:01] 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-09-06 17:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788695912000,"timestamp_ms":1788695912000,"timestamp_seconds":1788695912,"priority":1,"record_length":96,"hex_timestamp":"000001a076959e40"} 
[2026-09-06 17:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 17:30:01] 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-09-06 17: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-09-06 17:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:30: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-09-06 17:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906148096001,"66":12798,"197":206,"85":15104,"24":6,"16":129144997961269248,"45":9021484134813480960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-06 17:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906148096001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:30:01] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-06 17:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129144997961269248,"km_value":129144997961269.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484134813480960,"description":"Unknown IO ID 45"} 
[2026-09-06 17:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906148096001,"power":12798,"unknown_197":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9021484134813480960}} 
[2026-09-06 17:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":174072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:30:01] local.INFO: GPS data processed {"connection_id":174072,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:30:01] local.INFO: Acknowledgment sent {"connection_id":174072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:30:25] local.INFO: TCP Data received {"connection_id":172915,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:30:25] local.INFO: Processing buffer {"connection_id":172915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:30:25] local.INFO: Packet analysis {"connection_id":172915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:30:25] local.INFO: Extracted packet for processing {"connection_id":172915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:30:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906038016001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788695761000,"timestamp_ms":1788695761000,"timestamp_seconds":1788695761,"priority":1,"record_length":96,"hex_timestamp":"000001a076935068"} 
[2026-09-06 17:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:30: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-09-06 17: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-09-06 17:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:30: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-09-06 17:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906038016001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906038016001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:30:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:30:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906038016001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":172915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:30:25] local.INFO: GPS data processed {"connection_id":172915,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:30:25] local.INFO: Acknowledgment sent {"connection_id":172915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:30:32] local.INFO: TCP Data received {"connection_id":174072,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0769757a8012d7d48c005d292580004008925..."} 
[2026-09-06 17:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769757a8012d7d48c005d292580004008925..."} 
[2026-09-06 17:30:32] local.INFO: Processing buffer {"connection_id":174072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769757a8012d7d48c005d292580004008925..."} 
[2026-09-06 17:30:32] local.INFO: Packet analysis {"connection_id":174072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:30:32] local.INFO: Extracted packet for processing {"connection_id":174072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763185344,"raw_latitude":97686104,"longitude_deg":76.3185344,"latitude_deg":9.7686104,"altitude":4,"angle":137,"satellites":37,"speed":7,"hex_longitude":"2d7d48c0","hex_latitude":"05d29258","is_valid_coordinates":true} 
[2026-09-06 17:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906181888001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129146943581454336,"note":"Value kept but may cause issues"} 
[2026-09-06 17:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027395109327718400,"note":"Value kept but may cause issues"} 
[2026-09-06 17:30:32] 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-09-06 17:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788696025000,"timestamp_ms":1788696025000,"timestamp_seconds":1788696025,"priority":1,"record_length":96,"hex_timestamp":"000001a0769757a8"} 
[2026-09-06 17:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:30: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-09-06 17:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:30:32] 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-09-06 17:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:30:32] 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-09-06 17:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906181888001,"66":13276,"117":206,"85":15104,"24":7,"16":129146943581454336,"45":9027395109327718400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 17:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906181888001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:30:32] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 17:30:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129146943581454336,"km_value":129146943581454.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027395109327718400,"description":"Unknown IO ID 45"} 
[2026-09-06 17:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906181888001,"power":13276,"unknown_117":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9027395109327718400}} 
[2026-09-06 17:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":174072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:30:32] local.INFO: GPS data processed {"connection_id":174072,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:30:32] local.INFO: Acknowledgment sent {"connection_id":174072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:30:47] local.INFO: TCP Data received {"connection_id":175408,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:30:47] local.INFO: Processing buffer {"connection_id":175408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:30:47] local.INFO: IMEI packet received {"connection_id":175408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":175408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:30:52] local.INFO: TCP Data received {"connection_id":175408,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:30:52] local.INFO: Processing buffer {"connection_id":175408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:30:52] local.INFO: IMEI packet received {"connection_id":175408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":175408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:30:55] local.INFO: TCP Data received {"connection_id":175408,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:30:55] local.INFO: Processing buffer {"connection_id":175408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076935068012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:30:55] local.INFO: Packet analysis {"connection_id":175408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:30:55] local.INFO: Extracted packet for processing {"connection_id":175408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07693"} 
[2026-09-06 17:30:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906038016001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788695761000,"timestamp_ms":1788695761000,"timestamp_seconds":1788695761,"priority":1,"record_length":96,"hex_timestamp":"000001a076935068"} 
[2026-09-06 17:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:30: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-09-06 17: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:30:55] 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-09-06 17: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-09-06 17:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:30: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-09-06 17:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906038016001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906038016001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:30:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:30:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906038016001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":175408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:30:55] local.INFO: GPS data processed {"connection_id":175408,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:30:55] local.INFO: Acknowledgment sent {"connection_id":175408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:31:01] local.INFO: TCP Data received {"connection_id":174074,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:31:01] local.INFO: Processing buffer {"connection_id":174074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:31:01] local.INFO: IMEI packet received {"connection_id":174074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":174074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:31:05] local.INFO: TCP Data received {"connection_id":174074,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:31:05] local.INFO: Processing buffer {"connection_id":174074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:31:05] local.INFO: IMEI packet received {"connection_id":174074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":174074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:31:06] local.INFO: TCP Data received {"connection_id":174074,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076976360012d7d4a8005d290b00006007425..."} 
[2026-09-06 17:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076976360012d7d4a8005d290b00006007425..."} 
[2026-09-06 17:31:06] local.INFO: Processing buffer {"connection_id":174074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076976360012d7d4a8005d290b00006007425..."} 
[2026-09-06 17:31:06] local.INFO: Packet analysis {"connection_id":174074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:31:06] local.INFO: Extracted packet for processing {"connection_id":174074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763185792,"raw_latitude":97685680,"longitude_deg":76.3185792,"latitude_deg":9.768568,"altitude":6,"angle":116,"satellites":37,"speed":12,"hex_longitude":"2d7d4a80","hex_latitude":"05d290b0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 17:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906182400001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129146977941192704,"note":"Value kept but may cause issues"} 
[2026-09-06 17:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027676584304334848,"note":"Value kept but may cause issues"} 
[2026-09-06 17:31:06] 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-09-06 17:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788696028000,"timestamp_ms":1788696028000,"timestamp_seconds":1788696028,"priority":1,"record_length":96,"hex_timestamp":"000001a076976360"} 
[2026-09-06 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-09-06 17: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-09-06 17:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-06 17:31: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-09-06 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-09-06 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-09-06 17:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906182400001,"66":12982,"117":206,"85":15104,"24":12,"16":129146977941192704,"45":9027676584304334848},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 17:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906182400001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:31:06] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 17:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129146977941192704,"km_value":129146977941192.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027676584304334848,"description":"Unknown IO ID 45"} 
[2026-09-06 17:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906182400001,"power":12982,"unknown_117":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9027676584304334848}} 
[2026-09-06 17:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":174074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:31:06] local.INFO: GPS data processed {"connection_id":174074,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:31:06] local.INFO: Acknowledgment sent {"connection_id":174074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:31:07] local.INFO: TCP Data received {"connection_id":174074,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076976748012d7d4bc005d290400007006925..."} 
[2026-09-06 17:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076976748012d7d4bc005d290400007006925..."} 
[2026-09-06 17:31:07] local.INFO: Processing buffer {"connection_id":174074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076976748012d7d4bc005d290400007006925..."} 
[2026-09-06 17:31:07] local.INFO: Packet analysis {"connection_id":174074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:31:07] local.INFO: Extracted packet for processing {"connection_id":174074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763186112,"raw_latitude":97685568,"longitude_deg":76.3186112,"latitude_deg":9.7685568,"altitude":7,"angle":105,"satellites":37,"speed":18,"hex_longitude":"2d7d4bc0","hex_latitude":"05d29040","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906183168001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129146990826094592,"note":"Value kept but may cause issues"} 
[2026-09-06 17:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169165513469952,"note":"Value kept but may cause issues"} 
[2026-09-06 17:31: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-09-06 17:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788696029000,"timestamp_ms":1788696029000,"timestamp_seconds":1788696029,"priority":1,"record_length":96,"hex_timestamp":"000001a076976748"} 
[2026-09-06 17:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-06 17:31:07] 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-09-06 17: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-09-06 17:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906183168001,"66":13472,"117":206,"85":15104,"24":18,"16":129146990826094592,"45":9028169165513469952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 17:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906183168001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:31:07] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 17:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129146990826094592,"km_value":129146990826094.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169165513469952,"description":"Unknown IO ID 45"} 
[2026-09-06 17:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906183168001,"power":13472,"unknown_117":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9028169165513469952}} 
[2026-09-06 17:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":174074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:31:07] local.INFO: GPS data processed {"connection_id":174074,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:31:07] local.INFO: Acknowledgment sent {"connection_id":174074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:31:26] local.INFO: TCP Data received {"connection_id":175408,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:31:26] local.INFO: Processing buffer {"connection_id":175408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:31:26] local.INFO: Packet analysis {"connection_id":175408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:31:26] local.INFO: Extracted packet for processing {"connection_id":175408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:31:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906114816001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788696063000,"timestamp_ms":1788696063000,"timestamp_seconds":1788696063,"priority":1,"record_length":96,"hex_timestamp":"000001a07697ec18"} 
[2026-09-06 17:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 17:31: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-09-06 17: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-09-06 17:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:31: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-09-06 17:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906114816001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906114816001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:31:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:31:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906114816001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":175408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:31:26] local.INFO: GPS data processed {"connection_id":175408,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:31:26] local.INFO: Acknowledgment sent {"connection_id":175408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:31:39] local.INFO: TCP Data received {"connection_id":174074,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076976f18012d7d4f8005d28fc80007005d24..."} 
[2026-09-06 17:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076976f18012d7d4f8005d28fc80007005d24..."} 
[2026-09-06 17:31:39] local.INFO: Processing buffer {"connection_id":174074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076976f18012d7d4f8005d28fc80007005d24..."} 
[2026-09-06 17:31:39] local.INFO: Packet analysis {"connection_id":174074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:31:39] local.INFO: Extracted packet for processing {"connection_id":174074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763187072,"raw_latitude":97685448,"longitude_deg":76.3187072,"latitude_deg":9.7685448,"altitude":7,"angle":93,"satellites":36,"speed":22,"hex_longitude":"2d7d4f80","hex_latitude":"05d28fc8","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906183424001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129147038070734848,"note":"Value kept but may cause issues"} 
[2026-09-06 17:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028521009234329600,"note":"Value kept but may cause issues"} 
[2026-09-06 17:31:39] 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-09-06 17:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788696031000,"timestamp_ms":1788696031000,"timestamp_seconds":1788696031,"priority":1,"record_length":96,"hex_timestamp":"000001a076976f18"} 
[2026-09-06 17:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:31: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-09-06 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 17:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:31:39] 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-09-06 17:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906183424001,"66":12798,"117":206,"85":15104,"24":22,"16":129147038070734848,"45":9028521009234329600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 17:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906183424001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:31:39] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 17:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129147038070734848,"km_value":129147038070734.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028521009234329600,"description":"Unknown IO ID 45"} 
[2026-09-06 17:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906183424001,"power":12798,"unknown_117":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9028521009234329600}} 
[2026-09-06 17:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":174074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:31:39] local.INFO: GPS data processed {"connection_id":174074,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:31:39] local.INFO: Acknowledgment sent {"connection_id":174074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:31:47] local.INFO: TCP Data received {"connection_id":172674,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:31:47] local.INFO: Processing buffer {"connection_id":172674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:31:47] local.INFO: IMEI packet received {"connection_id":172674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":172674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:31:52] local.INFO: TCP Data received {"connection_id":172674,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:31:52] local.INFO: Processing buffer {"connection_id":172674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:31:52] local.INFO: IMEI packet received {"connection_id":172674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":172674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:31:53] local.INFO: TCP Data received {"connection_id":172674,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:31:53] local.INFO: Processing buffer {"connection_id":172674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:31:53] local.INFO: Packet analysis {"connection_id":172674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:31:53] local.INFO: Extracted packet for processing {"connection_id":172674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906114816001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788696063000,"timestamp_ms":1788696063000,"timestamp_seconds":1788696063,"priority":1,"record_length":96,"hex_timestamp":"000001a07697ec18"} 
[2026-09-06 17:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:31: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-09-06 17:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906114816001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906114816001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:31:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:31:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906114816001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":172674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:31:53] local.INFO: GPS data processed {"connection_id":172674,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:31:53] local.INFO: Acknowledgment sent {"connection_id":172674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:31:55] local.INFO: TCP Data received {"connection_id":172675,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:31:55] local.INFO: Processing buffer {"connection_id":172675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:31:55] local.INFO: IMEI packet received {"connection_id":172675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":172675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:31:57] local.INFO: TCP Data received {"connection_id":172675,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:31:57] local.INFO: Processing buffer {"connection_id":172675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:31:57] local.INFO: IMEI packet received {"connection_id":172675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":172675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:32:00] local.INFO: TCP Data received {"connection_id":172675,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:32:00] local.INFO: Processing buffer {"connection_id":172675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:32:00] local.INFO: IMEI packet received {"connection_id":172675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":172675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:32:01] local.INFO: TCP Data received {"connection_id":172675,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07697a1e0012d7d758005d28ed00009005a23..."} 
[2026-09-06 17:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07697a1e0012d7d758005d28ed00009005a23..."} 
[2026-09-06 17:32:01] local.INFO: Processing buffer {"connection_id":172675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07697a1e0012d7d758005d28ed00009005a23..."} 
[2026-09-06 17:32:01] local.INFO: Packet analysis {"connection_id":172675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:32:01] local.INFO: Extracted packet for processing {"connection_id":172675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:32:01] local.INFO: GPS Element Parsed {"raw_longitude":763196800,"raw_latitude":97685200,"longitude_deg":76.31968,"latitude_deg":9.76852,"altitude":9,"angle":90,"satellites":35,"speed":42,"hex_longitude":"2d7d7580","hex_latitude":"05d28ed0","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906183936001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129147501927202816,"note":"Value kept but may cause issues"} 
[2026-09-06 17:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029576540396963840,"note":"Value kept but may cause issues"} 
[2026-09-06 17:32:01] 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-09-06 17:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788696044000,"timestamp_ms":1788696044000,"timestamp_seconds":1788696044,"priority":1,"record_length":96,"hex_timestamp":"000001a07697a1e0"} 
[2026-09-06 17:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-06 17:32: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-09-06 17: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-09-06 17:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:32: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-09-06 17:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906183936001,"66":12982,"117":206,"85":15104,"24":42,"16":129147501927202816,"45":9029576540396963840},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 17:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906183936001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:32:01] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 17:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129147501927202816,"km_value":129147501927202.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029576540396963840,"description":"Unknown IO ID 45"} 
[2026-09-06 17:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906183936001,"power":12982,"unknown_117":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9029576540396963840}} 
[2026-09-06 17:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":172675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:32:01] local.INFO: GPS data processed {"connection_id":172675,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:32:01] local.INFO: Acknowledgment sent {"connection_id":172675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:32:02] local.INFO: TCP Data received {"connection_id":172675,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07697c8f0012d7d998005d28e480009005a24..."} 
[2026-09-06 17:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07697c8f0012d7d998005d28e480009005a24..."} 
[2026-09-06 17:32:02] local.INFO: Processing buffer {"connection_id":172675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07697c8f0012d7d998005d28e480009005a24..."} 
[2026-09-06 17:32:02] local.INFO: Packet analysis {"connection_id":172675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:32:02] local.INFO: Extracted packet for processing {"connection_id":172675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763206016,"raw_latitude":97685064,"longitude_deg":76.3206016,"latitude_deg":9.7685064,"altitude":9,"angle":90,"satellites":36,"speed":36,"hex_longitude":"2d7d9980","hex_latitude":"05d28e48","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906187264001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129147944308834304,"note":"Value kept but may cause issues"} 
[2026-09-06 17:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9040272589511905280,"note":"Value kept but may cause issues"} 
[2026-09-06 17:32:02] 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-09-06 17:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788696054000,"timestamp_ms":1788696054000,"timestamp_seconds":1788696054,"priority":1,"record_length":96,"hex_timestamp":"000001a07697c8f0"} 
[2026-09-06 17:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-06 17:32: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-09-06 17: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-09-06 17:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906187264001,"66":13222,"117":206,"85":15104,"24":36,"16":129147944308834304,"45":9040272589511905280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-06 17:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906187264001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:32:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-06 17:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129147944308834304,"km_value":129147944308834.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9040272589511905280,"description":"Unknown IO ID 45"} 
[2026-09-06 17:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906187264001,"power":13222,"unknown_117":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9040272589511905280}} 
[2026-09-06 17:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":172675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:32:02] local.INFO: GPS data processed {"connection_id":172675,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:32:02] local.INFO: Acknowledgment sent {"connection_id":172675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:32:24] local.INFO: TCP Data received {"connection_id":172674,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:32:24] local.INFO: Processing buffer {"connection_id":172674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:32:24] local.INFO: Packet analysis {"connection_id":172674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:32:24] local.INFO: Extracted packet for processing {"connection_id":172674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:32:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906114816001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788696063000,"timestamp_ms":1788696063000,"timestamp_seconds":1788696063,"priority":1,"record_length":96,"hex_timestamp":"000001a07697ec18"} 
[2026-09-06 17:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:32: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-09-06 17:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906114816001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906114816001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:32:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:32:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906114816001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":172674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:32:24] local.INFO: GPS data processed {"connection_id":172674,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:32:24] local.INFO: Acknowledgment sent {"connection_id":172674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:32:33] local.INFO: TCP Data received {"connection_id":172675,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076991cc8012d7e650005d306100006001623..."} 
[2026-09-06 17:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076991cc8012d7e650005d306100006001623..."} 
[2026-09-06 17:32:33] local.INFO: Processing buffer {"connection_id":172675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076991cc8012d7e650005d306100006001623..."} 
[2026-09-06 17:32:33] local.INFO: Packet analysis {"connection_id":172675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07699"} 
[2026-09-06 17:32:33] local.INFO: Extracted packet for processing {"connection_id":172675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07699"} 
[2026-09-06 17:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763258112,"raw_latitude":97715728,"longitude_deg":76.3258112,"latitude_deg":9.7715728,"altitude":6,"angle":22,"satellites":35,"speed":14,"hex_longitude":"2d7e6500","hex_latitude":"05d30610","is_valid_coordinates":true} 
[2026-09-06 17:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906211840001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129151324448096256,"note":"Value kept but may cause issues"} 
[2026-09-06 17:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107474740209324032,"note":"Value kept but may cause issues"} 
[2026-09-06 17:32:33] 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-09-06 17:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788696141000,"timestamp_ms":1788696141000,"timestamp_seconds":1788696141,"priority":1,"record_length":96,"hex_timestamp":"000001a076991cc8"} 
[2026-09-06 17:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-06 17:32:33] 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-09-06 17:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:32:33] 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-09-06 17:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906211840001,"66":13580,"116":206,"85":15104,"24":14,"16":129151324448096256,"45":9107474740209324032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-09-06 17:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906211840001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:32:33] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-06 17:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129151324448096256,"km_value":129151324448096.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107474740209324032,"description":"Unknown IO ID 45"} 
[2026-09-06 17:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906211840001,"power":13580,"unknown_116":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9107474740209324032}} 
[2026-09-06 17:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":172675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:32:34] local.INFO: GPS data processed {"connection_id":172675,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:32:34] local.INFO: Acknowledgment sent {"connection_id":172675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:32:47] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:32:47] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:32:47] local.INFO: IMEI packet received {"connection_id":175409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":175409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:32:52] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:32:52] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:32:52] local.INFO: IMEI packet received {"connection_id":175409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":175409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:32:53] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:32:53] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:32:53] local.INFO: Packet analysis {"connection_id":175409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:32:53] local.INFO: Extracted packet for processing {"connection_id":175409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906114816001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788696063000,"timestamp_ms":1788696063000,"timestamp_seconds":1788696063,"priority":1,"record_length":96,"hex_timestamp":"000001a07697ec18"} 
[2026-09-06 17:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:32: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-09-06 17:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906114816001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906114816001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:32:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906114816001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":175409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:32:53] local.INFO: GPS data processed {"connection_id":175409,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:32:53] local.INFO: Acknowledgment sent {"connection_id":175409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:32:55] local.INFO: TCP Data received {"connection_id":172676,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:32:55] local.INFO: Processing buffer {"connection_id":172676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:32:55] local.INFO: IMEI packet received {"connection_id":172676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":172676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:32:59] local.INFO: TCP Data received {"connection_id":172676,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:32:59] local.INFO: Processing buffer {"connection_id":172676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:32:59] local.INFO: IMEI packet received {"connection_id":172676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":172676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:33:00] local.INFO: TCP Data received {"connection_id":172676,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0769920b0012d7e65c005d307580006000723..."} 
[2026-09-06 17:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769920b0012d7e65c005d307580006000723..."} 
[2026-09-06 17:33:00] local.INFO: Processing buffer {"connection_id":172676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769920b0012d7e65c005d307580006000723..."} 
[2026-09-06 17:33:00] local.INFO: Packet analysis {"connection_id":172676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07699"} 
[2026-09-06 17:33:00] local.INFO: Extracted packet for processing {"connection_id":172676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07699"} 
[2026-09-06 17:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763258304,"raw_latitude":97716056,"longitude_deg":76.3258304,"latitude_deg":9.7716056,"altitude":6,"angle":7,"satellites":35,"speed":15,"hex_longitude":"2d7e65c0","hex_latitude":"05d30758","is_valid_coordinates":true} 
[2026-09-06 17:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906212096001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129151341627965440,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107685846441922560,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:00] 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-09-06 17:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788696142000,"timestamp_ms":1788696142000,"timestamp_seconds":1788696142,"priority":1,"record_length":96,"hex_timestamp":"000001a0769920b0"} 
[2026-09-06 17:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 17:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631061,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3537768448,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633436454299252,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3830896423264583680,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:00] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2567264257,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792620238,"corrected_to":0} 
[2026-09-06 17:33:00] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242726,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:00] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:00] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3595239424,"corrected_to":0} 
[2026-09-06 17:33:00] local.WARNING: Large IO value detected {"io_id":126,"raw_value":6287031482883506185,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:00] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-576234637508948395,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:00] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755528290205937,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:00] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,116,85,24,241,157,16,214,160,45,64,5,6,35,10,66,13,192,3,4,9,1,240,215,227,118,211,113,205,26,90,184,239,47,2,202,8,33,126,50,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2792620238,"validated":0},{"io_id":202,"original":3595239424,"validated":0}]} 
[2026-09-06 17:33:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432369903808151552,"timestamp_seconds":432369903808151.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 17:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:33:00] 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-09-06 17:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906212096001,"66":13580,"116":206,"85":15104,"24":15,"16":129151341627965440,"45":9107685846441922560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-09-06 17:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906212096001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:33:00] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-06 17:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129151341627965440,"km_value":129151341627965.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107685846441922560,"description":"Unknown IO ID 45"} 
[2026-09-06 17:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906212096001,"power":13580,"unknown_116":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9107685846441922560}} 
[2026-09-06 17:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":172676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:33:00] local.INFO: GPS data processed {"connection_id":172676,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:33:00] local.INFO: Acknowledgment sent {"connection_id":172676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:33:25] local.INFO: TCP Data received {"connection_id":175409,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:33:25] local.INFO: Processing buffer {"connection_id":175409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:33:25] local.INFO: Packet analysis {"connection_id":175409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:33:25] local.INFO: Extracted packet for processing {"connection_id":175409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:33:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906114816001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788696063000,"timestamp_ms":1788696063000,"timestamp_seconds":1788696063,"priority":1,"record_length":96,"hex_timestamp":"000001a07697ec18"} 
[2026-09-06 17:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 17:33: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-09-06 17: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-09-06 17:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:33:25] 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-09-06 17:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906114816001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906114816001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:33:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:33:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906114816001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":175409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:33:25] local.INFO: GPS data processed {"connection_id":175409,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:33:25] local.INFO: Acknowledgment sent {"connection_id":175409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:33:31] local.INFO: TCP Data received {"connection_id":172676,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0769a0b10012d7e30c005d353380006009724..."} 
[2026-09-06 17:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769a0b10012d7e30c005d353380006009724..."} 
[2026-09-06 17:33:31] local.INFO: Processing buffer {"connection_id":172676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769a0b10012d7e30c005d353380006009724..."} 
[2026-09-06 17:33:31] local.INFO: Packet analysis {"connection_id":172676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:33:31] local.INFO: Extracted packet for processing {"connection_id":172676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:33:31] local.INFO: GPS Element Parsed {"raw_longitude":763244736,"raw_latitude":97735480,"longitude_deg":76.3244736,"latitude_deg":9.773548,"altitude":6,"angle":151,"satellites":36,"speed":8,"hex_longitude":"2d7e30c0","hex_latitude":"05d35338","is_valid_coordinates":true} 
[2026-09-06 17:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906227456001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129152879226257408,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092838041425532928,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33: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-09-06 17:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788696202000,"timestamp_ms":1788696202000,"timestamp_seconds":1788696202,"priority":1,"record_length":96,"hex_timestamp":"000001a0769a0b10"} 
[2026-09-06 17:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-06 17:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:33:31] 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-09-06 17:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906227456001,"66":13472,"109":206,"85":15104,"24":8,"16":129152879226257408,"45":9092838041425532928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906227456001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:33:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:33:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129152879226257408,"km_value":129152879226257.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092838041425532928,"description":"Unknown IO ID 45"} 
[2026-09-06 17:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906227456001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9092838041425532928}} 
[2026-09-06 17:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":172676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:33:31] local.INFO: GPS data processed {"connection_id":172676,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:33:31] local.INFO: Acknowledgment sent {"connection_id":172676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:33:47] local.INFO: TCP Data received {"connection_id":174075,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:33:47] local.INFO: Processing buffer {"connection_id":174075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:33:47] local.INFO: IMEI packet received {"connection_id":174075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":174075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:33:52] local.INFO: TCP Data received {"connection_id":174075,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:33:52] local.INFO: Processing buffer {"connection_id":174075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:33:52] local.INFO: IMEI packet received {"connection_id":174075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":174075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:33:54] local.INFO: TCP Data received {"connection_id":174075,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:33:54] local.INFO: Processing buffer {"connection_id":174075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:33:54] local.INFO: Packet analysis {"connection_id":174075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:33:54] local.INFO: Extracted packet for processing {"connection_id":174075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:33:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906114816001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:33: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-09-06 17:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788696063000,"timestamp_ms":1788696063000,"timestamp_seconds":1788696063,"priority":1,"record_length":96,"hex_timestamp":"000001a07697ec18"} 
[2026-09-06 17:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:33: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-09-06 17:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 17:33: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-09-06 17:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:33: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-09-06 17:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906114816001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906114816001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:33:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:33:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906114816001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":174075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:33:54] local.INFO: GPS data processed {"connection_id":174075,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:33:54] local.INFO: Acknowledgment sent {"connection_id":174075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:33:55] local.INFO: TCP Data received {"connection_id":174076,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:33:55] local.INFO: Processing buffer {"connection_id":174076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:33:55] local.INFO: IMEI packet received {"connection_id":174076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":174076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:34:00] local.INFO: TCP Data received {"connection_id":174076,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:34:00] local.INFO: Processing buffer {"connection_id":174076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:34:00] local.INFO: IMEI packet received {"connection_id":174076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":174076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:34:01] local.INFO: TCP Data received {"connection_id":174076,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0769a1e98012d7e340005d34ef00006008924..."} 
[2026-09-06 17:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769a1e98012d7e340005d34ef00006008924..."} 
[2026-09-06 17:34:01] local.INFO: Processing buffer {"connection_id":174076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769a1e98012d7e340005d34ef00006008924..."} 
[2026-09-06 17:34:01] local.INFO: Packet analysis {"connection_id":174076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:34:01] local.INFO: Extracted packet for processing {"connection_id":174076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763245568,"raw_latitude":97734384,"longitude_deg":76.3245568,"latitude_deg":9.7734384,"altitude":6,"angle":137,"satellites":36,"speed":11,"hex_longitude":"2d7e3400","hex_latitude":"05d34ef0","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906227712001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129152943650766848,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092978778913847296,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34: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-09-06 17:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788696207000,"timestamp_ms":1788696207000,"timestamp_seconds":1788696207,"priority":1,"record_length":96,"hex_timestamp":"000001a0769a1e98"} 
[2026-09-06 17:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 17:34:01] 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-09-06 17: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-09-06 17:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:34: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-09-06 17:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906227712001,"66":13830,"109":206,"85":15104,"24":11,"16":129152943650766848,"45":9092978778913847296},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906227712001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:34:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129152943650766848,"km_value":129152943650766.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092978778913847296,"description":"Unknown IO ID 45"} 
[2026-09-06 17:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906227712001,"power":13830,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9092978778913847296}} 
[2026-09-06 17:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":174076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:34:01] local.INFO: GPS data processed {"connection_id":174076,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:34:01] local.INFO: Acknowledgment sent {"connection_id":174076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:34:24] local.INFO: TCP Data received {"connection_id":172918,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:34:24] local.INFO: Processing buffer {"connection_id":172918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:34:24] local.INFO: IMEI packet received {"connection_id":172918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 17:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":172918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:34:26] local.INFO: TCP Data received {"connection_id":174075,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:34:26] local.INFO: Processing buffer {"connection_id":174075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:34:26] local.INFO: Packet analysis {"connection_id":174075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:34:26] local.INFO: Extracted packet for processing {"connection_id":174075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:34:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906114816001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34: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-09-06 17:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788696063000,"timestamp_ms":1788696063000,"timestamp_seconds":1788696063,"priority":1,"record_length":96,"hex_timestamp":"000001a07697ec18"} 
[2026-09-06 17:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:34: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-09-06 17:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 17:34: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-09-06 17:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:34: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-09-06 17:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906114816001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906114816001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:34:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:34:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906114816001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":174075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:34:26] local.INFO: GPS data processed {"connection_id":174075,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:34:26] local.INFO: Acknowledgment sent {"connection_id":174075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:34:32] local.INFO: TCP Data received {"connection_id":174076,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0769a2280012d7e34c005d34e500006007924..."} 
[2026-09-06 17:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769a2280012d7e34c005d34e500006007924..."} 
[2026-09-06 17:34:32] local.INFO: Processing buffer {"connection_id":174076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769a2280012d7e34c005d34e500006007924..."} 
[2026-09-06 17:34:32] local.INFO: Packet analysis {"connection_id":174076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:34:32] local.INFO: Extracted packet for processing {"connection_id":174076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97734224,"longitude_deg":76.324576,"latitude_deg":9.7734224,"altitude":6,"angle":121,"satellites":36,"speed":11,"hex_longitude":"2d7e34c0","hex_latitude":"05d34e50","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906228992001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129152956535668736,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093893572587876352,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34:32] 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-09-06 17:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788696208000,"timestamp_ms":1788696208000,"timestamp_seconds":1788696208,"priority":1,"record_length":96,"hex_timestamp":"000001a0769a2280"} 
[2026-09-06 17:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-06 17:34:32] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3377708326256640,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627215757312,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34:32] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3607101440,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34:32] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2583648257,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-06 17:34:32] local.WARNING: Large IO value detected {"io_id":239,"raw_value":-5187815275684166189,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34:32] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3620929536,"corrected_to":0} 
[2026-09-06 17:34:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545669632,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34:32] local.WARNING: Large IO value detected {"io_id":87,"raw_value":-5764600921717473264,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34:32] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,109,85,24,241,157,16,215,160,11,45,192,83,6,36,10,66,7,64,3,1,240,34,227,118,211,4,113,205,8,251,49,248,239,52,2,202,5,12,87],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":202,"original":3620929536,"validated":0}]} 
[2026-09-06 17:34:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432496351940116480,"timestamp_seconds":432496351940116.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 17:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:34:32] 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-09-06 17:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906228992001,"66":13830,"109":206,"85":15104,"24":11,"16":129152956535668736,"45":9093893572587876352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906228992001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:34:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:34:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129152956535668736,"km_value":129152956535668.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093893572587876352,"description":"Unknown IO ID 45"} 
[2026-09-06 17:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906228992001,"power":13830,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9093893572587876352}} 
[2026-09-06 17:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":174076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:34:32] local.INFO: GPS data processed {"connection_id":174076,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:34:32] local.INFO: Acknowledgment sent {"connection_id":174076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:34:47] local.INFO: TCP Data received {"connection_id":175411,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:34:47] local.INFO: Processing buffer {"connection_id":175411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:34:47] local.INFO: IMEI packet received {"connection_id":175411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":175411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:34:49] local.INFO: TCP Data received {"connection_id":172919,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:34:49] local.INFO: Processing buffer {"connection_id":172919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:34:49] local.INFO: IMEI packet received {"connection_id":172919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 17:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":172919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:34:52] local.INFO: TCP Data received {"connection_id":175411,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:34:52] local.INFO: Processing buffer {"connection_id":175411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:34:52] local.INFO: IMEI packet received {"connection_id":175411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":175411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:34:53] local.INFO: TCP Data received {"connection_id":175411,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:34:53] local.INFO: Processing buffer {"connection_id":175411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:34:53] local.INFO: Packet analysis {"connection_id":175411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:34:53] local.INFO: Extracted packet for processing {"connection_id":175411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906114816001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788696063000,"timestamp_ms":1788696063000,"timestamp_seconds":1788696063,"priority":1,"record_length":96,"hex_timestamp":"000001a07697ec18"} 
[2026-09-06 17:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 17:34: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-09-06 17: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-09-06 17:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:34: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-09-06 17:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906114816001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906114816001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906114816001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":175411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:34:53] local.INFO: GPS data processed {"connection_id":175411,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:34:53] local.INFO: Acknowledgment sent {"connection_id":175411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:34:55] local.INFO: TCP Data received {"connection_id":174077,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:34:55] local.INFO: Processing buffer {"connection_id":174077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:34:55] local.INFO: IMEI packet received {"connection_id":174077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":174077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:35:00] local.INFO: TCP Data received {"connection_id":174077,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:35:00] local.INFO: Processing buffer {"connection_id":174077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:35:00] local.INFO: IMEI packet received {"connection_id":174077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":174077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:35:01] local.INFO: TCP Data received {"connection_id":174077,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0769a2668012d7e360005d34df80006006524..."} 
[2026-09-06 17:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769a2668012d7e360005d34df80006006524..."} 
[2026-09-06 17:35:01] local.INFO: Processing buffer {"connection_id":174077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769a2668012d7e360005d34df80006006524..."} 
[2026-09-06 17:35:01] local.INFO: Packet analysis {"connection_id":174077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:35:01] local.INFO: Extracted packet for processing {"connection_id":174077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734136,"longitude_deg":76.324608,"latitude_deg":9.7734136,"altitude":6,"angle":101,"satellites":36,"speed":10,"hex_longitude":"2d7e3600","hex_latitude":"05d34df8","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906229248001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129152973715537920,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820368384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35: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-09-06 17:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788696209000,"timestamp_ms":1788696209000,"timestamp_seconds":1788696209,"priority":1,"record_length":96,"hex_timestamp":"000001a0769a2668"} 
[2026-09-06 17:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-06 17:35:01] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2533283396124672,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627215756544,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35:01] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35:01] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2583904257,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-06 17:35:01] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3221607253,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35:01] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3621060608,"corrected_to":0} 
[2026-09-06 17:35:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545626624,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35:01] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":-8646579789550844461,"corrected_to":0} 
[2026-09-06 17:35:01] local.WARNING: Large IO value detected {"io_id":86,"raw_value":-6917522426575978484,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35:01] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,109,85,24,241,157,16,215,160,30,45,78,6,36,10,66,11,192,83,7,64,1,240,197,227,118,211,4,113,205,255,48,72,239,53,2,202,5,9,247,86],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":202,"original":3621060608,"validated":0},{"io_id":247,"original":-8646579789550844461,"validated":0}]} 
[2026-09-06 17:35:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432478759754072064,"timestamp_seconds":432478759754072.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 17:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:35: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-09-06 17:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906229248001,"66":13189,"109":206,"85":15104,"24":10,"16":129152973715537920,"45":9094104678820368384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906229248001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:35:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:35:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129152973715537920,"km_value":129152973715537.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820368384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906229248001,"power":13189,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9094104678820368384}} 
[2026-09-06 17:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":174077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:35:01] local.INFO: GPS data processed {"connection_id":174077,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:35:01] local.INFO: Acknowledgment sent {"connection_id":174077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:35:26] local.INFO: TCP Data received {"connection_id":175411,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:35:26] local.INFO: Processing buffer {"connection_id":175411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:35:26] local.INFO: Packet analysis {"connection_id":175411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:35:26] local.INFO: Extracted packet for processing {"connection_id":175411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:35:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906114816001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35: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-09-06 17:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788696063000,"timestamp_ms":1788696063000,"timestamp_seconds":1788696063,"priority":1,"record_length":96,"hex_timestamp":"000001a07697ec18"} 
[2026-09-06 17:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 17:35: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-09-06 17: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-09-06 17:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:35: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-09-06 17:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906114816001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906114816001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:35:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:35:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906114816001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":175411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:35:26] local.INFO: GPS data processed {"connection_id":175411,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:35:26] local.INFO: Acknowledgment sent {"connection_id":175411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:35:32] local.INFO: TCP Data received {"connection_id":174077,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0769a2a50012d7e370005d34e000006005224..."} 
[2026-09-06 17:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769a2a50012d7e370005d34e000006005224..."} 
[2026-09-06 17:35:32] local.INFO: Processing buffer {"connection_id":174077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769a2a50012d7e370005d34e000006005224..."} 
[2026-09-06 17:35:32] local.INFO: Packet analysis {"connection_id":174077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:35:32] local.INFO: Extracted packet for processing {"connection_id":174077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97734144,"longitude_deg":76.3246336,"latitude_deg":9.7734144,"altitude":6,"angle":82,"satellites":36,"speed":10,"hex_longitude":"2d7e3700","hex_latitude":"05d34e00","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906229504001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129152982305472512,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541234176,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35:32] 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-09-06 17:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788696210000,"timestamp_ms":1788696210000,"timestamp_seconds":1788696210,"priority":1,"record_length":96,"hex_timestamp":"000001a0769a2a50"} 
[2026-09-06 17:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-06 17:35:32] 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-09-06 17: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-09-06 17:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:35:32] 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-09-06 17:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906229504001,"66":13189,"109":206,"85":15104,"24":10,"16":129152982305472512,"45":9094456522541234176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906229504001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:35:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129152982305472512,"km_value":129152982305472.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541234176,"description":"Unknown IO ID 45"} 
[2026-09-06 17:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906229504001,"power":13189,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9094456522541234176}} 
[2026-09-06 17:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":174077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:35:32] local.INFO: GPS data processed {"connection_id":174077,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:35:32] local.INFO: Acknowledgment sent {"connection_id":174077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:35:47] local.INFO: TCP Data received {"connection_id":172678,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:35:47] local.INFO: Processing buffer {"connection_id":172678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:35:47] local.INFO: IMEI packet received {"connection_id":172678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":172678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:35:52] local.INFO: TCP Data received {"connection_id":172678,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:35:52] local.INFO: Processing buffer {"connection_id":172678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:35:52] local.INFO: IMEI packet received {"connection_id":172678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":172678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:35:53] local.INFO: TCP Data received {"connection_id":172678,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:35:53] local.INFO: Processing buffer {"connection_id":172678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07697ec18012d34c50006aa3d30000e013526..."} 
[2026-09-06 17:35:53] local.INFO: Packet analysis {"connection_id":172678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:35:53] local.INFO: Extracted packet for processing {"connection_id":172678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07697"} 
[2026-09-06 17:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906114816001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788696063000,"timestamp_ms":1788696063000,"timestamp_seconds":1788696063,"priority":1,"record_length":96,"hex_timestamp":"000001a07697ec18"} 
[2026-09-06 17:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:35: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-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:35: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-09-06 17:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906114816001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906114816001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:35:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906114816001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":172678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:35:53] local.INFO: GPS data processed {"connection_id":172678,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:35:53] local.INFO: Acknowledgment sent {"connection_id":172678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:36:00] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:36:00] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:36:00] local.INFO: IMEI packet received {"connection_id":175412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":175412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:36:05] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:36:05] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:36:05] local.INFO: IMEI packet received {"connection_id":175412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":175412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:36:06] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0769a2e38012d7e37c005d34e500005004523..."} 
[2026-09-06 17:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769a2e38012d7e37c005d34e500005004523..."} 
[2026-09-06 17:36:06] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769a2e38012d7e37c005d34e500005004523..."} 
[2026-09-06 17:36:06] local.INFO: Packet analysis {"connection_id":175412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:36:06] local.INFO: Extracted packet for processing {"connection_id":175412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734224,"longitude_deg":76.3246528,"latitude_deg":9.7734224,"altitude":5,"angle":69,"satellites":35,"speed":8,"hex_longitude":"2d7e37c0","hex_latitude":"05d34e50","is_valid_coordinates":true} 
[2026-09-06 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-09-06 17:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906229760001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129152995190374400,"note":"Value kept but may cause issues"} 
[2026-09-06 17:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997517946880,"note":"Value kept but may cause issues"} 
[2026-09-06 17:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788696211000,"timestamp_ms":1788696211000,"timestamp_seconds":1788696211,"priority":1,"record_length":96,"hex_timestamp":"000001a0769a2e38"} 
[2026-09-06 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-09-06 17:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-06 17:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 17:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906229760001,"66":13363,"109":206,"85":15104,"24":8,"16":129152995190374400,"45":9094737997517946880},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906229760001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:36:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129152995190374400,"km_value":129152995190374.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997517946880,"description":"Unknown IO ID 45"} 
[2026-09-06 17:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906229760001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9094737997517946880}} 
[2026-09-06 17:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":175412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:36:06] local.INFO: GPS data processed {"connection_id":175412,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:36:06] local.INFO: Acknowledgment sent {"connection_id":175412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:36:07] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0769a4990012d7e364005d34e78000400f224..."} 
[2026-09-06 17:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769a4990012d7e364005d34e78000400f224..."} 
[2026-09-06 17:36:07] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769a4990012d7e364005d34e78000400f224..."} 
[2026-09-06 17:36:07] local.INFO: Packet analysis {"connection_id":175412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:36:07] local.INFO: Extracted packet for processing {"connection_id":175412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734264,"longitude_deg":76.3246144,"latitude_deg":9.7734264,"altitude":4,"angle":242,"satellites":36,"speed":6,"hex_longitude":"2d7e3640","hex_latitude":"05d34e78","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906230016001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153029550112768,"note":"Value kept but may cause issues"} 
[2026-09-06 17:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750500352,"note":"Value kept but may cause issues"} 
[2026-09-06 17:36:07] 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-09-06 17:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788696218000,"timestamp_ms":1788696218000,"timestamp_seconds":1788696218,"priority":1,"record_length":96,"hex_timestamp":"000001a0769a4990"} 
[2026-09-06 17:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-06 17:36:07] 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-09-06 17: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-09-06 17:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906230016001,"66":13504,"109":206,"85":15104,"24":6,"16":129153029550112768,"45":9094949103750500352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906230016001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:36:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153029550112768,"km_value":129153029550112.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750500352,"description":"Unknown IO ID 45"} 
[2026-09-06 17:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906230016001,"power":13504,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9094949103750500352}} 
[2026-09-06 17:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":175412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:36:07] local.INFO: GPS data processed {"connection_id":175412,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:36:07] local.INFO: Acknowledgment sent {"connection_id":175412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:36:25] local.INFO: TCP Data received {"connection_id":172678,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:36:25] local.INFO: Processing buffer {"connection_id":172678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:36:25] local.INFO: Packet analysis {"connection_id":172678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:36:25] local.INFO: Extracted packet for processing {"connection_id":172678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:36:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906192128001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:36: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-09-06 17:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788696363000,"timestamp_ms":1788696363000,"timestamp_seconds":1788696363,"priority":1,"record_length":96,"hex_timestamp":"000001a0769c7ff8"} 
[2026-09-06 17:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:36: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-09-06 17: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:36:25] 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-09-06 17:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906192128001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906192128001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:36:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:36:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906192128001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":172678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:36:25] local.INFO: GPS data processed {"connection_id":172678,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:36:25] local.INFO: Acknowledgment sent {"connection_id":172678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:36:38] local.INFO: TCP Data received {"connection_id":175412,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0769a4d78012d7e360005d34e08000400d724..."} 
[2026-09-06 17:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769a4d78012d7e360005d34e08000400d724..."} 
[2026-09-06 17:36:38] local.INFO: Processing buffer {"connection_id":175412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769a4d78012d7e360005d34e08000400d724..."} 
[2026-09-06 17:36:38] local.INFO: Packet analysis {"connection_id":175412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:36:38] local.INFO: Extracted packet for processing {"connection_id":175412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734152,"longitude_deg":76.324608,"latitude_deg":9.7734152,"altitude":4,"angle":215,"satellites":36,"speed":5,"hex_longitude":"2d7e3600","hex_latitude":"05d34e08","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906231808001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153038140047360,"note":"Value kept but may cause issues"} 
[2026-09-06 17:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285444608,"note":"Value kept but may cause issues"} 
[2026-09-06 17:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788696219000,"timestamp_ms":1788696219000,"timestamp_seconds":1788696219,"priority":1,"record_length":96,"hex_timestamp":"000001a0769a4d78"} 
[2026-09-06 17:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:36: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-09-06 17: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-06 17:36:38] 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-09-06 17: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-09-06 17:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:36:38] 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-09-06 17:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906231808001,"66":13526,"109":206,"85":15104,"24":5,"16":129153038140047360,"45":9094526891285444608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906231808001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:36:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153038140047360,"km_value":129153038140047.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285444608,"description":"Unknown IO ID 45"} 
[2026-09-06 17:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906231808001,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9094526891285444608}} 
[2026-09-06 17:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":175412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:36:38] local.INFO: GPS data processed {"connection_id":175412,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:36:38] local.INFO: Acknowledgment sent {"connection_id":175412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:36:47] local.INFO: TCP Data received {"connection_id":172680,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:36:47] local.INFO: Processing buffer {"connection_id":172680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:36:47] local.INFO: IMEI packet received {"connection_id":172680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":172680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:36:52] local.INFO: TCP Data received {"connection_id":172680,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:36:52] local.INFO: Processing buffer {"connection_id":172680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:36:52] local.INFO: IMEI packet received {"connection_id":172680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":172680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:36:53] local.INFO: TCP Data received {"connection_id":172680,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:36:53] local.INFO: Processing buffer {"connection_id":172680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:36:53] local.INFO: Packet analysis {"connection_id":172680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:36:53] local.INFO: Extracted packet for processing {"connection_id":172680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:36:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906192128001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788696363000,"timestamp_ms":1788696363000,"timestamp_seconds":1788696363,"priority":1,"record_length":96,"hex_timestamp":"000001a0769c7ff8"} 
[2026-09-06 17:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:36: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-09-06 17: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:36: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-09-06 17:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906192128001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906192128001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:36:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:36:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906192128001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":172680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:36:53] local.INFO: GPS data processed {"connection_id":172680,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:36:53] local.INFO: Acknowledgment sent {"connection_id":172680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:36:55] local.INFO: TCP Data received {"connection_id":172921,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:36:55] local.INFO: Processing buffer {"connection_id":172921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:36:55] local.INFO: IMEI packet received {"connection_id":172921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":172921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:37:00] local.INFO: TCP Data received {"connection_id":172921,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:37:00] local.INFO: Processing buffer {"connection_id":172921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:37:00] local.INFO: IMEI packet received {"connection_id":172921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":172921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:37:01] local.INFO: TCP Data received {"connection_id":172921,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0769a9b98012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769a9b98012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:37:01] local.INFO: Processing buffer {"connection_id":172921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769a9b98012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:37:01] local.INFO: Packet analysis {"connection_id":172921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:37:01] local.INFO: Extracted packet for processing {"connection_id":172921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733816,"longitude_deg":76.3246016,"latitude_deg":9.7733816,"altitude":4,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906232064001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541238272,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37: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-09-06 17:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788696239000,"timestamp_ms":1788696239000,"timestamp_seconds":1788696239,"priority":1,"record_length":96,"hex_timestamp":"000001a0769a9b98"} 
[2026-09-06 17:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-06 17:37:01] 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-09-06 17: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-09-06 17:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:37: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-09-06 17:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906232064001,"66":13820,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094456522541238272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906232064001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:37:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541238272,"description":"Unknown IO ID 45"} 
[2026-09-06 17:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906232064001,"power":13820,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541238272}} 
[2026-09-06 17:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":172921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:37:01] local.INFO: GPS data processed {"connection_id":172921,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:37:01] local.INFO: Acknowledgment sent {"connection_id":172921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:37:05] local.INFO: TCP Data received {"connection_id":172921,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0769aeda0012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769aeda0012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:37:05] local.INFO: Processing buffer {"connection_id":172921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769aeda0012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:37:05] local.INFO: Packet analysis {"connection_id":172921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:37:05] local.INFO: Extracted packet for processing {"connection_id":172921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769a"} 
[2026-09-06 17:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733816,"longitude_deg":76.3246016,"latitude_deg":9.7733816,"altitude":4,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906237184001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153796974592,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37: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-09-06 17:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788696260000,"timestamp_ms":1788696260000,"timestamp_seconds":1788696260,"priority":1,"record_length":96,"hex_timestamp":"000001a0769aeda0"} 
[2026-09-06 17:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-06 17:37:05] 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-09-06 17: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-09-06 17:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:37:05] 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-09-06 17:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906237184001,"66":13580,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094386153796974592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906237184001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:37:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153796974592,"description":"Unknown IO ID 45"} 
[2026-09-06 17:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906237184001,"power":13580,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153796974592}} 
[2026-09-06 17:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":172921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:37:05] local.INFO: GPS data processed {"connection_id":172921,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:37:05] local.INFO: Acknowledgment sent {"connection_id":172921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:37:25] local.INFO: TCP Data received {"connection_id":172680,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:37:25] local.INFO: Processing buffer {"connection_id":172680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:37:25] local.INFO: Packet analysis {"connection_id":172680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:37:25] local.INFO: Extracted packet for processing {"connection_id":172680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:37:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906192128001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788696363000,"timestamp_ms":1788696363000,"timestamp_seconds":1788696363,"priority":1,"record_length":96,"hex_timestamp":"000001a0769c7ff8"} 
[2026-09-06 17:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:37: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-09-06 17: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:37:25] 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-09-06 17:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906192128001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906192128001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:37:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:37:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906192128001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":172680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:37:25] local.INFO: GPS data processed {"connection_id":172680,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:37:25] local.INFO: Acknowledgment sent {"connection_id":172680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:37:36] local.INFO: TCP Data received {"connection_id":172921,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0769b3fa8012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769b3fa8012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:37:36] local.INFO: Processing buffer {"connection_id":172921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769b3fa8012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:37:36] local.INFO: Packet analysis {"connection_id":172921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769b"} 
[2026-09-06 17:37:36] local.INFO: Extracted packet for processing {"connection_id":172921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769b"} 
[2026-09-06 17:37:36] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733816,"longitude_deg":76.3246016,"latitude_deg":9.7733816,"altitude":4,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906242560001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153796974592,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37: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-09-06 17:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788696281000,"timestamp_ms":1788696281000,"timestamp_seconds":1788696281,"priority":1,"record_length":96,"hex_timestamp":"000001a0769b3fa8"} 
[2026-09-06 17:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-06 17:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631063,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633994800024941,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3830326876241395712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:36] local.WARNING: Large IO value detected {"io_id":215,"raw_value":4278190080,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:36] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2586720257,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-06 17:37:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422285,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:36] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:36] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3623092224,"corrected_to":0} 
[2026-09-06 17:37:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545102336,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:36] local.WARNING: Large IO value detected {"io_id":126,"raw_value":3801044490610802694,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:36] local.WARNING: Large IO value detected {"io_id":54,"raw_value":432571296652512853,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:36] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:36] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,109,85,24,241,157,16,216,160,155,45,192,76,4,35,10,66,77,78,36,73,64,1,240,227,215,118,211,113,205,8,42,55,239,51,2,202,5,6,126,54,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":202,"original":3623092224,"validated":0}]} 
[2026-09-06 17:37:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288466921475538944,"timestamp_seconds":288466921475538.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-06 17:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":172921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":172921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":172921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:37:36] 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-09-06 17:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906242560001,"66":13363,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094386153796974592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906242560001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:37:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:37:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153796974592,"description":"Unknown IO ID 45"} 
[2026-09-06 17:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906242560001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153796974592}} 
[2026-09-06 17:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":172921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:37:36] local.INFO: GPS data processed {"connection_id":172921,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:37:36] local.INFO: Acknowledgment sent {"connection_id":172921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:37:47] local.INFO: TCP Data received {"connection_id":175413,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:37:47] local.INFO: Processing buffer {"connection_id":175413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:37:47] local.INFO: IMEI packet received {"connection_id":175413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":175413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:37:52] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:37:52] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:37:52] local.INFO: IMEI packet received {"connection_id":175414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":175414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:37:52] local.INFO: TCP Data received {"connection_id":175413,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:37:52] local.INFO: Processing buffer {"connection_id":175413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:37:52] local.INFO: IMEI packet received {"connection_id":175413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":175413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:37:54] local.INFO: TCP Data received {"connection_id":175413,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:37:54] local.INFO: Processing buffer {"connection_id":175413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:37:54] local.INFO: Packet analysis {"connection_id":175413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:37:54] local.INFO: Extracted packet for processing {"connection_id":175413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:37:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906192128001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:37: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-09-06 17:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788696363000,"timestamp_ms":1788696363000,"timestamp_seconds":1788696363,"priority":1,"record_length":96,"hex_timestamp":"000001a0769c7ff8"} 
[2026-09-06 17:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:37: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-09-06 17:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906192128001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906192128001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:37:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:37:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906192128001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":175413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:37:54] local.INFO: GPS data processed {"connection_id":175413,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:37:54] local.INFO: Acknowledgment sent {"connection_id":175413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:37:55] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:37:55] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:37:55] local.INFO: IMEI packet received {"connection_id":175414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":175414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:38:00] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:38:00] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:38:00] local.INFO: IMEI packet received {"connection_id":175414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":175414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:38:00] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0769b91b0012d7e35c005d34cb8000400d724..."} 
[2026-09-06 17:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769b91b0012d7e35c005d34cb8000400d724..."} 
[2026-09-06 17:38:00] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769b91b0012d7e35c005d34cb8000400d724..."} 
[2026-09-06 17:38:00] local.INFO: Packet analysis {"connection_id":175414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769b"} 
[2026-09-06 17:38:00] local.INFO: Extracted packet for processing {"connection_id":175414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769b"} 
[2026-09-06 17:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733816,"longitude_deg":76.3246016,"latitude_deg":9.7733816,"altitude":4,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-09-06 17:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906247936001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153796974592,"note":"Value kept but may cause issues"} 
[2026-09-06 17:38:00] 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-09-06 17:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788696302000,"timestamp_ms":1788696302000,"timestamp_seconds":1788696302,"priority":1,"record_length":96,"hex_timestamp":"000001a0769b91b0"} 
[2026-09-06 17:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-06 17:38:00] 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-09-06 17:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:38:00] 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-09-06 17:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906247936001,"66":13352,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094386153796974592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906247936001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:38:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:38:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153796974592,"description":"Unknown IO ID 45"} 
[2026-09-06 17:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906247936001,"power":13352,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153796974592}} 
[2026-09-06 17:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":175414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:38:00] local.INFO: GPS data processed {"connection_id":175414,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:38:00] local.INFO: Acknowledgment sent {"connection_id":175414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:38:25] local.INFO: TCP Data received {"connection_id":175413,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:38:25] local.INFO: Processing buffer {"connection_id":175413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:38:25] local.INFO: Packet analysis {"connection_id":175413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:38:25] local.INFO: Extracted packet for processing {"connection_id":175413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:38:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906192128001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788696363000,"timestamp_ms":1788696363000,"timestamp_seconds":1788696363,"priority":1,"record_length":96,"hex_timestamp":"000001a0769c7ff8"} 
[2026-09-06 17:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:38:25] 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-09-06 17:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906192128001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906192128001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:38:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:38:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906192128001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":175413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:38:25] local.INFO: GPS data processed {"connection_id":175413,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:38:25] local.INFO: Acknowledgment sent {"connection_id":175413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:38:31] local.INFO: TCP Data received {"connection_id":175414,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0769be3b8012d7e35c005d34cb8000400d724..."} 
[2026-09-06 17:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769be3b8012d7e35c005d34cb8000400d724..."} 
[2026-09-06 17:38:31] local.INFO: Processing buffer {"connection_id":175414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769be3b8012d7e35c005d34cb8000400d724..."} 
[2026-09-06 17:38:31] local.INFO: Packet analysis {"connection_id":175414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769b"} 
[2026-09-06 17:38:31] local.INFO: Extracted packet for processing {"connection_id":175414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769b"} 
[2026-09-06 17:38:31] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733816,"longitude_deg":76.3246016,"latitude_deg":9.7733816,"altitude":4,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-09-06 17:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906253312001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153796974592,"note":"Value kept but may cause issues"} 
[2026-09-06 17:38: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-09-06 17:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788696323000,"timestamp_ms":1788696323000,"timestamp_seconds":1788696323,"priority":1,"record_length":96,"hex_timestamp":"000001a0769be3b8"} 
[2026-09-06 17:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-06 17:38:31] 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-09-06 17:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:38:31] 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-09-06 17:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906253312001,"66":13472,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094386153796974592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906253312001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:38:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:38:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153796974592,"description":"Unknown IO ID 45"} 
[2026-09-06 17:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906253312001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153796974592}} 
[2026-09-06 17:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":175414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:38:32] local.INFO: GPS data processed {"connection_id":175414,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:38:32] local.INFO: Acknowledgment sent {"connection_id":175414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:38:47] local.INFO: TCP Data received {"connection_id":175415,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:38:47] local.INFO: Processing buffer {"connection_id":175415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:38:47] local.INFO: IMEI packet received {"connection_id":175415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":175415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:38:52] local.INFO: TCP Data received {"connection_id":175415,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:38:52] local.INFO: Processing buffer {"connection_id":175415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:38:52] local.INFO: IMEI packet received {"connection_id":175415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":175415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:38:53] local.INFO: TCP Data received {"connection_id":175415,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:38:53] local.INFO: Processing buffer {"connection_id":175415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:38:53] local.INFO: Packet analysis {"connection_id":175415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:38:53] local.INFO: Extracted packet for processing {"connection_id":175415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:38:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906192128001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788696363000,"timestamp_ms":1788696363000,"timestamp_seconds":1788696363,"priority":1,"record_length":96,"hex_timestamp":"000001a0769c7ff8"} 
[2026-09-06 17:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:38: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-09-06 17:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906192128001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906192128001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:38:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:38:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906192128001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":175415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:38:53] local.INFO: GPS data processed {"connection_id":175415,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:38:53] local.INFO: Acknowledgment sent {"connection_id":175415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:38:55] local.INFO: TCP Data received {"connection_id":172923,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:38:55] local.INFO: Processing buffer {"connection_id":172923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:38:55] local.INFO: IMEI packet received {"connection_id":172923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":172923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:39:00] local.INFO: TCP Data received {"connection_id":172923,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:39:00] local.INFO: Processing buffer {"connection_id":172923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:39:00] local.INFO: IMEI packet received {"connection_id":172923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":172923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:39:01] local.INFO: TCP Data received {"connection_id":172923,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0769c35c0012d7e35c005d34cb8000400d724..."} 
[2026-09-06 17:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769c35c0012d7e35c005d34cb8000400d724..."} 
[2026-09-06 17:39:01] local.INFO: Processing buffer {"connection_id":172923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769c35c0012d7e35c005d34cb8000400d724..."} 
[2026-09-06 17:39:01] local.INFO: Packet analysis {"connection_id":172923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:39:01] local.INFO: Extracted packet for processing {"connection_id":172923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733816,"longitude_deg":76.3246016,"latitude_deg":9.7733816,"altitude":4,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-09-06 17:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906258688001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153796974592,"note":"Value kept but may cause issues"} 
[2026-09-06 17:39: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-09-06 17:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788696344000,"timestamp_ms":1788696344000,"timestamp_seconds":1788696344,"priority":1,"record_length":96,"hex_timestamp":"000001a0769c35c0"} 
[2026-09-06 17:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:39:01] 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-09-06 17:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 17:39:01] 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-09-06 17:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:39:01] 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-09-06 17:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906258688001,"66":13504,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094386153796974592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906258688001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:39:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:39:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153796974592,"description":"Unknown IO ID 45"} 
[2026-09-06 17:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906258688001,"power":13504,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153796974592}} 
[2026-09-06 17:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":172923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:39:01] local.INFO: GPS data processed {"connection_id":172923,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:39:01] local.INFO: Acknowledgment sent {"connection_id":172923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:39:25] local.INFO: TCP Data received {"connection_id":175415,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:39:25] local.INFO: Processing buffer {"connection_id":175415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:39:25] local.INFO: Packet analysis {"connection_id":175415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:39:25] local.INFO: Extracted packet for processing {"connection_id":175415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:39:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906192128001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:39: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-09-06 17:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788696363000,"timestamp_ms":1788696363000,"timestamp_seconds":1788696363,"priority":1,"record_length":96,"hex_timestamp":"000001a0769c7ff8"} 
[2026-09-06 17:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:39: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-09-06 17: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:39: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-09-06 17:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906192128001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906192128001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:39:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:39:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906192128001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":175415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:39:25] local.INFO: GPS data processed {"connection_id":175415,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:39:25] local.INFO: Acknowledgment sent {"connection_id":175415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:39:32] local.INFO: TCP Data received {"connection_id":172923,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0769c87c8012d7e35c005d34cb8000400d722..."} 
[2026-09-06 17:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769c87c8012d7e35c005d34cb8000400d722..."} 
[2026-09-06 17:39:32] local.INFO: Processing buffer {"connection_id":172923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769c87c8012d7e35c005d34cb8000400d722..."} 
[2026-09-06 17:39:32] local.INFO: Packet analysis {"connection_id":172923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:39:32] local.INFO: Extracted packet for processing {"connection_id":172923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733816,"longitude_deg":76.3246016,"latitude_deg":9.7733816,"altitude":4,"angle":215,"satellites":34,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-09-06 17:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906264064001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153796974592,"note":"Value kept but may cause issues"} 
[2026-09-06 17:39:32] 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-09-06 17:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788696365000,"timestamp_ms":1788696365000,"timestamp_seconds":1788696365,"priority":1,"record_length":96,"hex_timestamp":"000001a0769c87c8"} 
[2026-09-06 17:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-06 17:39:32] 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-09-06 17:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:39:32] 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-09-06 17:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906264064001,"66":13722,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094386153796974592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906264064001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:39:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:39:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153796974592,"description":"Unknown IO ID 45"} 
[2026-09-06 17:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906264064001,"power":13722,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153796974592}} 
[2026-09-06 17:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":172923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:39:32] local.INFO: GPS data processed {"connection_id":172923,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:39:32] local.INFO: Acknowledgment sent {"connection_id":172923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:39:47] local.INFO: TCP Data received {"connection_id":172682,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:39:47] local.INFO: Processing buffer {"connection_id":172682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:39:47] local.INFO: IMEI packet received {"connection_id":172682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":172682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:39:52] local.INFO: TCP Data received {"connection_id":172682,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:39:52] local.INFO: Processing buffer {"connection_id":172682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:39:52] local.INFO: IMEI packet received {"connection_id":172682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":172682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:39:53] local.INFO: TCP Data received {"connection_id":172682,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:39:53] local.INFO: Processing buffer {"connection_id":172682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:39:53] local.INFO: Packet analysis {"connection_id":172682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:39:53] local.INFO: Extracted packet for processing {"connection_id":172682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:39:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906192128001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788696363000,"timestamp_ms":1788696363000,"timestamp_seconds":1788696363,"priority":1,"record_length":96,"hex_timestamp":"000001a0769c7ff8"} 
[2026-09-06 17:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:39: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-09-06 17: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906192128001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 17:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906192128001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:39:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:39:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906192128001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":172682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:39:53] local.INFO: GPS data processed {"connection_id":172682,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:39:53] local.INFO: Acknowledgment sent {"connection_id":172682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:39:55] local.INFO: TCP Data received {"connection_id":174078,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:39:55] local.INFO: Processing buffer {"connection_id":174078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:39:55] local.INFO: IMEI packet received {"connection_id":174078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":174078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:40:00] local.INFO: TCP Data received {"connection_id":174078,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:40:00] local.INFO: Processing buffer {"connection_id":174078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:40:00] local.INFO: IMEI packet received {"connection_id":174078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":174078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:40:01] local.INFO: TCP Data received {"connection_id":174078,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0769cd9d0012d7e35c005d34cb8000400d722..."} 
[2026-09-06 17:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769cd9d0012d7e35c005d34cb8000400d722..."} 
[2026-09-06 17:40:01] local.INFO: Processing buffer {"connection_id":174078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769cd9d0012d7e35c005d34cb8000400d722..."} 
[2026-09-06 17:40:01] local.INFO: Packet analysis {"connection_id":174078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:40:01] local.INFO: Extracted packet for processing {"connection_id":174078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733816,"longitude_deg":76.3246016,"latitude_deg":9.7733816,"altitude":4,"angle":215,"satellites":34,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-09-06 17:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906269440001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153796974592,"note":"Value kept but may cause issues"} 
[2026-09-06 17:40: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-09-06 17:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788696386000,"timestamp_ms":1788696386000,"timestamp_seconds":1788696386,"priority":1,"record_length":96,"hex_timestamp":"000001a0769cd9d0"} 
[2026-09-06 17:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:40:01] 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-09-06 17:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-06 17:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:40:01] 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-09-06 17:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906269440001,"66":13798,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094386153796974592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906269440001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:40:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153796974592,"description":"Unknown IO ID 45"} 
[2026-09-06 17:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906269440001,"power":13798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153796974592}} 
[2026-09-06 17:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":174078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:40:01] local.INFO: GPS data processed {"connection_id":174078,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:40:01] local.INFO: Acknowledgment sent {"connection_id":174078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:40:09] local.INFO: TCP Data received {"connection_id":172683,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:40:09] local.INFO: Processing buffer {"connection_id":172683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:40:09] local.INFO: IMEI packet received {"connection_id":172683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 17:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":172683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:40:25] local.INFO: TCP Data received {"connection_id":172682,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:40:25] local.INFO: Processing buffer {"connection_id":172682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:40:25] local.INFO: Packet analysis {"connection_id":172682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:40:25] local.INFO: Extracted packet for processing {"connection_id":172682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:40:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906192128001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:40: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-09-06 17:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788696363000,"timestamp_ms":1788696363000,"timestamp_seconds":1788696363,"priority":1,"record_length":96,"hex_timestamp":"000001a0769c7ff8"} 
[2026-09-06 17:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:40: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-09-06 17:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906192128001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 17:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906192128001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:40:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:40:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906192128001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":172682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:40:25] local.INFO: GPS data processed {"connection_id":172682,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:40:25] local.INFO: Acknowledgment sent {"connection_id":172682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:40:32] local.INFO: TCP Data received {"connection_id":174078,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0769d2bd8012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769d2bd8012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:40:32] local.INFO: Processing buffer {"connection_id":174078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769d2bd8012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:40:32] local.INFO: Packet analysis {"connection_id":174078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769d"} 
[2026-09-06 17:40:32] local.INFO: Extracted packet for processing {"connection_id":174078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769d"} 
[2026-09-06 17:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733816,"longitude_deg":76.3246016,"latitude_deg":9.7733816,"altitude":4,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-09-06 17:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906274816001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153796974592,"note":"Value kept but may cause issues"} 
[2026-09-06 17:40:32] 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-09-06 17:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788696407000,"timestamp_ms":1788696407000,"timestamp_seconds":1788696407,"priority":1,"record_length":96,"hex_timestamp":"000001a0769d2bd8"} 
[2026-09-06 17:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:40: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-09-06 17:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-06 17:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:40:32] 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-09-06 17:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906274816001,"66":13906,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094386153796974592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906274816001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:40:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153796974592,"description":"Unknown IO ID 45"} 
[2026-09-06 17:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906274816001,"power":13906,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153796974592}} 
[2026-09-06 17:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":174078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:40:32] local.INFO: GPS data processed {"connection_id":174078,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:40:32] local.INFO: Acknowledgment sent {"connection_id":174078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:40:47] local.INFO: TCP Data received {"connection_id":175416,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:40:47] local.INFO: Processing buffer {"connection_id":175416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:40:47] local.INFO: IMEI packet received {"connection_id":175416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":175416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:40:49] local.INFO: TCP Data received {"connection_id":172924,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:40:49] local.INFO: Processing buffer {"connection_id":172924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:40:49] local.INFO: IMEI packet received {"connection_id":172924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 17:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":172924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:40:52] local.INFO: TCP Data received {"connection_id":175416,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:40:52] local.INFO: Processing buffer {"connection_id":175416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:40:52] local.INFO: IMEI packet received {"connection_id":175416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":175416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:40:54] local.INFO: TCP Data received {"connection_id":175416,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:40:54] local.INFO: Processing buffer {"connection_id":175416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769c7ff8012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:40:54] local.INFO: Packet analysis {"connection_id":175416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:40:54] local.INFO: Extracted packet for processing {"connection_id":175416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769c"} 
[2026-09-06 17:40:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906192128001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788696363000,"timestamp_ms":1788696363000,"timestamp_seconds":1788696363,"priority":1,"record_length":96,"hex_timestamp":"000001a0769c7ff8"} 
[2026-09-06 17:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:40:54] 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-09-06 17:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906192128001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906192128001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:40:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:40:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906192128001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":175416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:40:54] local.INFO: GPS data processed {"connection_id":175416,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:40:54] local.INFO: Acknowledgment sent {"connection_id":175416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:40:55] local.INFO: TCP Data received {"connection_id":174079,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:40:55] local.INFO: Processing buffer {"connection_id":174079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:40:55] local.INFO: IMEI packet received {"connection_id":174079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":174079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:41:00] local.INFO: TCP Data received {"connection_id":174079,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:41:00] local.INFO: Processing buffer {"connection_id":174079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:41:00] local.INFO: IMEI packet received {"connection_id":174079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":174079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:41:01] local.INFO: TCP Data received {"connection_id":174079,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0769d7de0012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769d7de0012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:41:01] local.INFO: Processing buffer {"connection_id":174079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769d7de0012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:41:01] local.INFO: Packet analysis {"connection_id":174079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769d"} 
[2026-09-06 17:41:01] local.INFO: Extracted packet for processing {"connection_id":174079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769d"} 
[2026-09-06 17:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733816,"longitude_deg":76.3246016,"latitude_deg":9.7733816,"altitude":4,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906280192001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153796974592,"note":"Value kept but may cause issues"} 
[2026-09-06 17:41: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-09-06 17:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788696428000,"timestamp_ms":1788696428000,"timestamp_seconds":1788696428,"priority":1,"record_length":96,"hex_timestamp":"000001a0769d7de0"} 
[2026-09-06 17:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:41:01] 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-09-06 17: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-06 17:41:01] 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-09-06 17: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-09-06 17:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906280192001,"66":13450,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094386153796974592},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906280192001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:41:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:41:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153796974592,"description":"Unknown IO ID 45"} 
[2026-09-06 17:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906280192001,"power":13450,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153796974592}} 
[2026-09-06 17:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":174079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:41:01] local.INFO: GPS data processed {"connection_id":174079,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:41:01] local.INFO: Acknowledgment sent {"connection_id":174079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:41:25] local.INFO: TCP Data received {"connection_id":175416,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:41:25] local.INFO: Processing buffer {"connection_id":175416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:41:25] local.INFO: Packet analysis {"connection_id":175416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:41:25] local.INFO: Extracted packet for processing {"connection_id":175416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:41:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906268928001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:41: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-09-06 17:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788696664000,"timestamp_ms":1788696664000,"timestamp_seconds":1788696664,"priority":1,"record_length":96,"hex_timestamp":"000001a076a117c0"} 
[2026-09-06 17:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:41: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-09-06 17: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:41: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-09-06 17: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-09-06 17:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:41: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-09-06 17:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906268928001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906268928001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:41:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:41:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906268928001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":175416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:41:25] local.INFO: GPS data processed {"connection_id":175416,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:41:25] local.INFO: Acknowledgment sent {"connection_id":175416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:41:32] local.INFO: TCP Data received {"connection_id":174079,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0769dcfe8012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769dcfe8012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:41:32] local.INFO: Processing buffer {"connection_id":174079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769dcfe8012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:41:32] local.INFO: Packet analysis {"connection_id":174079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769d"} 
[2026-09-06 17:41:32] local.INFO: Extracted packet for processing {"connection_id":174079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769d"} 
[2026-09-06 17:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733816,"longitude_deg":76.3246016,"latitude_deg":9.7733816,"altitude":4,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906285568001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153796974592,"note":"Value kept but may cause issues"} 
[2026-09-06 17:41:32] 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-09-06 17:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788696449000,"timestamp_ms":1788696449000,"timestamp_seconds":1788696449,"priority":1,"record_length":96,"hex_timestamp":"000001a0769dcfe8"} 
[2026-09-06 17:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-06 17:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906285568001,"66":13798,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094386153796974592},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906285568001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:41:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:41:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153796974592,"description":"Unknown IO ID 45"} 
[2026-09-06 17:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906285568001,"power":13798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153796974592}} 
[2026-09-06 17:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":174079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:41:32] local.INFO: GPS data processed {"connection_id":174079,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:41:32] local.INFO: Acknowledgment sent {"connection_id":174079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:41:47] local.INFO: TCP Data received {"connection_id":172684,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:41:47] local.INFO: Processing buffer {"connection_id":172684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:41:47] local.INFO: IMEI packet received {"connection_id":172684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":172684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:41:53] local.INFO: TCP Data received {"connection_id":172684,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:41:53] local.INFO: Processing buffer {"connection_id":172684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:41:53] local.INFO: IMEI packet received {"connection_id":172684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":172684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:41:54] local.INFO: TCP Data received {"connection_id":172684,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:41:54] local.INFO: Processing buffer {"connection_id":172684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:41:54] local.INFO: Packet analysis {"connection_id":172684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:41:54] local.INFO: Extracted packet for processing {"connection_id":172684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:41:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906268928001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788696664000,"timestamp_ms":1788696664000,"timestamp_seconds":1788696664,"priority":1,"record_length":96,"hex_timestamp":"000001a076a117c0"} 
[2026-09-06 17:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:41:54] 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-09-06 17: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-09-06 17:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:41: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-09-06 17:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906268928001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906268928001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:41:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:41:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906268928001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":172684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:41:54] local.INFO: GPS data processed {"connection_id":172684,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:41:54] local.INFO: Acknowledgment sent {"connection_id":172684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:41:58] local.INFO: TCP Data received {"connection_id":172684,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:41:58] local.INFO: Processing buffer {"connection_id":172684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:41:58] local.INFO: Packet analysis {"connection_id":172684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:41:58] local.INFO: Extracted packet for processing {"connection_id":172684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:41:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 17:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906268928001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 17:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788696664000,"timestamp_ms":1788696664000,"timestamp_seconds":1788696664,"priority":1,"record_length":96,"hex_timestamp":"000001a076a117c0"} 
[2026-09-06 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-09-06 17:41: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-09-06 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:41: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-09-06 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-09-06 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-09-06 17:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:41: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-09-06 17:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906268928001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906268928001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:41:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:41:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906268928001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":172684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:41:58] local.INFO: GPS data processed {"connection_id":172684,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:41:58] local.INFO: Acknowledgment sent {"connection_id":172684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:42:00] local.INFO: TCP Data received {"connection_id":174080,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:42:00] local.INFO: Processing buffer {"connection_id":174080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:42:00] local.INFO: IMEI packet received {"connection_id":174080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":174080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:42:05] local.INFO: TCP Data received {"connection_id":174080,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:42:05] local.INFO: Processing buffer {"connection_id":174080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:42:05] local.INFO: IMEI packet received {"connection_id":174080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":174080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:42:06] local.INFO: TCP Data received {"connection_id":174080,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0769e21f0012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769e21f0012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:42:06] local.INFO: Processing buffer {"connection_id":174080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769e21f0012d7e35c005d34cb8000400d723..."} 
[2026-09-06 17:42:06] local.INFO: Packet analysis {"connection_id":174080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769e"} 
[2026-09-06 17:42:06] local.INFO: Extracted packet for processing {"connection_id":174080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769e"} 
[2026-09-06 17:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733816,"longitude_deg":76.3246016,"latitude_deg":9.7733816,"altitude":4,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906290944001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153796974592,"note":"Value kept but may cause issues"} 
[2026-09-06 17:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788696470000,"timestamp_ms":1788696470000,"timestamp_seconds":1788696470,"priority":1,"record_length":96,"hex_timestamp":"000001a0769e21f0"} 
[2026-09-06 17:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:42: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-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906290944001,"66":13939,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094386153796974592},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906290944001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:42:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153796974592,"description":"Unknown IO ID 45"} 
[2026-09-06 17:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906290944001,"power":13939,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153796974592}} 
[2026-09-06 17:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":174080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:42:06] local.INFO: GPS data processed {"connection_id":174080,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:42:06] local.INFO: Acknowledgment sent {"connection_id":174080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:42:30] local.INFO: TCP Data received {"connection_id":172684,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:42:30] local.INFO: Processing buffer {"connection_id":172684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:42:30] local.INFO: Packet analysis {"connection_id":172684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:42:30] local.INFO: Extracted packet for processing {"connection_id":172684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:42:30] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906268928001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:42: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-09-06 17:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788696664000,"timestamp_ms":1788696664000,"timestamp_seconds":1788696664,"priority":1,"record_length":96,"hex_timestamp":"000001a076a117c0"} 
[2026-09-06 17:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906268928001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906268928001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:42:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:42:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906268928001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":172684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:42:30] local.INFO: GPS data processed {"connection_id":172684,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:42:30] local.INFO: Acknowledgment sent {"connection_id":172684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:42:37] local.INFO: TCP Data received {"connection_id":174080,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0769e50d0012d7e35c005d34cb8000400d724..."} 
[2026-09-06 17:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769e50d0012d7e35c005d34cb8000400d724..."} 
[2026-09-06 17:42:37] local.INFO: Processing buffer {"connection_id":174080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769e50d0012d7e35c005d34cb8000400d724..."} 
[2026-09-06 17:42:37] local.INFO: Packet analysis {"connection_id":174080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769e"} 
[2026-09-06 17:42:37] local.INFO: Extracted packet for processing {"connection_id":174080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769e"} 
[2026-09-06 17:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733816,"longitude_deg":76.3246016,"latitude_deg":9.7733816,"altitude":4,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-09-06 17:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906296320001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153796974592,"note":"Value kept but may cause issues"} 
[2026-09-06 17:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788696482000,"timestamp_ms":1788696482000,"timestamp_seconds":1788696482,"priority":1,"record_length":96,"hex_timestamp":"000001a0769e50d0"} 
[2026-09-06 17:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 17:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-06 17:42:37] 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-09-06 17:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906296320001,"66":13526,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094386153796974592},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906296320001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:42:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153796974592,"description":"Unknown IO ID 45"} 
[2026-09-06 17:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906296320001,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153796974592}} 
[2026-09-06 17:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":174080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:42:37] local.INFO: GPS data processed {"connection_id":174080,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:42:37] local.INFO: Acknowledgment sent {"connection_id":174080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:42:47] local.INFO: TCP Data received {"connection_id":172925,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:42:47] local.INFO: Processing buffer {"connection_id":172925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:42:47] local.INFO: IMEI packet received {"connection_id":172925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":172925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:42:53] local.INFO: TCP Data received {"connection_id":172925,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:42:53] local.INFO: Processing buffer {"connection_id":172925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:42:53] local.INFO: IMEI packet received {"connection_id":172925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":172925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:42:55] local.INFO: TCP Data received {"connection_id":172686,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:42:55] local.INFO: Processing buffer {"connection_id":172686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:42:55] local.INFO: IMEI packet received {"connection_id":172686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":172686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:42:55] local.INFO: TCP Data received {"connection_id":172925,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:42:55] local.INFO: Processing buffer {"connection_id":172925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:42:55] local.INFO: Packet analysis {"connection_id":172925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:42:55] local.INFO: Extracted packet for processing {"connection_id":172925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:42:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906268928001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:42: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-09-06 17:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788696664000,"timestamp_ms":1788696664000,"timestamp_seconds":1788696664,"priority":1,"record_length":96,"hex_timestamp":"000001a076a117c0"} 
[2026-09-06 17:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:42:55] 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-09-06 17:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:42:55] 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-09-06 17:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906268928001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906268928001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:42:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:42:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906268928001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":172925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:42:55] local.INFO: GPS data processed {"connection_id":172925,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:42:55] local.INFO: Acknowledgment sent {"connection_id":172925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:43:00] local.INFO: TCP Data received {"connection_id":172686,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:43:00] local.INFO: Processing buffer {"connection_id":172686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:43:00] local.INFO: IMEI packet received {"connection_id":172686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":172686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:43:01] local.INFO: TCP Data received {"connection_id":172686,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0769e50d0012d7e35c005d34cb8000400d724..."} 
[2026-09-06 17:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769e50d0012d7e35c005d34cb8000400d724..."} 
[2026-09-06 17:43:01] local.INFO: Processing buffer {"connection_id":172686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769e50d0012d7e35c005d34cb8000400d724..."} 
[2026-09-06 17:43:01] local.INFO: Packet analysis {"connection_id":172686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769e"} 
[2026-09-06 17:43:01] local.INFO: Extracted packet for processing {"connection_id":172686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769e"} 
[2026-09-06 17:43:01] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733816,"longitude_deg":76.3246016,"latitude_deg":9.7733816,"altitude":4,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-09-06 17:43:01] 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-09-06 17:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906299392001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153796974592,"note":"Value kept but may cause issues"} 
[2026-09-06 17:43: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-09-06 17:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788696482000,"timestamp_ms":1788696482000,"timestamp_seconds":1788696482,"priority":1,"record_length":96,"hex_timestamp":"000001a0769e50d0"} 
[2026-09-06 17:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-06 17:43:01] 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-09-06 17:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906299392001,"66":13526,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094386153796974592},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906299392001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:43:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:43:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153796974592,"description":"Unknown IO ID 45"} 
[2026-09-06 17:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906299392001,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153796974592}} 
[2026-09-06 17:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":172686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:43:01] local.INFO: GPS data processed {"connection_id":172686,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:43:01] local.INFO: Acknowledgment sent {"connection_id":172686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:43:27] local.INFO: TCP Data received {"connection_id":172925,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:43:27] local.INFO: Processing buffer {"connection_id":172925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:43:27] local.INFO: Packet analysis {"connection_id":172925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:43:27] local.INFO: Extracted packet for processing {"connection_id":172925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:43:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906268928001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:43: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-09-06 17:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788696664000,"timestamp_ms":1788696664000,"timestamp_seconds":1788696664,"priority":1,"record_length":96,"hex_timestamp":"000001a076a117c0"} 
[2026-09-06 17:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:43: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-09-06 17:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:43: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-09-06 17:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906268928001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906268928001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:43:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:43:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906268928001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":172925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:43:27] local.INFO: GPS data processed {"connection_id":172925,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:43:27] local.INFO: Acknowledgment sent {"connection_id":172925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:43:32] local.INFO: TCP Data received {"connection_id":172686,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0769ed1b8012d7e360005d34ca0000400d724..."} 
[2026-09-06 17:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769ed1b8012d7e360005d34ca0000400d724..."} 
[2026-09-06 17:43:32] local.INFO: Processing buffer {"connection_id":172686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769ed1b8012d7e360005d34ca0000400d724..."} 
[2026-09-06 17:43:32] local.INFO: Packet analysis {"connection_id":172686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769e"} 
[2026-09-06 17:43:32] local.INFO: Extracted packet for processing {"connection_id":172686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769e"} 
[2026-09-06 17:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97733792,"longitude_deg":76.324608,"latitude_deg":9.7733792,"altitude":4,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34ca0","is_valid_coordinates":true} 
[2026-09-06 17:43: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-09-06 17:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906299392001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153796974592,"note":"Value kept but may cause issues"} 
[2026-09-06 17:43:32] 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-09-06 17:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788696515000,"timestamp_ms":1788696515000,"timestamp_seconds":1788696515,"priority":1,"record_length":96,"hex_timestamp":"000001a0769ed1b8"} 
[2026-09-06 17:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-06 17:43:32] 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-09-06 17:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906299392001,"66":13374,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094386153796974592},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906299392001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:43:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:43:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153796974592,"description":"Unknown IO ID 45"} 
[2026-09-06 17:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906299392001,"power":13374,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153796974592}} 
[2026-09-06 17:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":172686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:43:32] local.INFO: GPS data processed {"connection_id":172686,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:43:32] local.INFO: Acknowledgment sent {"connection_id":172686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:43:48] local.INFO: TCP Data received {"connection_id":174081,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:43:48] local.INFO: Processing buffer {"connection_id":174081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:43:48] local.INFO: IMEI packet received {"connection_id":174081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":174081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:43:52] local.INFO: TCP Data received {"connection_id":174081,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:43:52] local.INFO: Processing buffer {"connection_id":174081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:43:52] local.INFO: IMEI packet received {"connection_id":174081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":174081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:43:54] local.INFO: TCP Data received {"connection_id":174081,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:43:54] local.INFO: Processing buffer {"connection_id":174081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:43:54] local.INFO: Packet analysis {"connection_id":174081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:43:54] local.INFO: Extracted packet for processing {"connection_id":174081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:43:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906268928001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:43: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-09-06 17:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788696664000,"timestamp_ms":1788696664000,"timestamp_seconds":1788696664,"priority":1,"record_length":96,"hex_timestamp":"000001a076a117c0"} 
[2026-09-06 17:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:43:54] 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-09-06 17:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:43:54] 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-09-06 17:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906268928001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906268928001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:43:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:43:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906268928001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":174081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:43:54] local.INFO: GPS data processed {"connection_id":174081,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:43:54] local.INFO: Acknowledgment sent {"connection_id":174081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:43:55] local.INFO: TCP Data received {"connection_id":175418,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:43:55] local.INFO: Processing buffer {"connection_id":175418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:43:55] local.INFO: IMEI packet received {"connection_id":175418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":175418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:44:00] local.INFO: TCP Data received {"connection_id":175418,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:44:00] local.INFO: Processing buffer {"connection_id":175418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:44:00] local.INFO: IMEI packet received {"connection_id":175418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":175418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:44:01] local.INFO: TCP Data received {"connection_id":175418,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0769ed1b8012d7e360005d34ca0000400d724..."} 
[2026-09-06 17:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0769ed1b8012d7e360005d34ca0000400d724..."} 
[2026-09-06 17:44:01] local.INFO: Processing buffer {"connection_id":175418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0769ed1b8012d7e360005d34ca0000400d724..."} 
[2026-09-06 17:44:01] local.INFO: Packet analysis {"connection_id":175418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0769e"} 
[2026-09-06 17:44:01] local.INFO: Extracted packet for processing {"connection_id":175418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0769e"} 
[2026-09-06 17:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97733792,"longitude_deg":76.324608,"latitude_deg":9.7733792,"altitude":4,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34ca0","is_valid_coordinates":true} 
[2026-09-06 17:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906307840001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541146112,"note":"Value kept but may cause issues"} 
[2026-09-06 17:44: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-09-06 17:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788696515000,"timestamp_ms":1788696515000,"timestamp_seconds":1788696515,"priority":1,"record_length":96,"hex_timestamp":"000001a0769ed1b8"} 
[2026-09-06 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-09-06 17: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-09-06 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-06 17:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 17:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906307840001,"66":13374,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094456522541146112},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906307840001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:44:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541146112,"description":"Unknown IO ID 45"} 
[2026-09-06 17:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906307840001,"power":13374,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541146112}} 
[2026-09-06 17:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":175418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:44:01] local.INFO: GPS data processed {"connection_id":175418,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:44:01] local.INFO: Acknowledgment sent {"connection_id":175418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:44:26] local.INFO: TCP Data received {"connection_id":174081,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:44:26] local.INFO: Processing buffer {"connection_id":174081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:44:26] local.INFO: Packet analysis {"connection_id":174081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:44:26] local.INFO: Extracted packet for processing {"connection_id":174081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:44:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906268928001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788696664000,"timestamp_ms":1788696664000,"timestamp_seconds":1788696664,"priority":1,"record_length":96,"hex_timestamp":"000001a076a117c0"} 
[2026-09-06 17:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:44: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-09-06 17: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:44: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-09-06 17: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-09-06 17:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:44:26] 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-09-06 17:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906268928001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906268928001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:44:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:44:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906268928001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":174081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:44:26] local.INFO: GPS data processed {"connection_id":174081,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:44:26] local.INFO: Acknowledgment sent {"connection_id":174081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:44:32] local.INFO: TCP Data received {"connection_id":175418,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:44:32] local.INFO: Processing buffer {"connection_id":175418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:44:32] local.INFO: Packet analysis {"connection_id":175418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a2"} 
[2026-09-06 17:44:32] local.INFO: Extracted packet for processing {"connection_id":175418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a2"} 
[2026-09-06 17:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906307840001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541146112,"note":"Value kept but may cause issues"} 
[2026-09-06 17:44:32] 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-09-06 17:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788696783000,"timestamp_ms":1788696783000,"timestamp_seconds":1788696783,"priority":1,"record_length":96,"hex_timestamp":"000001a076a2e898"} 
[2026-09-06 17:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-06 17:44:32] 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-09-06 17:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906307840001,"66":2383,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094456522541146112},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906307840001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:44:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:44:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541146112,"description":"Unknown IO ID 45"} 
[2026-09-06 17:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906307840001,"power":2383,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541146112}} 
[2026-09-06 17:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":175418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:44:32] local.INFO: GPS data processed {"connection_id":175418,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:44:32] local.INFO: Acknowledgment sent {"connection_id":175418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:44:53] local.INFO: TCP Data received {"connection_id":174084,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:44:53] local.INFO: Processing buffer {"connection_id":174084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:44:53] local.INFO: IMEI packet received {"connection_id":174084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":174084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:44:55] local.INFO: TCP Data received {"connection_id":172926,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:44:55] local.INFO: Processing buffer {"connection_id":172926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:44:55] local.INFO: IMEI packet received {"connection_id":172926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":172926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:44:57] local.INFO: TCP Data received {"connection_id":174084,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:44:57] local.INFO: Processing buffer {"connection_id":174084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:44:57] local.INFO: IMEI packet received {"connection_id":174084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":174084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:44:59] local.INFO: TCP Data received {"connection_id":174084,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:44:59] local.INFO: Processing buffer {"connection_id":174084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:44:59] local.INFO: Packet analysis {"connection_id":174084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:44:59] local.INFO: Extracted packet for processing {"connection_id":174084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:44:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906268928001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:44: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-09-06 17:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788696664000,"timestamp_ms":1788696664000,"timestamp_seconds":1788696664,"priority":1,"record_length":96,"hex_timestamp":"000001a076a117c0"} 
[2026-09-06 17:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:44:59] 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-09-06 17:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906268928001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 17:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906268928001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:44:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:44:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906268928001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":174084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:44:59] local.INFO: GPS data processed {"connection_id":174084,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:44:59] local.INFO: Acknowledgment sent {"connection_id":174084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:45:00] local.INFO: TCP Data received {"connection_id":172926,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:45:00] local.INFO: Processing buffer {"connection_id":172926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:45:00] local.INFO: IMEI packet received {"connection_id":172926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":172926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:45:01] local.INFO: TCP Data received {"connection_id":172926,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:45:01] local.INFO: Processing buffer {"connection_id":172926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:45:01] local.INFO: Packet analysis {"connection_id":172926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a2"} 
[2026-09-06 17:45:01] local.INFO: Extracted packet for processing {"connection_id":172926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a2"} 
[2026-09-06 17:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906307840001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541146112,"note":"Value kept but may cause issues"} 
[2026-09-06 17:45: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-09-06 17:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788696783000,"timestamp_ms":1788696783000,"timestamp_seconds":1788696783,"priority":1,"record_length":96,"hex_timestamp":"000001a076a2e898"} 
[2026-09-06 17:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:45: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-09-06 17:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-06 17:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906307840001,"66":2383,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094456522541146112},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906307840001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:45:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541146112,"description":"Unknown IO ID 45"} 
[2026-09-06 17:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906307840001,"power":2383,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541146112}} 
[2026-09-06 17:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":172926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:45:01] local.INFO: GPS data processed {"connection_id":172926,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:45:01] local.INFO: Acknowledgment sent {"connection_id":172926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:45:03] local.INFO: TCP Data received {"connection_id":174084,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:45:03] local.INFO: Processing buffer {"connection_id":174084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:45:03] local.INFO: Packet analysis {"connection_id":174084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:45:03] local.INFO: Extracted packet for processing {"connection_id":174084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906268928001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:45: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-09-06 17:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788696664000,"timestamp_ms":1788696664000,"timestamp_seconds":1788696664,"priority":1,"record_length":96,"hex_timestamp":"000001a076a117c0"} 
[2026-09-06 17:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906268928001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 17:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906268928001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:45:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906268928001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":174084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:45:03] local.INFO: GPS data processed {"connection_id":174084,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:45:03] local.INFO: Acknowledgment sent {"connection_id":174084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:45:32] local.INFO: TCP Data received {"connection_id":172926,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:45:32] local.INFO: Processing buffer {"connection_id":172926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:45:32] local.INFO: Packet analysis {"connection_id":172926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a2"} 
[2026-09-06 17:45:32] local.INFO: Extracted packet for processing {"connection_id":172926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a2"} 
[2026-09-06 17:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906307840001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541146112,"note":"Value kept but may cause issues"} 
[2026-09-06 17:45:32] 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-09-06 17:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788696783000,"timestamp_ms":1788696783000,"timestamp_seconds":1788696783,"priority":1,"record_length":96,"hex_timestamp":"000001a076a2e898"} 
[2026-09-06 17:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-06 17:45:32] 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-09-06 17: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-09-06 17:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906307840001,"66":2383,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094456522541146112},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906307840001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:45:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:45:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541146112,"description":"Unknown IO ID 45"} 
[2026-09-06 17:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906307840001,"power":2383,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541146112}} 
[2026-09-06 17:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":172926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:45:32] local.INFO: GPS data processed {"connection_id":172926,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:45:32] local.INFO: Acknowledgment sent {"connection_id":172926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:45:47] local.INFO: TCP Data received {"connection_id":175419,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:45:47] local.INFO: Processing buffer {"connection_id":175419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:45:47] local.INFO: IMEI packet received {"connection_id":175419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":175419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:45:52] local.INFO: TCP Data received {"connection_id":175419,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:45:52] local.INFO: Processing buffer {"connection_id":175419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:45:52] local.INFO: IMEI packet received {"connection_id":175419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":175419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:45:53] local.INFO: TCP Data received {"connection_id":175419,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:45:53] local.INFO: Processing buffer {"connection_id":175419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a117c0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:45:53] local.INFO: Packet analysis {"connection_id":175419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:45:53] local.INFO: Extracted packet for processing {"connection_id":175419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a1"} 
[2026-09-06 17:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906268928001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788696664000,"timestamp_ms":1788696664000,"timestamp_seconds":1788696664,"priority":1,"record_length":96,"hex_timestamp":"000001a076a117c0"} 
[2026-09-06 17:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 17:45: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-09-06 17: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-09-06 17:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:45: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-09-06 17:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906268928001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906268928001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:45:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:45:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906268928001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":175419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:45:53] local.INFO: GPS data processed {"connection_id":175419,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:45:53] local.INFO: Acknowledgment sent {"connection_id":175419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:45:55] local.INFO: TCP Data received {"connection_id":174085,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:45:55] local.INFO: Processing buffer {"connection_id":174085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:45:55] local.INFO: IMEI packet received {"connection_id":174085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":174085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:46:00] local.INFO: TCP Data received {"connection_id":174085,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:46:00] local.INFO: Processing buffer {"connection_id":174085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:46:00] local.INFO: IMEI packet received {"connection_id":174085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":174085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:46:01] local.INFO: TCP Data received {"connection_id":174085,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:46:01] local.INFO: Processing buffer {"connection_id":174085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:46:01] local.INFO: Packet analysis {"connection_id":174085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a2"} 
[2026-09-06 17:46:01] local.INFO: Extracted packet for processing {"connection_id":174085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a2"} 
[2026-09-06 17:46:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906307840001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541146112,"note":"Value kept but may cause issues"} 
[2026-09-06 17:46: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-09-06 17:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788696783000,"timestamp_ms":1788696783000,"timestamp_seconds":1788696783,"priority":1,"record_length":96,"hex_timestamp":"000001a076a2e898"} 
[2026-09-06 17:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:46: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-09-06 17: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-06 17:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906307840001,"66":2383,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094456522541146112},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906307840001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:46:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541146112,"description":"Unknown IO ID 45"} 
[2026-09-06 17:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906307840001,"power":2383,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541146112}} 
[2026-09-06 17:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":174085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:46:01] local.INFO: GPS data processed {"connection_id":174085,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:46:01] local.INFO: Acknowledgment sent {"connection_id":174085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:46:14] local.INFO: TCP Data received {"connection_id":172687,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:46:14] local.INFO: Processing buffer {"connection_id":172687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:46:14] local.INFO: IMEI packet received {"connection_id":172687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 17:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":172687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:46:25] local.INFO: TCP Data received {"connection_id":175419,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:46:25] local.INFO: Processing buffer {"connection_id":175419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:46:25] local.INFO: Packet analysis {"connection_id":175419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:46:25] local.INFO: Extracted packet for processing {"connection_id":175419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:46:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906345984001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:46: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-09-06 17:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788696963000,"timestamp_ms":1788696963000,"timestamp_seconds":1788696963,"priority":1,"record_length":96,"hex_timestamp":"000001a076a5a7b8"} 
[2026-09-06 17:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:46: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-09-06 17: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:46: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-09-06 17: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-09-06 17:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:46: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-09-06 17:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906345984001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906345984001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:46:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:46:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906345984001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":175419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:46:25] local.INFO: GPS data processed {"connection_id":175419,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:46:25] local.INFO: Acknowledgment sent {"connection_id":175419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:46:32] local.INFO: TCP Data received {"connection_id":174085,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:46:32] local.INFO: Processing buffer {"connection_id":174085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:46:32] local.INFO: Packet analysis {"connection_id":174085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a2"} 
[2026-09-06 17:46:32] local.INFO: Extracted packet for processing {"connection_id":174085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a2"} 
[2026-09-06 17:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906307840001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541146112,"note":"Value kept but may cause issues"} 
[2026-09-06 17:46:32] 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-09-06 17:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788696783000,"timestamp_ms":1788696783000,"timestamp_seconds":1788696783,"priority":1,"record_length":96,"hex_timestamp":"000001a076a2e898"} 
[2026-09-06 17:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-06 17:46:32] 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-09-06 17:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906307840001,"66":2383,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094456522541146112},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906307840001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:46:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:46:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541146112,"description":"Unknown IO ID 45"} 
[2026-09-06 17:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906307840001,"power":2383,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541146112}} 
[2026-09-06 17:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":174085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:46:32] local.INFO: GPS data processed {"connection_id":174085,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:46:32] local.INFO: Acknowledgment sent {"connection_id":174085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:46:47] local.INFO: TCP Data received {"connection_id":172927,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:46:47] local.INFO: Processing buffer {"connection_id":172927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:46:47] local.INFO: IMEI packet received {"connection_id":172927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":172927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:46:52] local.INFO: TCP Data received {"connection_id":172927,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:46:52] local.INFO: Processing buffer {"connection_id":172927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:46:52] local.INFO: IMEI packet received {"connection_id":172927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":172927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:46:53] local.INFO: TCP Data received {"connection_id":172927,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:46:53] local.INFO: Processing buffer {"connection_id":172927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:46:53] local.INFO: Packet analysis {"connection_id":172927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:46:53] local.INFO: Extracted packet for processing {"connection_id":172927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 17:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906345984001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 17:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788696963000,"timestamp_ms":1788696963000,"timestamp_seconds":1788696963,"priority":1,"record_length":96,"hex_timestamp":"000001a076a5a7b8"} 
[2026-09-06 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-09-06 17:46: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-09-06 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:46: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-09-06 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-09-06 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-09-06 17:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:46: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-09-06 17:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906345984001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906345984001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:46:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906345984001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":172927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:46:53] local.INFO: GPS data processed {"connection_id":172927,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:46:53] local.INFO: Acknowledgment sent {"connection_id":172927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:47:00] local.INFO: TCP Data received {"connection_id":174086,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:47:00] local.INFO: Processing buffer {"connection_id":174086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:47:00] local.INFO: IMEI packet received {"connection_id":174086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":174086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:47:05] local.INFO: TCP Data received {"connection_id":174086,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:47:05] local.INFO: Processing buffer {"connection_id":174086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:47:05] local.INFO: IMEI packet received {"connection_id":174086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":174086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:47:06] local.INFO: TCP Data received {"connection_id":174086,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:47:06] local.INFO: Processing buffer {"connection_id":174086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:47:06] local.INFO: Packet analysis {"connection_id":174086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a2"} 
[2026-09-06 17:47:06] local.INFO: Extracted packet for processing {"connection_id":174086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a2"} 
[2026-09-06 17:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906307840001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541146112,"note":"Value kept but may cause issues"} 
[2026-09-06 17:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788696783000,"timestamp_ms":1788696783000,"timestamp_seconds":1788696783,"priority":1,"record_length":96,"hex_timestamp":"000001a076a2e898"} 
[2026-09-06 17:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:47: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-09-06 17:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-06 17:47:06] 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-09-06 17: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-09-06 17:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906307840001,"66":2383,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094456522541146112},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906307840001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:47:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:47:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541146112,"description":"Unknown IO ID 45"} 
[2026-09-06 17:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906307840001,"power":2383,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541146112}} 
[2026-09-06 17:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":174086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:47:06] local.INFO: GPS data processed {"connection_id":174086,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:47:06] local.INFO: Acknowledgment sent {"connection_id":174086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:47:10] local.INFO: TCP Data received {"connection_id":174086,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:47:10] local.INFO: Processing buffer {"connection_id":174086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:47:10] local.INFO: Packet analysis {"connection_id":174086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a2"} 
[2026-09-06 17:47:10] local.INFO: Extracted packet for processing {"connection_id":174086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a2"} 
[2026-09-06 17:47:10] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906307840001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541146112,"note":"Value kept but may cause issues"} 
[2026-09-06 17:47: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-09-06 17:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788696783000,"timestamp_ms":1788696783000,"timestamp_seconds":1788696783,"priority":1,"record_length":96,"hex_timestamp":"000001a076a2e898"} 
[2026-09-06 17:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-06 17:47:10] 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-09-06 17:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906307840001,"66":2383,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094456522541146112},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906307840001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:47:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541146112,"description":"Unknown IO ID 45"} 
[2026-09-06 17:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906307840001,"power":2383,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541146112}} 
[2026-09-06 17:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":174086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:47:10] local.INFO: GPS data processed {"connection_id":174086,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:47:10] local.INFO: Acknowledgment sent {"connection_id":174086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:47:27] local.INFO: TCP Data received {"connection_id":172927,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:47:27] local.INFO: Processing buffer {"connection_id":172927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:47:27] local.INFO: Packet analysis {"connection_id":172927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:47:27] local.INFO: Extracted packet for processing {"connection_id":172927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:47:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906345984001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:47: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-09-06 17:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788696963000,"timestamp_ms":1788696963000,"timestamp_seconds":1788696963,"priority":1,"record_length":96,"hex_timestamp":"000001a076a5a7b8"} 
[2026-09-06 17:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:47: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-09-06 17:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:47:27] 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-09-06 17:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:47: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-09-06 17:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906345984001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906345984001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:47:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:47:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906345984001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":172927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:47:27] local.INFO: GPS data processed {"connection_id":172927,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:47:27] local.INFO: Acknowledgment sent {"connection_id":172927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:47:52] local.INFO: TCP Data received {"connection_id":172928,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:47:52] local.INFO: Processing buffer {"connection_id":172928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:47:52] local.INFO: IMEI packet received {"connection_id":172928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":172928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:47:55] local.INFO: TCP Data received {"connection_id":172929,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:47:55] local.INFO: Processing buffer {"connection_id":172929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:47:55] local.INFO: IMEI packet received {"connection_id":172929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":172929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:47:57] local.INFO: TCP Data received {"connection_id":172928,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:47:57] local.INFO: Processing buffer {"connection_id":172928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:47:57] local.INFO: IMEI packet received {"connection_id":172928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":172928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:47:58] local.INFO: TCP Data received {"connection_id":172928,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:47:58] local.INFO: Processing buffer {"connection_id":172928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:47:58] local.INFO: Packet analysis {"connection_id":172928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:47:58] local.INFO: Extracted packet for processing {"connection_id":172928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:47:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906345984001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788696963000,"timestamp_ms":1788696963000,"timestamp_seconds":1788696963,"priority":1,"record_length":96,"hex_timestamp":"000001a076a5a7b8"} 
[2026-09-06 17:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:47: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-09-06 17: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:47: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-09-06 17: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-09-06 17:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:47: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-09-06 17:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906345984001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906345984001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:47:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:47:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906345984001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":172928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:47:58] local.INFO: GPS data processed {"connection_id":172928,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:47:58] local.INFO: Acknowledgment sent {"connection_id":172928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:48:00] local.INFO: TCP Data received {"connection_id":172929,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:48:00] local.INFO: Processing buffer {"connection_id":172929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:48:00] local.INFO: IMEI packet received {"connection_id":172929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":172929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:48:01] local.INFO: TCP Data received {"connection_id":172929,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:48:01] local.INFO: Processing buffer {"connection_id":172929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a2e898012d7e37c005d34c98000400d723..."} 
[2026-09-06 17:48:01] local.INFO: Packet analysis {"connection_id":172929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a2"} 
[2026-09-06 17:48:01] local.INFO: Extracted packet for processing {"connection_id":172929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a2"} 
[2026-09-06 17:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":35,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906307840001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541146112,"note":"Value kept but may cause issues"} 
[2026-09-06 17:48: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-09-06 17:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788696783000,"timestamp_ms":1788696783000,"timestamp_seconds":1788696783,"priority":1,"record_length":96,"hex_timestamp":"000001a076a2e898"} 
[2026-09-06 17:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:48: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-09-06 17: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-06 17:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906307840001,"66":2383,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094456522541146112},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906307840001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:48:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541146112,"description":"Unknown IO ID 45"} 
[2026-09-06 17:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906307840001,"power":2383,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541146112}} 
[2026-09-06 17:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":172929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:48:01] local.INFO: GPS data processed {"connection_id":172929,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:48:01] local.INFO: Acknowledgment sent {"connection_id":172929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:48:02] local.INFO: TCP Data received {"connection_id":172928,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:48:02] local.INFO: Processing buffer {"connection_id":172928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:48:02] local.INFO: Packet analysis {"connection_id":172928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:48:02] local.INFO: Extracted packet for processing {"connection_id":172928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:48:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906345984001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788696963000,"timestamp_ms":1788696963000,"timestamp_seconds":1788696963,"priority":1,"record_length":96,"hex_timestamp":"000001a076a5a7b8"} 
[2026-09-06 17:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:48: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-09-06 17: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:48: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-09-06 17: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-09-06 17:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:48: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-09-06 17:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906345984001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906345984001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:48:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:48:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906345984001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":172928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:48:02] local.INFO: GPS data processed {"connection_id":172928,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:48:02] local.INFO: Acknowledgment sent {"connection_id":172928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:48:32] local.INFO: TCP Data received {"connection_id":172929,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:48:32] local.INFO: Processing buffer {"connection_id":172929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:48:32] local.INFO: Packet analysis {"connection_id":172929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:48:32] local.INFO: Extracted packet for processing {"connection_id":172929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906376448001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:48:32] 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-09-06 17:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788697084000,"timestamp_ms":1788697084000,"timestamp_seconds":1788697084,"priority":1,"record_length":96,"hex_timestamp":"000001a076a78060"} 
[2026-09-06 17:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 17:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906376448001,"66":2220,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906376448001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:48:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:48:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906376448001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":172929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:48:32] local.INFO: GPS data processed {"connection_id":172929,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:48:32] local.INFO: Acknowledgment sent {"connection_id":172929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:48:47] local.INFO: TCP Data received {"connection_id":172689,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:48:47] local.INFO: Processing buffer {"connection_id":172689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:48:47] local.INFO: IMEI packet received {"connection_id":172689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":172689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:48:52] local.INFO: TCP Data received {"connection_id":172689,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:48:52] local.INFO: Processing buffer {"connection_id":172689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:48:52] local.INFO: IMEI packet received {"connection_id":172689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":172689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:48:53] local.INFO: TCP Data received {"connection_id":172689,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:48:53] local.INFO: Processing buffer {"connection_id":172689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:48:53] local.INFO: Packet analysis {"connection_id":172689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:48:53] local.INFO: Extracted packet for processing {"connection_id":172689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906345984001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788696963000,"timestamp_ms":1788696963000,"timestamp_seconds":1788696963,"priority":1,"record_length":96,"hex_timestamp":"000001a076a5a7b8"} 
[2026-09-06 17:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:48: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-09-06 17: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-09-06 17:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17: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-09-06 17:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906345984001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906345984001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:48:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906345984001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":172689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:48:53] local.INFO: GPS data processed {"connection_id":172689,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:48:53] local.INFO: Acknowledgment sent {"connection_id":172689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:48:55] local.INFO: TCP Data received {"connection_id":174087,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:48:55] local.INFO: Processing buffer {"connection_id":174087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:48:55] local.INFO: IMEI packet received {"connection_id":174087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":174087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:49:00] local.INFO: TCP Data received {"connection_id":174087,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:49:00] local.INFO: Processing buffer {"connection_id":174087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:49:00] local.INFO: IMEI packet received {"connection_id":174087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":174087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:49:00] local.INFO: TCP Data received {"connection_id":174087,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:49:00] local.INFO: Processing buffer {"connection_id":174087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:49:00] local.INFO: Packet analysis {"connection_id":174087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:49:00] local.INFO: Extracted packet for processing {"connection_id":174087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906376448001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:49:00] 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-09-06 17:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788697084000,"timestamp_ms":1788697084000,"timestamp_seconds":1788697084,"priority":1,"record_length":96,"hex_timestamp":"000001a076a78060"} 
[2026-09-06 17:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 17:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906376448001,"66":2220,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906376448001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:49:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906376448001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":174087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:49:00] local.INFO: GPS data processed {"connection_id":174087,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:49:00] local.INFO: Acknowledgment sent {"connection_id":174087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:49:25] local.INFO: TCP Data received {"connection_id":172689,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:49:25] local.INFO: Processing buffer {"connection_id":172689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:49:25] local.INFO: Packet analysis {"connection_id":172689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:49:25] local.INFO: Extracted packet for processing {"connection_id":172689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:49:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906345984001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788696963000,"timestamp_ms":1788696963000,"timestamp_seconds":1788696963,"priority":1,"record_length":96,"hex_timestamp":"000001a076a5a7b8"} 
[2026-09-06 17:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:49: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-09-06 17: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-09-06 17:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:49: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-09-06 17:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906345984001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906345984001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:49:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:49:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906345984001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":172689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:49:25] local.INFO: GPS data processed {"connection_id":172689,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:49:25] local.INFO: Acknowledgment sent {"connection_id":172689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:49:32] local.INFO: TCP Data received {"connection_id":174087,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:49:32] local.INFO: Processing buffer {"connection_id":174087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:49:32] local.INFO: Packet analysis {"connection_id":174087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:49:32] local.INFO: Extracted packet for processing {"connection_id":174087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906376448001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:49:32] 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-09-06 17:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788697084000,"timestamp_ms":1788697084000,"timestamp_seconds":1788697084,"priority":1,"record_length":96,"hex_timestamp":"000001a076a78060"} 
[2026-09-06 17:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 17:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906376448001,"66":2220,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906376448001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:49:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906376448001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":174087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:49:32] local.INFO: GPS data processed {"connection_id":174087,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:49:32] local.INFO: Acknowledgment sent {"connection_id":174087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:49:47] local.INFO: TCP Data received {"connection_id":175422,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:49:47] local.INFO: Processing buffer {"connection_id":175422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:49:47] local.INFO: IMEI packet received {"connection_id":175422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":175422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:49:52] local.INFO: TCP Data received {"connection_id":175422,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:49:52] local.INFO: Processing buffer {"connection_id":175422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:49:52] local.INFO: IMEI packet received {"connection_id":175422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":175422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:49:53] local.INFO: TCP Data received {"connection_id":175422,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:49:53] local.INFO: Processing buffer {"connection_id":175422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:49:53] local.INFO: Packet analysis {"connection_id":175422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:49:53] local.INFO: Extracted packet for processing {"connection_id":175422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906345984001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788696963000,"timestamp_ms":1788696963000,"timestamp_seconds":1788696963,"priority":1,"record_length":96,"hex_timestamp":"000001a076a5a7b8"} 
[2026-09-06 17:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:49: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-09-06 17:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906345984001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906345984001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:49:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906345984001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":175422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:49:53] local.INFO: GPS data processed {"connection_id":175422,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:49:53] local.INFO: Acknowledgment sent {"connection_id":175422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:49:55] local.INFO: TCP Data received {"connection_id":175423,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:49:55] local.INFO: Processing buffer {"connection_id":175423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:49:55] local.INFO: IMEI packet received {"connection_id":175423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":175423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:50:00] local.INFO: TCP Data received {"connection_id":175423,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:50:00] local.INFO: Processing buffer {"connection_id":175423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:50:00] local.INFO: IMEI packet received {"connection_id":175423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":175423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:50:00] local.INFO: TCP Data received {"connection_id":175423,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:50:00] local.INFO: Processing buffer {"connection_id":175423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:50:00] local.INFO: Packet analysis {"connection_id":175423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:50:00] local.INFO: Extracted packet for processing {"connection_id":175423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:50:00] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906376448001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:50:00] 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-09-06 17:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788697084000,"timestamp_ms":1788697084000,"timestamp_seconds":1788697084,"priority":1,"record_length":96,"hex_timestamp":"000001a076a78060"} 
[2026-09-06 17:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 17:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906376448001,"66":2220,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906376448001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:50:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:50:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906376448001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":175423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:50:00] local.INFO: GPS data processed {"connection_id":175423,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:50:00] local.INFO: Acknowledgment sent {"connection_id":175423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:50:25] local.INFO: TCP Data received {"connection_id":175422,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:50:25] local.INFO: Processing buffer {"connection_id":175422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:50:25] local.INFO: Packet analysis {"connection_id":175422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:50:25] local.INFO: Extracted packet for processing {"connection_id":175422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:50:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906345984001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:50: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-09-06 17:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788696963000,"timestamp_ms":1788696963000,"timestamp_seconds":1788696963,"priority":1,"record_length":96,"hex_timestamp":"000001a076a5a7b8"} 
[2026-09-06 17:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:50: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-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:50: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-09-06 17:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906345984001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906345984001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:50:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:50:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906345984001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":175422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:50:25] local.INFO: GPS data processed {"connection_id":175422,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:50:25] local.INFO: Acknowledgment sent {"connection_id":175422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:50:31] local.INFO: TCP Data received {"connection_id":175423,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:50:31] local.INFO: Processing buffer {"connection_id":175423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:50:31] local.INFO: Packet analysis {"connection_id":175423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:50:31] local.INFO: Extracted packet for processing {"connection_id":175423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906376448001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:50: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-09-06 17:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788697084000,"timestamp_ms":1788697084000,"timestamp_seconds":1788697084,"priority":1,"record_length":96,"hex_timestamp":"000001a076a78060"} 
[2026-09-06 17:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 17:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906376448001,"66":2220,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906376448001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:50:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:50:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906376448001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":175423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:50:32] local.INFO: GPS data processed {"connection_id":175423,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:50:32] local.INFO: Acknowledgment sent {"connection_id":175423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:50:47] local.INFO: TCP Data received {"connection_id":172690,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:50:47] local.INFO: Processing buffer {"connection_id":172690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:50:47] local.INFO: IMEI packet received {"connection_id":172690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":172690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:50:52] local.INFO: TCP Data received {"connection_id":172690,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:50:52] local.INFO: Processing buffer {"connection_id":172690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:50:52] local.INFO: IMEI packet received {"connection_id":172690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":172690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:50:54] local.INFO: TCP Data received {"connection_id":172690,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:50:54] local.INFO: Processing buffer {"connection_id":172690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a5a7b8012d34c50006aa3d30000e013527..."} 
[2026-09-06 17:50:54] local.INFO: Packet analysis {"connection_id":172690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:50:54] local.INFO: Extracted packet for processing {"connection_id":172690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a5"} 
[2026-09-06 17:50:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906345984001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:50: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-09-06 17:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788696963000,"timestamp_ms":1788696963000,"timestamp_seconds":1788696963,"priority":1,"record_length":96,"hex_timestamp":"000001a076a5a7b8"} 
[2026-09-06 17:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:50: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-09-06 17: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 17:50: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-09-06 17: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-09-06 17:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:50: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-09-06 17:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906345984001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906345984001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:50:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:50:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906345984001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":172690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:50:54] local.INFO: GPS data processed {"connection_id":172690,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:50:54] local.INFO: Acknowledgment sent {"connection_id":172690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:50:55] local.INFO: TCP Data received {"connection_id":172932,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:50:55] local.INFO: Processing buffer {"connection_id":172932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:50:55] local.INFO: IMEI packet received {"connection_id":172932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":172932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:51:00] local.INFO: TCP Data received {"connection_id":172932,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:51:00] local.INFO: Processing buffer {"connection_id":172932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:51:00] local.INFO: IMEI packet received {"connection_id":172932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":172932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:51:01] local.INFO: TCP Data received {"connection_id":172932,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:51:01] local.INFO: Processing buffer {"connection_id":172932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:51:01] local.INFO: Packet analysis {"connection_id":172932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:51:01] local.INFO: Extracted packet for processing {"connection_id":172932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:51:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906376448001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:51: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-09-06 17:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788697084000,"timestamp_ms":1788697084000,"timestamp_seconds":1788697084,"priority":1,"record_length":96,"hex_timestamp":"000001a076a78060"} 
[2026-09-06 17:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:51:01] 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-09-06 17: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 17:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906376448001,"66":2220,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906376448001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:51:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:51:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906376448001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":172932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:51:01] local.INFO: GPS data processed {"connection_id":172932,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:51:01] local.INFO: Acknowledgment sent {"connection_id":172932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:51:26] local.INFO: TCP Data received {"connection_id":172690,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:51:26] local.INFO: Processing buffer {"connection_id":172690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:51:26] local.INFO: Packet analysis {"connection_id":172690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:51:26] local.INFO: Extracted packet for processing {"connection_id":172690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:51:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906422528001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788697260000,"timestamp_ms":1788697260000,"timestamp_seconds":1788697260,"priority":1,"record_length":96,"hex_timestamp":"000001a076aa2fe0"} 
[2026-09-06 17:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:51: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-09-06 17: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:51: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-09-06 17:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906422528001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906422528001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:51:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:51:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906422528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":172690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:51:26] local.INFO: GPS data processed {"connection_id":172690,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:51:26] local.INFO: Acknowledgment sent {"connection_id":172690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:51:32] local.INFO: TCP Data received {"connection_id":172932,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:51:32] local.INFO: Processing buffer {"connection_id":172932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:51:32] local.INFO: Packet analysis {"connection_id":172932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:51:32] local.INFO: Extracted packet for processing {"connection_id":172932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906376448001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:51:32] 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-09-06 17:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788697084000,"timestamp_ms":1788697084000,"timestamp_seconds":1788697084,"priority":1,"record_length":96,"hex_timestamp":"000001a076a78060"} 
[2026-09-06 17:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 17:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906376448001,"66":2220,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906376448001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:51:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906376448001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":172932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:51:32] local.INFO: GPS data processed {"connection_id":172932,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:51:32] local.INFO: Acknowledgment sent {"connection_id":172932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:51:47] local.INFO: TCP Data received {"connection_id":175424,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:51:47] local.INFO: Processing buffer {"connection_id":175424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:51:47] local.INFO: IMEI packet received {"connection_id":175424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":175424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:51:50] local.INFO: TCP Data received {"connection_id":174088,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:51:50] local.INFO: Processing buffer {"connection_id":174088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:51:50] local.INFO: IMEI packet received {"connection_id":174088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 17:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":174088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:51:52] local.INFO: TCP Data received {"connection_id":175424,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:51:52] local.INFO: Processing buffer {"connection_id":175424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:51:52] local.INFO: IMEI packet received {"connection_id":175424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":175424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:51:53] local.INFO: TCP Data received {"connection_id":175424,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:51:53] local.INFO: Processing buffer {"connection_id":175424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:51:53] local.INFO: Packet analysis {"connection_id":175424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:51:53] local.INFO: Extracted packet for processing {"connection_id":175424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906422528001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788697260000,"timestamp_ms":1788697260000,"timestamp_seconds":1788697260,"priority":1,"record_length":96,"hex_timestamp":"000001a076aa2fe0"} 
[2026-09-06 17:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906422528001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 17:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906422528001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:51:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:51:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906422528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":175424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:51:53] local.INFO: GPS data processed {"connection_id":175424,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:51:53] local.INFO: Acknowledgment sent {"connection_id":175424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:52:00] local.INFO: TCP Data received {"connection_id":174089,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:52:00] local.INFO: Processing buffer {"connection_id":174089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:52:00] local.INFO: IMEI packet received {"connection_id":174089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":174089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:52:05] local.INFO: TCP Data received {"connection_id":174089,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:52:05] local.INFO: Processing buffer {"connection_id":174089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:52:05] local.INFO: IMEI packet received {"connection_id":174089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":174089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:52:06] local.INFO: TCP Data received {"connection_id":174089,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:52:06] local.INFO: Processing buffer {"connection_id":174089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:52:06] local.INFO: Packet analysis {"connection_id":174089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:52:06] local.INFO: Extracted packet for processing {"connection_id":174089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 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-09-06 17:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906376448001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788697084000,"timestamp_ms":1788697084000,"timestamp_seconds":1788697084,"priority":1,"record_length":96,"hex_timestamp":"000001a076a78060"} 
[2026-09-06 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-09-06 17:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 17:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 17:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906376448001,"66":2220,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906376448001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:52:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906376448001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":174089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:52:06] local.INFO: GPS data processed {"connection_id":174089,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:52:06] local.INFO: Acknowledgment sent {"connection_id":174089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:52:10] local.INFO: TCP Data received {"connection_id":174089,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:52:10] local.INFO: Processing buffer {"connection_id":174089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:52:10] local.INFO: Packet analysis {"connection_id":174089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:52:10] local.INFO: Extracted packet for processing {"connection_id":174089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 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-09-06 17:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906376448001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:52: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-09-06 17:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788697084000,"timestamp_ms":1788697084000,"timestamp_seconds":1788697084,"priority":1,"record_length":96,"hex_timestamp":"000001a076a78060"} 
[2026-09-06 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-09-06 17:52:10] 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-09-06 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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 17:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 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-09-06 17:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906376448001,"66":2220,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906376448001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:52:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906376448001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":174089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:52:10] local.INFO: GPS data processed {"connection_id":174089,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:52:10] local.INFO: Acknowledgment sent {"connection_id":174089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:52:25] local.INFO: TCP Data received {"connection_id":175424,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:52:25] local.INFO: Processing buffer {"connection_id":175424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:52:25] local.INFO: Packet analysis {"connection_id":175424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:52:25] local.INFO: Extracted packet for processing {"connection_id":175424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:52:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906422528001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788697260000,"timestamp_ms":1788697260000,"timestamp_seconds":1788697260,"priority":1,"record_length":96,"hex_timestamp":"000001a076aa2fe0"} 
[2026-09-06 17:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906422528001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 17:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906422528001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:52:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:52:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906422528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":175424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:52:25] local.INFO: GPS data processed {"connection_id":175424,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:52:25] local.INFO: Acknowledgment sent {"connection_id":175424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:52:47] local.INFO: TCP Data received {"connection_id":174090,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:52:47] local.INFO: Processing buffer {"connection_id":174090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:52:47] local.INFO: IMEI packet received {"connection_id":174090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":174090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:52:52] local.INFO: TCP Data received {"connection_id":174090,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:52:52] local.INFO: Processing buffer {"connection_id":174090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:52:52] local.INFO: IMEI packet received {"connection_id":174090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":174090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:52:54] local.INFO: TCP Data received {"connection_id":174090,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:52:54] local.INFO: Processing buffer {"connection_id":174090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:52:54] local.INFO: Packet analysis {"connection_id":174090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:52:54] local.INFO: Extracted packet for processing {"connection_id":174090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:52:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906422528001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:52: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-09-06 17:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788697260000,"timestamp_ms":1788697260000,"timestamp_seconds":1788697260,"priority":1,"record_length":96,"hex_timestamp":"000001a076aa2fe0"} 
[2026-09-06 17:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:52: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-09-06 17: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906422528001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 17:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906422528001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:52:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:52:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906422528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":174090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:52:54] local.INFO: GPS data processed {"connection_id":174090,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:52:54] local.INFO: Acknowledgment sent {"connection_id":174090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:52:55] local.INFO: TCP Data received {"connection_id":174092,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:52:55] local.INFO: Processing buffer {"connection_id":174092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:52:55] local.INFO: IMEI packet received {"connection_id":174092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":174092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:53:00] local.INFO: TCP Data received {"connection_id":174092,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:53:00] local.INFO: Processing buffer {"connection_id":174092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:53:00] local.INFO: IMEI packet received {"connection_id":174092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":174092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:53:00] local.INFO: TCP Data received {"connection_id":174092,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:53:00] local.INFO: Processing buffer {"connection_id":174092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076a78060012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:53:00] local.INFO: Packet analysis {"connection_id":174092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:53:00] local.INFO: Extracted packet for processing {"connection_id":174092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076a7"} 
[2026-09-06 17:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906376448001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:53:00] 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-09-06 17:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788697084000,"timestamp_ms":1788697084000,"timestamp_seconds":1788697084,"priority":1,"record_length":96,"hex_timestamp":"000001a076a78060"} 
[2026-09-06 17:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-06 17:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906376448001,"66":2220,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906376448001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:53:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:53:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906376448001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":174092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:53:00] local.INFO: GPS data processed {"connection_id":174092,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:53:00] local.INFO: Acknowledgment sent {"connection_id":174092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:53:25] local.INFO: TCP Data received {"connection_id":174090,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:53:25] local.INFO: Processing buffer {"connection_id":174090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:53:25] local.INFO: Packet analysis {"connection_id":174090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:53:25] local.INFO: Extracted packet for processing {"connection_id":174090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:53:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906422528001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788697260000,"timestamp_ms":1788697260000,"timestamp_seconds":1788697260,"priority":1,"record_length":96,"hex_timestamp":"000001a076aa2fe0"} 
[2026-09-06 17:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:53: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-09-06 17:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906422528001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 17:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906422528001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:53:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:53:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906422528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":174090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:53:25] local.INFO: GPS data processed {"connection_id":174090,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:53:25] local.INFO: Acknowledgment sent {"connection_id":174090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:53:31] local.INFO: TCP Data received {"connection_id":174092,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:53:31] local.INFO: Processing buffer {"connection_id":174092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:53:31] local.INFO: Packet analysis {"connection_id":174092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:53:31] local.INFO: Extracted packet for processing {"connection_id":174092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:53:31] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906453504001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:53: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-09-06 17:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788697385000,"timestamp_ms":1788697385000,"timestamp_seconds":1788697385,"priority":1,"record_length":96,"hex_timestamp":"000001a076ac1828"} 
[2026-09-06 17:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:53:31] 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-09-06 17:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-06 17:53:31] 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-09-06 17:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906453504001,"66":2231,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906453504001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:53:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:53:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906453504001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":174092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:53:31] local.INFO: GPS data processed {"connection_id":174092,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:53:31] local.INFO: Acknowledgment sent {"connection_id":174092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:53:48] local.INFO: TCP Data received {"connection_id":172933,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:53:48] local.INFO: Processing buffer {"connection_id":172933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:53:48] local.INFO: IMEI packet received {"connection_id":172933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":172933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:53:52] local.INFO: TCP Data received {"connection_id":172933,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:53:52] local.INFO: Processing buffer {"connection_id":172933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:53:52] local.INFO: IMEI packet received {"connection_id":172933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":172933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:53:54] local.INFO: TCP Data received {"connection_id":172933,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:53:54] local.INFO: Processing buffer {"connection_id":172933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:53:54] local.INFO: Packet analysis {"connection_id":172933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:53:54] local.INFO: Extracted packet for processing {"connection_id":172933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:53:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906422528001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788697260000,"timestamp_ms":1788697260000,"timestamp_seconds":1788697260,"priority":1,"record_length":96,"hex_timestamp":"000001a076aa2fe0"} 
[2026-09-06 17:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:53: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-09-06 17: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906422528001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906422528001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:53:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:53:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906422528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":172933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:53:54] local.INFO: GPS data processed {"connection_id":172933,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:53:54] local.INFO: Acknowledgment sent {"connection_id":172933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:53:55] local.INFO: TCP Data received {"connection_id":172691,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:53:55] local.INFO: Processing buffer {"connection_id":172691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:53:55] local.INFO: IMEI packet received {"connection_id":172691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":172691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:54:00] local.INFO: TCP Data received {"connection_id":172691,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:54:00] local.INFO: Processing buffer {"connection_id":172691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:54:00] local.INFO: IMEI packet received {"connection_id":172691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":172691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:54:01] local.INFO: TCP Data received {"connection_id":172691,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:54:01] local.INFO: Processing buffer {"connection_id":172691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:54:01] local.INFO: Packet analysis {"connection_id":172691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:54:01] local.INFO: Extracted packet for processing {"connection_id":172691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906453504001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:54: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-09-06 17:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788697385000,"timestamp_ms":1788697385000,"timestamp_seconds":1788697385,"priority":1,"record_length":96,"hex_timestamp":"000001a076ac1828"} 
[2026-09-06 17:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:54:01] 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-09-06 17: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":172,"data_length":795,"current_offset":136} 
[2026-09-06 17:54:01] 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-09-06 17: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-09-06 17:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906453504001,"66":2231,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906453504001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:54:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906453504001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":172691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:54:01] local.INFO: GPS data processed {"connection_id":172691,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:54:01] local.INFO: Acknowledgment sent {"connection_id":172691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:54:27] local.INFO: TCP Data received {"connection_id":172933,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:54:27] local.INFO: Processing buffer {"connection_id":172933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:54:27] local.INFO: Packet analysis {"connection_id":172933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:54:27] local.INFO: Extracted packet for processing {"connection_id":172933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:54:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906422528001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:54: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-09-06 17:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788697260000,"timestamp_ms":1788697260000,"timestamp_seconds":1788697260,"priority":1,"record_length":96,"hex_timestamp":"000001a076aa2fe0"} 
[2026-09-06 17:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:54: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-09-06 17:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:54: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-09-06 17:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906422528001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906422528001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:54:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:54:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906422528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":172933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:54:27] local.INFO: GPS data processed {"connection_id":172933,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:54:27] local.INFO: Acknowledgment sent {"connection_id":172933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:54:32] local.INFO: TCP Data received {"connection_id":172691,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:54:32] local.INFO: Processing buffer {"connection_id":172691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:54:32] local.INFO: Packet analysis {"connection_id":172691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:54:32] local.INFO: Extracted packet for processing {"connection_id":172691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:54:32] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906453504001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:54:32] 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-09-06 17:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788697385000,"timestamp_ms":1788697385000,"timestamp_seconds":1788697385,"priority":1,"record_length":96,"hex_timestamp":"000001a076ac1828"} 
[2026-09-06 17:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17: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":172,"data_length":795,"current_offset":136} 
[2026-09-06 17:54:32] 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-09-06 17: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-09-06 17:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906453504001,"66":2231,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906453504001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:54:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906453504001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":172691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:54:32] local.INFO: GPS data processed {"connection_id":172691,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:54:32] local.INFO: Acknowledgment sent {"connection_id":172691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:54:47] local.INFO: TCP Data received {"connection_id":172692,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:54:47] local.INFO: Processing buffer {"connection_id":172692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:54:47] local.INFO: IMEI packet received {"connection_id":172692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":172692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:54:52] local.INFO: TCP Data received {"connection_id":172692,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:54:52] local.INFO: Processing buffer {"connection_id":172692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:54:52] local.INFO: IMEI packet received {"connection_id":172692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":172692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:54:55] local.INFO: TCP Data received {"connection_id":175425,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:54:55] local.INFO: Processing buffer {"connection_id":175425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:54:55] local.INFO: IMEI packet received {"connection_id":175425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":175425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:54:55] local.INFO: TCP Data received {"connection_id":172692,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:54:55] local.INFO: Processing buffer {"connection_id":172692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:54:55] local.INFO: Packet analysis {"connection_id":172692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:54:55] local.INFO: Extracted packet for processing {"connection_id":172692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:54:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906422528001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788697260000,"timestamp_ms":1788697260000,"timestamp_seconds":1788697260,"priority":1,"record_length":96,"hex_timestamp":"000001a076aa2fe0"} 
[2026-09-06 17:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:54: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-09-06 17: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:54: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-09-06 17:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906422528001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906422528001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:54:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:54:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906422528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":172692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:54:55] local.INFO: GPS data processed {"connection_id":172692,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:54:55] local.INFO: Acknowledgment sent {"connection_id":172692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:55:00] local.INFO: TCP Data received {"connection_id":175425,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:55:00] local.INFO: Processing buffer {"connection_id":175425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:55:00] local.INFO: IMEI packet received {"connection_id":175425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":175425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:55:01] local.INFO: TCP Data received {"connection_id":175425,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:55:01] local.INFO: Processing buffer {"connection_id":175425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:55:01] local.INFO: Packet analysis {"connection_id":175425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:55:01] local.INFO: Extracted packet for processing {"connection_id":175425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906453504001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:55: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-09-06 17:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788697385000,"timestamp_ms":1788697385000,"timestamp_seconds":1788697385,"priority":1,"record_length":96,"hex_timestamp":"000001a076ac1828"} 
[2026-09-06 17:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:55:01] 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-09-06 17:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-06 17:55:01] 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-09-06 17:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906453504001,"66":2231,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906453504001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:55:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906453504001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":175425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:55:01] local.INFO: GPS data processed {"connection_id":175425,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:55:01] local.INFO: Acknowledgment sent {"connection_id":175425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:55:26] local.INFO: TCP Data received {"connection_id":172692,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:55:26] local.INFO: Processing buffer {"connection_id":172692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:55:26] local.INFO: Packet analysis {"connection_id":172692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:55:26] local.INFO: Extracted packet for processing {"connection_id":172692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:55:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906422528001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:55: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-09-06 17:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788697260000,"timestamp_ms":1788697260000,"timestamp_seconds":1788697260,"priority":1,"record_length":96,"hex_timestamp":"000001a076aa2fe0"} 
[2026-09-06 17:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:55: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-09-06 17:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:55: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-09-06 17:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906422528001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906422528001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:55:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:55:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906422528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":172692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:55:26] local.INFO: GPS data processed {"connection_id":172692,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:55:26] local.INFO: Acknowledgment sent {"connection_id":172692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:55:32] local.INFO: TCP Data received {"connection_id":175425,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:55:32] local.INFO: Processing buffer {"connection_id":175425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:55:32] local.INFO: Packet analysis {"connection_id":175425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:55:32] local.INFO: Extracted packet for processing {"connection_id":175425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906453504001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:55:32] 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-09-06 17:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788697385000,"timestamp_ms":1788697385000,"timestamp_seconds":1788697385,"priority":1,"record_length":96,"hex_timestamp":"000001a076ac1828"} 
[2026-09-06 17:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-06 17:55:32] 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-09-06 17:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906453504001,"66":2231,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906453504001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:55:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:55:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906453504001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":175425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:55:32] local.INFO: GPS data processed {"connection_id":175425,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:55:32] local.INFO: Acknowledgment sent {"connection_id":175425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:55:47] local.INFO: TCP Data received {"connection_id":172694,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:55:47] local.INFO: Processing buffer {"connection_id":172694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:55:47] local.INFO: IMEI packet received {"connection_id":172694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":172694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:55:52] local.INFO: TCP Data received {"connection_id":172694,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:55:52] local.INFO: Processing buffer {"connection_id":172694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:55:52] local.INFO: IMEI packet received {"connection_id":172694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":172694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:55:53] local.INFO: TCP Data received {"connection_id":172694,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:55:53] local.INFO: Processing buffer {"connection_id":172694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aa2fe0012d34c50006aa3d30000e013528..."} 
[2026-09-06 17:55:53] local.INFO: Packet analysis {"connection_id":172694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:55:53] local.INFO: Extracted packet for processing {"connection_id":172694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076aa"} 
[2026-09-06 17:55:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906422528001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788697260000,"timestamp_ms":1788697260000,"timestamp_seconds":1788697260,"priority":1,"record_length":96,"hex_timestamp":"000001a076aa2fe0"} 
[2026-09-06 17:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:55: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-09-06 17: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 17:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17: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-09-06 17:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:55: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-09-06 17:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906422528001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906422528001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:55:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:55:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906422528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":172694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:55:53] local.INFO: GPS data processed {"connection_id":172694,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:55:53] local.INFO: Acknowledgment sent {"connection_id":172694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:55:55] local.INFO: TCP Data received {"connection_id":172695,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:55:55] local.INFO: Processing buffer {"connection_id":172695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:55:55] local.INFO: IMEI packet received {"connection_id":172695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":172695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:56:00] local.INFO: TCP Data received {"connection_id":172695,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:56:00] local.INFO: Processing buffer {"connection_id":172695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:56:00] local.INFO: IMEI packet received {"connection_id":172695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":172695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:56:01] local.INFO: TCP Data received {"connection_id":172695,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:56:01] local.INFO: Processing buffer {"connection_id":172695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:56:01] local.INFO: Packet analysis {"connection_id":172695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:56:01] local.INFO: Extracted packet for processing {"connection_id":172695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906453504001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:56: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-09-06 17:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788697385000,"timestamp_ms":1788697385000,"timestamp_seconds":1788697385,"priority":1,"record_length":96,"hex_timestamp":"000001a076ac1828"} 
[2026-09-06 17:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:56:01] 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-09-06 17:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-06 17:56:01] 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-09-06 17:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906453504001,"66":2231,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906453504001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:56:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906453504001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":172695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:56:01] local.INFO: GPS data processed {"connection_id":172695,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:56:01] local.INFO: Acknowledgment sent {"connection_id":172695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:56:24] local.INFO: TCP Data received {"connection_id":172694,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:56:24] local.INFO: Processing buffer {"connection_id":172694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:56:24] local.INFO: Packet analysis {"connection_id":172694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 17:56:24] local.INFO: Extracted packet for processing {"connection_id":172694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 17:56:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 17:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906498560001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 17:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788697559000,"timestamp_ms":1788697559000,"timestamp_seconds":1788697559,"priority":1,"record_length":96,"hex_timestamp":"000001a076aebfd8"} 
[2026-09-06 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-09-06 17: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-09-06 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 17:56: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-09-06 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-09-06 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-09-06 17:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:56: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-09-06 17:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906498560001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906498560001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:56:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:56:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906498560001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":172694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:56:24] local.INFO: GPS data processed {"connection_id":172694,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:56:24] local.INFO: Acknowledgment sent {"connection_id":172694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:56:32] local.INFO: TCP Data received {"connection_id":172695,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:56:32] local.INFO: Processing buffer {"connection_id":172695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:56:32] local.INFO: Packet analysis {"connection_id":172695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:56:32] local.INFO: Extracted packet for processing {"connection_id":172695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906453504001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:56:32] 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-09-06 17:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788697385000,"timestamp_ms":1788697385000,"timestamp_seconds":1788697385,"priority":1,"record_length":96,"hex_timestamp":"000001a076ac1828"} 
[2026-09-06 17:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-06 17:56:32] 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-09-06 17:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906453504001,"66":2231,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906453504001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:56:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:56:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906453504001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":172695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:56:32] local.INFO: GPS data processed {"connection_id":172695,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:56:32] local.INFO: Acknowledgment sent {"connection_id":172695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:56:52] local.INFO: TCP Data received {"connection_id":174093,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:56:52] local.INFO: Processing buffer {"connection_id":174093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:56:52] local.INFO: IMEI packet received {"connection_id":174093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":174093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:56:57] local.INFO: TCP Data received {"connection_id":174093,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:56:57] local.INFO: Processing buffer {"connection_id":174093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:56:57] local.INFO: IMEI packet received {"connection_id":174093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":174093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:56:58] local.INFO: TCP Data received {"connection_id":174093,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:56:58] local.INFO: Processing buffer {"connection_id":174093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:56:58] local.INFO: Packet analysis {"connection_id":174093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 17:56:58] local.INFO: Extracted packet for processing {"connection_id":174093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 17:56:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906498560001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788697559000,"timestamp_ms":1788697559000,"timestamp_seconds":1788697559,"priority":1,"record_length":96,"hex_timestamp":"000001a076aebfd8"} 
[2026-09-06 17:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:56: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-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:56: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-09-06 17:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906498560001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906498560001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:56:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:56:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906498560001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":174093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:56:58] local.INFO: GPS data processed {"connection_id":174093,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:56:58] local.INFO: Acknowledgment sent {"connection_id":174093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:57:00] local.INFO: TCP Data received {"connection_id":172936,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:57:00] local.INFO: Processing buffer {"connection_id":172936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:57:00] local.INFO: IMEI packet received {"connection_id":172936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":172936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:57:03] local.INFO: TCP Data received {"connection_id":174093,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:57:03] local.INFO: Processing buffer {"connection_id":174093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:57:03] local.INFO: Packet analysis {"connection_id":174093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 17:57:03] local.INFO: Extracted packet for processing {"connection_id":174093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 17:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906498560001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17:57: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-09-06 17:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788697559000,"timestamp_ms":1788697559000,"timestamp_seconds":1788697559,"priority":1,"record_length":96,"hex_timestamp":"000001a076aebfd8"} 
[2026-09-06 17:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:57: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-09-06 17:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 17:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 17:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906498560001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906498560001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906498560001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":174093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:57:03] local.INFO: GPS data processed {"connection_id":174093,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:57:03] local.INFO: Acknowledgment sent {"connection_id":174093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:57:05] local.INFO: TCP Data received {"connection_id":172936,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:57:05] local.INFO: Processing buffer {"connection_id":172936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:57:05] local.INFO: IMEI packet received {"connection_id":172936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":172936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:57:06] local.INFO: TCP Data received {"connection_id":172936,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:57:06] local.INFO: Processing buffer {"connection_id":172936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:57:06] local.INFO: Packet analysis {"connection_id":172936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:57:06] local.INFO: Extracted packet for processing {"connection_id":172936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906453504001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 17:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788697385000,"timestamp_ms":1788697385000,"timestamp_seconds":1788697385,"priority":1,"record_length":96,"hex_timestamp":"000001a076ac1828"} 
[2026-09-06 17:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17: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":172,"data_length":795,"current_offset":136} 
[2026-09-06 17:57:06] 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-09-06 17: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-09-06 17:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":172936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":172936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":172936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906453504001,"66":2231,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906453504001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:57:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906453504001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":172936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:57:06] local.INFO: GPS data processed {"connection_id":172936,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:57:06] local.INFO: Acknowledgment sent {"connection_id":172936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:57:24] local.INFO: TCP Data received {"connection_id":175426,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:57:24] local.INFO: Processing buffer {"connection_id":175426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:57:24] local.INFO: IMEI packet received {"connection_id":175426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 17:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":175426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:57:37] local.INFO: TCP Data received {"connection_id":172936,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:57:37] local.INFO: Processing buffer {"connection_id":172936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:57:37] local.INFO: Packet analysis {"connection_id":172936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:57:37] local.INFO: Extracted packet for processing {"connection_id":172936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:57:37] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906453504001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:57: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-09-06 17:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788697385000,"timestamp_ms":1788697385000,"timestamp_seconds":1788697385,"priority":1,"record_length":96,"hex_timestamp":"000001a076ac1828"} 
[2026-09-06 17:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-06 17:57:37] 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-09-06 17:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906453504001,"66":2231,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906453504001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:57:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:57:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906453504001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":172936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:57:37] local.INFO: GPS data processed {"connection_id":172936,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:57:37] local.INFO: Acknowledgment sent {"connection_id":172936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:57:47] local.INFO: TCP Data received {"connection_id":172937,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:57:47] local.INFO: Processing buffer {"connection_id":172937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:57:47] local.INFO: IMEI packet received {"connection_id":172937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":172937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:57:49] local.INFO: TCP Data received {"connection_id":172938,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:57:49] local.INFO: Processing buffer {"connection_id":172938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 17:57:49] local.INFO: IMEI packet received {"connection_id":172938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 17:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":172938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:57:52] local.INFO: TCP Data received {"connection_id":172937,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:57:52] local.INFO: Processing buffer {"connection_id":172937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:57:52] local.INFO: IMEI packet received {"connection_id":172937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":172937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:57:53] local.INFO: TCP Data received {"connection_id":172937,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:57:53] local.INFO: Processing buffer {"connection_id":172937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:57:53] local.INFO: Packet analysis {"connection_id":172937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 17:57:53] local.INFO: Extracted packet for processing {"connection_id":172937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 17:57:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906498560001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788697559000,"timestamp_ms":1788697559000,"timestamp_seconds":1788697559,"priority":1,"record_length":96,"hex_timestamp":"000001a076aebfd8"} 
[2026-09-06 17:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:57: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-09-06 17: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-09-06 17: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-09-06 17: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-09-06 17:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:57: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-09-06 17:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906498560001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906498560001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:57:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:57:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906498560001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":172937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:57:53] local.INFO: GPS data processed {"connection_id":172937,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:57:53] local.INFO: Acknowledgment sent {"connection_id":172937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:57:55] local.INFO: TCP Data received {"connection_id":172696,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:57:55] local.INFO: Processing buffer {"connection_id":172696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:57:55] local.INFO: IMEI packet received {"connection_id":172696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":172696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:58:00] local.INFO: TCP Data received {"connection_id":172696,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:58:00] local.INFO: Processing buffer {"connection_id":172696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:58:00] local.INFO: IMEI packet received {"connection_id":172696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":172696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:58:01] local.INFO: TCP Data received {"connection_id":172696,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:58:01] local.INFO: Processing buffer {"connection_id":172696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ac1828012d7e37c005d34c98000400d726..."} 
[2026-09-06 17:58:01] local.INFO: Packet analysis {"connection_id":172696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:58:01] local.INFO: Extracted packet for processing {"connection_id":172696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ac"} 
[2026-09-06 17:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906453504001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:58: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-09-06 17:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788697385000,"timestamp_ms":1788697385000,"timestamp_seconds":1788697385,"priority":1,"record_length":96,"hex_timestamp":"000001a076ac1828"} 
[2026-09-06 17:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:58:01] 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-09-06 17:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-06 17:58:01] 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-09-06 17:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906453504001,"66":2231,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906453504001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:58:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906453504001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":172696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:58:01] local.INFO: GPS data processed {"connection_id":172696,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:58:01] local.INFO: Acknowledgment sent {"connection_id":172696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:58:25] local.INFO: TCP Data received {"connection_id":172937,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:58:25] local.INFO: Processing buffer {"connection_id":172937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:58:25] local.INFO: Packet analysis {"connection_id":172937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 17:58:25] local.INFO: Extracted packet for processing {"connection_id":172937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 17:58:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906498560001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788697559000,"timestamp_ms":1788697559000,"timestamp_seconds":1788697559,"priority":1,"record_length":96,"hex_timestamp":"000001a076aebfd8"} 
[2026-09-06 17:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:58: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-09-06 17: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 17:58: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-09-06 17: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-09-06 17:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:58: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-09-06 17:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906498560001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906498560001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:58:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:58:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906498560001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":172937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:58:25] local.INFO: GPS data processed {"connection_id":172937,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:58:25] local.INFO: Acknowledgment sent {"connection_id":172937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:58:31] local.INFO: TCP Data received {"connection_id":172696,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 17:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 17:58:31] local.INFO: Processing buffer {"connection_id":172696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 17:58:31] local.INFO: Packet analysis {"connection_id":172696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 17:58:31] local.INFO: Extracted packet for processing {"connection_id":172696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 17:58:31] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906530560001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:58: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-09-06 17:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788697686000,"timestamp_ms":1788697686000,"timestamp_seconds":1788697686,"priority":1,"record_length":96,"hex_timestamp":"000001a076b0aff0"} 
[2026-09-06 17:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:58:31] 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-09-06 17:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 17:58:31] 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-09-06 17:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906530560001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906530560001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:58:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:58:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906530560001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":172696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:58:31] local.INFO: GPS data processed {"connection_id":172696,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:58:31] local.INFO: Acknowledgment sent {"connection_id":172696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:58:47] local.INFO: TCP Data received {"connection_id":175427,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:58:47] local.INFO: Processing buffer {"connection_id":175427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:58:47] local.INFO: IMEI packet received {"connection_id":175427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":175427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:58:52] local.INFO: TCP Data received {"connection_id":175427,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:58:52] local.INFO: Processing buffer {"connection_id":175427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:58:52] local.INFO: IMEI packet received {"connection_id":175427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":175427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:58:53] local.INFO: TCP Data received {"connection_id":175427,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:58:53] local.INFO: Processing buffer {"connection_id":175427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:58:53] local.INFO: Packet analysis {"connection_id":175427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 17:58:53] local.INFO: Extracted packet for processing {"connection_id":175427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 17:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906498560001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788697559000,"timestamp_ms":1788697559000,"timestamp_seconds":1788697559,"priority":1,"record_length":96,"hex_timestamp":"000001a076aebfd8"} 
[2026-09-06 17:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:58: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-09-06 17: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 17:58: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-09-06 17: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-09-06 17:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:58: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-09-06 17:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906498560001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906498560001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:58:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906498560001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":175427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:58:53] local.INFO: GPS data processed {"connection_id":175427,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:58:53] local.INFO: Acknowledgment sent {"connection_id":175427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:58:55] local.INFO: TCP Data received {"connection_id":175428,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:58:55] local.INFO: Processing buffer {"connection_id":175428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:58:55] local.INFO: IMEI packet received {"connection_id":175428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":175428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:59:00] local.INFO: TCP Data received {"connection_id":175428,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:59:00] local.INFO: Processing buffer {"connection_id":175428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:59:00] local.INFO: IMEI packet received {"connection_id":175428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 17:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":175428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:59:00] local.INFO: TCP Data received {"connection_id":175428,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 17:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 17:59:00] local.INFO: Processing buffer {"connection_id":175428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 17:59:00] local.INFO: Packet analysis {"connection_id":175428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 17:59:00] local.INFO: Extracted packet for processing {"connection_id":175428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 17:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906530560001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:59:00] 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-09-06 17:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788697686000,"timestamp_ms":1788697686000,"timestamp_seconds":1788697686,"priority":1,"record_length":96,"hex_timestamp":"000001a076b0aff0"} 
[2026-09-06 17:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 17:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 17:59:00] 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-09-06 17:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906530560001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906530560001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:59:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:59:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906530560001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":175428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:59:00] local.INFO: GPS data processed {"connection_id":175428,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:59:00] local.INFO: Acknowledgment sent {"connection_id":175428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:59:25] local.INFO: TCP Data received {"connection_id":175427,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:59:25] local.INFO: Processing buffer {"connection_id":175427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:59:25] local.INFO: Packet analysis {"connection_id":175427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 17:59:25] local.INFO: Extracted packet for processing {"connection_id":175427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 17:59:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906498560001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788697559000,"timestamp_ms":1788697559000,"timestamp_seconds":1788697559,"priority":1,"record_length":96,"hex_timestamp":"000001a076aebfd8"} 
[2026-09-06 17:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:59: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-09-06 17:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 17:59: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-09-06 17: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-09-06 17:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:59: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-09-06 17:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906498560001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 17:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906498560001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:59:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:59:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906498560001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":175427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:59:25] local.INFO: GPS data processed {"connection_id":175427,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:59:25] local.INFO: Acknowledgment sent {"connection_id":175427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:59:31] local.INFO: TCP Data received {"connection_id":175428,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 17:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 17:59:31] local.INFO: Processing buffer {"connection_id":175428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 17:59:31] local.INFO: Packet analysis {"connection_id":175428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 17:59:31] local.INFO: Extracted packet for processing {"connection_id":175428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 17:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 17:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 17:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906530560001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 17:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 17:59: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-09-06 17:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788697686000,"timestamp_ms":1788697686000,"timestamp_seconds":1788697686,"priority":1,"record_length":96,"hex_timestamp":"000001a076b0aff0"} 
[2026-09-06 17:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17:59:31] 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-09-06 17:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 17:59:31] 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-09-06 17:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 17:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 17:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 17:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 17:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906530560001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 17:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 17:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 17:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906530560001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:59:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 17:59:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 17:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 17:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906530560001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 17:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":175428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:59:31] local.INFO: GPS data processed {"connection_id":175428,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:59:31] local.INFO: Acknowledgment sent {"connection_id":175428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:59:47] local.INFO: TCP Data received {"connection_id":172939,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:59:47] local.INFO: Processing buffer {"connection_id":172939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:59:47] local.INFO: IMEI packet received {"connection_id":172939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 17:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":172939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 17:59:52] local.INFO: TCP Data received {"connection_id":172939,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:59:52] local.INFO: Processing buffer {"connection_id":172939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 17:59:52] local.INFO: IMEI packet received {"connection_id":172939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 17:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":172939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 17:59:53] local.INFO: TCP Data received {"connection_id":172939,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:59:53] local.INFO: Processing buffer {"connection_id":172939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 17:59:53] local.INFO: Packet analysis {"connection_id":172939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 17:59:53] local.INFO: Extracted packet for processing {"connection_id":172939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 17:59:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 17: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-09-06 17:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906498560001,"note":"Value kept but may cause issues"} 
[2026-09-06 17:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 17:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 17: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-09-06 17:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788697559000,"timestamp_ms":1788697559000,"timestamp_seconds":1788697559,"priority":1,"record_length":96,"hex_timestamp":"000001a076aebfd8"} 
[2026-09-06 17:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 17: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-09-06 17: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 17:59: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-09-06 17: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-09-06 17:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 17:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 17:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 17:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 17:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 17:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 17:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 17:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906498560001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 17:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 17:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 17:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906498560001,"description":"Unknown IO ID 0"} 
[2026-09-06 17:59:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 17:59:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 17:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 17:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 17:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906498560001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 17:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":172939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 17:59:53] local.INFO: GPS data processed {"connection_id":172939,"processed":1,"errors":0,"total":1} 
[2026-09-06 17:59:53] local.INFO: Acknowledgment sent {"connection_id":172939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 17:59:55] local.INFO: TCP Data received {"connection_id":174094,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:59:55] local.INFO: Processing buffer {"connection_id":174094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 17:59:55] local.INFO: IMEI packet received {"connection_id":174094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 17:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":174094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:00:00] local.INFO: TCP Data received {"connection_id":174094,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:00:00] local.INFO: Processing buffer {"connection_id":174094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:00:00] local.INFO: IMEI packet received {"connection_id":174094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":174094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:00:01] local.INFO: TCP Data received {"connection_id":174094,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:00:01] local.INFO: Processing buffer {"connection_id":174094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:00:01] local.INFO: Packet analysis {"connection_id":174094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 18:00:01] local.INFO: Extracted packet for processing {"connection_id":174094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 18:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906530560001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:00: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-09-06 18:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788697686000,"timestamp_ms":1788697686000,"timestamp_seconds":1788697686,"priority":1,"record_length":96,"hex_timestamp":"000001a076b0aff0"} 
[2026-09-06 18:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 18:00:01] 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-09-06 18:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906530560001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906530560001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:00:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906530560001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":174094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:00:01] local.INFO: GPS data processed {"connection_id":174094,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:00:01] local.INFO: Acknowledgment sent {"connection_id":174094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:00:25] local.INFO: TCP Data received {"connection_id":172939,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 18:00:25] local.INFO: Processing buffer {"connection_id":172939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 18:00:25] local.INFO: Packet analysis {"connection_id":172939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 18:00:25] local.INFO: Extracted packet for processing {"connection_id":172939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 18:00:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906498560001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788697559000,"timestamp_ms":1788697559000,"timestamp_seconds":1788697559,"priority":1,"record_length":96,"hex_timestamp":"000001a076aebfd8"} 
[2026-09-06 18:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:00: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-09-06 18: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-09-06 18:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906498560001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 18:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906498560001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:00:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:00:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906498560001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":172939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:00:25] local.INFO: GPS data processed {"connection_id":172939,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:00:25] local.INFO: Acknowledgment sent {"connection_id":172939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:00:32] local.INFO: TCP Data received {"connection_id":174094,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:00:32] local.INFO: Processing buffer {"connection_id":174094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:00:32] local.INFO: Packet analysis {"connection_id":174094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 18:00:32] local.INFO: Extracted packet for processing {"connection_id":174094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 18:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906530560001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:00:32] 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-09-06 18:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788697686000,"timestamp_ms":1788697686000,"timestamp_seconds":1788697686,"priority":1,"record_length":96,"hex_timestamp":"000001a076b0aff0"} 
[2026-09-06 18:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:00:32] 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-09-06 18:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 18:00:32] 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-09-06 18:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906530560001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906530560001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:00:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:00:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906530560001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":174094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:00:32] local.INFO: GPS data processed {"connection_id":174094,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:00:32] local.INFO: Acknowledgment sent {"connection_id":174094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:00:47] local.INFO: TCP Data received {"connection_id":175430,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:00:47] local.INFO: Processing buffer {"connection_id":175430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:00:47] local.INFO: IMEI packet received {"connection_id":175430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":175430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:00:52] local.INFO: TCP Data received {"connection_id":175430,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:00:52] local.INFO: Processing buffer {"connection_id":175430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:00:52] local.INFO: IMEI packet received {"connection_id":175430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":175430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:00:53] local.INFO: TCP Data received {"connection_id":175430,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 18:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 18:00:53] local.INFO: Processing buffer {"connection_id":175430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076aebfd8012d34c50006aa3d30000e013523..."} 
[2026-09-06 18:00:53] local.INFO: Packet analysis {"connection_id":175430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 18:00:53] local.INFO: Extracted packet for processing {"connection_id":175430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ae"} 
[2026-09-06 18:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906498560001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788697559000,"timestamp_ms":1788697559000,"timestamp_seconds":1788697559,"priority":1,"record_length":96,"hex_timestamp":"000001a076aebfd8"} 
[2026-09-06 18:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:00: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-09-06 18:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:00: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-09-06 18:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:00: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-09-06 18:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906498560001,"66":25843,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906498560001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:00:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906498560001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":175430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:00:53] local.INFO: GPS data processed {"connection_id":175430,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:00:53] local.INFO: Acknowledgment sent {"connection_id":175430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:00:55] local.INFO: TCP Data received {"connection_id":174095,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:00:55] local.INFO: Processing buffer {"connection_id":174095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:00:55] local.INFO: IMEI packet received {"connection_id":174095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 18:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":174095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:01:00] local.INFO: TCP Data received {"connection_id":174095,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:01:00] local.INFO: Processing buffer {"connection_id":174095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:01:00] local.INFO: IMEI packet received {"connection_id":174095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":174095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:01:01] local.INFO: TCP Data received {"connection_id":174095,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:01:01] local.INFO: Processing buffer {"connection_id":174095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:01:01] local.INFO: Packet analysis {"connection_id":174095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 18:01:01] local.INFO: Extracted packet for processing {"connection_id":174095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 18:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906530560001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:01: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-09-06 18:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788697686000,"timestamp_ms":1788697686000,"timestamp_seconds":1788697686,"priority":1,"record_length":96,"hex_timestamp":"000001a076b0aff0"} 
[2026-09-06 18:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 18:01:01] 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-09-06 18: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-09-06 18:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906530560001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906530560001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:01:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:01:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906530560001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":174095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:01:01] local.INFO: GPS data processed {"connection_id":174095,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:01:01] local.INFO: Acknowledgment sent {"connection_id":174095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:01:25] local.INFO: TCP Data received {"connection_id":175430,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:01:25] local.INFO: Processing buffer {"connection_id":175430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:01:25] local.INFO: Packet analysis {"connection_id":175430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:01:25] local.INFO: Extracted packet for processing {"connection_id":175430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:01:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906575104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:01: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-09-06 18:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788697857000,"timestamp_ms":1788697857000,"timestamp_seconds":1788697857,"priority":1,"record_length":96,"hex_timestamp":"000001a076b34be8"} 
[2026-09-06 18:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:01: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-09-06 18:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 18:01: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-09-06 18:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:01: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-09-06 18:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906575104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906575104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:01:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:01:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906575104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":175430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:01:25] local.INFO: GPS data processed {"connection_id":175430,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:01:25] local.INFO: Acknowledgment sent {"connection_id":175430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:01:32] local.INFO: TCP Data received {"connection_id":174095,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:01:32] local.INFO: Processing buffer {"connection_id":174095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:01:32] local.INFO: Packet analysis {"connection_id":174095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 18:01:32] local.INFO: Extracted packet for processing {"connection_id":174095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 18:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906530560001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:01:32] 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-09-06 18:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788697686000,"timestamp_ms":1788697686000,"timestamp_seconds":1788697686,"priority":1,"record_length":96,"hex_timestamp":"000001a076b0aff0"} 
[2026-09-06 18:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:01:32] 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-09-06 18:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 18:01:32] 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-09-06 18:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906530560001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906530560001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:01:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:01:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906530560001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":174095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:01:32] local.INFO: GPS data processed {"connection_id":174095,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:01:32] local.INFO: Acknowledgment sent {"connection_id":174095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:01:52] local.INFO: TCP Data received {"connection_id":175431,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:01:52] local.INFO: Processing buffer {"connection_id":175431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:01:52] local.INFO: IMEI packet received {"connection_id":175431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":175431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:01:57] local.INFO: TCP Data received {"connection_id":175431,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:01:57] local.INFO: Processing buffer {"connection_id":175431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:01:57] local.INFO: IMEI packet received {"connection_id":175431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":175431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:01:59] local.INFO: TCP Data received {"connection_id":175431,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:01:59] local.INFO: Processing buffer {"connection_id":175431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:01:59] local.INFO: Packet analysis {"connection_id":175431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:01:59] local.INFO: Extracted packet for processing {"connection_id":175431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906575104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:01: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-09-06 18:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788697857000,"timestamp_ms":1788697857000,"timestamp_seconds":1788697857,"priority":1,"record_length":96,"hex_timestamp":"000001a076b34be8"} 
[2026-09-06 18:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:01: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-09-06 18:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 18:01:59] 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-09-06 18:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:01:59] 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-09-06 18:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906575104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906575104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:01:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:01:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906575104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":175431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:01:59] local.INFO: GPS data processed {"connection_id":175431,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:01:59] local.INFO: Acknowledgment sent {"connection_id":175431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:02:00] local.INFO: TCP Data received {"connection_id":172940,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:02:00] local.INFO: Processing buffer {"connection_id":172940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:02:00] local.INFO: IMEI packet received {"connection_id":172940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 18:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":172940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:02:03] local.INFO: TCP Data received {"connection_id":175431,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:02:03] local.INFO: Processing buffer {"connection_id":175431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:02:03] local.INFO: Packet analysis {"connection_id":175431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:02:03] local.INFO: Extracted packet for processing {"connection_id":175431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906575104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:02: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-09-06 18:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788697857000,"timestamp_ms":1788697857000,"timestamp_seconds":1788697857,"priority":1,"record_length":96,"hex_timestamp":"000001a076b34be8"} 
[2026-09-06 18:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:02: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-09-06 18:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-09-06 18:02: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-09-06 18:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906575104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906575104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:02:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906575104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":175431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:02:03] local.INFO: GPS data processed {"connection_id":175431,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:02:03] local.INFO: Acknowledgment sent {"connection_id":175431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:02:05] local.INFO: TCP Data received {"connection_id":172940,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:02:05] local.INFO: Processing buffer {"connection_id":172940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:02:05] local.INFO: IMEI packet received {"connection_id":172940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":172940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:02:05] local.INFO: TCP Data received {"connection_id":172940,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:02:05] local.INFO: Processing buffer {"connection_id":172940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:02:05] local.INFO: Packet analysis {"connection_id":172940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 18:02:05] local.INFO: Extracted packet for processing {"connection_id":172940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 18:02:05] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906530560001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 18:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788697686000,"timestamp_ms":1788697686000,"timestamp_seconds":1788697686,"priority":1,"record_length":96,"hex_timestamp":"000001a076b0aff0"} 
[2026-09-06 18:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:02: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-09-06 18:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 18:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":172940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":172940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":172940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906530560001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906530560001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:02:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:02:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906530560001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":172940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:02:06] local.INFO: GPS data processed {"connection_id":172940,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:02:06] local.INFO: Acknowledgment sent {"connection_id":172940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:02:37] local.INFO: TCP Data received {"connection_id":172940,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:02:37] local.INFO: Processing buffer {"connection_id":172940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:02:37] local.INFO: Packet analysis {"connection_id":172940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 18:02:37] local.INFO: Extracted packet for processing {"connection_id":172940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 18:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906530560001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 18:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788697686000,"timestamp_ms":1788697686000,"timestamp_seconds":1788697686,"priority":1,"record_length":96,"hex_timestamp":"000001a076b0aff0"} 
[2026-09-06 18:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:02: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-09-06 18:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 18:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":172940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":172940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":172940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906530560001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906530560001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:02:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906530560001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":172940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:02:37] local.INFO: GPS data processed {"connection_id":172940,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:02:37] local.INFO: Acknowledgment sent {"connection_id":172940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:02:47] local.INFO: TCP Data received {"connection_id":172700,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:02:47] local.INFO: Processing buffer {"connection_id":172700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:02:47] local.INFO: IMEI packet received {"connection_id":172700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":172700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:02:52] local.INFO: TCP Data received {"connection_id":172700,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:02:52] local.INFO: Processing buffer {"connection_id":172700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:02:52] local.INFO: IMEI packet received {"connection_id":172700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":172700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:02:53] local.INFO: TCP Data received {"connection_id":172700,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:02:53] local.INFO: Processing buffer {"connection_id":172700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:02:53] local.INFO: Packet analysis {"connection_id":172700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:02:53] local.INFO: Extracted packet for processing {"connection_id":172700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906575104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788697857000,"timestamp_ms":1788697857000,"timestamp_seconds":1788697857,"priority":1,"record_length":96,"hex_timestamp":"000001a076b34be8"} 
[2026-09-06 18:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 18:02: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-09-06 18: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-09-06 18:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906575104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 18:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906575104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:02:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906575104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":172700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:02:53] local.INFO: GPS data processed {"connection_id":172700,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:02:53] local.INFO: Acknowledgment sent {"connection_id":172700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:02:55] local.INFO: TCP Data received {"connection_id":174096,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:02:55] local.INFO: Processing buffer {"connection_id":174096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:02:55] local.INFO: IMEI packet received {"connection_id":174096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 18:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":174096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:03:00] local.INFO: TCP Data received {"connection_id":174096,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:03:00] local.INFO: Processing buffer {"connection_id":174096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:03:00] local.INFO: IMEI packet received {"connection_id":174096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":174096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:03:00] local.INFO: TCP Data received {"connection_id":174096,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:03:00] local.INFO: Processing buffer {"connection_id":174096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b0aff0012d7e37c005d34c98000400d72a..."} 
[2026-09-06 18:03:00] local.INFO: Packet analysis {"connection_id":174096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 18:03:00] local.INFO: Extracted packet for processing {"connection_id":174096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b0"} 
[2026-09-06 18:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906530560001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:03:00] 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-09-06 18:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788697686000,"timestamp_ms":1788697686000,"timestamp_seconds":1788697686,"priority":1,"record_length":96,"hex_timestamp":"000001a076b0aff0"} 
[2026-09-06 18:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-06 18:03:00] 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-09-06 18:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906530560001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906530560001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:03:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906530560001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":174096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:03:00] local.INFO: GPS data processed {"connection_id":174096,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:03:00] local.INFO: Acknowledgment sent {"connection_id":174096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:03:24] local.INFO: TCP Data received {"connection_id":172701,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:03:25] local.INFO: Processing buffer {"connection_id":172701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:03:25] local.INFO: IMEI packet received {"connection_id":172701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 18:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":172701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:03:25] local.INFO: TCP Data received {"connection_id":172700,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:03:25] local.INFO: Processing buffer {"connection_id":172700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:03:25] local.INFO: Packet analysis {"connection_id":172700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:03:25] local.INFO: Extracted packet for processing {"connection_id":172700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906575104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788697857000,"timestamp_ms":1788697857000,"timestamp_seconds":1788697857,"priority":1,"record_length":96,"hex_timestamp":"000001a076b34be8"} 
[2026-09-06 18:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 18:03: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-09-06 18: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-09-06 18:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906575104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 18:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906575104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906575104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":172700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:03:25] local.INFO: GPS data processed {"connection_id":172700,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:03:25] local.INFO: Acknowledgment sent {"connection_id":172700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:03:31] local.INFO: TCP Data received {"connection_id":174096,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:03:31] local.INFO: Processing buffer {"connection_id":174096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:03:31] local.INFO: Packet analysis {"connection_id":174096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:03:31] local.INFO: Extracted packet for processing {"connection_id":174096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906607616001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:03: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-09-06 18:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788697987000,"timestamp_ms":1788697987000,"timestamp_seconds":1788697987,"priority":1,"record_length":96,"hex_timestamp":"000001a076b547b8"} 
[2026-09-06 18:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:03:31] 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-09-06 18:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 18:03:31] 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-09-06 18:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906607616001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906607616001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:03:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:03:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906607616001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":174096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:03:31] local.INFO: GPS data processed {"connection_id":174096,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:03:31] local.INFO: Acknowledgment sent {"connection_id":174096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:03:47] local.INFO: TCP Data received {"connection_id":174097,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:03:47] local.INFO: Processing buffer {"connection_id":174097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:03:47] local.INFO: IMEI packet received {"connection_id":174097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":174097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:03:52] local.INFO: TCP Data received {"connection_id":174097,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:03:52] local.INFO: Processing buffer {"connection_id":174097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:03:52] local.INFO: IMEI packet received {"connection_id":174097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":174097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:03:53] local.INFO: TCP Data received {"connection_id":174097,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:03:53] local.INFO: Processing buffer {"connection_id":174097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:03:53] local.INFO: Packet analysis {"connection_id":174097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:03:53] local.INFO: Extracted packet for processing {"connection_id":174097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:03:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906575104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788697857000,"timestamp_ms":1788697857000,"timestamp_seconds":1788697857,"priority":1,"record_length":96,"hex_timestamp":"000001a076b34be8"} 
[2026-09-06 18:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:03: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-09-06 18: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 18:03: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-09-06 18: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-09-06 18:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:03: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-09-06 18:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906575104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906575104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:03:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:03:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906575104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":174097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:03:53] local.INFO: GPS data processed {"connection_id":174097,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:03:53] local.INFO: Acknowledgment sent {"connection_id":174097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:03:54] local.INFO: TCP Data received {"connection_id":172941,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:03:54] local.INFO: Processing buffer {"connection_id":172941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:03:54] local.INFO: IMEI packet received {"connection_id":172941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 18:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":172941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:03:55] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:03:55] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:03:55] local.INFO: IMEI packet received {"connection_id":175433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 18:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":175433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:04:00] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:04:00] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:04:00] local.INFO: IMEI packet received {"connection_id":175433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":175433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:04:01] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:04:01] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:04:01] local.INFO: Packet analysis {"connection_id":175433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:04:01] local.INFO: Extracted packet for processing {"connection_id":175433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906607616001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:04: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-09-06 18:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788697987000,"timestamp_ms":1788697987000,"timestamp_seconds":1788697987,"priority":1,"record_length":96,"hex_timestamp":"000001a076b547b8"} 
[2026-09-06 18:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:04:01] 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-09-06 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 18:04: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-09-06 18: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-09-06 18:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:04:01] 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-09-06 18:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906607616001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906607616001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:04:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906607616001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":175433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:04:01] local.INFO: GPS data processed {"connection_id":175433,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:04:01] local.INFO: Acknowledgment sent {"connection_id":175433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:04:25] local.INFO: TCP Data received {"connection_id":174097,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:04:25] local.INFO: Processing buffer {"connection_id":174097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:04:25] local.INFO: Packet analysis {"connection_id":174097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:04:25] local.INFO: Extracted packet for processing {"connection_id":174097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:04:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906575104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788697857000,"timestamp_ms":1788697857000,"timestamp_seconds":1788697857,"priority":1,"record_length":96,"hex_timestamp":"000001a076b34be8"} 
[2026-09-06 18:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:04: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-09-06 18: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 18:04: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-09-06 18: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-09-06 18:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:04: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-09-06 18:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906575104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906575104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:04:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:04:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906575104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":174097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:04:25] local.INFO: GPS data processed {"connection_id":174097,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:04:25] local.INFO: Acknowledgment sent {"connection_id":174097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:04:31] local.INFO: TCP Data received {"connection_id":175433,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:04:31] local.INFO: Processing buffer {"connection_id":175433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:04:31] local.INFO: Packet analysis {"connection_id":175433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:04:31] local.INFO: Extracted packet for processing {"connection_id":175433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:04:31] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906607616001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:04: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-09-06 18:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788697987000,"timestamp_ms":1788697987000,"timestamp_seconds":1788697987,"priority":1,"record_length":96,"hex_timestamp":"000001a076b547b8"} 
[2026-09-06 18:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:04:31] 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-09-06 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 18:04:31] 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-09-06 18: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-09-06 18:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:04:31] 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-09-06 18:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906607616001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906607616001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:04:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:04:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906607616001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":175433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:04:31] local.INFO: GPS data processed {"connection_id":175433,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:04:31] local.INFO: Acknowledgment sent {"connection_id":175433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:04:47] local.INFO: TCP Data received {"connection_id":174098,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:04:47] local.INFO: Processing buffer {"connection_id":174098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:04:47] local.INFO: IMEI packet received {"connection_id":174098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":174098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:04:52] local.INFO: TCP Data received {"connection_id":174098,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:04:52] local.INFO: Processing buffer {"connection_id":174098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:04:52] local.INFO: IMEI packet received {"connection_id":174098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":174098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:04:53] local.INFO: TCP Data received {"connection_id":174098,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:04:53] local.INFO: Processing buffer {"connection_id":174098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:04:53] local.INFO: Packet analysis {"connection_id":174098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:04:53] local.INFO: Extracted packet for processing {"connection_id":174098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906575104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788697857000,"timestamp_ms":1788697857000,"timestamp_seconds":1788697857,"priority":1,"record_length":96,"hex_timestamp":"000001a076b34be8"} 
[2026-09-06 18:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:04: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-09-06 18: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 18:04: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-09-06 18: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-09-06 18:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18: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-09-06 18:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906575104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906575104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:04:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906575104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":174098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:04:53] local.INFO: GPS data processed {"connection_id":174098,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:04:53] local.INFO: Acknowledgment sent {"connection_id":174098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:04:55] local.INFO: TCP Data received {"connection_id":172942,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:04:55] local.INFO: Processing buffer {"connection_id":172942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:04:55] local.INFO: IMEI packet received {"connection_id":172942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 18:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":172942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:05:00] local.INFO: TCP Data received {"connection_id":172942,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:05:00] local.INFO: Processing buffer {"connection_id":172942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:05:00] local.INFO: IMEI packet received {"connection_id":172942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":172942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:05:01] local.INFO: TCP Data received {"connection_id":172942,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:05:01] local.INFO: Processing buffer {"connection_id":172942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:05:01] local.INFO: Packet analysis {"connection_id":172942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:05:01] local.INFO: Extracted packet for processing {"connection_id":172942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906607616001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788697987000,"timestamp_ms":1788697987000,"timestamp_seconds":1788697987,"priority":1,"record_length":96,"hex_timestamp":"000001a076b547b8"} 
[2026-09-06 18:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:05:01] 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-09-06 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 18:05: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-09-06 18: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-09-06 18:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906607616001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906607616001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:05:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906607616001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":172942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:05:01] local.INFO: GPS data processed {"connection_id":172942,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:05:01] local.INFO: Acknowledgment sent {"connection_id":172942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:05:25] local.INFO: TCP Data received {"connection_id":174098,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:05:25] local.INFO: Processing buffer {"connection_id":174098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:05:25] local.INFO: Packet analysis {"connection_id":174098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:05:25] local.INFO: Extracted packet for processing {"connection_id":174098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906575104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788697857000,"timestamp_ms":1788697857000,"timestamp_seconds":1788697857,"priority":1,"record_length":96,"hex_timestamp":"000001a076b34be8"} 
[2026-09-06 18:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:05: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-09-06 18: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 18:05: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-09-06 18: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-09-06 18:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18: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-09-06 18:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906575104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906575104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:05:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906575104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":174098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:05:25] local.INFO: GPS data processed {"connection_id":174098,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:05:25] local.INFO: Acknowledgment sent {"connection_id":174098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:05:32] local.INFO: TCP Data received {"connection_id":172942,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:05:32] local.INFO: Processing buffer {"connection_id":172942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:05:32] local.INFO: Packet analysis {"connection_id":172942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:05:32] local.INFO: Extracted packet for processing {"connection_id":172942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906607616001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:05:32] 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-09-06 18:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788697987000,"timestamp_ms":1788697987000,"timestamp_seconds":1788697987,"priority":1,"record_length":96,"hex_timestamp":"000001a076b547b8"} 
[2026-09-06 18:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:05:32] 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-09-06 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 18:05:32] 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-09-06 18: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-09-06 18:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906607616001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906607616001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:05:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906607616001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":172942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:05:32] local.INFO: GPS data processed {"connection_id":172942,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:05:32] local.INFO: Acknowledgment sent {"connection_id":172942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:05:47] local.INFO: TCP Data received {"connection_id":172943,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:05:47] local.INFO: Processing buffer {"connection_id":172943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:05:47] local.INFO: IMEI packet received {"connection_id":172943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":172943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:05:52] local.INFO: TCP Data received {"connection_id":172943,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:05:52] local.INFO: Processing buffer {"connection_id":172943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:05:52] local.INFO: IMEI packet received {"connection_id":172943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":172943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:05:53] local.INFO: TCP Data received {"connection_id":172943,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:05:53] local.INFO: Processing buffer {"connection_id":172943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b34be8012d34c50006aa3d30000e013526..."} 
[2026-09-06 18:05:53] local.INFO: Packet analysis {"connection_id":172943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:05:53] local.INFO: Extracted packet for processing {"connection_id":172943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b3"} 
[2026-09-06 18:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906575104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788697857000,"timestamp_ms":1788697857000,"timestamp_seconds":1788697857,"priority":1,"record_length":96,"hex_timestamp":"000001a076b34be8"} 
[2026-09-06 18:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":243,"data_length":795,"current_offset":136} 
[2026-09-06 18:05: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-09-06 18: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-09-06 18:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:05: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-09-06 18:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906575104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906575104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:05:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906575104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":172943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:05:53] local.INFO: GPS data processed {"connection_id":172943,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:05:53] local.INFO: Acknowledgment sent {"connection_id":172943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:05:55] local.INFO: TCP Data received {"connection_id":172945,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:05:55] local.INFO: Processing buffer {"connection_id":172945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:05:55] local.INFO: IMEI packet received {"connection_id":172945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 18:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":172945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:06:00] local.INFO: TCP Data received {"connection_id":172945,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:06:00] local.INFO: Processing buffer {"connection_id":172945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:06:00] local.INFO: IMEI packet received {"connection_id":172945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":172945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:06:01] local.INFO: TCP Data received {"connection_id":172945,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:06:01] local.INFO: Processing buffer {"connection_id":172945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:06:01] local.INFO: Packet analysis {"connection_id":172945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:06:01] local.INFO: Extracted packet for processing {"connection_id":172945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906607616001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:06: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-09-06 18:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788697987000,"timestamp_ms":1788697987000,"timestamp_seconds":1788697987,"priority":1,"record_length":96,"hex_timestamp":"000001a076b547b8"} 
[2026-09-06 18:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:06:01] 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-09-06 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 18:06: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-09-06 18: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-09-06 18:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:06:01] 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-09-06 18:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906607616001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906607616001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:06:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906607616001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":172945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:06:01] local.INFO: GPS data processed {"connection_id":172945,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:06:01] local.INFO: Acknowledgment sent {"connection_id":172945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:06:24] local.INFO: TCP Data received {"connection_id":172943,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:06:24] local.INFO: Processing buffer {"connection_id":172943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:06:24] local.INFO: Packet analysis {"connection_id":172943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:06:24] local.INFO: Extracted packet for processing {"connection_id":172943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:06:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906651392001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788698148000,"timestamp_ms":1788698148000,"timestamp_seconds":1788698148,"priority":1,"record_length":96,"hex_timestamp":"000001a076b7bca0"} 
[2026-09-06 18:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:06: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-09-06 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:06: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-09-06 18: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-09-06 18:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:06: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-09-06 18:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906651392001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906651392001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:06:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:06:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906651392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":172943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:06:24] local.INFO: GPS data processed {"connection_id":172943,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:06:24] local.INFO: Acknowledgment sent {"connection_id":172943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:06:32] local.INFO: TCP Data received {"connection_id":172945,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:06:32] local.INFO: Processing buffer {"connection_id":172945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:06:32] local.INFO: Packet analysis {"connection_id":172945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:06:32] local.INFO: Extracted packet for processing {"connection_id":172945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:06:32] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906607616001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:06:32] 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-09-06 18:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788697987000,"timestamp_ms":1788697987000,"timestamp_seconds":1788697987,"priority":1,"record_length":96,"hex_timestamp":"000001a076b547b8"} 
[2026-09-06 18:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:06:32] 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-09-06 18:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 18:06:32] 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-09-06 18:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:06:32] 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-09-06 18:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906607616001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906607616001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:06:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:06:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906607616001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":172945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:06:32] local.INFO: GPS data processed {"connection_id":172945,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:06:32] local.INFO: Acknowledgment sent {"connection_id":172945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:06:52] local.INFO: TCP Data received {"connection_id":175435,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:06:52] local.INFO: Processing buffer {"connection_id":175435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:06:52] local.INFO: IMEI packet received {"connection_id":175435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":175435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:06:57] local.INFO: TCP Data received {"connection_id":175435,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:06:57] local.INFO: Processing buffer {"connection_id":175435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:06:57] local.INFO: IMEI packet received {"connection_id":175435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":175435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:06:58] local.INFO: TCP Data received {"connection_id":175435,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:06:58] local.INFO: Processing buffer {"connection_id":175435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:06:58] local.INFO: Packet analysis {"connection_id":175435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:06:58] local.INFO: Extracted packet for processing {"connection_id":175435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:06:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906651392001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788698148000,"timestamp_ms":1788698148000,"timestamp_seconds":1788698148,"priority":1,"record_length":96,"hex_timestamp":"000001a076b7bca0"} 
[2026-09-06 18:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:06: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-09-06 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:06: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-09-06 18: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-09-06 18:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906651392001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906651392001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:06:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:06:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906651392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":175435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:06:58] local.INFO: GPS data processed {"connection_id":175435,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:06:58] local.INFO: Acknowledgment sent {"connection_id":175435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:07:00] local.INFO: TCP Data received {"connection_id":174099,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:07:00] local.INFO: Processing buffer {"connection_id":174099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:07:00] local.INFO: IMEI packet received {"connection_id":174099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 18:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":174099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:07:03] local.INFO: TCP Data received {"connection_id":175435,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:07:03] local.INFO: Processing buffer {"connection_id":175435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:07:03] local.INFO: Packet analysis {"connection_id":175435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:07:03] local.INFO: Extracted packet for processing {"connection_id":175435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906651392001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:07: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-09-06 18:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788698148000,"timestamp_ms":1788698148000,"timestamp_seconds":1788698148,"priority":1,"record_length":96,"hex_timestamp":"000001a076b7bca0"} 
[2026-09-06 18:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906651392001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906651392001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:07:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906651392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":175435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:07:03] local.INFO: GPS data processed {"connection_id":175435,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:07:03] local.INFO: Acknowledgment sent {"connection_id":175435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:07:05] local.INFO: TCP Data received {"connection_id":174099,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:07:05] local.INFO: Processing buffer {"connection_id":174099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:07:05] local.INFO: IMEI packet received {"connection_id":174099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":174099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:07:06] local.INFO: TCP Data received {"connection_id":174099,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:07:06] local.INFO: Processing buffer {"connection_id":174099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:07:06] local.INFO: Packet analysis {"connection_id":174099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:07:06] local.INFO: Extracted packet for processing {"connection_id":174099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906607616001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 18:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788697987000,"timestamp_ms":1788697987000,"timestamp_seconds":1788697987,"priority":1,"record_length":96,"hex_timestamp":"000001a076b547b8"} 
[2026-09-06 18:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:07: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-09-06 18: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":161,"data_length":795,"current_offset":136} 
[2026-09-06 18:07:06] 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-09-06 18: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-09-06 18:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906607616001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"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-09-06 18:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906607616001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:07:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906607616001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":174099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:07:06] local.INFO: GPS data processed {"connection_id":174099,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:07:06] local.INFO: Acknowledgment sent {"connection_id":174099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:07:08] local.INFO: TCP Data received {"connection_id":175435,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:07:08] local.INFO: Processing buffer {"connection_id":175435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:07:08] local.INFO: Packet analysis {"connection_id":175435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:07:08] local.INFO: Extracted packet for processing {"connection_id":175435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906651392001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 18:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788698148000,"timestamp_ms":1788698148000,"timestamp_seconds":1788698148,"priority":1,"record_length":96,"hex_timestamp":"000001a076b7bca0"} 
[2026-09-06 18:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:07:08] 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-09-06 18: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-09-06 18:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:07:08] 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-09-06 18:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906651392001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906651392001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906651392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":175435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:07:08] local.INFO: GPS data processed {"connection_id":175435,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:07:08] local.INFO: Acknowledgment sent {"connection_id":175435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:07:10] local.INFO: TCP Data received {"connection_id":174099,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:07:10] local.INFO: Processing buffer {"connection_id":174099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:07:10] local.INFO: Packet analysis {"connection_id":174099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:07:10] local.INFO: Extracted packet for processing {"connection_id":174099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:07:10] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906607616001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:07: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-09-06 18:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788697987000,"timestamp_ms":1788697987000,"timestamp_seconds":1788697987,"priority":1,"record_length":96,"hex_timestamp":"000001a076b547b8"} 
[2026-09-06 18:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:07:10] 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-09-06 18:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 18:07: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-09-06 18:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:07:10] 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-09-06 18:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906607616001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"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-09-06 18:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906607616001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:07:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906607616001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":174099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:07:10] local.INFO: GPS data processed {"connection_id":174099,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:07:10] local.INFO: Acknowledgment sent {"connection_id":174099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:07:47] local.INFO: TCP Data received {"connection_id":172946,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:07:47] local.INFO: Processing buffer {"connection_id":172946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:07:47] local.INFO: IMEI packet received {"connection_id":172946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":172946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:07:54] local.INFO: TCP Data received {"connection_id":172946,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:07:54] local.INFO: Processing buffer {"connection_id":172946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:07:54] local.INFO: IMEI packet received {"connection_id":172946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":172946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:07:55] local.INFO: TCP Data received {"connection_id":172946,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:07:55] local.INFO: Processing buffer {"connection_id":172946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:07:55] local.INFO: Packet analysis {"connection_id":172946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:07:55] local.INFO: Extracted packet for processing {"connection_id":172946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:07:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906651392001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:07: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-09-06 18:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788698148000,"timestamp_ms":1788698148000,"timestamp_seconds":1788698148,"priority":1,"record_length":96,"hex_timestamp":"000001a076b7bca0"} 
[2026-09-06 18:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:07:55] 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-09-06 18: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-09-06 18:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:07:55] 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-09-06 18:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906651392001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906651392001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:07:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:07:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906651392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":172946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:07:55] local.INFO: GPS data processed {"connection_id":172946,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:07:55] local.INFO: Acknowledgment sent {"connection_id":172946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:07:55] local.INFO: TCP Data received {"connection_id":175438,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:07:55] local.INFO: Processing buffer {"connection_id":175438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:07:55] local.INFO: IMEI packet received {"connection_id":175438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 18:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":175438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:08:00] local.INFO: TCP Data received {"connection_id":175438,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:08:00] local.INFO: Processing buffer {"connection_id":175438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:08:00] local.INFO: IMEI packet received {"connection_id":175438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":175438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:08:01] local.INFO: TCP Data received {"connection_id":175438,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:08:01] local.INFO: Processing buffer {"connection_id":175438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b547b8012d7e37c005d34c98000400d727..."} 
[2026-09-06 18:08:01] local.INFO: Packet analysis {"connection_id":175438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:08:01] local.INFO: Extracted packet for processing {"connection_id":175438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b5"} 
[2026-09-06 18:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 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-09-06 18:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906607616001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:08: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-09-06 18:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788697987000,"timestamp_ms":1788697987000,"timestamp_seconds":1788697987,"priority":1,"record_length":96,"hex_timestamp":"000001a076b547b8"} 
[2026-09-06 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-09-06 18:08:01] 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-09-06 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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 18:08: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-09-06 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-09-06 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-09-06 18:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906607616001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906607616001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:08:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906607616001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":175438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:08:01] local.INFO: GPS data processed {"connection_id":175438,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:08:01] local.INFO: Acknowledgment sent {"connection_id":175438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:08:27] local.INFO: TCP Data received {"connection_id":172946,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:08:27] local.INFO: Processing buffer {"connection_id":172946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:08:27] local.INFO: Packet analysis {"connection_id":172946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:08:27] local.INFO: Extracted packet for processing {"connection_id":172946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:08:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906651392001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:08: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-09-06 18:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788698148000,"timestamp_ms":1788698148000,"timestamp_seconds":1788698148,"priority":1,"record_length":96,"hex_timestamp":"000001a076b7bca0"} 
[2026-09-06 18:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:08: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-09-06 18:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:08: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-09-06 18:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906651392001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906651392001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:08:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:08:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906651392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":172946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:08:27] local.INFO: GPS data processed {"connection_id":172946,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:08:27] local.INFO: Acknowledgment sent {"connection_id":172946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:08:32] local.INFO: TCP Data received {"connection_id":175438,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:08:32] local.INFO: Processing buffer {"connection_id":175438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:08:32] local.INFO: Packet analysis {"connection_id":175438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b9"} 
[2026-09-06 18:08:32] local.INFO: Extracted packet for processing {"connection_id":175438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b9"} 
[2026-09-06 18:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906684672001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:08:32] 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-09-06 18:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788698288000,"timestamp_ms":1788698288000,"timestamp_seconds":1788698288,"priority":1,"record_length":96,"hex_timestamp":"000001a076b9df80"} 
[2026-09-06 18:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 18:08:32] 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-09-06 18:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906684672001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906684672001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:08:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906684672001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":175438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:08:32] local.INFO: GPS data processed {"connection_id":175438,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:08:32] local.INFO: Acknowledgment sent {"connection_id":175438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:08:47] local.INFO: TCP Data received {"connection_id":172947,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:08:47] local.INFO: Processing buffer {"connection_id":172947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:08:47] local.INFO: IMEI packet received {"connection_id":172947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":172947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:08:52] local.INFO: TCP Data received {"connection_id":172947,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:08:52] local.INFO: Processing buffer {"connection_id":172947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:08:52] local.INFO: IMEI packet received {"connection_id":172947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":172947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:08:53] local.INFO: TCP Data received {"connection_id":172947,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:08:53] local.INFO: Processing buffer {"connection_id":172947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:08:53] local.INFO: Packet analysis {"connection_id":172947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:08:53] local.INFO: Extracted packet for processing {"connection_id":172947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906651392001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788698148000,"timestamp_ms":1788698148000,"timestamp_seconds":1788698148,"priority":1,"record_length":96,"hex_timestamp":"000001a076b7bca0"} 
[2026-09-06 18:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:08: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-09-06 18: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-09-06 18:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:08: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-09-06 18:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906651392001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906651392001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:08:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906651392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":172947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:08:54] local.INFO: GPS data processed {"connection_id":172947,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:08:54] local.INFO: Acknowledgment sent {"connection_id":172947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:08:55] local.INFO: TCP Data received {"connection_id":174100,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:08:55] local.INFO: Processing buffer {"connection_id":174100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:08:55] local.INFO: IMEI packet received {"connection_id":174100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 18:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":174100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:09:00] local.INFO: TCP Data received {"connection_id":174100,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:09:00] local.INFO: Processing buffer {"connection_id":174100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:09:00] local.INFO: IMEI packet received {"connection_id":174100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":174100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:09:01] local.INFO: TCP Data received {"connection_id":174100,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:09:01] local.INFO: Processing buffer {"connection_id":174100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:09:01] local.INFO: Packet analysis {"connection_id":174100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b9"} 
[2026-09-06 18:09:01] local.INFO: Extracted packet for processing {"connection_id":174100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b9"} 
[2026-09-06 18:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906684672001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:09: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-09-06 18:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788698288000,"timestamp_ms":1788698288000,"timestamp_seconds":1788698288,"priority":1,"record_length":96,"hex_timestamp":"000001a076b9df80"} 
[2026-09-06 18:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 18:09: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-09-06 18: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-09-06 18:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:09:01] 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-09-06 18:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906684672001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906684672001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:09:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906684672001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":174100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:09:01] local.INFO: GPS data processed {"connection_id":174100,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:09:01] local.INFO: Acknowledgment sent {"connection_id":174100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:09:24] local.INFO: TCP Data received {"connection_id":175439,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:09:24] local.INFO: Processing buffer {"connection_id":175439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:09:24] local.INFO: IMEI packet received {"connection_id":175439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 18:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":175439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:09:25] local.INFO: TCP Data received {"connection_id":172947,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:09:25] local.INFO: Processing buffer {"connection_id":172947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:09:25] local.INFO: Packet analysis {"connection_id":172947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:09:25] local.INFO: Extracted packet for processing {"connection_id":172947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:09:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906651392001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788698148000,"timestamp_ms":1788698148000,"timestamp_seconds":1788698148,"priority":1,"record_length":96,"hex_timestamp":"000001a076b7bca0"} 
[2026-09-06 18:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:09: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-09-06 18: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:09: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-09-06 18: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-09-06 18:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:09: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-09-06 18:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906651392001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906651392001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:09:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:09:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906651392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":172947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:09:25] local.INFO: GPS data processed {"connection_id":172947,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:09:25] local.INFO: Acknowledgment sent {"connection_id":172947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:09:32] local.INFO: TCP Data received {"connection_id":174100,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:09:32] local.INFO: Processing buffer {"connection_id":174100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:09:32] local.INFO: Packet analysis {"connection_id":174100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b9"} 
[2026-09-06 18:09:32] local.INFO: Extracted packet for processing {"connection_id":174100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b9"} 
[2026-09-06 18:09:32] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906684672001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:09:32] 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-09-06 18:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788698288000,"timestamp_ms":1788698288000,"timestamp_seconds":1788698288,"priority":1,"record_length":96,"hex_timestamp":"000001a076b9df80"} 
[2026-09-06 18:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 18:09:32] 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-09-06 18:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:09:32] 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-09-06 18:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906684672001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906684672001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:09:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:09:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906684672001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":174100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:09:32] local.INFO: GPS data processed {"connection_id":174100,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:09:32] local.INFO: Acknowledgment sent {"connection_id":174100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:09:47] local.INFO: TCP Data received {"connection_id":172703,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:09:47] local.INFO: Processing buffer {"connection_id":172703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:09:47] local.INFO: IMEI packet received {"connection_id":172703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":172703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:09:49] local.INFO: TCP Data received {"connection_id":172948,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:09:49] local.INFO: Processing buffer {"connection_id":172948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:09:49] local.INFO: IMEI packet received {"connection_id":172948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 18:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":172948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:09:52] local.INFO: TCP Data received {"connection_id":172703,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:09:52] local.INFO: Processing buffer {"connection_id":172703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:09:52] local.INFO: IMEI packet received {"connection_id":172703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":172703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:09:53] local.INFO: TCP Data received {"connection_id":172703,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:09:53] local.INFO: Processing buffer {"connection_id":172703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:09:53] local.INFO: Packet analysis {"connection_id":172703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:09:53] local.INFO: Extracted packet for processing {"connection_id":172703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906651392001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788698148000,"timestamp_ms":1788698148000,"timestamp_seconds":1788698148,"priority":1,"record_length":96,"hex_timestamp":"000001a076b7bca0"} 
[2026-09-06 18:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:09: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-09-06 18: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-09-06 18:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:09: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-09-06 18:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906651392001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906651392001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:09:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906651392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":172703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:09:53] local.INFO: GPS data processed {"connection_id":172703,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:09:53] local.INFO: Acknowledgment sent {"connection_id":172703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:09:55] local.INFO: TCP Data received {"connection_id":175440,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:09:55] local.INFO: Processing buffer {"connection_id":175440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:09:55] local.INFO: IMEI packet received {"connection_id":175440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 18:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":175440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:10:00] local.INFO: TCP Data received {"connection_id":175440,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:10:00] local.INFO: Processing buffer {"connection_id":175440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:10:00] local.INFO: IMEI packet received {"connection_id":175440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":175440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:10:01] local.INFO: TCP Data received {"connection_id":175440,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:10:01] local.INFO: Processing buffer {"connection_id":175440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:10:01] local.INFO: Packet analysis {"connection_id":175440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b9"} 
[2026-09-06 18:10:01] local.INFO: Extracted packet for processing {"connection_id":175440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b9"} 
[2026-09-06 18:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906684672001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:10: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-09-06 18:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788698288000,"timestamp_ms":1788698288000,"timestamp_seconds":1788698288,"priority":1,"record_length":96,"hex_timestamp":"000001a076b9df80"} 
[2026-09-06 18:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 18:10: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-09-06 18: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-09-06 18:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906684672001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906684672001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:10:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906684672001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":175440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:10:01] local.INFO: GPS data processed {"connection_id":175440,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:10:01] local.INFO: Acknowledgment sent {"connection_id":175440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:10:28] local.INFO: TCP Data received {"connection_id":172703,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:10:28] local.INFO: Processing buffer {"connection_id":172703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:10:28] local.INFO: Packet analysis {"connection_id":172703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:10:28] local.INFO: Extracted packet for processing {"connection_id":172703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:10:28] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906651392001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788698148000,"timestamp_ms":1788698148000,"timestamp_seconds":1788698148,"priority":1,"record_length":96,"hex_timestamp":"000001a076b7bca0"} 
[2026-09-06 18:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:10: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-09-06 18:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906651392001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906651392001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:10:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:10:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906651392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":172703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:10:28] local.INFO: GPS data processed {"connection_id":172703,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:10:28] local.INFO: Acknowledgment sent {"connection_id":172703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:10:32] local.INFO: TCP Data received {"connection_id":175440,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:10:32] local.INFO: Processing buffer {"connection_id":175440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:10:32] local.INFO: Packet analysis {"connection_id":175440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b9"} 
[2026-09-06 18:10:32] local.INFO: Extracted packet for processing {"connection_id":175440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b9"} 
[2026-09-06 18:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906684672001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:10:32] 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-09-06 18:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788698288000,"timestamp_ms":1788698288000,"timestamp_seconds":1788698288,"priority":1,"record_length":96,"hex_timestamp":"000001a076b9df80"} 
[2026-09-06 18:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 18:10:32] 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-09-06 18: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-09-06 18:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906684672001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906684672001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:10:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906684672001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":175440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:10:32] local.INFO: GPS data processed {"connection_id":175440,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:10:32] local.INFO: Acknowledgment sent {"connection_id":175440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:10:47] local.INFO: TCP Data received {"connection_id":174101,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:10:47] local.INFO: Processing buffer {"connection_id":174101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:10:47] local.INFO: IMEI packet received {"connection_id":174101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":174101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:10:52] local.INFO: TCP Data received {"connection_id":174101,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:10:52] local.INFO: Processing buffer {"connection_id":174101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:10:52] local.INFO: IMEI packet received {"connection_id":174101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":174101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:10:54] local.INFO: TCP Data received {"connection_id":174101,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:10:54] local.INFO: Processing buffer {"connection_id":174101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b7bca0012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:10:54] local.INFO: Packet analysis {"connection_id":174101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:10:54] local.INFO: Extracted packet for processing {"connection_id":174101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b7"} 
[2026-09-06 18:10:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906651392001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788698148000,"timestamp_ms":1788698148000,"timestamp_seconds":1788698148,"priority":1,"record_length":96,"hex_timestamp":"000001a076b7bca0"} 
[2026-09-06 18:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:10:54] 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-09-06 18: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-09-06 18:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:10: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-09-06 18:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906651392001,"66":25832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906651392001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:10:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:10:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906651392001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":174101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:10:54] local.INFO: GPS data processed {"connection_id":174101,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:10:54] local.INFO: Acknowledgment sent {"connection_id":174101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:10:55] local.INFO: TCP Data received {"connection_id":174102,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:10:55] local.INFO: Processing buffer {"connection_id":174102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:10:55] local.INFO: IMEI packet received {"connection_id":174102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 18:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":174102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:11:00] local.INFO: TCP Data received {"connection_id":174102,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:11:00] local.INFO: Processing buffer {"connection_id":174102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:11:00] local.INFO: IMEI packet received {"connection_id":174102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":174102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:11:01] local.INFO: TCP Data received {"connection_id":174102,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:11:01] local.INFO: Processing buffer {"connection_id":174102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:11:01] local.INFO: Packet analysis {"connection_id":174102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b9"} 
[2026-09-06 18:11:01] local.INFO: Extracted packet for processing {"connection_id":174102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b9"} 
[2026-09-06 18:11:01] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906684672001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:11: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-09-06 18:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788698288000,"timestamp_ms":1788698288000,"timestamp_seconds":1788698288,"priority":1,"record_length":96,"hex_timestamp":"000001a076b9df80"} 
[2026-09-06 18:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 18:11: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-09-06 18:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906684672001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906684672001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:11:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:11:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906684672001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":174102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:11:01] local.INFO: GPS data processed {"connection_id":174102,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:11:01] local.INFO: Acknowledgment sent {"connection_id":174102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:11:25] local.INFO: TCP Data received {"connection_id":174101,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:11:25] local.INFO: Processing buffer {"connection_id":174101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:11:25] local.INFO: Packet analysis {"connection_id":174101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:11:25] local.INFO: Extracted packet for processing {"connection_id":174101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:11:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906725888001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788698434000,"timestamp_ms":1788698434000,"timestamp_seconds":1788698434,"priority":1,"record_length":96,"hex_timestamp":"000001a076bc19d0"} 
[2026-09-06 18:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:11: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-09-06 18:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 18:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:11: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-09-06 18:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906725888001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906725888001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:11:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:11:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906725888001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":174101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:11:25] local.INFO: GPS data processed {"connection_id":174101,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:11:25] local.INFO: Acknowledgment sent {"connection_id":174101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:11:32] local.INFO: TCP Data received {"connection_id":174102,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:11:32] local.INFO: Processing buffer {"connection_id":174102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076b9df80012d7e37c005d34c98000400d728..."} 
[2026-09-06 18:11:32] local.INFO: Packet analysis {"connection_id":174102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076b9"} 
[2026-09-06 18:11:32] local.INFO: Extracted packet for processing {"connection_id":174102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076b9"} 
[2026-09-06 18:11:32] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733784,"longitude_deg":76.3246528,"latitude_deg":9.7733784,"altitude":4,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-06 18:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906684672001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153081089720320,"note":"Value kept but may cause issues"} 
[2026-09-06 18:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750387712,"note":"Value kept but may cause issues"} 
[2026-09-06 18:11:32] 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-09-06 18:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788698288000,"timestamp_ms":1788698288000,"timestamp_seconds":1788698288,"priority":1,"record_length":96,"hex_timestamp":"000001a076b9df80"} 
[2026-09-06 18:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-06 18:11:32] 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-09-06 18:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906684672001,"66":2209,"109":206,"85":15104,"24":0,"16":129153081089720320,"45":9094949103750387712},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-06 18:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906684672001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:11:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:11:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153081089720320,"km_value":129153081089720.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750387712,"description":"Unknown IO ID 45"} 
[2026-09-06 18:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906684672001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750387712}} 
[2026-09-06 18:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":174102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:11:32] local.INFO: GPS data processed {"connection_id":174102,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:11:32] local.INFO: Acknowledgment sent {"connection_id":174102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:11:47] local.INFO: TCP Data received {"connection_id":175441,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:11:47] local.INFO: Processing buffer {"connection_id":175441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:11:47] local.INFO: IMEI packet received {"connection_id":175441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":175441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:11:52] local.INFO: TCP Data received {"connection_id":175441,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:11:52] local.INFO: Processing buffer {"connection_id":175441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:11:52] local.INFO: IMEI packet received {"connection_id":175441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":175441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:11:53] local.INFO: TCP Data received {"connection_id":175441,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:11:53] local.INFO: Processing buffer {"connection_id":175441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:11:53] local.INFO: Packet analysis {"connection_id":175441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:11:53] local.INFO: Extracted packet for processing {"connection_id":175441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:11:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906725888001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788698434000,"timestamp_ms":1788698434000,"timestamp_seconds":1788698434,"priority":1,"record_length":96,"hex_timestamp":"000001a076bc19d0"} 
[2026-09-06 18:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:11: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-09-06 18: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 18:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:11: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-09-06 18:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906725888001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906725888001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:11:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:11:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906725888001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":175441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:11:53] local.INFO: GPS data processed {"connection_id":175441,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:11:53] local.INFO: Acknowledgment sent {"connection_id":175441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:12:25] local.INFO: TCP Data received {"connection_id":175441,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:12:25] local.INFO: Processing buffer {"connection_id":175441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:12:25] local.INFO: Packet analysis {"connection_id":175441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:12:25] local.INFO: Extracted packet for processing {"connection_id":175441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:12:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 18:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906725888001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 18:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788698434000,"timestamp_ms":1788698434000,"timestamp_seconds":1788698434,"priority":1,"record_length":96,"hex_timestamp":"000001a076bc19d0"} 
[2026-09-06 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-09-06 18:12: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-09-06 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 18:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 18:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906725888001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906725888001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:12:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:12:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906725888001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":175441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:12:25] local.INFO: GPS data processed {"connection_id":175441,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:12:25] local.INFO: Acknowledgment sent {"connection_id":175441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:12:47] local.INFO: TCP Data received {"connection_id":172705,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:12:47] local.INFO: Processing buffer {"connection_id":172705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:12:47] local.INFO: IMEI packet received {"connection_id":172705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":172705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:12:52] local.INFO: TCP Data received {"connection_id":172705,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:12:52] local.INFO: Processing buffer {"connection_id":172705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:12:52] local.INFO: IMEI packet received {"connection_id":172705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":172705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:12:53] local.INFO: TCP Data received {"connection_id":172705,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:12:53] local.INFO: Processing buffer {"connection_id":172705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:12:53] local.INFO: Packet analysis {"connection_id":172705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:12:53] local.INFO: Extracted packet for processing {"connection_id":172705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:12:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906725888001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788698434000,"timestamp_ms":1788698434000,"timestamp_seconds":1788698434,"priority":1,"record_length":96,"hex_timestamp":"000001a076bc19d0"} 
[2026-09-06 18:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 18:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:12: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-09-06 18:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906725888001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906725888001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:12:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:12:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906725888001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":172705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:12:53] local.INFO: GPS data processed {"connection_id":172705,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:12:53] local.INFO: Acknowledgment sent {"connection_id":172705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:13:25] local.INFO: TCP Data received {"connection_id":172705,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:13:25] local.INFO: Processing buffer {"connection_id":172705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:13:25] local.INFO: Packet analysis {"connection_id":172705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:13:25] local.INFO: Extracted packet for processing {"connection_id":172705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:13:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906725888001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788698434000,"timestamp_ms":1788698434000,"timestamp_seconds":1788698434,"priority":1,"record_length":96,"hex_timestamp":"000001a076bc19d0"} 
[2026-09-06 18:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:13: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-09-06 18: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 18:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:13: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-09-06 18:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906725888001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906725888001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:13:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:13:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906725888001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":172705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:13:25] local.INFO: GPS data processed {"connection_id":172705,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:13:25] local.INFO: Acknowledgment sent {"connection_id":172705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:13:47] local.INFO: TCP Data received {"connection_id":172951,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:13:47] local.INFO: Processing buffer {"connection_id":172951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:13:47] local.INFO: IMEI packet received {"connection_id":172951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":172951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:13:52] local.INFO: TCP Data received {"connection_id":172951,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:13:52] local.INFO: Processing buffer {"connection_id":172951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:13:52] local.INFO: IMEI packet received {"connection_id":172951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":172951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:13:53] local.INFO: TCP Data received {"connection_id":172951,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:13:53] local.INFO: Processing buffer {"connection_id":172951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:13:53] local.INFO: Packet analysis {"connection_id":172951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:13:53] local.INFO: Extracted packet for processing {"connection_id":172951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906725888001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788698434000,"timestamp_ms":1788698434000,"timestamp_seconds":1788698434,"priority":1,"record_length":96,"hex_timestamp":"000001a076bc19d0"} 
[2026-09-06 18:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:13: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-09-06 18: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 18:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:13: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-09-06 18:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906725888001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906725888001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906725888001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":172951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:13:53] local.INFO: GPS data processed {"connection_id":172951,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:13:53] local.INFO: Acknowledgment sent {"connection_id":172951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:14:24] local.INFO: TCP Data received {"connection_id":172951,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:14:24] local.INFO: Processing buffer {"connection_id":172951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:14:24] local.INFO: Packet analysis {"connection_id":172951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:14:24] local.INFO: Extracted packet for processing {"connection_id":172951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:14:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906725888001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788698434000,"timestamp_ms":1788698434000,"timestamp_seconds":1788698434,"priority":1,"record_length":96,"hex_timestamp":"000001a076bc19d0"} 
[2026-09-06 18:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 18:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:14: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-09-06 18:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906725888001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906725888001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:14:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:14:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906725888001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":172951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:14:24] local.INFO: GPS data processed {"connection_id":172951,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:14:24] local.INFO: Acknowledgment sent {"connection_id":172951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:14:47] local.INFO: TCP Data received {"connection_id":174103,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:14:47] local.INFO: Processing buffer {"connection_id":174103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:14:47] local.INFO: IMEI packet received {"connection_id":174103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":174103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:14:52] local.INFO: TCP Data received {"connection_id":174103,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:14:52] local.INFO: Processing buffer {"connection_id":174103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:14:52] local.INFO: IMEI packet received {"connection_id":174103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":174103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:14:53] local.INFO: TCP Data received {"connection_id":174103,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:14:53] local.INFO: Processing buffer {"connection_id":174103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:14:53] local.INFO: Packet analysis {"connection_id":174103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:14:53] local.INFO: Extracted packet for processing {"connection_id":174103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:14:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906725888001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788698434000,"timestamp_ms":1788698434000,"timestamp_seconds":1788698434,"priority":1,"record_length":96,"hex_timestamp":"000001a076bc19d0"} 
[2026-09-06 18:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 18:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:14: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-09-06 18:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906725888001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906725888001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:14:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906725888001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":174103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:14:53] local.INFO: GPS data processed {"connection_id":174103,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:14:53] local.INFO: Acknowledgment sent {"connection_id":174103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:15:19] local.INFO: TCP Data received {"connection_id":174104,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:15:19] local.INFO: Processing buffer {"connection_id":174104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:15:19] local.INFO: IMEI packet received {"connection_id":174104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 18:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":174104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:15:24] local.INFO: TCP Data received {"connection_id":174103,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:15:24] local.INFO: Processing buffer {"connection_id":174103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:15:24] local.INFO: Packet analysis {"connection_id":174103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:15:24] local.INFO: Extracted packet for processing {"connection_id":174103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906725888001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788698434000,"timestamp_ms":1788698434000,"timestamp_seconds":1788698434,"priority":1,"record_length":96,"hex_timestamp":"000001a076bc19d0"} 
[2026-09-06 18:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 18:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:15: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-09-06 18:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906725888001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906725888001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:15:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906725888001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":174103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:15:24] local.INFO: GPS data processed {"connection_id":174103,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:15:24] local.INFO: Acknowledgment sent {"connection_id":174103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:15:47] local.INFO: TCP Data received {"connection_id":175442,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:15:47] local.INFO: Processing buffer {"connection_id":175442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:15:47] local.INFO: IMEI packet received {"connection_id":175442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":175442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:15:49] local.INFO: TCP Data received {"connection_id":175443,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:15:49] local.INFO: Processing buffer {"connection_id":175443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:15:49] local.INFO: IMEI packet received {"connection_id":175443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 18:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":175443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:15:52] local.INFO: TCP Data received {"connection_id":175442,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:15:52] local.INFO: Processing buffer {"connection_id":175442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:15:52] local.INFO: IMEI packet received {"connection_id":175442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":175442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:15:53] local.INFO: TCP Data received {"connection_id":175442,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:15:53] local.INFO: Processing buffer {"connection_id":175442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076bc19d0012d34c50006aa3d30000e013528..."} 
[2026-09-06 18:15:53] local.INFO: Packet analysis {"connection_id":175442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:15:53] local.INFO: Extracted packet for processing {"connection_id":175442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076bc"} 
[2026-09-06 18:15:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906725888001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788698434000,"timestamp_ms":1788698434000,"timestamp_seconds":1788698434,"priority":1,"record_length":96,"hex_timestamp":"000001a076bc19d0"} 
[2026-09-06 18:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:15: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-09-06 18: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 18:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:15: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-09-06 18:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906725888001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906725888001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:15:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:15:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906725888001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":175442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:15:53] local.INFO: GPS data processed {"connection_id":175442,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:15:53] local.INFO: Acknowledgment sent {"connection_id":175442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:16:24] local.INFO: TCP Data received {"connection_id":175442,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:16:24] local.INFO: Processing buffer {"connection_id":175442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:16:24] local.INFO: Packet analysis {"connection_id":175442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:16:24] local.INFO: Extracted packet for processing {"connection_id":175442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:16:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906799104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788698735000,"timestamp_ms":1788698735000,"timestamp_seconds":1788698735,"priority":1,"record_length":96,"hex_timestamp":"000001a076c0b198"} 
[2026-09-06 18:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:16: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-09-06 18: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-09-06 18:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:16: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-09-06 18:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906799104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906799104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:16:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:16:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906799104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":175442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:16:24] local.INFO: GPS data processed {"connection_id":175442,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:16:24] local.INFO: Acknowledgment sent {"connection_id":175442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:16:52] local.INFO: TCP Data received {"connection_id":172708,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:16:52] local.INFO: Processing buffer {"connection_id":172708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:16:52] local.INFO: IMEI packet received {"connection_id":172708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":172708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:16:57] local.INFO: TCP Data received {"connection_id":172708,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:16:57] local.INFO: Processing buffer {"connection_id":172708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:16:57] local.INFO: IMEI packet received {"connection_id":172708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":172708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:16:58] local.INFO: TCP Data received {"connection_id":172708,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:16:58] local.INFO: Processing buffer {"connection_id":172708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:16:58] local.INFO: Packet analysis {"connection_id":172708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:16:58] local.INFO: Extracted packet for processing {"connection_id":172708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:16:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906799104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:16: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-09-06 18:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788698735000,"timestamp_ms":1788698735000,"timestamp_seconds":1788698735,"priority":1,"record_length":96,"hex_timestamp":"000001a076c0b198"} 
[2026-09-06 18:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:16: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-09-06 18: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-09-06 18:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:16: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-09-06 18:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906799104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906799104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:16:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:16:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906799104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":172708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:16:58] local.INFO: GPS data processed {"connection_id":172708,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:16:58] local.INFO: Acknowledgment sent {"connection_id":172708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:17:03] local.INFO: TCP Data received {"connection_id":172708,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:17:03] local.INFO: Processing buffer {"connection_id":172708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:17:03] local.INFO: Packet analysis {"connection_id":172708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:17:03] local.INFO: Extracted packet for processing {"connection_id":172708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906799104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:17: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-09-06 18:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788698735000,"timestamp_ms":1788698735000,"timestamp_seconds":1788698735,"priority":1,"record_length":96,"hex_timestamp":"000001a076c0b198"} 
[2026-09-06 18:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:17:03] 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-09-06 18:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906799104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906799104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906799104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":172708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:17:03] local.INFO: GPS data processed {"connection_id":172708,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:17:03] local.INFO: Acknowledgment sent {"connection_id":172708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:17:15] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:17:15] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:17:15] local.INFO: IMEI packet received {"connection_id":174105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 18:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":174105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:17:20] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:17:20] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:17:20] local.INFO: IMEI packet received {"connection_id":174105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":174105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:17:20] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a076c1d690012d7e30c005d356b80005002628..."} 
[2026-09-06 18:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c1d690012d7e30c005d356b80005002628..."} 
[2026-09-06 18:17:20] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c1d690012d7e30c005d356b80005002628..."} 
[2026-09-06 18:17:20] local.INFO: Packet analysis {"connection_id":174105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c1"} 
[2026-09-06 18:17:20] local.INFO: Extracted packet for processing {"connection_id":174105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c1"} 
[2026-09-06 18:17:20] local.INFO: GPS Element Parsed {"raw_longitude":763244736,"raw_latitude":97736376,"longitude_deg":76.3244736,"latitude_deg":9.7736376,"altitude":5,"angle":38,"satellites":40,"speed":6,"hex_longitude":"2d7e30c0","hex_latitude":"05d356b8","is_valid_coordinates":true} 
[2026-09-06 18:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906895104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153227118608384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092978778914037760,"note":"Value kept but may cause issues"} 
[2026-09-06 18:17:20] 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-09-06 18:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788698810000,"timestamp_ms":1788698810000,"timestamp_seconds":1788698810,"priority":1,"record_length":96,"hex_timestamp":"000001a076c1d690"} 
[2026-09-06 18:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 18:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-06 18:17:20] 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-09-06 18:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:17:20] 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-09-06 18:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906895104001,"66":13515,"109":206,"85":15104,"24":6,"16":129153227118608384,"45":9092978778914037760},"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-09-06 18:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906895104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:17:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:17:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153227118608384,"km_value":129153227118608.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092978778914037760,"description":"Unknown IO ID 45"} 
[2026-09-06 18:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906895104001,"power":13515,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9092978778914037760}} 
[2026-09-06 18:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":174105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:17:20] local.INFO: GPS data processed {"connection_id":174105,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:17:20] local.INFO: Acknowledgment sent {"connection_id":174105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:17:47] local.INFO: TCP Data received {"connection_id":175444,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:17:47] local.INFO: Processing buffer {"connection_id":175444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:17:47] local.INFO: IMEI packet received {"connection_id":175444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":175444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:17:52] local.INFO: TCP Data received {"connection_id":175444,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:17:52] local.INFO: Processing buffer {"connection_id":175444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:17:52] local.INFO: IMEI packet received {"connection_id":175444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":175444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:17:53] local.INFO: TCP Data received {"connection_id":175444,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:17:53] local.INFO: Processing buffer {"connection_id":175444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:17:53] local.INFO: Packet analysis {"connection_id":175444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:17:53] local.INFO: Extracted packet for processing {"connection_id":175444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906799104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788698735000,"timestamp_ms":1788698735000,"timestamp_seconds":1788698735,"priority":1,"record_length":96,"hex_timestamp":"000001a076c0b198"} 
[2026-09-06 18:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:17: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-09-06 18: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-09-06 18:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:17: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-09-06 18:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906799104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906799104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:17:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906799104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":175444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:17:53] local.INFO: GPS data processed {"connection_id":175444,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:17:53] local.INFO: Acknowledgment sent {"connection_id":175444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:18:05] local.INFO: TCP Data received {"connection_id":172709,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:18:05] local.INFO: Processing buffer {"connection_id":172709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:18:05] local.INFO: IMEI packet received {"connection_id":172709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 18:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":172709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:18:08] local.INFO: TCP Data received {"connection_id":172709,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:18:08] local.INFO: Processing buffer {"connection_id":172709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:18:08] local.INFO: IMEI packet received {"connection_id":172709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":172709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:18:10] local.INFO: TCP Data received {"connection_id":172709,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a076c1da78012d7e314005d357400005003329..."} 
[2026-09-06 18:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c1da78012d7e314005d357400005003329..."} 
[2026-09-06 18:18:10] local.INFO: Processing buffer {"connection_id":172709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c1da78012d7e314005d357400005003329..."} 
[2026-09-06 18:18:10] local.INFO: Packet analysis {"connection_id":172709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c1"} 
[2026-09-06 18:18:10] local.INFO: Extracted packet for processing {"connection_id":172709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c1"} 
[2026-09-06 18:18:10] local.INFO: GPS Element Parsed {"raw_longitude":763244864,"raw_latitude":97736512,"longitude_deg":76.3244864,"latitude_deg":9.7736512,"altitude":5,"angle":51,"satellites":41,"speed":7,"hex_longitude":"2d7e3140","hex_latitude":"05d35740","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906895360001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153235708542976,"note":"Value kept but may cause issues"} 
[2026-09-06 18:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092978778914076672,"note":"Value kept but may cause issues"} 
[2026-09-06 18:18: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-09-06 18:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788698811000,"timestamp_ms":1788698811000,"timestamp_seconds":1788698811,"priority":1,"record_length":96,"hex_timestamp":"000001a076c1da78"} 
[2026-09-06 18:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 18: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-06 18:18:10] 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-09-06 18: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-09-06 18:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":172709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":172709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":172709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:18:10] 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-09-06 18:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906895360001,"66":13646,"109":206,"85":15104,"24":7,"16":129153235708542976,"45":9092978778914076672},"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-09-06 18:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906895360001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:18:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153235708542976,"km_value":129153235708542.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092978778914076672,"description":"Unknown IO ID 45"} 
[2026-09-06 18:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906895360001,"power":13646,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9092978778914076672}} 
[2026-09-06 18:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":172709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:18:10] local.INFO: GPS data processed {"connection_id":172709,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:18:10] local.INFO: Acknowledgment sent {"connection_id":172709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:18:25] local.INFO: TCP Data received {"connection_id":175444,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:18:25] local.INFO: Processing buffer {"connection_id":175444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:18:25] local.INFO: Packet analysis {"connection_id":175444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:18:25] local.INFO: Extracted packet for processing {"connection_id":175444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:18:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906799104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788698735000,"timestamp_ms":1788698735000,"timestamp_seconds":1788698735,"priority":1,"record_length":96,"hex_timestamp":"000001a076c0b198"} 
[2026-09-06 18:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:18: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-09-06 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:18: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-09-06 18: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-09-06 18:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:18: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-09-06 18:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906799104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906799104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:18:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:18:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906799104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":175444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:18:25] local.INFO: GPS data processed {"connection_id":175444,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:18:25] local.INFO: Acknowledgment sent {"connection_id":175444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:18:47] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:18:47] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:18:47] local.INFO: IMEI packet received {"connection_id":174106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":174106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:18:52] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:18:52] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:18:52] local.INFO: IMEI packet received {"connection_id":174106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":174106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:18:53] local.INFO: TCP Data received {"connection_id":172953,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:18:53] local.INFO: Processing buffer {"connection_id":172953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:18:53] local.INFO: IMEI packet received {"connection_id":172953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 18:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":172953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:18:53] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:18:53] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:18:53] local.INFO: Packet analysis {"connection_id":174106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:18:53] local.INFO: Extracted packet for processing {"connection_id":174106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:18:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906799104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788698735000,"timestamp_ms":1788698735000,"timestamp_seconds":1788698735,"priority":1,"record_length":96,"hex_timestamp":"000001a076c0b198"} 
[2026-09-06 18:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:18: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-09-06 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:18: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-09-06 18: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-09-06 18:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:18: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-09-06 18:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906799104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906799104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:18:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906799104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":174106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:18:53] local.INFO: GPS data processed {"connection_id":174106,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:18:53] local.INFO: Acknowledgment sent {"connection_id":174106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:18:55] local.INFO: TCP Data received {"connection_id":172953,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:18:55] local.INFO: Processing buffer {"connection_id":172953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:18:55] local.INFO: IMEI packet received {"connection_id":172953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":172953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:19:00] local.INFO: TCP Data received {"connection_id":172953,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:19:00] local.INFO: Processing buffer {"connection_id":172953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:19:00] local.INFO: IMEI packet received {"connection_id":172953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":172953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:19:01] local.INFO: TCP Data received {"connection_id":172953,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a076c1de60012d7e31c005d357a80005004a29..."} 
[2026-09-06 18:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c1de60012d7e31c005d357a80005004a29..."} 
[2026-09-06 18:19:01] local.INFO: Processing buffer {"connection_id":172953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c1de60012d7e31c005d357a80005004a29..."} 
[2026-09-06 18:19:01] local.INFO: Packet analysis {"connection_id":172953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c1"} 
[2026-09-06 18:19:01] local.INFO: Extracted packet for processing {"connection_id":172953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c1"} 
[2026-09-06 18:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763244992,"raw_latitude":97736616,"longitude_deg":76.3244992,"latitude_deg":9.7736616,"altitude":5,"angle":74,"satellites":41,"speed":9,"hex_longitude":"2d7e31c0","hex_latitude":"05d357a8","is_valid_coordinates":true} 
[2026-09-06 18:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906895616001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153244298477568,"note":"Value kept but may cause issues"} 
[2026-09-06 18:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093119516402466816,"note":"Value kept but may cause issues"} 
[2026-09-06 18:19: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-09-06 18:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788698812000,"timestamp_ms":1788698812000,"timestamp_seconds":1788698812,"priority":1,"record_length":96,"hex_timestamp":"000001a076c1de60"} 
[2026-09-06 18:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 18:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-06 18:19:01] 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-09-06 18:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:19:01] 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-09-06 18:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906895616001,"66":13646,"109":206,"85":15104,"24":9,"16":129153244298477568,"45":9093119516402466816},"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-09-06 18:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906895616001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:19:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-06 18:19:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153244298477568,"km_value":129153244298477.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093119516402466816,"description":"Unknown IO ID 45"} 
[2026-09-06 18:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906895616001,"power":13646,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9093119516402466816}} 
[2026-09-06 18:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":172953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:19:01] local.INFO: GPS data processed {"connection_id":172953,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:19:01] local.INFO: Acknowledgment sent {"connection_id":172953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:19:24] local.INFO: TCP Data received {"connection_id":174106,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:19:24] local.INFO: Processing buffer {"connection_id":174106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:19:24] local.INFO: Packet analysis {"connection_id":174106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:19:24] local.INFO: Extracted packet for processing {"connection_id":174106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:19:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906799104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788698735000,"timestamp_ms":1788698735000,"timestamp_seconds":1788698735,"priority":1,"record_length":96,"hex_timestamp":"000001a076c0b198"} 
[2026-09-06 18:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:19: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-09-06 18: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-09-06 18:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:19: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-09-06 18:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906799104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906799104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:19:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:19:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906799104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":174106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:19:24] local.INFO: GPS data processed {"connection_id":174106,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:19:24] local.INFO: Acknowledgment sent {"connection_id":174106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:19:31] local.INFO: TCP Data received {"connection_id":172953,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a076c40cf8012d7e300005d356d0000000aa29..."} 
[2026-09-06 18:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c40cf8012d7e300005d356d0000000aa29..."} 
[2026-09-06 18:19:31] local.INFO: Processing buffer {"connection_id":172953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c40cf8012d7e300005d356d0000000aa29..."} 
[2026-09-06 18:19:31] local.INFO: Packet analysis {"connection_id":172953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c4"} 
[2026-09-06 18:19:31] local.INFO: Extracted packet for processing {"connection_id":172953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c4"} 
[2026-09-06 18:19:31] local.INFO: GPS Element Parsed {"raw_longitude":763244544,"raw_latitude":97736400,"longitude_deg":76.3244544,"latitude_deg":9.77364,"altitude":0,"angle":170,"satellites":41,"speed":7,"hex_longitude":"2d7e3000","hex_latitude":"05d356d0","is_valid_coordinates":true} 
[2026-09-06 18:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906932224001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153849888866304,"note":"Value kept but may cause issues"} 
[2026-09-06 18:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092697303937417216,"note":"Value kept but may cause issues"} 
[2026-09-06 18:19:31] 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-09-06 18:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788698955000,"timestamp_ms":1788698955000,"timestamp_seconds":1788698955,"priority":1,"record_length":96,"hex_timestamp":"000001a076c40cf8"} 
[2026-09-06 18:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:19:31] 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-09-06 18:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-06 18:19:31] 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-09-06 18:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:19:31] 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-09-06 18:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906932224001,"66":13363,"110":206,"85":15104,"24":7,"16":129153849888866304,"45":9092697303937417216},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-09-06 18:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906932224001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:19:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-06 18:19:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153849888866304,"km_value":129153849888866.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092697303937417216,"description":"Unknown IO ID 45"} 
[2026-09-06 18:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906932224001,"power":13363,"unknown_110":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9092697303937417216}} 
[2026-09-06 18:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":172953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:19:31] local.INFO: GPS data processed {"connection_id":172953,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:19:31] local.INFO: Acknowledgment sent {"connection_id":172953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:19:47] local.INFO: TCP Data received {"connection_id":172710,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:19:47] local.INFO: Processing buffer {"connection_id":172710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:19:47] local.INFO: IMEI packet received {"connection_id":172710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":172710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:19:52] local.INFO: TCP Data received {"connection_id":172710,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:19:52] local.INFO: Processing buffer {"connection_id":172710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:19:52] local.INFO: IMEI packet received {"connection_id":172710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":172710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:19:53] local.INFO: TCP Data received {"connection_id":172710,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:19:53] local.INFO: Processing buffer {"connection_id":172710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:19:53] local.INFO: Packet analysis {"connection_id":172710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:19:53] local.INFO: Extracted packet for processing {"connection_id":172710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:19:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906799104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788698735000,"timestamp_ms":1788698735000,"timestamp_seconds":1788698735,"priority":1,"record_length":96,"hex_timestamp":"000001a076c0b198"} 
[2026-09-06 18:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:19: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-09-06 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:19: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-09-06 18: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-09-06 18:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:19: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-09-06 18:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906799104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906799104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:19:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:19:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906799104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":172710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:19:53] local.INFO: GPS data processed {"connection_id":172710,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:19:53] local.INFO: Acknowledgment sent {"connection_id":172710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:19:55] local.INFO: TCP Data received {"connection_id":172955,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:19:55] local.INFO: Processing buffer {"connection_id":172955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:19:55] local.INFO: IMEI packet received {"connection_id":172955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-06 18:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":172955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:19:55] local.INFO: TCP Data received {"connection_id":172955,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:19:55] local.INFO: Processing buffer {"connection_id":172955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:19:55] local.INFO: IMEI packet received {"connection_id":172955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":172955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:20:00] local.INFO: TCP Data received {"connection_id":172955,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:20:00] local.INFO: Processing buffer {"connection_id":172955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-06 18:20:00] local.INFO: IMEI packet received {"connection_id":172955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-06 18:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":172955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:20:03] local.INFO: TCP Data received {"connection_id":172955,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a076c42c38012d7e310005d352780000009929..."} 
[2026-09-06 18:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c42c38012d7e310005d352780000009929..."} 
[2026-09-06 18:20:03] local.INFO: Processing buffer {"connection_id":172955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c42c38012d7e310005d352780000009929..."} 
[2026-09-06 18:20:03] local.INFO: Packet analysis {"connection_id":172955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c4"} 
[2026-09-06 18:20:03] local.INFO: Extracted packet for processing {"connection_id":172955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c4"} 
[2026-09-06 18:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763244800,"raw_latitude":97735288,"longitude_deg":76.32448,"latitude_deg":9.7735288,"altitude":0,"angle":153,"satellites":41,"speed":7,"hex_longitude":"2d7e3100","hex_latitude":"05d35278","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906932480001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153905723441152,"note":"Value kept but may cause issues"} 
[2026-09-06 18:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092767672681549824,"note":"Value kept but may cause issues"} 
[2026-09-06 18:20:03] 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-09-06 18:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788698963000,"timestamp_ms":1788698963000,"timestamp_seconds":1788698963,"priority":1,"record_length":96,"hex_timestamp":"000001a076c42c38"} 
[2026-09-06 18:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 18:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-06 18:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:20:03] 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-09-06 18:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906932480001,"66":13765,"110":206,"85":15104,"24":7,"16":129153905723441152,"45":9092767672681549824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-09-06 18:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906932480001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:20:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-06 18:20:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153905723441152,"km_value":129153905723441.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092767672681549824,"description":"Unknown IO ID 45"} 
[2026-09-06 18:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906932480001,"power":13765,"unknown_110":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9092767672681549824}} 
[2026-09-06 18:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":172955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:20:03] local.INFO: GPS data processed {"connection_id":172955,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:20:03] local.INFO: Acknowledgment sent {"connection_id":172955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:20:24] local.INFO: TCP Data received {"connection_id":172710,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:20:24] local.INFO: Processing buffer {"connection_id":172710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:20:24] local.INFO: Packet analysis {"connection_id":172710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:20:24] local.INFO: Extracted packet for processing {"connection_id":172710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:20:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 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-09-06 18:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906799104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 18:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788698735000,"timestamp_ms":1788698735000,"timestamp_seconds":1788698735,"priority":1,"record_length":96,"hex_timestamp":"000001a076c0b198"} 
[2026-09-06 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-09-06 18:20: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-09-06 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:20: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-09-06 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-09-06 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-09-06 18:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:20: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-09-06 18:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906799104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906799104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:20:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:20:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906799104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":172710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:20:24] local.INFO: GPS data processed {"connection_id":172710,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:20:24] local.INFO: Acknowledgment sent {"connection_id":172710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:20:34] local.INFO: TCP Data received {"connection_id":172955,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a076c43fc0012d7e334005d34ef00000008728..."} 
[2026-09-06 18:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c43fc0012d7e334005d34ef00000008728..."} 
[2026-09-06 18:20:34] local.INFO: Processing buffer {"connection_id":172955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c43fc0012d7e334005d34ef00000008728..."} 
[2026-09-06 18:20:34] local.INFO: Packet analysis {"connection_id":172955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c4"} 
[2026-09-06 18:20:34] local.INFO: Extracted packet for processing {"connection_id":172955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c4"} 
[2026-09-06 18:20:34] local.INFO: GPS Element Parsed {"raw_longitude":763245376,"raw_latitude":97734384,"longitude_deg":76.3245376,"latitude_deg":9.7734384,"altitude":0,"angle":135,"satellites":40,"speed":7,"hex_longitude":"2d7e3340","hex_latitude":"05d34ef0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 18:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906934528001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129153961558016000,"note":"Value kept but may cause issues"} 
[2026-09-06 18:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093049147657975808,"note":"Value kept but may cause issues"} 
[2026-09-06 18:20:34] 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-09-06 18:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788698968000,"timestamp_ms":1788698968000,"timestamp_seconds":1788698968,"priority":1,"record_length":96,"hex_timestamp":"000001a076c43fc0"} 
[2026-09-06 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-09-06 18:20:34] 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-09-06 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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-06 18:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 18:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-06 18:20:34] 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-09-06 18:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-06 18:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-06 18:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906934528001,"66":13765,"110":206,"85":15104,"24":7,"16":129153961558016000,"45":9093049147657975808},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-09-06 18:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-06 18:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-06 18:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906934528001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:20:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-06 18:20:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-06 18:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129153961558016000,"km_value":129153961558016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093049147657975808,"description":"Unknown IO ID 45"} 
[2026-09-06 18:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906934528001,"power":13765,"unknown_110":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9093049147657975808}} 
[2026-09-06 18:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":172955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:20:34] local.INFO: GPS data processed {"connection_id":172955,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:20:34] local.INFO: Acknowledgment sent {"connection_id":172955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:20:47] local.INFO: TCP Data received {"connection_id":175446,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:20:47] local.INFO: Processing buffer {"connection_id":175446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:20:47] local.INFO: IMEI packet received {"connection_id":175446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":175446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:20:52] local.INFO: TCP Data received {"connection_id":175446,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:20:52] local.INFO: Processing buffer {"connection_id":175446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:20:52] local.INFO: IMEI packet received {"connection_id":175446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":175446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:20:53] local.INFO: TCP Data received {"connection_id":175446,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:20:53] local.INFO: Processing buffer {"connection_id":175446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c0b198012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:20:53] local.INFO: Packet analysis {"connection_id":175446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:20:53] local.INFO: Extracted packet for processing {"connection_id":175446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c0"} 
[2026-09-06 18:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906799104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788698735000,"timestamp_ms":1788698735000,"timestamp_seconds":1788698735,"priority":1,"record_length":96,"hex_timestamp":"000001a076c0b198"} 
[2026-09-06 18:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:20: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-09-06 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:20: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-09-06 18: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-09-06 18:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:20: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-09-06 18:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906799104001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906799104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:20:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906799104001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":175446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:20:53] local.INFO: GPS data processed {"connection_id":175446,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:20:53] local.INFO: Acknowledgment sent {"connection_id":175446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:20:54] local.INFO: TCP Data received {"connection_id":175447,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:20:54] local.INFO: Processing buffer {"connection_id":175447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:20:54] local.INFO: IMEI packet received {"connection_id":175447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 18:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":175447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:21:24] local.INFO: TCP Data received {"connection_id":175446,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:21:24] local.INFO: Processing buffer {"connection_id":175446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:21:24] local.INFO: Packet analysis {"connection_id":175446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:21:24] local.INFO: Extracted packet for processing {"connection_id":175446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:21:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906876160001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788699036000,"timestamp_ms":1788699036000,"timestamp_seconds":1788699036,"priority":1,"record_length":96,"hex_timestamp":"000001a076c54960"} 
[2026-09-06 18:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:21: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-09-06 18:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:21: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-09-06 18:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906876160001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906876160001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:21:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:21:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906876160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":175446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:21:25] local.INFO: GPS data processed {"connection_id":175446,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:21:25] local.INFO: Acknowledgment sent {"connection_id":175446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:21:52] local.INFO: TCP Data received {"connection_id":174108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:21:52] local.INFO: Processing buffer {"connection_id":174108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:21:52] local.INFO: IMEI packet received {"connection_id":174108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":174108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:21:57] local.INFO: TCP Data received {"connection_id":174108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:21:57] local.INFO: Processing buffer {"connection_id":174108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:21:57] local.INFO: IMEI packet received {"connection_id":174108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":174108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:21:58] local.INFO: TCP Data received {"connection_id":174108,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:21:58] local.INFO: Processing buffer {"connection_id":174108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:21:58] local.INFO: Packet analysis {"connection_id":174108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:21:58] local.INFO: Extracted packet for processing {"connection_id":174108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:21:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906876160001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788699036000,"timestamp_ms":1788699036000,"timestamp_seconds":1788699036,"priority":1,"record_length":96,"hex_timestamp":"000001a076c54960"} 
[2026-09-06 18:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:21: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-09-06 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:21: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-09-06 18: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-09-06 18:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906876160001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906876160001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:21:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:21:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906876160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":174108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:21:58] local.INFO: GPS data processed {"connection_id":174108,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:21:58] local.INFO: Acknowledgment sent {"connection_id":174108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:22:03] local.INFO: TCP Data received {"connection_id":174108,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:22:03] local.INFO: Processing buffer {"connection_id":174108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:22:03] local.INFO: Packet analysis {"connection_id":174108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:22:03] local.INFO: Extracted packet for processing {"connection_id":174108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906876160001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788699036000,"timestamp_ms":1788699036000,"timestamp_seconds":1788699036,"priority":1,"record_length":96,"hex_timestamp":"000001a076c54960"} 
[2026-09-06 18:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906876160001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906876160001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:22:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:22:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906876160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":174108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:22:03] local.INFO: GPS data processed {"connection_id":174108,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:22:03] local.INFO: Acknowledgment sent {"connection_id":174108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:22:47] local.INFO: TCP Data received {"connection_id":174109,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:22:47] local.INFO: Processing buffer {"connection_id":174109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:22:47] local.INFO: IMEI packet received {"connection_id":174109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":174109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:22:52] local.INFO: TCP Data received {"connection_id":174109,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:22:52] local.INFO: Processing buffer {"connection_id":174109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:22:52] local.INFO: IMEI packet received {"connection_id":174109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":174109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:22:53] local.INFO: TCP Data received {"connection_id":174109,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:22:53] local.INFO: Processing buffer {"connection_id":174109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:22:53] local.INFO: Packet analysis {"connection_id":174109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:22:53] local.INFO: Extracted packet for processing {"connection_id":174109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906876160001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788699036000,"timestamp_ms":1788699036000,"timestamp_seconds":1788699036,"priority":1,"record_length":96,"hex_timestamp":"000001a076c54960"} 
[2026-09-06 18:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:22: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-09-06 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:22: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-09-06 18: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-09-06 18:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:22: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-09-06 18:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906876160001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906876160001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:22:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906876160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":174109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:22:53] local.INFO: GPS data processed {"connection_id":174109,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:22:53] local.INFO: Acknowledgment sent {"connection_id":174109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:23:25] local.INFO: TCP Data received {"connection_id":174109,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:23:25] local.INFO: Processing buffer {"connection_id":174109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:23:25] local.INFO: Packet analysis {"connection_id":174109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:23:25] local.INFO: Extracted packet for processing {"connection_id":174109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:23:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906876160001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788699036000,"timestamp_ms":1788699036000,"timestamp_seconds":1788699036,"priority":1,"record_length":96,"hex_timestamp":"000001a076c54960"} 
[2026-09-06 18:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:23: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-09-06 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:23: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-09-06 18: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-09-06 18:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:23:25] 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-09-06 18:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906876160001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906876160001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:23:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:23:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906876160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":174109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:23:25] local.INFO: GPS data processed {"connection_id":174109,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:23:25] local.INFO: Acknowledgment sent {"connection_id":174109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:23:47] local.INFO: TCP Data received {"connection_id":174111,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:23:47] local.INFO: Processing buffer {"connection_id":174111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:23:47] local.INFO: IMEI packet received {"connection_id":174111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":174111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:23:52] local.INFO: TCP Data received {"connection_id":174111,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:23:52] local.INFO: Processing buffer {"connection_id":174111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:23:52] local.INFO: IMEI packet received {"connection_id":174111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":174111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:23:53] local.INFO: TCP Data received {"connection_id":174111,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:23:53] local.INFO: Processing buffer {"connection_id":174111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:23:53] local.INFO: Packet analysis {"connection_id":174111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:23:53] local.INFO: Extracted packet for processing {"connection_id":174111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:23:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906876160001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788699036000,"timestamp_ms":1788699036000,"timestamp_seconds":1788699036,"priority":1,"record_length":96,"hex_timestamp":"000001a076c54960"} 
[2026-09-06 18:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:23: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-09-06 18: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:23: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-09-06 18: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-09-06 18:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:23: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-09-06 18:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906876160001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906876160001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:23:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:23:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906876160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":174111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:23:53] local.INFO: GPS data processed {"connection_id":174111,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:23:53] local.INFO: Acknowledgment sent {"connection_id":174111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:24:25] local.INFO: TCP Data received {"connection_id":174111,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:24:25] local.INFO: Processing buffer {"connection_id":174111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:24:25] local.INFO: Packet analysis {"connection_id":174111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:24:25] local.INFO: Extracted packet for processing {"connection_id":174111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:24:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906876160001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788699036000,"timestamp_ms":1788699036000,"timestamp_seconds":1788699036,"priority":1,"record_length":96,"hex_timestamp":"000001a076c54960"} 
[2026-09-06 18:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:24: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-09-06 18: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-09-06 18: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-09-06 18: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-09-06 18:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:24: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-09-06 18:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906876160001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906876160001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:24:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:24:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906876160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":174111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:24:25] local.INFO: GPS data processed {"connection_id":174111,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:24:25] local.INFO: Acknowledgment sent {"connection_id":174111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:24:47] local.INFO: TCP Data received {"connection_id":172957,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:24:47] local.INFO: Processing buffer {"connection_id":172957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:24:47] local.INFO: IMEI packet received {"connection_id":172957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":172957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:24:52] local.INFO: TCP Data received {"connection_id":172957,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:24:52] local.INFO: Processing buffer {"connection_id":172957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:24:52] local.INFO: IMEI packet received {"connection_id":172957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":172957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:24:53] local.INFO: TCP Data received {"connection_id":172957,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:24:53] local.INFO: Processing buffer {"connection_id":172957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:24:53] local.INFO: Packet analysis {"connection_id":172957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:24:53] local.INFO: Extracted packet for processing {"connection_id":172957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:24:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906876160001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788699036000,"timestamp_ms":1788699036000,"timestamp_seconds":1788699036,"priority":1,"record_length":96,"hex_timestamp":"000001a076c54960"} 
[2026-09-06 18:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:24: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-09-06 18: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-09-06 18: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-09-06 18: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-09-06 18:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:24: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-09-06 18:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906876160001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906876160001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:24:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906876160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":172957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:24:53] local.INFO: GPS data processed {"connection_id":172957,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:24:53] local.INFO: Acknowledgment sent {"connection_id":172957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:25:24] local.INFO: TCP Data received {"connection_id":172957,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:25:24] local.INFO: Processing buffer {"connection_id":172957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:25:24] local.INFO: Packet analysis {"connection_id":172957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:25:24] local.INFO: Extracted packet for processing {"connection_id":172957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:25:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906876160001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788699036000,"timestamp_ms":1788699036000,"timestamp_seconds":1788699036,"priority":1,"record_length":96,"hex_timestamp":"000001a076c54960"} 
[2026-09-06 18:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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-09-06 18: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-09-06 18: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-09-06 18:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:25: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-09-06 18:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906876160001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906876160001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:25:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:25:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906876160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":172957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:25:24] local.INFO: GPS data processed {"connection_id":172957,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:25:24] local.INFO: Acknowledgment sent {"connection_id":172957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:25:47] local.INFO: TCP Data received {"connection_id":172713,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:25:47] local.INFO: Processing buffer {"connection_id":172713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:25:47] local.INFO: IMEI packet received {"connection_id":172713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":172713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:25:52] local.INFO: TCP Data received {"connection_id":172713,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:25:52] local.INFO: Processing buffer {"connection_id":172713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:25:52] local.INFO: IMEI packet received {"connection_id":172713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":172713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:25:53] local.INFO: TCP Data received {"connection_id":172713,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:25:53] local.INFO: Processing buffer {"connection_id":172713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c54960012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:25:53] local.INFO: Packet analysis {"connection_id":172713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:25:53] local.INFO: Extracted packet for processing {"connection_id":172713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c5"} 
[2026-09-06 18:25:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906876160001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788699036000,"timestamp_ms":1788699036000,"timestamp_seconds":1788699036,"priority":1,"record_length":96,"hex_timestamp":"000001a076c54960"} 
[2026-09-06 18:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:25: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-09-06 18: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-09-06 18: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-09-06 18: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-09-06 18:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:25: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-09-06 18:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906876160001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906876160001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:25:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:25:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906876160001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":172713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:25:53] local.INFO: GPS data processed {"connection_id":172713,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:25:53] local.INFO: Acknowledgment sent {"connection_id":172713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:26:25] local.INFO: TCP Data received {"connection_id":172713,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:26:25] local.INFO: Processing buffer {"connection_id":172713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:26:25] local.INFO: Packet analysis {"connection_id":172713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:26:25] local.INFO: Extracted packet for processing {"connection_id":172713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906953216001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788699337000,"timestamp_ms":1788699337000,"timestamp_seconds":1788699337,"priority":1,"record_length":96,"hex_timestamp":"000001a076c9e128"} 
[2026-09-06 18:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:26: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-09-06 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:26: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-09-06 18: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-09-06 18:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:26: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-09-06 18:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906953216001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906953216001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:26:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:26:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906953216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":172713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:26:25] local.INFO: GPS data processed {"connection_id":172713,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:26:25] local.INFO: Acknowledgment sent {"connection_id":172713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:26:25] local.INFO: TCP Data received {"connection_id":172712,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:26:25] local.INFO: Processing buffer {"connection_id":172712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:26:25] local.INFO: IMEI packet received {"connection_id":172712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 18:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":172712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:26:49] local.INFO: TCP Data received {"connection_id":172714,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:26:49] local.INFO: Processing buffer {"connection_id":172714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:26:49] local.INFO: IMEI packet received {"connection_id":172714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 18:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":172714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:26:52] local.INFO: TCP Data received {"connection_id":172715,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:26:52] local.INFO: Processing buffer {"connection_id":172715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:26:52] local.INFO: IMEI packet received {"connection_id":172715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":172715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:26:57] local.INFO: TCP Data received {"connection_id":172715,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:26:57] local.INFO: Processing buffer {"connection_id":172715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:26:57] local.INFO: IMEI packet received {"connection_id":172715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":172715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:26:58] local.INFO: TCP Data received {"connection_id":172715,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:26:58] local.INFO: Processing buffer {"connection_id":172715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:26:58] local.INFO: Packet analysis {"connection_id":172715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:26:58] local.INFO: Extracted packet for processing {"connection_id":172715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906953216001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:26: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-09-06 18:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788699337000,"timestamp_ms":1788699337000,"timestamp_seconds":1788699337,"priority":1,"record_length":96,"hex_timestamp":"000001a076c9e128"} 
[2026-09-06 18:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:26:59] 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-09-06 18:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:26:59] 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-09-06 18:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906953216001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906953216001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:26:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:26:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906953216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":172715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:26:59] local.INFO: GPS data processed {"connection_id":172715,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:26:59] local.INFO: Acknowledgment sent {"connection_id":172715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:27:30] local.INFO: TCP Data received {"connection_id":172715,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:27:30] local.INFO: Processing buffer {"connection_id":172715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:27:30] local.INFO: Packet analysis {"connection_id":172715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:27:30] local.INFO: Extracted packet for processing {"connection_id":172715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:27:30] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906953216001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:27: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-09-06 18:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788699337000,"timestamp_ms":1788699337000,"timestamp_seconds":1788699337,"priority":1,"record_length":96,"hex_timestamp":"000001a076c9e128"} 
[2026-09-06 18:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906953216001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906953216001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:27:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:27:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906953216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":172715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:27:30] local.INFO: GPS data processed {"connection_id":172715,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:27:30] local.INFO: Acknowledgment sent {"connection_id":172715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:27:47] local.INFO: TCP Data received {"connection_id":175448,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:27:47] local.INFO: Processing buffer {"connection_id":175448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:27:47] local.INFO: IMEI packet received {"connection_id":175448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":175448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:27:52] local.INFO: TCP Data received {"connection_id":175448,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:27:52] local.INFO: Processing buffer {"connection_id":175448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:27:52] local.INFO: IMEI packet received {"connection_id":175448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":175448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:27:54] local.INFO: TCP Data received {"connection_id":175448,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:27:54] local.INFO: Processing buffer {"connection_id":175448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:27:54] local.INFO: Packet analysis {"connection_id":175448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:27:54] local.INFO: Extracted packet for processing {"connection_id":175448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:27:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906953216001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:27: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-09-06 18:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788699337000,"timestamp_ms":1788699337000,"timestamp_seconds":1788699337,"priority":1,"record_length":96,"hex_timestamp":"000001a076c9e128"} 
[2026-09-06 18:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:27: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-09-06 18:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:27:54] 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-09-06 18:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906953216001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906953216001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:27:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:27:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906953216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":175448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:27:54] local.INFO: GPS data processed {"connection_id":175448,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:27:54] local.INFO: Acknowledgment sent {"connection_id":175448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:28:25] local.INFO: TCP Data received {"connection_id":175448,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:28:25] local.INFO: Processing buffer {"connection_id":175448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:28:25] local.INFO: Packet analysis {"connection_id":175448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:28:25] local.INFO: Extracted packet for processing {"connection_id":175448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:28:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906953216001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788699337000,"timestamp_ms":1788699337000,"timestamp_seconds":1788699337,"priority":1,"record_length":96,"hex_timestamp":"000001a076c9e128"} 
[2026-09-06 18:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:28: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-09-06 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:28: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-09-06 18: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-09-06 18:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18: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-09-06 18:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906953216001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906953216001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:28:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:28:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906953216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":175448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:28:25] local.INFO: GPS data processed {"connection_id":175448,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:28:25] local.INFO: Acknowledgment sent {"connection_id":175448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:28:47] local.INFO: TCP Data received {"connection_id":172716,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:28:47] local.INFO: Processing buffer {"connection_id":172716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:28:47] local.INFO: IMEI packet received {"connection_id":172716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":172716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:28:52] local.INFO: TCP Data received {"connection_id":172716,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:28:52] local.INFO: Processing buffer {"connection_id":172716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:28:52] local.INFO: IMEI packet received {"connection_id":172716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":172716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:28:54] local.INFO: TCP Data received {"connection_id":172716,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:28:54] local.INFO: Processing buffer {"connection_id":172716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:28:54] local.INFO: Packet analysis {"connection_id":172716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:28:54] local.INFO: Extracted packet for processing {"connection_id":172716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:28:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906953216001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:28: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-09-06 18:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788699337000,"timestamp_ms":1788699337000,"timestamp_seconds":1788699337,"priority":1,"record_length":96,"hex_timestamp":"000001a076c9e128"} 
[2026-09-06 18:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:28: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-09-06 18:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906953216001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 18:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906953216001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:28:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:28:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906953216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":172716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:28:54] local.INFO: GPS data processed {"connection_id":172716,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:28:54] local.INFO: Acknowledgment sent {"connection_id":172716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:29:25] local.INFO: TCP Data received {"connection_id":172716,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:29:25] local.INFO: Processing buffer {"connection_id":172716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:29:25] local.INFO: Packet analysis {"connection_id":172716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:29:25] local.INFO: Extracted packet for processing {"connection_id":172716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:29:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906953216001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788699337000,"timestamp_ms":1788699337000,"timestamp_seconds":1788699337,"priority":1,"record_length":96,"hex_timestamp":"000001a076c9e128"} 
[2026-09-06 18:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:29: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-09-06 18: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-09-06 18:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906953216001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 18:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906953216001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:29:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:29:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906953216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":172716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:29:25] local.INFO: GPS data processed {"connection_id":172716,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:29:25] local.INFO: Acknowledgment sent {"connection_id":172716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:29:47] local.INFO: TCP Data received {"connection_id":174114,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:29:47] local.INFO: Processing buffer {"connection_id":174114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:29:47] local.INFO: IMEI packet received {"connection_id":174114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":174114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:29:52] local.INFO: TCP Data received {"connection_id":174114,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:29:52] local.INFO: Processing buffer {"connection_id":174114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:29:52] local.INFO: IMEI packet received {"connection_id":174114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":174114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:29:54] local.INFO: TCP Data received {"connection_id":174114,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:29:54] local.INFO: Processing buffer {"connection_id":174114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:29:54] local.INFO: Packet analysis {"connection_id":174114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:29:54] local.INFO: Extracted packet for processing {"connection_id":174114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:29:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906953216001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788699337000,"timestamp_ms":1788699337000,"timestamp_seconds":1788699337,"priority":1,"record_length":96,"hex_timestamp":"000001a076c9e128"} 
[2026-09-06 18:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:29: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-09-06 18: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-09-06 18:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906953216001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 18:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906953216001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:29:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:29:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906953216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":174114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:29:54] local.INFO: GPS data processed {"connection_id":174114,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:29:54] local.INFO: Acknowledgment sent {"connection_id":174114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:30:25] local.INFO: TCP Data received {"connection_id":174114,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:30:25] local.INFO: Processing buffer {"connection_id":174114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:30:25] local.INFO: Packet analysis {"connection_id":174114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:30:25] local.INFO: Extracted packet for processing {"connection_id":174114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:30:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906953216001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788699337000,"timestamp_ms":1788699337000,"timestamp_seconds":1788699337,"priority":1,"record_length":96,"hex_timestamp":"000001a076c9e128"} 
[2026-09-06 18:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:30: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-09-06 18: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:30: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-09-06 18: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-09-06 18:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906953216001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 18:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906953216001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:30:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:30:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906953216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":174114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:30:25] local.INFO: GPS data processed {"connection_id":174114,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:30:25] local.INFO: Acknowledgment sent {"connection_id":174114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:30:52] local.INFO: TCP Data received {"connection_id":172717,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:30:52] local.INFO: Processing buffer {"connection_id":172717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:30:52] local.INFO: IMEI packet received {"connection_id":172717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":172717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:30:57] local.INFO: TCP Data received {"connection_id":172717,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:30:57] local.INFO: Processing buffer {"connection_id":172717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:30:57] local.INFO: IMEI packet received {"connection_id":172717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":172717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:30:58] local.INFO: TCP Data received {"connection_id":172717,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:30:58] local.INFO: Processing buffer {"connection_id":172717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:30:58] local.INFO: Packet analysis {"connection_id":172717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:30:58] local.INFO: Extracted packet for processing {"connection_id":172717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:30:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906953216001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788699337000,"timestamp_ms":1788699337000,"timestamp_seconds":1788699337,"priority":1,"record_length":96,"hex_timestamp":"000001a076c9e128"} 
[2026-09-06 18:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:30: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-09-06 18: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-09-06 18: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-09-06 18: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-09-06 18:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:30: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-09-06 18:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906953216001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906953216001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:30:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:30:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906953216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":172717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:30:58] local.INFO: GPS data processed {"connection_id":172717,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:30:58] local.INFO: Acknowledgment sent {"connection_id":172717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:31:03] local.INFO: TCP Data received {"connection_id":172717,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:31:03] local.INFO: Processing buffer {"connection_id":172717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076c9e128012d34c50006aa3d30000e013529..."} 
[2026-09-06 18:31:03] local.INFO: Packet analysis {"connection_id":172717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:31:03] local.INFO: Extracted packet for processing {"connection_id":172717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076c9"} 
[2026-09-06 18:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457906953216001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:31: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-09-06 18:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788699337000,"timestamp_ms":1788699337000,"timestamp_seconds":1788699337,"priority":1,"record_length":96,"hex_timestamp":"000001a076c9e128"} 
[2026-09-06 18:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:31: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-09-06 18:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457906953216001,"66":25778,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457906953216001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:31:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457906953216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":172717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:31:03] local.INFO: GPS data processed {"connection_id":172717,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:31:03] local.INFO: Acknowledgment sent {"connection_id":172717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:31:47] local.INFO: TCP Data received {"connection_id":172961,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:31:47] local.INFO: Processing buffer {"connection_id":172961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:31:47] local.INFO: IMEI packet received {"connection_id":172961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":172961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:31:52] local.INFO: TCP Data received {"connection_id":172961,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:31:52] local.INFO: Processing buffer {"connection_id":172961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:31:52] local.INFO: IMEI packet received {"connection_id":172961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":172961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:31:54] local.INFO: TCP Data received {"connection_id":172961,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:31:54] local.INFO: Processing buffer {"connection_id":172961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:31:54] local.INFO: Packet analysis {"connection_id":172961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:31:54] local.INFO: Extracted packet for processing {"connection_id":172961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:31:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907030272001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:31: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-09-06 18:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788699638000,"timestamp_ms":1788699638000,"timestamp_seconds":1788699638,"priority":1,"record_length":96,"hex_timestamp":"000001a076ce78f0"} 
[2026-09-06 18:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:31:54] 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-09-06 18:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:31:54] 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-09-06 18:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907030272001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907030272001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:31:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:31:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907030272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":172961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:31:54] local.INFO: GPS data processed {"connection_id":172961,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:31:54] local.INFO: Acknowledgment sent {"connection_id":172961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:32:09] local.INFO: TCP Data received {"connection_id":172962,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:32:09] local.INFO: Processing buffer {"connection_id":172962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:32:09] local.INFO: IMEI packet received {"connection_id":172962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 18:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":172962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:32:26] local.INFO: TCP Data received {"connection_id":172961,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:32:26] local.INFO: Processing buffer {"connection_id":172961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:32:26] local.INFO: Packet analysis {"connection_id":172961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:32:26] local.INFO: Extracted packet for processing {"connection_id":172961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:32:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907030272001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:32: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-09-06 18:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788699638000,"timestamp_ms":1788699638000,"timestamp_seconds":1788699638,"priority":1,"record_length":96,"hex_timestamp":"000001a076ce78f0"} 
[2026-09-06 18:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:32: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-09-06 18: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:32: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-09-06 18: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-09-06 18:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:32:26] 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-09-06 18:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907030272001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907030272001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:32:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:32:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907030272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":172961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:32:26] local.INFO: GPS data processed {"connection_id":172961,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:32:26] local.INFO: Acknowledgment sent {"connection_id":172961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:32:47] local.INFO: TCP Data received {"connection_id":175450,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:32:47] local.INFO: Processing buffer {"connection_id":175450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:32:47] local.INFO: IMEI packet received {"connection_id":175450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":175450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:32:52] local.INFO: TCP Data received {"connection_id":175450,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:32:52] local.INFO: Processing buffer {"connection_id":175450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:32:52] local.INFO: IMEI packet received {"connection_id":175450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":175450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:32:54] local.INFO: TCP Data received {"connection_id":175450,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:32:54] local.INFO: Processing buffer {"connection_id":175450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:32:54] local.INFO: Packet analysis {"connection_id":175450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:32:54] local.INFO: Extracted packet for processing {"connection_id":175450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907030272001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:32: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-09-06 18:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788699638000,"timestamp_ms":1788699638000,"timestamp_seconds":1788699638,"priority":1,"record_length":96,"hex_timestamp":"000001a076ce78f0"} 
[2026-09-06 18:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:32:54] 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-09-06 18:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:32:54] 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-09-06 18:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907030272001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907030272001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:32:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:32:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907030272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":175450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:32:54] local.INFO: GPS data processed {"connection_id":175450,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:32:54] local.INFO: Acknowledgment sent {"connection_id":175450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:33:26] local.INFO: TCP Data received {"connection_id":175450,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:33:26] local.INFO: Processing buffer {"connection_id":175450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:33:26] local.INFO: Packet analysis {"connection_id":175450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:33:26] local.INFO: Extracted packet for processing {"connection_id":175450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:33:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907030272001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:33: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-09-06 18:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788699638000,"timestamp_ms":1788699638000,"timestamp_seconds":1788699638,"priority":1,"record_length":96,"hex_timestamp":"000001a076ce78f0"} 
[2026-09-06 18:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:33: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-09-06 18: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:33: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-09-06 18: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-09-06 18:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:33:26] 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-09-06 18:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907030272001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907030272001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:33:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:33:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907030272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":175450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:33:26] local.INFO: GPS data processed {"connection_id":175450,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:33:26] local.INFO: Acknowledgment sent {"connection_id":175450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:33:53] local.INFO: TCP Data received {"connection_id":172718,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:33:53] local.INFO: Processing buffer {"connection_id":172718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:33:53] local.INFO: IMEI packet received {"connection_id":172718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":172718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:33:57] local.INFO: TCP Data received {"connection_id":172718,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:33:57] local.INFO: Processing buffer {"connection_id":172718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:33:57] local.INFO: IMEI packet received {"connection_id":172718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":172718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:33:58] local.INFO: TCP Data received {"connection_id":172718,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:33:58] local.INFO: Processing buffer {"connection_id":172718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:33:58] local.INFO: Packet analysis {"connection_id":172718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:33:58] local.INFO: Extracted packet for processing {"connection_id":172718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907030272001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788699638000,"timestamp_ms":1788699638000,"timestamp_seconds":1788699638,"priority":1,"record_length":96,"hex_timestamp":"000001a076ce78f0"} 
[2026-09-06 18:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:33: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-09-06 18: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-09-06 18: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-09-06 18: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-09-06 18:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:33: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-09-06 18:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907030272001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907030272001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:33:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:33:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907030272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":172718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:33:58] local.INFO: GPS data processed {"connection_id":172718,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:33:58] local.INFO: Acknowledgment sent {"connection_id":172718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:34:03] local.INFO: TCP Data received {"connection_id":172718,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:34:03] local.INFO: Processing buffer {"connection_id":172718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:34:03] local.INFO: Packet analysis {"connection_id":172718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:34:03] local.INFO: Extracted packet for processing {"connection_id":172718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907030272001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:34: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-09-06 18:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788699638000,"timestamp_ms":1788699638000,"timestamp_seconds":1788699638,"priority":1,"record_length":96,"hex_timestamp":"000001a076ce78f0"} 
[2026-09-06 18:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:34:03] 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-09-06 18:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907030272001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907030272001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:34:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:34:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907030272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":172718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:34:03] local.INFO: GPS data processed {"connection_id":172718,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:34:03] local.INFO: Acknowledgment sent {"connection_id":172718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:34:47] local.INFO: TCP Data received {"connection_id":172963,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:34:47] local.INFO: Processing buffer {"connection_id":172963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:34:47] local.INFO: IMEI packet received {"connection_id":172963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":172963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:34:53] local.INFO: TCP Data received {"connection_id":172963,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:34:53] local.INFO: Processing buffer {"connection_id":172963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:34:53] local.INFO: IMEI packet received {"connection_id":172963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":172963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:34:55] local.INFO: TCP Data received {"connection_id":172963,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:34:55] local.INFO: Processing buffer {"connection_id":172963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:34:55] local.INFO: Packet analysis {"connection_id":172963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:34:55] local.INFO: Extracted packet for processing {"connection_id":172963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:34:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907030272001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:34: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-09-06 18:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788699638000,"timestamp_ms":1788699638000,"timestamp_seconds":1788699638,"priority":1,"record_length":96,"hex_timestamp":"000001a076ce78f0"} 
[2026-09-06 18:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:34:55] 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-09-06 18:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:34:55] 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-09-06 18:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907030272001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907030272001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:34:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:34:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907030272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":172963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:34:55] local.INFO: GPS data processed {"connection_id":172963,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:34:55] local.INFO: Acknowledgment sent {"connection_id":172963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:35:27] local.INFO: TCP Data received {"connection_id":172963,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:35:27] local.INFO: Processing buffer {"connection_id":172963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:35:27] local.INFO: Packet analysis {"connection_id":172963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:35:27] local.INFO: Extracted packet for processing {"connection_id":172963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:35:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907030272001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788699638000,"timestamp_ms":1788699638000,"timestamp_seconds":1788699638,"priority":1,"record_length":96,"hex_timestamp":"000001a076ce78f0"} 
[2026-09-06 18:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 18:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:35: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-09-06 18:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907030272001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907030272001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:35:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:35:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907030272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":172963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:35:27] local.INFO: GPS data processed {"connection_id":172963,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:35:27] local.INFO: Acknowledgment sent {"connection_id":172963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:35:47] local.INFO: TCP Data received {"connection_id":174117,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:35:47] local.INFO: Processing buffer {"connection_id":174117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:35:47] local.INFO: IMEI packet received {"connection_id":174117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":174117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:35:52] local.INFO: TCP Data received {"connection_id":174117,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:35:52] local.INFO: Processing buffer {"connection_id":174117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:35:52] local.INFO: IMEI packet received {"connection_id":174117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":174117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:35:53] local.INFO: TCP Data received {"connection_id":174117,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:35:53] local.INFO: Processing buffer {"connection_id":174117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ce78f0012d34c50006aa3d30000e01352a..."} 
[2026-09-06 18:35:53] local.INFO: Packet analysis {"connection_id":174117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:35:53] local.INFO: Extracted packet for processing {"connection_id":174117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ce"} 
[2026-09-06 18:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820080,"longitude_deg":75.8433024,"latitude_deg":11.182008,"altitude":14,"angle":309,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3d30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907030272001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788699638000,"timestamp_ms":1788699638000,"timestamp_seconds":1788699638,"priority":1,"record_length":96,"hex_timestamp":"000001a076ce78f0"} 
[2026-09-06 18:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:35: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-09-06 18: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-09-06 18: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-09-06 18: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-09-06 18:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:35: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-09-06 18:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907030272001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907030272001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:35:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907030272001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":174117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:35:53] local.INFO: GPS data processed {"connection_id":174117,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:35:53] local.INFO: Acknowledgment sent {"connection_id":174117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:36:27] local.INFO: TCP Data received {"connection_id":174117,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:36:27] local.INFO: Processing buffer {"connection_id":174117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:36:27] local.INFO: Packet analysis {"connection_id":174117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d2"} 
[2026-09-06 18:36:27] local.INFO: Extracted packet for processing {"connection_id":174117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d2"} 
[2026-09-06 18:36:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111819992,"longitude_deg":75.8433024,"latitude_deg":11.1819992,"altitude":14,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3cd8","is_valid_coordinates":true} 
[2026-09-06 18:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907107328001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:36: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-09-06 18:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788699921000,"timestamp_ms":1788699921000,"timestamp_seconds":1788699921,"priority":1,"record_length":96,"hex_timestamp":"000001a076d2ca68"} 
[2026-09-06 18:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:36: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-09-06 18:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907107328001,"66":25734,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907107328001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:36:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:36:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907107328001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":174117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:36:27] local.INFO: GPS data processed {"connection_id":174117,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:36:27] local.INFO: Acknowledgment sent {"connection_id":174117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:36:47] local.INFO: TCP Data received {"connection_id":172719,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:36:47] local.INFO: Processing buffer {"connection_id":172719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:36:47] local.INFO: IMEI packet received {"connection_id":172719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":172719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:36:52] local.INFO: TCP Data received {"connection_id":172719,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:36:52] local.INFO: Processing buffer {"connection_id":172719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:36:52] local.INFO: IMEI packet received {"connection_id":172719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":172719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:36:53] local.INFO: TCP Data received {"connection_id":172719,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:36:53] local.INFO: Processing buffer {"connection_id":172719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:36:53] local.INFO: Packet analysis {"connection_id":172719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d2"} 
[2026-09-06 18:36:53] local.INFO: Extracted packet for processing {"connection_id":172719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d2"} 
[2026-09-06 18:36:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111819992,"longitude_deg":75.8433024,"latitude_deg":11.1819992,"altitude":14,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3cd8","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907107328001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788699921000,"timestamp_ms":1788699921000,"timestamp_seconds":1788699921,"priority":1,"record_length":96,"hex_timestamp":"000001a076d2ca68"} 
[2026-09-06 18:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:36: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-09-06 18: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:36: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-09-06 18: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-09-06 18:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:36: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-09-06 18:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907107328001,"66":25734,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907107328001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:36:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:36:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907107328001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":172719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:36:53] local.INFO: GPS data processed {"connection_id":172719,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:36:53] local.INFO: Acknowledgment sent {"connection_id":172719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:37:24] local.INFO: TCP Data received {"connection_id":172719,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:37:24] local.INFO: Processing buffer {"connection_id":172719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:37:24] local.INFO: Packet analysis {"connection_id":172719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d2"} 
[2026-09-06 18:37:24] local.INFO: Extracted packet for processing {"connection_id":172719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d2"} 
[2026-09-06 18:37:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111819992,"longitude_deg":75.8433024,"latitude_deg":11.1819992,"altitude":14,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3cd8","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907107328001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788699921000,"timestamp_ms":1788699921000,"timestamp_seconds":1788699921,"priority":1,"record_length":96,"hex_timestamp":"000001a076d2ca68"} 
[2026-09-06 18:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:37: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-09-06 18: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:37: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-09-06 18: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-09-06 18:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:37: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-09-06 18:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907107328001,"66":25734,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907107328001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:37:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:37:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907107328001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":172719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:37:24] local.INFO: GPS data processed {"connection_id":172719,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:37:24] local.INFO: Acknowledgment sent {"connection_id":172719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:37:47] local.INFO: TCP Data received {"connection_id":174120,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:37:47] local.INFO: Processing buffer {"connection_id":174120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:37:47] local.INFO: IMEI packet received {"connection_id":174120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":174120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:37:49] local.INFO: TCP Data received {"connection_id":174119,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:37:49] local.INFO: Processing buffer {"connection_id":174119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:37:49] local.INFO: IMEI packet received {"connection_id":174119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 18:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":174119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:37:52] local.INFO: TCP Data received {"connection_id":174120,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:37:52] local.INFO: Processing buffer {"connection_id":174120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:37:52] local.INFO: IMEI packet received {"connection_id":174120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":174120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:37:53] local.INFO: TCP Data received {"connection_id":174120,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:37:53] local.INFO: Processing buffer {"connection_id":174120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:37:53] local.INFO: Packet analysis {"connection_id":174120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d2"} 
[2026-09-06 18:37:53] local.INFO: Extracted packet for processing {"connection_id":174120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d2"} 
[2026-09-06 18:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111819992,"longitude_deg":75.8433024,"latitude_deg":11.1819992,"altitude":14,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3cd8","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907107328001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788699921000,"timestamp_ms":1788699921000,"timestamp_seconds":1788699921,"priority":1,"record_length":96,"hex_timestamp":"000001a076d2ca68"} 
[2026-09-06 18:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:37: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-09-06 18: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-09-06 18: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-09-06 18: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-09-06 18:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:37: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-09-06 18:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907107328001,"66":25734,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907107328001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:37:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907107328001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":174120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:37:53] local.INFO: GPS data processed {"connection_id":174120,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:37:53] local.INFO: Acknowledgment sent {"connection_id":174120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:38:25] local.INFO: TCP Data received {"connection_id":174120,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:38:25] local.INFO: Processing buffer {"connection_id":174120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:38:25] local.INFO: Packet analysis {"connection_id":174120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d2"} 
[2026-09-06 18:38:25] local.INFO: Extracted packet for processing {"connection_id":174120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d2"} 
[2026-09-06 18:38:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111819992,"longitude_deg":75.8433024,"latitude_deg":11.1819992,"altitude":14,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3cd8","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907107328001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788699921000,"timestamp_ms":1788699921000,"timestamp_seconds":1788699921,"priority":1,"record_length":96,"hex_timestamp":"000001a076d2ca68"} 
[2026-09-06 18:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:38: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-09-06 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:38: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-09-06 18: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-09-06 18:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:38:25] 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-09-06 18:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907107328001,"66":25734,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907107328001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:38:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:38:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907107328001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":174120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:38:25] local.INFO: GPS data processed {"connection_id":174120,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:38:25] local.INFO: Acknowledgment sent {"connection_id":174120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:38:47] local.INFO: TCP Data received {"connection_id":174121,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:38:47] local.INFO: Processing buffer {"connection_id":174121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:38:47] local.INFO: IMEI packet received {"connection_id":174121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":174121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:38:52] local.INFO: TCP Data received {"connection_id":174121,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:38:52] local.INFO: Processing buffer {"connection_id":174121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:38:52] local.INFO: IMEI packet received {"connection_id":174121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":174121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:38:53] local.INFO: TCP Data received {"connection_id":174121,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:38:53] local.INFO: Processing buffer {"connection_id":174121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:38:53] local.INFO: Packet analysis {"connection_id":174121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d2"} 
[2026-09-06 18:38:53] local.INFO: Extracted packet for processing {"connection_id":174121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d2"} 
[2026-09-06 18:38:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111819992,"longitude_deg":75.8433024,"latitude_deg":11.1819992,"altitude":14,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3cd8","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907107328001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788699921000,"timestamp_ms":1788699921000,"timestamp_seconds":1788699921,"priority":1,"record_length":96,"hex_timestamp":"000001a076d2ca68"} 
[2026-09-06 18:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:38: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-09-06 18: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-09-06 18: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-09-06 18: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-09-06 18:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:38: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-09-06 18:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907107328001,"66":25734,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907107328001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:38:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:38:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907107328001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":174121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:38:53] local.INFO: GPS data processed {"connection_id":174121,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:38:53] local.INFO: Acknowledgment sent {"connection_id":174121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:39:25] local.INFO: TCP Data received {"connection_id":174121,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:39:25] local.INFO: Processing buffer {"connection_id":174121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:39:25] local.INFO: Packet analysis {"connection_id":174121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d2"} 
[2026-09-06 18:39:25] local.INFO: Extracted packet for processing {"connection_id":174121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d2"} 
[2026-09-06 18:39:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111819992,"longitude_deg":75.8433024,"latitude_deg":11.1819992,"altitude":14,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3cd8","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907107328001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18:39: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-09-06 18:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788699921000,"timestamp_ms":1788699921000,"timestamp_seconds":1788699921,"priority":1,"record_length":96,"hex_timestamp":"000001a076d2ca68"} 
[2026-09-06 18:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:39: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-09-06 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:39: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-09-06 18: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-09-06 18:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:39: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-09-06 18:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907107328001,"66":25734,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"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-09-06 18:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907107328001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:39:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:39:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907107328001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":174121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:39:25] local.INFO: GPS data processed {"connection_id":174121,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:39:25] local.INFO: Acknowledgment sent {"connection_id":174121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:39:47] local.INFO: TCP Data received {"connection_id":175451,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:39:47] local.INFO: Processing buffer {"connection_id":175451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:39:47] local.INFO: IMEI packet received {"connection_id":175451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":175451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:39:52] local.INFO: TCP Data received {"connection_id":175451,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:39:52] local.INFO: Processing buffer {"connection_id":175451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:39:52] local.INFO: IMEI packet received {"connection_id":175451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":175451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:39:53] local.INFO: TCP Data received {"connection_id":175451,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:39:53] local.INFO: Processing buffer {"connection_id":175451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d2ca68012d34c50006aa3cd8000e00f52a..."} 
[2026-09-06 18:39:53] local.INFO: Packet analysis {"connection_id":175451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d2"} 
[2026-09-06 18:39:53] local.INFO: Extracted packet for processing {"connection_id":175451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d2"} 
[2026-09-06 18:39:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111819992,"longitude_deg":75.8433024,"latitude_deg":11.1819992,"altitude":14,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3cd8","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907107328001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010192384,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788699921000,"timestamp_ms":1788699921000,"timestamp_seconds":1788699921,"priority":1,"record_length":96,"hex_timestamp":"000001a076d2ca68"} 
[2026-09-06 18:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:39: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-09-06 18: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-09-06 18: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-09-06 18: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-09-06 18:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907107328001,"66":25734,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010192384},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 18:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907107328001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:39:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:39:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010192384,"description":"Unknown IO ID 45"} 
[2026-09-06 18:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907107328001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010192384}} 
[2026-09-06 18:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":175451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:39:53] local.INFO: GPS data processed {"connection_id":175451,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:39:53] local.INFO: Acknowledgment sent {"connection_id":175451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:41:00] local.INFO: TCP Data received {"connection_id":172966,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:41:00] local.INFO: Processing buffer {"connection_id":172966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:41:00] local.INFO: IMEI packet received {"connection_id":172966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":172966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:41:02] local.INFO: TCP Data received {"connection_id":172966,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:41:02] local.INFO: Processing buffer {"connection_id":172966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:41:02] local.INFO: IMEI packet received {"connection_id":172966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":172966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:41:07] local.INFO: TCP Data received {"connection_id":172966,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:41:07] local.INFO: Processing buffer {"connection_id":172966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:41:07] local.INFO: IMEI packet received {"connection_id":172966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":172966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:41:08] local.INFO: TCP Data received {"connection_id":172966,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:41:08] local.INFO: Processing buffer {"connection_id":172966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:41:08] local.INFO: Packet analysis {"connection_id":172966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:41:08] local.INFO: Extracted packet for processing {"connection_id":172966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820048,"longitude_deg":75.8432768,"latitude_deg":11.1820048,"altitude":14,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-06 18:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907179776001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010169856,"note":"Value kept but may cause issues"} 
[2026-09-06 18:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 18:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788700222000,"timestamp_ms":1788700222000,"timestamp_seconds":1788700222,"priority":1,"record_length":96,"hex_timestamp":"000001a076d76230"} 
[2026-09-06 18:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 18:41:08] 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-09-06 18:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:41:08] 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-09-06 18:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907179776001,"66":25712,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010169856},"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-09-06 18:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907179776001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010169856,"description":"Unknown IO ID 45"} 
[2026-09-06 18:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907179776001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010169856}} 
[2026-09-06 18:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":172966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:41:08] local.INFO: GPS data processed {"connection_id":172966,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:41:08] local.INFO: Acknowledgment sent {"connection_id":172966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:41:47] local.INFO: TCP Data received {"connection_id":174123,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:41:47] local.INFO: Processing buffer {"connection_id":174123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:41:47] local.INFO: IMEI packet received {"connection_id":174123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":174123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:41:52] local.INFO: TCP Data received {"connection_id":174123,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:41:52] local.INFO: Processing buffer {"connection_id":174123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:41:52] local.INFO: IMEI packet received {"connection_id":174123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":174123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:41:55] local.INFO: TCP Data received {"connection_id":174123,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:41:55] local.INFO: Processing buffer {"connection_id":174123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:41:55] local.INFO: Packet analysis {"connection_id":174123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:41:55] local.INFO: Extracted packet for processing {"connection_id":174123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:41:55] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820048,"longitude_deg":75.8432768,"latitude_deg":11.1820048,"altitude":14,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907179776001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010169856,"note":"Value kept but may cause issues"} 
[2026-09-06 18:41: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-09-06 18:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788700222000,"timestamp_ms":1788700222000,"timestamp_seconds":1788700222,"priority":1,"record_length":96,"hex_timestamp":"000001a076d76230"} 
[2026-09-06 18:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 18:41:55] 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-09-06 18:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:41: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-09-06 18:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907179776001,"66":25712,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010169856},"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-09-06 18:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907179776001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:41:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:41:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010169856,"description":"Unknown IO ID 45"} 
[2026-09-06 18:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907179776001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010169856}} 
[2026-09-06 18:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":174123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:41:55] local.INFO: GPS data processed {"connection_id":174123,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:41:55] local.INFO: Acknowledgment sent {"connection_id":174123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:42:27] local.INFO: TCP Data received {"connection_id":174123,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:42:27] local.INFO: Processing buffer {"connection_id":174123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:42:27] local.INFO: Packet analysis {"connection_id":174123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:42:27] local.INFO: Extracted packet for processing {"connection_id":174123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:42:27] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820048,"longitude_deg":75.8432768,"latitude_deg":11.1820048,"altitude":14,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-06 18:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907179776001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010169856,"note":"Value kept but may cause issues"} 
[2026-09-06 18:42: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-09-06 18:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788700222000,"timestamp_ms":1788700222000,"timestamp_seconds":1788700222,"priority":1,"record_length":96,"hex_timestamp":"000001a076d76230"} 
[2026-09-06 18:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:42: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-09-06 18:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 18:42:27] 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-09-06 18:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:42: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-09-06 18:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907179776001,"66":25712,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010169856},"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-09-06 18:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907179776001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:42:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:42:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010169856,"description":"Unknown IO ID 45"} 
[2026-09-06 18:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907179776001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010169856}} 
[2026-09-06 18:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":174123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:42:27] local.INFO: GPS data processed {"connection_id":174123,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:42:27] local.INFO: Acknowledgment sent {"connection_id":174123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:42:52] local.INFO: TCP Data received {"connection_id":172967,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:42:52] local.INFO: Processing buffer {"connection_id":172967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:42:52] local.INFO: IMEI packet received {"connection_id":172967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":172967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:42:57] local.INFO: TCP Data received {"connection_id":172967,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:42:57] local.INFO: Processing buffer {"connection_id":172967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:42:57] local.INFO: IMEI packet received {"connection_id":172967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":172967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:42:58] local.INFO: TCP Data received {"connection_id":172967,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:42:58] local.INFO: Processing buffer {"connection_id":172967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:42:58] local.INFO: Packet analysis {"connection_id":172967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:42:58] local.INFO: Extracted packet for processing {"connection_id":172967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:42:58] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820048,"longitude_deg":75.8432768,"latitude_deg":11.1820048,"altitude":14,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907179776001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010169856,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788700222000,"timestamp_ms":1788700222000,"timestamp_seconds":1788700222,"priority":1,"record_length":96,"hex_timestamp":"000001a076d76230"} 
[2026-09-06 18:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:42: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-09-06 18: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 18:42: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-09-06 18: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-09-06 18:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907179776001,"66":25712,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010169856},"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-09-06 18:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907179776001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:42:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:42:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010169856,"description":"Unknown IO ID 45"} 
[2026-09-06 18:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907179776001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010169856}} 
[2026-09-06 18:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":172967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:42:58] local.INFO: GPS data processed {"connection_id":172967,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:42:58] local.INFO: Acknowledgment sent {"connection_id":172967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:43:02] local.INFO: TCP Data received {"connection_id":172967,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:43:02] local.INFO: Processing buffer {"connection_id":172967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:43:02] local.INFO: Packet analysis {"connection_id":172967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:43:02] local.INFO: Extracted packet for processing {"connection_id":172967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:43:02] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820048,"longitude_deg":75.8432768,"latitude_deg":11.1820048,"altitude":14,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907179776001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010169856,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788700222000,"timestamp_ms":1788700222000,"timestamp_seconds":1788700222,"priority":1,"record_length":96,"hex_timestamp":"000001a076d76230"} 
[2026-09-06 18:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:43: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-09-06 18: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 18:43: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-09-06 18: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-09-06 18:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:43:02] 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-09-06 18:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907179776001,"66":25712,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010169856},"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-09-06 18:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907179776001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:43:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:43:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010169856,"description":"Unknown IO ID 45"} 
[2026-09-06 18:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907179776001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010169856}} 
[2026-09-06 18:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":172967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:43:03] local.INFO: GPS data processed {"connection_id":172967,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:43:03] local.INFO: Acknowledgment sent {"connection_id":172967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:43:12] local.INFO: TCP Data received {"connection_id":174124,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:43:12] local.INFO: Processing buffer {"connection_id":174124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:43:12] local.INFO: IMEI packet received {"connection_id":174124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 18:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":174124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:43:47] local.INFO: TCP Data received {"connection_id":175453,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:43:47] local.INFO: Processing buffer {"connection_id":175453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:43:47] local.INFO: IMEI packet received {"connection_id":175453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":175453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:43:52] local.INFO: TCP Data received {"connection_id":175453,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:43:52] local.INFO: Processing buffer {"connection_id":175453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:43:52] local.INFO: IMEI packet received {"connection_id":175453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":175453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:43:54] local.INFO: TCP Data received {"connection_id":175453,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:43:54] local.INFO: Processing buffer {"connection_id":175453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:43:54] local.INFO: Packet analysis {"connection_id":175453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:43:54] local.INFO: Extracted packet for processing {"connection_id":175453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:43:54] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820048,"longitude_deg":75.8432768,"latitude_deg":11.1820048,"altitude":14,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-06 18:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907179776001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010169856,"note":"Value kept but may cause issues"} 
[2026-09-06 18:43: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-09-06 18:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788700222000,"timestamp_ms":1788700222000,"timestamp_seconds":1788700222,"priority":1,"record_length":96,"hex_timestamp":"000001a076d76230"} 
[2026-09-06 18:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 18:43:54] 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-09-06 18:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:43:54] 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-09-06 18:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907179776001,"66":25712,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010169856},"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-09-06 18:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907179776001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:43:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:43:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010169856,"description":"Unknown IO ID 45"} 
[2026-09-06 18:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907179776001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010169856}} 
[2026-09-06 18:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":175453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:43:54] local.INFO: GPS data processed {"connection_id":175453,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:43:54] local.INFO: Acknowledgment sent {"connection_id":175453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:44:25] local.INFO: TCP Data received {"connection_id":175453,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:44:25] local.INFO: Processing buffer {"connection_id":175453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:44:25] local.INFO: Packet analysis {"connection_id":175453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:44:25] local.INFO: Extracted packet for processing {"connection_id":175453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:44:25] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820048,"longitude_deg":75.8432768,"latitude_deg":11.1820048,"altitude":14,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907179776001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010169856,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788700222000,"timestamp_ms":1788700222000,"timestamp_seconds":1788700222,"priority":1,"record_length":96,"hex_timestamp":"000001a076d76230"} 
[2026-09-06 18:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:44: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-09-06 18: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 18:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:44: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-09-06 18:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907179776001,"66":25712,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010169856},"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-09-06 18:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907179776001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:44:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:44:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010169856,"description":"Unknown IO ID 45"} 
[2026-09-06 18:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907179776001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010169856}} 
[2026-09-06 18:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":175453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:44:25] local.INFO: GPS data processed {"connection_id":175453,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:44:25] local.INFO: Acknowledgment sent {"connection_id":175453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:44:47] local.INFO: TCP Data received {"connection_id":172724,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:44:47] local.INFO: Processing buffer {"connection_id":172724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:44:47] local.INFO: IMEI packet received {"connection_id":172724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":172724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:44:52] local.INFO: TCP Data received {"connection_id":172724,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:44:52] local.INFO: Processing buffer {"connection_id":172724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:44:52] local.INFO: IMEI packet received {"connection_id":172724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":172724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:44:53] local.INFO: TCP Data received {"connection_id":172724,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:44:53] local.INFO: Processing buffer {"connection_id":172724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:44:53] local.INFO: Packet analysis {"connection_id":172724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:44:53] local.INFO: Extracted packet for processing {"connection_id":172724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820048,"longitude_deg":75.8432768,"latitude_deg":11.1820048,"altitude":14,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907179776001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010169856,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788700222000,"timestamp_ms":1788700222000,"timestamp_seconds":1788700222,"priority":1,"record_length":96,"hex_timestamp":"000001a076d76230"} 
[2026-09-06 18:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 18:44: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-09-06 18: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-09-06 18:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907179776001,"66":25712,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010169856},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 18:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907179776001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:44:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010169856,"description":"Unknown IO ID 45"} 
[2026-09-06 18:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907179776001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010169856}} 
[2026-09-06 18:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":172724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:44:53] local.INFO: GPS data processed {"connection_id":172724,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:44:53] local.INFO: Acknowledgment sent {"connection_id":172724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:45:24] local.INFO: TCP Data received {"connection_id":172724,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:45:24] local.INFO: Processing buffer {"connection_id":172724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:45:24] local.INFO: Packet analysis {"connection_id":172724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:45:24] local.INFO: Extracted packet for processing {"connection_id":172724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:45:24] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820048,"longitude_deg":75.8432768,"latitude_deg":11.1820048,"altitude":14,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907179776001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010169856,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788700222000,"timestamp_ms":1788700222000,"timestamp_seconds":1788700222,"priority":1,"record_length":96,"hex_timestamp":"000001a076d76230"} 
[2026-09-06 18:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 18:45: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-09-06 18: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-09-06 18:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907179776001,"66":25712,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010169856},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 18:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907179776001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:45:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:45:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010169856,"description":"Unknown IO ID 45"} 
[2026-09-06 18:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907179776001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010169856}} 
[2026-09-06 18:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":172724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:45:24] local.INFO: GPS data processed {"connection_id":172724,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:45:24] local.INFO: Acknowledgment sent {"connection_id":172724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:45:47] local.INFO: TCP Data received {"connection_id":174125,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:45:47] local.INFO: Processing buffer {"connection_id":174125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:45:47] local.INFO: IMEI packet received {"connection_id":174125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":174125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:45:52] local.INFO: TCP Data received {"connection_id":174125,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:45:52] local.INFO: Processing buffer {"connection_id":174125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:45:52] local.INFO: IMEI packet received {"connection_id":174125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":174125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:45:55] local.INFO: TCP Data received {"connection_id":174125,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:45:55] local.INFO: Processing buffer {"connection_id":174125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076d76230012d34c40006aa3d10000e00f52b..."} 
[2026-09-06 18:45:55] local.INFO: Packet analysis {"connection_id":174125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:45:55] local.INFO: Extracted packet for processing {"connection_id":174125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076d7"} 
[2026-09-06 18:45:55] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820048,"longitude_deg":75.8432768,"latitude_deg":11.1820048,"altitude":14,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907179776001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010169856,"note":"Value kept but may cause issues"} 
[2026-09-06 18:45: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-09-06 18:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788700222000,"timestamp_ms":1788700222000,"timestamp_seconds":1788700222,"priority":1,"record_length":96,"hex_timestamp":"000001a076d76230"} 
[2026-09-06 18:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 18:45:55] 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-09-06 18: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-09-06 18:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907179776001,"66":25712,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010169856},"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-09-06 18:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907179776001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:45:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:45:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010169856,"description":"Unknown IO ID 45"} 
[2026-09-06 18:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907179776001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010169856}} 
[2026-09-06 18:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":174125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:45:55] local.INFO: GPS data processed {"connection_id":174125,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:45:55] local.INFO: Acknowledgment sent {"connection_id":174125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:46:27] local.INFO: TCP Data received {"connection_id":174125,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a076dbfde0012d34c40006aa3d10000e00f529..."} 
[2026-09-06 18:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076dbfde0012d34c40006aa3d10000e00f529..."} 
[2026-09-06 18:46:27] local.INFO: Processing buffer {"connection_id":174125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076dbfde0012d34c40006aa3d10000e00f529..."} 
[2026-09-06 18:46:27] local.INFO: Packet analysis {"connection_id":174125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076db"} 
[2026-09-06 18:46:27] local.INFO: Extracted packet for processing {"connection_id":174125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076db"} 
[2026-09-06 18:46:27] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820048,"longitude_deg":75.8432768,"latitude_deg":11.1820048,"altitude":14,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-06 18:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907256832001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033473536,"note":"Value kept but may cause issues"} 
[2026-09-06 18:46: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-09-06 18:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788700524000,"timestamp_ms":1788700524000,"timestamp_seconds":1788700524,"priority":1,"record_length":96,"hex_timestamp":"000001a076dbfde0"} 
[2026-09-06 18:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-06 18:46:27] 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-09-06 18:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907256832001,"66":25702,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802164014033473536},"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-09-06 18:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907256832001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:46:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:46:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033473536,"description":"Unknown IO ID 45"} 
[2026-09-06 18:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907256832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033473536}} 
[2026-09-06 18:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":174125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:46:27] local.INFO: GPS data processed {"connection_id":174125,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:46:27] local.INFO: Acknowledgment sent {"connection_id":174125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:46:52] local.INFO: TCP Data received {"connection_id":172969,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:46:52] local.INFO: Processing buffer {"connection_id":172969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:46:52] local.INFO: IMEI packet received {"connection_id":172969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":172969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:46:59] local.INFO: TCP Data received {"connection_id":172969,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:46:59] local.INFO: Processing buffer {"connection_id":172969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:46:59] local.INFO: IMEI packet received {"connection_id":172969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":172969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:47:01] local.INFO: TCP Data received {"connection_id":172969,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a076dbfde0012d34c40006aa3d10000e00f529..."} 
[2026-09-06 18:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076dbfde0012d34c40006aa3d10000e00f529..."} 
[2026-09-06 18:47:01] local.INFO: Processing buffer {"connection_id":172969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076dbfde0012d34c40006aa3d10000e00f529..."} 
[2026-09-06 18:47:01] local.INFO: Packet analysis {"connection_id":172969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076db"} 
[2026-09-06 18:47:01] local.INFO: Extracted packet for processing {"connection_id":172969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076db"} 
[2026-09-06 18:47:01] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820048,"longitude_deg":75.8432768,"latitude_deg":11.1820048,"altitude":14,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-06 18:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907256832001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033473536,"note":"Value kept but may cause issues"} 
[2026-09-06 18:47: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-09-06 18:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788700524000,"timestamp_ms":1788700524000,"timestamp_seconds":1788700524,"priority":1,"record_length":96,"hex_timestamp":"000001a076dbfde0"} 
[2026-09-06 18:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:47: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-09-06 18:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-06 18:47:01] 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-09-06 18:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907256832001,"66":25702,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802164014033473536},"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-09-06 18:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907256832001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:47:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:47:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033473536,"description":"Unknown IO ID 45"} 
[2026-09-06 18:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907256832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033473536}} 
[2026-09-06 18:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":172969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:47:01] local.INFO: GPS data processed {"connection_id":172969,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:47:01] local.INFO: Acknowledgment sent {"connection_id":172969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:47:03] local.INFO: TCP Data received {"connection_id":172969,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a076dbfde0012d34c40006aa3d10000e00f529..."} 
[2026-09-06 18:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076dbfde0012d34c40006aa3d10000e00f529..."} 
[2026-09-06 18:47:03] local.INFO: Processing buffer {"connection_id":172969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076dbfde0012d34c40006aa3d10000e00f529..."} 
[2026-09-06 18:47:03] local.INFO: Packet analysis {"connection_id":172969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076db"} 
[2026-09-06 18:47:03] local.INFO: Extracted packet for processing {"connection_id":172969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076db"} 
[2026-09-06 18:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820048,"longitude_deg":75.8432768,"latitude_deg":11.1820048,"altitude":14,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-06 18:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907256832001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033473536,"note":"Value kept but may cause issues"} 
[2026-09-06 18:47: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-09-06 18:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788700524000,"timestamp_ms":1788700524000,"timestamp_seconds":1788700524,"priority":1,"record_length":96,"hex_timestamp":"000001a076dbfde0"} 
[2026-09-06 18:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-06 18:47:03] 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-09-06 18:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907256832001,"66":25702,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802164014033473536},"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-09-06 18:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907256832001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033473536,"description":"Unknown IO ID 45"} 
[2026-09-06 18:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907256832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033473536}} 
[2026-09-06 18:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":172969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:47:03] local.INFO: GPS data processed {"connection_id":172969,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:47:03] local.INFO: Acknowledgment sent {"connection_id":172969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:47:47] local.INFO: TCP Data received {"connection_id":175454,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:47:47] local.INFO: Processing buffer {"connection_id":175454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:47:47] local.INFO: IMEI packet received {"connection_id":175454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":175454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:47:52] local.INFO: TCP Data received {"connection_id":175454,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:47:52] local.INFO: Processing buffer {"connection_id":175454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:47:52] local.INFO: IMEI packet received {"connection_id":175454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":175454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:47:53] local.INFO: TCP Data received {"connection_id":175454,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a076dbfde0012d34c40006aa3d10000e00f529..."} 
[2026-09-06 18:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076dbfde0012d34c40006aa3d10000e00f529..."} 
[2026-09-06 18:47:53] local.INFO: Processing buffer {"connection_id":175454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076dbfde0012d34c40006aa3d10000e00f529..."} 
[2026-09-06 18:47:53] local.INFO: Packet analysis {"connection_id":175454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076db"} 
[2026-09-06 18:47:53] local.INFO: Extracted packet for processing {"connection_id":175454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076db"} 
[2026-09-06 18:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820048,"longitude_deg":75.8432768,"latitude_deg":11.1820048,"altitude":14,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907256832001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033473536,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788700524000,"timestamp_ms":1788700524000,"timestamp_seconds":1788700524,"priority":1,"record_length":96,"hex_timestamp":"000001a076dbfde0"} 
[2026-09-06 18:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:47: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-09-06 18: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 18:47:53] 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-09-06 18: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-09-06 18:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907256832001,"66":25702,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802164014033473536},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 18:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907256832001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:47:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:47:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033473536,"description":"Unknown IO ID 45"} 
[2026-09-06 18:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907256832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033473536}} 
[2026-09-06 18:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":175454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:47:53] local.INFO: GPS data processed {"connection_id":175454,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:47:53] local.INFO: Acknowledgment sent {"connection_id":175454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:48:24] local.INFO: TCP Data received {"connection_id":175454,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a076dbfde0012d34c40006aa3d10000e00f529..."} 
[2026-09-06 18:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076dbfde0012d34c40006aa3d10000e00f529..."} 
[2026-09-06 18:48:24] local.INFO: Processing buffer {"connection_id":175454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076dbfde0012d34c40006aa3d10000e00f529..."} 
[2026-09-06 18:48:24] local.INFO: Packet analysis {"connection_id":175454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076db"} 
[2026-09-06 18:48:24] local.INFO: Extracted packet for processing {"connection_id":175454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076db"} 
[2026-09-06 18:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820048,"longitude_deg":75.8432768,"latitude_deg":11.1820048,"altitude":14,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907256832001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033473536,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788700524000,"timestamp_ms":1788700524000,"timestamp_seconds":1788700524,"priority":1,"record_length":96,"hex_timestamp":"000001a076dbfde0"} 
[2026-09-06 18:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:48: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-09-06 18: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 18:48: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-09-06 18: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-09-06 18:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907256832001,"66":25702,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802164014033473536},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 18:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907256832001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:48:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033473536,"description":"Unknown IO ID 45"} 
[2026-09-06 18:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907256832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033473536}} 
[2026-09-06 18:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":175454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:48:24] local.INFO: GPS data processed {"connection_id":175454,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:48:24] local.INFO: Acknowledgment sent {"connection_id":175454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:48:47] local.INFO: TCP Data received {"connection_id":174126,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:48:47] local.INFO: Processing buffer {"connection_id":174126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:48:47] local.INFO: IMEI packet received {"connection_id":174126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":174126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:48:49] local.INFO: TCP Data received {"connection_id":174127,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:48:49] local.INFO: Processing buffer {"connection_id":174127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:48:49] local.INFO: IMEI packet received {"connection_id":174127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 18:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":174127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:48:52] local.INFO: TCP Data received {"connection_id":174126,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:48:52] local.INFO: Processing buffer {"connection_id":174126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:48:52] local.INFO: IMEI packet received {"connection_id":174126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":174126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:48:53] local.INFO: TCP Data received {"connection_id":174126,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a076de6ee0012d34c40006aa3d10000e00f52c..."} 
[2026-09-06 18:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076de6ee0012d34c40006aa3d10000e00f52c..."} 
[2026-09-06 18:48:53] local.INFO: Processing buffer {"connection_id":174126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076de6ee0012d34c40006aa3d10000e00f52c..."} 
[2026-09-06 18:48:53] local.INFO: Packet analysis {"connection_id":174126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076de"} 
[2026-09-06 18:48:53] local.INFO: Extracted packet for processing {"connection_id":174126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076de"} 
[2026-09-06 18:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820048,"longitude_deg":75.8432768,"latitude_deg":11.1820048,"altitude":14,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa3d10","is_valid_coordinates":true} 
[2026-09-06 18:48: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-09-06 18:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907334144001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033473536,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788700684000,"timestamp_ms":1788700684000,"timestamp_seconds":1788700684,"priority":1,"record_length":96,"hex_timestamp":"000001a076de6ee0"} 
[2026-09-06 18:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:48: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-09-06 18: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-09-06 18: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-09-06 18: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-09-06 18:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:48: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-09-06 18:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907334144001,"66":25756,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802164014033473536},"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-09-06 18:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907334144001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:48:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033473536,"description":"Unknown IO ID 45"} 
[2026-09-06 18:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907334144001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033473536}} 
[2026-09-06 18:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":174126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:48:53] local.INFO: GPS data processed {"connection_id":174126,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:48:53] local.INFO: Acknowledgment sent {"connection_id":174126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:49:24] local.INFO: TCP Data received {"connection_id":174126,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a076ded470012d34c50006aa3cd8000e00f52c..."} 
[2026-09-06 18:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ded470012d34c50006aa3cd8000e00f52c..."} 
[2026-09-06 18:49:24] local.INFO: Processing buffer {"connection_id":174126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ded470012d34c50006aa3cd8000e00f52c..."} 
[2026-09-06 18:49:24] local.INFO: Packet analysis {"connection_id":174126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076de"} 
[2026-09-06 18:49:24] local.INFO: Extracted packet for processing {"connection_id":174126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076de"} 
[2026-09-06 18:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111819992,"longitude_deg":75.8433024,"latitude_deg":11.1819992,"altitude":14,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3cd8","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907375104001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033473536,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788700710000,"timestamp_ms":1788700710000,"timestamp_seconds":1788700710,"priority":1,"record_length":96,"hex_timestamp":"000001a076ded470"} 
[2026-09-06 18:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 18: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 18:49: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-09-06 18: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-09-06 18:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:49: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-09-06 18:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907375104001,"66":27767,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802164014033473536},"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-09-06 18:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907375104001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:49:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033473536,"description":"Unknown IO ID 45"} 
[2026-09-06 18:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907375104001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033473536}} 
[2026-09-06 18:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":174126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:49:24] local.INFO: GPS data processed {"connection_id":174126,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:49:24] local.INFO: Acknowledgment sent {"connection_id":174126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:49:47] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:49:47] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:49:47] local.INFO: IMEI packet received {"connection_id":175455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":175455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:49:48] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:49:48] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:49:48] local.INFO: IMEI packet received {"connection_id":175455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":175455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:49:52] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:49:52] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:49:52] local.INFO: IMEI packet received {"connection_id":175455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":175455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:49:53] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a076df2678012d34c50006aa3cd8000e00f52c..."} 
[2026-09-06 18:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076df2678012d34c50006aa3cd8000e00f52c..."} 
[2026-09-06 18:49:53] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076df2678012d34c50006aa3cd8000e00f52c..."} 
[2026-09-06 18:49:53] local.INFO: Packet analysis {"connection_id":175455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:49:53] local.INFO: Extracted packet for processing {"connection_id":175455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111819992,"longitude_deg":75.8433024,"latitude_deg":11.1819992,"altitude":14,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3cd8","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907381760001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685779740786688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010169856,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788700731000,"timestamp_ms":1788700731000,"timestamp_seconds":1788700731,"priority":1,"record_length":96,"hex_timestamp":"000001a076df2678"} 
[2026-09-06 18:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:49: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-09-06 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 18:49: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-09-06 18: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-09-06 18:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18: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-09-06 18:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907381760001,"66":27832,"97":206,"81":23296,"24":0,"16":400685779740786688,"45":3802445489010169856},"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-09-06 18:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907381760001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:49:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685779740786688,"km_value":400685779740786.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010169856,"description":"Unknown IO ID 45"} 
[2026-09-06 18:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907381760001,"power":27832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010169856}} 
[2026-09-06 18:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":175455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:49:53] local.INFO: GPS data processed {"connection_id":175455,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:49:53] local.INFO: Acknowledgment sent {"connection_id":175455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:50:24] local.INFO: TCP Data received {"connection_id":175455,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a076df49a0012d34c6c006aa3d08000700452c..."} 
[2026-09-06 18:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076df49a0012d34c6c006aa3d08000700452c..."} 
[2026-09-06 18:50:24] local.INFO: Processing buffer {"connection_id":175455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076df49a0012d34c6c006aa3d08000700452c..."} 
[2026-09-06 18:50:24] local.INFO: Packet analysis {"connection_id":175455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:50:24] local.INFO: Extracted packet for processing {"connection_id":175455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:50:24] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111820040,"longitude_deg":75.8433472,"latitude_deg":11.182004,"altitude":7,"angle":69,"satellites":44,"speed":2,"hex_longitude":"2d34c6c0","hex_latitude":"06aa3d08","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907387136001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685801215623168,"note":"Value kept but may cause issues"} 
[2026-09-06 18:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010169856,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788700740000,"timestamp_ms":1788700740000,"timestamp_seconds":1788700740,"priority":1,"record_length":96,"hex_timestamp":"000001a076df49a0"} 
[2026-09-06 18:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:50:24] 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-09-06 18:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-06 18:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18: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-09-06 18:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907387136001,"66":27876,"97":206,"81":23296,"24":2,"16":400685801215623168,"45":3802445489010169856},"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-09-06 18:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907387136001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:50:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685801215623168,"km_value":400685801215623.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010169856,"description":"Unknown IO ID 45"} 
[2026-09-06 18:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907387136001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802445489010169856}} 
[2026-09-06 18:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":175455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:50:24] local.INFO: GPS data processed {"connection_id":175455,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:50:24] local.INFO: Acknowledgment sent {"connection_id":175455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:50:52] local.INFO: TCP Data received {"connection_id":172726,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:50:52] local.INFO: Processing buffer {"connection_id":172726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:50:52] local.INFO: IMEI packet received {"connection_id":172726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":172726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:50:57] local.INFO: TCP Data received {"connection_id":172726,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:50:57] local.INFO: Processing buffer {"connection_id":172726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:50:57] local.INFO: IMEI packet received {"connection_id":172726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":172726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:51:14] local.INFO: TCP Data received {"connection_id":172726,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a076df4d88012d34c6c006aa3d28000700372c..."} 
[2026-09-06 18:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076df4d88012d34c6c006aa3d28000700372c..."} 
[2026-09-06 18:51:14] local.INFO: Processing buffer {"connection_id":172726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076df4d88012d34c6c006aa3d28000700372c..."} 
[2026-09-06 18:51:14] local.INFO: Packet analysis {"connection_id":172726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:51:14] local.INFO: Extracted packet for processing {"connection_id":172726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111820072,"longitude_deg":75.8433472,"latitude_deg":11.1820072,"altitude":7,"angle":55,"satellites":44,"speed":2,"hex_longitude":"2d34c6c0","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-09-06 18:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907389440001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685801215623168,"note":"Value kept but may cause issues"} 
[2026-09-06 18:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070219425792,"note":"Value kept but may cause issues"} 
[2026-09-06 18:51: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-09-06 18:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788700741000,"timestamp_ms":1788700741000,"timestamp_seconds":1788700741,"priority":1,"record_length":96,"hex_timestamp":"000001a076df4d88"} 
[2026-09-06 18:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:51: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-09-06 18:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 18:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":172726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":172726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":172726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:51:14] 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-09-06 18:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907389440001,"66":27876,"97":206,"81":23296,"24":2,"16":400685801215623168,"45":3802938070219425792},"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-09-06 18:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907389440001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:51:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:51:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685801215623168,"km_value":400685801215623.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070219425792,"description":"Unknown IO ID 45"} 
[2026-09-06 18:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907389440001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802938070219425792}} 
[2026-09-06 18:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":172726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:51:14] local.INFO: GPS data processed {"connection_id":172726,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:51:14] local.INFO: Acknowledgment sent {"connection_id":172726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:51:16] local.INFO: TCP Data received {"connection_id":172726,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a076df5940012d34c78006aa3dd0000700292c..."} 
[2026-09-06 18:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076df5940012d34c78006aa3dd0000700292c..."} 
[2026-09-06 18:51:16] local.INFO: Processing buffer {"connection_id":172726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076df5940012d34c78006aa3dd0000700292c..."} 
[2026-09-06 18:51:16] local.INFO: Packet analysis {"connection_id":172726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:51:16] local.INFO: Extracted packet for processing {"connection_id":172726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111820240,"longitude_deg":75.8433664,"latitude_deg":11.182024,"altitude":7,"angle":41,"satellites":44,"speed":3,"hex_longitude":"2d34c780","hex_latitude":"06aa3dd0","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907389696001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685814100525056,"note":"Value kept but may cause issues"} 
[2026-09-06 18:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070219433984,"note":"Value kept but may cause issues"} 
[2026-09-06 18:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 18:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788700744000,"timestamp_ms":1788700744000,"timestamp_seconds":1788700744,"priority":1,"record_length":96,"hex_timestamp":"000001a076df5940"} 
[2026-09-06 18:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:51: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-09-06 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 18:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":172726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":172726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":172726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:51:16] 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-09-06 18:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907389696001,"66":27517,"97":206,"81":23296,"24":3,"16":400685814100525056,"45":3802938070219433984},"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-09-06 18:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907389696001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:51:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685814100525056,"km_value":400685814100525.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070219433984,"description":"Unknown IO ID 45"} 
[2026-09-06 18:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907389696001,"power":27517,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802938070219433984}} 
[2026-09-06 18:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":172726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:51:16] local.INFO: GPS data processed {"connection_id":172726,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:51:16] local.INFO: Acknowledgment sent {"connection_id":172726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:51:47] local.INFO: TCP Data received {"connection_id":172973,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:51:47] local.INFO: Processing buffer {"connection_id":172973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:51:47] local.INFO: IMEI packet received {"connection_id":172973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":172973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:51:52] local.INFO: TCP Data received {"connection_id":172973,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:51:52] local.INFO: Processing buffer {"connection_id":172973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:51:52] local.INFO: IMEI packet received {"connection_id":172973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":172973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:51:53] local.INFO: TCP Data received {"connection_id":172973,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a076df5d28012d34c78006aa3e30000700192b..."} 
[2026-09-06 18:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076df5d28012d34c78006aa3e30000700192b..."} 
[2026-09-06 18:51:53] local.INFO: Processing buffer {"connection_id":172973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076df5d28012d34c78006aa3e30000700192b..."} 
[2026-09-06 18:51:53] local.INFO: Packet analysis {"connection_id":172973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:51:53] local.INFO: Extracted packet for processing {"connection_id":172973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111820336,"longitude_deg":75.8433664,"latitude_deg":11.1820336,"altitude":7,"angle":25,"satellites":43,"speed":4,"hex_longitude":"2d34c780","hex_latitude":"06aa3e30","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907390464001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685822690459648,"note":"Value kept but may cause issues"} 
[2026-09-06 18:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452009984,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788700745000,"timestamp_ms":1788700745000,"timestamp_seconds":1788700745,"priority":1,"record_length":96,"hex_timestamp":"000001a076df5d28"} 
[2026-09-06 18:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 18:51:53] 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-09-06 18: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-09-06 18:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907390464001,"66":27517,"97":206,"81":23296,"24":4,"16":400685822690459648,"45":3803149176452009984},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 18:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907390464001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:51:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:51:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685822690459648,"km_value":400685822690459.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452009984,"description":"Unknown IO ID 45"} 
[2026-09-06 18:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907390464001,"power":27517,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3803149176452009984}} 
[2026-09-06 18:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":172973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:51:53] local.INFO: GPS data processed {"connection_id":172973,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:51:53] local.INFO: Acknowledgment sent {"connection_id":172973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:52:30] local.INFO: TCP Data received {"connection_id":172973,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a076df6110012d34c80006aa3ea00007000c2c..."} 
[2026-09-06 18:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076df6110012d34c80006aa3ea00007000c2c..."} 
[2026-09-06 18:52:30] local.INFO: Processing buffer {"connection_id":172973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076df6110012d34c80006aa3ea00007000c2c..."} 
[2026-09-06 18:52:30] local.INFO: Packet analysis {"connection_id":172973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:52:30] local.INFO: Extracted packet for processing {"connection_id":172973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:52:30] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820448,"longitude_deg":75.8433792,"latitude_deg":11.1820448,"altitude":7,"angle":12,"satellites":44,"speed":5,"hex_longitude":"2d34c800","hex_latitude":"06aa3ea0","is_valid_coordinates":true} 
[2026-09-06 18:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907390720001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 18:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452034560,"note":"Value kept but may cause issues"} 
[2026-09-06 18:52: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-09-06 18:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788700746000,"timestamp_ms":1788700746000,"timestamp_seconds":1788700746,"priority":1,"record_length":96,"hex_timestamp":"000001a076df6110"} 
[2026-09-06 18:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:52: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-09-06 18:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 18:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907390720001,"66":27658,"97":206,"81":23296,"24":5,"16":400685826985426944,"45":3803149176452034560},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 18:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907390720001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:52:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:52:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452034560,"description":"Unknown IO ID 45"} 
[2026-09-06 18:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907390720001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3803149176452034560}} 
[2026-09-06 18:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":172973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:52:30] local.INFO: GPS data processed {"connection_id":172973,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:52:30] local.INFO: Acknowledgment sent {"connection_id":172973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:52:53] local.INFO: TCP Data received {"connection_id":172975,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:52:53] local.INFO: Processing buffer {"connection_id":172975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:52:53] local.INFO: IMEI packet received {"connection_id":172975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":172975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:52:57] local.INFO: TCP Data received {"connection_id":172975,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:52:57] local.INFO: Processing buffer {"connection_id":172975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:52:57] local.INFO: IMEI packet received {"connection_id":172975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":172975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:52:58] local.INFO: TCP Data received {"connection_id":172975,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a076df6110012d34c80006aa3ea00007000c2c..."} 
[2026-09-06 18:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076df6110012d34c80006aa3ea00007000c2c..."} 
[2026-09-06 18:52:58] local.INFO: Processing buffer {"connection_id":172975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076df6110012d34c80006aa3ea00007000c2c..."} 
[2026-09-06 18:52:58] local.INFO: Packet analysis {"connection_id":172975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:52:58] local.INFO: Extracted packet for processing {"connection_id":172975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:52:58] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820448,"longitude_deg":75.8433792,"latitude_deg":11.1820448,"altitude":7,"angle":12,"satellites":44,"speed":5,"hex_longitude":"2d34c800","hex_latitude":"06aa3ea0","is_valid_coordinates":true} 
[2026-09-06 18:52: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-09-06 18:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907390976001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 18:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940418560,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788700746000,"timestamp_ms":1788700746000,"timestamp_seconds":1788700746,"priority":1,"record_length":96,"hex_timestamp":"000001a076df6110"} 
[2026-09-06 18:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:52: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-09-06 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 18:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:52: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-09-06 18:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907390976001,"66":27658,"97":206,"81":23296,"24":5,"16":400685826985426944,"45":3803289913940418560},"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-09-06 18:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907390976001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:52:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:52:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940418560,"description":"Unknown IO ID 45"} 
[2026-09-06 18:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907390976001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3803289913940418560}} 
[2026-09-06 18:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":172975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:52:58] local.INFO: GPS data processed {"connection_id":172975,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:52:58] local.INFO: Acknowledgment sent {"connection_id":172975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:53:03] local.INFO: TCP Data received {"connection_id":172975,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a076df68e0012d34c80006aa3fc0000701652b..."} 
[2026-09-06 18:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076df68e0012d34c80006aa3fc0000701652b..."} 
[2026-09-06 18:53:03] local.INFO: Processing buffer {"connection_id":172975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076df68e0012d34c80006aa3fc0000701652b..."} 
[2026-09-06 18:53:03] local.INFO: Packet analysis {"connection_id":172975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:53:03] local.INFO: Extracted packet for processing {"connection_id":172975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:53:03] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820736,"longitude_deg":75.8433792,"latitude_deg":11.1820736,"altitude":7,"angle":357,"satellites":43,"speed":5,"hex_longitude":"2d34c800","hex_latitude":"06aa3fc0","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907390976001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 18:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940418560,"note":"Value kept but may cause issues"} 
[2026-09-06 18:53: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-09-06 18:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788700748000,"timestamp_ms":1788700748000,"timestamp_seconds":1788700748,"priority":1,"record_length":96,"hex_timestamp":"000001a076df68e0"} 
[2026-09-06 18:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:53: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-09-06 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-06 18:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907390976001,"66":27050,"97":206,"81":23296,"24":5,"16":400685826985426944,"45":3803289913940418560},"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-09-06 18:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907390976001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:53:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:53:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940418560,"description":"Unknown IO ID 45"} 
[2026-09-06 18:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907390976001,"power":27050,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3803289913940418560}} 
[2026-09-06 18:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":172975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:53:03] local.INFO: GPS data processed {"connection_id":172975,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:53:03] local.INFO: Acknowledgment sent {"connection_id":172975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:53:50] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:53:50] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:53:50] local.INFO: IMEI packet received {"connection_id":175457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":175457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:53:52] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:53:52] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:53:52] local.INFO: IMEI packet received {"connection_id":175457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":175457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:53:54] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076df70b0012d34c78006aa40e0000801572b..."} 
[2026-09-06 18:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076df70b0012d34c78006aa40e0000801572b..."} 
[2026-09-06 18:53:54] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076df70b0012d34c78006aa40e0000801572b..."} 
[2026-09-06 18:53:54] local.INFO: Packet analysis {"connection_id":175457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:53:54] local.INFO: Extracted packet for processing {"connection_id":175457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:53:54] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821024,"longitude_deg":75.8433664,"latitude_deg":11.1821024,"altitude":8,"angle":343,"satellites":43,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa40e0","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907391488001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 18:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940492288,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788700750000,"timestamp_ms":1788700750000,"timestamp_seconds":1788700750,"priority":1,"record_length":96,"hex_timestamp":"000001a076df70b0"} 
[2026-09-06 18:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:53: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-09-06 18: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-09-06 18:53:54] 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-09-06 18: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-09-06 18:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:53:54] 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-09-06 18:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907391488001,"66":26984,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803289913940492288},"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-09-06 18:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907391488001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:53:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:53:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940492288,"description":"Unknown IO ID 45"} 
[2026-09-06 18:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907391488001,"power":26984,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940492288}} 
[2026-09-06 18:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":175457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:53:54] local.INFO: GPS data processed {"connection_id":175457,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:53:54] local.INFO: Acknowledgment sent {"connection_id":175457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:53:59] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076df70b0012d34c78006aa40e0000801572b..."} 
[2026-09-06 18:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076df70b0012d34c78006aa40e0000801572b..."} 
[2026-09-06 18:53:59] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076df70b0012d34c78006aa40e0000801572b..."} 
[2026-09-06 18:53:59] local.INFO: Packet analysis {"connection_id":175457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:53:59] local.INFO: Extracted packet for processing {"connection_id":175457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:53:59] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821024,"longitude_deg":75.8433664,"latitude_deg":11.1821024,"altitude":8,"angle":343,"satellites":43,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa40e0","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907391488001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 18:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940492288,"note":"Value kept but may cause issues"} 
[2026-09-06 18:53: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-09-06 18:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788700750000,"timestamp_ms":1788700750000,"timestamp_seconds":1788700750,"priority":1,"record_length":96,"hex_timestamp":"000001a076df70b0"} 
[2026-09-06 18:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 18: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-09-06 18:53:59] 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-09-06 18: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-09-06 18:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:53:59] 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-09-06 18:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907391488001,"66":26984,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803289913940492288},"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-09-06 18:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907391488001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:53:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:53:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940492288,"description":"Unknown IO ID 45"} 
[2026-09-06 18:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907391488001,"power":26984,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940492288}} 
[2026-09-06 18:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":175457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:53:59] local.INFO: GPS data processed {"connection_id":175457,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:53:59] local.INFO: Acknowledgment sent {"connection_id":175457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:54:09] local.INFO: TCP Data received {"connection_id":172976,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:54:09] local.INFO: Processing buffer {"connection_id":172976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:54:09] local.INFO: IMEI packet received {"connection_id":172976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 18:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":172976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:54:31] local.INFO: TCP Data received {"connection_id":175457,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076df70b0012d34c78006aa40e0000801572b..."} 
[2026-09-06 18:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076df70b0012d34c78006aa40e0000801572b..."} 
[2026-09-06 18:54:31] local.INFO: Processing buffer {"connection_id":175457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076df70b0012d34c78006aa40e0000801572b..."} 
[2026-09-06 18:54:31] local.INFO: Packet analysis {"connection_id":175457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:54:31] local.INFO: Extracted packet for processing {"connection_id":175457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076df"} 
[2026-09-06 18:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821024,"longitude_deg":75.8433664,"latitude_deg":11.1821024,"altitude":8,"angle":343,"satellites":43,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa40e0","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907391488001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 18:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940492288,"note":"Value kept but may cause issues"} 
[2026-09-06 18:54: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-09-06 18:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788700750000,"timestamp_ms":1788700750000,"timestamp_seconds":1788700750,"priority":1,"record_length":96,"hex_timestamp":"000001a076df70b0"} 
[2026-09-06 18:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:54: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-09-06 18: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-09-06 18:54:31] 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-09-06 18:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:54:31] 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-09-06 18:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907391488001,"66":26984,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803289913940492288},"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-09-06 18:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907391488001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:54:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:54:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940492288,"description":"Unknown IO ID 45"} 
[2026-09-06 18:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907391488001,"power":26984,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940492288}} 
[2026-09-06 18:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":175457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:54:31] local.INFO: GPS data processed {"connection_id":175457,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:54:31] local.INFO: Acknowledgment sent {"connection_id":175457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:54:47] local.INFO: TCP Data received {"connection_id":175458,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:54:47] local.INFO: Processing buffer {"connection_id":175458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:54:47] local.INFO: IMEI packet received {"connection_id":175458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":175458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:54:49] local.INFO: TCP Data received {"connection_id":175458,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:54:49] local.INFO: Processing buffer {"connection_id":175458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:54:49] local.INFO: IMEI packet received {"connection_id":175458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":175458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:54:55] local.INFO: TCP Data received {"connection_id":175458,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:54:55] local.INFO: Processing buffer {"connection_id":175458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:54:55] local.INFO: IMEI packet received {"connection_id":175458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":175458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:55:02] local.INFO: TCP Data received {"connection_id":175458,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:55:02] local.INFO: Processing buffer {"connection_id":175458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:55:02] local.INFO: Packet analysis {"connection_id":175458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:55:02] local.INFO: Extracted packet for processing {"connection_id":175458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:55:02] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":6,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 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-09-06 18:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907392000001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:55:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 18:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 18:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452210688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:55: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-09-06 18:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788701058000,"timestamp_ms":1788701058000,"timestamp_seconds":1788701058,"priority":1,"record_length":96,"hex_timestamp":"000001a076e423d0"} 
[2026-09-06 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-09-06 18: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-09-06 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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 18:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 18:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:55: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-09-06 18:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907392000001,"66":26115,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3803149176452210688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 18:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907392000001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:55:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452210688,"description":"Unknown IO ID 45"} 
[2026-09-06 18:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907392000001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452210688}} 
[2026-09-06 18:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":175458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:55:02] local.INFO: GPS data processed {"connection_id":175458,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:55:02] local.INFO: Acknowledgment sent {"connection_id":175458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:55:03] local.INFO: TCP Data received {"connection_id":175458,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:55:03] local.INFO: Processing buffer {"connection_id":175458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:55:03] local.INFO: Packet analysis {"connection_id":175458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:55:03] local.INFO: Extracted packet for processing {"connection_id":175458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":6,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 18:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907392000001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:55:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 18:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 18:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452210688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:55: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-09-06 18:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788701058000,"timestamp_ms":1788701058000,"timestamp_seconds":1788701058,"priority":1,"record_length":96,"hex_timestamp":"000001a076e423d0"} 
[2026-09-06 18:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:55: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-09-06 18:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 18:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907392000001,"66":26115,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3803149176452210688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 18:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907392000001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452210688,"description":"Unknown IO ID 45"} 
[2026-09-06 18:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907392000001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452210688}} 
[2026-09-06 18:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":175458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:55:03] local.INFO: GPS data processed {"connection_id":175458,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:55:03] local.INFO: Acknowledgment sent {"connection_id":175458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:55:47] local.INFO: TCP Data received {"connection_id":174128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:55:47] local.INFO: Processing buffer {"connection_id":174128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:55:47] local.INFO: IMEI packet received {"connection_id":174128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":174128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:55:52] local.INFO: TCP Data received {"connection_id":174128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:55:52] local.INFO: Processing buffer {"connection_id":174128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:55:52] local.INFO: IMEI packet received {"connection_id":174128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":174128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:55:55] local.INFO: TCP Data received {"connection_id":174128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:55:55] local.INFO: Processing buffer {"connection_id":174128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:55:55] local.INFO: Packet analysis {"connection_id":174128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:55:55] local.INFO: Extracted packet for processing {"connection_id":174128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:55:55] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":6,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 18:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907392000001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:55:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 18:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 18:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452210688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:55: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-09-06 18:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788701058000,"timestamp_ms":1788701058000,"timestamp_seconds":1788701058,"priority":1,"record_length":96,"hex_timestamp":"000001a076e423d0"} 
[2026-09-06 18:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:55: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-09-06 18:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 18:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907392000001,"66":26115,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3803149176452210688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 18:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907392000001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:55:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452210688,"description":"Unknown IO ID 45"} 
[2026-09-06 18:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907392000001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452210688}} 
[2026-09-06 18:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":174128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:55:55] local.INFO: GPS data processed {"connection_id":174128,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:55:55] local.INFO: Acknowledgment sent {"connection_id":174128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:56:26] local.INFO: TCP Data received {"connection_id":174128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:56:26] local.INFO: Processing buffer {"connection_id":174128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:56:26] local.INFO: Packet analysis {"connection_id":174128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:56:26] local.INFO: Extracted packet for processing {"connection_id":174128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:56:26] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":6,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907392000001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:56:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 18:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 18:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452210688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:56: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-09-06 18:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788701058000,"timestamp_ms":1788701058000,"timestamp_seconds":1788701058,"priority":1,"record_length":96,"hex_timestamp":"000001a076e423d0"} 
[2026-09-06 18:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:56: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-09-06 18: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 18:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:56: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-09-06 18:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907392000001,"66":26115,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3803149176452210688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 18:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907392000001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:56:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452210688,"description":"Unknown IO ID 45"} 
[2026-09-06 18:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907392000001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452210688}} 
[2026-09-06 18:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":174128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:56:26] local.INFO: GPS data processed {"connection_id":174128,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:56:26] local.INFO: Acknowledgment sent {"connection_id":174128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:56:47] local.INFO: TCP Data received {"connection_id":172729,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:56:47] local.INFO: Processing buffer {"connection_id":172729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:56:47] local.INFO: IMEI packet received {"connection_id":172729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":172729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:56:52] local.INFO: TCP Data received {"connection_id":172729,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:56:52] local.INFO: Processing buffer {"connection_id":172729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:56:52] local.INFO: IMEI packet received {"connection_id":172729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":172729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:56:53] local.INFO: TCP Data received {"connection_id":172729,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:56:53] local.INFO: Processing buffer {"connection_id":172729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:56:53] local.INFO: Packet analysis {"connection_id":172729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:56:53] local.INFO: Extracted packet for processing {"connection_id":172729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":6,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907392000001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:56:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 18:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 18:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452210688,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788701058000,"timestamp_ms":1788701058000,"timestamp_seconds":1788701058,"priority":1,"record_length":96,"hex_timestamp":"000001a076e423d0"} 
[2026-09-06 18:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 18:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907392000001,"66":26115,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3803149176452210688},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 18:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907392000001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452210688,"description":"Unknown IO ID 45"} 
[2026-09-06 18:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907392000001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452210688}} 
[2026-09-06 18:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":172729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:56:53] local.INFO: GPS data processed {"connection_id":172729,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:56:53] local.INFO: Acknowledgment sent {"connection_id":172729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:57:24] local.INFO: TCP Data received {"connection_id":172729,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:57:25] local.INFO: Processing buffer {"connection_id":172729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:57:25] local.INFO: Packet analysis {"connection_id":172729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:57:25] local.INFO: Extracted packet for processing {"connection_id":172729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:57:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":6,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907392000001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:57:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 18:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 18:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452210688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:57: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-09-06 18:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788701058000,"timestamp_ms":1788701058000,"timestamp_seconds":1788701058,"priority":1,"record_length":96,"hex_timestamp":"000001a076e423d0"} 
[2026-09-06 18:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 18:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907392000001,"66":26115,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3803149176452210688},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 18:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907392000001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:57:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452210688,"description":"Unknown IO ID 45"} 
[2026-09-06 18:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907392000001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452210688}} 
[2026-09-06 18:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":172729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:57:25] local.INFO: GPS data processed {"connection_id":172729,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:57:25] local.INFO: Acknowledgment sent {"connection_id":172729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:57:52] local.INFO: TCP Data received {"connection_id":175460,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:57:52] local.INFO: Processing buffer {"connection_id":175460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:57:52] local.INFO: IMEI packet received {"connection_id":175460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":175460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:57:57] local.INFO: TCP Data received {"connection_id":175460,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:57:57] local.INFO: Processing buffer {"connection_id":175460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:57:57] local.INFO: IMEI packet received {"connection_id":175460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":175460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:57:58] local.INFO: TCP Data received {"connection_id":175460,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:57:58] local.INFO: Processing buffer {"connection_id":175460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:57:58] local.INFO: Packet analysis {"connection_id":175460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:57:58] local.INFO: Extracted packet for processing {"connection_id":175460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:57:58] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":6,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 18:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907392000001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:57:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 18:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 18:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452210688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:57: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-09-06 18:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788701058000,"timestamp_ms":1788701058000,"timestamp_seconds":1788701058,"priority":1,"record_length":96,"hex_timestamp":"000001a076e423d0"} 
[2026-09-06 18:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:57: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-09-06 18:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 18:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:57: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-09-06 18:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907392000001,"66":26115,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3803149176452210688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 18:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907392000001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:57:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452210688,"description":"Unknown IO ID 45"} 
[2026-09-06 18:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907392000001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452210688}} 
[2026-09-06 18:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":175460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:57:58] local.INFO: GPS data processed {"connection_id":175460,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:57:58] local.INFO: Acknowledgment sent {"connection_id":175460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:58:03] local.INFO: TCP Data received {"connection_id":175460,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:58:03] local.INFO: Processing buffer {"connection_id":175460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:58:03] local.INFO: Packet analysis {"connection_id":175460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:58:03] local.INFO: Extracted packet for processing {"connection_id":175460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":6,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 18:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 18:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907392000001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:58:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 18:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 18:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452210688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:58: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-09-06 18:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788701058000,"timestamp_ms":1788701058000,"timestamp_seconds":1788701058,"priority":1,"record_length":96,"hex_timestamp":"000001a076e423d0"} 
[2026-09-06 18:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18:58: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-09-06 18:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 18:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 18:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907392000001,"66":26115,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3803149176452210688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 18:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907392000001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:58:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452210688,"description":"Unknown IO ID 45"} 
[2026-09-06 18:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907392000001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452210688}} 
[2026-09-06 18:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":175460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:58:03] local.INFO: GPS data processed {"connection_id":175460,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:58:03] local.INFO: Acknowledgment sent {"connection_id":175460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:58:47] local.INFO: TCP Data received {"connection_id":172730,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:58:47] local.INFO: Processing buffer {"connection_id":172730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:58:47] local.INFO: IMEI packet received {"connection_id":172730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":172730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:58:52] local.INFO: TCP Data received {"connection_id":172730,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:58:52] local.INFO: Processing buffer {"connection_id":172730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:58:52] local.INFO: IMEI packet received {"connection_id":172730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":172730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:58:53] local.INFO: TCP Data received {"connection_id":172730,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:58:53] local.INFO: Processing buffer {"connection_id":172730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:58:53] local.INFO: Packet analysis {"connection_id":172730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:58:53] local.INFO: Extracted packet for processing {"connection_id":172730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":6,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907392000001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:58:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 18:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 18:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452210688,"note":"Value kept but may cause issues"} 
[2026-09-06 18: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-09-06 18:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788701058000,"timestamp_ms":1788701058000,"timestamp_seconds":1788701058,"priority":1,"record_length":96,"hex_timestamp":"000001a076e423d0"} 
[2026-09-06 18:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 18:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907392000001,"66":26115,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3803149176452210688},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 18:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907392000001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452210688,"description":"Unknown IO ID 45"} 
[2026-09-06 18:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907392000001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452210688}} 
[2026-09-06 18:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":172730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:58:53] local.INFO: GPS data processed {"connection_id":172730,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:58:53] local.INFO: Acknowledgment sent {"connection_id":172730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:59:24] local.INFO: TCP Data received {"connection_id":172730,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:59:24] local.INFO: Processing buffer {"connection_id":172730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e423d0012d34c9c006aa44480006015724..."} 
[2026-09-06 18:59:24] local.INFO: Packet analysis {"connection_id":172730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:59:24] local.INFO: Extracted packet for processing {"connection_id":172730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e4"} 
[2026-09-06 18:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":6,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 18: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-09-06 18:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907392000001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:59:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 18:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 18:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452210688,"note":"Value kept but may cause issues"} 
[2026-09-06 18:59: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-09-06 18:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788701058000,"timestamp_ms":1788701058000,"timestamp_seconds":1788701058,"priority":1,"record_length":96,"hex_timestamp":"000001a076e423d0"} 
[2026-09-06 18:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 18: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-09-06 18: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-06 18:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 18: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-09-06 18:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 18:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 18:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907392000001,"66":26115,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3803149176452210688},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 18:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907392000001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452210688,"description":"Unknown IO ID 45"} 
[2026-09-06 18:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907392000001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452210688}} 
[2026-09-06 18:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":172730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:59:24] local.INFO: GPS data processed {"connection_id":172730,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:59:24] local.INFO: Acknowledgment sent {"connection_id":172730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:59:48] local.INFO: TCP Data received {"connection_id":175461,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:59:48] local.INFO: Processing buffer {"connection_id":175461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:59:48] local.INFO: IMEI packet received {"connection_id":175461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 18:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":175461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 18:59:50] local.INFO: TCP Data received {"connection_id":175461,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:59:50] local.INFO: Processing buffer {"connection_id":175461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 18:59:50] local.INFO: IMEI packet received {"connection_id":175461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 18:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":175461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 18:59:51] local.INFO: TCP Data received {"connection_id":175461,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 18:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 18:59:51] local.INFO: Processing buffer {"connection_id":175461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 18:59:51] local.INFO: Packet analysis {"connection_id":175461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 18:59:51] local.INFO: Extracted packet for processing {"connection_id":175461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 18:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":5,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 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-09-06 18:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907470848001,"note":"Value kept but may cause issues"} 
[2026-09-06 18:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 18:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 18:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788701372000,"timestamp_ms":1788701372000,"timestamp_seconds":1788701372,"priority":1,"record_length":96,"hex_timestamp":"000001a076e8ee60"} 
[2026-09-06 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-09-06 18:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 18:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 18:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 18:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 18:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 18:59: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-09-06 18:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 18:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 18:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907470848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 18:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 18:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 18:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907470848001,"description":"Unknown IO ID 0"} 
[2026-09-06 18:59:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 18:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 18:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 18:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 18:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907470848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 18:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":175461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 18:59:51] local.INFO: GPS data processed {"connection_id":175461,"processed":1,"errors":0,"total":1} 
[2026-09-06 18:59:51] local.INFO: Acknowledgment sent {"connection_id":175461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 18:59:52] local.INFO: TCP Data received {"connection_id":172732,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:59:52] local.INFO: Processing buffer {"connection_id":172732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 18:59:52] local.INFO: IMEI packet received {"connection_id":172732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 18:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":172732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:00:23] local.INFO: TCP Data received {"connection_id":175461,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:00:23] local.INFO: Processing buffer {"connection_id":175461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:00:23] local.INFO: Packet analysis {"connection_id":175461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:00:23] local.INFO: Extracted packet for processing {"connection_id":175461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:00:23] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":5,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907470848001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788701372000,"timestamp_ms":1788701372000,"timestamp_seconds":1788701372,"priority":1,"record_length":96,"hex_timestamp":"000001a076e8ee60"} 
[2026-09-06 19:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:00: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-09-06 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 19:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19: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-09-06 19:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:00: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-09-06 19:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907470848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907470848001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:00:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:00:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907470848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":175461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:00:23] local.INFO: GPS data processed {"connection_id":175461,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:00:23] local.INFO: Acknowledgment sent {"connection_id":175461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:00:47] local.INFO: TCP Data received {"connection_id":174130,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:00:47] local.INFO: Processing buffer {"connection_id":174130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:00:47] local.INFO: IMEI packet received {"connection_id":174130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":174130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:00:53] local.INFO: TCP Data received {"connection_id":174130,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:00:53] local.INFO: Processing buffer {"connection_id":174130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:00:53] local.INFO: IMEI packet received {"connection_id":174130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":174130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:00:56] local.INFO: TCP Data received {"connection_id":174130,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:00:56] local.INFO: Processing buffer {"connection_id":174130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:00:56] local.INFO: Packet analysis {"connection_id":174130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:00:56] local.INFO: Extracted packet for processing {"connection_id":174130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:00:56] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":5,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907470848001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788701372000,"timestamp_ms":1788701372000,"timestamp_seconds":1788701372,"priority":1,"record_length":96,"hex_timestamp":"000001a076e8ee60"} 
[2026-09-06 19:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:00: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-09-06 19:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 19:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:00: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-09-06 19:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907470848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907470848001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:00:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:00:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907470848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":174130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:00:56] local.INFO: GPS data processed {"connection_id":174130,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:00:56] local.INFO: Acknowledgment sent {"connection_id":174130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:01:28] local.INFO: TCP Data received {"connection_id":174130,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:01:28] local.INFO: Processing buffer {"connection_id":174130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:01:28] local.INFO: Packet analysis {"connection_id":174130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:01:28] local.INFO: Extracted packet for processing {"connection_id":174130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:01:28] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":5,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907470848001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:01: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-09-06 19:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788701372000,"timestamp_ms":1788701372000,"timestamp_seconds":1788701372,"priority":1,"record_length":96,"hex_timestamp":"000001a076e8ee60"} 
[2026-09-06 19:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:01: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-09-06 19:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 19:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907470848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907470848001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:01:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:01:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907470848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":174130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:01:28] local.INFO: GPS data processed {"connection_id":174130,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:01:28] local.INFO: Acknowledgment sent {"connection_id":174130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:01:52] local.INFO: TCP Data received {"connection_id":172734,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:01:52] local.INFO: Processing buffer {"connection_id":172734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:01:52] local.INFO: IMEI packet received {"connection_id":172734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":172734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:01:57] local.INFO: TCP Data received {"connection_id":172734,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:01:57] local.INFO: Processing buffer {"connection_id":172734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:01:57] local.INFO: IMEI packet received {"connection_id":172734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":172734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:01:59] local.INFO: TCP Data received {"connection_id":172734,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:01:59] local.INFO: Processing buffer {"connection_id":172734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:01:59] local.INFO: Packet analysis {"connection_id":172734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:01:59] local.INFO: Extracted packet for processing {"connection_id":172734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":5,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907470848001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:01: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-09-06 19:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788701372000,"timestamp_ms":1788701372000,"timestamp_seconds":1788701372,"priority":1,"record_length":96,"hex_timestamp":"000001a076e8ee60"} 
[2026-09-06 19:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:01: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-09-06 19:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 19:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907470848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907470848001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:01:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:01:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907470848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":172734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:01:59] local.INFO: GPS data processed {"connection_id":172734,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:01:59] local.INFO: Acknowledgment sent {"connection_id":172734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:02:03] local.INFO: TCP Data received {"connection_id":172734,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:02:03] local.INFO: Processing buffer {"connection_id":172734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:02:03] local.INFO: Packet analysis {"connection_id":172734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:02:03] local.INFO: Extracted packet for processing {"connection_id":172734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":5,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907470848001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:02: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-09-06 19:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788701372000,"timestamp_ms":1788701372000,"timestamp_seconds":1788701372,"priority":1,"record_length":96,"hex_timestamp":"000001a076e8ee60"} 
[2026-09-06 19:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:02: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-09-06 19:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 19:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907470848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907470848001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:02:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907470848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":172734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:02:03] local.INFO: GPS data processed {"connection_id":172734,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:02:03] local.INFO: Acknowledgment sent {"connection_id":172734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:02:47] local.INFO: TCP Data received {"connection_id":172979,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:02:47] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:02:47] local.INFO: IMEI packet received {"connection_id":172979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":172979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:02:52] local.INFO: TCP Data received {"connection_id":172979,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:02:52] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:02:52] local.INFO: IMEI packet received {"connection_id":172979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":172979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:02:53] local.INFO: TCP Data received {"connection_id":172979,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:02:53] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:02:53] local.INFO: Packet analysis {"connection_id":172979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:02:53] local.INFO: Extracted packet for processing {"connection_id":172979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":5,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907470848001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788701372000,"timestamp_ms":1788701372000,"timestamp_seconds":1788701372,"priority":1,"record_length":96,"hex_timestamp":"000001a076e8ee60"} 
[2026-09-06 19:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 19:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19: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-09-06 19:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:02: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-09-06 19:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907470848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907470848001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:02:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907470848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":172979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:02:53] local.INFO: GPS data processed {"connection_id":172979,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:02:53] local.INFO: Acknowledgment sent {"connection_id":172979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:03:25] local.INFO: TCP Data received {"connection_id":172979,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:03:25] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:03:25] local.INFO: Packet analysis {"connection_id":172979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:03:25] local.INFO: Extracted packet for processing {"connection_id":172979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":5,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907470848001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788701372000,"timestamp_ms":1788701372000,"timestamp_seconds":1788701372,"priority":1,"record_length":96,"hex_timestamp":"000001a076e8ee60"} 
[2026-09-06 19:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 19:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19: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-09-06 19:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:03: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-09-06 19:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907470848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907470848001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907470848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":172979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:03:25] local.INFO: GPS data processed {"connection_id":172979,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:03:25] local.INFO: Acknowledgment sent {"connection_id":172979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:03:47] local.INFO: TCP Data received {"connection_id":174131,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:03:47] local.INFO: Processing buffer {"connection_id":174131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:03:47] local.INFO: IMEI packet received {"connection_id":174131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":174131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:03:52] local.INFO: TCP Data received {"connection_id":174131,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:03:52] local.INFO: Processing buffer {"connection_id":174131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:03:52] local.INFO: IMEI packet received {"connection_id":174131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":174131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:03:53] local.INFO: TCP Data received {"connection_id":174131,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:03:53] local.INFO: Processing buffer {"connection_id":174131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:03:53] local.INFO: Packet analysis {"connection_id":174131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:03:53] local.INFO: Extracted packet for processing {"connection_id":174131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:03:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":5,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907470848001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788701372000,"timestamp_ms":1788701372000,"timestamp_seconds":1788701372,"priority":1,"record_length":96,"hex_timestamp":"000001a076e8ee60"} 
[2026-09-06 19:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 19:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19: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-09-06 19:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:03: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-09-06 19:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907470848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907470848001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:03:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:03:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907470848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":174131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:03:53] local.INFO: GPS data processed {"connection_id":174131,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:03:53] local.INFO: Acknowledgment sent {"connection_id":174131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:04:24] local.INFO: TCP Data received {"connection_id":174131,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:04:24] local.INFO: Processing buffer {"connection_id":174131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076e8ee60012d34c9c006aa44480005015724..."} 
[2026-09-06 19:04:24] local.INFO: Packet analysis {"connection_id":174131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:04:24] local.INFO: Extracted packet for processing {"connection_id":174131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076e8"} 
[2026-09-06 19:04:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":5,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907470848001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788701372000,"timestamp_ms":1788701372000,"timestamp_seconds":1788701372,"priority":1,"record_length":96,"hex_timestamp":"000001a076e8ee60"} 
[2026-09-06 19:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:04: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-09-06 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-06 19:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19: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-09-06 19:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:04: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-09-06 19:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907470848001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907470848001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:04:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:04:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907470848001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":174131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:04:24] local.INFO: GPS data processed {"connection_id":174131,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:04:24] local.INFO: Acknowledgment sent {"connection_id":174131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:04:47] local.INFO: TCP Data received {"connection_id":175464,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:04:47] local.INFO: Processing buffer {"connection_id":175464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:04:47] local.INFO: IMEI packet received {"connection_id":175464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":175464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:04:51] local.INFO: TCP Data received {"connection_id":175464,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:04:51] local.INFO: Processing buffer {"connection_id":175464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:04:51] local.INFO: IMEI packet received {"connection_id":175464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":175464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:04:52] local.INFO: TCP Data received {"connection_id":175464,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:04:52] local.INFO: Processing buffer {"connection_id":175464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:04:52] local.INFO: Packet analysis {"connection_id":175464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:04:52] local.INFO: Extracted packet for processing {"connection_id":175464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907551232001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788701668000,"timestamp_ms":1788701668000,"timestamp_seconds":1788701668,"priority":1,"record_length":96,"hex_timestamp":"000001a076ed72a0"} 
[2026-09-06 19:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:04: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:04:52] 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-09-06 19: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-09-06 19:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:04: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-09-06 19:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907551232001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907551232001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907551232001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":175464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:04:52] local.INFO: GPS data processed {"connection_id":175464,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:04:52] local.INFO: Acknowledgment sent {"connection_id":175464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:05:17] local.INFO: TCP Data received {"connection_id":172980,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:05:17] local.INFO: Processing buffer {"connection_id":172980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:05:17] local.INFO: IMEI packet received {"connection_id":172980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":172980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:05:23] local.INFO: TCP Data received {"connection_id":175464,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:05:23] local.INFO: Processing buffer {"connection_id":175464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:05:23] local.INFO: Packet analysis {"connection_id":175464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:05:23] local.INFO: Extracted packet for processing {"connection_id":175464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:05:23] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907551232001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788701668000,"timestamp_ms":1788701668000,"timestamp_seconds":1788701668,"priority":1,"record_length":96,"hex_timestamp":"000001a076ed72a0"} 
[2026-09-06 19:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:05: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:05:23] 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-09-06 19: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-09-06 19:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:05: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-09-06 19:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907551232001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907551232001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:05:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:05:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907551232001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":175464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:05:23] local.INFO: GPS data processed {"connection_id":175464,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:05:23] local.INFO: Acknowledgment sent {"connection_id":175464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:05:47] local.INFO: TCP Data received {"connection_id":172981,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:05:47] local.INFO: Processing buffer {"connection_id":172981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:05:47] local.INFO: IMEI packet received {"connection_id":172981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":172981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:05:49] local.INFO: TCP Data received {"connection_id":174132,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:05:49] local.INFO: Processing buffer {"connection_id":174132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:05:49] local.INFO: IMEI packet received {"connection_id":174132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":174132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:05:52] local.INFO: TCP Data received {"connection_id":172981,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:05:52] local.INFO: Processing buffer {"connection_id":172981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:05:52] local.INFO: IMEI packet received {"connection_id":172981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":172981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:05:53] local.INFO: TCP Data received {"connection_id":172981,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:05:53] local.INFO: Processing buffer {"connection_id":172981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:05:53] local.INFO: Packet analysis {"connection_id":172981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:05:53] local.INFO: Extracted packet for processing {"connection_id":172981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907551232001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788701668000,"timestamp_ms":1788701668000,"timestamp_seconds":1788701668,"priority":1,"record_length":96,"hex_timestamp":"000001a076ed72a0"} 
[2026-09-06 19:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:05: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-09-06 19: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-09-06 19:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:05: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-09-06 19:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907551232001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907551232001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:05:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907551232001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":172981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:05:53] local.INFO: GPS data processed {"connection_id":172981,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:05:53] local.INFO: Acknowledgment sent {"connection_id":172981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:06:25] local.INFO: TCP Data received {"connection_id":172981,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:06:25] local.INFO: Processing buffer {"connection_id":172981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:06:25] local.INFO: Packet analysis {"connection_id":172981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:06:25] local.INFO: Extracted packet for processing {"connection_id":172981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:06:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907551232001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788701668000,"timestamp_ms":1788701668000,"timestamp_seconds":1788701668,"priority":1,"record_length":96,"hex_timestamp":"000001a076ed72a0"} 
[2026-09-06 19:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:06: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-09-06 19:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:06: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-09-06 19:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:06: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-09-06 19:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907551232001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907551232001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:06:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:06:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907551232001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":172981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:06:25] local.INFO: GPS data processed {"connection_id":172981,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:06:25] local.INFO: Acknowledgment sent {"connection_id":172981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:06:52] local.INFO: TCP Data received {"connection_id":174133,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:06:52] local.INFO: Processing buffer {"connection_id":174133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:06:52] local.INFO: IMEI packet received {"connection_id":174133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":174133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:06:57] local.INFO: TCP Data received {"connection_id":174133,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:06:57] local.INFO: Processing buffer {"connection_id":174133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:06:57] local.INFO: IMEI packet received {"connection_id":174133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":174133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:06:58] local.INFO: TCP Data received {"connection_id":174133,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:06:58] local.INFO: Processing buffer {"connection_id":174133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:06:58] local.INFO: Packet analysis {"connection_id":174133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:06:58] local.INFO: Extracted packet for processing {"connection_id":174133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:06:58] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907551232001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788701668000,"timestamp_ms":1788701668000,"timestamp_seconds":1788701668,"priority":1,"record_length":96,"hex_timestamp":"000001a076ed72a0"} 
[2026-09-06 19:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:06: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-09-06 19: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-09-06 19:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:06: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-09-06 19:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907551232001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907551232001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:06:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:06:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907551232001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":174133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:06:58] local.INFO: GPS data processed {"connection_id":174133,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:06:58] local.INFO: Acknowledgment sent {"connection_id":174133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:07:03] local.INFO: TCP Data received {"connection_id":174133,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:07:03] local.INFO: Processing buffer {"connection_id":174133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:07:03] local.INFO: Packet analysis {"connection_id":174133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:07:03] local.INFO: Extracted packet for processing {"connection_id":174133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907551232001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:07: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-09-06 19:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788701668000,"timestamp_ms":1788701668000,"timestamp_seconds":1788701668,"priority":1,"record_length":96,"hex_timestamp":"000001a076ed72a0"} 
[2026-09-06 19:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:07: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:07: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-09-06 19:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:07: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-09-06 19:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907551232001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907551232001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:07:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907551232001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":174133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:07:03] local.INFO: GPS data processed {"connection_id":174133,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:07:03] local.INFO: Acknowledgment sent {"connection_id":174133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:07:47] local.INFO: TCP Data received {"connection_id":172982,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:07:47] local.INFO: Processing buffer {"connection_id":172982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:07:47] local.INFO: IMEI packet received {"connection_id":172982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":172982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:07:52] local.INFO: TCP Data received {"connection_id":172982,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:07:52] local.INFO: Processing buffer {"connection_id":172982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:07:52] local.INFO: IMEI packet received {"connection_id":172982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":172982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:07:53] local.INFO: TCP Data received {"connection_id":172982,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:07:53] local.INFO: Processing buffer {"connection_id":172982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:07:53] local.INFO: Packet analysis {"connection_id":172982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:07:53] local.INFO: Extracted packet for processing {"connection_id":172982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907551232001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788701668000,"timestamp_ms":1788701668000,"timestamp_seconds":1788701668,"priority":1,"record_length":96,"hex_timestamp":"000001a076ed72a0"} 
[2026-09-06 19:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:07: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-09-06 19: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-09-06 19:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:07: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-09-06 19:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907551232001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907551232001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:07:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907551232001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":172982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:07:53] local.INFO: GPS data processed {"connection_id":172982,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:07:53] local.INFO: Acknowledgment sent {"connection_id":172982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:08:25] local.INFO: TCP Data received {"connection_id":172982,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:08:25] local.INFO: Processing buffer {"connection_id":172982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:08:25] local.INFO: Packet analysis {"connection_id":172982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:08:25] local.INFO: Extracted packet for processing {"connection_id":172982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:08:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907551232001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788701668000,"timestamp_ms":1788701668000,"timestamp_seconds":1788701668,"priority":1,"record_length":96,"hex_timestamp":"000001a076ed72a0"} 
[2026-09-06 19:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:08: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:08: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-09-06 19: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-09-06 19:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:08: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-09-06 19:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907551232001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907551232001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:08:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:08:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907551232001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":172982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:08:25] local.INFO: GPS data processed {"connection_id":172982,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:08:25] local.INFO: Acknowledgment sent {"connection_id":172982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:08:48] local.INFO: TCP Data received {"connection_id":172984,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:08:48] local.INFO: Processing buffer {"connection_id":172984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:08:48] local.INFO: IMEI packet received {"connection_id":172984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":172984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:08:52] local.INFO: TCP Data received {"connection_id":172984,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:08:52] local.INFO: Processing buffer {"connection_id":172984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:08:52] local.INFO: IMEI packet received {"connection_id":172984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":172984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:08:53] local.INFO: TCP Data received {"connection_id":172984,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:08:53] local.INFO: Processing buffer {"connection_id":172984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:08:53] local.INFO: Packet analysis {"connection_id":172984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:08:53] local.INFO: Extracted packet for processing {"connection_id":172984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907551232001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788701668000,"timestamp_ms":1788701668000,"timestamp_seconds":1788701668,"priority":1,"record_length":96,"hex_timestamp":"000001a076ed72a0"} 
[2026-09-06 19:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:08: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:08: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-09-06 19: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-09-06 19:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:08: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-09-06 19:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907551232001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907551232001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:08:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907551232001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":172984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:08:53] local.INFO: GPS data processed {"connection_id":172984,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:08:53] local.INFO: Acknowledgment sent {"connection_id":172984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:09:24] local.INFO: TCP Data received {"connection_id":172984,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:09:24] local.INFO: Processing buffer {"connection_id":172984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ed72a0012d34c9c006aa44480000015723..."} 
[2026-09-06 19:09:24] local.INFO: Packet analysis {"connection_id":172984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:09:24] local.INFO: Extracted packet for processing {"connection_id":172984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ed"} 
[2026-09-06 19:09:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907551232001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788701668000,"timestamp_ms":1788701668000,"timestamp_seconds":1788701668,"priority":1,"record_length":96,"hex_timestamp":"000001a076ed72a0"} 
[2026-09-06 19:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:09: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-09-06 19: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-09-06 19:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:09: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-09-06 19:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907551232001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907551232001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:09:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:09:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907551232001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":172984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:09:24] local.INFO: GPS data processed {"connection_id":172984,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:09:24] local.INFO: Acknowledgment sent {"connection_id":172984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:09:47] local.INFO: TCP Data received {"connection_id":175465,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:09:47] local.INFO: Processing buffer {"connection_id":175465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:09:47] local.INFO: IMEI packet received {"connection_id":175465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":175465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:09:52] local.INFO: TCP Data received {"connection_id":175465,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:09:52] local.INFO: Processing buffer {"connection_id":175465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:09:52] local.INFO: IMEI packet received {"connection_id":175465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":175465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:09:54] local.INFO: TCP Data received {"connection_id":175465,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:09:54] local.INFO: Processing buffer {"connection_id":175465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:09:54] local.INFO: Packet analysis {"connection_id":175465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:09:54] local.INFO: Extracted packet for processing {"connection_id":175465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:09:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907627008001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:09: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-09-06 19:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788701960000,"timestamp_ms":1788701960000,"timestamp_seconds":1788701960,"priority":1,"record_length":96,"hex_timestamp":"000001a076f1e740"} 
[2026-09-06 19:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:09: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:09:54] 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-09-06 19: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-09-06 19:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907627008001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907627008001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:09:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:09:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907627008001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":175465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:09:54] local.INFO: GPS data processed {"connection_id":175465,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:09:54] local.INFO: Acknowledgment sent {"connection_id":175465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:10:26] local.INFO: TCP Data received {"connection_id":175465,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:10:26] local.INFO: Processing buffer {"connection_id":175465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:10:26] local.INFO: Packet analysis {"connection_id":175465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:10:26] local.INFO: Extracted packet for processing {"connection_id":175465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:10:26] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907627008001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:10: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-09-06 19:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788701960000,"timestamp_ms":1788701960000,"timestamp_seconds":1788701960,"priority":1,"record_length":96,"hex_timestamp":"000001a076f1e740"} 
[2026-09-06 19:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:10: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-09-06 19:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:10: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-09-06 19:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:10:26] 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-09-06 19:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907627008001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907627008001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:10:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:10:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907627008001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":175465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:10:26] local.INFO: GPS data processed {"connection_id":175465,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:10:26] local.INFO: Acknowledgment sent {"connection_id":175465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:10:52] local.INFO: TCP Data received {"connection_id":172736,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:10:52] local.INFO: Processing buffer {"connection_id":172736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:10:52] local.INFO: IMEI packet received {"connection_id":172736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":172736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:10:57] local.INFO: TCP Data received {"connection_id":172736,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:10:57] local.INFO: Processing buffer {"connection_id":172736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:10:57] local.INFO: IMEI packet received {"connection_id":172736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":172736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:10:59] local.INFO: TCP Data received {"connection_id":172736,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:10:59] local.INFO: Processing buffer {"connection_id":172736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:10:59] local.INFO: Packet analysis {"connection_id":172736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:10:59] local.INFO: Extracted packet for processing {"connection_id":172736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:10:59] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907627008001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788701960000,"timestamp_ms":1788701960000,"timestamp_seconds":1788701960,"priority":1,"record_length":96,"hex_timestamp":"000001a076f1e740"} 
[2026-09-06 19:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:10: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-09-06 19:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:10:59] 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-09-06 19:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:10:59] 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-09-06 19:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907627008001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907627008001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:10:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:10:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907627008001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":172736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:10:59] local.INFO: GPS data processed {"connection_id":172736,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:10:59] local.INFO: Acknowledgment sent {"connection_id":172736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:11:03] local.INFO: TCP Data received {"connection_id":172736,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:11:03] local.INFO: Processing buffer {"connection_id":172736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:11:03] local.INFO: Packet analysis {"connection_id":172736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:11:03] local.INFO: Extracted packet for processing {"connection_id":172736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907627008001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:11: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-09-06 19:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788701960000,"timestamp_ms":1788701960000,"timestamp_seconds":1788701960,"priority":1,"record_length":96,"hex_timestamp":"000001a076f1e740"} 
[2026-09-06 19:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:11: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-09-06 19:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:11: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-09-06 19:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907627008001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907627008001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:11:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:11:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907627008001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":172736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:11:03] local.INFO: GPS data processed {"connection_id":172736,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:11:03] local.INFO: Acknowledgment sent {"connection_id":172736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:11:13] local.INFO: TCP Data received {"connection_id":175466,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:11:13] local.INFO: Processing buffer {"connection_id":175466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:11:13] local.INFO: IMEI packet received {"connection_id":175466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":175466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:11:47] local.INFO: TCP Data received {"connection_id":174135,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:11:47] local.INFO: Processing buffer {"connection_id":174135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:11:47] local.INFO: IMEI packet received {"connection_id":174135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":174135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:11:49] local.INFO: TCP Data received {"connection_id":172737,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:11:49] local.INFO: Processing buffer {"connection_id":172737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:11:49] local.INFO: IMEI packet received {"connection_id":172737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":172737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:11:52] local.INFO: TCP Data received {"connection_id":174135,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:11:52] local.INFO: Processing buffer {"connection_id":174135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:11:52] local.INFO: IMEI packet received {"connection_id":174135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":174135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:11:54] local.INFO: TCP Data received {"connection_id":174135,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:11:54] local.INFO: Processing buffer {"connection_id":174135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:11:54] local.INFO: Packet analysis {"connection_id":174135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:11:54] local.INFO: Extracted packet for processing {"connection_id":174135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907627008001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788701960000,"timestamp_ms":1788701960000,"timestamp_seconds":1788701960,"priority":1,"record_length":96,"hex_timestamp":"000001a076f1e740"} 
[2026-09-06 19:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:11: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:11:54] 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-09-06 19: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-09-06 19:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907627008001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907627008001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:11:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:11:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907627008001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":174135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:11:54] local.INFO: GPS data processed {"connection_id":174135,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:11:54] local.INFO: Acknowledgment sent {"connection_id":174135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:11:59] local.INFO: TCP Data received {"connection_id":174135,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:11:59] local.INFO: Processing buffer {"connection_id":174135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:11:59] local.INFO: Packet analysis {"connection_id":174135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:11:59] local.INFO: Extracted packet for processing {"connection_id":174135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907627008001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:11: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-09-06 19:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788701960000,"timestamp_ms":1788701960000,"timestamp_seconds":1788701960,"priority":1,"record_length":96,"hex_timestamp":"000001a076f1e740"} 
[2026-09-06 19:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:11: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-09-06 19:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:11:59] 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-09-06 19:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907627008001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907627008001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:11:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:11:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907627008001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":174135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:11:59] local.INFO: GPS data processed {"connection_id":174135,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:11:59] local.INFO: Acknowledgment sent {"connection_id":174135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:12:30] local.INFO: TCP Data received {"connection_id":174135,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:12:30] local.INFO: Processing buffer {"connection_id":174135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:12:30] local.INFO: Packet analysis {"connection_id":174135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:12:30] local.INFO: Extracted packet for processing {"connection_id":174135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:12:30] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907627008001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:12: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-09-06 19:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788701960000,"timestamp_ms":1788701960000,"timestamp_seconds":1788701960,"priority":1,"record_length":96,"hex_timestamp":"000001a076f1e740"} 
[2026-09-06 19:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:12: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-09-06 19:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:12:30] 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-09-06 19:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907627008001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907627008001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:12:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:12:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907627008001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":174135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:12:30] local.INFO: GPS data processed {"connection_id":174135,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:12:30] local.INFO: Acknowledgment sent {"connection_id":174135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:12:47] local.INFO: TCP Data received {"connection_id":175467,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:12:47] local.INFO: Processing buffer {"connection_id":175467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:12:47] local.INFO: IMEI packet received {"connection_id":175467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":175467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:12:52] local.INFO: TCP Data received {"connection_id":175467,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:12:52] local.INFO: Processing buffer {"connection_id":175467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:12:52] local.INFO: IMEI packet received {"connection_id":175467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":175467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:12:54] local.INFO: TCP Data received {"connection_id":175467,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:12:54] local.INFO: Processing buffer {"connection_id":175467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:12:54] local.INFO: Packet analysis {"connection_id":175467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:12:54] local.INFO: Extracted packet for processing {"connection_id":175467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:12:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907627008001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:12: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-09-06 19:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788701960000,"timestamp_ms":1788701960000,"timestamp_seconds":1788701960,"priority":1,"record_length":96,"hex_timestamp":"000001a076f1e740"} 
[2026-09-06 19:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:12: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:12:54] 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-09-06 19: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-09-06 19:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:12:54] 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-09-06 19:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907627008001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907627008001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:12:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:12:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907627008001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":175467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:12:54] local.INFO: GPS data processed {"connection_id":175467,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:12:54] local.INFO: Acknowledgment sent {"connection_id":175467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:13:25] local.INFO: TCP Data received {"connection_id":175467,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:13:25] local.INFO: Processing buffer {"connection_id":175467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:13:25] local.INFO: Packet analysis {"connection_id":175467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:13:25] local.INFO: Extracted packet for processing {"connection_id":175467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:13:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907627008001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788701960000,"timestamp_ms":1788701960000,"timestamp_seconds":1788701960,"priority":1,"record_length":96,"hex_timestamp":"000001a076f1e740"} 
[2026-09-06 19:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:13: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:13: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-09-06 19: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-09-06 19:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:13: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-09-06 19:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907627008001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907627008001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:13:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:13:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907627008001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":175467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:13:25] local.INFO: GPS data processed {"connection_id":175467,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:13:25] local.INFO: Acknowledgment sent {"connection_id":175467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:13:47] local.INFO: TCP Data received {"connection_id":172739,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:13:47] local.INFO: Processing buffer {"connection_id":172739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:13:47] local.INFO: IMEI packet received {"connection_id":172739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":172739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:13:52] local.INFO: TCP Data received {"connection_id":172739,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:13:52] local.INFO: Processing buffer {"connection_id":172739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:13:52] local.INFO: IMEI packet received {"connection_id":172739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":172739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:13:53] local.INFO: TCP Data received {"connection_id":172739,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:13:53] local.INFO: Processing buffer {"connection_id":172739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:13:53] local.INFO: Packet analysis {"connection_id":172739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:13:53] local.INFO: Extracted packet for processing {"connection_id":172739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 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-09-06 19:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907627008001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 19:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788701960000,"timestamp_ms":1788701960000,"timestamp_seconds":1788701960,"priority":1,"record_length":96,"hex_timestamp":"000001a076f1e740"} 
[2026-09-06 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-09-06 19: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-09-06 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:13: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-09-06 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-09-06 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-09-06 19:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907627008001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907627008001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907627008001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":172739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:13:53] local.INFO: GPS data processed {"connection_id":172739,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:13:53] local.INFO: Acknowledgment sent {"connection_id":172739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:14:28] local.INFO: TCP Data received {"connection_id":172739,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:14:28] local.INFO: Processing buffer {"connection_id":172739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:14:28] local.INFO: Packet analysis {"connection_id":172739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:14:28] local.INFO: Extracted packet for processing {"connection_id":172739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:14:28] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907627008001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788701960000,"timestamp_ms":1788701960000,"timestamp_seconds":1788701960,"priority":1,"record_length":96,"hex_timestamp":"000001a076f1e740"} 
[2026-09-06 19:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:14: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-09-06 19:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:14:28] 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-09-06 19:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907627008001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907627008001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:14:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:14:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907627008001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":172739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:14:28] local.INFO: GPS data processed {"connection_id":172739,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:14:28] local.INFO: Acknowledgment sent {"connection_id":172739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:14:47] local.INFO: TCP Data received {"connection_id":172986,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:14:47] local.INFO: Processing buffer {"connection_id":172986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:14:47] local.INFO: IMEI packet received {"connection_id":172986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":172986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:14:52] local.INFO: TCP Data received {"connection_id":172986,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:14:52] local.INFO: Processing buffer {"connection_id":172986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:14:52] local.INFO: IMEI packet received {"connection_id":172986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":172986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:14:54] local.INFO: TCP Data received {"connection_id":172986,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:14:54] local.INFO: Processing buffer {"connection_id":172986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f1e740012d34c9c006aa44480000015727..."} 
[2026-09-06 19:14:54] local.INFO: Packet analysis {"connection_id":172986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:14:54] local.INFO: Extracted packet for processing {"connection_id":172986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f1"} 
[2026-09-06 19:14:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907627008001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788701960000,"timestamp_ms":1788701960000,"timestamp_seconds":1788701960,"priority":1,"record_length":96,"hex_timestamp":"000001a076f1e740"} 
[2026-09-06 19:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:14: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:14:54] 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-09-06 19: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-09-06 19:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:14: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-09-06 19:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907627008001,"66":25875,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907627008001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:14:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:14:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907627008001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":172986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:14:54] local.INFO: GPS data processed {"connection_id":172986,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:14:54] local.INFO: Acknowledgment sent {"connection_id":172986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:15:25] local.INFO: TCP Data received {"connection_id":172986,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:15:25] local.INFO: Processing buffer {"connection_id":172986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:15:25] local.INFO: Packet analysis {"connection_id":172986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:15:25] local.INFO: Extracted packet for processing {"connection_id":172986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:15:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907701760001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788702255000,"timestamp_ms":1788702255000,"timestamp_seconds":1788702255,"priority":1,"record_length":96,"hex_timestamp":"000001a076f66798"} 
[2026-09-06 19:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:15: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-09-06 19: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-09-06 19:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:15:25] 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-09-06 19:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907701760001,"66":25832,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907701760001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:15:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:15:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907701760001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":172986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:15:25] local.INFO: GPS data processed {"connection_id":172986,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:15:25] local.INFO: Acknowledgment sent {"connection_id":172986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:15:52] local.INFO: TCP Data received {"connection_id":172742,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:15:52] local.INFO: Processing buffer {"connection_id":172742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:15:52] local.INFO: IMEI packet received {"connection_id":172742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":172742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:15:57] local.INFO: TCP Data received {"connection_id":172742,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:15:57] local.INFO: Processing buffer {"connection_id":172742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:15:57] local.INFO: IMEI packet received {"connection_id":172742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":172742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:15:58] local.INFO: TCP Data received {"connection_id":172742,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:15:58] local.INFO: Processing buffer {"connection_id":172742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:15:58] local.INFO: Packet analysis {"connection_id":172742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:15:58] local.INFO: Extracted packet for processing {"connection_id":172742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:15:58] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907701760001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:15: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-09-06 19:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788702255000,"timestamp_ms":1788702255000,"timestamp_seconds":1788702255,"priority":1,"record_length":96,"hex_timestamp":"000001a076f66798"} 
[2026-09-06 19:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:15: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:15: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-09-06 19: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-09-06 19:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907701760001,"66":25832,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907701760001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:15:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:15:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907701760001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":172742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:15:58] local.INFO: GPS data processed {"connection_id":172742,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:15:58] local.INFO: Acknowledgment sent {"connection_id":172742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:16:03] local.INFO: TCP Data received {"connection_id":172742,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:16:03] local.INFO: Processing buffer {"connection_id":172742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:16:03] local.INFO: Packet analysis {"connection_id":172742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:16:03] local.INFO: Extracted packet for processing {"connection_id":172742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907701760001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788702255000,"timestamp_ms":1788702255000,"timestamp_seconds":1788702255,"priority":1,"record_length":96,"hex_timestamp":"000001a076f66798"} 
[2026-09-06 19:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:16: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:16: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-09-06 19: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-09-06 19:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907701760001,"66":25832,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907701760001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907701760001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":172742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:16:03] local.INFO: GPS data processed {"connection_id":172742,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:16:03] local.INFO: Acknowledgment sent {"connection_id":172742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:16:08] local.INFO: TCP Data received {"connection_id":172742,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:16:08] local.INFO: Processing buffer {"connection_id":172742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:16:08] local.INFO: Packet analysis {"connection_id":172742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:16:08] local.INFO: Extracted packet for processing {"connection_id":172742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907701760001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 19:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788702255000,"timestamp_ms":1788702255000,"timestamp_seconds":1788702255,"priority":1,"record_length":96,"hex_timestamp":"000001a076f66798"} 
[2026-09-06 19:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 19:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:16:08] 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-09-06 19:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":172742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":172742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":172742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:16:08] 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-09-06 19:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907701760001,"66":25832,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907701760001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907701760001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":172742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:16:08] local.INFO: GPS data processed {"connection_id":172742,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:16:08] local.INFO: Acknowledgment sent {"connection_id":172742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:16:47] local.INFO: TCP Data received {"connection_id":174136,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:16:47] local.INFO: Processing buffer {"connection_id":174136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:16:47] local.INFO: IMEI packet received {"connection_id":174136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":174136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:16:52] local.INFO: TCP Data received {"connection_id":174136,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:16:52] local.INFO: Processing buffer {"connection_id":174136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:16:52] local.INFO: IMEI packet received {"connection_id":174136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":174136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:16:53] local.INFO: TCP Data received {"connection_id":174136,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:16:53] local.INFO: Processing buffer {"connection_id":174136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:16:53] local.INFO: Packet analysis {"connection_id":174136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:16:53] local.INFO: Extracted packet for processing {"connection_id":174136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:16:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907701760001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788702255000,"timestamp_ms":1788702255000,"timestamp_seconds":1788702255,"priority":1,"record_length":96,"hex_timestamp":"000001a076f66798"} 
[2026-09-06 19:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:16: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-09-06 19: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-09-06 19:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907701760001,"66":25832,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907701760001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:16:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:16:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907701760001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":174136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:16:53] local.INFO: GPS data processed {"connection_id":174136,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:16:53] local.INFO: Acknowledgment sent {"connection_id":174136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:17:05] local.INFO: TCP Data received {"connection_id":172987,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:17:05] local.INFO: Processing buffer {"connection_id":172987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:17:05] local.INFO: IMEI packet received {"connection_id":172987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":172987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:17:24] local.INFO: TCP Data received {"connection_id":174136,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:17:24] local.INFO: Processing buffer {"connection_id":174136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:17:24] local.INFO: Packet analysis {"connection_id":174136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:17:24] local.INFO: Extracted packet for processing {"connection_id":174136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907701760001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788702255000,"timestamp_ms":1788702255000,"timestamp_seconds":1788702255,"priority":1,"record_length":96,"hex_timestamp":"000001a076f66798"} 
[2026-09-06 19:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:17: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-09-06 19: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-09-06 19:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907701760001,"66":25832,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907701760001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:17:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907701760001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":174136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:17:24] local.INFO: GPS data processed {"connection_id":174136,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:17:24] local.INFO: Acknowledgment sent {"connection_id":174136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:17:47] local.INFO: TCP Data received {"connection_id":174137,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:17:47] local.INFO: Processing buffer {"connection_id":174137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:17:47] local.INFO: IMEI packet received {"connection_id":174137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":174137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:17:52] local.INFO: TCP Data received {"connection_id":174137,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:17:52] local.INFO: Processing buffer {"connection_id":174137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:17:52] local.INFO: IMEI packet received {"connection_id":174137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":174137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:17:53] local.INFO: TCP Data received {"connection_id":174137,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:17:53] local.INFO: Processing buffer {"connection_id":174137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:17:53] local.INFO: Packet analysis {"connection_id":174137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:17:53] local.INFO: Extracted packet for processing {"connection_id":174137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907701760001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788702255000,"timestamp_ms":1788702255000,"timestamp_seconds":1788702255,"priority":1,"record_length":96,"hex_timestamp":"000001a076f66798"} 
[2026-09-06 19:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:17: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-09-06 19: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-09-06 19:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:17: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-09-06 19:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907701760001,"66":25832,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907701760001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:17:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907701760001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":174137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:17:53] local.INFO: GPS data processed {"connection_id":174137,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:17:53] local.INFO: Acknowledgment sent {"connection_id":174137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:18:24] local.INFO: TCP Data received {"connection_id":174137,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:18:24] local.INFO: Processing buffer {"connection_id":174137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:18:24] local.INFO: Packet analysis {"connection_id":174137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:18:24] local.INFO: Extracted packet for processing {"connection_id":174137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:18:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907701760001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788702255000,"timestamp_ms":1788702255000,"timestamp_seconds":1788702255,"priority":1,"record_length":96,"hex_timestamp":"000001a076f66798"} 
[2026-09-06 19:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:18: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:18: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-09-06 19: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-09-06 19:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:18: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-09-06 19:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907701760001,"66":25832,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907701760001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:18:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:18:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907701760001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":174137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:18:24] local.INFO: GPS data processed {"connection_id":174137,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:18:24] local.INFO: Acknowledgment sent {"connection_id":174137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:18:47] local.INFO: TCP Data received {"connection_id":172744,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:18:47] local.INFO: Processing buffer {"connection_id":172744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:18:47] local.INFO: IMEI packet received {"connection_id":172744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":172744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:18:52] local.INFO: TCP Data received {"connection_id":172744,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:18:52] local.INFO: Processing buffer {"connection_id":172744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:18:52] local.INFO: IMEI packet received {"connection_id":172744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":172744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:18:53] local.INFO: TCP Data received {"connection_id":172744,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:18:53] local.INFO: Processing buffer {"connection_id":172744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:18:53] local.INFO: Packet analysis {"connection_id":172744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:18:53] local.INFO: Extracted packet for processing {"connection_id":172744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:18:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907701760001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788702255000,"timestamp_ms":1788702255000,"timestamp_seconds":1788702255,"priority":1,"record_length":96,"hex_timestamp":"000001a076f66798"} 
[2026-09-06 19:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:18: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-09-06 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:18: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-09-06 19: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-09-06 19:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907701760001,"66":25832,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907701760001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:18:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907701760001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":172744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:18:53] local.INFO: GPS data processed {"connection_id":172744,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:18:53] local.INFO: Acknowledgment sent {"connection_id":172744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:19:24] local.INFO: TCP Data received {"connection_id":172744,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:19:24] local.INFO: Processing buffer {"connection_id":172744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:19:24] local.INFO: Packet analysis {"connection_id":172744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:19:24] local.INFO: Extracted packet for processing {"connection_id":172744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:19:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 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-09-06 19:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907701760001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 19:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788702255000,"timestamp_ms":1788702255000,"timestamp_seconds":1788702255,"priority":1,"record_length":96,"hex_timestamp":"000001a076f66798"} 
[2026-09-06 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-09-06 19: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-09-06 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:19: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-09-06 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-09-06 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-09-06 19:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907701760001,"66":25832,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907701760001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:19:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:19:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907701760001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":172744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:19:24] local.INFO: GPS data processed {"connection_id":172744,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:19:24] local.INFO: Acknowledgment sent {"connection_id":172744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:19:47] local.INFO: TCP Data received {"connection_id":175470,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:19:47] local.INFO: Processing buffer {"connection_id":175470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:19:47] local.INFO: IMEI packet received {"connection_id":175470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":175470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:19:52] local.INFO: TCP Data received {"connection_id":175470,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:19:52] local.INFO: Processing buffer {"connection_id":175470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:19:52] local.INFO: IMEI packet received {"connection_id":175470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":175470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:19:53] local.INFO: TCP Data received {"connection_id":175470,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:19:53] local.INFO: Processing buffer {"connection_id":175470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076f66798012d34c9c006aa44480000015723..."} 
[2026-09-06 19:19:53] local.INFO: Packet analysis {"connection_id":175470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:19:53] local.INFO: Extracted packet for processing {"connection_id":175470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076f6"} 
[2026-09-06 19:19:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907701760001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788702255000,"timestamp_ms":1788702255000,"timestamp_seconds":1788702255,"priority":1,"record_length":96,"hex_timestamp":"000001a076f66798"} 
[2026-09-06 19:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-06 19:19: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-09-06 19: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-09-06 19:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:19: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-09-06 19:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907701760001,"66":25832,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907701760001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:19:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:19:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907701760001,"power":25832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":175470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:19:53] local.INFO: GPS data processed {"connection_id":175470,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:19:53] local.INFO: Acknowledgment sent {"connection_id":175470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:20:25] local.INFO: TCP Data received {"connection_id":175470,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:20:25] local.INFO: Processing buffer {"connection_id":175470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:20:25] local.INFO: Packet analysis {"connection_id":175470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:20:25] local.INFO: Extracted packet for processing {"connection_id":175470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:20:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907777280001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788702556000,"timestamp_ms":1788702556000,"timestamp_seconds":1788702556,"priority":1,"record_length":96,"hex_timestamp":"000001a076faff60"} 
[2026-09-06 19:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 19:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19: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-09-06 19:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:20: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-09-06 19:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907777280001,"66":25778,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907777280001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:20:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:20:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907777280001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":175470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:20:25] local.INFO: GPS data processed {"connection_id":175470,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:20:25] local.INFO: Acknowledgment sent {"connection_id":175470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:20:47] local.INFO: TCP Data received {"connection_id":172989,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:20:47] local.INFO: Processing buffer {"connection_id":172989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:20:47] local.INFO: IMEI packet received {"connection_id":172989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":172989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:20:52] local.INFO: TCP Data received {"connection_id":172989,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:20:52] local.INFO: Processing buffer {"connection_id":172989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:20:52] local.INFO: IMEI packet received {"connection_id":172989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":172989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:20:53] local.INFO: TCP Data received {"connection_id":172989,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:20:53] local.INFO: Processing buffer {"connection_id":172989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:20:53] local.INFO: Packet analysis {"connection_id":172989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:20:53] local.INFO: Extracted packet for processing {"connection_id":172989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907777280001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788702556000,"timestamp_ms":1788702556000,"timestamp_seconds":1788702556,"priority":1,"record_length":96,"hex_timestamp":"000001a076faff60"} 
[2026-09-06 19:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 19:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19: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-09-06 19:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:20: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-09-06 19:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907777280001,"66":25778,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907777280001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:20:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907777280001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":172989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:20:53] local.INFO: GPS data processed {"connection_id":172989,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:20:53] local.INFO: Acknowledgment sent {"connection_id":172989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:21:25] local.INFO: TCP Data received {"connection_id":172989,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:21:25] local.INFO: Processing buffer {"connection_id":172989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:21:25] local.INFO: Packet analysis {"connection_id":172989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:21:25] local.INFO: Extracted packet for processing {"connection_id":172989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:21:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907777280001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788702556000,"timestamp_ms":1788702556000,"timestamp_seconds":1788702556,"priority":1,"record_length":96,"hex_timestamp":"000001a076faff60"} 
[2026-09-06 19:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 19:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19: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-09-06 19:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:21: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-09-06 19:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907777280001,"66":25778,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907777280001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:21:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:21:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907777280001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":172989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:21:25] local.INFO: GPS data processed {"connection_id":172989,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:21:25] local.INFO: Acknowledgment sent {"connection_id":172989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:21:52] local.INFO: TCP Data received {"connection_id":175471,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:21:52] local.INFO: Processing buffer {"connection_id":175471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:21:52] local.INFO: IMEI packet received {"connection_id":175471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":175471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:21:57] local.INFO: TCP Data received {"connection_id":175471,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:21:57] local.INFO: Processing buffer {"connection_id":175471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:21:57] local.INFO: IMEI packet received {"connection_id":175471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":175471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:21:58] local.INFO: TCP Data received {"connection_id":175471,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:21:58] local.INFO: Processing buffer {"connection_id":175471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:21:58] local.INFO: Packet analysis {"connection_id":175471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:21:58] local.INFO: Extracted packet for processing {"connection_id":175471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:21:58] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907777280001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788702556000,"timestamp_ms":1788702556000,"timestamp_seconds":1788702556,"priority":1,"record_length":96,"hex_timestamp":"000001a076faff60"} 
[2026-09-06 19:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 19:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19: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-09-06 19:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907777280001,"66":25778,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907777280001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:21:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:21:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907777280001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":175471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:21:58] local.INFO: GPS data processed {"connection_id":175471,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:21:58] local.INFO: Acknowledgment sent {"connection_id":175471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:22:03] local.INFO: TCP Data received {"connection_id":175471,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:22:03] local.INFO: Processing buffer {"connection_id":175471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:22:03] local.INFO: Packet analysis {"connection_id":175471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:22:03] local.INFO: Extracted packet for processing {"connection_id":175471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907777280001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788702556000,"timestamp_ms":1788702556000,"timestamp_seconds":1788702556,"priority":1,"record_length":96,"hex_timestamp":"000001a076faff60"} 
[2026-09-06 19:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 19:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19: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-09-06 19:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907777280001,"66":25778,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907777280001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:22:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:22:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907777280001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":175471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:22:03] local.INFO: GPS data processed {"connection_id":175471,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:22:03] local.INFO: Acknowledgment sent {"connection_id":175471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:22:47] local.INFO: TCP Data received {"connection_id":174139,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:22:47] local.INFO: Processing buffer {"connection_id":174139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:22:47] local.INFO: IMEI packet received {"connection_id":174139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":174139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:22:49] local.INFO: TCP Data received {"connection_id":172747,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:22:49] local.INFO: Processing buffer {"connection_id":172747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:22:49] local.INFO: IMEI packet received {"connection_id":172747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":172747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:22:53] local.INFO: TCP Data received {"connection_id":174139,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:22:53] local.INFO: Processing buffer {"connection_id":174139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:22:53] local.INFO: IMEI packet received {"connection_id":174139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":174139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:22:54] local.INFO: TCP Data received {"connection_id":174139,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:22:54] local.INFO: Processing buffer {"connection_id":174139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:22:54] local.INFO: Packet analysis {"connection_id":174139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:22:54] local.INFO: Extracted packet for processing {"connection_id":174139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:22:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907777280001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:22: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-09-06 19:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788702556000,"timestamp_ms":1788702556000,"timestamp_seconds":1788702556,"priority":1,"record_length":96,"hex_timestamp":"000001a076faff60"} 
[2026-09-06 19:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:22: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-09-06 19: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 19:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19: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-09-06 19:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907777280001,"66":25778,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907777280001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:22:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:22:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907777280001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":174139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:22:54] local.INFO: GPS data processed {"connection_id":174139,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:22:54] local.INFO: Acknowledgment sent {"connection_id":174139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:23:26] local.INFO: TCP Data received {"connection_id":174139,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:23:26] local.INFO: Processing buffer {"connection_id":174139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:23:26] local.INFO: Packet analysis {"connection_id":174139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:23:26] local.INFO: Extracted packet for processing {"connection_id":174139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:23:26] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907777280001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:23: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-09-06 19:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788702556000,"timestamp_ms":1788702556000,"timestamp_seconds":1788702556,"priority":1,"record_length":96,"hex_timestamp":"000001a076faff60"} 
[2026-09-06 19:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 19: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 19:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19: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-09-06 19:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:23: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-09-06 19:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907777280001,"66":25778,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907777280001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:23:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:23:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907777280001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":174139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:23:26] local.INFO: GPS data processed {"connection_id":174139,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:23:26] local.INFO: Acknowledgment sent {"connection_id":174139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:23:47] local.INFO: TCP Data received {"connection_id":172748,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:23:47] local.INFO: Processing buffer {"connection_id":172748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:23:47] local.INFO: IMEI packet received {"connection_id":172748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":172748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:23:52] local.INFO: TCP Data received {"connection_id":172748,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:23:52] local.INFO: Processing buffer {"connection_id":172748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:23:52] local.INFO: IMEI packet received {"connection_id":172748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":172748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:23:53] local.INFO: TCP Data received {"connection_id":172748,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:23:53] local.INFO: Processing buffer {"connection_id":172748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:23:53] local.INFO: Packet analysis {"connection_id":172748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:23:53] local.INFO: Extracted packet for processing {"connection_id":172748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:23:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907777280001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788702556000,"timestamp_ms":1788702556000,"timestamp_seconds":1788702556,"priority":1,"record_length":96,"hex_timestamp":"000001a076faff60"} 
[2026-09-06 19:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:23: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-09-06 19: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 19:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19: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-09-06 19:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:23: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-09-06 19:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907777280001,"66":25778,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907777280001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:23:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:23:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907777280001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":172748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:23:53] local.INFO: GPS data processed {"connection_id":172748,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:23:53] local.INFO: Acknowledgment sent {"connection_id":172748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:24:24] local.INFO: TCP Data received {"connection_id":172748,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:24:24] local.INFO: Processing buffer {"connection_id":172748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:24:24] local.INFO: Packet analysis {"connection_id":172748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:24:24] local.INFO: Extracted packet for processing {"connection_id":172748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907777280001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788702556000,"timestamp_ms":1788702556000,"timestamp_seconds":1788702556,"priority":1,"record_length":96,"hex_timestamp":"000001a076faff60"} 
[2026-09-06 19:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":232,"data_length":795,"current_offset":136} 
[2026-09-06 19:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19: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-09-06 19:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:24: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-09-06 19:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907777280001,"66":25778,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907777280001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:24:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907777280001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":172748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:24:24] local.INFO: GPS data processed {"connection_id":172748,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:24:24] local.INFO: Acknowledgment sent {"connection_id":172748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:24:47] local.INFO: TCP Data received {"connection_id":172750,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:24:47] local.INFO: Processing buffer {"connection_id":172750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:24:47] local.INFO: IMEI packet received {"connection_id":172750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":172750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:24:52] local.INFO: TCP Data received {"connection_id":172750,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:24:52] local.INFO: Processing buffer {"connection_id":172750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:24:52] local.INFO: IMEI packet received {"connection_id":172750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":172750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:24:54] local.INFO: TCP Data received {"connection_id":172750,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:24:54] local.INFO: Processing buffer {"connection_id":172750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076faff60012d34c9c006aa44480000015724..."} 
[2026-09-06 19:24:54] local.INFO: Packet analysis {"connection_id":172750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:24:54] local.INFO: Extracted packet for processing {"connection_id":172750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076fa"} 
[2026-09-06 19:24:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907777280001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:24: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-09-06 19:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788702556000,"timestamp_ms":1788702556000,"timestamp_seconds":1788702556,"priority":1,"record_length":96,"hex_timestamp":"000001a076faff60"} 
[2026-09-06 19:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:24: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-09-06 19: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-06 19:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19: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-09-06 19:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:24: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-09-06 19:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907777280001,"66":25778,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907777280001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:24:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:24:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907777280001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":172750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:24:54] local.INFO: GPS data processed {"connection_id":172750,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:24:54] local.INFO: Acknowledgment sent {"connection_id":172750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:25:26] local.INFO: TCP Data received {"connection_id":172750,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:25:26] local.INFO: Processing buffer {"connection_id":172750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:25:26] local.INFO: Packet analysis {"connection_id":172750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:25:26] local.INFO: Extracted packet for processing {"connection_id":172750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:25:26] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907854336001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:25: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-09-06 19:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788702857000,"timestamp_ms":1788702857000,"timestamp_seconds":1788702857,"priority":1,"record_length":96,"hex_timestamp":"000001a076ff9728"} 
[2026-09-06 19:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:25: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-09-06 19: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 19:25: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-09-06 19: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-09-06 19:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:25: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-09-06 19:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907854336001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907854336001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:25:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:25:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907854336001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":172750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:25:26] local.INFO: GPS data processed {"connection_id":172750,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:25:26] local.INFO: Acknowledgment sent {"connection_id":172750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:25:52] local.INFO: TCP Data received {"connection_id":174140,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:25:52] local.INFO: Processing buffer {"connection_id":174140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:25:52] local.INFO: IMEI packet received {"connection_id":174140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":174140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:25:57] local.INFO: TCP Data received {"connection_id":174140,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:25:57] local.INFO: Processing buffer {"connection_id":174140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:25:57] local.INFO: IMEI packet received {"connection_id":174140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":174140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:25:58] local.INFO: TCP Data received {"connection_id":174140,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:25:58] local.INFO: Processing buffer {"connection_id":174140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:25:58] local.INFO: Packet analysis {"connection_id":174140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:25:58] local.INFO: Extracted packet for processing {"connection_id":174140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:25:58] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907854336001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788702857000,"timestamp_ms":1788702857000,"timestamp_seconds":1788702857,"priority":1,"record_length":96,"hex_timestamp":"000001a076ff9728"} 
[2026-09-06 19:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:25: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-09-06 19: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 19:25: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-09-06 19: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-09-06 19:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:25: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-09-06 19:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907854336001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907854336001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:25:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:25:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907854336001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":174140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:25:58] local.INFO: GPS data processed {"connection_id":174140,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:25:58] local.INFO: Acknowledgment sent {"connection_id":174140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:26:03] local.INFO: TCP Data received {"connection_id":174140,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:26:03] local.INFO: Processing buffer {"connection_id":174140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:26:03] local.INFO: Packet analysis {"connection_id":174140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:26:03] local.INFO: Extracted packet for processing {"connection_id":174140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907854336001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:26: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-09-06 19:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788702857000,"timestamp_ms":1788702857000,"timestamp_seconds":1788702857,"priority":1,"record_length":96,"hex_timestamp":"000001a076ff9728"} 
[2026-09-06 19:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:26: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-09-06 19:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 19:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907854336001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907854336001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:26:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907854336001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":174140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:26:03] local.INFO: GPS data processed {"connection_id":174140,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:26:03] local.INFO: Acknowledgment sent {"connection_id":174140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:26:47] local.INFO: TCP Data received {"connection_id":172990,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:26:47] local.INFO: Processing buffer {"connection_id":172990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:26:47] local.INFO: IMEI packet received {"connection_id":172990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":172990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:26:52] local.INFO: TCP Data received {"connection_id":172990,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:26:52] local.INFO: Processing buffer {"connection_id":172990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:26:52] local.INFO: IMEI packet received {"connection_id":172990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":172990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:26:53] local.INFO: TCP Data received {"connection_id":172990,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:26:53] local.INFO: Processing buffer {"connection_id":172990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:26:53] local.INFO: Packet analysis {"connection_id":172990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:26:53] local.INFO: Extracted packet for processing {"connection_id":172990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907854336001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788702857000,"timestamp_ms":1788702857000,"timestamp_seconds":1788702857,"priority":1,"record_length":96,"hex_timestamp":"000001a076ff9728"} 
[2026-09-06 19:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:26: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-09-06 19:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 19: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-09-06 19:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19: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-09-06 19:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907854336001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907854336001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:26:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907854336001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":172990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:26:53] local.INFO: GPS data processed {"connection_id":172990,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:26:53] local.INFO: Acknowledgment sent {"connection_id":172990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:26:59] local.INFO: TCP Data received {"connection_id":172990,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:26:59] local.INFO: Processing buffer {"connection_id":172990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:26:59] local.INFO: Packet analysis {"connection_id":172990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:26:59] local.INFO: Extracted packet for processing {"connection_id":172990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907854336001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:26: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-09-06 19:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788702857000,"timestamp_ms":1788702857000,"timestamp_seconds":1788702857,"priority":1,"record_length":96,"hex_timestamp":"000001a076ff9728"} 
[2026-09-06 19:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:26: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-09-06 19:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 19:26:59] 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-09-06 19:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:26:59] 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-09-06 19:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907854336001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907854336001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:26:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:26:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907854336001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":172990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:26:59] local.INFO: GPS data processed {"connection_id":172990,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:26:59] local.INFO: Acknowledgment sent {"connection_id":172990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:27:30] local.INFO: TCP Data received {"connection_id":172990,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:27:30] local.INFO: Processing buffer {"connection_id":172990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:27:30] local.INFO: Packet analysis {"connection_id":172990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:27:30] local.INFO: Extracted packet for processing {"connection_id":172990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:27:30] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907854336001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:27: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-09-06 19:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788702857000,"timestamp_ms":1788702857000,"timestamp_seconds":1788702857,"priority":1,"record_length":96,"hex_timestamp":"000001a076ff9728"} 
[2026-09-06 19:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:27: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-09-06 19:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 19:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907854336001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907854336001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:27:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:27:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907854336001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":172990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:27:30] local.INFO: GPS data processed {"connection_id":172990,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:27:30] local.INFO: Acknowledgment sent {"connection_id":172990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:27:47] local.INFO: TCP Data received {"connection_id":172752,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:27:47] local.INFO: Processing buffer {"connection_id":172752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:27:47] local.INFO: IMEI packet received {"connection_id":172752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":172752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:27:52] local.INFO: TCP Data received {"connection_id":172752,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:27:52] local.INFO: Processing buffer {"connection_id":172752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:27:52] local.INFO: IMEI packet received {"connection_id":172752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":172752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:27:53] local.INFO: TCP Data received {"connection_id":172752,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:27:53] local.INFO: Processing buffer {"connection_id":172752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:27:53] local.INFO: Packet analysis {"connection_id":172752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:27:53] local.INFO: Extracted packet for processing {"connection_id":172752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:27:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907854336001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788702857000,"timestamp_ms":1788702857000,"timestamp_seconds":1788702857,"priority":1,"record_length":96,"hex_timestamp":"000001a076ff9728"} 
[2026-09-06 19:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:27: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-09-06 19:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907854336001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907854336001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:27:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:27:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907854336001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":172752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:27:53] local.INFO: GPS data processed {"connection_id":172752,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:27:53] local.INFO: Acknowledgment sent {"connection_id":172752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:28:21] local.INFO: TCP Data received {"connection_id":174141,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:28:21] local.INFO: Processing buffer {"connection_id":174141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:28:21] local.INFO: IMEI packet received {"connection_id":174141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":174141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:28:25] local.INFO: TCP Data received {"connection_id":172752,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:28:25] local.INFO: Processing buffer {"connection_id":172752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:28:25] local.INFO: Packet analysis {"connection_id":172752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:28:25] local.INFO: Extracted packet for processing {"connection_id":172752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:28:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907854336001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788702857000,"timestamp_ms":1788702857000,"timestamp_seconds":1788702857,"priority":1,"record_length":96,"hex_timestamp":"000001a076ff9728"} 
[2026-09-06 19:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:28: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-09-06 19: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-06 19:28: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-09-06 19: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-09-06 19:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:28: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-09-06 19:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907854336001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907854336001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:28:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:28:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907854336001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":172752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:28:25] local.INFO: GPS data processed {"connection_id":172752,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:28:25] local.INFO: Acknowledgment sent {"connection_id":172752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:28:47] local.INFO: TCP Data received {"connection_id":174142,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:28:47] local.INFO: Processing buffer {"connection_id":174142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:28:47] local.INFO: IMEI packet received {"connection_id":174142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":174142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:28:52] local.INFO: TCP Data received {"connection_id":174142,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:28:52] local.INFO: Processing buffer {"connection_id":174142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:28:52] local.INFO: IMEI packet received {"connection_id":174142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":174142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:28:53] local.INFO: TCP Data received {"connection_id":174142,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:28:53] local.INFO: Processing buffer {"connection_id":174142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:28:53] local.INFO: Packet analysis {"connection_id":174142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:28:53] local.INFO: Extracted packet for processing {"connection_id":174142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907854336001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788702857000,"timestamp_ms":1788702857000,"timestamp_seconds":1788702857,"priority":1,"record_length":96,"hex_timestamp":"000001a076ff9728"} 
[2026-09-06 19:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:28: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-09-06 19:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907854336001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907854336001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:28:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907854336001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":174142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:28:53] local.INFO: GPS data processed {"connection_id":174142,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:28:53] local.INFO: Acknowledgment sent {"connection_id":174142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:28:54] local.INFO: TCP Data received {"connection_id":175473,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:28:54] local.INFO: Processing buffer {"connection_id":175473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:28:54] local.INFO: IMEI packet received {"connection_id":175473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":175473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:29:25] local.INFO: TCP Data received {"connection_id":174142,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:29:25] local.INFO: Processing buffer {"connection_id":174142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:29:25] local.INFO: Packet analysis {"connection_id":174142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:29:25] local.INFO: Extracted packet for processing {"connection_id":174142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:29:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907854336001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788702857000,"timestamp_ms":1788702857000,"timestamp_seconds":1788702857,"priority":1,"record_length":96,"hex_timestamp":"000001a076ff9728"} 
[2026-09-06 19:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 19: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":178,"data_length":795,"current_offset":136} 
[2026-09-06 19:29: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-09-06 19: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-09-06 19:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:29: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-09-06 19:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907854336001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907854336001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:29:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:29:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907854336001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":174142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:29:25] local.INFO: GPS data processed {"connection_id":174142,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:29:25] local.INFO: Acknowledgment sent {"connection_id":174142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:29:47] local.INFO: TCP Data received {"connection_id":172992,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:29:47] local.INFO: Processing buffer {"connection_id":172992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:29:47] local.INFO: IMEI packet received {"connection_id":172992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":172992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:29:52] local.INFO: TCP Data received {"connection_id":172992,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:29:52] local.INFO: Processing buffer {"connection_id":172992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:29:52] local.INFO: IMEI packet received {"connection_id":172992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":172992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:29:53] local.INFO: TCP Data received {"connection_id":172992,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:29:53] local.INFO: Processing buffer {"connection_id":172992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a076ff9728012d34c9c006aa44480000015720..."} 
[2026-09-06 19:29:53] local.INFO: Packet analysis {"connection_id":172992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:29:53] local.INFO: Extracted packet for processing {"connection_id":172992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a076ff"} 
[2026-09-06 19:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907854336001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788702857000,"timestamp_ms":1788702857000,"timestamp_seconds":1788702857,"priority":1,"record_length":96,"hex_timestamp":"000001a076ff9728"} 
[2026-09-06 19:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:29: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-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:29: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-09-06 19:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907854336001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907854336001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:29:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907854336001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":172992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:29:53] local.INFO: GPS data processed {"connection_id":172992,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:29:53] local.INFO: Acknowledgment sent {"connection_id":172992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:30:24] local.INFO: TCP Data received {"connection_id":172992,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:30:24] local.INFO: Processing buffer {"connection_id":172992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:30:24] local.INFO: Packet analysis {"connection_id":172992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:30:24] local.INFO: Extracted packet for processing {"connection_id":172992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:30:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907931392001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788703158000,"timestamp_ms":1788703158000,"timestamp_seconds":1788703158,"priority":1,"record_length":96,"hex_timestamp":"000001a077042ef0"} 
[2026-09-06 19:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:30: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-09-06 19:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907931392001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907931392001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:30:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:30:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907931392001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":172992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:30:24] local.INFO: GPS data processed {"connection_id":172992,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:30:24] local.INFO: Acknowledgment sent {"connection_id":172992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:30:47] local.INFO: TCP Data received {"connection_id":172753,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:30:47] local.INFO: Processing buffer {"connection_id":172753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:30:47] local.INFO: IMEI packet received {"connection_id":172753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":172753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:30:52] local.INFO: TCP Data received {"connection_id":172753,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:30:52] local.INFO: Processing buffer {"connection_id":172753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:30:52] local.INFO: IMEI packet received {"connection_id":172753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":172753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:30:53] local.INFO: TCP Data received {"connection_id":172753,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:30:53] local.INFO: Processing buffer {"connection_id":172753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:30:53] local.INFO: Packet analysis {"connection_id":172753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:30:53] local.INFO: Extracted packet for processing {"connection_id":172753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907931392001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788703158000,"timestamp_ms":1788703158000,"timestamp_seconds":1788703158,"priority":1,"record_length":96,"hex_timestamp":"000001a077042ef0"} 
[2026-09-06 19:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:30: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-09-06 19: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-09-06 19:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:30: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-09-06 19:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907931392001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907931392001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:30:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907931392001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":172753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:30:53] local.INFO: GPS data processed {"connection_id":172753,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:30:53] local.INFO: Acknowledgment sent {"connection_id":172753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:31:24] local.INFO: TCP Data received {"connection_id":172753,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:31:24] local.INFO: Processing buffer {"connection_id":172753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:31:24] local.INFO: Packet analysis {"connection_id":172753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:31:24] local.INFO: Extracted packet for processing {"connection_id":172753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:31:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907931392001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788703158000,"timestamp_ms":1788703158000,"timestamp_seconds":1788703158,"priority":1,"record_length":96,"hex_timestamp":"000001a077042ef0"} 
[2026-09-06 19:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:31: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-09-06 19: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-09-06 19:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:31: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-09-06 19:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907931392001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907931392001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:31:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907931392001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":172753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:31:24] local.INFO: GPS data processed {"connection_id":172753,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:31:24] local.INFO: Acknowledgment sent {"connection_id":172753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:31:47] local.INFO: TCP Data received {"connection_id":174143,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:31:47] local.INFO: Processing buffer {"connection_id":174143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:31:47] local.INFO: IMEI packet received {"connection_id":174143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":174143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:31:52] local.INFO: TCP Data received {"connection_id":174143,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:31:52] local.INFO: Processing buffer {"connection_id":174143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:31:52] local.INFO: IMEI packet received {"connection_id":174143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":174143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:31:53] local.INFO: TCP Data received {"connection_id":174143,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:31:53] local.INFO: Processing buffer {"connection_id":174143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:31:53] local.INFO: Packet analysis {"connection_id":174143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:31:53] local.INFO: Extracted packet for processing {"connection_id":174143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907931392001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788703158000,"timestamp_ms":1788703158000,"timestamp_seconds":1788703158,"priority":1,"record_length":96,"hex_timestamp":"000001a077042ef0"} 
[2026-09-06 19:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:31: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-09-06 19:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907931392001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907931392001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:31:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:31:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907931392001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":174143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:31:53] local.INFO: GPS data processed {"connection_id":174143,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:31:53] local.INFO: Acknowledgment sent {"connection_id":174143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:32:24] local.INFO: TCP Data received {"connection_id":174143,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:32:24] local.INFO: Processing buffer {"connection_id":174143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:32:24] local.INFO: Packet analysis {"connection_id":174143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:32:24] local.INFO: Extracted packet for processing {"connection_id":174143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:32:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 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-09-06 19:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907931392001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 19:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788703158000,"timestamp_ms":1788703158000,"timestamp_seconds":1788703158,"priority":1,"record_length":96,"hex_timestamp":"000001a077042ef0"} 
[2026-09-06 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-09-06 19: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-09-06 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 19: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-09-06 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-09-06 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-09-06 19:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:32: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-09-06 19:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907931392001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907931392001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:32:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:32:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907931392001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":174143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:32:24] local.INFO: GPS data processed {"connection_id":174143,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:32:24] local.INFO: Acknowledgment sent {"connection_id":174143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:32:47] local.INFO: TCP Data received {"connection_id":172754,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:32:47] local.INFO: Processing buffer {"connection_id":172754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:32:47] local.INFO: IMEI packet received {"connection_id":172754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":172754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:32:53] local.INFO: TCP Data received {"connection_id":172754,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:32:53] local.INFO: Processing buffer {"connection_id":172754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:32:53] local.INFO: IMEI packet received {"connection_id":172754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":172754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:32:54] local.INFO: TCP Data received {"connection_id":172754,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:32:54] local.INFO: Processing buffer {"connection_id":172754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:32:54] local.INFO: Packet analysis {"connection_id":172754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:32:54] local.INFO: Extracted packet for processing {"connection_id":172754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907931392001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:32: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-09-06 19:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788703158000,"timestamp_ms":1788703158000,"timestamp_seconds":1788703158,"priority":1,"record_length":96,"hex_timestamp":"000001a077042ef0"} 
[2026-09-06 19:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:32: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-09-06 19:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:32: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-09-06 19:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907931392001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907931392001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:32:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:32:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907931392001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":172754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:32:54] local.INFO: GPS data processed {"connection_id":172754,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:32:54] local.INFO: Acknowledgment sent {"connection_id":172754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:33:25] local.INFO: TCP Data received {"connection_id":172754,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:33:25] local.INFO: Processing buffer {"connection_id":172754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:33:25] local.INFO: Packet analysis {"connection_id":172754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:33:25] local.INFO: Extracted packet for processing {"connection_id":172754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:33:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907931392001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788703158000,"timestamp_ms":1788703158000,"timestamp_seconds":1788703158,"priority":1,"record_length":96,"hex_timestamp":"000001a077042ef0"} 
[2026-09-06 19:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:33: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-09-06 19: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-09-06 19:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907931392001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907931392001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:33:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:33:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907931392001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":172754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:33:25] local.INFO: GPS data processed {"connection_id":172754,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:33:25] local.INFO: Acknowledgment sent {"connection_id":172754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:33:47] local.INFO: TCP Data received {"connection_id":175476,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:33:47] local.INFO: Processing buffer {"connection_id":175476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:33:47] local.INFO: IMEI packet received {"connection_id":175476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":175476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:33:52] local.INFO: TCP Data received {"connection_id":175476,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:33:52] local.INFO: Processing buffer {"connection_id":175476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:33:52] local.INFO: IMEI packet received {"connection_id":175476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":175476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:33:53] local.INFO: TCP Data received {"connection_id":175476,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:33:53] local.INFO: Processing buffer {"connection_id":175476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:33:53] local.INFO: Packet analysis {"connection_id":175476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:33:53] local.INFO: Extracted packet for processing {"connection_id":175476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:33:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907931392001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788703158000,"timestamp_ms":1788703158000,"timestamp_seconds":1788703158,"priority":1,"record_length":96,"hex_timestamp":"000001a077042ef0"} 
[2026-09-06 19:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907931392001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907931392001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:33:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:33:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907931392001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":175476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:33:53] local.INFO: GPS data processed {"connection_id":175476,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:33:53] local.INFO: Acknowledgment sent {"connection_id":175476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:34:25] local.INFO: TCP Data received {"connection_id":175476,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:34:25] local.INFO: Processing buffer {"connection_id":175476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:34:25] local.INFO: Packet analysis {"connection_id":175476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:34:25] local.INFO: Extracted packet for processing {"connection_id":175476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:34:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907931392001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788703158000,"timestamp_ms":1788703158000,"timestamp_seconds":1788703158,"priority":1,"record_length":96,"hex_timestamp":"000001a077042ef0"} 
[2026-09-06 19:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:34: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-09-06 19: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:34: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-09-06 19: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-09-06 19:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907931392001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907931392001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:34:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:34:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907931392001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":175476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:34:25] local.INFO: GPS data processed {"connection_id":175476,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:34:25] local.INFO: Acknowledgment sent {"connection_id":175476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:34:34] local.INFO: TCP Data received {"connection_id":172755,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:34:34] local.INFO: Processing buffer {"connection_id":172755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:34:34] local.INFO: IMEI packet received {"connection_id":172755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":172755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:34:47] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:34:47] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:34:47] local.INFO: IMEI packet received {"connection_id":174144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":174144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:34:52] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:34:52] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:34:52] local.INFO: IMEI packet received {"connection_id":174144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":174144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:34:53] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:34:53] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077042ef0012d34c9c006aa44480000015725..."} 
[2026-09-06 19:34:53] local.INFO: Packet analysis {"connection_id":174144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:34:53] local.INFO: Extracted packet for processing {"connection_id":174144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07704"} 
[2026-09-06 19:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457907931392001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788703158000,"timestamp_ms":1788703158000,"timestamp_seconds":1788703158,"priority":1,"record_length":96,"hex_timestamp":"000001a077042ef0"} 
[2026-09-06 19:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:34: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-09-06 19: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-09-06 19:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457907931392001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457907931392001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457907931392001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":174144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:34:53] local.INFO: GPS data processed {"connection_id":174144,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:34:53] local.INFO: Acknowledgment sent {"connection_id":174144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:34:54] local.INFO: TCP Data received {"connection_id":172756,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:34:54] local.INFO: Processing buffer {"connection_id":172756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:34:54] local.INFO: IMEI packet received {"connection_id":172756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":172756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:35:24] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:35:24] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:35:24] local.INFO: Packet analysis {"connection_id":174144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:35:24] local.INFO: Extracted packet for processing {"connection_id":174144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908008448001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788703459000,"timestamp_ms":1788703459000,"timestamp_seconds":1788703459,"priority":1,"record_length":96,"hex_timestamp":"000001a07708c6b8"} 
[2026-09-06 19:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":205,"data_length":795,"current_offset":136} 
[2026-09-06 19:35: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-09-06 19: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-09-06 19:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908008448001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908008448001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:35:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908008448001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":174144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:35:24] local.INFO: GPS data processed {"connection_id":174144,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:35:24] local.INFO: Acknowledgment sent {"connection_id":174144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:35:47] local.INFO: TCP Data received {"connection_id":175477,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:35:47] local.INFO: Processing buffer {"connection_id":175477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:35:47] local.INFO: IMEI packet received {"connection_id":175477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":175477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:35:52] local.INFO: TCP Data received {"connection_id":175477,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:35:52] local.INFO: Processing buffer {"connection_id":175477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:35:52] local.INFO: IMEI packet received {"connection_id":175477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":175477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:35:54] local.INFO: TCP Data received {"connection_id":175477,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:35:54] local.INFO: Processing buffer {"connection_id":175477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:35:54] local.INFO: Packet analysis {"connection_id":175477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:35:54] local.INFO: Extracted packet for processing {"connection_id":175477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:35:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908008448001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:35: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-09-06 19:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788703459000,"timestamp_ms":1788703459000,"timestamp_seconds":1788703459,"priority":1,"record_length":96,"hex_timestamp":"000001a07708c6b8"} 
[2026-09-06 19:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:35: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-09-06 19: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-06 19:35: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-09-06 19: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-09-06 19:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908008448001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908008448001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:35:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:35:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908008448001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":175477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:35:54] local.INFO: GPS data processed {"connection_id":175477,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:35:54] local.INFO: Acknowledgment sent {"connection_id":175477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:36:25] local.INFO: TCP Data received {"connection_id":175477,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:36:25] local.INFO: Processing buffer {"connection_id":175477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:36:25] local.INFO: Packet analysis {"connection_id":175477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:36:25] local.INFO: Extracted packet for processing {"connection_id":175477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:36:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908008448001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:36: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-09-06 19:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788703459000,"timestamp_ms":1788703459000,"timestamp_seconds":1788703459,"priority":1,"record_length":96,"hex_timestamp":"000001a07708c6b8"} 
[2026-09-06 19:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:36: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-09-06 19: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-06 19:36: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-09-06 19: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-09-06 19:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908008448001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-06 19:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908008448001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:36:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:36:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908008448001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":175477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:36:26] local.INFO: GPS data processed {"connection_id":175477,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:36:26] local.INFO: Acknowledgment sent {"connection_id":175477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:36:47] local.INFO: TCP Data received {"connection_id":174145,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:36:47] local.INFO: Processing buffer {"connection_id":174145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:36:47] local.INFO: IMEI packet received {"connection_id":174145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":174145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:36:52] local.INFO: TCP Data received {"connection_id":174145,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:36:52] local.INFO: Processing buffer {"connection_id":174145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:36:52] local.INFO: IMEI packet received {"connection_id":174145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":174145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:36:54] local.INFO: TCP Data received {"connection_id":174145,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:36:54] local.INFO: Processing buffer {"connection_id":174145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:36:54] local.INFO: Packet analysis {"connection_id":174145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:36:54] local.INFO: Extracted packet for processing {"connection_id":174145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:36:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 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-09-06 19:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908008448001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 19:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788703459000,"timestamp_ms":1788703459000,"timestamp_seconds":1788703459,"priority":1,"record_length":96,"hex_timestamp":"000001a07708c6b8"} 
[2026-09-06 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-09-06 19:36: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-09-06 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-06 19:36: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-09-06 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-09-06 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-09-06 19:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 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-09-06 19:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908008448001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908008448001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:36:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:36:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908008448001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":174145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:36:54] local.INFO: GPS data processed {"connection_id":174145,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:36:54] local.INFO: Acknowledgment sent {"connection_id":174145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:37:26] local.INFO: TCP Data received {"connection_id":174145,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:37:26] local.INFO: Processing buffer {"connection_id":174145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:37:26] local.INFO: Packet analysis {"connection_id":174145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:37:26] local.INFO: Extracted packet for processing {"connection_id":174145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:37:26] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908008448001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:37: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-09-06 19:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788703459000,"timestamp_ms":1788703459000,"timestamp_seconds":1788703459,"priority":1,"record_length":96,"hex_timestamp":"000001a07708c6b8"} 
[2026-09-06 19:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:37: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-09-06 19:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-06 19:37: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-09-06 19:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:37: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-09-06 19:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908008448001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908008448001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:37:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:37:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908008448001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":174145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:37:26] local.INFO: GPS data processed {"connection_id":174145,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:37:26] local.INFO: Acknowledgment sent {"connection_id":174145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:37:47] local.INFO: TCP Data received {"connection_id":174146,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:37:47] local.INFO: Processing buffer {"connection_id":174146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:37:47] local.INFO: IMEI packet received {"connection_id":174146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":174146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:37:52] local.INFO: TCP Data received {"connection_id":174146,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:37:52] local.INFO: Processing buffer {"connection_id":174146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:37:52] local.INFO: IMEI packet received {"connection_id":174146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":174146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:37:53] local.INFO: TCP Data received {"connection_id":174146,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:37:53] local.INFO: Processing buffer {"connection_id":174146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:37:53] local.INFO: Packet analysis {"connection_id":174146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:37:53] local.INFO: Extracted packet for processing {"connection_id":174146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908008448001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788703459000,"timestamp_ms":1788703459000,"timestamp_seconds":1788703459,"priority":1,"record_length":96,"hex_timestamp":"000001a07708c6b8"} 
[2026-09-06 19:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:37: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-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:37: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-09-06 19:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908008448001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908008448001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:37:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908008448001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":174146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:37:53] local.INFO: GPS data processed {"connection_id":174146,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:37:53] local.INFO: Acknowledgment sent {"connection_id":174146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:38:24] local.INFO: TCP Data received {"connection_id":174146,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:38:24] local.INFO: Processing buffer {"connection_id":174146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:38:24] local.INFO: Packet analysis {"connection_id":174146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:38:24] local.INFO: Extracted packet for processing {"connection_id":174146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:38:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908008448001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788703459000,"timestamp_ms":1788703459000,"timestamp_seconds":1788703459,"priority":1,"record_length":96,"hex_timestamp":"000001a07708c6b8"} 
[2026-09-06 19:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-06 19: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-09-06 19:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908008448001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908008448001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:38:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:38:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908008448001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":174146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:38:24] local.INFO: GPS data processed {"connection_id":174146,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:38:24] local.INFO: Acknowledgment sent {"connection_id":174146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:38:47] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:38:47] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:38:47] local.INFO: IMEI packet received {"connection_id":175479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":175479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:38:52] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:38:52] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:38:52] local.INFO: IMEI packet received {"connection_id":175479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":175479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:38:53] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:38:53] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:38:53] local.INFO: Packet analysis {"connection_id":175479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:38:53] local.INFO: Extracted packet for processing {"connection_id":175479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:38:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908008448001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788703459000,"timestamp_ms":1788703459000,"timestamp_seconds":1788703459,"priority":1,"record_length":96,"hex_timestamp":"000001a07708c6b8"} 
[2026-09-06 19:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:38: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-09-06 19: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":205,"data_length":795,"current_offset":136} 
[2026-09-06 19:38: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-09-06 19: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-09-06 19:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:38: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-09-06 19:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908008448001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908008448001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:38:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:38:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908008448001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":175479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:38:53] local.INFO: GPS data processed {"connection_id":175479,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:38:53] local.INFO: Acknowledgment sent {"connection_id":175479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:39:24] local.INFO: TCP Data received {"connection_id":175479,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:39:24] local.INFO: Processing buffer {"connection_id":175479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:39:24] local.INFO: Packet analysis {"connection_id":175479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:39:24] local.INFO: Extracted packet for processing {"connection_id":175479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:39:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908008448001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788703459000,"timestamp_ms":1788703459000,"timestamp_seconds":1788703459,"priority":1,"record_length":96,"hex_timestamp":"000001a07708c6b8"} 
[2026-09-06 19:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:39: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-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:39: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-09-06 19:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908008448001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908008448001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:39:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:39:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908008448001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":175479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:39:25] local.INFO: GPS data processed {"connection_id":175479,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:39:25] local.INFO: Acknowledgment sent {"connection_id":175479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:39:47] local.INFO: TCP Data received {"connection_id":172998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:39:47] local.INFO: Processing buffer {"connection_id":172998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:39:47] local.INFO: IMEI packet received {"connection_id":172998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":172998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:39:52] local.INFO: TCP Data received {"connection_id":172998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:39:52] local.INFO: Processing buffer {"connection_id":172998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:39:52] local.INFO: IMEI packet received {"connection_id":172998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":172998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:39:54] local.INFO: TCP Data received {"connection_id":172998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:39:54] local.INFO: Processing buffer {"connection_id":172998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07708c6b8012d34c9c006aa44480000015723..."} 
[2026-09-06 19:39:54] local.INFO: Packet analysis {"connection_id":172998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:39:54] local.INFO: Extracted packet for processing {"connection_id":172998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07708"} 
[2026-09-06 19:39:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":35,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908008448001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:39: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-09-06 19:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788703459000,"timestamp_ms":1788703459000,"timestamp_seconds":1788703459,"priority":1,"record_length":96,"hex_timestamp":"000001a07708c6b8"} 
[2026-09-06 19:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:39: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-09-06 19: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-06 19:39: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-09-06 19: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-09-06 19:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:39: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-09-06 19:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908008448001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908008448001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:39:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:39:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908008448001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":172998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:39:54] local.INFO: GPS data processed {"connection_id":172998,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:39:54] local.INFO: Acknowledgment sent {"connection_id":172998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:40:14] local.INFO: TCP Data received {"connection_id":174147,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:40:14] local.INFO: Processing buffer {"connection_id":174147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:40:14] local.INFO: IMEI packet received {"connection_id":174147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":174147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:40:27] local.INFO: TCP Data received {"connection_id":172998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:40:27] local.INFO: Processing buffer {"connection_id":172998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:40:27] local.INFO: Packet analysis {"connection_id":172998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:40:27] local.INFO: Extracted packet for processing {"connection_id":172998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:40:27] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908085504001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788703760000,"timestamp_ms":1788703760000,"timestamp_seconds":1788703760,"priority":1,"record_length":96,"hex_timestamp":"000001a0770d5e80"} 
[2026-09-06 19:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:40: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-09-06 19:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:40: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-09-06 19:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908085504001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908085504001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:40:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:40:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908085504001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":172998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:40:27] local.INFO: GPS data processed {"connection_id":172998,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:40:27] local.INFO: Acknowledgment sent {"connection_id":172998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:40:47] local.INFO: TCP Data received {"connection_id":174149,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:40:47] local.INFO: Processing buffer {"connection_id":174149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:40:47] local.INFO: IMEI packet received {"connection_id":174149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":174149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:40:47] local.INFO: TCP Data received {"connection_id":174148,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:40:47] local.INFO: Processing buffer {"connection_id":174148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:40:47] local.INFO: IMEI packet received {"connection_id":174148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":174148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:40:52] local.INFO: TCP Data received {"connection_id":174148,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:40:52] local.INFO: Processing buffer {"connection_id":174148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:40:52] local.INFO: IMEI packet received {"connection_id":174148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":174148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:40:53] local.INFO: TCP Data received {"connection_id":174148,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:40:53] local.INFO: Processing buffer {"connection_id":174148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:40:53] local.INFO: Packet analysis {"connection_id":174148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:40:53] local.INFO: Extracted packet for processing {"connection_id":174148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908085504001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788703760000,"timestamp_ms":1788703760000,"timestamp_seconds":1788703760,"priority":1,"record_length":96,"hex_timestamp":"000001a0770d5e80"} 
[2026-09-06 19:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:40: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-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:40: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-09-06 19:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908085504001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908085504001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:40:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:40:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908085504001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":174148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:40:53] local.INFO: GPS data processed {"connection_id":174148,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:40:53] local.INFO: Acknowledgment sent {"connection_id":174148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:41:24] local.INFO: TCP Data received {"connection_id":174148,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:41:24] local.INFO: Processing buffer {"connection_id":174148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:41:24] local.INFO: Packet analysis {"connection_id":174148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:41:24] local.INFO: Extracted packet for processing {"connection_id":174148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:41:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 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-09-06 19:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908085504001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 19:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788703760000,"timestamp_ms":1788703760000,"timestamp_seconds":1788703760,"priority":1,"record_length":96,"hex_timestamp":"000001a0770d5e80"} 
[2026-09-06 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-09-06 19: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-09-06 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 19: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-09-06 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-09-06 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-09-06 19:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 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-09-06 19:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908085504001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908085504001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:41:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:41:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908085504001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":174148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:41:24] local.INFO: GPS data processed {"connection_id":174148,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:41:24] local.INFO: Acknowledgment sent {"connection_id":174148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:41:47] local.INFO: TCP Data received {"connection_id":172999,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:41:47] local.INFO: Processing buffer {"connection_id":172999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:41:47] local.INFO: IMEI packet received {"connection_id":172999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":172999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:41:52] local.INFO: TCP Data received {"connection_id":172999,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:41:52] local.INFO: Processing buffer {"connection_id":172999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:41:52] local.INFO: IMEI packet received {"connection_id":172999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":172999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:41:52] local.INFO: TCP Data received {"connection_id":172999,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:41:53] local.INFO: Processing buffer {"connection_id":172999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:41:53] local.INFO: Packet analysis {"connection_id":172999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:41:53] local.INFO: Extracted packet for processing {"connection_id":172999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908085504001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788703760000,"timestamp_ms":1788703760000,"timestamp_seconds":1788703760,"priority":1,"record_length":96,"hex_timestamp":"000001a0770d5e80"} 
[2026-09-06 19:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:41: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-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:41: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-09-06 19:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908085504001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908085504001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:41:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908085504001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":172999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:41:53] local.INFO: GPS data processed {"connection_id":172999,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:41:53] local.INFO: Acknowledgment sent {"connection_id":172999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:42:24] local.INFO: TCP Data received {"connection_id":172999,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:42:24] local.INFO: Processing buffer {"connection_id":172999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:42:24] local.INFO: Packet analysis {"connection_id":172999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:42:24] local.INFO: Extracted packet for processing {"connection_id":172999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:42:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908085504001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788703760000,"timestamp_ms":1788703760000,"timestamp_seconds":1788703760,"priority":1,"record_length":96,"hex_timestamp":"000001a0770d5e80"} 
[2026-09-06 19:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:42: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-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:42: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-09-06 19: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-09-06 19:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:42: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-09-06 19:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908085504001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908085504001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:42:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:42:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908085504001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":172999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:42:24] local.INFO: GPS data processed {"connection_id":172999,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:42:24] local.INFO: Acknowledgment sent {"connection_id":172999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:42:47] local.INFO: TCP Data received {"connection_id":174150,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:42:47] local.INFO: Processing buffer {"connection_id":174150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:42:47] local.INFO: IMEI packet received {"connection_id":174150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":174150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:42:52] local.INFO: TCP Data received {"connection_id":174150,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:42:52] local.INFO: Processing buffer {"connection_id":174150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:42:52] local.INFO: IMEI packet received {"connection_id":174150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":174150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:42:53] local.INFO: TCP Data received {"connection_id":174150,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:42:53] local.INFO: Processing buffer {"connection_id":174150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:42:53] local.INFO: Packet analysis {"connection_id":174150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:42:53] local.INFO: Extracted packet for processing {"connection_id":174150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:42:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908085504001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788703760000,"timestamp_ms":1788703760000,"timestamp_seconds":1788703760,"priority":1,"record_length":96,"hex_timestamp":"000001a0770d5e80"} 
[2026-09-06 19:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:42: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-09-06 19: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-09-06 19:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:42: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-09-06 19:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908085504001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908085504001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:42:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:42:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908085504001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":174150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:42:53] local.INFO: GPS data processed {"connection_id":174150,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:42:53] local.INFO: Acknowledgment sent {"connection_id":174150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:43:24] local.INFO: TCP Data received {"connection_id":174150,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:43:24] local.INFO: Processing buffer {"connection_id":174150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:43:24] local.INFO: Packet analysis {"connection_id":174150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:43:24] local.INFO: Extracted packet for processing {"connection_id":174150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908085504001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788703760000,"timestamp_ms":1788703760000,"timestamp_seconds":1788703760,"priority":1,"record_length":96,"hex_timestamp":"000001a0770d5e80"} 
[2026-09-06 19:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:43: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-09-06 19: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-09-06 19:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:43: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-09-06 19:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908085504001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908085504001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:43:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:43:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908085504001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":174150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:43:24] local.INFO: GPS data processed {"connection_id":174150,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:43:24] local.INFO: Acknowledgment sent {"connection_id":174150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:43:47] local.INFO: TCP Data received {"connection_id":173000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:43:47] local.INFO: Processing buffer {"connection_id":173000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:43:47] local.INFO: IMEI packet received {"connection_id":173000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":173000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:43:53] local.INFO: TCP Data received {"connection_id":173000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:43:53] local.INFO: Processing buffer {"connection_id":173000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:43:53] local.INFO: IMEI packet received {"connection_id":173000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":173000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:43:55] local.INFO: TCP Data received {"connection_id":173000,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:43:55] local.INFO: Processing buffer {"connection_id":173000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:43:55] local.INFO: Packet analysis {"connection_id":173000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:43:55] local.INFO: Extracted packet for processing {"connection_id":173000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:43:55] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908085504001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:43: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-09-06 19:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788703760000,"timestamp_ms":1788703760000,"timestamp_seconds":1788703760,"priority":1,"record_length":96,"hex_timestamp":"000001a0770d5e80"} 
[2026-09-06 19:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:43: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-09-06 19:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:43:55] 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-09-06 19:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908085504001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908085504001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:43:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:43:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908085504001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":173000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:43:55] local.INFO: GPS data processed {"connection_id":173000,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:43:55] local.INFO: Acknowledgment sent {"connection_id":173000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:44:26] local.INFO: TCP Data received {"connection_id":173000,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:44:26] local.INFO: Processing buffer {"connection_id":173000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:44:26] local.INFO: Packet analysis {"connection_id":173000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:44:26] local.INFO: Extracted packet for processing {"connection_id":173000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:44:26] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908085504001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788703760000,"timestamp_ms":1788703760000,"timestamp_seconds":1788703760,"priority":1,"record_length":96,"hex_timestamp":"000001a0770d5e80"} 
[2026-09-06 19:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:44: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-09-06 19: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:44: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-09-06 19: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-09-06 19:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:44: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-09-06 19:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908085504001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908085504001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:44:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:44:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908085504001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":173000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:44:26] local.INFO: GPS data processed {"connection_id":173000,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:44:26] local.INFO: Acknowledgment sent {"connection_id":173000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:44:47] local.INFO: TCP Data received {"connection_id":172762,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:44:47] local.INFO: Processing buffer {"connection_id":172762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:44:47] local.INFO: IMEI packet received {"connection_id":172762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":172762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:44:52] local.INFO: TCP Data received {"connection_id":172762,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:44:52] local.INFO: Processing buffer {"connection_id":172762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:44:52] local.INFO: IMEI packet received {"connection_id":172762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":172762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:44:54] local.INFO: TCP Data received {"connection_id":172762,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:44:54] local.INFO: Processing buffer {"connection_id":172762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0770d5e80012d34c9c006aa44480000015725..."} 
[2026-09-06 19:44:54] local.INFO: Packet analysis {"connection_id":172762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:44:54] local.INFO: Extracted packet for processing {"connection_id":172762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0770d"} 
[2026-09-06 19:44:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908085504001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788703760000,"timestamp_ms":1788703760000,"timestamp_seconds":1788703760,"priority":1,"record_length":96,"hex_timestamp":"000001a0770d5e80"} 
[2026-09-06 19:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:44: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-09-06 19: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:44: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-09-06 19: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-09-06 19:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:44: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-09-06 19:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908085504001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908085504001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:44:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:44:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908085504001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":172762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:44:54] local.INFO: GPS data processed {"connection_id":172762,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:44:54] local.INFO: Acknowledgment sent {"connection_id":172762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:45:26] local.INFO: TCP Data received {"connection_id":172762,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:45:26] local.INFO: Processing buffer {"connection_id":172762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:45:26] local.INFO: Packet analysis {"connection_id":172762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:45:26] local.INFO: Extracted packet for processing {"connection_id":172762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:45:26] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908162560001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:45: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-09-06 19:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788704061000,"timestamp_ms":1788704061000,"timestamp_seconds":1788704061,"priority":1,"record_length":96,"hex_timestamp":"000001a07711f648"} 
[2026-09-06 19:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 19:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 19:45:26] 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-09-06 19:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:45: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-09-06 19:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908162560001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908162560001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:45:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:45:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908162560001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":172762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:45:26] local.INFO: GPS data processed {"connection_id":172762,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:45:26] local.INFO: Acknowledgment sent {"connection_id":172762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:45:47] local.INFO: TCP Data received {"connection_id":174151,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:45:47] local.INFO: Processing buffer {"connection_id":174151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:45:47] local.INFO: IMEI packet received {"connection_id":174151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":174151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:45:52] local.INFO: TCP Data received {"connection_id":174151,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:45:52] local.INFO: Processing buffer {"connection_id":174151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:45:52] local.INFO: IMEI packet received {"connection_id":174151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":174151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:45:53] local.INFO: TCP Data received {"connection_id":174151,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:45:53] local.INFO: Processing buffer {"connection_id":174151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:45:53] local.INFO: Packet analysis {"connection_id":174151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:45:53] local.INFO: Extracted packet for processing {"connection_id":174151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 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-09-06 19:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908162560001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 19:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788704061000,"timestamp_ms":1788704061000,"timestamp_seconds":1788704061,"priority":1,"record_length":96,"hex_timestamp":"000001a07711f648"} 
[2026-09-06 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-09-06 19:45: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-09-06 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 19:45: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-09-06 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-09-06 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-09-06 19:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 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-09-06 19:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908162560001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908162560001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:45:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:45:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908162560001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":174151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:45:53] local.INFO: GPS data processed {"connection_id":174151,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:45:53] local.INFO: Acknowledgment sent {"connection_id":174151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:46:09] local.INFO: TCP Data received {"connection_id":174152,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174152,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:46:09] local.INFO: Processing buffer {"connection_id":174152,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:46:09] local.INFO: IMEI packet received {"connection_id":174152,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":174152,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:46:24] local.INFO: TCP Data received {"connection_id":174151,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:46:24] local.INFO: Processing buffer {"connection_id":174151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:46:24] local.INFO: Packet analysis {"connection_id":174151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:46:24] local.INFO: Extracted packet for processing {"connection_id":174151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:46:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 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-09-06 19:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908162560001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 19:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788704061000,"timestamp_ms":1788704061000,"timestamp_seconds":1788704061,"priority":1,"record_length":96,"hex_timestamp":"000001a07711f648"} 
[2026-09-06 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-09-06 19:46: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-09-06 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 19:46: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-09-06 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-09-06 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-09-06 19:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 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-09-06 19:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908162560001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908162560001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:46:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:46:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908162560001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":174151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:46:24] local.INFO: GPS data processed {"connection_id":174151,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:46:24] local.INFO: Acknowledgment sent {"connection_id":174151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:46:47] local.INFO: TCP Data received {"connection_id":175481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:46:47] local.INFO: Processing buffer {"connection_id":175481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:46:47] local.INFO: IMEI packet received {"connection_id":175481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":175481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:46:49] local.INFO: TCP Data received {"connection_id":172763,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:46:49] local.INFO: Processing buffer {"connection_id":172763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:46:49] local.INFO: IMEI packet received {"connection_id":172763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":172763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:46:52] local.INFO: TCP Data received {"connection_id":175481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:46:52] local.INFO: Processing buffer {"connection_id":175481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:46:52] local.INFO: IMEI packet received {"connection_id":175481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":175481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:46:53] local.INFO: TCP Data received {"connection_id":175481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:46:53] local.INFO: Processing buffer {"connection_id":175481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:46:53] local.INFO: Packet analysis {"connection_id":175481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:46:53] local.INFO: Extracted packet for processing {"connection_id":175481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908162560001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788704061000,"timestamp_ms":1788704061000,"timestamp_seconds":1788704061,"priority":1,"record_length":96,"hex_timestamp":"000001a07711f648"} 
[2026-09-06 19:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:46: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-09-06 19: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 19:46: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-09-06 19: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-09-06 19:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:46: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-09-06 19:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908162560001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908162560001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:46:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908162560001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":175481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:46:54] local.INFO: GPS data processed {"connection_id":175481,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:46:54] local.INFO: Acknowledgment sent {"connection_id":175481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:47:25] local.INFO: TCP Data received {"connection_id":175481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:47:25] local.INFO: Processing buffer {"connection_id":175481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:47:25] local.INFO: Packet analysis {"connection_id":175481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:47:25] local.INFO: Extracted packet for processing {"connection_id":175481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:47:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908162560001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:47: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-09-06 19:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788704061000,"timestamp_ms":1788704061000,"timestamp_seconds":1788704061,"priority":1,"record_length":96,"hex_timestamp":"000001a07711f648"} 
[2026-09-06 19:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:47: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-09-06 19:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 19:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:47: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-09-06 19:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908162560001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908162560001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:47:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:47:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908162560001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":175481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:47:25] local.INFO: GPS data processed {"connection_id":175481,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:47:25] local.INFO: Acknowledgment sent {"connection_id":175481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:47:47] local.INFO: TCP Data received {"connection_id":172764,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:47:47] local.INFO: Processing buffer {"connection_id":172764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:47:47] local.INFO: IMEI packet received {"connection_id":172764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":172764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:47:52] local.INFO: TCP Data received {"connection_id":172764,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:47:52] local.INFO: Processing buffer {"connection_id":172764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:47:52] local.INFO: IMEI packet received {"connection_id":172764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":172764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:47:53] local.INFO: TCP Data received {"connection_id":172764,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:47:53] local.INFO: Processing buffer {"connection_id":172764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:47:53] local.INFO: Packet analysis {"connection_id":172764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:47:53] local.INFO: Extracted packet for processing {"connection_id":172764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908162560001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788704061000,"timestamp_ms":1788704061000,"timestamp_seconds":1788704061,"priority":1,"record_length":96,"hex_timestamp":"000001a07711f648"} 
[2026-09-06 19:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 19:47: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-09-06 19: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-09-06 19:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:47: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-09-06 19:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908162560001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908162560001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:47:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:47:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908162560001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":172764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:47:53] local.INFO: GPS data processed {"connection_id":172764,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:47:53] local.INFO: Acknowledgment sent {"connection_id":172764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:48:25] local.INFO: TCP Data received {"connection_id":172764,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:48:25] local.INFO: Processing buffer {"connection_id":172764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:48:25] local.INFO: Packet analysis {"connection_id":172764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:48:25] local.INFO: Extracted packet for processing {"connection_id":172764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:48:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908162560001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:48: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-09-06 19:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788704061000,"timestamp_ms":1788704061000,"timestamp_seconds":1788704061,"priority":1,"record_length":96,"hex_timestamp":"000001a07711f648"} 
[2026-09-06 19:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:48: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-09-06 19: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 19:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19: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-09-06 19:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:48: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-09-06 19:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908162560001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908162560001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:48:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:48:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908162560001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":172764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:48:25] local.INFO: GPS data processed {"connection_id":172764,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:48:25] local.INFO: Acknowledgment sent {"connection_id":172764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:48:47] local.INFO: TCP Data received {"connection_id":175482,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:48:47] local.INFO: Processing buffer {"connection_id":175482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:48:47] local.INFO: IMEI packet received {"connection_id":175482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":175482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:48:52] local.INFO: TCP Data received {"connection_id":175482,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:48:52] local.INFO: Processing buffer {"connection_id":175482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:48:52] local.INFO: IMEI packet received {"connection_id":175482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":175482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:48:54] local.INFO: TCP Data received {"connection_id":175482,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:48:54] local.INFO: Processing buffer {"connection_id":175482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:48:54] local.INFO: Packet analysis {"connection_id":175482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:48:54] local.INFO: Extracted packet for processing {"connection_id":175482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:48:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908162560001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:48: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-09-06 19:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788704061000,"timestamp_ms":1788704061000,"timestamp_seconds":1788704061,"priority":1,"record_length":96,"hex_timestamp":"000001a07711f648"} 
[2026-09-06 19:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:48: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-09-06 19: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 19:48:54] 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-09-06 19: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-09-06 19:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:48: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-09-06 19:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908162560001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908162560001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:48:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:48:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908162560001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":175482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:48:54] local.INFO: GPS data processed {"connection_id":175482,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:48:54] local.INFO: Acknowledgment sent {"connection_id":175482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:49:25] local.INFO: TCP Data received {"connection_id":175482,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:49:25] local.INFO: Processing buffer {"connection_id":175482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:49:25] local.INFO: Packet analysis {"connection_id":175482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:49:25] local.INFO: Extracted packet for processing {"connection_id":175482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:49:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908162560001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788704061000,"timestamp_ms":1788704061000,"timestamp_seconds":1788704061,"priority":1,"record_length":96,"hex_timestamp":"000001a07711f648"} 
[2026-09-06 19:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 19:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19: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-09-06 19:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:49: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-09-06 19:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908162560001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908162560001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:49:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:49:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908162560001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":175482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:49:25] local.INFO: GPS data processed {"connection_id":175482,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:49:25] local.INFO: Acknowledgment sent {"connection_id":175482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:49:47] local.INFO: TCP Data received {"connection_id":172765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:49:47] local.INFO: Processing buffer {"connection_id":172765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:49:47] local.INFO: IMEI packet received {"connection_id":172765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":172765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:49:52] local.INFO: TCP Data received {"connection_id":172765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:49:52] local.INFO: Processing buffer {"connection_id":172765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:49:52] local.INFO: IMEI packet received {"connection_id":172765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":172765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:49:53] local.INFO: TCP Data received {"connection_id":172765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:49:53] local.INFO: Processing buffer {"connection_id":172765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07711f648012d34c9c006aa44480000015727..."} 
[2026-09-06 19:49:53] local.INFO: Packet analysis {"connection_id":172765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:49:53] local.INFO: Extracted packet for processing {"connection_id":172765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07711"} 
[2026-09-06 19:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908162560001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788704061000,"timestamp_ms":1788704061000,"timestamp_seconds":1788704061,"priority":1,"record_length":96,"hex_timestamp":"000001a07711f648"} 
[2026-09-06 19:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:49: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-09-06 19:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908162560001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908162560001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:49:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908162560001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":172765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:49:53] local.INFO: GPS data processed {"connection_id":172765,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:49:53] local.INFO: Acknowledgment sent {"connection_id":172765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:50:24] local.INFO: TCP Data received {"connection_id":172765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:50:24] local.INFO: Processing buffer {"connection_id":172765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:50:24] local.INFO: Packet analysis {"connection_id":172765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:50:24] local.INFO: Extracted packet for processing {"connection_id":172765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:50:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908239616001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788704362000,"timestamp_ms":1788704362000,"timestamp_seconds":1788704362,"priority":1,"record_length":96,"hex_timestamp":"000001a077168e10"} 
[2026-09-06 19:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:50: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-09-06 19:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:50: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-09-06 19:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908239616001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908239616001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:50:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908239616001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":172765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:50:24] local.INFO: GPS data processed {"connection_id":172765,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:50:24] local.INFO: Acknowledgment sent {"connection_id":172765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:50:47] local.INFO: TCP Data received {"connection_id":174153,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:50:47] local.INFO: Processing buffer {"connection_id":174153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:50:47] local.INFO: IMEI packet received {"connection_id":174153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":174153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:50:52] local.INFO: TCP Data received {"connection_id":174153,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:50:52] local.INFO: Processing buffer {"connection_id":174153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:50:52] local.INFO: IMEI packet received {"connection_id":174153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":174153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:50:53] local.INFO: TCP Data received {"connection_id":174153,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:50:53] local.INFO: Processing buffer {"connection_id":174153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:50:53] local.INFO: Packet analysis {"connection_id":174153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:50:53] local.INFO: Extracted packet for processing {"connection_id":174153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:50:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908239616001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788704362000,"timestamp_ms":1788704362000,"timestamp_seconds":1788704362,"priority":1,"record_length":96,"hex_timestamp":"000001a077168e10"} 
[2026-09-06 19:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:50: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-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:50: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-09-06 19: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-09-06 19:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:50: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-09-06 19:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908239616001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908239616001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:50:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:50:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908239616001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":174153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:50:53] local.INFO: GPS data processed {"connection_id":174153,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:50:53] local.INFO: Acknowledgment sent {"connection_id":174153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:51:24] local.INFO: TCP Data received {"connection_id":174153,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:51:24] local.INFO: Processing buffer {"connection_id":174153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:51:24] local.INFO: Packet analysis {"connection_id":174153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:51:24] local.INFO: Extracted packet for processing {"connection_id":174153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:51:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908239616001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788704362000,"timestamp_ms":1788704362000,"timestamp_seconds":1788704362,"priority":1,"record_length":96,"hex_timestamp":"000001a077168e10"} 
[2026-09-06 19:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:51: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-09-06 19: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-09-06 19:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19: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-09-06 19:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908239616001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908239616001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:51:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:51:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908239616001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":174153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:51:24] local.INFO: GPS data processed {"connection_id":174153,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:51:24] local.INFO: Acknowledgment sent {"connection_id":174153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:51:47] local.INFO: TCP Data received {"connection_id":173002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:51:47] local.INFO: Processing buffer {"connection_id":173002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:51:47] local.INFO: IMEI packet received {"connection_id":173002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":173002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:51:52] local.INFO: TCP Data received {"connection_id":173002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:51:52] local.INFO: Processing buffer {"connection_id":173002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:51:52] local.INFO: IMEI packet received {"connection_id":173002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":173002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:51:53] local.INFO: TCP Data received {"connection_id":173002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:51:53] local.INFO: Processing buffer {"connection_id":173002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:51:53] local.INFO: Packet analysis {"connection_id":173002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:51:53] local.INFO: Extracted packet for processing {"connection_id":173002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908239616001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788704362000,"timestamp_ms":1788704362000,"timestamp_seconds":1788704362,"priority":1,"record_length":96,"hex_timestamp":"000001a077168e10"} 
[2026-09-06 19:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:51: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-09-06 19: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-09-06 19:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:51: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-09-06 19:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908239616001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908239616001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:51:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:51:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908239616001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":173002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:51:53] local.INFO: GPS data processed {"connection_id":173002,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:51:53] local.INFO: Acknowledgment sent {"connection_id":173002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:52:04] local.INFO: TCP Data received {"connection_id":174154,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:52:04] local.INFO: Processing buffer {"connection_id":174154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:52:04] local.INFO: IMEI packet received {"connection_id":174154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":174154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:52:25] local.INFO: TCP Data received {"connection_id":173002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:52:25] local.INFO: Processing buffer {"connection_id":173002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:52:25] local.INFO: Packet analysis {"connection_id":173002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:52:25] local.INFO: Extracted packet for processing {"connection_id":173002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:52:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 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-09-06 19:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908239616001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 19:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788704362000,"timestamp_ms":1788704362000,"timestamp_seconds":1788704362,"priority":1,"record_length":96,"hex_timestamp":"000001a077168e10"} 
[2026-09-06 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-09-06 19: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-09-06 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:52: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-09-06 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-09-06 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-09-06 19:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:52: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-09-06 19:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908239616001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908239616001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:52:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:52:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908239616001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":173002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:52:25] local.INFO: GPS data processed {"connection_id":173002,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:52:25] local.INFO: Acknowledgment sent {"connection_id":173002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:52:47] local.INFO: TCP Data received {"connection_id":174155,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:52:47] local.INFO: Processing buffer {"connection_id":174155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:52:47] local.INFO: IMEI packet received {"connection_id":174155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":174155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:52:49] local.INFO: TCP Data received {"connection_id":175484,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:52:49] local.INFO: Processing buffer {"connection_id":175484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:52:49] local.INFO: IMEI packet received {"connection_id":175484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":175484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:52:52] local.INFO: TCP Data received {"connection_id":174155,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:52:52] local.INFO: Processing buffer {"connection_id":174155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:52:52] local.INFO: IMEI packet received {"connection_id":174155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":174155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:52:53] local.INFO: TCP Data received {"connection_id":174155,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:52:53] local.INFO: Processing buffer {"connection_id":174155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:52:53] local.INFO: Packet analysis {"connection_id":174155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:52:53] local.INFO: Extracted packet for processing {"connection_id":174155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:52:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908239616001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788704362000,"timestamp_ms":1788704362000,"timestamp_seconds":1788704362,"priority":1,"record_length":96,"hex_timestamp":"000001a077168e10"} 
[2026-09-06 19:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:52: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-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:52: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-09-06 19: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-09-06 19:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:52: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-09-06 19:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908239616001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908239616001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:52:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908239616001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":174155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:52:53] local.INFO: GPS data processed {"connection_id":174155,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:52:53] local.INFO: Acknowledgment sent {"connection_id":174155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:53:24] local.INFO: TCP Data received {"connection_id":174155,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:53:25] local.INFO: Processing buffer {"connection_id":174155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:53:25] local.INFO: Packet analysis {"connection_id":174155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:53:25] local.INFO: Extracted packet for processing {"connection_id":174155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:53:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908239616001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788704362000,"timestamp_ms":1788704362000,"timestamp_seconds":1788704362,"priority":1,"record_length":96,"hex_timestamp":"000001a077168e10"} 
[2026-09-06 19:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:53: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-09-06 19:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:53: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-09-06 19: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-09-06 19:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:53: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-09-06 19:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908239616001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908239616001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:53:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:53:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908239616001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":174155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:53:25] local.INFO: GPS data processed {"connection_id":174155,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:53:25] local.INFO: Acknowledgment sent {"connection_id":174155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:53:47] local.INFO: TCP Data received {"connection_id":172769,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:53:47] local.INFO: Processing buffer {"connection_id":172769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:53:47] local.INFO: IMEI packet received {"connection_id":172769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":172769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:53:52] local.INFO: TCP Data received {"connection_id":172769,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:53:52] local.INFO: Processing buffer {"connection_id":172769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:53:52] local.INFO: IMEI packet received {"connection_id":172769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":172769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:53:53] local.INFO: TCP Data received {"connection_id":172769,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:53:53] local.INFO: Processing buffer {"connection_id":172769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:53:53] local.INFO: Packet analysis {"connection_id":172769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:53:53] local.INFO: Extracted packet for processing {"connection_id":172769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908239616001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788704362000,"timestamp_ms":1788704362000,"timestamp_seconds":1788704362,"priority":1,"record_length":96,"hex_timestamp":"000001a077168e10"} 
[2026-09-06 19:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:53: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-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:53: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-09-06 19: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-09-06 19:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:53: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-09-06 19:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908239616001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908239616001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:53:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908239616001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":172769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:53:53] local.INFO: GPS data processed {"connection_id":172769,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:53:53] local.INFO: Acknowledgment sent {"connection_id":172769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:54:25] local.INFO: TCP Data received {"connection_id":172769,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:54:25] local.INFO: Processing buffer {"connection_id":172769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:54:25] local.INFO: Packet analysis {"connection_id":172769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:54:25] local.INFO: Extracted packet for processing {"connection_id":172769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:54:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908239616001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788704362000,"timestamp_ms":1788704362000,"timestamp_seconds":1788704362,"priority":1,"record_length":96,"hex_timestamp":"000001a077168e10"} 
[2026-09-06 19:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:54: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-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:54: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-09-06 19: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-09-06 19:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:54: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-09-06 19:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908239616001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908239616001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:54:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:54:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908239616001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":172769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:54:25] local.INFO: GPS data processed {"connection_id":172769,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:54:25] local.INFO: Acknowledgment sent {"connection_id":172769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:54:47] local.INFO: TCP Data received {"connection_id":175486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:54:47] local.INFO: Processing buffer {"connection_id":175486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:54:47] local.INFO: IMEI packet received {"connection_id":175486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":175486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:54:52] local.INFO: TCP Data received {"connection_id":175486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:54:52] local.INFO: Processing buffer {"connection_id":175486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:54:52] local.INFO: IMEI packet received {"connection_id":175486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":175486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:54:53] local.INFO: TCP Data received {"connection_id":175486,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:54:53] local.INFO: Processing buffer {"connection_id":175486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077168e10012d34c9c006aa4448000001571f..."} 
[2026-09-06 19:54:53] local.INFO: Packet analysis {"connection_id":175486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:54:53] local.INFO: Extracted packet for processing {"connection_id":175486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07716"} 
[2026-09-06 19:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":31,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908239616001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788704362000,"timestamp_ms":1788704362000,"timestamp_seconds":1788704362,"priority":1,"record_length":96,"hex_timestamp":"000001a077168e10"} 
[2026-09-06 19:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:54: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-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19: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-09-06 19:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908239616001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908239616001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:54:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908239616001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":175486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:54:53] local.INFO: GPS data processed {"connection_id":175486,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:54:53] local.INFO: Acknowledgment sent {"connection_id":175486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:55:24] local.INFO: TCP Data received {"connection_id":175486,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:55:24] local.INFO: Processing buffer {"connection_id":175486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:55:24] local.INFO: Packet analysis {"connection_id":175486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:55:24] local.INFO: Extracted packet for processing {"connection_id":175486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908316672001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788704663000,"timestamp_ms":1788704663000,"timestamp_seconds":1788704663,"priority":1,"record_length":96,"hex_timestamp":"000001a0771b25d8"} 
[2026-09-06 19:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 19: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-09-06 19:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19: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-09-06 19:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908316672001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908316672001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:55:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908316672001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":175486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:55:24] local.INFO: GPS data processed {"connection_id":175486,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:55:24] local.INFO: Acknowledgment sent {"connection_id":175486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:55:52] local.INFO: TCP Data received {"connection_id":175488,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:55:52] local.INFO: Processing buffer {"connection_id":175488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:55:52] local.INFO: IMEI packet received {"connection_id":175488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":175488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:55:57] local.INFO: TCP Data received {"connection_id":175488,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:55:57] local.INFO: Processing buffer {"connection_id":175488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:55:57] local.INFO: IMEI packet received {"connection_id":175488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":175488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:55:58] local.INFO: TCP Data received {"connection_id":175488,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:55:58] local.INFO: Processing buffer {"connection_id":175488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:55:58] local.INFO: Packet analysis {"connection_id":175488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:55:58] local.INFO: Extracted packet for processing {"connection_id":175488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:55:58] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908316672001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788704663000,"timestamp_ms":1788704663000,"timestamp_seconds":1788704663,"priority":1,"record_length":96,"hex_timestamp":"000001a0771b25d8"} 
[2026-09-06 19:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:55: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-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:55: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-09-06 19: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-09-06 19:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:55: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-09-06 19:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908316672001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908316672001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:55:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:55:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908316672001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":175488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:55:58] local.INFO: GPS data processed {"connection_id":175488,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:55:58] local.INFO: Acknowledgment sent {"connection_id":175488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:56:02] local.INFO: TCP Data received {"connection_id":175488,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:56:02] local.INFO: Processing buffer {"connection_id":175488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:56:02] local.INFO: Packet analysis {"connection_id":175488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:56:02] local.INFO: Extracted packet for processing {"connection_id":175488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:56:02] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908316672001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788704663000,"timestamp_ms":1788704663000,"timestamp_seconds":1788704663,"priority":1,"record_length":96,"hex_timestamp":"000001a0771b25d8"} 
[2026-09-06 19:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:56: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-09-06 19:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:56: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-09-06 19:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908316672001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908316672001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:56:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:56:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908316672001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":175488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:56:02] local.INFO: GPS data processed {"connection_id":175488,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:56:02] local.INFO: Acknowledgment sent {"connection_id":175488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:56:47] local.INFO: TCP Data received {"connection_id":172770,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:56:47] local.INFO: Processing buffer {"connection_id":172770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:56:47] local.INFO: IMEI packet received {"connection_id":172770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":172770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:56:52] local.INFO: TCP Data received {"connection_id":172770,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:56:52] local.INFO: Processing buffer {"connection_id":172770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:56:52] local.INFO: IMEI packet received {"connection_id":172770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":172770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:56:54] local.INFO: TCP Data received {"connection_id":172770,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:56:54] local.INFO: Processing buffer {"connection_id":172770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:56:54] local.INFO: Packet analysis {"connection_id":172770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:56:54] local.INFO: Extracted packet for processing {"connection_id":172770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:56:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908316672001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:56: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-09-06 19:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788704663000,"timestamp_ms":1788704663000,"timestamp_seconds":1788704663,"priority":1,"record_length":96,"hex_timestamp":"000001a0771b25d8"} 
[2026-09-06 19:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:56: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-09-06 19: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:56: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-09-06 19: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-09-06 19:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:56: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-09-06 19:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908316672001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908316672001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:56:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:56:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908316672001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":172770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:56:54] local.INFO: GPS data processed {"connection_id":172770,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:56:54] local.INFO: Acknowledgment sent {"connection_id":172770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:57:25] local.INFO: TCP Data received {"connection_id":172770,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:57:25] local.INFO: Processing buffer {"connection_id":172770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:57:25] local.INFO: Packet analysis {"connection_id":172770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:57:25] local.INFO: Extracted packet for processing {"connection_id":172770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:57:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908316672001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788704663000,"timestamp_ms":1788704663000,"timestamp_seconds":1788704663,"priority":1,"record_length":96,"hex_timestamp":"000001a0771b25d8"} 
[2026-09-06 19:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:57: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-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:57: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-09-06 19: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-09-06 19:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:57: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-09-06 19:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908316672001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908316672001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:57:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:57:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908316672001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":172770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:57:25] local.INFO: GPS data processed {"connection_id":172770,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:57:25] local.INFO: Acknowledgment sent {"connection_id":172770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:57:48] local.INFO: TCP Data received {"connection_id":174156,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:57:48] local.INFO: Processing buffer {"connection_id":174156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:57:48] local.INFO: IMEI packet received {"connection_id":174156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":174156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:57:52] local.INFO: TCP Data received {"connection_id":174156,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:57:52] local.INFO: Processing buffer {"connection_id":174156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:57:52] local.INFO: IMEI packet received {"connection_id":174156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":174156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:57:53] local.INFO: TCP Data received {"connection_id":174156,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:57:53] local.INFO: Processing buffer {"connection_id":174156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:57:53] local.INFO: Packet analysis {"connection_id":174156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:57:53] local.INFO: Extracted packet for processing {"connection_id":174156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:57:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908316672001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788704663000,"timestamp_ms":1788704663000,"timestamp_seconds":1788704663,"priority":1,"record_length":96,"hex_timestamp":"000001a0771b25d8"} 
[2026-09-06 19:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:57: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-09-06 19: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-09-06 19: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-09-06 19: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-09-06 19:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:57: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-09-06 19:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908316672001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908316672001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:57:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:57:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908316672001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":174156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:57:53] local.INFO: GPS data processed {"connection_id":174156,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:57:53] local.INFO: Acknowledgment sent {"connection_id":174156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:57:58] local.INFO: TCP Data received {"connection_id":174156,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:57:58] local.INFO: Processing buffer {"connection_id":174156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:57:58] local.INFO: Packet analysis {"connection_id":174156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:57:58] local.INFO: Extracted packet for processing {"connection_id":174156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:57:58] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908316672001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:57: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-09-06 19:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788704663000,"timestamp_ms":1788704663000,"timestamp_seconds":1788704663,"priority":1,"record_length":96,"hex_timestamp":"000001a0771b25d8"} 
[2026-09-06 19:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:57: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-09-06 19:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:57: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-09-06 19:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908316672001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908316672001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:57:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:57:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908316672001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":174156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:57:58] local.INFO: GPS data processed {"connection_id":174156,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:57:58] local.INFO: Acknowledgment sent {"connection_id":174156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:58:14] local.INFO: TCP Data received {"connection_id":172772,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:58:14] local.INFO: Processing buffer {"connection_id":172772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:58:14] local.INFO: IMEI packet received {"connection_id":172772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":172772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:58:30] local.INFO: TCP Data received {"connection_id":174156,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:58:30] local.INFO: Processing buffer {"connection_id":174156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:58:30] local.INFO: Packet analysis {"connection_id":174156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:58:30] local.INFO: Extracted packet for processing {"connection_id":174156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:58:30] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 19:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908316672001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19:58: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-09-06 19:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788704663000,"timestamp_ms":1788704663000,"timestamp_seconds":1788704663,"priority":1,"record_length":96,"hex_timestamp":"000001a0771b25d8"} 
[2026-09-06 19:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:58: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-09-06 19:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 19:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 19:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 19:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908316672001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908316672001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:58:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:58:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908316672001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":174156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:58:30] local.INFO: GPS data processed {"connection_id":174156,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:58:30] local.INFO: Acknowledgment sent {"connection_id":174156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:58:47] local.INFO: TCP Data received {"connection_id":172773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:58:47] local.INFO: Processing buffer {"connection_id":172773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:58:47] local.INFO: IMEI packet received {"connection_id":172773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":172773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:58:52] local.INFO: TCP Data received {"connection_id":172773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:58:52] local.INFO: Processing buffer {"connection_id":172773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:58:52] local.INFO: IMEI packet received {"connection_id":172773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":172773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:58:52] local.INFO: TCP Data received {"connection_id":173004,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:58:52] local.INFO: Processing buffer {"connection_id":173004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 19:58:52] local.INFO: IMEI packet received {"connection_id":173004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 19:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":173004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:58:53] local.INFO: TCP Data received {"connection_id":172773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:58:53] local.INFO: Processing buffer {"connection_id":172773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:58:53] local.INFO: Packet analysis {"connection_id":172773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:58:53] local.INFO: Extracted packet for processing {"connection_id":172773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908316672001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788704663000,"timestamp_ms":1788704663000,"timestamp_seconds":1788704663,"priority":1,"record_length":96,"hex_timestamp":"000001a0771b25d8"} 
[2026-09-06 19:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19:58: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-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:58: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-09-06 19: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-09-06 19:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:58: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-09-06 19:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908316672001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908316672001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:58:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908316672001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":172773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:58:53] local.INFO: GPS data processed {"connection_id":172773,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:58:53] local.INFO: Acknowledgment sent {"connection_id":172773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:59:24] local.INFO: TCP Data received {"connection_id":172773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:59:24] local.INFO: Processing buffer {"connection_id":172773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:59:24] local.INFO: Packet analysis {"connection_id":172773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:59:24] local.INFO: Extracted packet for processing {"connection_id":172773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908316672001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788704663000,"timestamp_ms":1788704663000,"timestamp_seconds":1788704663,"priority":1,"record_length":96,"hex_timestamp":"000001a0771b25d8"} 
[2026-09-06 19:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:59: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-09-06 19: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-09-06 19:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:59: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-09-06 19:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908316672001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908316672001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:59:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908316672001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":172773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:59:24] local.INFO: GPS data processed {"connection_id":172773,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:59:24] local.INFO: Acknowledgment sent {"connection_id":172773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 19:59:47] local.INFO: TCP Data received {"connection_id":174157,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:59:47] local.INFO: Processing buffer {"connection_id":174157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:59:47] local.INFO: IMEI packet received {"connection_id":174157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 19:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":174157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 19:59:52] local.INFO: TCP Data received {"connection_id":174157,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:59:52] local.INFO: Processing buffer {"connection_id":174157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 19:59:52] local.INFO: IMEI packet received {"connection_id":174157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 19:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":174157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 19:59:53] local.INFO: TCP Data received {"connection_id":174157,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:59:53] local.INFO: Processing buffer {"connection_id":174157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771b25d8012d34c9c006aa44480000015726..."} 
[2026-09-06 19:59:53] local.INFO: Packet analysis {"connection_id":174157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:59:53] local.INFO: Extracted packet for processing {"connection_id":174157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771b"} 
[2026-09-06 19:59:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 19: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-09-06 19:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908316672001,"note":"Value kept but may cause issues"} 
[2026-09-06 19:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 19:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 19: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-09-06 19:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788704663000,"timestamp_ms":1788704663000,"timestamp_seconds":1788704663,"priority":1,"record_length":96,"hex_timestamp":"000001a0771b25d8"} 
[2026-09-06 19:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 19: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-09-06 19: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 19:59: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-09-06 19: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-09-06 19:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 19:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 19:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 19:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 19:59: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-09-06 19:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 19:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 19:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908316672001,"66":25756,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 19:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 19:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 19:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908316672001,"description":"Unknown IO ID 0"} 
[2026-09-06 19:59:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 19:59:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 19:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 19:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 19:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908316672001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 19:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":174157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 19:59:53] local.INFO: GPS data processed {"connection_id":174157,"processed":1,"errors":0,"total":1} 
[2026-09-06 19:59:53] local.INFO: Acknowledgment sent {"connection_id":174157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:00:24] local.INFO: TCP Data received {"connection_id":174157,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:00:24] local.INFO: Processing buffer {"connection_id":174157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:00:24] local.INFO: Packet analysis {"connection_id":174157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:00:24] local.INFO: Extracted packet for processing {"connection_id":174157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908393728001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788704964000,"timestamp_ms":1788704964000,"timestamp_seconds":1788704964,"priority":1,"record_length":96,"hex_timestamp":"000001a0771fbda0"} 
[2026-09-06 20:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 20:00: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-09-06 20: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-09-06 20:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:00: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-09-06 20:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908393728001,"66":25745,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908393728001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:00:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908393728001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":174157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:00:24] local.INFO: GPS data processed {"connection_id":174157,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:00:24] local.INFO: Acknowledgment sent {"connection_id":174157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:00:47] local.INFO: TCP Data received {"connection_id":173005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:00:47] local.INFO: Processing buffer {"connection_id":173005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:00:47] local.INFO: IMEI packet received {"connection_id":173005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":173005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:00:52] local.INFO: TCP Data received {"connection_id":173005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:00:52] local.INFO: Processing buffer {"connection_id":173005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:00:52] local.INFO: IMEI packet received {"connection_id":173005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":173005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:00:53] local.INFO: TCP Data received {"connection_id":173005,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:00:53] local.INFO: Processing buffer {"connection_id":173005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:00:53] local.INFO: Packet analysis {"connection_id":173005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:00:53] local.INFO: Extracted packet for processing {"connection_id":173005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908393728001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788704964000,"timestamp_ms":1788704964000,"timestamp_seconds":1788704964,"priority":1,"record_length":96,"hex_timestamp":"000001a0771fbda0"} 
[2026-09-06 20:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:00: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-09-06 20: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 20:00: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-09-06 20: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-09-06 20:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:00: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-09-06 20:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908393728001,"66":25745,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908393728001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:00:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908393728001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":173005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:00:53] local.INFO: GPS data processed {"connection_id":173005,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:00:53] local.INFO: Acknowledgment sent {"connection_id":173005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:01:24] local.INFO: TCP Data received {"connection_id":173005,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:01:24] local.INFO: Processing buffer {"connection_id":173005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:01:24] local.INFO: Packet analysis {"connection_id":173005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:01:24] local.INFO: Extracted packet for processing {"connection_id":173005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:01:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908393728001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788704964000,"timestamp_ms":1788704964000,"timestamp_seconds":1788704964,"priority":1,"record_length":96,"hex_timestamp":"000001a0771fbda0"} 
[2026-09-06 20:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 20:01: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-09-06 20: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-09-06 20:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:01: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-09-06 20:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908393728001,"66":25745,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908393728001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:01:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:01:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908393728001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":173005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:01:24] local.INFO: GPS data processed {"connection_id":173005,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:01:24] local.INFO: Acknowledgment sent {"connection_id":173005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:01:52] local.INFO: TCP Data received {"connection_id":174158,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:01:52] local.INFO: Processing buffer {"connection_id":174158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:01:52] local.INFO: IMEI packet received {"connection_id":174158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":174158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:01:57] local.INFO: TCP Data received {"connection_id":174158,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:01:57] local.INFO: Processing buffer {"connection_id":174158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:01:57] local.INFO: IMEI packet received {"connection_id":174158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":174158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:01:58] local.INFO: TCP Data received {"connection_id":174158,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:01:58] local.INFO: Processing buffer {"connection_id":174158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:01:58] local.INFO: Packet analysis {"connection_id":174158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:01:58] local.INFO: Extracted packet for processing {"connection_id":174158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:01:58] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908393728001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20:01: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-09-06 20:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788704964000,"timestamp_ms":1788704964000,"timestamp_seconds":1788704964,"priority":1,"record_length":96,"hex_timestamp":"000001a0771fbda0"} 
[2026-09-06 20:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:01: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-09-06 20:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 20:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:01: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-09-06 20:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908393728001,"66":25745,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908393728001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:01:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:01:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908393728001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":174158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:01:58] local.INFO: GPS data processed {"connection_id":174158,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:01:58] local.INFO: Acknowledgment sent {"connection_id":174158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:02:03] local.INFO: TCP Data received {"connection_id":174158,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:02:03] local.INFO: Processing buffer {"connection_id":174158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:02:03] local.INFO: Packet analysis {"connection_id":174158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:02:03] local.INFO: Extracted packet for processing {"connection_id":174158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908393728001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20:02: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-09-06 20:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788704964000,"timestamp_ms":1788704964000,"timestamp_seconds":1788704964,"priority":1,"record_length":96,"hex_timestamp":"000001a0771fbda0"} 
[2026-09-06 20:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:02: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-09-06 20:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 20:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908393728001,"66":25745,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908393728001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:02:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908393728001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":174158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:02:03] local.INFO: GPS data processed {"connection_id":174158,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:02:03] local.INFO: Acknowledgment sent {"connection_id":174158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:02:47] local.INFO: TCP Data received {"connection_id":173006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:02:47] local.INFO: Processing buffer {"connection_id":173006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:02:47] local.INFO: IMEI packet received {"connection_id":173006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":173006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:02:52] local.INFO: TCP Data received {"connection_id":173006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:02:52] local.INFO: Processing buffer {"connection_id":173006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:02:52] local.INFO: IMEI packet received {"connection_id":173006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":173006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:02:53] local.INFO: TCP Data received {"connection_id":173006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:02:53] local.INFO: Processing buffer {"connection_id":173006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:02:53] local.INFO: Packet analysis {"connection_id":173006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:02:53] local.INFO: Extracted packet for processing {"connection_id":173006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908393728001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788704964000,"timestamp_ms":1788704964000,"timestamp_seconds":1788704964,"priority":1,"record_length":96,"hex_timestamp":"000001a0771fbda0"} 
[2026-09-06 20:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 20:02: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-09-06 20: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-09-06 20:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:02: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-09-06 20:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908393728001,"66":25745,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908393728001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:02:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908393728001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":173006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:02:53] local.INFO: GPS data processed {"connection_id":173006,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:02:53] local.INFO: Acknowledgment sent {"connection_id":173006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:02:57] local.INFO: TCP Data received {"connection_id":173006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:02:57] local.INFO: Processing buffer {"connection_id":173006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:02:57] local.INFO: Packet analysis {"connection_id":173006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:02:57] local.INFO: Extracted packet for processing {"connection_id":173006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:02:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908393728001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788704964000,"timestamp_ms":1788704964000,"timestamp_seconds":1788704964,"priority":1,"record_length":96,"hex_timestamp":"000001a0771fbda0"} 
[2026-09-06 20:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:02: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-09-06 20:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 20:02: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-09-06 20:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908393728001,"66":25745,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908393728001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:02:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:02:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908393728001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":173006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:02:57] local.INFO: GPS data processed {"connection_id":173006,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:02:57] local.INFO: Acknowledgment sent {"connection_id":173006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:03:29] local.INFO: TCP Data received {"connection_id":173006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:03:29] local.INFO: Processing buffer {"connection_id":173006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:03:29] local.INFO: Packet analysis {"connection_id":173006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:03:29] local.INFO: Extracted packet for processing {"connection_id":173006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:03:29] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908393728001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20:03: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-09-06 20:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788704964000,"timestamp_ms":1788704964000,"timestamp_seconds":1788704964,"priority":1,"record_length":96,"hex_timestamp":"000001a0771fbda0"} 
[2026-09-06 20:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:03: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-09-06 20:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-06 20:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908393728001,"66":25745,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908393728001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:03:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:03:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908393728001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":173006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:03:29] local.INFO: GPS data processed {"connection_id":173006,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:03:29] local.INFO: Acknowledgment sent {"connection_id":173006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:03:47] local.INFO: TCP Data received {"connection_id":175490,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:03:47] local.INFO: Processing buffer {"connection_id":175490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:03:47] local.INFO: IMEI packet received {"connection_id":175490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":175490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:03:52] local.INFO: TCP Data received {"connection_id":175490,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:03:52] local.INFO: Processing buffer {"connection_id":175490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:03:52] local.INFO: IMEI packet received {"connection_id":175490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":175490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:03:53] local.INFO: TCP Data received {"connection_id":175490,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:03:53] local.INFO: Processing buffer {"connection_id":175490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:03:53] local.INFO: Packet analysis {"connection_id":175490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:03:53] local.INFO: Extracted packet for processing {"connection_id":175490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:03:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908393728001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788704964000,"timestamp_ms":1788704964000,"timestamp_seconds":1788704964,"priority":1,"record_length":96,"hex_timestamp":"000001a0771fbda0"} 
[2026-09-06 20:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:03: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-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:03: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-09-06 20:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908393728001,"66":25745,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908393728001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:03:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:03:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908393728001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":175490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:03:53] local.INFO: GPS data processed {"connection_id":175490,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:03:53] local.INFO: Acknowledgment sent {"connection_id":175490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:04:24] local.INFO: TCP Data received {"connection_id":175490,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:04:24] local.INFO: Processing buffer {"connection_id":175490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:04:24] local.INFO: Packet analysis {"connection_id":175490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:04:24] local.INFO: Extracted packet for processing {"connection_id":175490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:04:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908393728001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788704964000,"timestamp_ms":1788704964000,"timestamp_seconds":1788704964,"priority":1,"record_length":96,"hex_timestamp":"000001a0771fbda0"} 
[2026-09-06 20:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":156,"data_length":795,"current_offset":136} 
[2026-09-06 20:04: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-09-06 20: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-09-06 20:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:04: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-09-06 20:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908393728001,"66":25745,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908393728001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:04:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:04:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908393728001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":175490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:04:24] local.INFO: GPS data processed {"connection_id":175490,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:04:24] local.INFO: Acknowledgment sent {"connection_id":175490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:04:30] local.INFO: TCP Data received {"connection_id":175491,"ip":"117.224.227.94","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:04:30] local.INFO: Processing buffer {"connection_id":175491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:04:30] local.INFO: IMEI packet received {"connection_id":175491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":175491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:04:47] local.INFO: TCP Data received {"connection_id":172775,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:04:47] local.INFO: Processing buffer {"connection_id":172775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:04:47] local.INFO: IMEI packet received {"connection_id":172775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":172775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:04:52] local.INFO: TCP Data received {"connection_id":172775,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:04:52] local.INFO: Processing buffer {"connection_id":172775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:04:52] local.INFO: IMEI packet received {"connection_id":172775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":172775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:04:53] local.INFO: TCP Data received {"connection_id":172775,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:04:53] local.INFO: Processing buffer {"connection_id":172775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0771fbda0012d34c9c006aa44480000015725..."} 
[2026-09-06 20:04:53] local.INFO: Packet analysis {"connection_id":172775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:04:53] local.INFO: Extracted packet for processing {"connection_id":172775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0771f"} 
[2026-09-06 20:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908393728001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788704964000,"timestamp_ms":1788704964000,"timestamp_seconds":1788704964,"priority":1,"record_length":96,"hex_timestamp":"000001a0771fbda0"} 
[2026-09-06 20:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:04: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-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:04: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-09-06 20:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908393728001,"66":25745,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908393728001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:04:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908393728001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":172775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:04:53] local.INFO: GPS data processed {"connection_id":172775,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:04:53] local.INFO: Acknowledgment sent {"connection_id":172775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:05:16] local.INFO: TCP Data received {"connection_id":175491,"ip":"117.224.227.94","data_length":795,"data_hex":"000000000000030f8e0a000001a077229818012c05dcc00aeb640002de01542d..."} 
[2026-09-06 20:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077229818012c05dcc00aeb640002de01542d..."} 
[2026-09-06 20:05:16] local.INFO: Processing buffer {"connection_id":175491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077229818012c05dcc00aeb640002de01542d..."} 
[2026-09-06 20:05:16] local.INFO: Packet analysis {"connection_id":175491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07722"} 
[2026-09-06 20:05:16] local.INFO: Extracted packet for processing {"connection_id":175491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07722"} 
[2026-09-06 20:05:16] local.INFO: GPS Element Parsed {"raw_longitude":738581696,"raw_latitude":183198720,"longitude_deg":73.8581696,"latitude_deg":18.319872,"altitude":734,"angle":340,"satellites":45,"speed":41,"hex_longitude":"2c05dcc0","hex_latitude":"0aeb6400","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908516096001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3462800202530816,"note":"Value kept but may cause issues"} 
[2026-09-06 20:05:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":426364267868983298,"note":"Value kept but may cause issues"} 
[2026-09-06 20:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788705151000,"timestamp_ms":1788705151000,"timestamp_seconds":1788705151,"priority":1,"record_length":96,"hex_timestamp":"000001a077229818"} 
[2026-09-06 20:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:05: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-09-06 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 20:05:16] 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-09-06 20: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-09-06 20:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908516096001,"66":27517,"204":206,"3":64256,"24":41,"16":3462800202530816,"44":426364267868983298},"client_ip":"117.224.227.94","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,3,24,16,44]} 
[2026-09-06 20:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908516096001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:05:16] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-09-06 20:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3462800202530816,"km_value":3462800202530.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:05:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":426364267868983298,"description":"Unknown IO ID 44"} 
[2026-09-06 20:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908516096001,"power":27517,"lac":206,"unknown_3":64256,"ignition":41,"odometer":null,"unknown_44":426364267868983298}} 
[2026-09-06 20:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":175491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775826,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:05:16] local.INFO: GPS data processed {"connection_id":175491,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:05:16] local.INFO: Acknowledgment sent {"connection_id":175491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:05:24] local.INFO: TCP Data received {"connection_id":172775,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:05:24] local.INFO: Processing buffer {"connection_id":172775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:05:24] local.INFO: Packet analysis {"connection_id":172775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:05:24] local.INFO: Extracted packet for processing {"connection_id":172775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:05:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908470784001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788705265000,"timestamp_ms":1788705265000,"timestamp_seconds":1788705265,"priority":1,"record_length":96,"hex_timestamp":"000001a077245568"} 
[2026-09-06 20:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:05: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-09-06 20: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":145,"data_length":795,"current_offset":136} 
[2026-09-06 20:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:05: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-09-06 20:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908470784001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908470784001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:05:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:05:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908470784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":172775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:05:24] local.INFO: GPS data processed {"connection_id":172775,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:05:24] local.INFO: Acknowledgment sent {"connection_id":172775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:05:47] local.INFO: TCP Data received {"connection_id":172776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:05:47] local.INFO: Processing buffer {"connection_id":172776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:05:47] local.INFO: IMEI packet received {"connection_id":172776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":172776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:05:52] local.INFO: TCP Data received {"connection_id":172776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:05:52] local.INFO: Processing buffer {"connection_id":172776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:05:52] local.INFO: IMEI packet received {"connection_id":172776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":172776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:05:53] local.INFO: TCP Data received {"connection_id":172776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:05:53] local.INFO: Processing buffer {"connection_id":172776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:05:53] local.INFO: Packet analysis {"connection_id":172776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:05:53] local.INFO: Extracted packet for processing {"connection_id":172776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908470784001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788705265000,"timestamp_ms":1788705265000,"timestamp_seconds":1788705265,"priority":1,"record_length":96,"hex_timestamp":"000001a077245568"} 
[2026-09-06 20:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":145,"data_length":795,"current_offset":136} 
[2026-09-06 20:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:05: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-09-06 20:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908470784001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908470784001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:05:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908470784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":172776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:05:53] local.INFO: GPS data processed {"connection_id":172776,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:05:53] local.INFO: Acknowledgment sent {"connection_id":172776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:06:09] local.INFO: TCP Data received {"connection_id":175492,"ip":"117.224.227.94","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:06:09] local.INFO: Processing buffer {"connection_id":175492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:06:09] local.INFO: IMEI packet received {"connection_id":175492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":175492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:06:16] local.INFO: TCP Data received {"connection_id":175492,"ip":"117.224.227.94","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-06 20:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175492,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-06 20:06:16] local.INFO: Processing buffer {"connection_id":175492,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-06 20:06:16] local.INFO: IMEI packet received {"connection_id":175492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":175492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:06:18] local.INFO: TCP Data received {"connection_id":175492,"ip":"117.224.227.94","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:06:18] local.INFO: Processing buffer {"connection_id":175492,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-06 20:06:18] local.INFO: IMEI packet received {"connection_id":175492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":175492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:06:21] local.INFO: TCP Data received {"connection_id":175492,"ip":"117.224.227.94","data_length":795,"data_hex":"000000000000030f8e0a000001a07723ff78012c04e8400aec657002e801572c..."} 
[2026-09-06 20:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07723ff78012c04e8400aec657002e801572c..."} 
[2026-09-06 20:06:21] local.INFO: Processing buffer {"connection_id":175492,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a077..."} 
[2026-09-06 20:06:21] local.INFO: IMEI packet received {"connection_id":175492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":175492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:06:24] local.INFO: TCP Data received {"connection_id":175492,"ip":"117.224.227.94","data_length":795,"data_hex":"000000000000030f8e0a000001a077241ad0012c04e4000aec7ee002e801642c..."} 
[2026-09-06 20:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077241ad0012c04e4000aec7ee002e801642c..."} 
[2026-09-06 20:06:24] local.INFO: Processing buffer {"connection_id":175492,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07723ff78012c04e8400aec657002e801572c..."} 
[2026-09-06 20:06:24] local.INFO: Packet analysis {"connection_id":175492,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07723"} 
[2026-09-06 20:06:24] local.INFO: Extracted packet for processing {"connection_id":175492,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07723"} 
[2026-09-06 20:06:24] local.INFO: GPS Element Parsed {"raw_longitude":738519104,"raw_latitude":183264624,"longitude_deg":73.8519104,"latitude_deg":18.3264624,"altitude":744,"angle":343,"satellites":44,"speed":39,"hex_longitude":"2c04e840","hex_latitude":"0aec6570","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908540672001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3467193954074624,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":356136261197467650,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788705243000,"timestamp_ms":1788705243000,"timestamp_seconds":1788705243,"priority":1,"record_length":96,"hex_timestamp":"000001a07723ff78"} 
[2026-09-06 20:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 20:06: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-09-06 20: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-09-06 20:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908540672001,"66":27517,"204":206,"3":64256,"24":39,"16":3467193954074624,"44":356136261197467650},"client_ip":"117.224.227.94","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,3,24,16,44]} 
[2026-09-06 20:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908540672001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:06:24] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-09-06 20:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3467193954074624,"km_value":3467193954074.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:06:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":356136261197467650,"description":"Unknown IO ID 44"} 
[2026-09-06 20:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908540672001,"power":27517,"lac":206,"unknown_3":64256,"ignition":39,"odometer":null,"unknown_44":356136261197467650}} 
[2026-09-06 20:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":175492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775829,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:06:24] local.INFO: GPS data processed {"connection_id":175492,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:06:24] local.INFO: Acknowledgment sent {"connection_id":175492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:06:24] local.INFO: Packet analysis {"connection_id":175492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:06:24] local.INFO: Extracted packet for processing {"connection_id":175492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:06:24] local.INFO: GPS Element Parsed {"raw_longitude":738518016,"raw_latitude":183271136,"longitude_deg":73.8518016,"latitude_deg":18.3271136,"altitude":744,"angle":356,"satellites":44,"speed":35,"hex_longitude":"2c04e400","hex_latitude":"0aec7ee0","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908542208001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3467516076621824,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":353602986408505346,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788705250000,"timestamp_ms":1788705250000,"timestamp_seconds":1788705250,"priority":1,"record_length":96,"hex_timestamp":"000001a077241ad0"} 
[2026-09-06 20:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 20:06: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-09-06 20: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-09-06 20:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908542208001,"66":27691,"204":206,"3":64256,"24":35,"16":3467516076621824,"44":353602986408505346},"client_ip":"117.224.227.94","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,3,24,16,44]} 
[2026-09-06 20:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908542208001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:06:24] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-09-06 20:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3467516076621824,"km_value":3467516076621.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:06:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":353602986408505346,"description":"Unknown IO ID 44"} 
[2026-09-06 20:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908542208001,"power":27691,"lac":206,"unknown_3":64256,"ignition":35,"odometer":null,"unknown_44":353602986408505346}} 
[2026-09-06 20:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":175492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775830,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:06:24] local.INFO: GPS data processed {"connection_id":175492,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:06:24] local.INFO: Acknowledgment sent {"connection_id":175492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:06:25] local.INFO: TCP Data received {"connection_id":172776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:06:25] local.INFO: Processing buffer {"connection_id":172776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:06:25] local.INFO: Packet analysis {"connection_id":172776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:06:25] local.INFO: Extracted packet for processing {"connection_id":172776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:06:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908470784001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788705265000,"timestamp_ms":1788705265000,"timestamp_seconds":1788705265,"priority":1,"record_length":96,"hex_timestamp":"000001a077245568"} 
[2026-09-06 20:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-06 20:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:06: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-09-06 20:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908470784001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908470784001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:06:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:06:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908470784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":172776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:06:25] local.INFO: GPS data processed {"connection_id":172776,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:06:25] local.INFO: Acknowledgment sent {"connection_id":172776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:06:26] local.INFO: TCP Data received {"connection_id":175492,"ip":"117.224.227.94","data_length":795,"data_hex":"000000000000030f8e0a000001a077243240012c04e4800aec946002e900072b..."} 
[2026-09-06 20:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077243240012c04e4800aec946002e900072b..."} 
[2026-09-06 20:06:26] local.INFO: Processing buffer {"connection_id":175492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077243240012c04e4800aec946002e900072b..."} 
[2026-09-06 20:06:26] local.INFO: Packet analysis {"connection_id":175492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:06:26] local.INFO: Extracted packet for processing {"connection_id":175492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:06:26] local.INFO: GPS Element Parsed {"raw_longitude":738518144,"raw_latitude":183276640,"longitude_deg":73.8518144,"latitude_deg":18.327664,"altitude":745,"angle":7,"satellites":43,"speed":37,"hex_longitude":"2c04e480","hex_latitude":"0aec9460","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908544000001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3467782364594176,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":352406717759152130,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788705256000,"timestamp_ms":1788705256000,"timestamp_seconds":1788705256,"priority":1,"record_length":96,"hex_timestamp":"000001a077243240"} 
[2026-09-06 20:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 20:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908544000001,"66":27626,"204":206,"3":64256,"24":37,"16":3467782364594176,"44":352406717759152130},"client_ip":"117.224.227.94","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,3,24,16,44]} 
[2026-09-06 20:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908544000001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:06:26] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-09-06 20:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3467782364594176,"km_value":3467782364594.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:06:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":352406717759152130,"description":"Unknown IO ID 44"} 
[2026-09-06 20:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908544000001,"power":27626,"lac":206,"unknown_3":64256,"ignition":37,"odometer":null,"unknown_44":352406717759152130}} 
[2026-09-06 20:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":175492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775832,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:06:26] local.INFO: GPS data processed {"connection_id":175492,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:06:26] local.INFO: Acknowledgment sent {"connection_id":175492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:06:32] local.INFO: TCP Data received {"connection_id":175492,"ip":"117.224.227.94","data_length":795,"data_hex":"000000000000030f8e0a000001a077245568012c04ec800aecb65002eb000d2c..."} 
[2026-09-06 20:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077245568012c04ec800aecb65002eb000d2c..."} 
[2026-09-06 20:06:32] local.INFO: Processing buffer {"connection_id":175492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077245568012c04ec800aecb65002eb000d2c..."} 
[2026-09-06 20:06:32] local.INFO: Packet analysis {"connection_id":175492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:06:32] local.INFO: Extracted packet for processing {"connection_id":175492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:06:32] local.INFO: GPS Element Parsed {"raw_longitude":738520192,"raw_latitude":183285328,"longitude_deg":73.8520192,"latitude_deg":18.3285328,"altitude":747,"angle":13,"satellites":44,"speed":40,"hex_longitude":"2c04ec80","hex_latitude":"0aecb650","is_valid_coordinates":true} 
[2026-09-06 20:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908545536001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3468211861323776,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":352547455248916482,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788705265000,"timestamp_ms":1788705265000,"timestamp_seconds":1788705265,"priority":1,"record_length":96,"hex_timestamp":"000001a077245568"} 
[2026-09-06 20:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:06: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-09-06 20:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-06 20:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908545536001,"66":27517,"204":206,"3":64256,"24":40,"16":3468211861323776,"44":352547455248916482},"client_ip":"117.224.227.94","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,3,24,16,44]} 
[2026-09-06 20:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908545536001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:06:32] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-09-06 20:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3468211861323776,"km_value":3468211861323.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:06:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":352547455248916482,"description":"Unknown IO ID 44"} 
[2026-09-06 20:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908545536001,"power":27517,"lac":206,"unknown_3":64256,"ignition":40,"odometer":null,"unknown_44":352547455248916482}} 
[2026-09-06 20:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":175492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775833,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:06:32] local.INFO: GPS data processed {"connection_id":175492,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:06:32] local.INFO: Acknowledgment sent {"connection_id":175492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:06:47] local.INFO: TCP Data received {"connection_id":174159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:06:47] local.INFO: Processing buffer {"connection_id":174159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:06:47] local.INFO: IMEI packet received {"connection_id":174159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":174159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:06:49] local.INFO: TCP Data received {"connection_id":174160,"ip":"117.224.227.94","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:06:49] local.INFO: Processing buffer {"connection_id":174160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:06:49] local.INFO: IMEI packet received {"connection_id":174160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":174160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:06:51] local.INFO: TCP Data received {"connection_id":174160,"ip":"117.224.227.94","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:06:51] local.INFO: Processing buffer {"connection_id":174160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:06:51] local.INFO: IMEI packet received {"connection_id":174160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":174160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:06:52] local.INFO: TCP Data received {"connection_id":174159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:06:52] local.INFO: Processing buffer {"connection_id":174159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:06:52] local.INFO: IMEI packet received {"connection_id":174159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":174159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:06:53] local.INFO: TCP Data received {"connection_id":174159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:06:53] local.INFO: Processing buffer {"connection_id":174159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:06:53] local.INFO: Packet analysis {"connection_id":174159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:06:53] local.INFO: Extracted packet for processing {"connection_id":174159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908470784001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788705265000,"timestamp_ms":1788705265000,"timestamp_seconds":1788705265,"priority":1,"record_length":96,"hex_timestamp":"000001a077245568"} 
[2026-09-06 20:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:06: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-09-06 20: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":145,"data_length":795,"current_offset":136} 
[2026-09-06 20:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:06: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-09-06 20:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908470784001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908470784001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:06:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:06:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908470784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":174159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:06:53] local.INFO: GPS data processed {"connection_id":174159,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:06:53] local.INFO: Acknowledgment sent {"connection_id":174159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:06:56] local.INFO: TCP Data received {"connection_id":174160,"ip":"117.224.227.94","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:06:56] local.INFO: Processing buffer {"connection_id":174160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:06:56] local.INFO: IMEI packet received {"connection_id":174160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":174160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:06:59] local.INFO: TCP Data received {"connection_id":174160,"ip":"117.224.227.94","data_length":795,"data_hex":"000000000000030f8e0a000001a077247c78012c04f5000aecd88002ec00062e..."} 
[2026-09-06 20:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077247c78012c04f5000aecd88002ec00062e..."} 
[2026-09-06 20:06:59] local.INFO: Processing buffer {"connection_id":174160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077247c78012c04f5000aecd88002ec00062e..."} 
[2026-09-06 20:06:59] local.INFO: Packet analysis {"connection_id":174160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:06:59] local.INFO: Extracted packet for processing {"connection_id":174160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:06:59] local.INFO: GPS Element Parsed {"raw_longitude":738522368,"raw_latitude":183294080,"longitude_deg":73.8522368,"latitude_deg":18.329408,"altitude":748,"angle":6,"satellites":46,"speed":29,"hex_longitude":"2c04f500","hex_latitude":"0aecd880","is_valid_coordinates":true} 
[2026-09-06 20:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908547840001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3468649947987968,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":354799255064825858,"note":"Value kept but may cause issues"} 
[2026-09-06 20:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788705275000,"timestamp_ms":1788705275000,"timestamp_seconds":1788705275,"priority":1,"record_length":96,"hex_timestamp":"000001a077247c78"} 
[2026-09-06 20:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 20:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908547840001,"66":27745,"204":206,"3":64256,"24":29,"16":3468649947987968,"44":354799255064825858},"client_ip":"117.224.227.94","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,3,24,16,44]} 
[2026-09-06 20:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908547840001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:06:59] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-09-06 20:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3468649947987968,"km_value":3468649947987.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:06:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":354799255064825858,"description":"Unknown IO ID 44"} 
[2026-09-06 20:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908547840001,"power":27745,"lac":206,"unknown_3":64256,"ignition":29,"odometer":null,"unknown_44":354799255064825858}} 
[2026-09-06 20:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":174160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775835,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:06:59] local.INFO: GPS data processed {"connection_id":174160,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:06:59] local.INFO: Acknowledgment sent {"connection_id":174160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:07:25] local.INFO: TCP Data received {"connection_id":174159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:07:25] local.INFO: Processing buffer {"connection_id":174159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:07:25] local.INFO: Packet analysis {"connection_id":174159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:07:25] local.INFO: Extracted packet for processing {"connection_id":174159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:07:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908470784001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788705265000,"timestamp_ms":1788705265000,"timestamp_seconds":1788705265,"priority":1,"record_length":96,"hex_timestamp":"000001a077245568"} 
[2026-09-06 20:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-06 20:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20: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-09-06 20:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908470784001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908470784001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:07:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:07:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908470784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":174159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:07:25] local.INFO: GPS data processed {"connection_id":174159,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:07:25] local.INFO: Acknowledgment sent {"connection_id":174159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:07:32] local.INFO: TCP Data received {"connection_id":174160,"ip":"117.224.227.94","data_length":795,"data_hex":"000000000000030f8e0a000001a07724af40012c04f9c00aecfb5002ef00082e..."} 
[2026-09-06 20:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07724af40012c04f9c00aecfb5002ef00082e..."} 
[2026-09-06 20:07:32] local.INFO: Processing buffer {"connection_id":174160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07724af40012c04f9c00aecfb5002ef00082e..."} 
[2026-09-06 20:07:32] local.INFO: Packet analysis {"connection_id":174160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:07:32] local.INFO: Extracted packet for processing {"connection_id":174160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:07:32] local.INFO: GPS Element Parsed {"raw_longitude":738523584,"raw_latitude":183302992,"longitude_deg":73.8523584,"latitude_deg":18.3302992,"altitude":751,"angle":8,"satellites":46,"speed":23,"hex_longitude":"2c04f9c0","hex_latitude":"0aecfb50","is_valid_coordinates":true} 
[2026-09-06 20:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908550400001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3469088034652160,"note":"Value kept but may cause issues"} 
[2026-09-06 20:07:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":357191792369106946,"note":"Value kept but may cause issues"} 
[2026-09-06 20:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788705288000,"timestamp_ms":1788705288000,"timestamp_seconds":1788705288,"priority":1,"record_length":96,"hex_timestamp":"000001a07724af40"} 
[2026-09-06 20:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:07: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-09-06 20:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 20:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908550400001,"66":27571,"15":206,"3":64256,"24":23,"16":3469088034652160,"44":357191792369106946},"client_ip":"117.224.227.94","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,3,24,16,44]} 
[2026-09-06 20:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908550400001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:07:32] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-06 20:07:32] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-09-06 20:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3469088034652160,"km_value":3469088034652.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:07:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":357191792369106946,"description":"Unknown IO ID 44"} 
[2026-09-06 20:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908550400001,"power":27571,"unknown_15":206,"unknown_3":64256,"ignition":23,"odometer":null,"unknown_44":357191792369106946}} 
[2026-09-06 20:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":174160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775837,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:07:32] local.INFO: GPS data processed {"connection_id":174160,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:07:32] local.INFO: Acknowledgment sent {"connection_id":174160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:07:52] local.INFO: TCP Data received {"connection_id":173007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:07:52] local.INFO: Processing buffer {"connection_id":173007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:07:52] local.INFO: IMEI packet received {"connection_id":173007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":173007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:07:53] local.INFO: TCP Data received {"connection_id":174161,"ip":"117.224.227.94","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:07:53] local.INFO: Processing buffer {"connection_id":174161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:07:53] local.INFO: IMEI packet received {"connection_id":174161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":174161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:07:54] local.INFO: TCP Data received {"connection_id":174161,"ip":"117.224.227.94","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:07:54] local.INFO: Processing buffer {"connection_id":174161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:07:54] local.INFO: IMEI packet received {"connection_id":174161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":174161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:07:59] local.INFO: TCP Data received {"connection_id":173007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:07:59] local.INFO: Processing buffer {"connection_id":173007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:07:59] local.INFO: IMEI packet received {"connection_id":173007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":173007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:07:59] local.INFO: TCP Data received {"connection_id":174161,"ip":"117.224.227.94","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:07:59] local.INFO: Processing buffer {"connection_id":174161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:07:59] local.INFO: IMEI packet received {"connection_id":174161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":174161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:08:00] local.INFO: TCP Data received {"connection_id":173007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:08:00] local.INFO: Processing buffer {"connection_id":173007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:08:00] local.INFO: Packet analysis {"connection_id":173007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:08:00] local.INFO: Extracted packet for processing {"connection_id":173007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:08:00] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908470784001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20:08: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-09-06 20:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788705265000,"timestamp_ms":1788705265000,"timestamp_seconds":1788705265,"priority":1,"record_length":96,"hex_timestamp":"000001a077245568"} 
[2026-09-06 20:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:08: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-09-06 20:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-06 20:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908470784001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908470784001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:08:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:08:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908470784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":173007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:08:00] local.INFO: GPS data processed {"connection_id":173007,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:08:00] local.INFO: Acknowledgment sent {"connection_id":173007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:08:02] local.INFO: TCP Data received {"connection_id":173007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:08:02] local.INFO: Processing buffer {"connection_id":173007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:08:02] local.INFO: Packet analysis {"connection_id":173007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:08:02] local.INFO: Extracted packet for processing {"connection_id":173007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:08:02] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908470784001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788705265000,"timestamp_ms":1788705265000,"timestamp_seconds":1788705265,"priority":1,"record_length":96,"hex_timestamp":"000001a077245568"} 
[2026-09-06 20:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-06 20:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:08: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-09-06 20:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908470784001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908470784001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:08:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:08:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908470784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":173007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:08:02] local.INFO: GPS data processed {"connection_id":173007,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:08:02] local.INFO: Acknowledgment sent {"connection_id":173007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:08:06] local.INFO: TCP Data received {"connection_id":174161,"ip":"117.224.227.94","data_length":795,"data_hex":"000000000000030f8e0a000001a077250148012c04fb800aed0e7002f000022e..."} 
[2026-09-06 20:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077250148012c04fb800aed0e7002f000022e..."} 
[2026-09-06 20:08:06] local.INFO: Processing buffer {"connection_id":174161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077250148012c04fb800aed0e7002f000022e..."} 
[2026-09-06 20:08:06] local.INFO: Packet analysis {"connection_id":174161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07725"} 
[2026-09-06 20:08:06] local.INFO: Extracted packet for processing {"connection_id":174161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07725"} 
[2026-09-06 20:08:06] local.INFO: GPS Element Parsed {"raw_longitude":738524032,"raw_latitude":183307888,"longitude_deg":73.8524032,"latitude_deg":18.3307888,"altitude":752,"angle":2,"satellites":46,"speed":0,"hex_longitude":"2c04fb80","hex_latitude":"0aed0e70","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908553728001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3469324257853440,"note":"Value kept but may cause issues"} 
[2026-09-06 20:08:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":358528798510764034,"note":"Value kept but may cause issues"} 
[2026-09-06 20:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788705309000,"timestamp_ms":1788705309000,"timestamp_seconds":1788705309,"priority":1,"record_length":96,"hex_timestamp":"000001a077250148"} 
[2026-09-06 20:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:08: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-09-06 20: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 20:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908553728001,"66":27484,"15":206,"3":64256,"24":0,"16":3469324257853440,"44":358528798510764034},"client_ip":"117.224.227.94","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,3,24,16,44]} 
[2026-09-06 20:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908553728001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:08:06] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-06 20:08:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-09-06 20:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3469324257853440,"km_value":3469324257853.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:08:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":358528798510764034,"description":"Unknown IO ID 44"} 
[2026-09-06 20:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908553728001,"power":27484,"unknown_15":206,"unknown_3":64256,"ignition":0,"odometer":null,"unknown_44":358528798510764034}} 
[2026-09-06 20:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":174161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775840,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:08:06] local.INFO: GPS data processed {"connection_id":174161,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:08:06] local.INFO: Acknowledgment sent {"connection_id":174161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:08:47] local.INFO: TCP Data received {"connection_id":172777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:08:47] local.INFO: Processing buffer {"connection_id":172777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:08:47] local.INFO: IMEI packet received {"connection_id":172777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":172777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:08:49] local.INFO: TCP Data received {"connection_id":173008,"ip":"117.224.227.94","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:08:49] local.INFO: Processing buffer {"connection_id":173008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:08:49] local.INFO: IMEI packet received {"connection_id":173008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":173008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:08:52] local.INFO: TCP Data received {"connection_id":172777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:08:52] local.INFO: Processing buffer {"connection_id":172777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:08:52] local.INFO: IMEI packet received {"connection_id":172777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":172777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:08:53] local.INFO: TCP Data received {"connection_id":172777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:08:53] local.INFO: Processing buffer {"connection_id":172777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:08:53] local.INFO: Packet analysis {"connection_id":172777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:08:53] local.INFO: Extracted packet for processing {"connection_id":172777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908470784001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788705265000,"timestamp_ms":1788705265000,"timestamp_seconds":1788705265,"priority":1,"record_length":96,"hex_timestamp":"000001a077245568"} 
[2026-09-06 20:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":145,"data_length":795,"current_offset":136} 
[2026-09-06 20:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908470784001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908470784001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:08:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908470784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":172777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:08:53] local.INFO: GPS data processed {"connection_id":172777,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:08:53] local.INFO: Acknowledgment sent {"connection_id":172777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:08:55] local.INFO: TCP Data received {"connection_id":173008,"ip":"117.224.227.94","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:08:55] local.INFO: Processing buffer {"connection_id":173008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:08:55] local.INFO: IMEI packet received {"connection_id":173008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":173008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:08:57] local.INFO: TCP Data received {"connection_id":173008,"ip":"117.224.227.94","data_length":795,"data_hex":"000000000000030f8e0a000001a077255350012c04fb800aed0e7002f000022e..."} 
[2026-09-06 20:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077255350012c04fb800aed0e7002f000022e..."} 
[2026-09-06 20:08:57] local.INFO: Processing buffer {"connection_id":173008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077255350012c04fb800aed0e7002f000022e..."} 
[2026-09-06 20:08:57] local.INFO: Packet analysis {"connection_id":173008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07725"} 
[2026-09-06 20:08:57] local.INFO: Extracted packet for processing {"connection_id":173008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07725"} 
[2026-09-06 20:08:57] local.INFO: GPS Element Parsed {"raw_longitude":738524032,"raw_latitude":183307888,"longitude_deg":73.8524032,"latitude_deg":18.3307888,"altitude":752,"angle":2,"satellites":46,"speed":0,"hex_longitude":"2c04fb80","hex_latitude":"0aed0e70","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908559104001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3469324257853440,"note":"Value kept but may cause issues"} 
[2026-09-06 20:08:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":359021379721261058,"note":"Value kept but may cause issues"} 
[2026-09-06 20:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788705330000,"timestamp_ms":1788705330000,"timestamp_seconds":1788705330,"priority":1,"record_length":96,"hex_timestamp":"000001a077255350"} 
[2026-09-06 20:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 20:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908559104001,"66":27430,"15":206,"3":64256,"24":0,"16":3469324257853440,"44":359021379721261058},"client_ip":"117.224.227.94","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,3,24,16,44]} 
[2026-09-06 20:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908559104001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:08:57] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-06 20:08:57] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-09-06 20:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3469324257853440,"km_value":3469324257853.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:08:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":359021379721261058,"description":"Unknown IO ID 44"} 
[2026-09-06 20:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908559104001,"power":27430,"unknown_15":206,"unknown_3":64256,"ignition":0,"odometer":null,"unknown_44":359021379721261058}} 
[2026-09-06 20:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":173008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775842,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:08:57] local.INFO: GPS data processed {"connection_id":173008,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:08:57] local.INFO: Acknowledgment sent {"connection_id":173008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:08:57] local.INFO: TCP Data received {"connection_id":172777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:08:57] local.INFO: Processing buffer {"connection_id":172777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:08:57] local.INFO: Packet analysis {"connection_id":172777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:08:57] local.INFO: Extracted packet for processing {"connection_id":172777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:08:57] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908470784001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788705265000,"timestamp_ms":1788705265000,"timestamp_seconds":1788705265,"priority":1,"record_length":96,"hex_timestamp":"000001a077245568"} 
[2026-09-06 20:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-06 20:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:08: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-09-06 20:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908470784001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908470784001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:08:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:08:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908470784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":172777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:08:57] local.INFO: GPS data processed {"connection_id":172777,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:08:57] local.INFO: Acknowledgment sent {"connection_id":172777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:09:29] local.INFO: TCP Data received {"connection_id":172777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:09:29] local.INFO: Processing buffer {"connection_id":172777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:09:29] local.INFO: Packet analysis {"connection_id":172777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:09:29] local.INFO: Extracted packet for processing {"connection_id":172777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:09:29] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908470784001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20:09: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-09-06 20:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788705265000,"timestamp_ms":1788705265000,"timestamp_seconds":1788705265,"priority":1,"record_length":96,"hex_timestamp":"000001a077245568"} 
[2026-09-06 20:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:09: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-09-06 20: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-06 20:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:09: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-09-06 20:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908470784001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908470784001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:09:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:09:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908470784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":172777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:09:29] local.INFO: GPS data processed {"connection_id":172777,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:09:29] local.INFO: Acknowledgment sent {"connection_id":172777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:09:30] local.INFO: TCP Data received {"connection_id":173008,"ip":"117.224.227.94","data_length":795,"data_hex":"000000000000030f8e0a000001a07725a558012c04fb800aed0e7002f000022e..."} 
[2026-09-06 20:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07725a558012c04fb800aed0e7002f000022e..."} 
[2026-09-06 20:09:30] local.INFO: Processing buffer {"connection_id":173008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07725a558012c04fb800aed0e7002f000022e..."} 
[2026-09-06 20:09:30] local.INFO: Packet analysis {"connection_id":173008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07725"} 
[2026-09-06 20:09:30] local.INFO: Extracted packet for processing {"connection_id":173008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07725"} 
[2026-09-06 20:09:30] local.INFO: GPS Element Parsed {"raw_longitude":738524032,"raw_latitude":183307888,"longitude_deg":73.8524032,"latitude_deg":18.3307888,"altitude":752,"angle":2,"satellites":46,"speed":0,"hex_longitude":"2c04fb80","hex_latitude":"0aed0e70","is_valid_coordinates":true} 
[2026-09-06 20:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908564480001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3469324257853440,"note":"Value kept but may cause issues"} 
[2026-09-06 20:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":359021379721261058,"note":"Value kept but may cause issues"} 
[2026-09-06 20:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,3,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788705351000,"timestamp_ms":1788705351000,"timestamp_seconds":1788705351,"priority":1,"record_length":96,"hex_timestamp":"000001a07725a558"} 
[2026-09-06 20:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-06 20:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908564480001,"66":27593,"15":206,"3":64256,"24":0,"16":3469324257853440,"44":359021379721261058},"client_ip":"117.224.227.94","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,3,24,16,44]} 
[2026-09-06 20:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908564480001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:09:30] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-06 20:09:30] local.INFO: Unknown IO ID detected {"io_id":3,"value":64256,"description":"Unknown IO ID 3"} 
[2026-09-06 20:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3469324257853440,"km_value":3469324257853.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":359021379721261058,"description":"Unknown IO ID 44"} 
[2026-09-06 20:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908564480001,"power":27593,"unknown_15":206,"unknown_3":64256,"ignition":0,"odometer":null,"unknown_44":359021379721261058}} 
[2026-09-06 20:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":173008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775845,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:09:30] local.INFO: GPS data processed {"connection_id":173008,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:09:30] local.INFO: Acknowledgment sent {"connection_id":173008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:09:47] local.INFO: TCP Data received {"connection_id":175493,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:09:47] local.INFO: Processing buffer {"connection_id":175493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:09:47] local.INFO: IMEI packet received {"connection_id":175493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":175493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:09:52] local.INFO: TCP Data received {"connection_id":175493,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:09:52] local.INFO: Processing buffer {"connection_id":175493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:09:52] local.INFO: IMEI packet received {"connection_id":175493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":175493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:09:53] local.INFO: TCP Data received {"connection_id":175493,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:09:53] local.INFO: Processing buffer {"connection_id":175493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077245568012d34c9c006aa44480000015724..."} 
[2026-09-06 20:09:53] local.INFO: Packet analysis {"connection_id":175493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:09:53] local.INFO: Extracted packet for processing {"connection_id":175493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07724"} 
[2026-09-06 20:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908470784001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788705265000,"timestamp_ms":1788705265000,"timestamp_seconds":1788705265,"priority":1,"record_length":96,"hex_timestamp":"000001a077245568"} 
[2026-09-06 20:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":145,"data_length":795,"current_offset":136} 
[2026-09-06 20:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:09: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-09-06 20:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908470784001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908470784001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:09:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908470784001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":175493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:09:53] local.INFO: GPS data processed {"connection_id":175493,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:09:53] local.INFO: Acknowledgment sent {"connection_id":175493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:09:54] local.INFO: TCP Data received {"connection_id":172778,"ip":"117.224.227.94","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:09:54] local.INFO: Processing buffer {"connection_id":172778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:09:54] local.INFO: IMEI packet received {"connection_id":172778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":172778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:09:56] local.INFO: TCP Data received {"connection_id":172778,"ip":"117.224.227.94","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:09:56] local.INFO: Processing buffer {"connection_id":172778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:09:56] local.INFO: IMEI packet received {"connection_id":172778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":172778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:10:23] local.INFO: TCP Data received {"connection_id":172778,"ip":"117.224.227.94","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:10:23] local.INFO: Processing buffer {"connection_id":172778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:10:23] local.INFO: IMEI packet received {"connection_id":172778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":172778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:10:25] local.INFO: TCP Data received {"connection_id":175493,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:10:25] local.INFO: Processing buffer {"connection_id":175493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:10:25] local.INFO: Packet analysis {"connection_id":175493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:10:25] local.INFO: Extracted packet for processing {"connection_id":175493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:10:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908547840001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788705566000,"timestamp_ms":1788705566000,"timestamp_seconds":1788705566,"priority":1,"record_length":96,"hex_timestamp":"000001a07728ed30"} 
[2026-09-06 20:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:10: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-09-06 20: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 20:10: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-09-06 20: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-09-06 20:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:10: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-09-06 20:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908547840001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908547840001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:10:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:10:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908547840001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":175493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:10:25] local.INFO: GPS data processed {"connection_id":175493,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:10:25] local.INFO: Acknowledgment sent {"connection_id":175493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:10:48] local.INFO: TCP Data received {"connection_id":173009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:10:48] local.INFO: Processing buffer {"connection_id":173009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:10:48] local.INFO: IMEI packet received {"connection_id":173009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":173009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:10:52] local.INFO: TCP Data received {"connection_id":173009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:10:52] local.INFO: Processing buffer {"connection_id":173009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:10:52] local.INFO: IMEI packet received {"connection_id":173009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":173009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:10:53] local.INFO: TCP Data received {"connection_id":173009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:10:53] local.INFO: Processing buffer {"connection_id":173009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:10:53] local.INFO: Packet analysis {"connection_id":173009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:10:53] local.INFO: Extracted packet for processing {"connection_id":173009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908547840001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788705566000,"timestamp_ms":1788705566000,"timestamp_seconds":1788705566,"priority":1,"record_length":96,"hex_timestamp":"000001a07728ed30"} 
[2026-09-06 20:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:10: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-09-06 20:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908547840001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908547840001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:10:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908547840001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":173009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:10:53] local.INFO: GPS data processed {"connection_id":173009,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:10:53] local.INFO: Acknowledgment sent {"connection_id":173009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:11:25] local.INFO: TCP Data received {"connection_id":173009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:11:25] local.INFO: Processing buffer {"connection_id":173009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:11:25] local.INFO: Packet analysis {"connection_id":173009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:11:25] local.INFO: Extracted packet for processing {"connection_id":173009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:11:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908547840001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788705566000,"timestamp_ms":1788705566000,"timestamp_seconds":1788705566,"priority":1,"record_length":96,"hex_timestamp":"000001a07728ed30"} 
[2026-09-06 20:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:11: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-09-06 20:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 20:11: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-09-06 20: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-09-06 20:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:11: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-09-06 20:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908547840001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908547840001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:11:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:11:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908547840001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":173009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:11:25] local.INFO: GPS data processed {"connection_id":173009,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:11:25] local.INFO: Acknowledgment sent {"connection_id":173009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:11:47] local.INFO: TCP Data received {"connection_id":175494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:11:47] local.INFO: Processing buffer {"connection_id":175494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:11:47] local.INFO: IMEI packet received {"connection_id":175494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":175494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:11:52] local.INFO: TCP Data received {"connection_id":175494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:11:52] local.INFO: Processing buffer {"connection_id":175494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:11:52] local.INFO: IMEI packet received {"connection_id":175494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":175494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:11:53] local.INFO: TCP Data received {"connection_id":175494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:11:53] local.INFO: Processing buffer {"connection_id":175494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:11:53] local.INFO: Packet analysis {"connection_id":175494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:11:53] local.INFO: Extracted packet for processing {"connection_id":175494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:11:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908547840001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788705566000,"timestamp_ms":1788705566000,"timestamp_seconds":1788705566,"priority":1,"record_length":96,"hex_timestamp":"000001a07728ed30"} 
[2026-09-06 20:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:11: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-09-06 20: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 20:11: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-09-06 20: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-09-06 20:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:11: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-09-06 20:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908547840001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908547840001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:11:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:11:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908547840001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":175494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:11:53] local.INFO: GPS data processed {"connection_id":175494,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:11:53] local.INFO: Acknowledgment sent {"connection_id":175494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:12:24] local.INFO: TCP Data received {"connection_id":175494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:12:24] local.INFO: Processing buffer {"connection_id":175494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:12:24] local.INFO: Packet analysis {"connection_id":175494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:12:24] local.INFO: Extracted packet for processing {"connection_id":175494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 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-09-06 20:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908547840001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 20:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788705566000,"timestamp_ms":1788705566000,"timestamp_seconds":1788705566,"priority":1,"record_length":96,"hex_timestamp":"000001a07728ed30"} 
[2026-09-06 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-09-06 20: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-09-06 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 20: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-09-06 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-09-06 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-09-06 20:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:12: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-09-06 20:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908547840001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908547840001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:12:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908547840001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":175494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:12:24] local.INFO: GPS data processed {"connection_id":175494,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:12:24] local.INFO: Acknowledgment sent {"connection_id":175494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:12:52] local.INFO: TCP Data received {"connection_id":175495,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:12:52] local.INFO: Processing buffer {"connection_id":175495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:12:52] local.INFO: IMEI packet received {"connection_id":175495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":175495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:12:58] local.INFO: TCP Data received {"connection_id":175495,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:12:58] local.INFO: Processing buffer {"connection_id":175495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:12:58] local.INFO: IMEI packet received {"connection_id":175495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":175495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:13:02] local.INFO: TCP Data received {"connection_id":175495,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:13:02] local.INFO: Processing buffer {"connection_id":175495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:13:02] local.INFO: Packet analysis {"connection_id":175495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:13:02] local.INFO: Extracted packet for processing {"connection_id":175495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:13:02] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908547840001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788705566000,"timestamp_ms":1788705566000,"timestamp_seconds":1788705566,"priority":1,"record_length":96,"hex_timestamp":"000001a07728ed30"} 
[2026-09-06 20:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 20:13: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-09-06 20: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-09-06 20:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908547840001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908547840001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:13:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:13:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908547840001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":175495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:13:02] local.INFO: GPS data processed {"connection_id":175495,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:13:02] local.INFO: Acknowledgment sent {"connection_id":175495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:13:05] local.INFO: TCP Data received {"connection_id":175495,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:13:05] local.INFO: Processing buffer {"connection_id":175495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:13:05] local.INFO: Packet analysis {"connection_id":175495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:13:05] local.INFO: Extracted packet for processing {"connection_id":175495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908547840001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20:13: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-09-06 20:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788705566000,"timestamp_ms":1788705566000,"timestamp_seconds":1788705566,"priority":1,"record_length":96,"hex_timestamp":"000001a07728ed30"} 
[2026-09-06 20:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 20:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 20:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:13: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-09-06 20:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908547840001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908547840001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:13:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908547840001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":175495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:13:05] local.INFO: GPS data processed {"connection_id":175495,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:13:05] local.INFO: Acknowledgment sent {"connection_id":175495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:13:47] local.INFO: TCP Data received {"connection_id":173010,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:13:47] local.INFO: Processing buffer {"connection_id":173010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:13:47] local.INFO: IMEI packet received {"connection_id":173010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":173010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:13:52] local.INFO: TCP Data received {"connection_id":173010,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:13:52] local.INFO: Processing buffer {"connection_id":173010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:13:52] local.INFO: IMEI packet received {"connection_id":173010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":173010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:13:53] local.INFO: TCP Data received {"connection_id":173010,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:13:53] local.INFO: Processing buffer {"connection_id":173010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:13:53] local.INFO: Packet analysis {"connection_id":173010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:13:53] local.INFO: Extracted packet for processing {"connection_id":173010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908547840001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788705566000,"timestamp_ms":1788705566000,"timestamp_seconds":1788705566,"priority":1,"record_length":96,"hex_timestamp":"000001a07728ed30"} 
[2026-09-06 20:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:13: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-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:13: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-09-06 20:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908547840001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908547840001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908547840001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":173010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:13:53] local.INFO: GPS data processed {"connection_id":173010,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:13:53] local.INFO: Acknowledgment sent {"connection_id":173010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:14:14] local.INFO: TCP Data received {"connection_id":172779,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:14:14] local.INFO: Processing buffer {"connection_id":172779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:14:14] local.INFO: IMEI packet received {"connection_id":172779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":172779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:14:25] local.INFO: TCP Data received {"connection_id":173010,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:14:25] local.INFO: Processing buffer {"connection_id":173010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:14:25] local.INFO: Packet analysis {"connection_id":173010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:14:25] local.INFO: Extracted packet for processing {"connection_id":173010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:14:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908547840001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20:14: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-09-06 20:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788705566000,"timestamp_ms":1788705566000,"timestamp_seconds":1788705566,"priority":1,"record_length":96,"hex_timestamp":"000001a07728ed30"} 
[2026-09-06 20:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:14: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-09-06 20:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 20:14: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-09-06 20: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-09-06 20:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:14: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-09-06 20:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908547840001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908547840001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:14:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:14:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908547840001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":173010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:14:25] local.INFO: GPS data processed {"connection_id":173010,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:14:25] local.INFO: Acknowledgment sent {"connection_id":173010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:14:47] local.INFO: TCP Data received {"connection_id":172780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:14:47] local.INFO: Processing buffer {"connection_id":172780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:14:47] local.INFO: IMEI packet received {"connection_id":172780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":172780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:14:52] local.INFO: TCP Data received {"connection_id":172780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:14:52] local.INFO: Processing buffer {"connection_id":172780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:14:52] local.INFO: IMEI packet received {"connection_id":172780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":172780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:14:53] local.INFO: TCP Data received {"connection_id":172780,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:14:53] local.INFO: Processing buffer {"connection_id":172780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07728ed30012d34c9c006aa44480000015720..."} 
[2026-09-06 20:14:53] local.INFO: Packet analysis {"connection_id":172780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:14:53] local.INFO: Extracted packet for processing {"connection_id":172780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07728"} 
[2026-09-06 20:14:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":32,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908547840001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788705566000,"timestamp_ms":1788705566000,"timestamp_seconds":1788705566,"priority":1,"record_length":96,"hex_timestamp":"000001a07728ed30"} 
[2026-09-06 20:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 20:14: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-09-06 20: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-09-06 20:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:14: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-09-06 20:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908547840001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908547840001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:14:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908547840001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":172780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:14:53] local.INFO: GPS data processed {"connection_id":172780,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:14:53] local.INFO: Acknowledgment sent {"connection_id":172780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:15:24] local.INFO: TCP Data received {"connection_id":172780,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:15:24] local.INFO: Processing buffer {"connection_id":172780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:15:24] local.INFO: Packet analysis {"connection_id":172780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:15:24] local.INFO: Extracted packet for processing {"connection_id":172780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908624896001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788705867000,"timestamp_ms":1788705867000,"timestamp_seconds":1788705867,"priority":1,"record_length":96,"hex_timestamp":"000001a0772d84f8"} 
[2026-09-06 20:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:15: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-09-06 20:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908624896001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908624896001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:15:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908624896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":172780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:15:24] local.INFO: GPS data processed {"connection_id":172780,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:15:24] local.INFO: Acknowledgment sent {"connection_id":172780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:15:47] local.INFO: TCP Data received {"connection_id":175497,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:15:47] local.INFO: Processing buffer {"connection_id":175497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:15:47] local.INFO: IMEI packet received {"connection_id":175497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":175497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:15:52] local.INFO: TCP Data received {"connection_id":175497,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:15:52] local.INFO: Processing buffer {"connection_id":175497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:15:52] local.INFO: IMEI packet received {"connection_id":175497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":175497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:15:53] local.INFO: TCP Data received {"connection_id":175497,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:15:53] local.INFO: Processing buffer {"connection_id":175497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:15:53] local.INFO: Packet analysis {"connection_id":175497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:15:53] local.INFO: Extracted packet for processing {"connection_id":175497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:15:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908624896001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788705867000,"timestamp_ms":1788705867000,"timestamp_seconds":1788705867,"priority":1,"record_length":96,"hex_timestamp":"000001a0772d84f8"} 
[2026-09-06 20:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:15: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-09-06 20: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 20:15: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-09-06 20: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-09-06 20:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:15: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-09-06 20:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908624896001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908624896001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:15:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:15:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908624896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":175497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:15:53] local.INFO: GPS data processed {"connection_id":175497,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:15:53] local.INFO: Acknowledgment sent {"connection_id":175497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:16:26] local.INFO: TCP Data received {"connection_id":175497,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:16:26] local.INFO: Processing buffer {"connection_id":175497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:16:26] local.INFO: Packet analysis {"connection_id":175497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:16:26] local.INFO: Extracted packet for processing {"connection_id":175497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:16:26] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908624896001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20:16: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-09-06 20:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788705867000,"timestamp_ms":1788705867000,"timestamp_seconds":1788705867,"priority":1,"record_length":96,"hex_timestamp":"000001a0772d84f8"} 
[2026-09-06 20:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 20:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 20:16: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-09-06 20:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:16: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-09-06 20:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908624896001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908624896001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:16:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:16:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908624896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":175497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:16:26] local.INFO: GPS data processed {"connection_id":175497,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:16:26] local.INFO: Acknowledgment sent {"connection_id":175497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:16:47] local.INFO: TCP Data received {"connection_id":172781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:16:47] local.INFO: Processing buffer {"connection_id":172781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:16:47] local.INFO: IMEI packet received {"connection_id":172781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":172781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:16:52] local.INFO: TCP Data received {"connection_id":172781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:16:52] local.INFO: Processing buffer {"connection_id":172781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:16:52] local.INFO: IMEI packet received {"connection_id":172781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":172781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:16:53] local.INFO: TCP Data received {"connection_id":172781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:16:53] local.INFO: Processing buffer {"connection_id":172781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:16:53] local.INFO: Packet analysis {"connection_id":172781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:16:53] local.INFO: Extracted packet for processing {"connection_id":172781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:16:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908624896001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788705867000,"timestamp_ms":1788705867000,"timestamp_seconds":1788705867,"priority":1,"record_length":96,"hex_timestamp":"000001a0772d84f8"} 
[2026-09-06 20:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 20:16: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-09-06 20: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-09-06 20:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:16: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-09-06 20:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908624896001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908624896001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:16:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:16:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908624896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":172781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:16:53] local.INFO: GPS data processed {"connection_id":172781,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:16:53] local.INFO: Acknowledgment sent {"connection_id":172781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:17:24] local.INFO: TCP Data received {"connection_id":172781,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:17:24] local.INFO: Processing buffer {"connection_id":172781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:17:24] local.INFO: Packet analysis {"connection_id":172781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:17:24] local.INFO: Extracted packet for processing {"connection_id":172781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908624896001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788705867000,"timestamp_ms":1788705867000,"timestamp_seconds":1788705867,"priority":1,"record_length":96,"hex_timestamp":"000001a0772d84f8"} 
[2026-09-06 20:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:17: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-09-06 20:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908624896001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908624896001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:17:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908624896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":172781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:17:24] local.INFO: GPS data processed {"connection_id":172781,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:17:24] local.INFO: Acknowledgment sent {"connection_id":172781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:17:47] local.INFO: TCP Data received {"connection_id":174164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:17:47] local.INFO: Processing buffer {"connection_id":174164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:17:47] local.INFO: IMEI packet received {"connection_id":174164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":174164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:17:52] local.INFO: TCP Data received {"connection_id":174164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:17:52] local.INFO: Processing buffer {"connection_id":174164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:17:52] local.INFO: IMEI packet received {"connection_id":174164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":174164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:17:53] local.INFO: TCP Data received {"connection_id":174164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:17:53] local.INFO: Processing buffer {"connection_id":174164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:17:53] local.INFO: Packet analysis {"connection_id":174164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:17:53] local.INFO: Extracted packet for processing {"connection_id":174164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908624896001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788705867000,"timestamp_ms":1788705867000,"timestamp_seconds":1788705867,"priority":1,"record_length":96,"hex_timestamp":"000001a0772d84f8"} 
[2026-09-06 20:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20: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-09-06 20:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908624896001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908624896001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:17:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908624896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":174164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:17:53] local.INFO: GPS data processed {"connection_id":174164,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:17:53] local.INFO: Acknowledgment sent {"connection_id":174164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:18:24] local.INFO: TCP Data received {"connection_id":174164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:18:24] local.INFO: Processing buffer {"connection_id":174164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:18:24] local.INFO: Packet analysis {"connection_id":174164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:18:24] local.INFO: Extracted packet for processing {"connection_id":174164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:18:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908624896001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788705867000,"timestamp_ms":1788705867000,"timestamp_seconds":1788705867,"priority":1,"record_length":96,"hex_timestamp":"000001a0772d84f8"} 
[2026-09-06 20:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:18: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-09-06 20: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 20:18: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-09-06 20: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-09-06 20:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:18: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-09-06 20:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908624896001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908624896001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:18:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:18:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908624896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":174164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:18:24] local.INFO: GPS data processed {"connection_id":174164,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:18:24] local.INFO: Acknowledgment sent {"connection_id":174164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:18:47] local.INFO: TCP Data received {"connection_id":174167,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:18:47] local.INFO: Processing buffer {"connection_id":174167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:18:47] local.INFO: IMEI packet received {"connection_id":174167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":174167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:18:52] local.INFO: TCP Data received {"connection_id":174167,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:18:52] local.INFO: Processing buffer {"connection_id":174167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:18:52] local.INFO: IMEI packet received {"connection_id":174167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":174167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:18:53] local.INFO: TCP Data received {"connection_id":174167,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:18:53] local.INFO: Processing buffer {"connection_id":174167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:18:53] local.INFO: Packet analysis {"connection_id":174167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:18:53] local.INFO: Extracted packet for processing {"connection_id":174167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:18:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908624896001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788705867000,"timestamp_ms":1788705867000,"timestamp_seconds":1788705867,"priority":1,"record_length":96,"hex_timestamp":"000001a0772d84f8"} 
[2026-09-06 20:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:18: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-09-06 20: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 20:18: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-09-06 20: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-09-06 20:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:18: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-09-06 20:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908624896001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908624896001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:18:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908624896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":174167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:18:53] local.INFO: GPS data processed {"connection_id":174167,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:18:53] local.INFO: Acknowledgment sent {"connection_id":174167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:19:24] local.INFO: TCP Data received {"connection_id":174167,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:19:24] local.INFO: Processing buffer {"connection_id":174167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:19:24] local.INFO: Packet analysis {"connection_id":174167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:19:24] local.INFO: Extracted packet for processing {"connection_id":174167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:19:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908624896001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788705867000,"timestamp_ms":1788705867000,"timestamp_seconds":1788705867,"priority":1,"record_length":96,"hex_timestamp":"000001a0772d84f8"} 
[2026-09-06 20:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 20:19: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-09-06 20: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-09-06 20:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:19: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-09-06 20:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908624896001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908624896001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:19:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:19:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908624896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":174167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:19:24] local.INFO: GPS data processed {"connection_id":174167,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:19:24] local.INFO: Acknowledgment sent {"connection_id":174167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:19:47] local.INFO: TCP Data received {"connection_id":175498,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:19:47] local.INFO: Processing buffer {"connection_id":175498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:19:47] local.INFO: IMEI packet received {"connection_id":175498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":175498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:19:49] local.INFO: TCP Data received {"connection_id":173011,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:19:49] local.INFO: Processing buffer {"connection_id":173011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:19:49] local.INFO: IMEI packet received {"connection_id":173011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":173011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:19:52] local.INFO: TCP Data received {"connection_id":175498,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:19:52] local.INFO: Processing buffer {"connection_id":175498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:19:52] local.INFO: IMEI packet received {"connection_id":175498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":175498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:19:54] local.INFO: TCP Data received {"connection_id":175498,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:19:54] local.INFO: Processing buffer {"connection_id":175498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:19:54] local.INFO: Packet analysis {"connection_id":175498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:19:54] local.INFO: Extracted packet for processing {"connection_id":175498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:19:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908624896001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788705867000,"timestamp_ms":1788705867000,"timestamp_seconds":1788705867,"priority":1,"record_length":96,"hex_timestamp":"000001a0772d84f8"} 
[2026-09-06 20:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:19: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-09-06 20: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 20:19: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-09-06 20: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-09-06 20:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:19: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-09-06 20:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908624896001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908624896001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:19:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:19:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908624896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":175498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:19:54] local.INFO: GPS data processed {"connection_id":175498,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:19:54] local.INFO: Acknowledgment sent {"connection_id":175498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:19:59] local.INFO: TCP Data received {"connection_id":175498,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:19:59] local.INFO: Processing buffer {"connection_id":175498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0772d84f8012d34c9c006aa44480000015726..."} 
[2026-09-06 20:19:59] local.INFO: Packet analysis {"connection_id":175498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:19:59] local.INFO: Extracted packet for processing {"connection_id":175498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0772d"} 
[2026-09-06 20:19:59] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908624896001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20:19: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-09-06 20:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788705867000,"timestamp_ms":1788705867000,"timestamp_seconds":1788705867,"priority":1,"record_length":96,"hex_timestamp":"000001a0772d84f8"} 
[2026-09-06 20:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:19: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-09-06 20:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 20:19: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-09-06 20:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908624896001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908624896001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:19:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:19:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908624896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":175498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:19:59] local.INFO: GPS data processed {"connection_id":175498,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:19:59] local.INFO: Acknowledgment sent {"connection_id":175498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:20:30] local.INFO: TCP Data received {"connection_id":175498,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:20:31] local.INFO: Processing buffer {"connection_id":175498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:20:31] local.INFO: Packet analysis {"connection_id":175498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:20:31] local.INFO: Extracted packet for processing {"connection_id":175498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908701952001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20:20: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-09-06 20:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788706168000,"timestamp_ms":1788706168000,"timestamp_seconds":1788706168,"priority":1,"record_length":96,"hex_timestamp":"000001a077321cc0"} 
[2026-09-06 20:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:20: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-09-06 20: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908701952001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908701952001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:20:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:20:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908701952001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":175498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:20:31] local.INFO: GPS data processed {"connection_id":175498,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:20:31] local.INFO: Acknowledgment sent {"connection_id":175498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:20:47] local.INFO: TCP Data received {"connection_id":175499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:20:47] local.INFO: Processing buffer {"connection_id":175499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:20:47] local.INFO: IMEI packet received {"connection_id":175499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":175499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:20:52] local.INFO: TCP Data received {"connection_id":175499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:20:52] local.INFO: Processing buffer {"connection_id":175499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:20:52] local.INFO: IMEI packet received {"connection_id":175499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":175499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:20:53] local.INFO: TCP Data received {"connection_id":175499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:20:53] local.INFO: Processing buffer {"connection_id":175499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:20:53] local.INFO: Packet analysis {"connection_id":175499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:20:53] local.INFO: Extracted packet for processing {"connection_id":175499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908701952001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788706168000,"timestamp_ms":1788706168000,"timestamp_seconds":1788706168,"priority":1,"record_length":96,"hex_timestamp":"000001a077321cc0"} 
[2026-09-06 20:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:20: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-09-06 20: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-09-06 20:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:20: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-09-06 20:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908701952001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908701952001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:20:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908701952001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":175499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:20:53] local.INFO: GPS data processed {"connection_id":175499,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:20:53] local.INFO: Acknowledgment sent {"connection_id":175499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:21:24] local.INFO: TCP Data received {"connection_id":175499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:21:24] local.INFO: Processing buffer {"connection_id":175499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:21:24] local.INFO: Packet analysis {"connection_id":175499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:21:24] local.INFO: Extracted packet for processing {"connection_id":175499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:21:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908701952001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788706168000,"timestamp_ms":1788706168000,"timestamp_seconds":1788706168,"priority":1,"record_length":96,"hex_timestamp":"000001a077321cc0"} 
[2026-09-06 20:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:21: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-09-06 20: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-09-06 20:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:21: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-09-06 20:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908701952001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908701952001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:21:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:21:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908701952001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":175499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:21:24] local.INFO: GPS data processed {"connection_id":175499,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:21:24] local.INFO: Acknowledgment sent {"connection_id":175499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:21:47] local.INFO: TCP Data received {"connection_id":172782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:21:47] local.INFO: Processing buffer {"connection_id":172782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:21:47] local.INFO: IMEI packet received {"connection_id":172782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":172782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:21:52] local.INFO: TCP Data received {"connection_id":172782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:21:52] local.INFO: Processing buffer {"connection_id":172782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:21:52] local.INFO: IMEI packet received {"connection_id":172782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":172782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:21:53] local.INFO: TCP Data received {"connection_id":172782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:21:53] local.INFO: Processing buffer {"connection_id":172782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:21:53] local.INFO: Packet analysis {"connection_id":172782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:21:53] local.INFO: Extracted packet for processing {"connection_id":172782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908701952001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788706168000,"timestamp_ms":1788706168000,"timestamp_seconds":1788706168,"priority":1,"record_length":96,"hex_timestamp":"000001a077321cc0"} 
[2026-09-06 20:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:21: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-09-06 20: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-09-06 20:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:21: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-09-06 20:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908701952001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908701952001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:21:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908701952001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":172782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:21:53] local.INFO: GPS data processed {"connection_id":172782,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:21:53] local.INFO: Acknowledgment sent {"connection_id":172782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:22:24] local.INFO: TCP Data received {"connection_id":172782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:22:24] local.INFO: Processing buffer {"connection_id":172782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:22:24] local.INFO: Packet analysis {"connection_id":172782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:22:24] local.INFO: Extracted packet for processing {"connection_id":172782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:22:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908701952001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788706168000,"timestamp_ms":1788706168000,"timestamp_seconds":1788706168,"priority":1,"record_length":96,"hex_timestamp":"000001a077321cc0"} 
[2026-09-06 20:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:22: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-09-06 20: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-09-06 20:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:22: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-09-06 20:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908701952001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908701952001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:22:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:22:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908701952001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":172782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:22:24] local.INFO: GPS data processed {"connection_id":172782,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:22:24] local.INFO: Acknowledgment sent {"connection_id":172782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:22:47] local.INFO: TCP Data received {"connection_id":174168,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:22:47] local.INFO: Processing buffer {"connection_id":174168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:22:47] local.INFO: IMEI packet received {"connection_id":174168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":174168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:22:52] local.INFO: TCP Data received {"connection_id":174168,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:22:52] local.INFO: Processing buffer {"connection_id":174168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:22:52] local.INFO: IMEI packet received {"connection_id":174168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":174168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:22:53] local.INFO: TCP Data received {"connection_id":174168,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:22:53] local.INFO: Processing buffer {"connection_id":174168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:22:53] local.INFO: Packet analysis {"connection_id":174168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:22:53] local.INFO: Extracted packet for processing {"connection_id":174168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908701952001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788706168000,"timestamp_ms":1788706168000,"timestamp_seconds":1788706168,"priority":1,"record_length":96,"hex_timestamp":"000001a077321cc0"} 
[2026-09-06 20:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:22: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-09-06 20:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908701952001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908701952001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:22:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908701952001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":174168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:22:53] local.INFO: GPS data processed {"connection_id":174168,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:22:53] local.INFO: Acknowledgment sent {"connection_id":174168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:23:24] local.INFO: TCP Data received {"connection_id":174168,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:23:24] local.INFO: Processing buffer {"connection_id":174168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:23:24] local.INFO: Packet analysis {"connection_id":174168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:23:24] local.INFO: Extracted packet for processing {"connection_id":174168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:23:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908701952001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788706168000,"timestamp_ms":1788706168000,"timestamp_seconds":1788706168,"priority":1,"record_length":96,"hex_timestamp":"000001a077321cc0"} 
[2026-09-06 20:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:23: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-09-06 20: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:23: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-09-06 20: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-09-06 20:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:23: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-09-06 20:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908701952001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908701952001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:23:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:23:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908701952001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":174168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:23:24] local.INFO: GPS data processed {"connection_id":174168,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:23:24] local.INFO: Acknowledgment sent {"connection_id":174168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:23:52] local.INFO: TCP Data received {"connection_id":172783,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:23:52] local.INFO: Processing buffer {"connection_id":172783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:23:52] local.INFO: IMEI packet received {"connection_id":172783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":172783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:23:57] local.INFO: TCP Data received {"connection_id":172783,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:23:57] local.INFO: Processing buffer {"connection_id":172783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:23:57] local.INFO: IMEI packet received {"connection_id":172783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":172783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:23:59] local.INFO: TCP Data received {"connection_id":172783,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:23:59] local.INFO: Processing buffer {"connection_id":172783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:23:59] local.INFO: Packet analysis {"connection_id":172783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:23:59] local.INFO: Extracted packet for processing {"connection_id":172783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:23:59] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908701952001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20:23: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-09-06 20:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788706168000,"timestamp_ms":1788706168000,"timestamp_seconds":1788706168,"priority":1,"record_length":96,"hex_timestamp":"000001a077321cc0"} 
[2026-09-06 20:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:23: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-09-06 20:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:23: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-09-06 20:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908701952001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908701952001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:23:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:23:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908701952001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":172783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:23:59] local.INFO: GPS data processed {"connection_id":172783,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:23:59] local.INFO: Acknowledgment sent {"connection_id":172783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:24:03] local.INFO: TCP Data received {"connection_id":172783,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:24:03] local.INFO: Processing buffer {"connection_id":172783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:24:03] local.INFO: Packet analysis {"connection_id":172783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:24:03] local.INFO: Extracted packet for processing {"connection_id":172783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908701952001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20:24: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-09-06 20:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788706168000,"timestamp_ms":1788706168000,"timestamp_seconds":1788706168,"priority":1,"record_length":96,"hex_timestamp":"000001a077321cc0"} 
[2026-09-06 20:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:24: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-09-06 20:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:24: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-09-06 20:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908701952001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908701952001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:24:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:24:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908701952001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":172783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:24:03] local.INFO: GPS data processed {"connection_id":172783,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:24:03] local.INFO: Acknowledgment sent {"connection_id":172783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:24:47] local.INFO: TCP Data received {"connection_id":174169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:24:47] local.INFO: Processing buffer {"connection_id":174169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:24:47] local.INFO: IMEI packet received {"connection_id":174169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":174169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:24:53] local.INFO: TCP Data received {"connection_id":174169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:24:53] local.INFO: Processing buffer {"connection_id":174169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:24:53] local.INFO: IMEI packet received {"connection_id":174169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":174169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:24:54] local.INFO: TCP Data received {"connection_id":174169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:24:54] local.INFO: Processing buffer {"connection_id":174169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077321cc0012d34c9c006aa44480000015726..."} 
[2026-09-06 20:24:54] local.INFO: Packet analysis {"connection_id":174169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:24:54] local.INFO: Extracted packet for processing {"connection_id":174169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07732"} 
[2026-09-06 20:24:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908701952001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20:24: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-09-06 20:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788706168000,"timestamp_ms":1788706168000,"timestamp_seconds":1788706168,"priority":1,"record_length":96,"hex_timestamp":"000001a077321cc0"} 
[2026-09-06 20:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:24: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-09-06 20: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:24: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-09-06 20: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-09-06 20:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:24: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-09-06 20:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908701952001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908701952001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:24:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:24:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908701952001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":174169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:24:54] local.INFO: GPS data processed {"connection_id":174169,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:24:54] local.INFO: Acknowledgment sent {"connection_id":174169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:25:25] local.INFO: TCP Data received {"connection_id":174169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:25:25] local.INFO: Processing buffer {"connection_id":174169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:25:25] local.INFO: Packet analysis {"connection_id":174169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07736"} 
[2026-09-06 20:25:25] local.INFO: Extracted packet for processing {"connection_id":174169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07736"} 
[2026-09-06 20:25:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908779008001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788706469000,"timestamp_ms":1788706469000,"timestamp_seconds":1788706469,"priority":1,"record_length":96,"hex_timestamp":"000001a07736b488"} 
[2026-09-06 20:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20: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-09-06 20:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:25: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-09-06 20:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908779008001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908779008001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:25:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:25:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908779008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":174169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:25:25] local.INFO: GPS data processed {"connection_id":174169,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:25:25] local.INFO: Acknowledgment sent {"connection_id":174169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:25:48] local.INFO: TCP Data received {"connection_id":175501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:25:48] local.INFO: Processing buffer {"connection_id":175501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:25:48] local.INFO: IMEI packet received {"connection_id":175501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":175501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:25:52] local.INFO: TCP Data received {"connection_id":175501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:25:52] local.INFO: Processing buffer {"connection_id":175501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:25:52] local.INFO: IMEI packet received {"connection_id":175501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":175501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:25:53] local.INFO: TCP Data received {"connection_id":175501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:25:53] local.INFO: Processing buffer {"connection_id":175501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:25:53] local.INFO: Packet analysis {"connection_id":175501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07736"} 
[2026-09-06 20:25:53] local.INFO: Extracted packet for processing {"connection_id":175501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07736"} 
[2026-09-06 20:25:53] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908779008001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788706469000,"timestamp_ms":1788706469000,"timestamp_seconds":1788706469,"priority":1,"record_length":96,"hex_timestamp":"000001a07736b488"} 
[2026-09-06 20:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:25: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:25: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-09-06 20: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-09-06 20:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908779008001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908779008001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:25:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:25:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908779008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":175501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:25:53] local.INFO: GPS data processed {"connection_id":175501,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:25:53] local.INFO: Acknowledgment sent {"connection_id":175501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:26:24] local.INFO: TCP Data received {"connection_id":175501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:26:24] local.INFO: Processing buffer {"connection_id":175501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:26:24] local.INFO: Packet analysis {"connection_id":175501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07736"} 
[2026-09-06 20:26:24] local.INFO: Extracted packet for processing {"connection_id":175501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07736"} 
[2026-09-06 20:26:24] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908779008001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788706469000,"timestamp_ms":1788706469000,"timestamp_seconds":1788706469,"priority":1,"record_length":96,"hex_timestamp":"000001a07736b488"} 
[2026-09-06 20:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:26: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-09-06 20:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908779008001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908779008001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:26:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:26:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908779008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":175501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:26:24] local.INFO: GPS data processed {"connection_id":175501,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:26:24] local.INFO: Acknowledgment sent {"connection_id":175501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:26:47] local.INFO: TCP Data received {"connection_id":174170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:26:47] local.INFO: Processing buffer {"connection_id":174170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:26:47] local.INFO: IMEI packet received {"connection_id":174170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":174170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:26:52] local.INFO: TCP Data received {"connection_id":174170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:26:52] local.INFO: Processing buffer {"connection_id":174170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:26:52] local.INFO: IMEI packet received {"connection_id":174170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":174170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:26:54] local.INFO: TCP Data received {"connection_id":174170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:26:54] local.INFO: Processing buffer {"connection_id":174170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:26:54] local.INFO: Packet analysis {"connection_id":174170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07736"} 
[2026-09-06 20:26:54] local.INFO: Extracted packet for processing {"connection_id":174170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07736"} 
[2026-09-06 20:26:54] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908779008001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788706469000,"timestamp_ms":1788706469000,"timestamp_seconds":1788706469,"priority":1,"record_length":96,"hex_timestamp":"000001a07736b488"} 
[2026-09-06 20:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:26: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-09-06 20:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908779008001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908779008001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:26:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:26:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908779008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":174170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:26:54] local.INFO: GPS data processed {"connection_id":174170,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:26:54] local.INFO: Acknowledgment sent {"connection_id":174170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:27:25] local.INFO: TCP Data received {"connection_id":174170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:27:25] local.INFO: Processing buffer {"connection_id":174170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:27:25] local.INFO: Packet analysis {"connection_id":174170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07736"} 
[2026-09-06 20:27:25] local.INFO: Extracted packet for processing {"connection_id":174170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07736"} 
[2026-09-06 20:27:25] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908779008001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788706469000,"timestamp_ms":1788706469000,"timestamp_seconds":1788706469,"priority":1,"record_length":96,"hex_timestamp":"000001a07736b488"} 
[2026-09-06 20:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:27: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-09-06 20:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908779008001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908779008001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:27:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:27:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908779008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":174170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:27:25] local.INFO: GPS data processed {"connection_id":174170,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:27:25] local.INFO: Acknowledgment sent {"connection_id":174170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:27:47] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:27:47] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:27:47] local.INFO: IMEI packet received {"connection_id":175502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":175502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:27:53] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:27:53] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:27:53] local.INFO: IMEI packet received {"connection_id":175502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":175502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:27:55] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:27:55] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07736b488012d34c9c006aa44480000015725..."} 
[2026-09-06 20:27:55] local.INFO: Packet analysis {"connection_id":175502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07736"} 
[2026-09-06 20:27:55] local.INFO: Extracted packet for processing {"connection_id":175502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07736"} 
[2026-09-06 20:27:55] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821896,"longitude_deg":75.843424,"latitude_deg":11.1821896,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908779008001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788706469000,"timestamp_ms":1788706469000,"timestamp_seconds":1788706469,"priority":1,"record_length":96,"hex_timestamp":"000001a07736b488"} 
[2026-09-06 20:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908779008001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908779008001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:27:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:27:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908779008001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":175502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:27:55] local.INFO: GPS data processed {"connection_id":175502,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:27:55] local.INFO: Acknowledgment sent {"connection_id":175502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:28:26] local.INFO: TCP Data received {"connection_id":175502,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:28:26] local.INFO: Processing buffer {"connection_id":175502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:28:26] local.INFO: Packet analysis {"connection_id":175502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:28:26] local.INFO: Extracted packet for processing {"connection_id":175502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:28:26] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821936,"longitude_deg":75.843488,"latitude_deg":11.1821936,"altitude":0,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4470","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908856064001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788706651000,"timestamp_ms":1788706651000,"timestamp_seconds":1788706651,"priority":1,"record_length":96,"hex_timestamp":"000001a077397b78"} 
[2026-09-06 20:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:28: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:28: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-09-06 20: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-09-06 20:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:28: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-09-06 20:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908856064001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908856064001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:28:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:28:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908856064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":175502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:28:26] local.INFO: GPS data processed {"connection_id":175502,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:28:26] local.INFO: Acknowledgment sent {"connection_id":175502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:28:47] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:28:47] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:28:47] local.INFO: IMEI packet received {"connection_id":174171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":174171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:28:52] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:28:52] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:28:52] local.INFO: IMEI packet received {"connection_id":174171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":174171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:28:53] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:28:53] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:28:53] local.INFO: Packet analysis {"connection_id":174171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:28:53] local.INFO: Extracted packet for processing {"connection_id":174171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821936,"longitude_deg":75.843488,"latitude_deg":11.1821936,"altitude":0,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4470","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908856064001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788706651000,"timestamp_ms":1788706651000,"timestamp_seconds":1788706651,"priority":1,"record_length":96,"hex_timestamp":"000001a077397b78"} 
[2026-09-06 20:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:28: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-09-06 20: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-09-06 20:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20: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-09-06 20:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908856064001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908856064001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:28:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908856064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":174171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:28:53] local.INFO: GPS data processed {"connection_id":174171,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:28:53] local.INFO: Acknowledgment sent {"connection_id":174171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:29:24] local.INFO: TCP Data received {"connection_id":174171,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:29:24] local.INFO: Processing buffer {"connection_id":174171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:29:24] local.INFO: Packet analysis {"connection_id":174171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:29:24] local.INFO: Extracted packet for processing {"connection_id":174171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:29:24] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821936,"longitude_deg":75.843488,"latitude_deg":11.1821936,"altitude":0,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4470","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908856064001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788706651000,"timestamp_ms":1788706651000,"timestamp_seconds":1788706651,"priority":1,"record_length":96,"hex_timestamp":"000001a077397b78"} 
[2026-09-06 20:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:29: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-09-06 20: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-09-06 20:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:29: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-09-06 20:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908856064001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908856064001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:29:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:29:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908856064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":174171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:29:24] local.INFO: GPS data processed {"connection_id":174171,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:29:24] local.INFO: Acknowledgment sent {"connection_id":174171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:29:47] local.INFO: TCP Data received {"connection_id":172784,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:29:47] local.INFO: Processing buffer {"connection_id":172784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:29:47] local.INFO: IMEI packet received {"connection_id":172784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":172784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:29:52] local.INFO: TCP Data received {"connection_id":172784,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:29:52] local.INFO: Processing buffer {"connection_id":172784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:29:52] local.INFO: IMEI packet received {"connection_id":172784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":172784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:29:53] local.INFO: TCP Data received {"connection_id":172784,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:29:53] local.INFO: Processing buffer {"connection_id":172784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:29:53] local.INFO: Packet analysis {"connection_id":172784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:29:53] local.INFO: Extracted packet for processing {"connection_id":172784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821936,"longitude_deg":75.843488,"latitude_deg":11.1821936,"altitude":0,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4470","is_valid_coordinates":true} 
[2026-09-06 20:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908856064001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788706651000,"timestamp_ms":1788706651000,"timestamp_seconds":1788706651,"priority":1,"record_length":96,"hex_timestamp":"000001a077397b78"} 
[2026-09-06 20:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:29: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-09-06 20:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:29: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-09-06 20:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908856064001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908856064001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:29:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908856064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":172784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:29:53] local.INFO: GPS data processed {"connection_id":172784,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:29:53] local.INFO: Acknowledgment sent {"connection_id":172784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:30:24] local.INFO: TCP Data received {"connection_id":172784,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:30:24] local.INFO: Processing buffer {"connection_id":172784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:30:24] local.INFO: Packet analysis {"connection_id":172784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:30:24] local.INFO: Extracted packet for processing {"connection_id":172784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:30:24] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821936,"longitude_deg":75.843488,"latitude_deg":11.1821936,"altitude":0,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4470","is_valid_coordinates":true} 
[2026-09-06 20:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908856064001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788706651000,"timestamp_ms":1788706651000,"timestamp_seconds":1788706651,"priority":1,"record_length":96,"hex_timestamp":"000001a077397b78"} 
[2026-09-06 20:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:30: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-09-06 20:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20: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-09-06 20:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908856064001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908856064001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:30:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:30:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908856064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":172784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:30:24] local.INFO: GPS data processed {"connection_id":172784,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:30:24] local.INFO: Acknowledgment sent {"connection_id":172784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:30:24] local.INFO: TCP Data received {"connection_id":174172,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:30:24] local.INFO: Processing buffer {"connection_id":174172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:30:24] local.INFO: IMEI packet received {"connection_id":174172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":174172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:30:29] local.INFO: TCP Data received {"connection_id":174172,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:30:29] local.INFO: Processing buffer {"connection_id":174172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:30:29] local.INFO: IMEI packet received {"connection_id":174172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":174172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:30:32] local.INFO: TCP Data received {"connection_id":174172,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a07739c1c8012c03cec00afb2df002e0013c29..."} 
[2026-09-06 20:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07739c1c8012c03cec00afb2df002e0013c29..."} 
[2026-09-06 20:30:32] local.INFO: Processing buffer {"connection_id":174172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07739c1c8012c03cec00afb2df002e0013c29..."} 
[2026-09-06 20:30:32] local.INFO: Packet analysis {"connection_id":174172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:30:32] local.INFO: Extracted packet for processing {"connection_id":174172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:30:32] local.INFO: GPS Element Parsed {"raw_longitude":738447040,"raw_latitude":184233456,"longitude_deg":73.844704,"latitude_deg":18.4233456,"altitude":736,"angle":316,"satellites":41,"speed":35,"hex_longitude":"2c03cec0","hex_latitude":"0afb2df0","is_valid_coordinates":true} 
[2026-09-06 20:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908904192001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3510147922001920,"note":"Value kept but may cause issues"} 
[2026-09-06 20:30:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":281826867593469954,"note":"Value kept but may cause issues"} 
[2026-09-06 20:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788706669000,"timestamp_ms":1788706669000,"timestamp_seconds":1788706669,"priority":1,"record_length":96,"hex_timestamp":"000001a07739c1c8"} 
[2026-09-06 20:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:30: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-09-06 20:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 20:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908904192001,"66":27626,"195":206,"4":13056,"24":35,"16":3510147922001920,"44":281826867593469954},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,4,24,16,44]} 
[2026-09-06 20:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908904192001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:30:32] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-06 20:30:32] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3510147922001920,"km_value":3510147922001.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:30:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":281826867593469954,"description":"Unknown IO ID 44"} 
[2026-09-06 20:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908904192001,"power":27626,"unknown_195":206,"unknown_4":13056,"ignition":35,"odometer":null,"unknown_44":281826867593469954}} 
[2026-09-06 20:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":174172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775889,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:30:32] local.INFO: GPS data processed {"connection_id":174172,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:30:32] local.INFO: Acknowledgment sent {"connection_id":174172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:30:47] local.INFO: TCP Data received {"connection_id":175503,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:30:47] local.INFO: Processing buffer {"connection_id":175503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:30:47] local.INFO: IMEI packet received {"connection_id":175503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":175503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:30:52] local.INFO: TCP Data received {"connection_id":175503,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:30:52] local.INFO: Processing buffer {"connection_id":175503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:30:52] local.INFO: IMEI packet received {"connection_id":175503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":175503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:30:53] local.INFO: TCP Data received {"connection_id":175503,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:30:53] local.INFO: Processing buffer {"connection_id":175503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:30:53] local.INFO: Packet analysis {"connection_id":175503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:30:53] local.INFO: Extracted packet for processing {"connection_id":175503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821936,"longitude_deg":75.843488,"latitude_deg":11.1821936,"altitude":0,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4470","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908856064001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788706651000,"timestamp_ms":1788706651000,"timestamp_seconds":1788706651,"priority":1,"record_length":96,"hex_timestamp":"000001a077397b78"} 
[2026-09-06 20:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:30: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-09-06 20:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908856064001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908856064001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:30:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908856064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":175503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:30:53] local.INFO: GPS data processed {"connection_id":175503,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:30:53] local.INFO: Acknowledgment sent {"connection_id":175503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:30:54] local.INFO: TCP Data received {"connection_id":173013,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:30:54] local.INFO: Processing buffer {"connection_id":173013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:30:54] local.INFO: IMEI packet received {"connection_id":173013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":173013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:30:57] local.INFO: TCP Data received {"connection_id":173013,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:30:57] local.INFO: Processing buffer {"connection_id":173013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:30:57] local.INFO: IMEI packet received {"connection_id":173013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":173013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:30:58] local.INFO: TCP Data received {"connection_id":173013,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a07739f878012c03b4800afb47a002dc013e28..."} 
[2026-09-06 20:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07739f878012c03b4800afb47a002dc013e28..."} 
[2026-09-06 20:30:58] local.INFO: Processing buffer {"connection_id":173013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07739f878012c03b4800afb47a002dc013e28..."} 
[2026-09-06 20:30:58] local.INFO: Packet analysis {"connection_id":173013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:30:58] local.INFO: Extracted packet for processing {"connection_id":173013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:30:58] local.INFO: GPS Element Parsed {"raw_longitude":738440320,"raw_latitude":184240032,"longitude_deg":73.844032,"latitude_deg":18.4240032,"altitude":732,"angle":318,"satellites":40,"speed":24,"hex_longitude":"2c03b480","hex_latitude":"0afb47a0","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908907264001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3510594598600704,"note":"Value kept but may cause issues"} 
[2026-09-06 20:30:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":274367780712476674,"note":"Value kept but may cause issues"} 
[2026-09-06 20:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788706683000,"timestamp_ms":1788706683000,"timestamp_seconds":1788706683,"priority":1,"record_length":96,"hex_timestamp":"000001a07739f878"} 
[2026-09-06 20:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-06 20:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173013,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173013,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908907264001,"66":27463,"195":206,"4":13056,"24":24,"16":3510594598600704,"44":274367780712476674},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,4,24,16,44]} 
[2026-09-06 20:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908907264001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:30:58] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-06 20:30:58] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3510594598600704,"km_value":3510594598600.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:30:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":274367780712476674,"description":"Unknown IO ID 44"} 
[2026-09-06 20:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908907264001,"power":27463,"unknown_195":206,"unknown_4":13056,"ignition":24,"odometer":null,"unknown_44":274367780712476674}} 
[2026-09-06 20:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":173013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775891,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:30:58] local.INFO: GPS data processed {"connection_id":173013,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:30:58] local.INFO: Acknowledgment sent {"connection_id":173013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:31:24] local.INFO: TCP Data received {"connection_id":175503,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:31:24] local.INFO: Processing buffer {"connection_id":175503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:31:24] local.INFO: Packet analysis {"connection_id":175503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:31:24] local.INFO: Extracted packet for processing {"connection_id":175503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:31:24] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821936,"longitude_deg":75.843488,"latitude_deg":11.1821936,"altitude":0,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4470","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908856064001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788706651000,"timestamp_ms":1788706651000,"timestamp_seconds":1788706651,"priority":1,"record_length":96,"hex_timestamp":"000001a077397b78"} 
[2026-09-06 20:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:31: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-09-06 20:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908856064001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908856064001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:31:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908856064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":175503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:31:24] local.INFO: GPS data processed {"connection_id":175503,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:31:24] local.INFO: Acknowledgment sent {"connection_id":175503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:31:29] local.INFO: TCP Data received {"connection_id":173013,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0773c7918012c030d400afc655002b6012f2c..."} 
[2026-09-06 20:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773c7918012c030d400afc655002b6012f2c..."} 
[2026-09-06 20:31:29] local.INFO: Processing buffer {"connection_id":173013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773c7918012c030d400afc655002b6012f2c..."} 
[2026-09-06 20:31:29] local.INFO: Packet analysis {"connection_id":173013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773c"} 
[2026-09-06 20:31:29] local.INFO: Extracted packet for processing {"connection_id":173013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773c"} 
[2026-09-06 20:31:29] local.INFO: GPS Element Parsed {"raw_longitude":738397504,"raw_latitude":184313168,"longitude_deg":73.8397504,"latitude_deg":18.4313168,"altitude":694,"angle":303,"satellites":44,"speed":38,"hex_longitude":"2c030d40","hex_latitude":"0afc6550","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908950272001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3514765011845120,"note":"Value kept but may cause issues"} 
[2026-09-06 20:31:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":228557728271937538,"note":"Value kept but may cause issues"} 
[2026-09-06 20:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788706847000,"timestamp_ms":1788706847000,"timestamp_seconds":1788706847,"priority":1,"record_length":96,"hex_timestamp":"000001a0773c7918"} 
[2026-09-06 20:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-06 20:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173013,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173013,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908950272001,"66":27593,"228":206,"4":13056,"24":38,"16":3514765011845120,"44":228557728271937538},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,4,24,16,44]} 
[2026-09-06 20:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908950272001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:31:29] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-06 20:31:29] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3514765011845120,"km_value":3514765011845.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:31:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":228557728271937538,"description":"Unknown IO ID 44"} 
[2026-09-06 20:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908950272001,"power":27593,"unknown_228":206,"unknown_4":13056,"ignition":38,"odometer":null,"unknown_44":228557728271937538}} 
[2026-09-06 20:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":173013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775893,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:31:29] local.INFO: GPS data processed {"connection_id":173013,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:31:29] local.INFO: Acknowledgment sent {"connection_id":173013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:31:47] local.INFO: TCP Data received {"connection_id":173014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:31:47] local.INFO: Processing buffer {"connection_id":173014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:31:47] local.INFO: IMEI packet received {"connection_id":173014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":173014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:31:49] local.INFO: TCP Data received {"connection_id":175504,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:31:49] local.INFO: Processing buffer {"connection_id":175504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:31:49] local.INFO: IMEI packet received {"connection_id":175504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":175504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:31:52] local.INFO: TCP Data received {"connection_id":173014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:31:52] local.INFO: Processing buffer {"connection_id":173014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:31:52] local.INFO: IMEI packet received {"connection_id":173014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":173014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:31:54] local.INFO: TCP Data received {"connection_id":173014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:31:54] local.INFO: Processing buffer {"connection_id":173014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:31:54] local.INFO: Packet analysis {"connection_id":173014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:31:54] local.INFO: Extracted packet for processing {"connection_id":173014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:31:54] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821936,"longitude_deg":75.843488,"latitude_deg":11.1821936,"altitude":0,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4470","is_valid_coordinates":true} 
[2026-09-06 20:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908856064001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20:31: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-09-06 20:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788706651000,"timestamp_ms":1788706651000,"timestamp_seconds":1788706651,"priority":1,"record_length":96,"hex_timestamp":"000001a077397b78"} 
[2026-09-06 20:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:31: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-09-06 20:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:31: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-09-06 20:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:31: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-09-06 20:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908856064001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908856064001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:31:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:31:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908856064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":173014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:31:54] local.INFO: GPS data processed {"connection_id":173014,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:31:54] local.INFO: Acknowledgment sent {"connection_id":173014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:31:55] local.INFO: TCP Data received {"connection_id":175504,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:31:55] local.INFO: Processing buffer {"connection_id":175504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:31:55] local.INFO: IMEI packet received {"connection_id":175504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":175504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:31:55] local.INFO: TCP Data received {"connection_id":175504,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:31:55] local.INFO: Processing buffer {"connection_id":175504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:31:55] local.INFO: IMEI packet received {"connection_id":175504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":175504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:31:59] local.INFO: TCP Data received {"connection_id":175504,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:31:59] local.INFO: Processing buffer {"connection_id":175504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:31:59] local.INFO: IMEI packet received {"connection_id":175504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":175504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:32:01] local.INFO: TCP Data received {"connection_id":175504,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0773ca028012c02ed400afc792002b5012e2b..."} 
[2026-09-06 20:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773ca028012c02ed400afc792002b5012e2b..."} 
[2026-09-06 20:32:01] local.INFO: Processing buffer {"connection_id":175504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773ca028012c02ed400afc792002b5012e2b..."} 
[2026-09-06 20:32:01] local.INFO: Packet analysis {"connection_id":175504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773c"} 
[2026-09-06 20:32:01] local.INFO: Extracted packet for processing {"connection_id":175504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773c"} 
[2026-09-06 20:32:01] local.INFO: GPS Element Parsed {"raw_longitude":738389312,"raw_latitude":184318240,"longitude_deg":73.8389312,"latitude_deg":18.431824,"altitude":693,"angle":302,"satellites":43,"speed":38,"hex_longitude":"2c02ed40","hex_latitude":"0afc7920","is_valid_coordinates":true} 
[2026-09-06 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-09-06 20:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908952832001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3515220278378496,"note":"Value kept but may cause issues"} 
[2026-09-06 20:32:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":219902372739371010,"note":"Value kept but may cause issues"} 
[2026-09-06 20:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788706857000,"timestamp_ms":1788706857000,"timestamp_seconds":1788706857,"priority":1,"record_length":96,"hex_timestamp":"000001a0773ca028"} 
[2026-09-06 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-09-06 20:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-06 20:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 20:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908952832001,"66":27713,"228":206,"4":13056,"24":38,"16":3515220278378496,"44":219902372739371010},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,4,24,16,44]} 
[2026-09-06 20:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908952832001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:32:01] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-06 20:32:01] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3515220278378496,"km_value":3515220278378.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:32:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":219902372739371010,"description":"Unknown IO ID 44"} 
[2026-09-06 20:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908952832001,"power":27713,"unknown_228":206,"unknown_4":13056,"ignition":38,"odometer":null,"unknown_44":219902372739371010}} 
[2026-09-06 20:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":175504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775895,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:32:01] local.INFO: GPS data processed {"connection_id":175504,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:32:01] local.INFO: Acknowledgment sent {"connection_id":175504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:32:26] local.INFO: TCP Data received {"connection_id":173014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:32:26] local.INFO: Processing buffer {"connection_id":173014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:32:26] local.INFO: Packet analysis {"connection_id":173014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:32:26] local.INFO: Extracted packet for processing {"connection_id":173014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:32:26] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821936,"longitude_deg":75.843488,"latitude_deg":11.1821936,"altitude":0,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4470","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908856064001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20:32: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-09-06 20:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788706651000,"timestamp_ms":1788706651000,"timestamp_seconds":1788706651,"priority":1,"record_length":96,"hex_timestamp":"000001a077397b78"} 
[2026-09-06 20:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:32: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-09-06 20: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:32: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-09-06 20: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-09-06 20:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:32: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-09-06 20:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908856064001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908856064001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:32:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:32:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908856064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":173014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:32:26] local.INFO: GPS data processed {"connection_id":173014,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:32:26] local.INFO: Acknowledgment sent {"connection_id":173014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:32:32] local.INFO: TCP Data received {"connection_id":175504,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0773cbb80012c02d6800afc8a4002b4013b2b..."} 
[2026-09-06 20:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773cbb80012c02d6800afc8a4002b4013b2b..."} 
[2026-09-06 20:32:32] local.INFO: Processing buffer {"connection_id":175504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773cbb80012c02d6800afc8a4002b4013b2b..."} 
[2026-09-06 20:32:32] local.INFO: Packet analysis {"connection_id":175504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773c"} 
[2026-09-06 20:32:32] local.INFO: Extracted packet for processing {"connection_id":175504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773c"} 
[2026-09-06 20:32:32] local.INFO: GPS Element Parsed {"raw_longitude":738383488,"raw_latitude":184322624,"longitude_deg":73.8383488,"latitude_deg":18.4322624,"altitude":692,"angle":315,"satellites":43,"speed":39,"hex_longitude":"2c02d680","hex_latitude":"0afc8a40","is_valid_coordinates":true} 
[2026-09-06 20:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908955392001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3515559580794880,"note":"Value kept but may cause issues"} 
[2026-09-06 20:32:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":210895173485928450,"note":"Value kept but may cause issues"} 
[2026-09-06 20:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788706864000,"timestamp_ms":1788706864000,"timestamp_seconds":1788706864,"priority":1,"record_length":96,"hex_timestamp":"000001a0773cbb80"} 
[2026-09-06 20:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-06 20:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908955392001,"66":27604,"228":206,"4":13056,"24":39,"16":3515559580794880,"44":210895173485928450},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,4,24,16,44]} 
[2026-09-06 20:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908955392001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:32:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-06 20:32:32] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3515559580794880,"km_value":3515559580794.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:32:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":210895173485928450,"description":"Unknown IO ID 44"} 
[2026-09-06 20:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908955392001,"power":27604,"unknown_228":206,"unknown_4":13056,"ignition":39,"odometer":null,"unknown_44":210895173485928450}} 
[2026-09-06 20:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":175504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775897,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:32:32] local.INFO: GPS data processed {"connection_id":175504,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:32:32] local.INFO: Acknowledgment sent {"connection_id":175504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:32:49] local.INFO: TCP Data received {"connection_id":172785,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:32:49] local.INFO: Processing buffer {"connection_id":172785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:32:49] local.INFO: IMEI packet received {"connection_id":172785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":172785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:32:53] local.INFO: TCP Data received {"connection_id":173015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:32:53] local.INFO: Processing buffer {"connection_id":173015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:32:53] local.INFO: IMEI packet received {"connection_id":173015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":173015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:32:55] local.INFO: TCP Data received {"connection_id":172785,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:32:55] local.INFO: Processing buffer {"connection_id":172785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:32:55] local.INFO: IMEI packet received {"connection_id":172785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":172785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:32:57] local.INFO: TCP Data received {"connection_id":173015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:32:57] local.INFO: Processing buffer {"connection_id":173015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:32:57] local.INFO: IMEI packet received {"connection_id":173015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":173015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:32:57] local.INFO: TCP Data received {"connection_id":172785,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0773ccb20012c02ccc00afc962002b401472b..."} 
[2026-09-06 20:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773ccb20012c02ccc00afc962002b401472b..."} 
[2026-09-06 20:32:57] local.INFO: Processing buffer {"connection_id":172785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773ccb20012c02ccc00afc962002b401472b..."} 
[2026-09-06 20:32:57] local.INFO: Packet analysis {"connection_id":172785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773c"} 
[2026-09-06 20:32:57] local.INFO: Extracted packet for processing {"connection_id":172785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773c"} 
[2026-09-06 20:32:57] local.INFO: GPS Element Parsed {"raw_longitude":738380992,"raw_latitude":184325664,"longitude_deg":73.8380992,"latitude_deg":18.4325664,"altitude":692,"angle":327,"satellites":43,"speed":39,"hex_longitude":"2c02ccc0","hex_latitude":"0afc9620","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908957184001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3515748559355904,"note":"Value kept but may cause issues"} 
[2026-09-06 20:32:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":204491617766883330,"note":"Value kept but may cause issues"} 
[2026-09-06 20:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788706868000,"timestamp_ms":1788706868000,"timestamp_seconds":1788706868,"priority":1,"record_length":96,"hex_timestamp":"000001a0773ccb20"} 
[2026-09-06 20:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 20:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908957184001,"66":27626,"228":206,"4":13056,"24":39,"16":3515748559355904,"44":204491617766883330},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,4,24,16,44]} 
[2026-09-06 20:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908957184001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:32:57] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-06 20:32:57] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3515748559355904,"km_value":3515748559355.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:32:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":204491617766883330,"description":"Unknown IO ID 44"} 
[2026-09-06 20:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908957184001,"power":27626,"unknown_228":206,"unknown_4":13056,"ignition":39,"odometer":null,"unknown_44":204491617766883330}} 
[2026-09-06 20:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":172785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775898,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:32:58] local.INFO: GPS data processed {"connection_id":172785,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:32:58] local.INFO: Acknowledgment sent {"connection_id":172785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:32:58] local.INFO: TCP Data received {"connection_id":173015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:32:58] local.INFO: Processing buffer {"connection_id":173015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:32:58] local.INFO: Packet analysis {"connection_id":173015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:32:58] local.INFO: Extracted packet for processing {"connection_id":173015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:32:58] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821936,"longitude_deg":75.843488,"latitude_deg":11.1821936,"altitude":0,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4470","is_valid_coordinates":true} 
[2026-09-06 20:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908856064001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20:32: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-09-06 20:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788706651000,"timestamp_ms":1788706651000,"timestamp_seconds":1788706651,"priority":1,"record_length":96,"hex_timestamp":"000001a077397b78"} 
[2026-09-06 20:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:32: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-09-06 20:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:32: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-09-06 20:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:32: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-09-06 20:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908856064001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908856064001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:32:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:32:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908856064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":173015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:32:58] local.INFO: GPS data processed {"connection_id":173015,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:32:58] local.INFO: Acknowledgment sent {"connection_id":173015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:33:03] local.INFO: TCP Data received {"connection_id":173015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:33:03] local.INFO: Processing buffer {"connection_id":173015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077397b78012d34cc4006aa44700000005327..."} 
[2026-09-06 20:33:03] local.INFO: Packet analysis {"connection_id":173015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:33:03] local.INFO: Extracted packet for processing {"connection_id":173015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07739"} 
[2026-09-06 20:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821936,"longitude_deg":75.843488,"latitude_deg":11.1821936,"altitude":0,"angle":83,"satellites":39,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4470","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908856064001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803782495150032896,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788706651000,"timestamp_ms":1788706651000,"timestamp_seconds":1788706651,"priority":1,"record_length":96,"hex_timestamp":"000001a077397b78"} 
[2026-09-06 20:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:33: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-09-06 20: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908856064001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3803782495150032896},"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-09-06 20:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908856064001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:33:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:33:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803782495150032896,"description":"Unknown IO ID 45"} 
[2026-09-06 20:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908856064001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803782495150032896}} 
[2026-09-06 20:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":173015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:33:03] local.INFO: GPS data processed {"connection_id":173015,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:33:03] local.INFO: Acknowledgment sent {"connection_id":173015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:33:32] local.INFO: TCP Data received {"connection_id":172785,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0773cdac0012c02c4800afca44002b401522b..."} 
[2026-09-06 20:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773cdac0012c02c4800afca44002b401522b..."} 
[2026-09-06 20:33:32] local.INFO: Processing buffer {"connection_id":172785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773cdac0012c02c4800afca44002b401522b..."} 
[2026-09-06 20:33:32] local.INFO: Packet analysis {"connection_id":172785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773c"} 
[2026-09-06 20:33:32] local.INFO: Extracted packet for processing {"connection_id":172785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773c"} 
[2026-09-06 20:33:32] local.INFO: GPS Element Parsed {"raw_longitude":738378880,"raw_latitude":184329280,"longitude_deg":73.837888,"latitude_deg":18.432928,"altitude":692,"angle":338,"satellites":43,"speed":42,"hex_longitude":"2c02c480","hex_latitude":"0afca440","is_valid_coordinates":true} 
[2026-09-06 20:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908958208001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3515946127851520,"note":"Value kept but may cause issues"} 
[2026-09-06 20:33:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":201747236744732674,"note":"Value kept but may cause issues"} 
[2026-09-06 20:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788706872000,"timestamp_ms":1788706872000,"timestamp_seconds":1788706872,"priority":1,"record_length":96,"hex_timestamp":"000001a0773cdac0"} 
[2026-09-06 20:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:33: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-09-06 20:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-06 20:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908958208001,"66":27517,"228":206,"4":13056,"24":42,"16":3515946127851520,"44":201747236744732674},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,4,24,16,44]} 
[2026-09-06 20:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908958208001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:33:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-06 20:33:32] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3515946127851520,"km_value":3515946127851.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:33:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":201747236744732674,"description":"Unknown IO ID 44"} 
[2026-09-06 20:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908958208001,"power":27517,"unknown_228":206,"unknown_4":13056,"ignition":42,"odometer":null,"unknown_44":201747236744732674}} 
[2026-09-06 20:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":172785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775901,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:33:32] local.INFO: GPS data processed {"connection_id":172785,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:33:32] local.INFO: Acknowledgment sent {"connection_id":172785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:33:47] local.INFO: TCP Data received {"connection_id":173016,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:33:47] local.INFO: Processing buffer {"connection_id":173016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:33:47] local.INFO: IMEI packet received {"connection_id":173016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":173016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:33:50] local.INFO: TCP Data received {"connection_id":173017,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173017,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:33:50] local.INFO: Processing buffer {"connection_id":173017,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:33:50] local.INFO: IMEI packet received {"connection_id":173017,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":173017,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:33:52] local.INFO: TCP Data received {"connection_id":173016,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:33:52] local.INFO: Processing buffer {"connection_id":173016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:33:52] local.INFO: IMEI packet received {"connection_id":173016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":173016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:33:53] local.INFO: TCP Data received {"connection_id":173016,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:33:53] local.INFO: Processing buffer {"connection_id":173016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:33:53] local.INFO: Packet analysis {"connection_id":173016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:33:53] local.INFO: Extracted packet for processing {"connection_id":173016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:33:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908902656001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591819776,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788706952000,"timestamp_ms":1788706952000,"timestamp_seconds":1788706952,"priority":1,"record_length":96,"hex_timestamp":"000001a0773e1340"} 
[2026-09-06 20:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 20: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:33: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-09-06 20: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-09-06 20:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20: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-09-06 20:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908902656001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591819776},"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-09-06 20:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908902656001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:33:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:33:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591819776,"description":"Unknown IO ID 45"} 
[2026-09-06 20:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908902656001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591819776}} 
[2026-09-06 20:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":173016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:33:54] local.INFO: GPS data processed {"connection_id":173016,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:33:54] local.INFO: Acknowledgment sent {"connection_id":173016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:33:54] local.INFO: TCP Data received {"connection_id":173017,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173017,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:33:54] local.INFO: Processing buffer {"connection_id":173017,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:33:54] local.INFO: IMEI packet received {"connection_id":173017,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":173017,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:33:54] local.INFO: TCP Data received {"connection_id":173017,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173017,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:33:54] local.INFO: Processing buffer {"connection_id":173017,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:33:54] local.INFO: IMEI packet received {"connection_id":173017,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":173017,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:33:59] local.INFO: TCP Data received {"connection_id":173017,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173017,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:33:59] local.INFO: Processing buffer {"connection_id":173017,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:33:59] local.INFO: IMEI packet received {"connection_id":173017,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":173017,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:34:00] local.INFO: TCP Data received {"connection_id":173017,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0773cea60012c02bfc00afcb4a002b4015d2b..."} 
[2026-09-06 20:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773cea60012c02bfc00afcb4a002b4015d2b..."} 
[2026-09-06 20:34:00] local.INFO: Processing buffer {"connection_id":173017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773cea60012c02bfc00afcb4a002b4015d2b..."} 
[2026-09-06 20:34:00] local.INFO: Packet analysis {"connection_id":173017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773c"} 
[2026-09-06 20:34:00] local.INFO: Extracted packet for processing {"connection_id":173017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773c"} 
[2026-09-06 20:34:00] local.INFO: GPS Element Parsed {"raw_longitude":738377664,"raw_latitude":184333472,"longitude_deg":73.8377664,"latitude_deg":18.4333472,"altitude":692,"angle":349,"satellites":43,"speed":44,"hex_longitude":"2c02bfc0","hex_latitude":"0afcb4a0","is_valid_coordinates":true} 
[2026-09-06 20:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908959232001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3516160876216320,"note":"Value kept but may cause issues"} 
[2026-09-06 20:34:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":199425068187795458,"note":"Value kept but may cause issues"} 
[2026-09-06 20:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788706876000,"timestamp_ms":1788706876000,"timestamp_seconds":1788706876,"priority":1,"record_length":96,"hex_timestamp":"000001a0773cea60"} 
[2026-09-06 20:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 20:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173017,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173017,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908959232001,"66":27745,"228":206,"4":13056,"24":44,"16":3516160876216320,"44":199425068187795458},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,4,24,16,44]} 
[2026-09-06 20:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908959232001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:34:00] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-06 20:34:00] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3516160876216320,"km_value":3516160876216.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:34:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":199425068187795458,"description":"Unknown IO ID 44"} 
[2026-09-06 20:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908959232001,"power":27745,"unknown_228":206,"unknown_4":13056,"ignition":44,"odometer":null,"unknown_44":199425068187795458}} 
[2026-09-06 20:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":173017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775903,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:34:00] local.INFO: GPS data processed {"connection_id":173017,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:34:00] local.INFO: Acknowledgment sent {"connection_id":173017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:34:25] local.INFO: TCP Data received {"connection_id":173016,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:34:25] local.INFO: Processing buffer {"connection_id":173016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:34:25] local.INFO: Packet analysis {"connection_id":173016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:34:25] local.INFO: Extracted packet for processing {"connection_id":173016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:34:25] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908902656001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591819776,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788706952000,"timestamp_ms":1788706952000,"timestamp_seconds":1788706952,"priority":1,"record_length":96,"hex_timestamp":"000001a0773e1340"} 
[2026-09-06 20:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:34: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-09-06 20: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:34: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-09-06 20: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-09-06 20:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:34: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-09-06 20:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908902656001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591819776},"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-09-06 20:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908902656001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:34:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:34:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591819776,"description":"Unknown IO ID 45"} 
[2026-09-06 20:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908902656001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591819776}} 
[2026-09-06 20:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":173016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:34:25] local.INFO: GPS data processed {"connection_id":173016,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:34:25] local.INFO: Acknowledgment sent {"connection_id":173016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:34:32] local.INFO: TCP Data received {"connection_id":173017,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0773cf618012c02bec00afcc1d002b300012b..."} 
[2026-09-06 20:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773cf618012c02bec00afcc1d002b300012b..."} 
[2026-09-06 20:34:32] local.INFO: Processing buffer {"connection_id":173017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773cf618012c02bec00afcc1d002b300012b..."} 
[2026-09-06 20:34:32] local.INFO: Packet analysis {"connection_id":173017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773c"} 
[2026-09-06 20:34:32] local.INFO: Extracted packet for processing {"connection_id":173017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773c"} 
[2026-09-06 20:34:32] local.INFO: GPS Element Parsed {"raw_longitude":738377408,"raw_latitude":184336848,"longitude_deg":73.8377408,"latitude_deg":18.4336848,"altitude":691,"angle":1,"satellites":43,"speed":44,"hex_longitude":"2c02bec0","hex_latitude":"0afcc1d0","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908960256001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3516324084973568,"note":"Value kept but may cause issues"} 
[2026-09-06 20:34:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":198088062049492994,"note":"Value kept but may cause issues"} 
[2026-09-06 20:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788706879000,"timestamp_ms":1788706879000,"timestamp_seconds":1788706879,"priority":1,"record_length":96,"hex_timestamp":"000001a0773cf618"} 
[2026-09-06 20:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 20:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173017,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173017,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908960256001,"66":27604,"228":206,"4":13056,"24":44,"16":3516324084973568,"44":198088062049492994},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,4,24,16,44]} 
[2026-09-06 20:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908960256001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:34:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-06 20:34:32] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3516324084973568,"km_value":3516324084973.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:34:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":198088062049492994,"description":"Unknown IO ID 44"} 
[2026-09-06 20:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908960256001,"power":27604,"unknown_228":206,"unknown_4":13056,"ignition":44,"odometer":null,"unknown_44":198088062049492994}} 
[2026-09-06 20:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":173017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775905,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:34:32] local.INFO: GPS data processed {"connection_id":173017,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:34:32] local.INFO: Acknowledgment sent {"connection_id":173017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:34:47] local.INFO: TCP Data received {"connection_id":174173,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:34:47] local.INFO: Processing buffer {"connection_id":174173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:34:47] local.INFO: IMEI packet received {"connection_id":174173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":174173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:34:52] local.INFO: TCP Data received {"connection_id":174173,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:34:52] local.INFO: Processing buffer {"connection_id":174173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:34:52] local.INFO: IMEI packet received {"connection_id":174173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":174173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:34:53] local.INFO: TCP Data received {"connection_id":174173,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:34:53] local.INFO: Processing buffer {"connection_id":174173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:34:53] local.INFO: Packet analysis {"connection_id":174173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:34:53] local.INFO: Extracted packet for processing {"connection_id":174173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 20:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908902656001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591819776,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 20:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788706952000,"timestamp_ms":1788706952000,"timestamp_seconds":1788706952,"priority":1,"record_length":96,"hex_timestamp":"000001a0773e1340"} 
[2026-09-06 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-09-06 20: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-09-06 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:34: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-09-06 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-09-06 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-09-06 20:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:34: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-09-06 20:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908902656001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591819776},"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-09-06 20:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908902656001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591819776,"description":"Unknown IO ID 45"} 
[2026-09-06 20:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908902656001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591819776}} 
[2026-09-06 20:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":174173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:34:53] local.INFO: GPS data processed {"connection_id":174173,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:34:53] local.INFO: Acknowledgment sent {"connection_id":174173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:34:54] local.INFO: TCP Data received {"connection_id":174174,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:34:54] local.INFO: Processing buffer {"connection_id":174174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:34:54] local.INFO: IMEI packet received {"connection_id":174174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":174174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:35:06] local.INFO: TCP Data received {"connection_id":174174,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:35:06] local.INFO: Processing buffer {"connection_id":174174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:35:06] local.INFO: IMEI packet received {"connection_id":174174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":174174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:35:09] local.INFO: TCP Data received {"connection_id":174174,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0773f0958012c02ed800afdf5b00297014329..."} 
[2026-09-06 20:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773f0958012c02ed800afdf5b00297014329..."} 
[2026-09-06 20:35:09] local.INFO: Processing buffer {"connection_id":174174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773f0958012c02ed800afdf5b00297014329..."} 
[2026-09-06 20:35:09] local.INFO: Packet analysis {"connection_id":174174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773f"} 
[2026-09-06 20:35:09] local.INFO: Extracted packet for processing {"connection_id":174174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773f"} 
[2026-09-06 20:35:09] local.INFO: GPS Element Parsed {"raw_longitude":738389376,"raw_latitude":184415664,"longitude_deg":73.8389376,"latitude_deg":18.4415664,"altitude":663,"angle":323,"satellites":41,"speed":10,"hex_longitude":"2c02ed80","hex_latitude":"0afdf5b0","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908990976001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3520378534100992,"note":"Value kept but may cause issues"} 
[2026-09-06 20:35:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":214202504486100994,"note":"Value kept but may cause issues"} 
[2026-09-06 20:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788707015000,"timestamp_ms":1788707015000,"timestamp_seconds":1788707015,"priority":1,"record_length":96,"hex_timestamp":"000001a0773f0958"} 
[2026-09-06 20:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 20:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174174,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174174,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908990976001,"66":27365,"172":206,"4":13056,"24":10,"16":3520378534100992,"44":214202504486100994},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16,44]} 
[2026-09-06 20:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908990976001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:35:09] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:35:09] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3520378534100992,"km_value":3520378534100.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:35:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":214202504486100994,"description":"Unknown IO ID 44"} 
[2026-09-06 20:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908990976001,"power":27365,"unknown_172":206,"unknown_4":13056,"ignition":10,"odometer":null,"unknown_44":214202504486100994}} 
[2026-09-06 20:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":174174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775907,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:35:09] local.INFO: GPS data processed {"connection_id":174174,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:35:09] local.INFO: Acknowledgment sent {"connection_id":174174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:35:25] local.INFO: TCP Data received {"connection_id":174173,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:35:25] local.INFO: Processing buffer {"connection_id":174173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:35:25] local.INFO: Packet analysis {"connection_id":174173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:35:25] local.INFO: Extracted packet for processing {"connection_id":174173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:35:25] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908902656001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591819776,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788706952000,"timestamp_ms":1788706952000,"timestamp_seconds":1788706952,"priority":1,"record_length":96,"hex_timestamp":"000001a0773e1340"} 
[2026-09-06 20:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 20: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:35: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-09-06 20: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-09-06 20:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20: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-09-06 20:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908902656001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591819776},"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-09-06 20:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908902656001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:35:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:35:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591819776,"description":"Unknown IO ID 45"} 
[2026-09-06 20:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908902656001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591819776}} 
[2026-09-06 20:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":174173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:35:25] local.INFO: GPS data processed {"connection_id":174173,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:35:25] local.INFO: Acknowledgment sent {"connection_id":174173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:35:47] local.INFO: TCP Data received {"connection_id":174175,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:35:47] local.INFO: Processing buffer {"connection_id":174175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:35:47] local.INFO: IMEI packet received {"connection_id":174175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":174175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:35:52] local.INFO: TCP Data received {"connection_id":174175,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:35:52] local.INFO: Processing buffer {"connection_id":174175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:35:52] local.INFO: IMEI packet received {"connection_id":174175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":174175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:35:54] local.INFO: TCP Data received {"connection_id":173018,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:35:54] local.INFO: Processing buffer {"connection_id":173018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:35:54] local.INFO: IMEI packet received {"connection_id":173018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":173018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:35:54] local.INFO: TCP Data received {"connection_id":174175,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:35:54] local.INFO: Processing buffer {"connection_id":174175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:35:54] local.INFO: Packet analysis {"connection_id":174175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:35:54] local.INFO: Extracted packet for processing {"connection_id":174175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:35:54] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908902656001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591819776,"note":"Value kept but may cause issues"} 
[2026-09-06 20:35: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-09-06 20:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788706952000,"timestamp_ms":1788706952000,"timestamp_seconds":1788706952,"priority":1,"record_length":96,"hex_timestamp":"000001a0773e1340"} 
[2026-09-06 20:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:35: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-09-06 20:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:35: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-09-06 20:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:35: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-09-06 20:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908902656001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591819776},"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-09-06 20:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908902656001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:35:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:35:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591819776,"description":"Unknown IO ID 45"} 
[2026-09-06 20:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908902656001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591819776}} 
[2026-09-06 20:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":174175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:35:54] local.INFO: GPS data processed {"connection_id":174175,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:35:54] local.INFO: Acknowledgment sent {"connection_id":174175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:35:59] local.INFO: TCP Data received {"connection_id":173018,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:35:59] local.INFO: Processing buffer {"connection_id":173018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:35:59] local.INFO: IMEI packet received {"connection_id":173018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":173018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:36:00] local.INFO: TCP Data received {"connection_id":173018,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0773f5778012c02d4c00afe13200291014229..."} 
[2026-09-06 20:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773f5778012c02d4c00afe13200291014229..."} 
[2026-09-06 20:36:00] local.INFO: Processing buffer {"connection_id":173018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773f5778012c02d4c00afe13200291014229..."} 
[2026-09-06 20:36:00] local.INFO: Packet analysis {"connection_id":173018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773f"} 
[2026-09-06 20:36:00] local.INFO: Extracted packet for processing {"connection_id":173018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773f"} 
[2026-09-06 20:36:00] local.INFO: GPS Element Parsed {"raw_longitude":738383040,"raw_latitude":184423200,"longitude_deg":73.838304,"latitude_deg":18.44232,"altitude":657,"angle":322,"satellites":41,"speed":31,"hex_longitude":"2c02d4c0","hex_latitude":"0afe1320","is_valid_coordinates":true} 
[2026-09-06 20:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908995840001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3520842390568960,"note":"Value kept but may cause issues"} 
[2026-09-06 20:36:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":210965542255046658,"note":"Value kept but may cause issues"} 
[2026-09-06 20:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788707035000,"timestamp_ms":1788707035000,"timestamp_seconds":1788707035,"priority":1,"record_length":96,"hex_timestamp":"000001a0773f5778"} 
[2026-09-06 20:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-06 20:36: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-09-06 20:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908995840001,"66":27604,"172":206,"4":13056,"24":31,"16":3520842390568960,"44":210965542255046658},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16,44]} 
[2026-09-06 20:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908995840001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:36:00] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:36:00] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3520842390568960,"km_value":3520842390568.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:36:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":210965542255046658,"description":"Unknown IO ID 44"} 
[2026-09-06 20:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908995840001,"power":27604,"unknown_172":206,"unknown_4":13056,"ignition":31,"odometer":null,"unknown_44":210965542255046658}} 
[2026-09-06 20:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":173018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775910,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:36:00] local.INFO: GPS data processed {"connection_id":173018,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:36:00] local.INFO: Acknowledgment sent {"connection_id":173018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:36:32] local.INFO: TCP Data received {"connection_id":173018,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0773f5778012c02d4c00afe13200291014229..."} 
[2026-09-06 20:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773f5778012c02d4c00afe13200291014229..."} 
[2026-09-06 20:36:32] local.INFO: Processing buffer {"connection_id":173018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773f5778012c02d4c00afe13200291014229..."} 
[2026-09-06 20:36:32] local.INFO: Packet analysis {"connection_id":173018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773f"} 
[2026-09-06 20:36:32] local.INFO: Extracted packet for processing {"connection_id":173018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773f"} 
[2026-09-06 20:36:32] local.INFO: GPS Element Parsed {"raw_longitude":738383040,"raw_latitude":184423200,"longitude_deg":73.838304,"latitude_deg":18.44232,"altitude":657,"angle":322,"satellites":41,"speed":31,"hex_longitude":"2c02d4c0","hex_latitude":"0afe1320","is_valid_coordinates":true} 
[2026-09-06 20:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909000960001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3520842390568960,"note":"Value kept but may cause issues"} 
[2026-09-06 20:36:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":203999036583387138,"note":"Value kept but may cause issues"} 
[2026-09-06 20:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788707035000,"timestamp_ms":1788707035000,"timestamp_seconds":1788707035,"priority":1,"record_length":96,"hex_timestamp":"000001a0773f5778"} 
[2026-09-06 20:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:36: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-09-06 20:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 20:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909000960001,"66":27604,"172":206,"4":13056,"24":31,"16":3520842390568960,"44":203999036583387138},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16,44]} 
[2026-09-06 20:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909000960001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:36:32] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:36:32] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3520842390568960,"km_value":3520842390568.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:36:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":203999036583387138,"description":"Unknown IO ID 44"} 
[2026-09-06 20:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909000960001,"power":27604,"unknown_172":206,"unknown_4":13056,"ignition":31,"odometer":null,"unknown_44":203999036583387138}} 
[2026-09-06 20:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":173018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775911,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:36:33] local.INFO: GPS data processed {"connection_id":173018,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:36:33] local.INFO: Acknowledgment sent {"connection_id":173018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:36:49] local.INFO: TCP Data received {"connection_id":173019,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:36:49] local.INFO: Processing buffer {"connection_id":173019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:36:49] local.INFO: IMEI packet received {"connection_id":173019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":173019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:36:49] local.INFO: TCP Data received {"connection_id":174175,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:36:49] local.INFO: Processing buffer {"connection_id":174175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:36:49] local.INFO: Packet analysis {"connection_id":174175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:36:49] local.INFO: Extracted packet for processing {"connection_id":174175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:36:49] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908902656001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591819776,"note":"Value kept but may cause issues"} 
[2026-09-06 20:36: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-09-06 20:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788706952000,"timestamp_ms":1788706952000,"timestamp_seconds":1788706952,"priority":1,"record_length":96,"hex_timestamp":"000001a0773e1340"} 
[2026-09-06 20:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 20:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:36:49] 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-09-06 20:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908902656001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591819776},"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-09-06 20:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908902656001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:36:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:36:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591819776,"description":"Unknown IO ID 45"} 
[2026-09-06 20:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908902656001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591819776}} 
[2026-09-06 20:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":174175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:36:49] local.INFO: GPS data processed {"connection_id":174175,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:36:49] local.INFO: Acknowledgment sent {"connection_id":174175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:36:54] local.INFO: TCP Data received {"connection_id":173019,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:36:54] local.INFO: Processing buffer {"connection_id":173019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:36:54] local.INFO: IMEI packet received {"connection_id":173019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":173019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:36:56] local.INFO: TCP Data received {"connection_id":173019,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0773f8658012c02bc400afe3040028c014227..."} 
[2026-09-06 20:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773f8658012c02bc400afe3040028c014227..."} 
[2026-09-06 20:36:56] local.INFO: Processing buffer {"connection_id":173019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773f8658012c02bc400afe3040028c014227..."} 
[2026-09-06 20:36:56] local.INFO: Packet analysis {"connection_id":173019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773f"} 
[2026-09-06 20:36:56] local.INFO: Extracted packet for processing {"connection_id":173019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773f"} 
[2026-09-06 20:36:56] local.INFO: GPS Element Parsed {"raw_longitude":738376768,"raw_latitude":184430656,"longitude_deg":73.8376768,"latitude_deg":18.4430656,"altitude":652,"angle":322,"satellites":39,"speed":29,"hex_longitude":"2c02bc40","hex_latitude":"0afe3040","is_valid_coordinates":true} 
[2026-09-06 20:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909000960001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3521306247036928,"note":"Value kept but may cause issues"} 
[2026-09-06 20:36:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":203999036583387138,"note":"Value kept but may cause issues"} 
[2026-09-06 20:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788707047000,"timestamp_ms":1788707047000,"timestamp_seconds":1788707047,"priority":1,"record_length":96,"hex_timestamp":"000001a0773f8658"} 
[2026-09-06 20:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 20:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909000960001,"66":27615,"172":206,"4":13056,"24":29,"16":3521306247036928,"44":203999036583387138},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16,44]} 
[2026-09-06 20:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909000960001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:36:56] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:36:56] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3521306247036928,"km_value":3521306247036.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:36:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":203999036583387138,"description":"Unknown IO ID 44"} 
[2026-09-06 20:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909000960001,"power":27615,"unknown_172":206,"unknown_4":13056,"ignition":29,"odometer":null,"unknown_44":203999036583387138}} 
[2026-09-06 20:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":173019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775913,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:36:56] local.INFO: GPS data processed {"connection_id":173019,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:36:56] local.INFO: Acknowledgment sent {"connection_id":173019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:36:57] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:36:57] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:36:57] local.INFO: IMEI packet received {"connection_id":175505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":175505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:37:02] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:37:02] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:37:02] local.INFO: IMEI packet received {"connection_id":175505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":175505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:37:03] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:37:03] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:37:03] local.INFO: Packet analysis {"connection_id":175505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:37:03] local.INFO: Extracted packet for processing {"connection_id":175505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908902656001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591819776,"note":"Value kept but may cause issues"} 
[2026-09-06 20:37: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-09-06 20:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788706952000,"timestamp_ms":1788706952000,"timestamp_seconds":1788706952,"priority":1,"record_length":96,"hex_timestamp":"000001a0773e1340"} 
[2026-09-06 20:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:37: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-09-06 20:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:37: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-09-06 20:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908902656001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591819776},"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-09-06 20:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908902656001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:37:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591819776,"description":"Unknown IO ID 45"} 
[2026-09-06 20:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908902656001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591819776}} 
[2026-09-06 20:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":175505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:37:03] local.INFO: GPS data processed {"connection_id":175505,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:37:03] local.INFO: Acknowledgment sent {"connection_id":175505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:37:08] local.INFO: TCP Data received {"connection_id":175505,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:37:08] local.INFO: Processing buffer {"connection_id":175505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:37:08] local.INFO: Packet analysis {"connection_id":175505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:37:08] local.INFO: Extracted packet for processing {"connection_id":175505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908902656001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591819776,"note":"Value kept but may cause issues"} 
[2026-09-06 20:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788706952000,"timestamp_ms":1788706952000,"timestamp_seconds":1788706952,"priority":1,"record_length":96,"hex_timestamp":"000001a0773e1340"} 
[2026-09-06 20:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 20:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:37:08] 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-09-06 20:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908902656001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591819776},"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-09-06 20:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908902656001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591819776,"description":"Unknown IO ID 45"} 
[2026-09-06 20:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908902656001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591819776}} 
[2026-09-06 20:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":175505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:37:08] local.INFO: GPS data processed {"connection_id":175505,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:37:08] local.INFO: Acknowledgment sent {"connection_id":175505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:37:28] local.INFO: TCP Data received {"connection_id":173019,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0773fbd08012c02a4800afe4d600287014227..."} 
[2026-09-06 20:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773fbd08012c02a4800afe4d600287014227..."} 
[2026-09-06 20:37:28] local.INFO: Processing buffer {"connection_id":173019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773fbd08012c02a4800afe4d600287014227..."} 
[2026-09-06 20:37:28] local.INFO: Packet analysis {"connection_id":173019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773f"} 
[2026-09-06 20:37:28] local.INFO: Extracted packet for processing {"connection_id":173019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773f"} 
[2026-09-06 20:37:28] local.INFO: GPS Element Parsed {"raw_longitude":738370688,"raw_latitude":184438112,"longitude_deg":73.8370688,"latitude_deg":18.4438112,"altitude":647,"angle":322,"satellites":39,"speed":28,"hex_longitude":"2c02a480","hex_latitude":"0afe4d60","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909004032001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3521765808537600,"note":"Value kept but may cause issues"} 
[2026-09-06 20:37:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":197102899655884802,"note":"Value kept but may cause issues"} 
[2026-09-06 20:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788707061000,"timestamp_ms":1788707061000,"timestamp_seconds":1788707061,"priority":1,"record_length":96,"hex_timestamp":"000001a0773fbd08"} 
[2026-09-06 20:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-06 20:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909004032001,"66":27767,"242":206,"4":13056,"24":28,"16":3521765808537600,"44":197102899655884802},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,4,24,16,44]} 
[2026-09-06 20:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909004032001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:37:28] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-06 20:37:28] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3521765808537600,"km_value":3521765808537.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:37:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":197102899655884802,"description":"Unknown IO ID 44"} 
[2026-09-06 20:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909004032001,"power":27767,"unknown_242":206,"unknown_4":13056,"ignition":28,"odometer":null,"unknown_44":197102899655884802}} 
[2026-09-06 20:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":173019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775916,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:37:28] local.INFO: GPS data processed {"connection_id":173019,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:37:28] local.INFO: Acknowledgment sent {"connection_id":173019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:37:47] local.INFO: TCP Data received {"connection_id":172786,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:37:47] local.INFO: Processing buffer {"connection_id":172786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:37:47] local.INFO: IMEI packet received {"connection_id":172786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":172786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:37:49] local.INFO: TCP Data received {"connection_id":172787,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:37:49] local.INFO: Processing buffer {"connection_id":172787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:37:49] local.INFO: IMEI packet received {"connection_id":172787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":172787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:37:52] local.INFO: TCP Data received {"connection_id":172786,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:37:52] local.INFO: Processing buffer {"connection_id":172786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:37:52] local.INFO: IMEI packet received {"connection_id":172786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":172786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:37:53] local.INFO: TCP Data received {"connection_id":172786,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:37:53] local.INFO: Processing buffer {"connection_id":172786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773e1340012d34cc0006aa43600000005324..."} 
[2026-09-06 20:37:53] local.INFO: Packet analysis {"connection_id":172786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:37:53] local.INFO: Extracted packet for processing {"connection_id":172786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773e"} 
[2026-09-06 20:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908902656001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591819776,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788706952000,"timestamp_ms":1788706952000,"timestamp_seconds":1788706952,"priority":1,"record_length":96,"hex_timestamp":"000001a0773e1340"} 
[2026-09-06 20:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:37: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-09-06 20: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 20:37: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-09-06 20: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-09-06 20:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:37: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-09-06 20:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908902656001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591819776},"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-09-06 20:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908902656001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:37:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591819776,"description":"Unknown IO ID 45"} 
[2026-09-06 20:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908902656001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591819776}} 
[2026-09-06 20:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":172786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:37:53] local.INFO: GPS data processed {"connection_id":172786,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:37:53] local.INFO: Acknowledgment sent {"connection_id":172786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:37:54] local.INFO: TCP Data received {"connection_id":172787,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:37:54] local.INFO: Processing buffer {"connection_id":172787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:37:54] local.INFO: IMEI packet received {"connection_id":172787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":172787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:37:55] local.INFO: TCP Data received {"connection_id":172787,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0773fefd0012c028d800afe6b200281014626..."} 
[2026-09-06 20:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0773fefd0012c028d800afe6b200281014626..."} 
[2026-09-06 20:37:55] local.INFO: Processing buffer {"connection_id":172787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0773fefd0012c028d800afe6b200281014626..."} 
[2026-09-06 20:37:55] local.INFO: Packet analysis {"connection_id":172787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0773f"} 
[2026-09-06 20:37:55] local.INFO: Extracted packet for processing {"connection_id":172787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0773f"} 
[2026-09-06 20:37:55] local.INFO: GPS Element Parsed {"raw_longitude":738364800,"raw_latitude":184445728,"longitude_deg":73.83648,"latitude_deg":18.4445728,"altitude":641,"angle":326,"satellites":38,"speed":26,"hex_longitude":"2c028d80","hex_latitude":"0afe6b20","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909007616001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3522221075070976,"note":"Value kept but may cause issues"} 
[2026-09-06 20:37:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":190417868960915458,"note":"Value kept but may cause issues"} 
[2026-09-06 20:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788707074000,"timestamp_ms":1788707074000,"timestamp_seconds":1788707074,"priority":1,"record_length":96,"hex_timestamp":"000001a0773fefd0"} 
[2026-09-06 20:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 20:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909007616001,"66":27441,"242":206,"4":13056,"24":26,"16":3522221075070976,"44":190417868960915458},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,4,24,16,44]} 
[2026-09-06 20:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909007616001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:37:55] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-06 20:37:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3522221075070976,"km_value":3522221075070.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:37:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":190417868960915458,"description":"Unknown IO ID 44"} 
[2026-09-06 20:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909007616001,"power":27441,"unknown_242":206,"unknown_4":13056,"ignition":26,"odometer":null,"unknown_44":190417868960915458}} 
[2026-09-06 20:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":172787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775918,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:37:55] local.INFO: GPS data processed {"connection_id":172787,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:37:55] local.INFO: Acknowledgment sent {"connection_id":172787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:38:24] local.INFO: TCP Data received {"connection_id":172786,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:38:24] local.INFO: Processing buffer {"connection_id":172786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:38:24] local.INFO: Packet analysis {"connection_id":172786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:38:24] local.INFO: Extracted packet for processing {"connection_id":172786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:38:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908979712001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788707253000,"timestamp_ms":1788707253000,"timestamp_seconds":1788707253,"priority":1,"record_length":96,"hex_timestamp":"000001a07742ab08"} 
[2026-09-06 20:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908979712001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908979712001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:38:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:38:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908979712001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":172786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:38:24] local.INFO: GPS data processed {"connection_id":172786,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:38:24] local.INFO: Acknowledgment sent {"connection_id":172786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:38:27] local.INFO: TCP Data received {"connection_id":172787,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0774041d8012c027a000afe8790027d014628..."} 
[2026-09-06 20:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774041d8012c027a000afe8790027d014628..."} 
[2026-09-06 20:38:27] local.INFO: Processing buffer {"connection_id":172787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774041d8012c027a000afe8790027d014628..."} 
[2026-09-06 20:38:27] local.INFO: Packet analysis {"connection_id":172787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07740"} 
[2026-09-06 20:38:27] local.INFO: Extracted packet for processing {"connection_id":172787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07740"} 
[2026-09-06 20:38:27] local.INFO: GPS Element Parsed {"raw_longitude":738359808,"raw_latitude":184453008,"longitude_deg":73.8359808,"latitude_deg":18.4453008,"altitude":637,"angle":326,"satellites":40,"speed":17,"hex_longitude":"2c027a00","hex_latitude":"0afe8790","is_valid_coordinates":true} 
[2026-09-06 20:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909010944001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3522641981865984,"note":"Value kept but may cause issues"} 
[2026-09-06 20:38:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":183943944498520066,"note":"Value kept but may cause issues"} 
[2026-09-06 20:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788707095000,"timestamp_ms":1788707095000,"timestamp_seconds":1788707095,"priority":1,"record_length":96,"hex_timestamp":"000001a0774041d8"} 
[2026-09-06 20:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-06 20:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909010944001,"66":27713,"242":206,"4":13056,"24":17,"16":3522641981865984,"44":183943944498520066},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,4,24,16,44]} 
[2026-09-06 20:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909010944001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:38:27] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-06 20:38:27] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3522641981865984,"km_value":3522641981865.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:38:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":183943944498520066,"description":"Unknown IO ID 44"} 
[2026-09-06 20:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909010944001,"power":27713,"unknown_242":206,"unknown_4":13056,"ignition":17,"odometer":null,"unknown_44":183943944498520066}} 
[2026-09-06 20:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":172787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775920,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:38:27] local.INFO: GPS data processed {"connection_id":172787,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:38:27] local.INFO: Acknowledgment sent {"connection_id":172787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:38:47] local.INFO: TCP Data received {"connection_id":174176,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:38:47] local.INFO: Processing buffer {"connection_id":174176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:38:47] local.INFO: IMEI packet received {"connection_id":174176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":174176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:38:53] local.INFO: TCP Data received {"connection_id":174176,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:38:53] local.INFO: Processing buffer {"connection_id":174176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:38:53] local.INFO: IMEI packet received {"connection_id":174176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":174176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:38:56] local.INFO: TCP Data received {"connection_id":174176,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:38:56] local.INFO: Processing buffer {"connection_id":174176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:38:56] local.INFO: Packet analysis {"connection_id":174176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:38:56] local.INFO: Extracted packet for processing {"connection_id":174176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:38:56] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908979712001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20:38: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-09-06 20:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788707253000,"timestamp_ms":1788707253000,"timestamp_seconds":1788707253,"priority":1,"record_length":96,"hex_timestamp":"000001a07742ab08"} 
[2026-09-06 20:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:38: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-09-06 20:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:38:56] 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-09-06 20:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:38: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-09-06 20:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908979712001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908979712001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:38:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:38:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908979712001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":174176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:38:56] local.INFO: GPS data processed {"connection_id":174176,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:38:56] local.INFO: Acknowledgment sent {"connection_id":174176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:39:04] local.INFO: TCP Data received {"connection_id":173020,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:39:04] local.INFO: Processing buffer {"connection_id":173020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:39:04] local.INFO: IMEI packet received {"connection_id":173020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":173020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:39:09] local.INFO: TCP Data received {"connection_id":173020,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:39:09] local.INFO: Processing buffer {"connection_id":173020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:39:09] local.INFO: IMEI packet received {"connection_id":173020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":173020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:39:10] local.INFO: TCP Data received {"connection_id":173020,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a077408440012c0264c00afea5200277014629..."} 
[2026-09-06 20:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077408440012c0264c00afea5200277014629..."} 
[2026-09-06 20:39:10] local.INFO: Processing buffer {"connection_id":173020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077408440012c0264c00afea5200277014629..."} 
[2026-09-06 20:39:10] local.INFO: Packet analysis {"connection_id":173020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07740"} 
[2026-09-06 20:39:10] local.INFO: Extracted packet for processing {"connection_id":173020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07740"} 
[2026-09-06 20:39:10] local.INFO: GPS Element Parsed {"raw_longitude":738354368,"raw_latitude":184460576,"longitude_deg":73.8354368,"latitude_deg":18.4460576,"altitude":631,"angle":326,"satellites":41,"speed":24,"hex_longitude":"2c0264c0","hex_latitude":"0afea520","is_valid_coordinates":true} 
[2026-09-06 20:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909016320001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3523088658464768,"note":"Value kept but may cause issues"} 
[2026-09-06 20:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":178455182454525954,"note":"Value kept but may cause issues"} 
[2026-09-06 20:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788707112000,"timestamp_ms":1788707112000,"timestamp_seconds":1788707112,"priority":1,"record_length":96,"hex_timestamp":"000001a077408440"} 
[2026-09-06 20:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:39: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-09-06 20:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-06 20:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909016320001,"66":27626,"242":206,"4":13056,"24":24,"16":3523088658464768,"44":178455182454525954},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,4,24,16,44]} 
[2026-09-06 20:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909016320001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:39:10] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-06 20:39:10] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3523088658464768,"km_value":3523088658464.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":178455182454525954,"description":"Unknown IO ID 44"} 
[2026-09-06 20:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909016320001,"power":27626,"unknown_242":206,"unknown_4":13056,"ignition":24,"odometer":null,"unknown_44":178455182454525954}} 
[2026-09-06 20:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":173020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775922,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:39:10] local.INFO: GPS data processed {"connection_id":173020,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:39:10] local.INFO: Acknowledgment sent {"connection_id":173020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:39:27] local.INFO: TCP Data received {"connection_id":174176,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:39:27] local.INFO: Processing buffer {"connection_id":174176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:39:27] local.INFO: Packet analysis {"connection_id":174176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:39:27] local.INFO: Extracted packet for processing {"connection_id":174176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:39:27] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908979712001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788707253000,"timestamp_ms":1788707253000,"timestamp_seconds":1788707253,"priority":1,"record_length":96,"hex_timestamp":"000001a07742ab08"} 
[2026-09-06 20:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20: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-09-06 20:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:39: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-09-06 20:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908979712001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908979712001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:39:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:39:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908979712001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":174176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:39:27] local.INFO: GPS data processed {"connection_id":174176,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:39:27] local.INFO: Acknowledgment sent {"connection_id":174176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:39:47] local.INFO: TCP Data received {"connection_id":172788,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:39:47] local.INFO: Processing buffer {"connection_id":172788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:39:47] local.INFO: IMEI packet received {"connection_id":172788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":172788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:39:49] local.INFO: TCP Data received {"connection_id":174177,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:39:49] local.INFO: Processing buffer {"connection_id":174177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:39:49] local.INFO: IMEI packet received {"connection_id":174177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":174177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:39:49] local.INFO: TCP Data received {"connection_id":174177,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:39:49] local.INFO: Processing buffer {"connection_id":174177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:39:49] local.INFO: IMEI packet received {"connection_id":174177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":174177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:39:52] local.INFO: TCP Data received {"connection_id":172788,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:39:52] local.INFO: Processing buffer {"connection_id":172788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:39:52] local.INFO: IMEI packet received {"connection_id":172788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":172788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:39:53] local.INFO: TCP Data received {"connection_id":172788,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:39:53] local.INFO: Processing buffer {"connection_id":172788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:39:53] local.INFO: Packet analysis {"connection_id":172788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:39:53] local.INFO: Extracted packet for processing {"connection_id":172788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:39:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908979712001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788707253000,"timestamp_ms":1788707253000,"timestamp_seconds":1788707253,"priority":1,"record_length":96,"hex_timestamp":"000001a07742ab08"} 
[2026-09-06 20:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:39: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:39: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-09-06 20: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-09-06 20:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20: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-09-06 20:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908979712001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908979712001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:39:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:39:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908979712001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":172788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:39:53] local.INFO: GPS data processed {"connection_id":172788,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:39:53] local.INFO: Acknowledgment sent {"connection_id":172788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:39:57] local.INFO: TCP Data received {"connection_id":174177,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:39:57] local.INFO: Processing buffer {"connection_id":174177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:39:57] local.INFO: IMEI packet received {"connection_id":174177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":174177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:40:04] local.INFO: TCP Data received {"connection_id":174177,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a077436a70012c0175800aff9c800259014426..."} 
[2026-09-06 20:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077436a70012c0175800aff9c800259014426..."} 
[2026-09-06 20:40:04] local.INFO: Processing buffer {"connection_id":174177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077436a70012c0175800aff9c800259014426..."} 
[2026-09-06 20:40:04] local.INFO: Packet analysis {"connection_id":174177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07743"} 
[2026-09-06 20:40:04] local.INFO: Extracted packet for processing {"connection_id":174177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07743"} 
[2026-09-06 20:40:04] local.INFO: GPS Element Parsed {"raw_longitude":738293120,"raw_latitude":184523904,"longitude_deg":73.829312,"latitude_deg":18.4523904,"altitude":601,"angle":324,"satellites":38,"speed":23,"hex_longitude":"2c017580","hex_latitude":"0aff9c80","is_valid_coordinates":true} 
[2026-09-06 20:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909065472001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3527297726414848,"note":"Value kept but may cause issues"} 
[2026-09-06 20:40:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":111675244246319106,"note":"Value kept but may cause issues"} 
[2026-09-06 20:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788707302000,"timestamp_ms":1788707302000,"timestamp_seconds":1788707302,"priority":1,"record_length":96,"hex_timestamp":"000001a077436a70"} 
[2026-09-06 20:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-06 20:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909065472001,"66":27789,"39":206,"4":13056,"24":23,"16":3527297726414848,"44":111675244246319106},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,4,24,16,44]} 
[2026-09-06 20:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909065472001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:40:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-06 20:40:04] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3527297726414848,"km_value":3527297726414.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:40:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":111675244246319106,"description":"Unknown IO ID 44"} 
[2026-09-06 20:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909065472001,"power":27789,"unknown_39":206,"unknown_4":13056,"ignition":23,"odometer":null,"unknown_44":111675244246319106}} 
[2026-09-06 20:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":174177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775925,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:40:04] local.INFO: GPS data processed {"connection_id":174177,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:40:04] local.INFO: Acknowledgment sent {"connection_id":174177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:40:24] local.INFO: TCP Data received {"connection_id":172788,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:40:24] local.INFO: Processing buffer {"connection_id":172788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:40:24] local.INFO: Packet analysis {"connection_id":172788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:40:24] local.INFO: Extracted packet for processing {"connection_id":172788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:40:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908979712001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788707253000,"timestamp_ms":1788707253000,"timestamp_seconds":1788707253,"priority":1,"record_length":96,"hex_timestamp":"000001a07742ab08"} 
[2026-09-06 20:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20: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-09-06 20:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908979712001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908979712001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:40:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:40:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908979712001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":172788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:40:24] local.INFO: GPS data processed {"connection_id":172788,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:40:24] local.INFO: Acknowledgment sent {"connection_id":172788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:40:47] local.INFO: TCP Data received {"connection_id":172789,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:40:47] local.INFO: Processing buffer {"connection_id":172789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:40:47] local.INFO: IMEI packet received {"connection_id":172789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":172789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:40:49] local.INFO: TCP Data received {"connection_id":174178,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:40:49] local.INFO: Processing buffer {"connection_id":174178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:40:49] local.INFO: IMEI packet received {"connection_id":174178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":174178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:40:52] local.INFO: TCP Data received {"connection_id":172789,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:40:52] local.INFO: Processing buffer {"connection_id":172789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:40:52] local.INFO: IMEI packet received {"connection_id":172789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":172789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:40:53] local.INFO: TCP Data received {"connection_id":172789,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:40:53] local.INFO: Processing buffer {"connection_id":172789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:40:53] local.INFO: Packet analysis {"connection_id":172789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:40:53] local.INFO: Extracted packet for processing {"connection_id":172789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908979712001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788707253000,"timestamp_ms":1788707253000,"timestamp_seconds":1788707253,"priority":1,"record_length":96,"hex_timestamp":"000001a07742ab08"} 
[2026-09-06 20:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:40: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:40: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-09-06 20: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-09-06 20:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:40: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-09-06 20:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908979712001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908979712001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:40:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:40:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908979712001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":172789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:40:53] local.INFO: GPS data processed {"connection_id":172789,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:40:53] local.INFO: Acknowledgment sent {"connection_id":172789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:40:54] local.INFO: TCP Data received {"connection_id":174178,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:40:54] local.INFO: Processing buffer {"connection_id":174178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:40:54] local.INFO: IMEI packet received {"connection_id":174178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":174178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:40:55] local.INFO: TCP Data received {"connection_id":174178,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a07743bc78012c015f400affb9700257014026..."} 
[2026-09-06 20:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07743bc78012c015f400affb9700257014026..."} 
[2026-09-06 20:40:55] local.INFO: Processing buffer {"connection_id":174178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07743bc78012c015f400affb9700257014026..."} 
[2026-09-06 20:40:55] local.INFO: Packet analysis {"connection_id":174178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07743"} 
[2026-09-06 20:40:55] local.INFO: Extracted packet for processing {"connection_id":174178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07743"} 
[2026-09-06 20:40:55] local.INFO: GPS Element Parsed {"raw_longitude":738287424,"raw_latitude":184531312,"longitude_deg":73.8287424,"latitude_deg":18.4531312,"altitude":599,"angle":320,"satellites":38,"speed":19,"hex_longitude":"2c015f40","hex_latitude":"0affb970","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909069312001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3527744403013632,"note":"Value kept but may cause issues"} 
[2026-09-06 20:40:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":105130951039549442,"note":"Value kept but may cause issues"} 
[2026-09-06 20:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788707323000,"timestamp_ms":1788707323000,"timestamp_seconds":1788707323,"priority":1,"record_length":96,"hex_timestamp":"000001a07743bc78"} 
[2026-09-06 20:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-06 20:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174178,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174178,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909069312001,"66":27691,"195":206,"4":13056,"24":19,"16":3527744403013632,"44":105130951039549442},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,4,24,16,44]} 
[2026-09-06 20:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909069312001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:40:55] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-06 20:40:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3527744403013632,"km_value":3527744403013.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:40:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":105130951039549442,"description":"Unknown IO ID 44"} 
[2026-09-06 20:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909069312001,"power":27691,"unknown_195":206,"unknown_4":13056,"ignition":19,"odometer":null,"unknown_44":105130951039549442}} 
[2026-09-06 20:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":174178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775928,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:40:56] local.INFO: GPS data processed {"connection_id":174178,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:40:56] local.INFO: Acknowledgment sent {"connection_id":174178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:41:24] local.INFO: TCP Data received {"connection_id":172789,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:41:24] local.INFO: Processing buffer {"connection_id":172789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:41:24] local.INFO: Packet analysis {"connection_id":172789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:41:24] local.INFO: Extracted packet for processing {"connection_id":172789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:41:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908979712001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788707253000,"timestamp_ms":1788707253000,"timestamp_seconds":1788707253,"priority":1,"record_length":96,"hex_timestamp":"000001a07742ab08"} 
[2026-09-06 20:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:41: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-09-06 20: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-09-06 20:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20: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-09-06 20:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908979712001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908979712001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:41:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:41:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908979712001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":172789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:41:24] local.INFO: GPS data processed {"connection_id":172789,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:41:24] local.INFO: Acknowledgment sent {"connection_id":172789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:41:27] local.INFO: TCP Data received {"connection_id":174178,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a07743bc78012c015f400affb9700257014026..."} 
[2026-09-06 20:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07743bc78012c015f400affb9700257014026..."} 
[2026-09-06 20:41:27] local.INFO: Processing buffer {"connection_id":174178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07743bc78012c015f400affb9700257014026..."} 
[2026-09-06 20:41:27] local.INFO: Packet analysis {"connection_id":174178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07743"} 
[2026-09-06 20:41:27] local.INFO: Extracted packet for processing {"connection_id":174178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07743"} 
[2026-09-06 20:41:27] local.INFO: GPS Element Parsed {"raw_longitude":738287424,"raw_latitude":184531312,"longitude_deg":73.8287424,"latitude_deg":18.4531312,"altitude":599,"angle":320,"satellites":38,"speed":19,"hex_longitude":"2c015f40","hex_latitude":"0affb970","is_valid_coordinates":true} 
[2026-09-06 20:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909074688001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3527744403013632,"note":"Value kept but may cause issues"} 
[2026-09-06 20:41:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":98868132809633794,"note":"Value kept but may cause issues"} 
[2026-09-06 20:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788707323000,"timestamp_ms":1788707323000,"timestamp_seconds":1788707323,"priority":1,"record_length":96,"hex_timestamp":"000001a07743bc78"} 
[2026-09-06 20:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 20:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174178,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174178,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909074688001,"66":27691,"195":206,"4":13056,"24":19,"16":3527744403013632,"44":98868132809633794},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,4,24,16,44]} 
[2026-09-06 20:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909074688001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:41:27] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-06 20:41:27] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3527744403013632,"km_value":3527744403013.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:41:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":98868132809633794,"description":"Unknown IO ID 44"} 
[2026-09-06 20:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909074688001,"power":27691,"unknown_195":206,"unknown_4":13056,"ignition":19,"odometer":null,"unknown_44":98868132809633794}} 
[2026-09-06 20:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":174178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775930,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:41:27] local.INFO: GPS data processed {"connection_id":174178,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:41:27] local.INFO: Acknowledgment sent {"connection_id":174178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:41:47] local.INFO: TCP Data received {"connection_id":175506,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:41:47] local.INFO: Processing buffer {"connection_id":175506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:41:47] local.INFO: IMEI packet received {"connection_id":175506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":175506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:41:49] local.INFO: TCP Data received {"connection_id":173021,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:41:49] local.INFO: Processing buffer {"connection_id":173021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:41:49] local.INFO: IMEI packet received {"connection_id":173021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":173021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:41:52] local.INFO: TCP Data received {"connection_id":175506,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:41:52] local.INFO: Processing buffer {"connection_id":175506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:41:52] local.INFO: IMEI packet received {"connection_id":175506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":175506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:41:53] local.INFO: TCP Data received {"connection_id":175506,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:41:53] local.INFO: Processing buffer {"connection_id":175506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:41:53] local.INFO: Packet analysis {"connection_id":175506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:41:53] local.INFO: Extracted packet for processing {"connection_id":175506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908979712001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788707253000,"timestamp_ms":1788707253000,"timestamp_seconds":1788707253,"priority":1,"record_length":96,"hex_timestamp":"000001a07742ab08"} 
[2026-09-06 20:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:41: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:41: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-09-06 20: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-09-06 20:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:41: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-09-06 20:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908979712001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908979712001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:41:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908979712001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":175506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:41:53] local.INFO: GPS data processed {"connection_id":175506,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:41:53] local.INFO: Acknowledgment sent {"connection_id":175506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:41:54] local.INFO: TCP Data received {"connection_id":173021,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:41:54] local.INFO: Processing buffer {"connection_id":173021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:41:54] local.INFO: IMEI packet received {"connection_id":173021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":173021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:41:55] local.INFO: TCP Data received {"connection_id":173021,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a07743f328012c0147c00affd4f00255014127..."} 
[2026-09-06 20:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07743f328012c0147c00affd4f00255014127..."} 
[2026-09-06 20:41:55] local.INFO: Processing buffer {"connection_id":173021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07743f328012c0147c00affd4f00255014127..."} 
[2026-09-06 20:41:55] local.INFO: Packet analysis {"connection_id":173021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07743"} 
[2026-09-06 20:41:55] local.INFO: Extracted packet for processing {"connection_id":173021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07743"} 
[2026-09-06 20:41:55] local.INFO: GPS Element Parsed {"raw_longitude":738281408,"raw_latitude":184538352,"longitude_deg":73.8281408,"latitude_deg":18.4538352,"altitude":597,"angle":321,"satellites":39,"speed":27,"hex_longitude":"2c0147c0","hex_latitude":"0affd4f0","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909074688001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3528182489677824,"note":"Value kept but may cause issues"} 
[2026-09-06 20:41:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":98868132809633794,"note":"Value kept but may cause issues"} 
[2026-09-06 20:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788707337000,"timestamp_ms":1788707337000,"timestamp_seconds":1788707337,"priority":1,"record_length":96,"hex_timestamp":"000001a07743f328"} 
[2026-09-06 20:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 20:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909074688001,"66":27767,"195":206,"4":13056,"24":27,"16":3528182489677824,"44":98868132809633794},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,4,24,16,44]} 
[2026-09-06 20:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909074688001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:41:55] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-06 20:41:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3528182489677824,"km_value":3528182489677.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:41:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":98868132809633794,"description":"Unknown IO ID 44"} 
[2026-09-06 20:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909074688001,"power":27767,"unknown_195":206,"unknown_4":13056,"ignition":27,"odometer":null,"unknown_44":98868132809633794}} 
[2026-09-06 20:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":173021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775932,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:41:55] local.INFO: GPS data processed {"connection_id":173021,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:41:55] local.INFO: Acknowledgment sent {"connection_id":173021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:42:24] local.INFO: TCP Data received {"connection_id":175506,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:42:24] local.INFO: Processing buffer {"connection_id":175506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:42:24] local.INFO: Packet analysis {"connection_id":175506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:42:24] local.INFO: Extracted packet for processing {"connection_id":175506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:42:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908979712001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788707253000,"timestamp_ms":1788707253000,"timestamp_seconds":1788707253,"priority":1,"record_length":96,"hex_timestamp":"000001a07742ab08"} 
[2026-09-06 20:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:42: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:42: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-09-06 20: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-09-06 20:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:42: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-09-06 20:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908979712001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908979712001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:42:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:42:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908979712001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":175506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:42:24] local.INFO: GPS data processed {"connection_id":175506,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:42:24] local.INFO: Acknowledgment sent {"connection_id":175506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:42:27] local.INFO: TCP Data received {"connection_id":173021,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0774429d8012c0130000afff110025401402b..."} 
[2026-09-06 20:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774429d8012c0130000afff110025401402b..."} 
[2026-09-06 20:42:27] local.INFO: Processing buffer {"connection_id":173021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774429d8012c0130000afff110025401402b..."} 
[2026-09-06 20:42:27] local.INFO: Packet analysis {"connection_id":173021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07744"} 
[2026-09-06 20:42:27] local.INFO: Extracted packet for processing {"connection_id":173021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07744"} 
[2026-09-06 20:42:27] local.INFO: GPS Element Parsed {"raw_longitude":738275328,"raw_latitude":184545552,"longitude_deg":73.8275328,"latitude_deg":18.4545552,"altitude":596,"angle":320,"satellites":43,"speed":24,"hex_longitude":"2c013000","hex_latitude":"0afff110","is_valid_coordinates":true} 
[2026-09-06 20:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909078272001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3528633461243904,"note":"Value kept but may cause issues"} 
[2026-09-06 20:42:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":92253470858735618,"note":"Value kept but may cause issues"} 
[2026-09-06 20:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788707351000,"timestamp_ms":1788707351000,"timestamp_seconds":1788707351,"priority":1,"record_length":96,"hex_timestamp":"000001a0774429d8"} 
[2026-09-06 20:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 20:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909078272001,"66":27789,"195":206,"4":13056,"24":24,"16":3528633461243904,"44":92253470858735618},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,4,24,16,44]} 
[2026-09-06 20:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909078272001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:42:27] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-06 20:42:27] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3528633461243904,"km_value":3528633461243.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:42:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":92253470858735618,"description":"Unknown IO ID 44"} 
[2026-09-06 20:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909078272001,"power":27789,"unknown_195":206,"unknown_4":13056,"ignition":24,"odometer":null,"unknown_44":92253470858735618}} 
[2026-09-06 20:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":173021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775934,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:42:27] local.INFO: GPS data processed {"connection_id":173021,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:42:27] local.INFO: Acknowledgment sent {"connection_id":173021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:42:47] local.INFO: TCP Data received {"connection_id":175507,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:42:47] local.INFO: Processing buffer {"connection_id":175507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:42:47] local.INFO: IMEI packet received {"connection_id":175507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":175507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:42:52] local.INFO: TCP Data received {"connection_id":175507,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:42:52] local.INFO: Processing buffer {"connection_id":175507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:42:52] local.INFO: IMEI packet received {"connection_id":175507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":175507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:42:53] local.INFO: TCP Data received {"connection_id":175507,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:42:53] local.INFO: Processing buffer {"connection_id":175507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07742ab08012d34cc0006aa43600000005320..."} 
[2026-09-06 20:42:53] local.INFO: Packet analysis {"connection_id":175507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:42:53] local.INFO: Extracted packet for processing {"connection_id":175507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07742"} 
[2026-09-06 20:42:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457908979712001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788707253000,"timestamp_ms":1788707253000,"timestamp_seconds":1788707253,"priority":1,"record_length":96,"hex_timestamp":"000001a07742ab08"} 
[2026-09-06 20:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:42: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-09-06 20: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-09-06 20:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:42: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-09-06 20:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457908979712001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457908979712001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:42:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:42:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457908979712001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":175507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:42:53] local.INFO: GPS data processed {"connection_id":175507,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:42:53] local.INFO: Acknowledgment sent {"connection_id":175507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:42:54] local.INFO: TCP Data received {"connection_id":174179,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:42:54] local.INFO: Processing buffer {"connection_id":174179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:42:54] local.INFO: IMEI packet received {"connection_id":174179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":174179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:42:59] local.INFO: TCP Data received {"connection_id":174179,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:42:59] local.INFO: Processing buffer {"connection_id":174179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:42:59] local.INFO: IMEI packet received {"connection_id":174179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":174179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:43:00] local.INFO: TCP Data received {"connection_id":174179,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a077446088012c0118c00b000d70025201412b..."} 
[2026-09-06 20:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077446088012c0118c00b000d70025201412b..."} 
[2026-09-06 20:43:00] local.INFO: Processing buffer {"connection_id":174179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077446088012c0118c00b000d70025201412b..."} 
[2026-09-06 20:43:00] local.INFO: Packet analysis {"connection_id":174179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07744"} 
[2026-09-06 20:43:00] local.INFO: Extracted packet for processing {"connection_id":174179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07744"} 
[2026-09-06 20:43:00] local.INFO: GPS Element Parsed {"raw_longitude":738269376,"raw_latitude":184552816,"longitude_deg":73.8269376,"latitude_deg":18.4552816,"altitude":594,"angle":321,"satellites":43,"speed":23,"hex_longitude":"2c0118c0","hex_latitude":"0b000d70","is_valid_coordinates":true} 
[2026-09-06 20:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909081856001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3529080137842688,"note":"Value kept but may cause issues"} 
[2026-09-06 20:43:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":85568440163700738,"note":"Value kept but may cause issues"} 
[2026-09-06 20:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788707365000,"timestamp_ms":1788707365000,"timestamp_seconds":1788707365,"priority":1,"record_length":96,"hex_timestamp":"000001a077446088"} 
[2026-09-06 20:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-06 20:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909081856001,"66":27571,"195":206,"4":13056,"24":23,"16":3529080137842688,"44":85568440163700738},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,4,24,16,44]} 
[2026-09-06 20:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909081856001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:43:00] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-06 20:43:00] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3529080137842688,"km_value":3529080137842.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:43:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":85568440163700738,"description":"Unknown IO ID 44"} 
[2026-09-06 20:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909081856001,"power":27571,"unknown_195":206,"unknown_4":13056,"ignition":23,"odometer":null,"unknown_44":85568440163700738}} 
[2026-09-06 20:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":174179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775936,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:43:00] local.INFO: GPS data processed {"connection_id":174179,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:43:00] local.INFO: Acknowledgment sent {"connection_id":174179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:43:05] local.INFO: TCP Data received {"connection_id":174179,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a077449350012c0103000b002ac0024e01452a..."} 
[2026-09-06 20:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077449350012c0103000b002ac0024e01452a..."} 
[2026-09-06 20:43:05] local.INFO: Processing buffer {"connection_id":174179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077449350012c0103000b002ac0024e01452a..."} 
[2026-09-06 20:43:05] local.INFO: Packet analysis {"connection_id":174179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07744"} 
[2026-09-06 20:43:05] local.INFO: Extracted packet for processing {"connection_id":174179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07744"} 
[2026-09-06 20:43:05] local.INFO: GPS Element Parsed {"raw_longitude":738263808,"raw_latitude":184560320,"longitude_deg":73.8263808,"latitude_deg":18.456032,"altitude":590,"angle":325,"satellites":42,"speed":34,"hex_longitude":"2c010300","hex_latitude":"0b002ac0","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909085440001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3529522519474176,"note":"Value kept but may cause issues"} 
[2026-09-06 20:43:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":79024146957037570,"note":"Value kept but may cause issues"} 
[2026-09-06 20:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788707378000,"timestamp_ms":1788707378000,"timestamp_seconds":1788707378,"priority":1,"record_length":96,"hex_timestamp":"000001a077449350"} 
[2026-09-06 20:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 20:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909085440001,"66":27484,"197":206,"4":13056,"24":34,"16":3529522519474176,"44":79024146957037570},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,4,24,16,44]} 
[2026-09-06 20:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909085440001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:43:05] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-06 20:43:05] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3529522519474176,"km_value":3529522519474.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:43:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":79024146957037570,"description":"Unknown IO ID 44"} 
[2026-09-06 20:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909085440001,"power":27484,"unknown_197":206,"unknown_4":13056,"ignition":34,"odometer":null,"unknown_44":79024146957037570}} 
[2026-09-06 20:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":174179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775937,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:43:05] local.INFO: GPS data processed {"connection_id":174179,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:43:05] local.INFO: Acknowledgment sent {"connection_id":174179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:43:24] local.INFO: TCP Data received {"connection_id":175507,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:43:24] local.INFO: Processing buffer {"connection_id":175507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:43:24] local.INFO: Packet analysis {"connection_id":175507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:43:24] local.INFO: Extracted packet for processing {"connection_id":175507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909056768001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788707554000,"timestamp_ms":1788707554000,"timestamp_seconds":1788707554,"priority":1,"record_length":96,"hex_timestamp":"000001a0774742d0"} 
[2026-09-06 20:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:43: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-09-06 20: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-09-06 20:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:43: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-09-06 20:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909056768001,"66":25517,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909056768001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:43:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:43:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909056768001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":175507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:43:24] local.INFO: GPS data processed {"connection_id":175507,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:43:24] local.INFO: Acknowledgment sent {"connection_id":175507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:43:47] local.INFO: TCP Data received {"connection_id":174180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:43:47] local.INFO: Processing buffer {"connection_id":174180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:43:47] local.INFO: IMEI packet received {"connection_id":174180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":174180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:43:49] local.INFO: TCP Data received {"connection_id":174181,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174181,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:43:49] local.INFO: Processing buffer {"connection_id":174181,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:43:49] local.INFO: IMEI packet received {"connection_id":174181,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":174181,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:43:52] local.INFO: TCP Data received {"connection_id":174180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:43:52] local.INFO: Processing buffer {"connection_id":174180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:43:52] local.INFO: IMEI packet received {"connection_id":174180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":174180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:43:53] local.INFO: TCP Data received {"connection_id":174180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:43:53] local.INFO: Processing buffer {"connection_id":174180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:43:53] local.INFO: Packet analysis {"connection_id":174180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:43:53] local.INFO: Extracted packet for processing {"connection_id":174180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 20:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909056768001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 20:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788707554000,"timestamp_ms":1788707554000,"timestamp_seconds":1788707554,"priority":1,"record_length":96,"hex_timestamp":"000001a0774742d0"} 
[2026-09-06 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-09-06 20:43: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-09-06 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:43: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-09-06 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-09-06 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-09-06 20:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:43: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-09-06 20:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909056768001,"66":25517,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909056768001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:43:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909056768001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":174180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:43:53] local.INFO: GPS data processed {"connection_id":174180,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:43:53] local.INFO: Acknowledgment sent {"connection_id":174180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:43:54] local.INFO: TCP Data received {"connection_id":174181,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174181,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:43:54] local.INFO: Processing buffer {"connection_id":174181,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:43:54] local.INFO: IMEI packet received {"connection_id":174181,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":174181,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:43:55] local.INFO: TCP Data received {"connection_id":174181,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a07744ba60012c00ed400b004930024b01452a..."} 
[2026-09-06 20:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07744ba60012c00ed400b004930024b01452a..."} 
[2026-09-06 20:43:55] local.INFO: Processing buffer {"connection_id":174181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07744ba60012c00ed400b004930024b01452a..."} 
[2026-09-06 20:43:55] local.INFO: Packet analysis {"connection_id":174181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07744"} 
[2026-09-06 20:43:55] local.INFO: Extracted packet for processing {"connection_id":174181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07744"} 
[2026-09-06 20:43:55] local.INFO: GPS Element Parsed {"raw_longitude":738258240,"raw_latitude":184568112,"longitude_deg":73.825824,"latitude_deg":18.4568112,"altitude":587,"angle":325,"satellites":42,"speed":40,"hex_longitude":"2c00ed40","hex_latitude":"0b004930","is_valid_coordinates":true} 
[2026-09-06 20:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909088768001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3529982080974848,"note":"Value kept but may cause issues"} 
[2026-09-06 20:43:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":72902066215501826,"note":"Value kept but may cause issues"} 
[2026-09-06 20:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788707388000,"timestamp_ms":1788707388000,"timestamp_seconds":1788707388,"priority":1,"record_length":96,"hex_timestamp":"000001a07744ba60"} 
[2026-09-06 20:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 20:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174181,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174181,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909088768001,"66":27571,"197":206,"4":13056,"24":40,"16":3529982080974848,"44":72902066215501826},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,4,24,16,44]} 
[2026-09-06 20:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909088768001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:43:55] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-06 20:43:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3529982080974848,"km_value":3529982080974.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:43:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":72902066215501826,"description":"Unknown IO ID 44"} 
[2026-09-06 20:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909088768001,"power":27571,"unknown_197":206,"unknown_4":13056,"ignition":40,"odometer":null,"unknown_44":72902066215501826}} 
[2026-09-06 20:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":174181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775940,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:43:55] local.INFO: GPS data processed {"connection_id":174181,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:43:55] local.INFO: Acknowledgment sent {"connection_id":174181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:43:59] local.INFO: TCP Data received {"connection_id":174180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:43:59] local.INFO: Processing buffer {"connection_id":174180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:43:59] local.INFO: Packet analysis {"connection_id":174180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:43:59] local.INFO: Extracted packet for processing {"connection_id":174180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:43:59] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909056768001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20:43: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-09-06 20:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788707554000,"timestamp_ms":1788707554000,"timestamp_seconds":1788707554,"priority":1,"record_length":96,"hex_timestamp":"000001a0774742d0"} 
[2026-09-06 20:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:43: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-09-06 20: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:43:59] 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-09-06 20: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-09-06 20:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909056768001,"66":25517,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909056768001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:43:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:43:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909056768001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":174180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:43:59] local.INFO: GPS data processed {"connection_id":174180,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:43:59] local.INFO: Acknowledgment sent {"connection_id":174180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:44:28] local.INFO: TCP Data received {"connection_id":174181,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a07747ac48012c009e800b00b3f0025001442a..."} 
[2026-09-06 20:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07747ac48012c009e800b00b3f0025001442a..."} 
[2026-09-06 20:44:28] local.INFO: Processing buffer {"connection_id":174181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07747ac48012c009e800b00b3f0025001442a..."} 
[2026-09-06 20:44:28] local.INFO: Packet analysis {"connection_id":174181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:44:28] local.INFO: Extracted packet for processing {"connection_id":174181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:44:28] local.INFO: GPS Element Parsed {"raw_longitude":738238080,"raw_latitude":184595440,"longitude_deg":73.823808,"latitude_deg":18.459544,"altitude":592,"angle":324,"satellites":42,"speed":9,"hex_longitude":"2c009e80","hex_latitude":"0b00b3f0","is_valid_coordinates":true} 
[2026-09-06 20:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:44:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,4,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 20:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788707581000,"timestamp_ms":1788707581000,"timestamp_seconds":1788707581,"priority":1,"record_length":96,"hex_timestamp":"000001a07747ac48"} 
[2026-09-06 20:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 20:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174181,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174181,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27604,"197":206,"4":13056,"24":9,"16":3530617736134656},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,4,24,16]} 
[2026-09-06 20:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 20:44:28] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-06 20:44:28] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:44:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27604,"unknown_197":206,"unknown_4":13056,"ignition":9,"odometer":null}} 
[2026-09-06 20:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":174181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775942,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:44:28] local.INFO: GPS data processed {"connection_id":174181,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:44:28] local.INFO: Acknowledgment sent {"connection_id":174181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:44:30] local.INFO: TCP Data received {"connection_id":174180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:44:30] local.INFO: Processing buffer {"connection_id":174180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:44:30] local.INFO: Packet analysis {"connection_id":174180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:44:30] local.INFO: Extracted packet for processing {"connection_id":174180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:44:30] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909056768001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20:44: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-09-06 20:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788707554000,"timestamp_ms":1788707554000,"timestamp_seconds":1788707554,"priority":1,"record_length":96,"hex_timestamp":"000001a0774742d0"} 
[2026-09-06 20:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:44: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-09-06 20:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:44: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-09-06 20:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909056768001,"66":25517,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909056768001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:44:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:44:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909056768001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":174180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:44:30] local.INFO: GPS data processed {"connection_id":174180,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:44:30] local.INFO: Acknowledgment sent {"connection_id":174180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:44:48] local.INFO: TCP Data received {"connection_id":172790,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:44:48] local.INFO: Processing buffer {"connection_id":172790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:44:48] local.INFO: IMEI packet received {"connection_id":172790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":172790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:44:49] local.INFO: TCP Data received {"connection_id":173022,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:44:49] local.INFO: Processing buffer {"connection_id":173022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:44:49] local.INFO: IMEI packet received {"connection_id":173022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":173022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:44:51] local.INFO: TCP Data received {"connection_id":173022,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:44:51] local.INFO: Processing buffer {"connection_id":173022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:44:51] local.INFO: IMEI packet received {"connection_id":173022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":173022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:44:52] local.INFO: TCP Data received {"connection_id":172790,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:44:52] local.INFO: Processing buffer {"connection_id":172790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:44:52] local.INFO: IMEI packet received {"connection_id":172790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":172790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:44:53] local.INFO: TCP Data received {"connection_id":172790,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:44:53] local.INFO: Processing buffer {"connection_id":172790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:44:53] local.INFO: Packet analysis {"connection_id":172790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:44:53] local.INFO: Extracted packet for processing {"connection_id":172790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909056768001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788707554000,"timestamp_ms":1788707554000,"timestamp_seconds":1788707554,"priority":1,"record_length":96,"hex_timestamp":"000001a0774742d0"} 
[2026-09-06 20:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:44: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:44: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-09-06 20: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-09-06 20:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:44: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-09-06 20:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909056768001,"66":25517,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909056768001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:44:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909056768001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":172790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:44:53] local.INFO: GPS data processed {"connection_id":172790,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:44:53] local.INFO: Acknowledgment sent {"connection_id":172790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:44:54] local.INFO: TCP Data received {"connection_id":173022,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:44:54] local.INFO: Processing buffer {"connection_id":173022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:44:54] local.INFO: IMEI packet received {"connection_id":173022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":173022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:44:55] local.INFO: TCP Data received {"connection_id":173022,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a07747fe50012c009e800b00b3f0025001442a..."} 
[2026-09-06 20:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07747fe50012c009e800b00b3f0025001442a..."} 
[2026-09-06 20:44:55] local.INFO: Processing buffer {"connection_id":173022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07747fe50012c009e800b00b3f0025001442a..."} 
[2026-09-06 20:44:55] local.INFO: Packet analysis {"connection_id":173022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:44:55] local.INFO: Extracted packet for processing {"connection_id":173022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:44:55] local.INFO: GPS Element Parsed {"raw_longitude":738238080,"raw_latitude":184595440,"longitude_deg":73.823808,"latitude_deg":18.459544,"altitude":592,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2c009e80","hex_latitude":"0b00b3f0","is_valid_coordinates":true} 
[2026-09-06 20:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909140736001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:44:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":44613831065071618,"note":"Value kept but may cause issues"} 
[2026-09-06 20:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788707602000,"timestamp_ms":1788707602000,"timestamp_seconds":1788707602,"priority":1,"record_length":96,"hex_timestamp":"000001a07747fe50"} 
[2026-09-06 20:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 20:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909140736001,"66":27571,"197":206,"4":13056,"24":0,"16":3530617736134656,"44":44613831065071618},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,4,24,16,44]} 
[2026-09-06 20:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909140736001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:44:55] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-06 20:44:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:44:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":44613831065071618,"description":"Unknown IO ID 44"} 
[2026-09-06 20:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909140736001,"power":27571,"unknown_197":206,"unknown_4":13056,"ignition":0,"odometer":null,"unknown_44":44613831065071618}} 
[2026-09-06 20:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":173022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:44:55] local.INFO: GPS data processed {"connection_id":173022,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:44:55] local.INFO: Acknowledgment sent {"connection_id":173022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:44:57] local.INFO: TCP Data received {"connection_id":172790,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:44:57] local.INFO: Processing buffer {"connection_id":172790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:44:57] local.INFO: Packet analysis {"connection_id":172790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:44:57] local.INFO: Extracted packet for processing {"connection_id":172790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:44:57] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909056768001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788707554000,"timestamp_ms":1788707554000,"timestamp_seconds":1788707554,"priority":1,"record_length":96,"hex_timestamp":"000001a0774742d0"} 
[2026-09-06 20:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:44: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-09-06 20: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:44: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-09-06 20: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-09-06 20:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:44: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-09-06 20:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909056768001,"66":25517,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909056768001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:44:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:44:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909056768001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":172790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:44:57] local.INFO: GPS data processed {"connection_id":172790,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:44:57] local.INFO: Acknowledgment sent {"connection_id":172790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:45:26] local.INFO: TCP Data received {"connection_id":173022,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a077485058012c009e800b00b3f0025001442a..."} 
[2026-09-06 20:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077485058012c009e800b00b3f0025001442a..."} 
[2026-09-06 20:45:26] local.INFO: Processing buffer {"connection_id":173022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077485058012c009e800b00b3f0025001442a..."} 
[2026-09-06 20:45:26] local.INFO: Packet analysis {"connection_id":173022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07748"} 
[2026-09-06 20:45:26] local.INFO: Extracted packet for processing {"connection_id":173022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07748"} 
[2026-09-06 20:45:26] local.INFO: GPS Element Parsed {"raw_longitude":738238080,"raw_latitude":184595440,"longitude_deg":73.823808,"latitude_deg":18.459544,"altitude":592,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2c009e80","hex_latitude":"0b00b3f0","is_valid_coordinates":true} 
[2026-09-06 20:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909146112001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:45:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":44613831065071618,"note":"Value kept but may cause issues"} 
[2026-09-06 20:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788707623000,"timestamp_ms":1788707623000,"timestamp_seconds":1788707623,"priority":1,"record_length":96,"hex_timestamp":"000001a077485058"} 
[2026-09-06 20:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 20:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909146112001,"66":27604,"197":206,"4":13056,"24":0,"16":3530617736134656,"44":44613831065071618},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,4,24,16,44]} 
[2026-09-06 20:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909146112001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:45:26] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-06 20:45:26] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:45:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":44613831065071618,"description":"Unknown IO ID 44"} 
[2026-09-06 20:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909146112001,"power":27604,"unknown_197":206,"unknown_4":13056,"ignition":0,"odometer":null,"unknown_44":44613831065071618}} 
[2026-09-06 20:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":173022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775947,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:45:26] local.INFO: GPS data processed {"connection_id":173022,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:45:26] local.INFO: Acknowledgment sent {"connection_id":173022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:45:28] local.INFO: TCP Data received {"connection_id":172790,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:45:28] local.INFO: Processing buffer {"connection_id":172790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:45:28] local.INFO: Packet analysis {"connection_id":172790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:45:28] local.INFO: Extracted packet for processing {"connection_id":172790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:45:28] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909056768001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20:45: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-09-06 20:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788707554000,"timestamp_ms":1788707554000,"timestamp_seconds":1788707554,"priority":1,"record_length":96,"hex_timestamp":"000001a0774742d0"} 
[2026-09-06 20:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:45: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-09-06 20:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:45: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-09-06 20:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909056768001,"66":25517,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909056768001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:45:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:45:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909056768001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":172790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:45:28] local.INFO: GPS data processed {"connection_id":172790,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:45:28] local.INFO: Acknowledgment sent {"connection_id":172790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:45:47] local.INFO: TCP Data received {"connection_id":174182,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:45:47] local.INFO: Processing buffer {"connection_id":174182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:45:47] local.INFO: IMEI packet received {"connection_id":174182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":174182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:45:52] local.INFO: TCP Data received {"connection_id":174182,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:45:52] local.INFO: Processing buffer {"connection_id":174182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:45:52] local.INFO: IMEI packet received {"connection_id":174182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":174182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:45:54] local.INFO: TCP Data received {"connection_id":174182,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:45:54] local.INFO: Processing buffer {"connection_id":174182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:45:54] local.INFO: Packet analysis {"connection_id":174182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:45:54] local.INFO: Extracted packet for processing {"connection_id":174182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:45:54] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909056768001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788707554000,"timestamp_ms":1788707554000,"timestamp_seconds":1788707554,"priority":1,"record_length":96,"hex_timestamp":"000001a0774742d0"} 
[2026-09-06 20:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:45: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-09-06 20: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:45: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-09-06 20: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-09-06 20:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:45: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-09-06 20:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909056768001,"66":25517,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909056768001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:45:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:45:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909056768001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":174182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:45:54] local.INFO: GPS data processed {"connection_id":174182,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:45:54] local.INFO: Acknowledgment sent {"connection_id":174182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:45:54] local.INFO: TCP Data received {"connection_id":174183,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:45:54] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:45:54] local.INFO: IMEI packet received {"connection_id":174183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":174183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:45:55] local.INFO: TCP Data received {"connection_id":174183,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:45:55] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:45:55] local.INFO: IMEI packet received {"connection_id":174183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":174183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:45:56] local.INFO: TCP Data received {"connection_id":174183,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:45:56] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:45:56] local.INFO: IMEI packet received {"connection_id":174183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":174183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:45:59] local.INFO: TCP Data received {"connection_id":174183,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:45:59] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:45:59] local.INFO: IMEI packet received {"connection_id":174183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":174183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:46:01] local.INFO: TCP Data received {"connection_id":174183,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0774932e80100000000000000000000000000..."} 
[2026-09-06 20:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774932e80100000000000000000000000000..."} 
[2026-09-06 20:46:01] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774932e80100000000000000000000000000..."} 
[2026-09-06 20:46:01] local.INFO: Packet analysis {"connection_id":174183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07749"} 
[2026-09-06 20:46:01] local.INFO: Extracted packet for processing {"connection_id":174183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07749"} 
[2026-09-06 20:46: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-09-06 20:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909151488001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:46:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":44613831065071618,"note":"Value kept but may cause issues"} 
[2026-09-06 20:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788707681000,"timestamp_ms":1788707681000,"timestamp_seconds":1788707681,"priority":1,"record_length":96,"hex_timestamp":"000001a0774932e8"} 
[2026-09-06 20:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 20:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":174183,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 20:46:01] local.INFO: GPS data processed {"connection_id":174183,"processed":0,"errors":0,"total":1} 
[2026-09-06 20:46:01] local.INFO: Acknowledgment sent {"connection_id":174183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:46:25] local.INFO: TCP Data received {"connection_id":174182,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:46:25] local.INFO: Processing buffer {"connection_id":174182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:46:25] local.INFO: Packet analysis {"connection_id":174182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:46:25] local.INFO: Extracted packet for processing {"connection_id":174182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:46:25] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909056768001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20:46: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-09-06 20:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788707554000,"timestamp_ms":1788707554000,"timestamp_seconds":1788707554,"priority":1,"record_length":96,"hex_timestamp":"000001a0774742d0"} 
[2026-09-06 20:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:46: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-09-06 20: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:46: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-09-06 20: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-09-06 20:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:46: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-09-06 20:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909056768001,"66":25517,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909056768001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:46:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:46:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909056768001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":174182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:46:25] local.INFO: GPS data processed {"connection_id":174182,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:46:25] local.INFO: Acknowledgment sent {"connection_id":174182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:46:33] local.INFO: TCP Data received {"connection_id":174183,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a07748c588012c0081c00b00d020024901342c..."} 
[2026-09-06 20:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07748c588012c0081c00b00d020024901342c..."} 
[2026-09-06 20:46:33] local.INFO: Processing buffer {"connection_id":174183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07748c588012c0081c00b00d020024901342c..."} 
[2026-09-06 20:46:33] local.INFO: Packet analysis {"connection_id":174183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07748"} 
[2026-09-06 20:46:33] local.INFO: Extracted packet for processing {"connection_id":174183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07748"} 
[2026-09-06 20:46:33] local.INFO: GPS Element Parsed {"raw_longitude":738230720,"raw_latitude":184602656,"longitude_deg":73.823072,"latitude_deg":18.4602656,"altitude":585,"angle":308,"satellites":44,"speed":5,"hex_longitude":"2c0081c0","hex_latitude":"0b00d020","is_valid_coordinates":true} 
[2026-09-06 20:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:46:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,114,4,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 20:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788707653000,"timestamp_ms":1788707653000,"timestamp_seconds":1788707653,"priority":1,"record_length":96,"hex_timestamp":"000001a07748c588"} 
[2026-09-06 20:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 20:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"114":206,"4":13056,"24":5,"16":3530617736134656},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,4,24,16]} 
[2026-09-06 20:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 20:46:33] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-06 20:46:33] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:46:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_114":206,"unknown_4":13056,"ignition":5,"odometer":null}} 
[2026-09-06 20:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":174183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:46:33] local.INFO: GPS data processed {"connection_id":174183,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:46:33] local.INFO: Acknowledgment sent {"connection_id":174183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:46:47] local.INFO: TCP Data received {"connection_id":172791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:46:47] local.INFO: Processing buffer {"connection_id":172791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:46:47] local.INFO: IMEI packet received {"connection_id":172791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":172791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:46:49] local.INFO: TCP Data received {"connection_id":174184,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:46:49] local.INFO: Processing buffer {"connection_id":174184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:46:49] local.INFO: IMEI packet received {"connection_id":174184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":174184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:46:52] local.INFO: TCP Data received {"connection_id":172791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:46:52] local.INFO: Processing buffer {"connection_id":172791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:46:52] local.INFO: IMEI packet received {"connection_id":172791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":172791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:46:52] local.INFO: TCP Data received {"connection_id":172791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:46:52] local.INFO: Processing buffer {"connection_id":172791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:46:52] local.INFO: Packet analysis {"connection_id":172791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:46:52] local.INFO: Extracted packet for processing {"connection_id":172791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 20:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909056768001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 20:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788707554000,"timestamp_ms":1788707554000,"timestamp_seconds":1788707554,"priority":1,"record_length":96,"hex_timestamp":"000001a0774742d0"} 
[2026-09-06 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-09-06 20: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-09-06 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:46: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-09-06 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-09-06 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-09-06 20:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:46: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-09-06 20:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909056768001,"66":25517,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909056768001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:46:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909056768001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":172791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:46:52] local.INFO: GPS data processed {"connection_id":172791,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:46:52] local.INFO: Acknowledgment sent {"connection_id":172791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:46:54] local.INFO: TCP Data received {"connection_id":174184,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:46:54] local.INFO: Processing buffer {"connection_id":174184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:46:54] local.INFO: IMEI packet received {"connection_id":174184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":174184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:46:56] local.INFO: TCP Data received {"connection_id":174184,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a077491790012c0081c00b00d020024901342c..."} 
[2026-09-06 20:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077491790012c0081c00b00d020024901342c..."} 
[2026-09-06 20:46:56] local.INFO: Processing buffer {"connection_id":174184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077491790012c0081c00b00d020024901342c..."} 
[2026-09-06 20:46:56] local.INFO: Packet analysis {"connection_id":174184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07749"} 
[2026-09-06 20:46:56] local.INFO: Extracted packet for processing {"connection_id":174184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07749"} 
[2026-09-06 20:46:56] local.INFO: GPS Element Parsed {"raw_longitude":738230720,"raw_latitude":184602656,"longitude_deg":73.823072,"latitude_deg":18.4602656,"altitude":585,"angle":308,"satellites":44,"speed":0,"hex_longitude":"2c0081c0","hex_latitude":"0b00d020","is_valid_coordinates":true} 
[2026-09-06 20:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909159168001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:46:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":36521425486487554,"note":"Value kept but may cause issues"} 
[2026-09-06 20:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788707674000,"timestamp_ms":1788707674000,"timestamp_seconds":1788707674,"priority":1,"record_length":96,"hex_timestamp":"000001a077491790"} 
[2026-09-06 20:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 20:46:56] 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-09-06 20:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174184,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174184,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909159168001,"66":27441,"114":206,"4":13056,"24":0,"16":3530617736134656,"44":36521425486487554},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,4,24,16,44]} 
[2026-09-06 20:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909159168001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:46:56] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-06 20:46:56] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:46:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":36521425486487554,"description":"Unknown IO ID 44"} 
[2026-09-06 20:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909159168001,"power":27441,"unknown_114":206,"unknown_4":13056,"ignition":0,"odometer":null,"unknown_44":36521425486487554}} 
[2026-09-06 20:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":174184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775953,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:46:56] local.INFO: GPS data processed {"connection_id":174184,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:46:56] local.INFO: Acknowledgment sent {"connection_id":174184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:47:24] local.INFO: TCP Data received {"connection_id":172791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:47:24] local.INFO: Processing buffer {"connection_id":172791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:47:24] local.INFO: Packet analysis {"connection_id":172791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:47:24] local.INFO: Extracted packet for processing {"connection_id":172791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909056768001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788707554000,"timestamp_ms":1788707554000,"timestamp_seconds":1788707554,"priority":1,"record_length":96,"hex_timestamp":"000001a0774742d0"} 
[2026-09-06 20:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:47: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-09-06 20: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-09-06 20:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:47: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-09-06 20:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909056768001,"66":25517,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909056768001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:47:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909056768001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":172791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:47:24] local.INFO: GPS data processed {"connection_id":172791,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:47:24] local.INFO: Acknowledgment sent {"connection_id":172791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:47:27] local.INFO: TCP Data received {"connection_id":174184,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a077496998012c0081c00b00d020024901342c..."} 
[2026-09-06 20:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077496998012c0081c00b00d020024901342c..."} 
[2026-09-06 20:47:27] local.INFO: Processing buffer {"connection_id":174184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077496998012c0081c00b00d020024901342c..."} 
[2026-09-06 20:47:27] local.INFO: Packet analysis {"connection_id":174184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07749"} 
[2026-09-06 20:47:27] local.INFO: Extracted packet for processing {"connection_id":174184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07749"} 
[2026-09-06 20:47:27] local.INFO: GPS Element Parsed {"raw_longitude":738230720,"raw_latitude":184602656,"longitude_deg":73.823072,"latitude_deg":18.4602656,"altitude":585,"angle":308,"satellites":44,"speed":0,"hex_longitude":"2c0081c0","hex_latitude":"0b00d020","is_valid_coordinates":true} 
[2026-09-06 20:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909164544001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:47:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":36521425486487554,"note":"Value kept but may cause issues"} 
[2026-09-06 20:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788707695000,"timestamp_ms":1788707695000,"timestamp_seconds":1788707695,"priority":1,"record_length":96,"hex_timestamp":"000001a077496998"} 
[2026-09-06 20:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-06 20:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174184,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174184,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909164544001,"66":27593,"114":206,"4":13056,"24":0,"16":3530617736134656,"44":36521425486487554},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,4,24,16,44]} 
[2026-09-06 20:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909164544001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:47:27] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-06 20:47:27] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:47:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":36521425486487554,"description":"Unknown IO ID 44"} 
[2026-09-06 20:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909164544001,"power":27593,"unknown_114":206,"unknown_4":13056,"ignition":0,"odometer":null,"unknown_44":36521425486487554}} 
[2026-09-06 20:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":174184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775955,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:47:27] local.INFO: GPS data processed {"connection_id":174184,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:47:27] local.INFO: Acknowledgment sent {"connection_id":174184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:47:47] local.INFO: TCP Data received {"connection_id":173023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:47:47] local.INFO: Processing buffer {"connection_id":173023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:47:47] local.INFO: IMEI packet received {"connection_id":173023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":173023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:47:49] local.INFO: TCP Data received {"connection_id":175508,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:47:49] local.INFO: Processing buffer {"connection_id":175508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:47:49] local.INFO: IMEI packet received {"connection_id":175508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":175508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:47:52] local.INFO: TCP Data received {"connection_id":173023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:47:52] local.INFO: Processing buffer {"connection_id":173023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:47:52] local.INFO: IMEI packet received {"connection_id":173023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":173023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:47:53] local.INFO: TCP Data received {"connection_id":173023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:47:53] local.INFO: Processing buffer {"connection_id":173023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774742d0012d34cc0006aa43600000005320..."} 
[2026-09-06 20:47:53] local.INFO: Packet analysis {"connection_id":173023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:47:53] local.INFO: Extracted packet for processing {"connection_id":173023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07747"} 
[2026-09-06 20:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909056768001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788707554000,"timestamp_ms":1788707554000,"timestamp_seconds":1788707554,"priority":1,"record_length":96,"hex_timestamp":"000001a0774742d0"} 
[2026-09-06 20:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:47: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-09-06 20: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-09-06 20:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:47: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-09-06 20:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909056768001,"66":25517,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909056768001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:47:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:47:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909056768001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":173023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:47:53] local.INFO: GPS data processed {"connection_id":173023,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:47:53] local.INFO: Acknowledgment sent {"connection_id":173023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:47:54] local.INFO: TCP Data received {"connection_id":175508,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:47:54] local.INFO: Processing buffer {"connection_id":175508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:47:54] local.INFO: IMEI packet received {"connection_id":175508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":175508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:47:55] local.INFO: TCP Data received {"connection_id":175508,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0774a4c280100000000000000000000000000..."} 
[2026-09-06 20:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774a4c280100000000000000000000000000..."} 
[2026-09-06 20:47:55] local.INFO: Processing buffer {"connection_id":175508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774a4c280100000000000000000000000000..."} 
[2026-09-06 20:47:55] local.INFO: Packet analysis {"connection_id":175508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774a"} 
[2026-09-06 20:47:55] local.INFO: Extracted packet for processing {"connection_id":175508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774a"} 
[2026-09-06 20:47:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 20:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909169920001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:47:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":36521425486487554,"note":"Value kept but may cause issues"} 
[2026-09-06 20:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788707753000,"timestamp_ms":1788707753000,"timestamp_seconds":1788707753,"priority":1,"record_length":96,"hex_timestamp":"000001a0774a4c28"} 
[2026-09-06 20:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-06 20:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":175508,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 20:47:55] local.INFO: GPS data processed {"connection_id":175508,"processed":0,"errors":0,"total":1} 
[2026-09-06 20:47:55] local.INFO: Acknowledgment sent {"connection_id":175508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:48:24] local.INFO: TCP Data received {"connection_id":173023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:48:24] local.INFO: Processing buffer {"connection_id":173023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:48:24] local.INFO: Packet analysis {"connection_id":173023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:48:24] local.INFO: Extracted packet for processing {"connection_id":173023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":27,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909133824001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788707855000,"timestamp_ms":1788707855000,"timestamp_seconds":1788707855,"priority":1,"record_length":96,"hex_timestamp":"000001a0774bda98"} 
[2026-09-06 20:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":173,"data_length":795,"current_offset":136} 
[2026-09-06 20:48: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-09-06 20: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-09-06 20:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:48: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-09-06 20:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909133824001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909133824001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:48:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909133824001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":173023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:48:24] local.INFO: GPS data processed {"connection_id":173023,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:48:24] local.INFO: Acknowledgment sent {"connection_id":173023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:48:27] local.INFO: TCP Data received {"connection_id":175508,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a07749bf88012c005f000b00e8100247013029..."} 
[2026-09-06 20:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07749bf88012c005f000b00e8100247013029..."} 
[2026-09-06 20:48:27] local.INFO: Processing buffer {"connection_id":175508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07749bf88012c005f000b00e8100247013029..."} 
[2026-09-06 20:48:27] local.INFO: Packet analysis {"connection_id":175508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07749"} 
[2026-09-06 20:48:27] local.INFO: Extracted packet for processing {"connection_id":175508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07749"} 
[2026-09-06 20:48:27] local.INFO: GPS Element Parsed {"raw_longitude":738221824,"raw_latitude":184608784,"longitude_deg":73.8221824,"latitude_deg":18.4608784,"altitude":583,"angle":304,"satellites":41,"speed":3,"hex_longitude":"2c005f00","hex_latitude":"0b00e810","is_valid_coordinates":true} 
[2026-09-06 20:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:48:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,114,4,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 20:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788707717000,"timestamp_ms":1788707717000,"timestamp_seconds":1788707717,"priority":1,"record_length":96,"hex_timestamp":"000001a07749bf88"} 
[2026-09-06 20:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-06 20:48:27] 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-09-06 20:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27289,"114":206,"4":13056,"24":3,"16":3530617736134656},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,4,24,16]} 
[2026-09-06 20:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 20:48:27] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-06 20:48:27] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:48:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27289,"unknown_114":206,"unknown_4":13056,"ignition":3,"odometer":null}} 
[2026-09-06 20:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":175508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775958,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:48:27] local.INFO: GPS data processed {"connection_id":175508,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:48:27] local.INFO: Acknowledgment sent {"connection_id":175508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:48:47] local.INFO: TCP Data received {"connection_id":172792,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:48:47] local.INFO: Processing buffer {"connection_id":172792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:48:47] local.INFO: IMEI packet received {"connection_id":172792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":172792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:48:52] local.INFO: TCP Data received {"connection_id":172792,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:48:52] local.INFO: Processing buffer {"connection_id":172792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:48:52] local.INFO: IMEI packet received {"connection_id":172792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":172792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:48:53] local.INFO: TCP Data received {"connection_id":172792,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:48:53] local.INFO: Processing buffer {"connection_id":172792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:48:53] local.INFO: Packet analysis {"connection_id":172792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:48:53] local.INFO: Extracted packet for processing {"connection_id":172792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":27,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909133824001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788707855000,"timestamp_ms":1788707855000,"timestamp_seconds":1788707855,"priority":1,"record_length":96,"hex_timestamp":"000001a0774bda98"} 
[2026-09-06 20:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":173,"data_length":795,"current_offset":136} 
[2026-09-06 20:48:53] 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-09-06 20: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-09-06 20:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:48: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-09-06 20:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909133824001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909133824001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:48:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909133824001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":172792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:48:53] local.INFO: GPS data processed {"connection_id":172792,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:48:53] local.INFO: Acknowledgment sent {"connection_id":172792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:48:53] local.INFO: TCP Data received {"connection_id":175509,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:48:53] local.INFO: Processing buffer {"connection_id":175509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:48:53] local.INFO: IMEI packet received {"connection_id":175509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":175509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:48:54] local.INFO: TCP Data received {"connection_id":175509,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:48:54] local.INFO: Processing buffer {"connection_id":175509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:48:54] local.INFO: IMEI packet received {"connection_id":175509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":175509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:48:59] local.INFO: TCP Data received {"connection_id":175509,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:48:59] local.INFO: Processing buffer {"connection_id":175509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:48:59] local.INFO: IMEI packet received {"connection_id":175509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":175509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:49:00] local.INFO: TCP Data received {"connection_id":175509,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0774a1190012c005f000b00e8100247013029..."} 
[2026-09-06 20:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774a1190012c005f000b00e8100247013029..."} 
[2026-09-06 20:49:00] local.INFO: Processing buffer {"connection_id":175509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774a1190012c005f000b00e8100247013029..."} 
[2026-09-06 20:49:00] local.INFO: Packet analysis {"connection_id":175509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774a"} 
[2026-09-06 20:49:00] local.INFO: Extracted packet for processing {"connection_id":175509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774a"} 
[2026-09-06 20:49:00] local.INFO: GPS Element Parsed {"raw_longitude":738221824,"raw_latitude":184608784,"longitude_deg":73.8221824,"latitude_deg":18.4608784,"altitude":583,"angle":304,"satellites":41,"speed":0,"hex_longitude":"2c005f00","hex_latitude":"0b00e810","is_valid_coordinates":true} 
[2026-09-06 20:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909175552001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:49:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":26740170047361026,"note":"Value kept but may cause issues"} 
[2026-09-06 20:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788707738000,"timestamp_ms":1788707738000,"timestamp_seconds":1788707738,"priority":1,"record_length":96,"hex_timestamp":"000001a0774a1190"} 
[2026-09-06 20:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-06 20:49:00] 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-09-06 20:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909175552001,"66":27767,"114":206,"4":13056,"24":0,"16":3530617736134656,"44":26740170047361026},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,4,24,16,44]} 
[2026-09-06 20:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909175552001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:49:00] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-06 20:49:00] local.INFO: Unknown IO ID detected {"io_id":4,"value":13056,"description":"Unknown IO ID 4"} 
[2026-09-06 20:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:49:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":26740170047361026,"description":"Unknown IO ID 44"} 
[2026-09-06 20:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909175552001,"power":27767,"unknown_114":206,"unknown_4":13056,"ignition":0,"odometer":null,"unknown_44":26740170047361026}} 
[2026-09-06 20:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":175509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775960,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:49:00] local.INFO: GPS data processed {"connection_id":175509,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:49:00] local.INFO: Acknowledgment sent {"connection_id":175509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:49:24] local.INFO: TCP Data received {"connection_id":172792,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:49:24] local.INFO: Processing buffer {"connection_id":172792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:49:24] local.INFO: Packet analysis {"connection_id":172792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:49:24] local.INFO: Extracted packet for processing {"connection_id":172792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":27,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909133824001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788707855000,"timestamp_ms":1788707855000,"timestamp_seconds":1788707855,"priority":1,"record_length":96,"hex_timestamp":"000001a0774bda98"} 
[2026-09-06 20:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":173,"data_length":795,"current_offset":136} 
[2026-09-06 20:49: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-09-06 20: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-09-06 20:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20: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-09-06 20:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909133824001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909133824001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:49:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909133824001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":172792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:49:24] local.INFO: GPS data processed {"connection_id":172792,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:49:24] local.INFO: Acknowledgment sent {"connection_id":172792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:49:32] local.INFO: TCP Data received {"connection_id":175509,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0774a6398012c005f000b00e8100247013029..."} 
[2026-09-06 20:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774a6398012c005f000b00e8100247013029..."} 
[2026-09-06 20:49:32] local.INFO: Processing buffer {"connection_id":175509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774a6398012c005f000b00e8100247013029..."} 
[2026-09-06 20:49:32] local.INFO: Packet analysis {"connection_id":175509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774a"} 
[2026-09-06 20:49:32] local.INFO: Extracted packet for processing {"connection_id":175509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774a"} 
[2026-09-06 20:49:32] local.INFO: GPS Element Parsed {"raw_longitude":738221824,"raw_latitude":184608784,"longitude_deg":73.8221824,"latitude_deg":18.4608784,"altitude":583,"angle":304,"satellites":41,"speed":0,"hex_longitude":"2c005f00","hex_latitude":"0b00e810","is_valid_coordinates":true} 
[2026-09-06 20:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909180928001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:49:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":26740170047361026,"note":"Value kept but may cause issues"} 
[2026-09-06 20:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788707759000,"timestamp_ms":1788707759000,"timestamp_seconds":1788707759,"priority":1,"record_length":96,"hex_timestamp":"000001a0774a6398"} 
[2026-09-06 20:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 20:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909180928001,"66":27517,"172":206,"4":11776,"24":0,"16":3530617736134656,"44":26740170047361026},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16,44]} 
[2026-09-06 20:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909180928001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:49:32] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:49:32] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:49:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":26740170047361026,"description":"Unknown IO ID 44"} 
[2026-09-06 20:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909180928001,"power":27517,"unknown_172":206,"unknown_4":11776,"ignition":0,"odometer":null,"unknown_44":26740170047361026}} 
[2026-09-06 20:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":175509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775962,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:49:32] local.INFO: GPS data processed {"connection_id":175509,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:49:32] local.INFO: Acknowledgment sent {"connection_id":175509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:49:47] local.INFO: TCP Data received {"connection_id":175510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:49:47] local.INFO: Processing buffer {"connection_id":175510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:49:47] local.INFO: IMEI packet received {"connection_id":175510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":175510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:49:49] local.INFO: TCP Data received {"connection_id":173024,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:49:49] local.INFO: Processing buffer {"connection_id":173024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:49:49] local.INFO: IMEI packet received {"connection_id":173024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":173024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:49:52] local.INFO: TCP Data received {"connection_id":175510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:49:52] local.INFO: Processing buffer {"connection_id":175510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:49:52] local.INFO: IMEI packet received {"connection_id":175510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":175510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:49:53] local.INFO: TCP Data received {"connection_id":175510,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:49:53] local.INFO: Processing buffer {"connection_id":175510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:49:53] local.INFO: Packet analysis {"connection_id":175510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:49:53] local.INFO: Extracted packet for processing {"connection_id":175510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":27,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909133824001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788707855000,"timestamp_ms":1788707855000,"timestamp_seconds":1788707855,"priority":1,"record_length":96,"hex_timestamp":"000001a0774bda98"} 
[2026-09-06 20:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":173,"data_length":795,"current_offset":136} 
[2026-09-06 20:49:53] 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-09-06 20: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-09-06 20:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:49: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-09-06 20:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909133824001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909133824001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:49:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909133824001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":175510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:49:53] local.INFO: GPS data processed {"connection_id":175510,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:49:53] local.INFO: Acknowledgment sent {"connection_id":175510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:49:54] local.INFO: TCP Data received {"connection_id":173024,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:49:54] local.INFO: Processing buffer {"connection_id":173024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:49:54] local.INFO: IMEI packet received {"connection_id":173024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":173024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:49:55] local.INFO: TCP Data received {"connection_id":173024,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0774ab5a0012c005f000b00e8100247013029..."} 
[2026-09-06 20:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774ab5a0012c005f000b00e8100247013029..."} 
[2026-09-06 20:49:55] local.INFO: Processing buffer {"connection_id":173024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774ab5a0012c005f000b00e8100247013029..."} 
[2026-09-06 20:49:55] local.INFO: Packet analysis {"connection_id":173024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774a"} 
[2026-09-06 20:49:55] local.INFO: Extracted packet for processing {"connection_id":173024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774a"} 
[2026-09-06 20:49:55] local.INFO: GPS Element Parsed {"raw_longitude":738221824,"raw_latitude":184608784,"longitude_deg":73.8221824,"latitude_deg":18.4608784,"altitude":583,"angle":304,"satellites":41,"speed":0,"hex_longitude":"2c005f00","hex_latitude":"0b00e810","is_valid_coordinates":true} 
[2026-09-06 20:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909186304001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:49:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":26740170047361026,"note":"Value kept but may cause issues"} 
[2026-09-06 20:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788707780000,"timestamp_ms":1788707780000,"timestamp_seconds":1788707780,"priority":1,"record_length":96,"hex_timestamp":"000001a0774ab5a0"} 
[2026-09-06 20:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 20:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909186304001,"66":27517,"172":206,"4":11776,"24":0,"16":3530617736134656,"44":26740170047361026},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16,44]} 
[2026-09-06 20:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909186304001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:49:55] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:49:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:49:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":26740170047361026,"description":"Unknown IO ID 44"} 
[2026-09-06 20:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909186304001,"power":27517,"unknown_172":206,"unknown_4":11776,"ignition":0,"odometer":null,"unknown_44":26740170047361026}} 
[2026-09-06 20:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":173024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775964,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:49:55] local.INFO: GPS data processed {"connection_id":173024,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:49:55] local.INFO: Acknowledgment sent {"connection_id":173024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:50:24] local.INFO: TCP Data received {"connection_id":175510,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:50:24] local.INFO: Processing buffer {"connection_id":175510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:50:24] local.INFO: Packet analysis {"connection_id":175510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:50:24] local.INFO: Extracted packet for processing {"connection_id":175510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:50:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":27,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909133824001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788707855000,"timestamp_ms":1788707855000,"timestamp_seconds":1788707855,"priority":1,"record_length":96,"hex_timestamp":"000001a0774bda98"} 
[2026-09-06 20:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":173,"data_length":795,"current_offset":136} 
[2026-09-06 20:50: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-09-06 20: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-09-06 20:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:50: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-09-06 20:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909133824001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909133824001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:50:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909133824001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":175510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:50:24] local.INFO: GPS data processed {"connection_id":175510,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:50:24] local.INFO: Acknowledgment sent {"connection_id":175510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:50:28] local.INFO: TCP Data received {"connection_id":173024,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0774b07a8012c005f000b00e8100247013029..."} 
[2026-09-06 20:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774b07a8012c005f000b00e8100247013029..."} 
[2026-09-06 20:50:28] local.INFO: Processing buffer {"connection_id":173024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774b07a8012c005f000b00e8100247013029..."} 
[2026-09-06 20:50:28] local.INFO: Packet analysis {"connection_id":173024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:50:28] local.INFO: Extracted packet for processing {"connection_id":173024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:50:28] local.INFO: GPS Element Parsed {"raw_longitude":738221824,"raw_latitude":184608784,"longitude_deg":73.8221824,"latitude_deg":18.4608784,"altitude":583,"angle":304,"satellites":41,"speed":0,"hex_longitude":"2c005f00","hex_latitude":"0b00e810","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909191680001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:50:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":26740170047361026,"note":"Value kept but may cause issues"} 
[2026-09-06 20:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788707801000,"timestamp_ms":1788707801000,"timestamp_seconds":1788707801,"priority":1,"record_length":96,"hex_timestamp":"000001a0774b07a8"} 
[2026-09-06 20:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 20:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909191680001,"66":27571,"172":206,"4":11776,"24":0,"16":3530617736134656,"44":26740170047361026},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16,44]} 
[2026-09-06 20:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909191680001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:50:28] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:50:28] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:50:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":26740170047361026,"description":"Unknown IO ID 44"} 
[2026-09-06 20:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909191680001,"power":27571,"unknown_172":206,"unknown_4":11776,"ignition":0,"odometer":null,"unknown_44":26740170047361026}} 
[2026-09-06 20:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":173024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775966,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:50:28] local.INFO: GPS data processed {"connection_id":173024,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:50:28] local.INFO: Acknowledgment sent {"connection_id":173024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:50:49] local.INFO: TCP Data received {"connection_id":175511,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:50:49] local.INFO: Processing buffer {"connection_id":175511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:50:49] local.INFO: IMEI packet received {"connection_id":175511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":175511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:50:52] local.INFO: TCP Data received {"connection_id":172793,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:50:52] local.INFO: Processing buffer {"connection_id":172793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:50:52] local.INFO: IMEI packet received {"connection_id":172793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":172793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:50:54] local.INFO: TCP Data received {"connection_id":175511,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:50:54] local.INFO: Processing buffer {"connection_id":175511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:50:54] local.INFO: IMEI packet received {"connection_id":175511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":175511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:50:55] local.INFO: TCP Data received {"connection_id":175511,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0774bea380100000000000000000000000000..."} 
[2026-09-06 20:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774bea380100000000000000000000000000..."} 
[2026-09-06 20:50:55] local.INFO: Processing buffer {"connection_id":175511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774bea380100000000000000000000000000..."} 
[2026-09-06 20:50:55] local.INFO: Packet analysis {"connection_id":175511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:50:55] local.INFO: Extracted packet for processing {"connection_id":175511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:50:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909197056001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:50:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":26740170047361026,"note":"Value kept but may cause issues"} 
[2026-09-06 20:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788707859000,"timestamp_ms":1788707859000,"timestamp_seconds":1788707859,"priority":1,"record_length":96,"hex_timestamp":"000001a0774bea38"} 
[2026-09-06 20:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 20:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":175511,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 20:50:55] local.INFO: GPS data processed {"connection_id":175511,"processed":0,"errors":0,"total":1} 
[2026-09-06 20:50:55] local.INFO: Acknowledgment sent {"connection_id":175511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:50:57] local.INFO: TCP Data received {"connection_id":172793,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:50:57] local.INFO: Processing buffer {"connection_id":172793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:50:57] local.INFO: IMEI packet received {"connection_id":172793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":172793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:50:57] local.INFO: TCP Data received {"connection_id":172793,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:50:58] local.INFO: Processing buffer {"connection_id":172793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:50:58] local.INFO: Packet analysis {"connection_id":172793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:50:58] local.INFO: Extracted packet for processing {"connection_id":172793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:50:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":27,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909133824001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788707855000,"timestamp_ms":1788707855000,"timestamp_seconds":1788707855,"priority":1,"record_length":96,"hex_timestamp":"000001a0774bda98"} 
[2026-09-06 20:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:50: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-09-06 20:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 20:50:58] 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-09-06 20:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:50: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-09-06 20:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909133824001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909133824001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:50:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:50:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909133824001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":172793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:50:58] local.INFO: GPS data processed {"connection_id":172793,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:50:58] local.INFO: Acknowledgment sent {"connection_id":172793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:51:02] local.INFO: TCP Data received {"connection_id":172793,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:51:02] local.INFO: Processing buffer {"connection_id":172793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:51:02] local.INFO: Packet analysis {"connection_id":172793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:51:02] local.INFO: Extracted packet for processing {"connection_id":172793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:51:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":27,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909133824001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20:51: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-09-06 20:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788707855000,"timestamp_ms":1788707855000,"timestamp_seconds":1788707855,"priority":1,"record_length":96,"hex_timestamp":"000001a0774bda98"} 
[2026-09-06 20:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:51: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-09-06 20:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 20:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909133824001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909133824001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:51:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:51:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909133824001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":172793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:51:02] local.INFO: GPS data processed {"connection_id":172793,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:51:02] local.INFO: Acknowledgment sent {"connection_id":172793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:51:28] local.INFO: TCP Data received {"connection_id":175511,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0774e18d0012c0004000b0137e00242013d29..."} 
[2026-09-06 20:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774e18d0012c0004000b0137e00242013d29..."} 
[2026-09-06 20:51:28] local.INFO: Processing buffer {"connection_id":175511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774e18d0012c0004000b0137e00242013d29..."} 
[2026-09-06 20:51:28] local.INFO: Packet analysis {"connection_id":175511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774e"} 
[2026-09-06 20:51:28] local.INFO: Extracted packet for processing {"connection_id":175511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774e"} 
[2026-09-06 20:51:28] local.INFO: GPS Element Parsed {"raw_longitude":738198528,"raw_latitude":184629216,"longitude_deg":73.8198528,"latitude_deg":18.4629216,"altitude":578,"angle":317,"satellites":41,"speed":0,"hex_longitude":"2c000400","hex_latitude":"0b0137e0","is_valid_coordinates":true} 
[2026-09-06 20:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909243136001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:51:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1125947171921922,"note":"Value kept but may cause issues"} 
[2026-09-06 20:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788708002000,"timestamp_ms":1788708002000,"timestamp_seconds":1788708002,"priority":1,"record_length":96,"hex_timestamp":"000001a0774e18d0"} 
[2026-09-06 20:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 20:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909243136001,"66":27691,"172":206,"4":11776,"24":0,"16":3530617736134656,"44":1125947171921922},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16,44]} 
[2026-09-06 20:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909243136001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:51:28] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:51:28] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:51:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":1125947171921922,"description":"Unknown IO ID 44"} 
[2026-09-06 20:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909243136001,"power":27691,"unknown_172":206,"unknown_4":11776,"ignition":0,"odometer":null,"unknown_44":1125947171921922}} 
[2026-09-06 20:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":175511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775969,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:51:28] local.INFO: GPS data processed {"connection_id":175511,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:51:28] local.INFO: Acknowledgment sent {"connection_id":175511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:51:47] local.INFO: TCP Data received {"connection_id":172794,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:51:47] local.INFO: Processing buffer {"connection_id":172794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:51:47] local.INFO: IMEI packet received {"connection_id":172794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":172794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:51:52] local.INFO: TCP Data received {"connection_id":172794,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:51:52] local.INFO: Processing buffer {"connection_id":172794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:51:52] local.INFO: IMEI packet received {"connection_id":172794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":172794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:51:53] local.INFO: TCP Data received {"connection_id":172794,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:51:53] local.INFO: Processing buffer {"connection_id":172794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:51:53] local.INFO: Packet analysis {"connection_id":172794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:51:53] local.INFO: Extracted packet for processing {"connection_id":172794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":27,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909133824001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788707855000,"timestamp_ms":1788707855000,"timestamp_seconds":1788707855,"priority":1,"record_length":96,"hex_timestamp":"000001a0774bda98"} 
[2026-09-06 20:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 20:51:53] 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-09-06 20: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-09-06 20:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:51: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-09-06 20:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909133824001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909133824001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:51:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:51:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909133824001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":172794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:51:53] local.INFO: GPS data processed {"connection_id":172794,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:51:53] local.INFO: Acknowledgment sent {"connection_id":172794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:51:54] local.INFO: TCP Data received {"connection_id":175512,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:51:54] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:51:54] local.INFO: IMEI packet received {"connection_id":175512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":175512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:51:57] local.INFO: TCP Data received {"connection_id":172794,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:51:57] local.INFO: Processing buffer {"connection_id":172794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:51:57] local.INFO: Packet analysis {"connection_id":172794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:51:57] local.INFO: Extracted packet for processing {"connection_id":172794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:51:57] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":27,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909133824001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20:51: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-09-06 20:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788707855000,"timestamp_ms":1788707855000,"timestamp_seconds":1788707855,"priority":1,"record_length":96,"hex_timestamp":"000001a0774bda98"} 
[2026-09-06 20:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:51: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-09-06 20:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 20:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:51: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-09-06 20:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909133824001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909133824001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:51:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:51:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909133824001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":172794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:51:57] local.INFO: GPS data processed {"connection_id":172794,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:51:57] local.INFO: Acknowledgment sent {"connection_id":172794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:51:59] local.INFO: TCP Data received {"connection_id":175512,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:51:59] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:51:59] local.INFO: IMEI packet received {"connection_id":175512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":175512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:52:01] local.INFO: TCP Data received {"connection_id":175512,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0774e6ad8012c0004000b0137e00242013d29..."} 
[2026-09-06 20:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774e6ad8012c0004000b0137e00242013d29..."} 
[2026-09-06 20:52:01] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774e6ad8012c0004000b0137e00242013d29..."} 
[2026-09-06 20:52:01] local.INFO: Packet analysis {"connection_id":175512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774e"} 
[2026-09-06 20:52:01] local.INFO: Extracted packet for processing {"connection_id":175512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774e"} 
[2026-09-06 20:52:01] local.INFO: GPS Element Parsed {"raw_longitude":738198528,"raw_latitude":184629216,"longitude_deg":73.8198528,"latitude_deg":18.4629216,"altitude":578,"angle":317,"satellites":41,"speed":0,"hex_longitude":"2c000400","hex_latitude":"0b0137e0","is_valid_coordinates":true} 
[2026-09-06 20:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909248512001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:52:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1125947171921922,"note":"Value kept but may cause issues"} 
[2026-09-06 20:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788708023000,"timestamp_ms":1788708023000,"timestamp_seconds":1788708023,"priority":1,"record_length":96,"hex_timestamp":"000001a0774e6ad8"} 
[2026-09-06 20:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 20:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909248512001,"66":27843,"172":206,"4":11776,"24":0,"16":3530617736134656,"44":1125947171921922},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16,44]} 
[2026-09-06 20:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909248512001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:52:01] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:52:01] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:52:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":1125947171921922,"description":"Unknown IO ID 44"} 
[2026-09-06 20:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909248512001,"power":27843,"unknown_172":206,"unknown_4":11776,"ignition":0,"odometer":null,"unknown_44":1125947171921922}} 
[2026-09-06 20:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":175512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775972,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:52:01] local.INFO: GPS data processed {"connection_id":175512,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:52:01] local.INFO: Acknowledgment sent {"connection_id":175512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:52:28] local.INFO: TCP Data received {"connection_id":172794,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:52:28] local.INFO: Processing buffer {"connection_id":172794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:52:28] local.INFO: Packet analysis {"connection_id":172794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:52:28] local.INFO: Extracted packet for processing {"connection_id":172794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:52:28] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":27,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909133824001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20:52: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-09-06 20:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788707855000,"timestamp_ms":1788707855000,"timestamp_seconds":1788707855,"priority":1,"record_length":96,"hex_timestamp":"000001a0774bda98"} 
[2026-09-06 20:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:52: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-09-06 20:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-06 20:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909133824001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909133824001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:52:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:52:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909133824001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":172794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:52:28] local.INFO: GPS data processed {"connection_id":172794,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:52:28] local.INFO: Acknowledgment sent {"connection_id":172794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:52:32] local.INFO: TCP Data received {"connection_id":175512,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0774ebce0012c0004000b0137e00242013d29..."} 
[2026-09-06 20:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774ebce0012c0004000b0137e00242013d29..."} 
[2026-09-06 20:52:32] local.INFO: Processing buffer {"connection_id":175512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774ebce0012c0004000b0137e00242013d29..."} 
[2026-09-06 20:52:32] local.INFO: Packet analysis {"connection_id":175512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774e"} 
[2026-09-06 20:52:32] local.INFO: Extracted packet for processing {"connection_id":175512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774e"} 
[2026-09-06 20:52:32] local.INFO: GPS Element Parsed {"raw_longitude":738198528,"raw_latitude":184629216,"longitude_deg":73.8198528,"latitude_deg":18.4629216,"altitude":578,"angle":317,"satellites":41,"speed":0,"hex_longitude":"2c000400","hex_latitude":"0b0137e0","is_valid_coordinates":true} 
[2026-09-06 20:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909253888001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:52:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1125947171921922,"note":"Value kept but may cause issues"} 
[2026-09-06 20:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788708044000,"timestamp_ms":1788708044000,"timestamp_seconds":1788708044,"priority":1,"record_length":96,"hex_timestamp":"000001a0774ebce0"} 
[2026-09-06 20:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:52: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-09-06 20:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-06 20:52: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-09-06 20:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909253888001,"66":27517,"172":206,"4":11776,"24":0,"16":3530617736134656,"44":1125947171921922},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16,44]} 
[2026-09-06 20:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909253888001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:52:32] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:52:32] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:52:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":1125947171921922,"description":"Unknown IO ID 44"} 
[2026-09-06 20:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909253888001,"power":27517,"unknown_172":206,"unknown_4":11776,"ignition":0,"odometer":null,"unknown_44":1125947171921922}} 
[2026-09-06 20:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":175512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775974,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:52:32] local.INFO: GPS data processed {"connection_id":175512,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:52:32] local.INFO: Acknowledgment sent {"connection_id":175512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:52:47] local.INFO: TCP Data received {"connection_id":173025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:52:47] local.INFO: Processing buffer {"connection_id":173025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:52:47] local.INFO: IMEI packet received {"connection_id":173025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":173025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:52:49] local.INFO: TCP Data received {"connection_id":173026,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:52:49] local.INFO: Processing buffer {"connection_id":173026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:52:49] local.INFO: IMEI packet received {"connection_id":173026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":173026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:52:51] local.INFO: TCP Data received {"connection_id":173026,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:52:51] local.INFO: Processing buffer {"connection_id":173026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:52:51] local.INFO: IMEI packet received {"connection_id":173026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":173026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:52:51] local.INFO: TCP Data received {"connection_id":173025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:52:51] local.INFO: Processing buffer {"connection_id":173025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:52:51] local.INFO: IMEI packet received {"connection_id":173025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":173025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:52:52] local.INFO: TCP Data received {"connection_id":173025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:52:52] local.INFO: Processing buffer {"connection_id":173025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774bda98012d34cc0006aa4360000000531b..."} 
[2026-09-06 20:52:52] local.INFO: Packet analysis {"connection_id":173025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:52:52] local.INFO: Extracted packet for processing {"connection_id":173025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774b"} 
[2026-09-06 20:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":27,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909133824001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788707855000,"timestamp_ms":1788707855000,"timestamp_seconds":1788707855,"priority":1,"record_length":96,"hex_timestamp":"000001a0774bda98"} 
[2026-09-06 20:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":173,"data_length":795,"current_offset":136} 
[2026-09-06 20:52: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-09-06 20: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-09-06 20:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:52: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-09-06 20:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909133824001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909133824001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:52:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909133824001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":173025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:52:52] local.INFO: GPS data processed {"connection_id":173025,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:52:52] local.INFO: Acknowledgment sent {"connection_id":173025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:52:55] local.INFO: TCP Data received {"connection_id":173026,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:52:55] local.INFO: Processing buffer {"connection_id":173026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:52:55] local.INFO: IMEI packet received {"connection_id":173026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":173026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:52:56] local.INFO: TCP Data received {"connection_id":173026,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0774f9f700100000000000000000000000000..."} 
[2026-09-06 20:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774f9f700100000000000000000000000000..."} 
[2026-09-06 20:52:56] local.INFO: Processing buffer {"connection_id":173026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774f9f700100000000000000000000000000..."} 
[2026-09-06 20:52:56] local.INFO: Packet analysis {"connection_id":173026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774f"} 
[2026-09-06 20:52:56] local.INFO: Extracted packet for processing {"connection_id":173026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774f"} 
[2026-09-06 20:52: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-09-06 20:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909259264001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:52:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1125947171921922,"note":"Value kept but may cause issues"} 
[2026-09-06 20:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788708102000,"timestamp_ms":1788708102000,"timestamp_seconds":1788708102,"priority":1,"record_length":96,"hex_timestamp":"000001a0774f9f70"} 
[2026-09-06 20:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 20:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":173026,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 20:52:56] local.INFO: GPS data processed {"connection_id":173026,"processed":0,"errors":0,"total":1} 
[2026-09-06 20:52:56] local.INFO: Acknowledgment sent {"connection_id":173026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:53:00] local.INFO: TCP Data received {"connection_id":173026,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0774f2270012bffecc00b015090024201442c..."} 
[2026-09-06 20:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774f2270012bffecc00b015090024201442c..."} 
[2026-09-06 20:53:00] local.INFO: Processing buffer {"connection_id":173026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774f2270012bffecc00b015090024201442c..."} 
[2026-09-06 20:53:00] local.INFO: Packet analysis {"connection_id":173026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774f"} 
[2026-09-06 20:53:00] local.INFO: Extracted packet for processing {"connection_id":173026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774f"} 
[2026-09-06 20:53:00] local.INFO: GPS Element Parsed {"raw_longitude":738192576,"raw_latitude":184635536,"longitude_deg":73.8192576,"latitude_deg":18.4635536,"altitude":578,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2bffecc0","hex_latitude":"0b015090","is_valid_coordinates":true} 
[2026-09-06 20:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:53:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,172,4,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 20:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788708070000,"timestamp_ms":1788708070000,"timestamp_seconds":1788708070,"priority":1,"record_length":96,"hex_timestamp":"000001a0774f2270"} 
[2026-09-06 20:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 20:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27832,"172":206,"4":11776,"24":0,"16":3530617736134656},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16]} 
[2026-09-06 20:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 20:53:00] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:53:00] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:53:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27832,"unknown_172":206,"unknown_4":11776,"ignition":0,"odometer":null}} 
[2026-09-06 20:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":173026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775976,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:53:00] local.INFO: GPS data processed {"connection_id":173026,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:53:00] local.INFO: Acknowledgment sent {"connection_id":173026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:53:23] local.INFO: TCP Data received {"connection_id":173025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:53:23] local.INFO: Processing buffer {"connection_id":173025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:53:23] local.INFO: Packet analysis {"connection_id":173025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:53:23] local.INFO: Extracted packet for processing {"connection_id":173025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:53:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909210880001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788708156000,"timestamp_ms":1788708156000,"timestamp_seconds":1788708156,"priority":1,"record_length":96,"hex_timestamp":"000001a077507260"} 
[2026-09-06 20:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:53: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:53: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-09-06 20: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-09-06 20:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20: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-09-06 20:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909210880001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909210880001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:53:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:53:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909210880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":173025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:53:23] local.INFO: GPS data processed {"connection_id":173025,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:53:23] local.INFO: Acknowledgment sent {"connection_id":173025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:53:32] local.INFO: TCP Data received {"connection_id":173026,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0774f7478012bffecc00b015090024201442c..."} 
[2026-09-06 20:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774f7478012bffecc00b015090024201442c..."} 
[2026-09-06 20:53:32] local.INFO: Processing buffer {"connection_id":173026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774f7478012bffecc00b015090024201442c..."} 
[2026-09-06 20:53:32] local.INFO: Packet analysis {"connection_id":173026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774f"} 
[2026-09-06 20:53:32] local.INFO: Extracted packet for processing {"connection_id":173026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774f"} 
[2026-09-06 20:53:32] local.INFO: GPS Element Parsed {"raw_longitude":738192576,"raw_latitude":184635536,"longitude_deg":73.8192576,"latitude_deg":18.4635536,"altitude":578,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2bffecc0","hex_latitude":"0b015090","is_valid_coordinates":true} 
[2026-09-06 20:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909265920001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:53:32] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-5418346034982910,"note":"Value kept but may cause issues"} 
[2026-09-06 20:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788708091000,"timestamp_ms":1788708091000,"timestamp_seconds":1788708091,"priority":1,"record_length":96,"hex_timestamp":"000001a0774f7478"} 
[2026-09-06 20:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-06 20:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909265920001,"66":27604,"172":206,"4":11776,"24":0,"16":3530617736134656,"43":-5418346034982910},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16,43]} 
[2026-09-06 20:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909265920001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:53:32] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:53:32] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:53:32] local.INFO: Unknown IO ID detected {"io_id":43,"value":-5418346034982910,"description":"Unknown IO ID 43"} 
[2026-09-06 20:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909265920001,"power":27604,"unknown_172":206,"unknown_4":11776,"ignition":0,"odometer":null,"unknown_43":-5418346034982910}} 
[2026-09-06 20:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":173026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775978,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:53:32] local.INFO: GPS data processed {"connection_id":173026,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:53:32] local.INFO: Acknowledgment sent {"connection_id":173026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:53:47] local.INFO: TCP Data received {"connection_id":172795,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:53:47] local.INFO: Processing buffer {"connection_id":172795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:53:47] local.INFO: IMEI packet received {"connection_id":172795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":172795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:53:52] local.INFO: TCP Data received {"connection_id":172795,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:53:52] local.INFO: Processing buffer {"connection_id":172795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:53:52] local.INFO: IMEI packet received {"connection_id":172795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":172795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:53:53] local.INFO: TCP Data received {"connection_id":172795,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:53:53] local.INFO: Processing buffer {"connection_id":172795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:53:53] local.INFO: Packet analysis {"connection_id":172795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:53:53] local.INFO: Extracted packet for processing {"connection_id":172795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909210880001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788708156000,"timestamp_ms":1788708156000,"timestamp_seconds":1788708156,"priority":1,"record_length":96,"hex_timestamp":"000001a077507260"} 
[2026-09-06 20:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:53: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-09-06 20: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-09-06 20:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:53: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-09-06 20:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909210880001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909210880001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:53:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909210880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":172795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:53:53] local.INFO: GPS data processed {"connection_id":172795,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:53:53] local.INFO: Acknowledgment sent {"connection_id":172795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:53:58] local.INFO: TCP Data received {"connection_id":173027,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173027,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:53:58] local.INFO: Processing buffer {"connection_id":173027,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:53:58] local.INFO: IMEI packet received {"connection_id":173027,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":173027,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:54:00] local.INFO: TCP Data received {"connection_id":173027,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173027,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:54:00] local.INFO: Processing buffer {"connection_id":173027,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:54:00] local.INFO: IMEI packet received {"connection_id":173027,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":173027,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:54:04] local.INFO: TCP Data received {"connection_id":173027,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173027,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:54:04] local.INFO: Processing buffer {"connection_id":173027,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:54:04] local.INFO: IMEI packet received {"connection_id":173027,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":173027,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:54:07] local.INFO: TCP Data received {"connection_id":173027,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0774fc680012bffecc00b015090024201442c..."} 
[2026-09-06 20:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0774fc680012bffecc00b015090024201442c..."} 
[2026-09-06 20:54:07] local.INFO: Processing buffer {"connection_id":173027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0774fc680012bffecc00b015090024201442c..."} 
[2026-09-06 20:54:07] local.INFO: Packet analysis {"connection_id":173027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0774f"} 
[2026-09-06 20:54:07] local.INFO: Extracted packet for processing {"connection_id":173027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0774f"} 
[2026-09-06 20:54:07] local.INFO: GPS Element Parsed {"raw_longitude":738192576,"raw_latitude":184635536,"longitude_deg":73.8192576,"latitude_deg":18.4635536,"altitude":578,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2bffecc0","hex_latitude":"0b015090","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909271296001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:54:07] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-5418346034982910,"note":"Value kept but may cause issues"} 
[2026-09-06 20:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788708112000,"timestamp_ms":1788708112000,"timestamp_seconds":1788708112,"priority":1,"record_length":96,"hex_timestamp":"000001a0774fc680"} 
[2026-09-06 20:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 20:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173027,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173027,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909271296001,"66":27800,"172":206,"4":11776,"24":0,"16":3530617736134656,"43":-5418346034982910},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16,43]} 
[2026-09-06 20:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909271296001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:54:07] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:54:07] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:54:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":-5418346034982910,"description":"Unknown IO ID 43"} 
[2026-09-06 20:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909271296001,"power":27800,"unknown_172":206,"unknown_4":11776,"ignition":0,"odometer":null,"unknown_43":-5418346034982910}} 
[2026-09-06 20:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":173027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:54:07] local.INFO: GPS data processed {"connection_id":173027,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:54:07] local.INFO: Acknowledgment sent {"connection_id":173027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:54:10] local.INFO: TCP Data received {"connection_id":173027,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a077501888012bffecc00b015090024201442c..."} 
[2026-09-06 20:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077501888012bffecc00b015090024201442c..."} 
[2026-09-06 20:54:10] local.INFO: Processing buffer {"connection_id":173027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077501888012bffecc00b015090024201442c..."} 
[2026-09-06 20:54:10] local.INFO: Packet analysis {"connection_id":173027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:54:10] local.INFO: Extracted packet for processing {"connection_id":173027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:54:10] local.INFO: GPS Element Parsed {"raw_longitude":738192576,"raw_latitude":184635536,"longitude_deg":73.8192576,"latitude_deg":18.4635536,"altitude":578,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2bffecc0","hex_latitude":"0b015090","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909276672001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:54:10] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-5418346034982910,"note":"Value kept but may cause issues"} 
[2026-09-06 20:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788708133000,"timestamp_ms":1788708133000,"timestamp_seconds":1788708133,"priority":1,"record_length":96,"hex_timestamp":"000001a077501888"} 
[2026-09-06 20:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 20:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173027,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173027,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909276672001,"66":27691,"172":206,"4":11776,"24":0,"16":3530617736134656,"43":-5418346034982910},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16,43]} 
[2026-09-06 20:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909276672001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:54:10] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:54:10] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:54:10] local.INFO: Unknown IO ID detected {"io_id":43,"value":-5418346034982910,"description":"Unknown IO ID 43"} 
[2026-09-06 20:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909276672001,"power":27691,"unknown_172":206,"unknown_4":11776,"ignition":0,"odometer":null,"unknown_43":-5418346034982910}} 
[2026-09-06 20:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":173027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775981,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:54:10] local.INFO: GPS data processed {"connection_id":173027,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:54:10] local.INFO: Acknowledgment sent {"connection_id":173027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:54:24] local.INFO: TCP Data received {"connection_id":172795,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:54:24] local.INFO: Processing buffer {"connection_id":172795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:54:24] local.INFO: Packet analysis {"connection_id":172795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:54:24] local.INFO: Extracted packet for processing {"connection_id":172795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:54:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909210880001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788708156000,"timestamp_ms":1788708156000,"timestamp_seconds":1788708156,"priority":1,"record_length":96,"hex_timestamp":"000001a077507260"} 
[2026-09-06 20:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:54: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-09-06 20: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-09-06 20:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20: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-09-06 20:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909210880001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909210880001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:54:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:54:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909210880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":172795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:54:24] local.INFO: GPS data processed {"connection_id":172795,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:54:24] local.INFO: Acknowledgment sent {"connection_id":172795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:54:47] local.INFO: TCP Data received {"connection_id":174185,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:54:47] local.INFO: Processing buffer {"connection_id":174185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:54:47] local.INFO: IMEI packet received {"connection_id":174185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":174185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:54:52] local.INFO: TCP Data received {"connection_id":174185,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:54:52] local.INFO: Processing buffer {"connection_id":174185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:54:52] local.INFO: IMEI packet received {"connection_id":174185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":174185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:54:53] local.INFO: TCP Data received {"connection_id":174185,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:54:53] local.INFO: Processing buffer {"connection_id":174185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:54:53] local.INFO: Packet analysis {"connection_id":174185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:54:53] local.INFO: Extracted packet for processing {"connection_id":174185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909210880001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788708156000,"timestamp_ms":1788708156000,"timestamp_seconds":1788708156,"priority":1,"record_length":96,"hex_timestamp":"000001a077507260"} 
[2026-09-06 20:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:54: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-09-06 20: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-09-06 20:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20: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-09-06 20:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909210880001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909210880001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:54:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909210880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":174185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:54:53] local.INFO: GPS data processed {"connection_id":174185,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:54:53] local.INFO: Acknowledgment sent {"connection_id":174185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:55:01] local.INFO: TCP Data received {"connection_id":175513,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:55:01] local.INFO: Processing buffer {"connection_id":175513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:55:01] local.INFO: IMEI packet received {"connection_id":175513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":175513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:55:02] local.INFO: TCP Data received {"connection_id":175513,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:55:02] local.INFO: Processing buffer {"connection_id":175513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:55:02] local.INFO: IMEI packet received {"connection_id":175513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":175513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:55:04] local.INFO: TCP Data received {"connection_id":175513,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a077506a90012bffecc00b015090024201442c..."} 
[2026-09-06 20:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077506a90012bffecc00b015090024201442c..."} 
[2026-09-06 20:55:04] local.INFO: Processing buffer {"connection_id":175513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077506a90012bffecc00b015090024201442c..."} 
[2026-09-06 20:55:04] local.INFO: Packet analysis {"connection_id":175513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:55:04] local.INFO: Extracted packet for processing {"connection_id":175513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:55:04] local.INFO: GPS Element Parsed {"raw_longitude":738192576,"raw_latitude":184635536,"longitude_deg":73.8192576,"latitude_deg":18.4635536,"altitude":578,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2bffecc0","hex_latitude":"0b015090","is_valid_coordinates":true} 
[2026-09-06 20:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909282048001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:55:04] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-5418346034982910,"note":"Value kept but may cause issues"} 
[2026-09-06 20:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788708154000,"timestamp_ms":1788708154000,"timestamp_seconds":1788708154,"priority":1,"record_length":96,"hex_timestamp":"000001a077506a90"} 
[2026-09-06 20:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 20:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909282048001,"66":27876,"172":206,"4":11776,"24":0,"16":3530617736134656,"43":-5418346034982910},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16,43]} 
[2026-09-06 20:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909282048001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:55:04] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:55:04] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:55:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":-5418346034982910,"description":"Unknown IO ID 43"} 
[2026-09-06 20:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909282048001,"power":27876,"unknown_172":206,"unknown_4":11776,"ignition":0,"odometer":null,"unknown_43":-5418346034982910}} 
[2026-09-06 20:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":175513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775984,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:55:04] local.INFO: GPS data processed {"connection_id":175513,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:55:04] local.INFO: Acknowledgment sent {"connection_id":175513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:55:07] local.INFO: TCP Data received {"connection_id":175513,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a07750bc98012bffecc00b015090024201442c..."} 
[2026-09-06 20:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07750bc98012bffecc00b015090024201442c..."} 
[2026-09-06 20:55:07] local.INFO: Processing buffer {"connection_id":175513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07750bc98012bffecc00b015090024201442c..."} 
[2026-09-06 20:55:07] local.INFO: Packet analysis {"connection_id":175513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:55:07] local.INFO: Extracted packet for processing {"connection_id":175513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:55:07] local.INFO: GPS Element Parsed {"raw_longitude":738192576,"raw_latitude":184635536,"longitude_deg":73.8192576,"latitude_deg":18.4635536,"altitude":578,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2bffecc0","hex_latitude":"0b015090","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909287424001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:55:07] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-5418346034982910,"note":"Value kept but may cause issues"} 
[2026-09-06 20:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788708175000,"timestamp_ms":1788708175000,"timestamp_seconds":1788708175,"priority":1,"record_length":96,"hex_timestamp":"000001a07750bc98"} 
[2026-09-06 20:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-06 20:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909287424001,"66":27680,"172":206,"4":11776,"24":0,"16":3530617736134656,"43":-5418346034982910},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16,43]} 
[2026-09-06 20:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909287424001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:55:07] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:55:07] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:55:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":-5418346034982910,"description":"Unknown IO ID 43"} 
[2026-09-06 20:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909287424001,"power":27680,"unknown_172":206,"unknown_4":11776,"ignition":0,"odometer":null,"unknown_43":-5418346034982910}} 
[2026-09-06 20:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":175513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775985,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:55:07] local.INFO: GPS data processed {"connection_id":175513,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:55:07] local.INFO: Acknowledgment sent {"connection_id":175513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:55:24] local.INFO: TCP Data received {"connection_id":174185,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:55:24] local.INFO: Processing buffer {"connection_id":174185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:55:24] local.INFO: Packet analysis {"connection_id":174185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:55:24] local.INFO: Extracted packet for processing {"connection_id":174185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909210880001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788708156000,"timestamp_ms":1788708156000,"timestamp_seconds":1788708156,"priority":1,"record_length":96,"hex_timestamp":"000001a077507260"} 
[2026-09-06 20:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20: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-09-06 20:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20: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-09-06 20:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909210880001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909210880001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:55:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909210880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":174185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:55:24] local.INFO: GPS data processed {"connection_id":174185,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:55:24] local.INFO: Acknowledgment sent {"connection_id":174185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:55:47] local.INFO: TCP Data received {"connection_id":173028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:55:47] local.INFO: Processing buffer {"connection_id":173028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:55:47] local.INFO: IMEI packet received {"connection_id":173028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":173028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:55:49] local.INFO: TCP Data received {"connection_id":173029,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:55:49] local.INFO: Processing buffer {"connection_id":173029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:55:49] local.INFO: IMEI packet received {"connection_id":173029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":173029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:55:52] local.INFO: TCP Data received {"connection_id":173028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:55:52] local.INFO: Processing buffer {"connection_id":173028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:55:52] local.INFO: IMEI packet received {"connection_id":173028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":173028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:55:53] local.INFO: TCP Data received {"connection_id":173028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:55:53] local.INFO: Processing buffer {"connection_id":173028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:55:53] local.INFO: Packet analysis {"connection_id":173028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:55:53] local.INFO: Extracted packet for processing {"connection_id":173028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:55:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909210880001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788708156000,"timestamp_ms":1788708156000,"timestamp_seconds":1788708156,"priority":1,"record_length":96,"hex_timestamp":"000001a077507260"} 
[2026-09-06 20:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:55: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:55: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-09-06 20: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-09-06 20:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:55: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-09-06 20:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909210880001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909210880001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:55:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:55:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909210880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":173028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:55:53] local.INFO: GPS data processed {"connection_id":173028,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:55:53] local.INFO: Acknowledgment sent {"connection_id":173028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:55:54] local.INFO: TCP Data received {"connection_id":173029,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:55:54] local.INFO: Processing buffer {"connection_id":173029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:55:54] local.INFO: IMEI packet received {"connection_id":173029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":173029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:55:55] local.INFO: TCP Data received {"connection_id":173029,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a077519f280100000000000000000000000000..."} 
[2026-09-06 20:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077519f280100000000000000000000000000..."} 
[2026-09-06 20:55:55] local.INFO: Processing buffer {"connection_id":173029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077519f280100000000000000000000000000..."} 
[2026-09-06 20:55:55] local.INFO: Packet analysis {"connection_id":173029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07751"} 
[2026-09-06 20:55:55] local.INFO: Extracted packet for processing {"connection_id":173029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07751"} 
[2026-09-06 20:55:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-06 20:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909292800001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:55:55] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-5418346034982910,"note":"Value kept but may cause issues"} 
[2026-09-06 20:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788708233000,"timestamp_ms":1788708233000,"timestamp_seconds":1788708233,"priority":1,"record_length":96,"hex_timestamp":"000001a077519f28"} 
[2026-09-06 20:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-06 20:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":173029,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 20:55:55] local.INFO: GPS data processed {"connection_id":173029,"processed":0,"errors":0,"total":1} 
[2026-09-06 20:55:55] local.INFO: Acknowledgment sent {"connection_id":173029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:56:24] local.INFO: TCP Data received {"connection_id":173028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:56:24] local.INFO: Processing buffer {"connection_id":173028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:56:24] local.INFO: Packet analysis {"connection_id":173028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:56:24] local.INFO: Extracted packet for processing {"connection_id":173028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:56:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909210880001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788708156000,"timestamp_ms":1788708156000,"timestamp_seconds":1788708156,"priority":1,"record_length":96,"hex_timestamp":"000001a077507260"} 
[2026-09-06 20:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:56: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-09-06 20: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-09-06 20:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:56: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-09-06 20:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909210880001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909210880001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:56:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:56:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909210880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":173028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:56:24] local.INFO: GPS data processed {"connection_id":173028,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:56:24] local.INFO: Acknowledgment sent {"connection_id":173028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:56:27] local.INFO: TCP Data received {"connection_id":173029,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a077511670012bffd6000b016cc00240013c29..."} 
[2026-09-06 20:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077511670012bffd6000b016cc00240013c29..."} 
[2026-09-06 20:56:27] local.INFO: Processing buffer {"connection_id":173029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077511670012bffd6000b016cc00240013c29..."} 
[2026-09-06 20:56:27] local.INFO: Packet analysis {"connection_id":173029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07751"} 
[2026-09-06 20:56:27] local.INFO: Extracted packet for processing {"connection_id":173029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07751"} 
[2026-09-06 20:56:27] local.INFO: GPS Element Parsed {"raw_longitude":738186752,"raw_latitude":184642752,"longitude_deg":73.8186752,"latitude_deg":18.4642752,"altitude":576,"angle":316,"satellites":41,"speed":3,"hex_longitude":"2bffd600","hex_latitude":"0b016cc0","is_valid_coordinates":true} 
[2026-09-06 20:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:56:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,172,4,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 20:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788708198000,"timestamp_ms":1788708198000,"timestamp_seconds":1788708198,"priority":1,"record_length":96,"hex_timestamp":"000001a077511670"} 
[2026-09-06 20:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 20:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27550,"172":206,"4":11776,"24":3,"16":3530617736134656},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16]} 
[2026-09-06 20:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 20:56:27] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:56:27] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:56:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27550,"unknown_172":206,"unknown_4":11776,"ignition":3,"odometer":null}} 
[2026-09-06 20:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":173029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775989,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:56:27] local.INFO: GPS data processed {"connection_id":173029,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:56:27] local.INFO: Acknowledgment sent {"connection_id":173029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:56:49] local.INFO: TCP Data received {"connection_id":175515,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:56:49] local.INFO: Processing buffer {"connection_id":175515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:56:49] local.INFO: IMEI packet received {"connection_id":175515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":175515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:56:53] local.INFO: TCP Data received {"connection_id":175514,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:56:53] local.INFO: Processing buffer {"connection_id":175514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:56:53] local.INFO: IMEI packet received {"connection_id":175514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":175514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:56:53] local.INFO: TCP Data received {"connection_id":175515,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:56:53] local.INFO: Processing buffer {"connection_id":175515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:56:53] local.INFO: IMEI packet received {"connection_id":175515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":175515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:56:57] local.INFO: TCP Data received {"connection_id":175514,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:56:57] local.INFO: Processing buffer {"connection_id":175514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:56:57] local.INFO: IMEI packet received {"connection_id":175514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":175514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:56:57] local.INFO: TCP Data received {"connection_id":175515,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:56:57] local.INFO: Processing buffer {"connection_id":175515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:56:57] local.INFO: IMEI packet received {"connection_id":175515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":175515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:56:58] local.INFO: TCP Data received {"connection_id":175514,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:56:58] local.INFO: Processing buffer {"connection_id":175514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:56:58] local.INFO: Packet analysis {"connection_id":175514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:56:58] local.INFO: Extracted packet for processing {"connection_id":175514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:56:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909210880001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788708156000,"timestamp_ms":1788708156000,"timestamp_seconds":1788708156,"priority":1,"record_length":96,"hex_timestamp":"000001a077507260"} 
[2026-09-06 20:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:56: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-09-06 20:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:56: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-09-06 20:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:56: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-09-06 20:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909210880001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909210880001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:56:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:56:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909210880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":175514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:56:58] local.INFO: GPS data processed {"connection_id":175514,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:56:58] local.INFO: Acknowledgment sent {"connection_id":175514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:56:59] local.INFO: TCP Data received {"connection_id":175515,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a077516878012bffd6000b016cc00240013c29..."} 
[2026-09-06 20:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077516878012bffd6000b016cc00240013c29..."} 
[2026-09-06 20:56:59] local.INFO: Processing buffer {"connection_id":175515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077516878012bffd6000b016cc00240013c29..."} 
[2026-09-06 20:56:59] local.INFO: Packet analysis {"connection_id":175515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07751"} 
[2026-09-06 20:56:59] local.INFO: Extracted packet for processing {"connection_id":175515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07751"} 
[2026-09-06 20:56:59] local.INFO: GPS Element Parsed {"raw_longitude":738186752,"raw_latitude":184642752,"longitude_deg":73.8186752,"latitude_deg":18.4642752,"altitude":576,"angle":316,"satellites":41,"speed":0,"hex_longitude":"2bffd600","hex_latitude":"0b016cc0","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909298688001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:56:59] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-11821901753303038,"note":"Value kept but may cause issues"} 
[2026-09-06 20:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788708219000,"timestamp_ms":1788708219000,"timestamp_seconds":1788708219,"priority":1,"record_length":96,"hex_timestamp":"000001a077516878"} 
[2026-09-06 20:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20: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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-06 20:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909298688001,"66":27800,"172":206,"4":11776,"24":0,"16":3530617736134656,"43":-11821901753303038},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16,43]} 
[2026-09-06 20:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909298688001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:56:59] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:56:59] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:56:59] local.INFO: Unknown IO ID detected {"io_id":43,"value":-11821901753303038,"description":"Unknown IO ID 43"} 
[2026-09-06 20:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909298688001,"power":27800,"unknown_172":206,"unknown_4":11776,"ignition":0,"odometer":null,"unknown_43":-11821901753303038}} 
[2026-09-06 20:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":175515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775991,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:56:59] local.INFO: GPS data processed {"connection_id":175515,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:56:59] local.INFO: Acknowledgment sent {"connection_id":175515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:57:03] local.INFO: TCP Data received {"connection_id":175514,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:57:03] local.INFO: Processing buffer {"connection_id":175514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:57:03] local.INFO: Packet analysis {"connection_id":175514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:57:03] local.INFO: Extracted packet for processing {"connection_id":175514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909210880001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20:57: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-09-06 20:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788708156000,"timestamp_ms":1788708156000,"timestamp_seconds":1788708156,"priority":1,"record_length":96,"hex_timestamp":"000001a077507260"} 
[2026-09-06 20:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 20: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909210880001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909210880001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909210880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":175514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:57:03] local.INFO: GPS data processed {"connection_id":175514,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:57:03] local.INFO: Acknowledgment sent {"connection_id":175514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:57:06] local.INFO: TCP Data received {"connection_id":175515,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a07751ba80012bffd6000b016cc00240013c29..."} 
[2026-09-06 20:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07751ba80012bffd6000b016cc00240013c29..."} 
[2026-09-06 20:57:06] local.INFO: Processing buffer {"connection_id":175515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07751ba80012bffd6000b016cc00240013c29..."} 
[2026-09-06 20:57:06] local.INFO: Packet analysis {"connection_id":175515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07751"} 
[2026-09-06 20:57:06] local.INFO: Extracted packet for processing {"connection_id":175515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07751"} 
[2026-09-06 20:57:06] local.INFO: GPS Element Parsed {"raw_longitude":738186752,"raw_latitude":184642752,"longitude_deg":73.8186752,"latitude_deg":18.4642752,"altitude":576,"angle":316,"satellites":41,"speed":0,"hex_longitude":"2bffd600","hex_latitude":"0b016cc0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 20:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909304064001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:57:06] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-11821901753303038,"note":"Value kept but may cause issues"} 
[2026-09-06 20:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788708240000,"timestamp_ms":1788708240000,"timestamp_seconds":1788708240,"priority":1,"record_length":96,"hex_timestamp":"000001a07751ba80"} 
[2026-09-06 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-09-06 20:57: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-09-06 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-06 20:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 20:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909304064001,"66":27550,"172":206,"4":11776,"24":0,"16":3530617736134656,"43":-11821901753303038},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16,43]} 
[2026-09-06 20:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909304064001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:57:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:57:06] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:57:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":-11821901753303038,"description":"Unknown IO ID 43"} 
[2026-09-06 20:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909304064001,"power":27550,"unknown_172":206,"unknown_4":11776,"ignition":0,"odometer":null,"unknown_43":-11821901753303038}} 
[2026-09-06 20:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":175515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775993,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:57:06] local.INFO: GPS data processed {"connection_id":175515,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:57:06] local.INFO: Acknowledgment sent {"connection_id":175515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:57:47] local.INFO: TCP Data received {"connection_id":173030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:57:47] local.INFO: Processing buffer {"connection_id":173030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:57:47] local.INFO: IMEI packet received {"connection_id":173030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":173030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:57:52] local.INFO: TCP Data received {"connection_id":173030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:57:52] local.INFO: Processing buffer {"connection_id":173030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:57:52] local.INFO: IMEI packet received {"connection_id":173030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":173030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:57:53] local.INFO: TCP Data received {"connection_id":173030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:57:53] local.INFO: Processing buffer {"connection_id":173030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:57:53] local.INFO: Packet analysis {"connection_id":173030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:57:53] local.INFO: Extracted packet for processing {"connection_id":173030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:57:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909210880001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788708156000,"timestamp_ms":1788708156000,"timestamp_seconds":1788708156,"priority":1,"record_length":96,"hex_timestamp":"000001a077507260"} 
[2026-09-06 20:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:57: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-09-06 20: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:57: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-09-06 20: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-09-06 20:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:57: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-09-06 20:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909210880001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909210880001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:57:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:57:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909210880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":173030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:57:53] local.INFO: GPS data processed {"connection_id":173030,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:57:53] local.INFO: Acknowledgment sent {"connection_id":173030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:57:54] local.INFO: TCP Data received {"connection_id":175516,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:57:54] local.INFO: Processing buffer {"connection_id":175516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:57:54] local.INFO: IMEI packet received {"connection_id":175516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":175516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:57:58] local.INFO: TCP Data received {"connection_id":173030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:57:58] local.INFO: Processing buffer {"connection_id":173030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077507260012d34cc0006aa43600000005322..."} 
[2026-09-06 20:57:58] local.INFO: Packet analysis {"connection_id":173030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:57:58] local.INFO: Extracted packet for processing {"connection_id":173030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07750"} 
[2026-09-06 20:57:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909210880001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20:57: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-09-06 20:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788708156000,"timestamp_ms":1788708156000,"timestamp_seconds":1788708156,"priority":1,"record_length":96,"hex_timestamp":"000001a077507260"} 
[2026-09-06 20:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:57: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-09-06 20:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 20:57: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-09-06 20:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909210880001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909210880001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:57:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:57:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909210880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":173030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:57:58] local.INFO: GPS data processed {"connection_id":173030,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:57:58] local.INFO: Acknowledgment sent {"connection_id":173030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:57:59] local.INFO: TCP Data received {"connection_id":175516,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:57:59] local.INFO: Processing buffer {"connection_id":175516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:57:59] local.INFO: IMEI packet received {"connection_id":175516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":175516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:58:00] local.INFO: TCP Data received {"connection_id":175516,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a077529d100100000000000000000000000000..."} 
[2026-09-06 20:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077529d100100000000000000000000000000..."} 
[2026-09-06 20:58:00] local.INFO: Processing buffer {"connection_id":175516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077529d100100000000000000000000000000..."} 
[2026-09-06 20:58:00] local.INFO: Packet analysis {"connection_id":175516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07752"} 
[2026-09-06 20:58:00] local.INFO: Extracted packet for processing {"connection_id":175516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07752"} 
[2026-09-06 20:58: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-09-06 20:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909309440001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:58:00] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-11821901753303038,"note":"Value kept but may cause issues"} 
[2026-09-06 20:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788708298000,"timestamp_ms":1788708298000,"timestamp_seconds":1788708298,"priority":1,"record_length":96,"hex_timestamp":"000001a077529d10"} 
[2026-09-06 20:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-06 20:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":175516,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 20:58:00] local.INFO: GPS data processed {"connection_id":175516,"processed":0,"errors":0,"total":1} 
[2026-09-06 20:58:00] local.INFO: Acknowledgment sent {"connection_id":175516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:58:04] local.INFO: TCP Data received {"connection_id":175516,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0775223f8012bffbbc00b0189d00242013b2b..."} 
[2026-09-06 20:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775223f8012bffbbc00b0189d00242013b2b..."} 
[2026-09-06 20:58:04] local.INFO: Processing buffer {"connection_id":175516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775223f8012bffbbc00b0189d00242013b2b..."} 
[2026-09-06 20:58:04] local.INFO: Packet analysis {"connection_id":175516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07752"} 
[2026-09-06 20:58:04] local.INFO: Extracted packet for processing {"connection_id":175516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07752"} 
[2026-09-06 20:58:04] local.INFO: GPS Element Parsed {"raw_longitude":738180032,"raw_latitude":184650192,"longitude_deg":73.8180032,"latitude_deg":18.4650192,"altitude":578,"angle":315,"satellites":43,"speed":6,"hex_longitude":"2bffbbc0","hex_latitude":"0b0189d0","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:58:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,172,4,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 20:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788708267000,"timestamp_ms":1788708267000,"timestamp_seconds":1788708267,"priority":1,"record_length":96,"hex_timestamp":"000001a0775223f8"} 
[2026-09-06 20:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 20:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27550,"172":206,"4":11776,"24":6,"16":3530617736134656},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,4,24,16]} 
[2026-09-06 20:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 20:58:04] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-06 20:58:04] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:58:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27550,"unknown_172":206,"unknown_4":11776,"ignition":6,"odometer":null}} 
[2026-09-06 20:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":175516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775996,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:58:04] local.INFO: GPS data processed {"connection_id":175516,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:58:04] local.INFO: Acknowledgment sent {"connection_id":175516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:58:30] local.INFO: TCP Data received {"connection_id":173030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 20:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 20:58:30] local.INFO: Processing buffer {"connection_id":173030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 20:58:30] local.INFO: Packet analysis {"connection_id":173030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 20:58:30] local.INFO: Extracted packet for processing {"connection_id":173030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 20:58:30] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909287936001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20:58: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-09-06 20:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788708457000,"timestamp_ms":1788708457000,"timestamp_seconds":1788708457,"priority":1,"record_length":96,"hex_timestamp":"000001a077550a28"} 
[2026-09-06 20:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 20:58: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-09-06 20: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-09-06 20:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909287936001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909287936001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:58:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:58:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909287936001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":173030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:58:30] local.INFO: GPS data processed {"connection_id":173030,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:58:30] local.INFO: Acknowledgment sent {"connection_id":173030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:58:47] local.INFO: TCP Data received {"connection_id":175517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:58:47] local.INFO: Processing buffer {"connection_id":175517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:58:47] local.INFO: IMEI packet received {"connection_id":175517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":175517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:58:49] local.INFO: TCP Data received {"connection_id":172796,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:58:49] local.INFO: Processing buffer {"connection_id":172796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:58:49] local.INFO: IMEI packet received {"connection_id":172796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":172796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:58:52] local.INFO: TCP Data received {"connection_id":175517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:58:52] local.INFO: Processing buffer {"connection_id":175517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:58:52] local.INFO: IMEI packet received {"connection_id":175517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":175517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:58:53] local.INFO: TCP Data received {"connection_id":175517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 20:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 20:58:53] local.INFO: Processing buffer {"connection_id":175517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 20:58:53] local.INFO: Packet analysis {"connection_id":175517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 20:58:53] local.INFO: Extracted packet for processing {"connection_id":175517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 20:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909287936001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788708457000,"timestamp_ms":1788708457000,"timestamp_seconds":1788708457,"priority":1,"record_length":96,"hex_timestamp":"000001a077550a28"} 
[2026-09-06 20:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:58: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-09-06 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 20:58: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-09-06 20: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-09-06 20:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:58: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-09-06 20:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909287936001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909287936001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:58:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909287936001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":175517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:58:53] local.INFO: GPS data processed {"connection_id":175517,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:58:53] local.INFO: Acknowledgment sent {"connection_id":175517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:58:56] local.INFO: TCP Data received {"connection_id":172796,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:58:56] local.INFO: Processing buffer {"connection_id":172796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:58:56] local.INFO: IMEI packet received {"connection_id":172796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":172796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:58:57] local.INFO: TCP Data received {"connection_id":172796,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a077527600012bffbbc00b0189d00242013b2b..."} 
[2026-09-06 20:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077527600012bffbbc00b0189d00242013b2b..."} 
[2026-09-06 20:58:57] local.INFO: Processing buffer {"connection_id":172796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077527600012bffbbc00b0189d00242013b2b..."} 
[2026-09-06 20:58:57] local.INFO: Packet analysis {"connection_id":172796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07752"} 
[2026-09-06 20:58:57] local.INFO: Extracted packet for processing {"connection_id":172796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07752"} 
[2026-09-06 20:58:57] local.INFO: GPS Element Parsed {"raw_longitude":738180032,"raw_latitude":184650192,"longitude_deg":73.8180032,"latitude_deg":18.4650192,"altitude":578,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2bffbbc0","hex_latitude":"0b0189d0","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909316352001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:58:57] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-19210619890053118,"note":"Value kept but may cause issues"} 
[2026-09-06 20:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788708288000,"timestamp_ms":1788708288000,"timestamp_seconds":1788708288,"priority":1,"record_length":96,"hex_timestamp":"000001a077527600"} 
[2026-09-06 20:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20: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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-06 20:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 20: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-09-06 20:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909316352001,"66":27745,"173":206,"4":11776,"24":0,"16":3530617736134656,"43":-19210619890053118},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,4,24,16,43]} 
[2026-09-06 20:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909316352001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:58:57] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-06 20:58:57] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:58:57] local.INFO: Unknown IO ID detected {"io_id":43,"value":-19210619890053118,"description":"Unknown IO ID 43"} 
[2026-09-06 20:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909316352001,"power":27745,"unknown_173":206,"unknown_4":11776,"ignition":0,"odometer":null,"unknown_43":-19210619890053118}} 
[2026-09-06 20:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":172796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":775999,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:58:57] local.INFO: GPS data processed {"connection_id":172796,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:58:57] local.INFO: Acknowledgment sent {"connection_id":172796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:59:24] local.INFO: TCP Data received {"connection_id":175517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 20:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 20:59:24] local.INFO: Processing buffer {"connection_id":175517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 20:59:24] local.INFO: Packet analysis {"connection_id":175517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 20:59:24] local.INFO: Extracted packet for processing {"connection_id":175517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 20:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909287936001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20: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-09-06 20:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788708457000,"timestamp_ms":1788708457000,"timestamp_seconds":1788708457,"priority":1,"record_length":96,"hex_timestamp":"000001a077550a28"} 
[2026-09-06 20:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20: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-09-06 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 20:59: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-09-06 20: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-09-06 20:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:59: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-09-06 20:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909287936001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909287936001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:59:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909287936001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":175517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:59:24] local.INFO: GPS data processed {"connection_id":175517,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:59:24] local.INFO: Acknowledgment sent {"connection_id":175517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:59:34] local.INFO: TCP Data received {"connection_id":172796,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a077557f58012bff21400b023560023c013e2b..."} 
[2026-09-06 20:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077557f58012bff21400b023560023c013e2b..."} 
[2026-09-06 20:59:34] local.INFO: Processing buffer {"connection_id":172796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077557f58012bff21400b023560023c013e2b..."} 
[2026-09-06 20:59:34] local.INFO: Packet analysis {"connection_id":172796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 20:59:34] local.INFO: Extracted packet for processing {"connection_id":172796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 20:59:34] local.INFO: GPS Element Parsed {"raw_longitude":738140480,"raw_latitude":184694112,"longitude_deg":73.814048,"latitude_deg":18.4694112,"altitude":572,"angle":318,"satellites":43,"speed":0,"hex_longitude":"2bff2140","hex_latitude":"0b023560","is_valid_coordinates":true} 
[2026-09-06 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-09-06 20:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909367296001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:59:34] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-62698503780605950,"note":"Value kept but may cause issues"} 
[2026-09-06 20:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788708487000,"timestamp_ms":1788708487000,"timestamp_seconds":1788708487,"priority":1,"record_length":96,"hex_timestamp":"000001a077557f58"} 
[2026-09-06 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-09-06 20:59: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-09-06 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":106,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-09-06 20:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":827,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 20:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":172796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":172796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":172796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909367296001,"66":27767,"45":206,"4":11776,"24":0,"16":3530617736134656,"43":-62698503780605950},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,4,24,16,43]} 
[2026-09-06 20:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 20:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 20:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909367296001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-06 20:59:34] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 20:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:59:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":-62698503780605950,"description":"Unknown IO ID 43"} 
[2026-09-06 20:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909367296001,"power":27767,"unknown_45":206,"unknown_4":11776,"ignition":0,"odometer":null,"unknown_43":-62698503780605950}} 
[2026-09-06 20:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":172796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776001,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:59:34] local.INFO: GPS data processed {"connection_id":172796,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:59:34] local.INFO: Acknowledgment sent {"connection_id":172796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:59:49] local.INFO: TCP Data received {"connection_id":174186,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:59:49] local.INFO: Processing buffer {"connection_id":174186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:59:49] local.INFO: IMEI packet received {"connection_id":174186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 20:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":174186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:59:52] local.INFO: TCP Data received {"connection_id":174187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:59:52] local.INFO: Processing buffer {"connection_id":174187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:59:52] local.INFO: IMEI packet received {"connection_id":174187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 20:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":174187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 20:59:54] local.INFO: TCP Data received {"connection_id":174186,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:59:54] local.INFO: Processing buffer {"connection_id":174186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 20:59:54] local.INFO: IMEI packet received {"connection_id":174186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 20:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":174186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:59:57] local.INFO: TCP Data received {"connection_id":174187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:59:57] local.INFO: Processing buffer {"connection_id":174187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 20:59:57] local.INFO: IMEI packet received {"connection_id":174187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 20:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":174187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 20:59:58] local.INFO: TCP Data received {"connection_id":174187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 20:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 20:59:58] local.INFO: Processing buffer {"connection_id":174187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 20:59:58] local.INFO: Packet analysis {"connection_id":174187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 20:59:58] local.INFO: Extracted packet for processing {"connection_id":174187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 20:59:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 20: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-09-06 20:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909287936001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 20:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 20:59: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-09-06 20:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788708457000,"timestamp_ms":1788708457000,"timestamp_seconds":1788708457,"priority":1,"record_length":96,"hex_timestamp":"000001a077550a28"} 
[2026-09-06 20:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:59: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-09-06 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 20:59: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-09-06 20: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-09-06 20:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 20:59: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-09-06 20:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 20:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 20:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909287936001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 20:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 20:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 20:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909287936001,"description":"Unknown IO ID 0"} 
[2026-09-06 20:59:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 20:59:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 20:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 20:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 20:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909287936001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 20:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":174187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 20:59:58] local.INFO: GPS data processed {"connection_id":174187,"processed":1,"errors":0,"total":1} 
[2026-09-06 20:59:58] local.INFO: Acknowledgment sent {"connection_id":174187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 20:59:59] local.INFO: TCP Data received {"connection_id":174186,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0775661e80100000000000000000000000000..."} 
[2026-09-06 20:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775661e80100000000000000000000000000..."} 
[2026-09-06 20:59:59] local.INFO: Processing buffer {"connection_id":174186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775661e80100000000000000000000000000..."} 
[2026-09-06 20:59:59] local.INFO: Packet analysis {"connection_id":174186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07756"} 
[2026-09-06 20:59:59] local.INFO: Extracted packet for processing {"connection_id":174186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07756"} 
[2026-09-06 20:59: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-09-06 20:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 20:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909372672001,"note":"Value kept but may cause issues"} 
[2026-09-06 20:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 20:59:59] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-62698503780605950,"note":"Value kept but may cause issues"} 
[2026-09-06 20:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 20:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788708545000,"timestamp_ms":1788708545000,"timestamp_seconds":1788708545,"priority":1,"record_length":96,"hex_timestamp":"000001a0775661e8"} 
[2026-09-06 20:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 20:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 20:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 20:59:59] 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-09-06 20:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 20:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 20:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 20:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 20:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 20:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 20:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 20:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 20:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":174186,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 20:59:59] local.INFO: GPS data processed {"connection_id":174186,"processed":0,"errors":0,"total":1} 
[2026-09-06 20:59:59] local.INFO: Acknowledgment sent {"connection_id":174186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:00:03] local.INFO: TCP Data received {"connection_id":174187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:00:03] local.INFO: Processing buffer {"connection_id":174187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:00:03] local.INFO: Packet analysis {"connection_id":174187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 21:00:03] local.INFO: Extracted packet for processing {"connection_id":174187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 21:00:03] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909287936001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:00: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-09-06 21:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788708457000,"timestamp_ms":1788708457000,"timestamp_seconds":1788708457,"priority":1,"record_length":96,"hex_timestamp":"000001a077550a28"} 
[2026-09-06 21:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 21:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 21:00: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-09-06 21:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909287936001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909287936001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:00:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:00:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909287936001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":174187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:00:03] local.INFO: GPS data processed {"connection_id":174187,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:00:03] local.INFO: Acknowledgment sent {"connection_id":174187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:00:47] local.INFO: TCP Data received {"connection_id":173031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:00:47] local.INFO: Processing buffer {"connection_id":173031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:00:47] local.INFO: IMEI packet received {"connection_id":173031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":173031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:00:52] local.INFO: TCP Data received {"connection_id":173031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:00:52] local.INFO: Processing buffer {"connection_id":173031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:00:52] local.INFO: IMEI packet received {"connection_id":173031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":173031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:00:53] local.INFO: TCP Data received {"connection_id":173031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:00:53] local.INFO: Processing buffer {"connection_id":173031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:00:53] local.INFO: Packet analysis {"connection_id":173031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 21:00:53] local.INFO: Extracted packet for processing {"connection_id":173031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 21:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909287936001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788708457000,"timestamp_ms":1788708457000,"timestamp_seconds":1788708457,"priority":1,"record_length":96,"hex_timestamp":"000001a077550a28"} 
[2026-09-06 21:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:00: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-09-06 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 21:00: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-09-06 21: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-09-06 21:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:00: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-09-06 21:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909287936001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909287936001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:00:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909287936001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":173031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:00:53] local.INFO: GPS data processed {"connection_id":173031,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:00:53] local.INFO: Acknowledgment sent {"connection_id":173031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:01:25] local.INFO: TCP Data received {"connection_id":173031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:01:25] local.INFO: Processing buffer {"connection_id":173031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:01:25] local.INFO: Packet analysis {"connection_id":173031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 21:01:25] local.INFO: Extracted packet for processing {"connection_id":173031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 21:01:25] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909287936001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:01: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-09-06 21:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788708457000,"timestamp_ms":1788708457000,"timestamp_seconds":1788708457,"priority":1,"record_length":96,"hex_timestamp":"000001a077550a28"} 
[2026-09-06 21:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:01: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-09-06 21:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-06 21:01: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-09-06 21:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:01: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-09-06 21:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909287936001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909287936001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:01:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:01:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909287936001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":173031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:01:25] local.INFO: GPS data processed {"connection_id":173031,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:01:25] local.INFO: Acknowledgment sent {"connection_id":173031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:01:47] local.INFO: TCP Data received {"connection_id":172797,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:01:47] local.INFO: Processing buffer {"connection_id":172797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:01:47] local.INFO: IMEI packet received {"connection_id":172797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":172797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:01:52] local.INFO: TCP Data received {"connection_id":172797,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:01:52] local.INFO: Processing buffer {"connection_id":172797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:01:52] local.INFO: IMEI packet received {"connection_id":172797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":172797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:01:53] local.INFO: TCP Data received {"connection_id":172797,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:01:53] local.INFO: Processing buffer {"connection_id":172797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:01:53] local.INFO: Packet analysis {"connection_id":172797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 21:01:53] local.INFO: Extracted packet for processing {"connection_id":172797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 21:01:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909287936001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788708457000,"timestamp_ms":1788708457000,"timestamp_seconds":1788708457,"priority":1,"record_length":96,"hex_timestamp":"000001a077550a28"} 
[2026-09-06 21:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:01: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-09-06 21: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":238,"data_length":795,"current_offset":136} 
[2026-09-06 21:01: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-09-06 21: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-09-06 21:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909287936001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909287936001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:01:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:01:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909287936001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":172797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:01:53] local.INFO: GPS data processed {"connection_id":172797,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:01:53] local.INFO: Acknowledgment sent {"connection_id":172797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:02:04] local.INFO: TCP Data received {"connection_id":175518,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:02:04] local.INFO: Processing buffer {"connection_id":175518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:02:04] local.INFO: IMEI packet received {"connection_id":175518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":175518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:02:09] local.INFO: TCP Data received {"connection_id":175518,"ip":"117.224.169.107","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:02:09] local.INFO: Processing buffer {"connection_id":175518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:02:09] local.INFO: IMEI packet received {"connection_id":175518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":175518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:02:10] local.INFO: TCP Data received {"connection_id":175518,"ip":"117.224.169.107","data_length":795,"data_hex":"000000000000030f8e0a000001a0775642a8012bff04c00b0255200239013f28..."} 
[2026-09-06 21:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775642a8012bff04c00b0255200239013f28..."} 
[2026-09-06 21:02:10] local.INFO: Processing buffer {"connection_id":175518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775642a8012bff04c00b0255200239013f28..."} 
[2026-09-06 21:02:10] local.INFO: Packet analysis {"connection_id":175518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07756"} 
[2026-09-06 21:02:10] local.INFO: Extracted packet for processing {"connection_id":175518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07756"} 
[2026-09-06 21:02:10] local.INFO: GPS Element Parsed {"raw_longitude":738133184,"raw_latitude":184702240,"longitude_deg":73.8133184,"latitude_deg":18.470224,"altitude":569,"angle":319,"satellites":40,"speed":0,"hex_longitude":"2bff04c0","hex_latitude":"0b025520","is_valid_coordinates":true} 
[2026-09-06 21:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909380096001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:02:10] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-70720540614778878,"note":"Value kept but may cause issues"} 
[2026-09-06 21:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788708537000,"timestamp_ms":1788708537000,"timestamp_seconds":1788708537,"priority":1,"record_length":96,"hex_timestamp":"000001a0775642a8"} 
[2026-09-06 21:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-06 21:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.169.107","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909380096001,"66":27571,"45":206,"4":11776,"24":0,"16":3530617736134656,"43":-70720540614778878},"client_ip":"117.224.169.107","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,4,24,16,43]} 
[2026-09-06 21:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909380096001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-06 21:02:10] local.INFO: Unknown IO ID detected {"io_id":4,"value":11776,"description":"Unknown IO ID 4"} 
[2026-09-06 21:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:02:10] local.INFO: Unknown IO ID detected {"io_id":43,"value":-70720540614778878,"description":"Unknown IO ID 43"} 
[2026-09-06 21:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909380096001,"power":27571,"unknown_45":206,"unknown_4":11776,"ignition":0,"odometer":null,"unknown_43":-70720540614778878}} 
[2026-09-06 21:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":175518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776007,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:02:10] local.INFO: GPS data processed {"connection_id":175518,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:02:10] local.INFO: Acknowledgment sent {"connection_id":175518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:02:24] local.INFO: TCP Data received {"connection_id":172797,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:02:24] local.INFO: Processing buffer {"connection_id":172797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:02:24] local.INFO: Packet analysis {"connection_id":172797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 21:02:24] local.INFO: Extracted packet for processing {"connection_id":172797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 21:02:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909287936001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788708457000,"timestamp_ms":1788708457000,"timestamp_seconds":1788708457,"priority":1,"record_length":96,"hex_timestamp":"000001a077550a28"} 
[2026-09-06 21:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":238,"data_length":795,"current_offset":136} 
[2026-09-06 21:02: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-09-06 21: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-09-06 21:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:02: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-09-06 21:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909287936001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909287936001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:02:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:02:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909287936001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":172797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:02:24] local.INFO: GPS data processed {"connection_id":172797,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:02:24] local.INFO: Acknowledgment sent {"connection_id":172797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:02:47] local.INFO: TCP Data received {"connection_id":174188,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:02:47] local.INFO: Processing buffer {"connection_id":174188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:02:47] local.INFO: IMEI packet received {"connection_id":174188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":174188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:02:52] local.INFO: TCP Data received {"connection_id":174188,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:02:52] local.INFO: Processing buffer {"connection_id":174188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:02:52] local.INFO: IMEI packet received {"connection_id":174188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":174188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:02:54] local.INFO: TCP Data received {"connection_id":174188,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:02:54] local.INFO: Processing buffer {"connection_id":174188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077550a28012d34cc0006aa43600000005322..."} 
[2026-09-06 21:02:54] local.INFO: Packet analysis {"connection_id":174188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 21:02:54] local.INFO: Extracted packet for processing {"connection_id":174188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07755"} 
[2026-09-06 21:02:54] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909287936001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788708457000,"timestamp_ms":1788708457000,"timestamp_seconds":1788708457,"priority":1,"record_length":96,"hex_timestamp":"000001a077550a28"} 
[2026-09-06 21:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 21: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":238,"data_length":795,"current_offset":136} 
[2026-09-06 21:02: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-09-06 21: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-09-06 21:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:02: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-09-06 21:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909287936001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909287936001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:02:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:02:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909287936001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":174188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:02:54] local.INFO: GPS data processed {"connection_id":174188,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:02:54] local.INFO: Acknowledgment sent {"connection_id":174188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:03:25] local.INFO: TCP Data received {"connection_id":174188,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:03:25] local.INFO: Processing buffer {"connection_id":174188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:03:25] local.INFO: Packet analysis {"connection_id":174188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:03:25] local.INFO: Extracted packet for processing {"connection_id":174188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909364992001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788708758000,"timestamp_ms":1788708758000,"timestamp_seconds":1788708758,"priority":1,"record_length":96,"hex_timestamp":"000001a07759a1f0"} 
[2026-09-06 21:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:03: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-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:03: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-09-06 21:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909364992001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909364992001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909364992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":174188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:03:25] local.INFO: GPS data processed {"connection_id":174188,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:03:25] local.INFO: Acknowledgment sent {"connection_id":174188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:03:47] local.INFO: TCP Data received {"connection_id":175519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:03:47] local.INFO: Processing buffer {"connection_id":175519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:03:47] local.INFO: IMEI packet received {"connection_id":175519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":175519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:03:52] local.INFO: TCP Data received {"connection_id":175519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:03:52] local.INFO: Processing buffer {"connection_id":175519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:03:52] local.INFO: IMEI packet received {"connection_id":175519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":175519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:03:54] local.INFO: TCP Data received {"connection_id":175519,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:03:54] local.INFO: Processing buffer {"connection_id":175519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:03:54] local.INFO: Packet analysis {"connection_id":175519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:03:54] local.INFO: Extracted packet for processing {"connection_id":175519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:03:54] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909364992001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:03: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-09-06 21:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788708758000,"timestamp_ms":1788708758000,"timestamp_seconds":1788708758,"priority":1,"record_length":96,"hex_timestamp":"000001a07759a1f0"} 
[2026-09-06 21:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 21: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 21:03: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-09-06 21: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-09-06 21:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:03: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-09-06 21:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909364992001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909364992001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:03:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:03:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909364992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":175519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:03:54] local.INFO: GPS data processed {"connection_id":175519,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:03:54] local.INFO: Acknowledgment sent {"connection_id":175519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:04:19] local.INFO: TCP Data received {"connection_id":173032,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:04:19] local.INFO: Processing buffer {"connection_id":173032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:04:19] local.INFO: IMEI packet received {"connection_id":173032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":173032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:04:24] local.INFO: TCP Data received {"connection_id":173032,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:04:24] local.INFO: Processing buffer {"connection_id":173032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:04:24] local.INFO: IMEI packet received {"connection_id":173032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":173032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:04:25] local.INFO: TCP Data received {"connection_id":175519,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:04:25] local.INFO: Processing buffer {"connection_id":175519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:04:25] local.INFO: Packet analysis {"connection_id":175519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:04:25] local.INFO: Extracted packet for processing {"connection_id":175519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:04:25] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909364992001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788708758000,"timestamp_ms":1788708758000,"timestamp_seconds":1788708758,"priority":1,"record_length":96,"hex_timestamp":"000001a07759a1f0"} 
[2026-09-06 21:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:04: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-09-06 21: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 21:04: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-09-06 21: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-09-06 21:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:04: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-09-06 21:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909364992001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909364992001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:04:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:04:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909364992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":175519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:04:25] local.INFO: GPS data processed {"connection_id":175519,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:04:25] local.INFO: Acknowledgment sent {"connection_id":175519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:04:30] local.INFO: TCP Data received {"connection_id":173032,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a077596758012bfeb1800b02b0700233013a2a..."} 
[2026-09-06 21:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077596758012bfeb1800b02b0700233013a2a..."} 
[2026-09-06 21:04:30] local.INFO: Processing buffer {"connection_id":173032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077596758012bfeb1800b02b0700233013a2a..."} 
[2026-09-06 21:04:30] local.INFO: Packet analysis {"connection_id":173032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:04:30] local.INFO: Extracted packet for processing {"connection_id":173032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:04:30] local.INFO: GPS Element Parsed {"raw_longitude":738111872,"raw_latitude":184725616,"longitude_deg":73.8111872,"latitude_deg":18.4725616,"altitude":563,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2bfeb180","hex_latitude":"0b02b070","is_valid_coordinates":true} 
[2026-09-06 21:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909432832001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:04:30] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-94153332419956734,"note":"Value kept but may cause issues"} 
[2026-09-06 21:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788708743000,"timestamp_ms":1788708743000,"timestamp_seconds":1788708743,"priority":1,"record_length":96,"hex_timestamp":"000001a077596758"} 
[2026-09-06 21:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-06 21:04: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-09-06 21:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909432832001,"66":27745,"123":206,"4":8704,"24":0,"16":3530617736134656,"43":-94153332419956734},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,4,24,16,43]} 
[2026-09-06 21:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909432832001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:04:30] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-09-06 21:04:30] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:04:30] local.INFO: Unknown IO ID detected {"io_id":43,"value":-94153332419956734,"description":"Unknown IO ID 43"} 
[2026-09-06 21:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909432832001,"power":27745,"unknown_123":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-94153332419956734}} 
[2026-09-06 21:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":173032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776013,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:04:30] local.INFO: GPS data processed {"connection_id":173032,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:04:30] local.INFO: Acknowledgment sent {"connection_id":173032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:04:31] local.INFO: TCP Data received {"connection_id":173032,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07759b960012bfeb1800b02b0700233013a2a..."} 
[2026-09-06 21:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07759b960012bfeb1800b02b0700233013a2a..."} 
[2026-09-06 21:04:31] local.INFO: Processing buffer {"connection_id":173032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07759b960012bfeb1800b02b0700233013a2a..."} 
[2026-09-06 21:04:31] local.INFO: Packet analysis {"connection_id":173032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:04:31] local.INFO: Extracted packet for processing {"connection_id":173032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:04:31] local.INFO: GPS Element Parsed {"raw_longitude":738111872,"raw_latitude":184725616,"longitude_deg":73.8111872,"latitude_deg":18.4725616,"altitude":563,"angle":314,"satellites":42,"speed":0,"hex_longitude":"2bfeb180","hex_latitude":"0b02b070","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909438208001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:04:31] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-94153332419956734,"note":"Value kept but may cause issues"} 
[2026-09-06 21:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788708764000,"timestamp_ms":1788708764000,"timestamp_seconds":1788708764,"priority":1,"record_length":96,"hex_timestamp":"000001a07759b960"} 
[2026-09-06 21:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 21:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21: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-09-06 21:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909438208001,"66":27745,"123":206,"4":8704,"24":0,"16":3530617736134656,"43":-94153332419956734},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,4,24,16,43]} 
[2026-09-06 21:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909438208001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:04:32] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-09-06 21:04:32] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:04:32] local.INFO: Unknown IO ID detected {"io_id":43,"value":-94153332419956734,"description":"Unknown IO ID 43"} 
[2026-09-06 21:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909438208001,"power":27745,"unknown_123":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-94153332419956734}} 
[2026-09-06 21:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":173032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776014,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:04:32] local.INFO: GPS data processed {"connection_id":173032,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:04:32] local.INFO: Acknowledgment sent {"connection_id":173032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:04:46] local.INFO: TCP Data received {"connection_id":172798,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:04:47] local.INFO: Processing buffer {"connection_id":172798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:04:47] local.INFO: IMEI packet received {"connection_id":172798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":172798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:04:52] local.INFO: TCP Data received {"connection_id":172798,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:04:52] local.INFO: Processing buffer {"connection_id":172798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:04:52] local.INFO: IMEI packet received {"connection_id":172798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":172798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:04:53] local.INFO: TCP Data received {"connection_id":172798,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:04:53] local.INFO: Processing buffer {"connection_id":172798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:04:53] local.INFO: Packet analysis {"connection_id":172798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:04:53] local.INFO: Extracted packet for processing {"connection_id":172798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909364992001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788708758000,"timestamp_ms":1788708758000,"timestamp_seconds":1788708758,"priority":1,"record_length":96,"hex_timestamp":"000001a07759a1f0"} 
[2026-09-06 21:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:04: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-09-06 21: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 21:04: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-09-06 21: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-09-06 21:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:04: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-09-06 21:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909364992001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909364992001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:04:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909364992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":172798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:04:53] local.INFO: GPS data processed {"connection_id":172798,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:04:53] local.INFO: Acknowledgment sent {"connection_id":172798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:04:53] local.INFO: TCP Data received {"connection_id":174189,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:04:53] local.INFO: Processing buffer {"connection_id":174189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:04:53] local.INFO: IMEI packet received {"connection_id":174189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":174189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:04:54] local.INFO: TCP Data received {"connection_id":174189,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:04:54] local.INFO: Processing buffer {"connection_id":174189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:04:54] local.INFO: IMEI packet received {"connection_id":174189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":174189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:04:59] local.INFO: TCP Data received {"connection_id":174189,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:04:59] local.INFO: Processing buffer {"connection_id":174189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:04:59] local.INFO: IMEI packet received {"connection_id":174189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":174189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:05:05] local.INFO: TCP Data received {"connection_id":174189,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0775a9bf00100000000000000000000000000..."} 
[2026-09-06 21:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775a9bf00100000000000000000000000000..."} 
[2026-09-06 21:05:05] local.INFO: Processing buffer {"connection_id":174189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775a9bf00100000000000000000000000000..."} 
[2026-09-06 21:05:05] local.INFO: Packet analysis {"connection_id":174189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775a"} 
[2026-09-06 21:05:05] local.INFO: Extracted packet for processing {"connection_id":174189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775a"} 
[2026-09-06 21:05: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-09-06 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-09-06 21:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909443584001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:05:05] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-94153332419956734,"note":"Value kept but may cause issues"} 
[2026-09-06 21:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788708822000,"timestamp_ms":1788708822000,"timestamp_seconds":1788708822,"priority":1,"record_length":96,"hex_timestamp":"000001a0775a9bf0"} 
[2026-09-06 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-09-06 21:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 21:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 21:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":174189,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 21:05:05] local.INFO: GPS data processed {"connection_id":174189,"processed":0,"errors":0,"total":1} 
[2026-09-06 21:05:05] local.INFO: Acknowledgment sent {"connection_id":174189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:05:07] local.INFO: TCP Data received {"connection_id":174189,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0775a26c0012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775a26c0012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:05:07] local.INFO: Processing buffer {"connection_id":174189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775a26c0012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:05:07] local.INFO: Packet analysis {"connection_id":174189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775a"} 
[2026-09-06 21:05:07] local.INFO: Extracted packet for processing {"connection_id":174189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775a"} 
[2026-09-06 21:05:07] local.INFO: GPS Element Parsed {"raw_longitude":738105920,"raw_latitude":184732112,"longitude_deg":73.810592,"latitude_deg":18.4732112,"altitude":555,"angle":316,"satellites":41,"speed":0,"hex_longitude":"2bfe9a40","hex_latitude":"0b02c9d0","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:05:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,4,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 21:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788708792000,"timestamp_ms":1788708792000,"timestamp_seconds":1788708792,"priority":1,"record_length":96,"hex_timestamp":"000001a0775a26c0"} 
[2026-09-06 21:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 21:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21: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-09-06 21:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27604,"100":206,"4":8704,"24":0,"16":3530617736134656},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,4,24,16]} 
[2026-09-06 21:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 21:05:07] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-06 21:05:07] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:05:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27604,"unknown_100":206,"unknown_4":8704,"ignition":0,"odometer":null}} 
[2026-09-06 21:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":174189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776016,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:05:07] local.INFO: GPS data processed {"connection_id":174189,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:05:07] local.INFO: Acknowledgment sent {"connection_id":174189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:05:24] local.INFO: TCP Data received {"connection_id":172798,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:05:24] local.INFO: Processing buffer {"connection_id":172798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:05:24] local.INFO: Packet analysis {"connection_id":172798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:05:24] local.INFO: Extracted packet for processing {"connection_id":172798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:05:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909364992001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788708758000,"timestamp_ms":1788708758000,"timestamp_seconds":1788708758,"priority":1,"record_length":96,"hex_timestamp":"000001a07759a1f0"} 
[2026-09-06 21:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:05: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-09-06 21: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 21:05: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-09-06 21: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-09-06 21:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:05: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-09-06 21:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909364992001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909364992001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:05:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:05:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909364992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":172798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:05:24] local.INFO: GPS data processed {"connection_id":172798,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:05:24] local.INFO: Acknowledgment sent {"connection_id":172798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:05:52] local.INFO: TCP Data received {"connection_id":173033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:05:52] local.INFO: Processing buffer {"connection_id":173033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:05:52] local.INFO: IMEI packet received {"connection_id":173033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":173033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:05:57] local.INFO: TCP Data received {"connection_id":173033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:05:57] local.INFO: Processing buffer {"connection_id":173033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:05:57] local.INFO: IMEI packet received {"connection_id":173033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":173033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:05:58] local.INFO: TCP Data received {"connection_id":173033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:05:58] local.INFO: Processing buffer {"connection_id":173033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:05:58] local.INFO: Packet analysis {"connection_id":173033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:05:58] local.INFO: Extracted packet for processing {"connection_id":173033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:05:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909364992001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788708758000,"timestamp_ms":1788708758000,"timestamp_seconds":1788708758,"priority":1,"record_length":96,"hex_timestamp":"000001a07759a1f0"} 
[2026-09-06 21:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-06 21: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-09-06 21:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:05: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-09-06 21:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909364992001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909364992001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:05:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:05:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909364992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":173033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:05:58] local.INFO: GPS data processed {"connection_id":173033,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:05:58] local.INFO: Acknowledgment sent {"connection_id":173033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:06:02] local.INFO: TCP Data received {"connection_id":173033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:06:02] local.INFO: Processing buffer {"connection_id":173033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:06:02] local.INFO: Packet analysis {"connection_id":173033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:06:02] local.INFO: Extracted packet for processing {"connection_id":173033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909364992001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788708758000,"timestamp_ms":1788708758000,"timestamp_seconds":1788708758,"priority":1,"record_length":96,"hex_timestamp":"000001a07759a1f0"} 
[2026-09-06 21:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:06: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-09-06 21:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909364992001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909364992001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:06:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:06:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909364992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":173033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:06:02] local.INFO: GPS data processed {"connection_id":173033,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:06:02] local.INFO: Acknowledgment sent {"connection_id":173033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:06:18] local.INFO: TCP Data received {"connection_id":172799,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172799,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:06:18] local.INFO: Processing buffer {"connection_id":172799,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:06:18] local.INFO: IMEI packet received {"connection_id":172799,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":172799,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:06:24] local.INFO: TCP Data received {"connection_id":172799,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172799,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:06:24] local.INFO: Processing buffer {"connection_id":172799,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:06:24] local.INFO: IMEI packet received {"connection_id":172799,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":172799,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:06:25] local.INFO: TCP Data received {"connection_id":172799,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0775a78c8012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775a78c8012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:06:25] local.INFO: Processing buffer {"connection_id":172799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775a78c8012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:06:25] local.INFO: Packet analysis {"connection_id":172799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775a"} 
[2026-09-06 21:06:25] local.INFO: Extracted packet for processing {"connection_id":172799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775a"} 
[2026-09-06 21:06:25] local.INFO: GPS Element Parsed {"raw_longitude":738105920,"raw_latitude":184732112,"longitude_deg":73.810592,"latitude_deg":18.4732112,"altitude":555,"angle":316,"satellites":41,"speed":0,"hex_longitude":"2bfe9a40","hex_latitude":"0b02c9d0","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909450752001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:06:25] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-100697625626816510,"note":"Value kept but may cause issues"} 
[2026-09-06 21:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788708813000,"timestamp_ms":1788708813000,"timestamp_seconds":1788708813,"priority":1,"record_length":96,"hex_timestamp":"000001a0775a78c8"} 
[2026-09-06 21:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 21:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21: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-09-06 21:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909450752001,"66":27463,"100":206,"4":8704,"24":0,"16":3530617736134656,"43":-100697625626816510},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,4,24,16,43]} 
[2026-09-06 21:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909450752001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:06:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-06 21:06:25] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:06:25] local.INFO: Unknown IO ID detected {"io_id":43,"value":-100697625626816510,"description":"Unknown IO ID 43"} 
[2026-09-06 21:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909450752001,"power":27463,"unknown_100":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-100697625626816510}} 
[2026-09-06 21:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":172799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776020,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:06:25] local.INFO: GPS data processed {"connection_id":172799,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:06:25] local.INFO: Acknowledgment sent {"connection_id":172799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:06:47] local.INFO: TCP Data received {"connection_id":175520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:06:47] local.INFO: Processing buffer {"connection_id":175520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:06:47] local.INFO: IMEI packet received {"connection_id":175520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":175520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:06:52] local.INFO: TCP Data received {"connection_id":175520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:06:52] local.INFO: Processing buffer {"connection_id":175520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:06:52] local.INFO: IMEI packet received {"connection_id":175520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":175520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:06:53] local.INFO: TCP Data received {"connection_id":175520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:06:53] local.INFO: Processing buffer {"connection_id":175520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:06:53] local.INFO: Packet analysis {"connection_id":175520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:06:53] local.INFO: Extracted packet for processing {"connection_id":175520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909364992001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788708758000,"timestamp_ms":1788708758000,"timestamp_seconds":1788708758,"priority":1,"record_length":96,"hex_timestamp":"000001a07759a1f0"} 
[2026-09-06 21:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:06: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-09-06 21: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 21:06: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-09-06 21: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-09-06 21:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:06: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-09-06 21:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909364992001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909364992001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:06:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:06:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909364992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":175520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:06:53] local.INFO: GPS data processed {"connection_id":175520,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:06:53] local.INFO: Acknowledgment sent {"connection_id":175520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:06:55] local.INFO: TCP Data received {"connection_id":175521,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:06:55] local.INFO: Processing buffer {"connection_id":175521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:06:55] local.INFO: IMEI packet received {"connection_id":175521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":175521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:06:59] local.INFO: TCP Data received {"connection_id":175521,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:06:59] local.INFO: Processing buffer {"connection_id":175521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:06:59] local.INFO: IMEI packet received {"connection_id":175521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":175521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:07:00] local.INFO: TCP Data received {"connection_id":175521,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0775acad0012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775acad0012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:07:00] local.INFO: Processing buffer {"connection_id":175521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775acad0012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:07:00] local.INFO: Packet analysis {"connection_id":175521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775a"} 
[2026-09-06 21:07:00] local.INFO: Extracted packet for processing {"connection_id":175521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775a"} 
[2026-09-06 21:07:00] local.INFO: GPS Element Parsed {"raw_longitude":738105920,"raw_latitude":184732112,"longitude_deg":73.810592,"latitude_deg":18.4732112,"altitude":555,"angle":316,"satellites":41,"speed":0,"hex_longitude":"2bfe9a40","hex_latitude":"0b02c9d0","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909456128001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:07:00] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-100697625626816510,"note":"Value kept but may cause issues"} 
[2026-09-06 21:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788708834000,"timestamp_ms":1788708834000,"timestamp_seconds":1788708834,"priority":1,"record_length":96,"hex_timestamp":"000001a0775acad0"} 
[2026-09-06 21:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-06 21:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21: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-09-06 21:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909456128001,"66":27691,"100":206,"4":8704,"24":0,"16":3530617736134656,"43":-100697625626816510},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,4,24,16,43]} 
[2026-09-06 21:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909456128001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:07:00] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-06 21:07:00] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:07:00] local.INFO: Unknown IO ID detected {"io_id":43,"value":-100697625626816510,"description":"Unknown IO ID 43"} 
[2026-09-06 21:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909456128001,"power":27691,"unknown_100":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-100697625626816510}} 
[2026-09-06 21:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":175521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776022,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:07:00] local.INFO: GPS data processed {"connection_id":175521,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:07:00] local.INFO: Acknowledgment sent {"connection_id":175521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:07:01] local.INFO: TCP Data received {"connection_id":175521,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0775b1cd8012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775b1cd8012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:07:01] local.INFO: Processing buffer {"connection_id":175521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775b1cd8012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:07:01] local.INFO: Packet analysis {"connection_id":175521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775b"} 
[2026-09-06 21:07:01] local.INFO: Extracted packet for processing {"connection_id":175521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775b"} 
[2026-09-06 21:07:01] local.INFO: GPS Element Parsed {"raw_longitude":738105920,"raw_latitude":184732112,"longitude_deg":73.810592,"latitude_deg":18.4732112,"altitude":555,"angle":316,"satellites":41,"speed":0,"hex_longitude":"2bfe9a40","hex_latitude":"0b02c9d0","is_valid_coordinates":true} 
[2026-09-06 21:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909461504001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:07:01] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-100697625626816510,"note":"Value kept but may cause issues"} 
[2026-09-06 21:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788708855000,"timestamp_ms":1788708855000,"timestamp_seconds":1788708855,"priority":1,"record_length":96,"hex_timestamp":"000001a0775b1cd8"} 
[2026-09-06 21:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 21:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909461504001,"66":27691,"100":206,"4":8704,"24":0,"16":3530617736134656,"43":-100697625626816510},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,4,24,16,43]} 
[2026-09-06 21:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909461504001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:07:01] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-06 21:07:01] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:07:01] local.INFO: Unknown IO ID detected {"io_id":43,"value":-100697625626816510,"description":"Unknown IO ID 43"} 
[2026-09-06 21:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909461504001,"power":27691,"unknown_100":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-100697625626816510}} 
[2026-09-06 21:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":175521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776023,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:07:01] local.INFO: GPS data processed {"connection_id":175521,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:07:01] local.INFO: Acknowledgment sent {"connection_id":175521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:07:24] local.INFO: TCP Data received {"connection_id":175520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:07:24] local.INFO: Processing buffer {"connection_id":175520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:07:24] local.INFO: Packet analysis {"connection_id":175520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:07:24] local.INFO: Extracted packet for processing {"connection_id":175520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:07:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909364992001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788708758000,"timestamp_ms":1788708758000,"timestamp_seconds":1788708758,"priority":1,"record_length":96,"hex_timestamp":"000001a07759a1f0"} 
[2026-09-06 21:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:07: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-09-06 21: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":25,"data_length":795,"current_offset":136} 
[2026-09-06 21:07: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-09-06 21: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-09-06 21:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:07: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-09-06 21:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909364992001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909364992001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:07:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:07:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909364992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":175520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:07:24] local.INFO: GPS data processed {"connection_id":175520,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:07:24] local.INFO: Acknowledgment sent {"connection_id":175520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:07:34] local.INFO: TCP Data received {"connection_id":175521,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0775b6ee0012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775b6ee0012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:07:34] local.INFO: Processing buffer {"connection_id":175521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775b6ee0012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:07:34] local.INFO: Packet analysis {"connection_id":175521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775b"} 
[2026-09-06 21:07:34] local.INFO: Extracted packet for processing {"connection_id":175521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775b"} 
[2026-09-06 21:07:34] local.INFO: GPS Element Parsed {"raw_longitude":738105920,"raw_latitude":184732112,"longitude_deg":73.810592,"latitude_deg":18.4732112,"altitude":555,"angle":316,"satellites":41,"speed":0,"hex_longitude":"2bfe9a40","hex_latitude":"0b02c9d0","is_valid_coordinates":true} 
[2026-09-06 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-09-06 21:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909466880001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:07:34] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-100697625626816510,"note":"Value kept but may cause issues"} 
[2026-09-06 21:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788708876000,"timestamp_ms":1788708876000,"timestamp_seconds":1788708876,"priority":1,"record_length":96,"hex_timestamp":"000001a0775b6ee0"} 
[2026-09-06 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-09-06 21:07: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-09-06 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-06 21:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 21:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909466880001,"66":27484,"100":206,"4":8704,"24":0,"16":3530617736134656,"43":-100697625626816510},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,4,24,16,43]} 
[2026-09-06 21:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909466880001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:07:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-06 21:07:34] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:07:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":-100697625626816510,"description":"Unknown IO ID 43"} 
[2026-09-06 21:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909466880001,"power":27484,"unknown_100":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-100697625626816510}} 
[2026-09-06 21:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":175521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776025,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:07:34] local.INFO: GPS data processed {"connection_id":175521,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:07:34] local.INFO: Acknowledgment sent {"connection_id":175521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:07:47] local.INFO: TCP Data received {"connection_id":172800,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:07:47] local.INFO: Processing buffer {"connection_id":172800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:07:47] local.INFO: IMEI packet received {"connection_id":172800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":172800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:07:49] local.INFO: TCP Data received {"connection_id":172801,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:07:49] local.INFO: Processing buffer {"connection_id":172801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:07:49] local.INFO: IMEI packet received {"connection_id":172801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":172801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:07:52] local.INFO: TCP Data received {"connection_id":172800,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:07:52] local.INFO: Processing buffer {"connection_id":172800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:07:52] local.INFO: IMEI packet received {"connection_id":172800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":172800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:07:53] local.INFO: TCP Data received {"connection_id":172800,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:07:53] local.INFO: Processing buffer {"connection_id":172800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07759a1f0012d34cc0006aa43600000005324..."} 
[2026-09-06 21:07:53] local.INFO: Packet analysis {"connection_id":172800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:07:53] local.INFO: Extracted packet for processing {"connection_id":172800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07759"} 
[2026-09-06 21:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909364992001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788708758000,"timestamp_ms":1788708758000,"timestamp_seconds":1788708758,"priority":1,"record_length":96,"hex_timestamp":"000001a07759a1f0"} 
[2026-09-06 21:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:07: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-09-06 21:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909364992001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909364992001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:07:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909364992001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":172800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:07:53] local.INFO: GPS data processed {"connection_id":172800,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:07:53] local.INFO: Acknowledgment sent {"connection_id":172800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:07:54] local.INFO: TCP Data received {"connection_id":172801,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:07:54] local.INFO: Processing buffer {"connection_id":172801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:07:54] local.INFO: IMEI packet received {"connection_id":172801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":172801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:07:55] local.INFO: TCP Data received {"connection_id":172801,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0775bc0e8012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775bc0e8012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:07:55] local.INFO: Processing buffer {"connection_id":172801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775bc0e8012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:07:55] local.INFO: Packet analysis {"connection_id":172801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775b"} 
[2026-09-06 21:07:55] local.INFO: Extracted packet for processing {"connection_id":172801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775b"} 
[2026-09-06 21:07:55] local.INFO: GPS Element Parsed {"raw_longitude":738105920,"raw_latitude":184732112,"longitude_deg":73.810592,"latitude_deg":18.4732112,"altitude":555,"angle":316,"satellites":41,"speed":0,"hex_longitude":"2bfe9a40","hex_latitude":"0b02c9d0","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909472256001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:07:55] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-100697625626816510,"note":"Value kept but may cause issues"} 
[2026-09-06 21:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788708897000,"timestamp_ms":1788708897000,"timestamp_seconds":1788708897,"priority":1,"record_length":96,"hex_timestamp":"000001a0775bc0e8"} 
[2026-09-06 21:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 21:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21: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-09-06 21:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909472256001,"66":27615,"100":206,"4":8704,"24":0,"16":3530617736134656,"43":-100697625626816510},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,4,24,16,43]} 
[2026-09-06 21:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909472256001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:07:55] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-06 21:07:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:07:55] local.INFO: Unknown IO ID detected {"io_id":43,"value":-100697625626816510,"description":"Unknown IO ID 43"} 
[2026-09-06 21:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909472256001,"power":27615,"unknown_100":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-100697625626816510}} 
[2026-09-06 21:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":172801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776027,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:07:55] local.INFO: GPS data processed {"connection_id":172801,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:07:55] local.INFO: Acknowledgment sent {"connection_id":172801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:08:24] local.INFO: TCP Data received {"connection_id":172800,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:08:24] local.INFO: Processing buffer {"connection_id":172800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:08:24] local.INFO: Packet analysis {"connection_id":172800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:08:24] local.INFO: Extracted packet for processing {"connection_id":172800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:08:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909442048001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788709059000,"timestamp_ms":1788709059000,"timestamp_seconds":1788709059,"priority":1,"record_length":96,"hex_timestamp":"000001a0775e39b8"} 
[2026-09-06 21:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 21:08: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-09-06 21: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-09-06 21:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909442048001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909442048001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:08:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909442048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":172800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:08:24] local.INFO: GPS data processed {"connection_id":172800,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:08:24] local.INFO: Acknowledgment sent {"connection_id":172800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:08:31] local.INFO: TCP Data received {"connection_id":172801,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0775c12f0012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775c12f0012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:08:31] local.INFO: Processing buffer {"connection_id":172801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775c12f0012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:08:31] local.INFO: Packet analysis {"connection_id":172801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775c"} 
[2026-09-06 21:08:31] local.INFO: Extracted packet for processing {"connection_id":172801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775c"} 
[2026-09-06 21:08:31] local.INFO: GPS Element Parsed {"raw_longitude":738105920,"raw_latitude":184732112,"longitude_deg":73.810592,"latitude_deg":18.4732112,"altitude":555,"angle":316,"satellites":41,"speed":0,"hex_longitude":"2bfe9a40","hex_latitude":"0b02c9d0","is_valid_coordinates":true} 
[2026-09-06 21:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909477632001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:08:31] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-100697625626816510,"note":"Value kept but may cause issues"} 
[2026-09-06 21:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788708918000,"timestamp_ms":1788708918000,"timestamp_seconds":1788708918,"priority":1,"record_length":96,"hex_timestamp":"000001a0775c12f0"} 
[2026-09-06 21:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-06 21:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":172801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":172801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":172801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909477632001,"66":27713,"100":206,"4":8704,"24":0,"16":3530617736134656,"43":-100697625626816510},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,4,24,16,43]} 
[2026-09-06 21:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909477632001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:08:31] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-06 21:08:31] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:08:31] local.INFO: Unknown IO ID detected {"io_id":43,"value":-100697625626816510,"description":"Unknown IO ID 43"} 
[2026-09-06 21:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909477632001,"power":27713,"unknown_100":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-100697625626816510}} 
[2026-09-06 21:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":172801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776029,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:08:31] local.INFO: GPS data processed {"connection_id":172801,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:08:31] local.INFO: Acknowledgment sent {"connection_id":172801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:08:46] local.INFO: TCP Data received {"connection_id":174190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:08:47] local.INFO: Processing buffer {"connection_id":174190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:08:47] local.INFO: IMEI packet received {"connection_id":174190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":174190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:08:52] local.INFO: TCP Data received {"connection_id":174190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:08:52] local.INFO: Processing buffer {"connection_id":174190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:08:52] local.INFO: IMEI packet received {"connection_id":174190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":174190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:08:52] local.INFO: TCP Data received {"connection_id":173034,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:08:52] local.INFO: Processing buffer {"connection_id":173034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:08:52] local.INFO: IMEI packet received {"connection_id":173034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":173034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:08:53] local.INFO: TCP Data received {"connection_id":174190,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:08:53] local.INFO: Processing buffer {"connection_id":174190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:08:53] local.INFO: Packet analysis {"connection_id":174190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:08:53] local.INFO: Extracted packet for processing {"connection_id":174190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909442048001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788709059000,"timestamp_ms":1788709059000,"timestamp_seconds":1788709059,"priority":1,"record_length":96,"hex_timestamp":"000001a0775e39b8"} 
[2026-09-06 21:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 21: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 21:08: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-09-06 21: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-09-06 21:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909442048001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909442048001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:08:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909442048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":174190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:08:53] local.INFO: GPS data processed {"connection_id":174190,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:08:53] local.INFO: Acknowledgment sent {"connection_id":174190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:08:54] local.INFO: TCP Data received {"connection_id":173034,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:08:54] local.INFO: Processing buffer {"connection_id":173034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:08:54] local.INFO: IMEI packet received {"connection_id":173034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":173034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:08:59] local.INFO: TCP Data received {"connection_id":173034,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:08:59] local.INFO: Processing buffer {"connection_id":173034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:08:59] local.INFO: IMEI packet received {"connection_id":173034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":173034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:09:00] local.INFO: TCP Data received {"connection_id":173034,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0775c64f8012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775c64f8012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:09:00] local.INFO: Processing buffer {"connection_id":173034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775c64f8012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:09:00] local.INFO: Packet analysis {"connection_id":173034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775c"} 
[2026-09-06 21:09:00] local.INFO: Extracted packet for processing {"connection_id":173034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775c"} 
[2026-09-06 21:09:00] local.INFO: GPS Element Parsed {"raw_longitude":738105920,"raw_latitude":184732112,"longitude_deg":73.810592,"latitude_deg":18.4732112,"altitude":555,"angle":316,"satellites":41,"speed":0,"hex_longitude":"2bfe9a40","hex_latitude":"0b02c9d0","is_valid_coordinates":true} 
[2026-09-06 21:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909483008001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:09:00] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-100697625626816510,"note":"Value kept but may cause issues"} 
[2026-09-06 21:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788708939000,"timestamp_ms":1788708939000,"timestamp_seconds":1788708939,"priority":1,"record_length":96,"hex_timestamp":"000001a0775c64f8"} 
[2026-09-06 21:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-06 21:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909483008001,"66":27604,"125":206,"4":8704,"24":0,"16":3530617736134656,"43":-100697625626816510},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,4,24,16,43]} 
[2026-09-06 21:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909483008001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:09:00] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-09-06 21:09:00] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:09:00] local.INFO: Unknown IO ID detected {"io_id":43,"value":-100697625626816510,"description":"Unknown IO ID 43"} 
[2026-09-06 21:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909483008001,"power":27604,"unknown_125":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-100697625626816510}} 
[2026-09-06 21:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":173034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776031,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:09:00] local.INFO: GPS data processed {"connection_id":173034,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:09:00] local.INFO: Acknowledgment sent {"connection_id":173034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:09:24] local.INFO: TCP Data received {"connection_id":174190,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:09:24] local.INFO: Processing buffer {"connection_id":174190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:09:24] local.INFO: Packet analysis {"connection_id":174190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:09:24] local.INFO: Extracted packet for processing {"connection_id":174190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:09:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909442048001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788709059000,"timestamp_ms":1788709059000,"timestamp_seconds":1788709059,"priority":1,"record_length":96,"hex_timestamp":"000001a0775e39b8"} 
[2026-09-06 21:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 21:09: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-09-06 21: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-09-06 21:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:09: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-09-06 21:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909442048001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909442048001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:09:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:09:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909442048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":174190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:09:24] local.INFO: GPS data processed {"connection_id":174190,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:09:24] local.INFO: Acknowledgment sent {"connection_id":174190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:09:32] local.INFO: TCP Data received {"connection_id":173034,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0775cb700012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775cb700012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:09:32] local.INFO: Processing buffer {"connection_id":173034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775cb700012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:09:32] local.INFO: Packet analysis {"connection_id":173034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775c"} 
[2026-09-06 21:09:32] local.INFO: Extracted packet for processing {"connection_id":173034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775c"} 
[2026-09-06 21:09:32] local.INFO: GPS Element Parsed {"raw_longitude":738105920,"raw_latitude":184732112,"longitude_deg":73.810592,"latitude_deg":18.4732112,"altitude":555,"angle":316,"satellites":41,"speed":0,"hex_longitude":"2bfe9a40","hex_latitude":"0b02c9d0","is_valid_coordinates":true} 
[2026-09-06 21:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909488384001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:09:32] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-100697625626816510,"note":"Value kept but may cause issues"} 
[2026-09-06 21:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788708960000,"timestamp_ms":1788708960000,"timestamp_seconds":1788708960,"priority":1,"record_length":96,"hex_timestamp":"000001a0775cb700"} 
[2026-09-06 21:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 21:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909488384001,"66":27604,"100":206,"4":8704,"24":0,"16":3530617736134656,"43":-100697625626816510},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,4,24,16,43]} 
[2026-09-06 21:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909488384001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:09:32] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-06 21:09:32] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:09:32] local.INFO: Unknown IO ID detected {"io_id":43,"value":-100697625626816510,"description":"Unknown IO ID 43"} 
[2026-09-06 21:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909488384001,"power":27604,"unknown_100":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-100697625626816510}} 
[2026-09-06 21:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":173034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776033,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:09:32] local.INFO: GPS data processed {"connection_id":173034,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:09:32] local.INFO: Acknowledgment sent {"connection_id":173034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:09:47] local.INFO: TCP Data received {"connection_id":173035,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:09:47] local.INFO: Processing buffer {"connection_id":173035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:09:47] local.INFO: IMEI packet received {"connection_id":173035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":173035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:09:49] local.INFO: TCP Data received {"connection_id":174191,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:09:49] local.INFO: Processing buffer {"connection_id":174191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:09:49] local.INFO: IMEI packet received {"connection_id":174191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":174191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:09:52] local.INFO: TCP Data received {"connection_id":173035,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:09:52] local.INFO: Processing buffer {"connection_id":173035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:09:52] local.INFO: IMEI packet received {"connection_id":173035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":173035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:09:53] local.INFO: TCP Data received {"connection_id":173035,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:09:53] local.INFO: Processing buffer {"connection_id":173035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:09:53] local.INFO: Packet analysis {"connection_id":173035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:09:53] local.INFO: Extracted packet for processing {"connection_id":173035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909442048001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788709059000,"timestamp_ms":1788709059000,"timestamp_seconds":1788709059,"priority":1,"record_length":96,"hex_timestamp":"000001a0775e39b8"} 
[2026-09-06 21:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 21:09: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-09-06 21:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:09: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-09-06 21:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909442048001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909442048001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:09:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909442048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":173035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:09:53] local.INFO: GPS data processed {"connection_id":173035,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:09:53] local.INFO: Acknowledgment sent {"connection_id":173035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:09:54] local.INFO: TCP Data received {"connection_id":174191,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:09:54] local.INFO: Processing buffer {"connection_id":174191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:09:54] local.INFO: IMEI packet received {"connection_id":174191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":174191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:09:55] local.INFO: TCP Data received {"connection_id":174191,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0775d0908012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775d0908012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:09:55] local.INFO: Processing buffer {"connection_id":174191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775d0908012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:09:55] local.INFO: Packet analysis {"connection_id":174191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775d"} 
[2026-09-06 21:09:55] local.INFO: Extracted packet for processing {"connection_id":174191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775d"} 
[2026-09-06 21:09:55] local.INFO: GPS Element Parsed {"raw_longitude":738105920,"raw_latitude":184732112,"longitude_deg":73.810592,"latitude_deg":18.4732112,"altitude":555,"angle":316,"satellites":41,"speed":0,"hex_longitude":"2bfe9a40","hex_latitude":"0b02c9d0","is_valid_coordinates":true} 
[2026-09-06 21:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909493760001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:09:55] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-100697625626816510,"note":"Value kept but may cause issues"} 
[2026-09-06 21:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788708981000,"timestamp_ms":1788708981000,"timestamp_seconds":1788708981,"priority":1,"record_length":96,"hex_timestamp":"000001a0775d0908"} 
[2026-09-06 21:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 21:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909493760001,"66":27484,"100":206,"4":8704,"24":0,"16":3530617736134656,"43":-100697625626816510},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,4,24,16,43]} 
[2026-09-06 21:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909493760001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:09:55] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-06 21:09:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:09:55] local.INFO: Unknown IO ID detected {"io_id":43,"value":-100697625626816510,"description":"Unknown IO ID 43"} 
[2026-09-06 21:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909493760001,"power":27484,"unknown_100":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-100697625626816510}} 
[2026-09-06 21:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":174191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776035,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:09:55] local.INFO: GPS data processed {"connection_id":174191,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:09:55] local.INFO: Acknowledgment sent {"connection_id":174191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:10:24] local.INFO: TCP Data received {"connection_id":173035,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:10:24] local.INFO: Processing buffer {"connection_id":173035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:10:24] local.INFO: Packet analysis {"connection_id":173035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:10:24] local.INFO: Extracted packet for processing {"connection_id":173035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:10:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909442048001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788709059000,"timestamp_ms":1788709059000,"timestamp_seconds":1788709059,"priority":1,"record_length":96,"hex_timestamp":"000001a0775e39b8"} 
[2026-09-06 21:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 21:10: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-09-06 21: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-09-06 21:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:10: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-09-06 21:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909442048001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909442048001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:10:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:10:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909442048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":173035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:10:24] local.INFO: GPS data processed {"connection_id":173035,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:10:24] local.INFO: Acknowledgment sent {"connection_id":173035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:10:26] local.INFO: TCP Data received {"connection_id":174191,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0775d5b10012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775d5b10012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:10:26] local.INFO: Processing buffer {"connection_id":174191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775d5b10012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:10:26] local.INFO: Packet analysis {"connection_id":174191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775d"} 
[2026-09-06 21:10:26] local.INFO: Extracted packet for processing {"connection_id":174191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775d"} 
[2026-09-06 21:10:26] local.INFO: GPS Element Parsed {"raw_longitude":738105920,"raw_latitude":184732112,"longitude_deg":73.810592,"latitude_deg":18.4732112,"altitude":555,"angle":316,"satellites":41,"speed":0,"hex_longitude":"2bfe9a40","hex_latitude":"0b02c9d0","is_valid_coordinates":true} 
[2026-09-06 21:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909499136001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:10:26] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-100697625626816510,"note":"Value kept but may cause issues"} 
[2026-09-06 21:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788709002000,"timestamp_ms":1788709002000,"timestamp_seconds":1788709002,"priority":1,"record_length":96,"hex_timestamp":"000001a0775d5b10"} 
[2026-09-06 21:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-06 21:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909499136001,"66":27745,"100":206,"4":8704,"24":0,"16":3530617736134656,"43":-100697625626816510},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,4,24,16,43]} 
[2026-09-06 21:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909499136001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:10:26] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-06 21:10:26] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:10:26] local.INFO: Unknown IO ID detected {"io_id":43,"value":-100697625626816510,"description":"Unknown IO ID 43"} 
[2026-09-06 21:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909499136001,"power":27745,"unknown_100":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-100697625626816510}} 
[2026-09-06 21:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":174191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776037,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:10:27] local.INFO: GPS data processed {"connection_id":174191,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:10:27] local.INFO: Acknowledgment sent {"connection_id":174191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:10:46] local.INFO: TCP Data received {"connection_id":172802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:10:46] local.INFO: Processing buffer {"connection_id":172802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:10:46] local.INFO: IMEI packet received {"connection_id":172802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":172802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:10:48] local.INFO: TCP Data received {"connection_id":175522,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:10:49] local.INFO: Processing buffer {"connection_id":175522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:10:49] local.INFO: IMEI packet received {"connection_id":175522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":175522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:10:52] local.INFO: TCP Data received {"connection_id":172802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:10:52] local.INFO: Processing buffer {"connection_id":172802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:10:52] local.INFO: IMEI packet received {"connection_id":172802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":172802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:10:53] local.INFO: TCP Data received {"connection_id":172802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:10:53] local.INFO: Processing buffer {"connection_id":172802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:10:53] local.INFO: Packet analysis {"connection_id":172802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:10:53] local.INFO: Extracted packet for processing {"connection_id":172802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909442048001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788709059000,"timestamp_ms":1788709059000,"timestamp_seconds":1788709059,"priority":1,"record_length":96,"hex_timestamp":"000001a0775e39b8"} 
[2026-09-06 21:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:10: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-09-06 21:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909442048001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909442048001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:10:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909442048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":172802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:10:53] local.INFO: GPS data processed {"connection_id":172802,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:10:53] local.INFO: Acknowledgment sent {"connection_id":172802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:10:54] local.INFO: TCP Data received {"connection_id":175522,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:10:54] local.INFO: Processing buffer {"connection_id":175522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:10:54] local.INFO: IMEI packet received {"connection_id":175522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":175522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:10:55] local.INFO: TCP Data received {"connection_id":175522,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0775dad18012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775dad18012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:10:55] local.INFO: Processing buffer {"connection_id":175522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775dad18012bfe9a400b02c9d0022b013c29..."} 
[2026-09-06 21:10:55] local.INFO: Packet analysis {"connection_id":175522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775d"} 
[2026-09-06 21:10:55] local.INFO: Extracted packet for processing {"connection_id":175522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775d"} 
[2026-09-06 21:10:55] local.INFO: GPS Element Parsed {"raw_longitude":738105920,"raw_latitude":184732112,"longitude_deg":73.810592,"latitude_deg":18.4732112,"altitude":555,"angle":316,"satellites":41,"speed":0,"hex_longitude":"2bfe9a40","hex_latitude":"0b02c9d0","is_valid_coordinates":true} 
[2026-09-06 21:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909504512001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:10:55] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-100697625626816510,"note":"Value kept but may cause issues"} 
[2026-09-06 21:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788709023000,"timestamp_ms":1788709023000,"timestamp_seconds":1788709023,"priority":1,"record_length":96,"hex_timestamp":"000001a0775dad18"} 
[2026-09-06 21:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 21:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909504512001,"66":27343,"123":206,"4":8704,"24":0,"16":3530617736134656,"43":-100697625626816510},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,4,24,16,43]} 
[2026-09-06 21:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909504512001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:10:55] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-09-06 21:10:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:10:55] local.INFO: Unknown IO ID detected {"io_id":43,"value":-100697625626816510,"description":"Unknown IO ID 43"} 
[2026-09-06 21:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909504512001,"power":27343,"unknown_123":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-100697625626816510}} 
[2026-09-06 21:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":175522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776039,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:10:56] local.INFO: GPS data processed {"connection_id":175522,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:10:56] local.INFO: Acknowledgment sent {"connection_id":175522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:11:24] local.INFO: TCP Data received {"connection_id":172802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:11:24] local.INFO: Processing buffer {"connection_id":172802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:11:24] local.INFO: Packet analysis {"connection_id":172802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:11:24] local.INFO: Extracted packet for processing {"connection_id":172802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909442048001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788709059000,"timestamp_ms":1788709059000,"timestamp_seconds":1788709059,"priority":1,"record_length":96,"hex_timestamp":"000001a0775e39b8"} 
[2026-09-06 21:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:11: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-09-06 21:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909442048001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909442048001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909442048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":172802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:11:24] local.INFO: GPS data processed {"connection_id":172802,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:11:24] local.INFO: Acknowledgment sent {"connection_id":172802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:11:27] local.INFO: TCP Data received {"connection_id":175522,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0775dff20012bfe84800b02e3b00229013c2a..."} 
[2026-09-06 21:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775dff20012bfe84800b02e3b00229013c2a..."} 
[2026-09-06 21:11:27] local.INFO: Processing buffer {"connection_id":175522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775dff20012bfe84800b02e3b00229013c2a..."} 
[2026-09-06 21:11:27] local.INFO: Packet analysis {"connection_id":175522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775d"} 
[2026-09-06 21:11:27] local.INFO: Extracted packet for processing {"connection_id":175522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775d"} 
[2026-09-06 21:11:27] local.INFO: GPS Element Parsed {"raw_longitude":738100352,"raw_latitude":184738736,"longitude_deg":73.8100352,"latitude_deg":18.4738736,"altitude":553,"angle":316,"satellites":42,"speed":0,"hex_longitude":"2bfe8480","hex_latitude":"0b02e3b0","is_valid_coordinates":true} 
[2026-09-06 21:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909509888001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:11:27] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-100697625626816510,"note":"Value kept but may cause issues"} 
[2026-09-06 21:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788709044000,"timestamp_ms":1788709044000,"timestamp_seconds":1788709044,"priority":1,"record_length":96,"hex_timestamp":"000001a0775dff20"} 
[2026-09-06 21:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-06 21:11: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-09-06 21:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909509888001,"66":27604,"123":206,"4":8704,"24":0,"16":3530617736134656,"43":-100697625626816510},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,4,24,16,43]} 
[2026-09-06 21:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909509888001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:11:27] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-09-06 21:11:27] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:11:27] local.INFO: Unknown IO ID detected {"io_id":43,"value":-100697625626816510,"description":"Unknown IO ID 43"} 
[2026-09-06 21:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909509888001,"power":27604,"unknown_123":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-100697625626816510}} 
[2026-09-06 21:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":175522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776041,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:11:27] local.INFO: GPS data processed {"connection_id":175522,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:11:27] local.INFO: Acknowledgment sent {"connection_id":175522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:11:52] local.INFO: TCP Data received {"connection_id":172803,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:11:52] local.INFO: Processing buffer {"connection_id":172803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:11:52] local.INFO: IMEI packet received {"connection_id":172803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":172803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:11:52] local.INFO: TCP Data received {"connection_id":175523,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:11:52] local.INFO: Processing buffer {"connection_id":175523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:11:52] local.INFO: IMEI packet received {"connection_id":175523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":175523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:11:53] local.INFO: TCP Data received {"connection_id":172803,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:11:53] local.INFO: Processing buffer {"connection_id":172803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:11:53] local.INFO: IMEI packet received {"connection_id":172803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":172803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:11:58] local.INFO: TCP Data received {"connection_id":175523,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:11:58] local.INFO: Processing buffer {"connection_id":175523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:11:58] local.INFO: IMEI packet received {"connection_id":175523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":175523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:11:59] local.INFO: TCP Data received {"connection_id":175523,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:11:59] local.INFO: Processing buffer {"connection_id":175523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:11:59] local.INFO: Packet analysis {"connection_id":175523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:11:59] local.INFO: Extracted packet for processing {"connection_id":175523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909442048001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:11: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-09-06 21:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788709059000,"timestamp_ms":1788709059000,"timestamp_seconds":1788709059,"priority":1,"record_length":96,"hex_timestamp":"000001a0775e39b8"} 
[2026-09-06 21:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 21:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 21:11: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-09-06 21:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909442048001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909442048001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:11:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:11:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909442048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":175523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:11:59] local.INFO: GPS data processed {"connection_id":175523,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:11:59] local.INFO: Acknowledgment sent {"connection_id":175523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:11:59] local.INFO: TCP Data received {"connection_id":172803,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:11:59] local.INFO: Processing buffer {"connection_id":172803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:11:59] local.INFO: IMEI packet received {"connection_id":172803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":172803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:12:00] local.INFO: TCP Data received {"connection_id":172803,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07760d5b0012bfd0e000b047170023801322c..."} 
[2026-09-06 21:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07760d5b0012bfd0e000b047170023801322c..."} 
[2026-09-06 21:12:00] local.INFO: Processing buffer {"connection_id":172803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07760d5b0012bfd0e000b047170023801322c..."} 
[2026-09-06 21:12:00] local.INFO: Packet analysis {"connection_id":172803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07760"} 
[2026-09-06 21:12:00] local.INFO: Extracted packet for processing {"connection_id":172803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07760"} 
[2026-09-06 21:12:00] local.INFO: GPS Element Parsed {"raw_longitude":738004480,"raw_latitude":184840560,"longitude_deg":73.800448,"latitude_deg":18.484056,"altitude":568,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2bfd0e00","hex_latitude":"0b047170","is_valid_coordinates":true} 
[2026-09-06 21:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909557504001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:12:00] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-199424973682634750,"note":"Value kept but may cause issues"} 
[2026-09-06 21:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788709230000,"timestamp_ms":1788709230000,"timestamp_seconds":1788709230,"priority":1,"record_length":96,"hex_timestamp":"000001a07760d5b0"} 
[2026-09-06 21:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-06 21:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":172803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":172803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":172803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909557504001,"66":27615,"185":206,"4":8704,"24":0,"16":3530617736134656,"43":-199424973682634750},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,4,24,16,43]} 
[2026-09-06 21:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909557504001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:12:00] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-06 21:12:00] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:12:00] local.INFO: Unknown IO ID detected {"io_id":43,"value":-199424973682634750,"description":"Unknown IO ID 43"} 
[2026-09-06 21:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909557504001,"power":27615,"unknown_185":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-199424973682634750}} 
[2026-09-06 21:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":172803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776043,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:12:01] local.INFO: GPS data processed {"connection_id":172803,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:12:01] local.INFO: Acknowledgment sent {"connection_id":172803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:12:02] local.INFO: TCP Data received {"connection_id":175523,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:12:02] local.INFO: Processing buffer {"connection_id":175523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:12:02] local.INFO: Packet analysis {"connection_id":175523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:12:02] local.INFO: Extracted packet for processing {"connection_id":175523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:12:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909442048001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:12: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-09-06 21:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788709059000,"timestamp_ms":1788709059000,"timestamp_seconds":1788709059,"priority":1,"record_length":96,"hex_timestamp":"000001a0775e39b8"} 
[2026-09-06 21:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:12: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-09-06 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 21:12: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-09-06 21: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-09-06 21:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:12: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-09-06 21:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909442048001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909442048001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:12:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:12:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909442048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":175523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:12:02] local.INFO: GPS data processed {"connection_id":175523,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:12:02] local.INFO: Acknowledgment sent {"connection_id":175523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:12:33] local.INFO: TCP Data received {"connection_id":172803,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07761b8400100000000000000000000000000..."} 
[2026-09-06 21:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07761b8400100000000000000000000000000..."} 
[2026-09-06 21:12:33] local.INFO: Processing buffer {"connection_id":172803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07761b8400100000000000000000000000000..."} 
[2026-09-06 21:12:33] local.INFO: Packet analysis {"connection_id":172803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07761"} 
[2026-09-06 21:12:33] local.INFO: Extracted packet for processing {"connection_id":172803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07761"} 
[2026-09-06 21:12: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-09-06 21:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909562880001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:12:33] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-212232085120651262,"note":"Value kept but may cause issues"} 
[2026-09-06 21:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788709288000,"timestamp_ms":1788709288000,"timestamp_seconds":1788709288,"priority":1,"record_length":96,"hex_timestamp":"000001a07761b840"} 
[2026-09-06 21:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-06 21:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":172803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":172803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":172803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":172803,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-06 21:12:33] local.INFO: GPS data processed {"connection_id":172803,"processed":0,"errors":0,"total":1} 
[2026-09-06 21:12:33] local.INFO: Acknowledgment sent {"connection_id":172803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:12:47] local.INFO: TCP Data received {"connection_id":172804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:12:47] local.INFO: Processing buffer {"connection_id":172804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:12:47] local.INFO: IMEI packet received {"connection_id":172804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":172804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:12:49] local.INFO: TCP Data received {"connection_id":174192,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:12:49] local.INFO: Processing buffer {"connection_id":174192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:12:49] local.INFO: IMEI packet received {"connection_id":174192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":174192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:12:51] local.INFO: TCP Data received {"connection_id":172804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:12:51] local.INFO: Processing buffer {"connection_id":172804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:12:51] local.INFO: IMEI packet received {"connection_id":172804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":172804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:12:52] local.INFO: TCP Data received {"connection_id":172804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:12:52] local.INFO: Processing buffer {"connection_id":172804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:12:52] local.INFO: Packet analysis {"connection_id":172804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:12:52] local.INFO: Extracted packet for processing {"connection_id":172804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909442048001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788709059000,"timestamp_ms":1788709059000,"timestamp_seconds":1788709059,"priority":1,"record_length":96,"hex_timestamp":"000001a0775e39b8"} 
[2026-09-06 21:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 21:12: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-09-06 21: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-09-06 21:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:12: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-09-06 21:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909442048001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909442048001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:12:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909442048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":172804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:12:52] local.INFO: GPS data processed {"connection_id":172804,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:12:52] local.INFO: Acknowledgment sent {"connection_id":172804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:12:54] local.INFO: TCP Data received {"connection_id":174192,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:12:54] local.INFO: Processing buffer {"connection_id":174192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:12:54] local.INFO: IMEI packet received {"connection_id":174192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":174192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:12:55] local.INFO: TCP Data received {"connection_id":174192,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a077612f88012bfcd8c00b0495d0023c01312c..."} 
[2026-09-06 21:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077612f88012bfcd8c00b0495d0023c01312c..."} 
[2026-09-06 21:12:55] local.INFO: Processing buffer {"connection_id":174192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077612f88012bfcd8c00b0495d0023c01312c..."} 
[2026-09-06 21:12:55] local.INFO: Packet analysis {"connection_id":174192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07761"} 
[2026-09-06 21:12:55] local.INFO: Extracted packet for processing {"connection_id":174192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07761"} 
[2026-09-06 21:12:55] local.INFO: GPS Element Parsed {"raw_longitude":737990848,"raw_latitude":184849872,"longitude_deg":73.7990848,"latitude_deg":18.4849872,"altitude":572,"angle":305,"satellites":44,"speed":35,"hex_longitude":"2bfcd8c0","hex_latitude":"0b0495d0","is_valid_coordinates":true} 
[2026-09-06 21:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:12:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,186,4,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 21:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788709253000,"timestamp_ms":1788709253000,"timestamp_seconds":1788709253,"priority":1,"record_length":96,"hex_timestamp":"000001a077612f88"} 
[2026-09-06 21:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 21:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174192,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174192,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27180,"186":206,"4":8704,"24":35,"16":3530617736134656},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,4,24,16]} 
[2026-09-06 21:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 21:12:55] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 21:12:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:12:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27180,"unknown_186":206,"unknown_4":8704,"ignition":35,"odometer":null}} 
[2026-09-06 21:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":174192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776046,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:12:55] local.INFO: GPS data processed {"connection_id":174192,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:12:55] local.INFO: Acknowledgment sent {"connection_id":174192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:12:57] local.INFO: TCP Data received {"connection_id":172804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:12:57] local.INFO: Processing buffer {"connection_id":172804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0775e39b8012d34cc0006aa43600000005323..."} 
[2026-09-06 21:12:57] local.INFO: Packet analysis {"connection_id":172804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:12:57] local.INFO: Extracted packet for processing {"connection_id":172804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0775e"} 
[2026-09-06 21:12:57] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909442048001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788709059000,"timestamp_ms":1788709059000,"timestamp_seconds":1788709059,"priority":1,"record_length":96,"hex_timestamp":"000001a0775e39b8"} 
[2026-09-06 21:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 21:12: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-09-06 21: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-09-06 21:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:12: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-09-06 21:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909442048001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909442048001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:12:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:12:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909442048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":172804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:12:57] local.INFO: GPS data processed {"connection_id":172804,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:12:57] local.INFO: Acknowledgment sent {"connection_id":172804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:13:28] local.INFO: TCP Data received {"connection_id":174192,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a077618190012bfc99000b04c290023801312c..."} 
[2026-09-06 21:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077618190012bfc99000b04c290023801312c..."} 
[2026-09-06 21:13:28] local.INFO: Processing buffer {"connection_id":174192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077618190012bfc99000b04c290023801312c..."} 
[2026-09-06 21:13:28] local.INFO: Packet analysis {"connection_id":174192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07761"} 
[2026-09-06 21:13:28] local.INFO: Extracted packet for processing {"connection_id":174192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07761"} 
[2026-09-06 21:13:28] local.INFO: GPS Element Parsed {"raw_longitude":737974528,"raw_latitude":184861328,"longitude_deg":73.7974528,"latitude_deg":18.4861328,"altitude":568,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2bfc9900","hex_latitude":"0b04c290","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909568768001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:13:28] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-227220627628109822,"note":"Value kept but may cause issues"} 
[2026-09-06 21:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788709274000,"timestamp_ms":1788709274000,"timestamp_seconds":1788709274,"priority":1,"record_length":96,"hex_timestamp":"000001a077618190"} 
[2026-09-06 21:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21: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":44,"data_length":795,"current_offset":136} 
[2026-09-06 21:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21: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-09-06 21:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174192,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174192,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909568768001,"66":27713,"186":206,"4":8704,"24":0,"16":3530617736134656,"43":-227220627628109822},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,4,24,16,43]} 
[2026-09-06 21:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909568768001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:13:28] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 21:13:28] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:13:28] local.INFO: Unknown IO ID detected {"io_id":43,"value":-227220627628109822,"description":"Unknown IO ID 43"} 
[2026-09-06 21:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909568768001,"power":27713,"unknown_186":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-227220627628109822}} 
[2026-09-06 21:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":174192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776048,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:13:28] local.INFO: GPS data processed {"connection_id":174192,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:13:28] local.INFO: Acknowledgment sent {"connection_id":174192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:13:28] local.INFO: TCP Data received {"connection_id":172804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:13:28] local.INFO: Processing buffer {"connection_id":172804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:13:28] local.INFO: Packet analysis {"connection_id":172804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:13:28] local.INFO: Extracted packet for processing {"connection_id":172804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:13:28] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909519104001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:13: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-09-06 21:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788709360000,"timestamp_ms":1788709360000,"timestamp_seconds":1788709360,"priority":1,"record_length":96,"hex_timestamp":"000001a07762d180"} 
[2026-09-06 21:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:13: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-09-06 21: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 21:13: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-09-06 21: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-09-06 21:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909519104001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909519104001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:13:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:13:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909519104001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":172804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:13:28] local.INFO: GPS data processed {"connection_id":172804,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:13:28] local.INFO: Acknowledgment sent {"connection_id":172804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:13:47] local.INFO: TCP Data received {"connection_id":175524,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:13:47] local.INFO: Processing buffer {"connection_id":175524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:13:47] local.INFO: IMEI packet received {"connection_id":175524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":175524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:13:52] local.INFO: TCP Data received {"connection_id":175524,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:13:52] local.INFO: Processing buffer {"connection_id":175524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:13:52] local.INFO: IMEI packet received {"connection_id":175524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":175524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:13:53] local.INFO: TCP Data received {"connection_id":175524,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:13:53] local.INFO: Processing buffer {"connection_id":175524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:13:53] local.INFO: Packet analysis {"connection_id":175524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:13:53] local.INFO: Extracted packet for processing {"connection_id":175524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909519104001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788709360000,"timestamp_ms":1788709360000,"timestamp_seconds":1788709360,"priority":1,"record_length":96,"hex_timestamp":"000001a07762d180"} 
[2026-09-06 21:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:13: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-09-06 21: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 21:13: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-09-06 21: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-09-06 21:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:13: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-09-06 21:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909519104001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909519104001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909519104001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":175524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:13:53] local.INFO: GPS data processed {"connection_id":175524,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:13:53] local.INFO: Acknowledgment sent {"connection_id":175524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:13:54] local.INFO: TCP Data received {"connection_id":175525,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:13:54] local.INFO: Processing buffer {"connection_id":175525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:13:54] local.INFO: IMEI packet received {"connection_id":175525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":175525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:14:01] local.INFO: TCP Data received {"connection_id":175525,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:14:01] local.INFO: Processing buffer {"connection_id":175525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:14:01] local.INFO: IMEI packet received {"connection_id":175525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":175525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:14:07] local.INFO: TCP Data received {"connection_id":175525,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07761d398012bfc60400b04ea10023b013129..."} 
[2026-09-06 21:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07761d398012bfc60400b04ea10023b013129..."} 
[2026-09-06 21:14:07] local.INFO: Processing buffer {"connection_id":175525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07761d398012bfc60400b04ea10023b013129..."} 
[2026-09-06 21:14:07] local.INFO: Packet analysis {"connection_id":175525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07761"} 
[2026-09-06 21:14:07] local.INFO: Extracted packet for processing {"connection_id":175525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07761"} 
[2026-09-06 21:14:07] local.INFO: GPS Element Parsed {"raw_longitude":737960000,"raw_latitude":184871440,"longitude_deg":73.796,"latitude_deg":18.487144,"altitude":571,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2bfc6040","hex_latitude":"0b04ea10","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909574144001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:14:07] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-245164657390481406,"note":"Value kept but may cause issues"} 
[2026-09-06 21:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788709295000,"timestamp_ms":1788709295000,"timestamp_seconds":1788709295,"priority":1,"record_length":96,"hex_timestamp":"000001a07761d398"} 
[2026-09-06 21:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-06 21:14:07] 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-09-06 21: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-09-06 21:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909574144001,"66":27767,"186":206,"4":8704,"24":0,"16":3530617736134656,"43":-245164657390481406},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,4,24,16,43]} 
[2026-09-06 21:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909574144001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:14:07] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 21:14:07] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:14:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":-245164657390481406,"description":"Unknown IO ID 43"} 
[2026-09-06 21:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909574144001,"power":27767,"unknown_186":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-245164657390481406}} 
[2026-09-06 21:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":175525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776051,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:14:07] local.INFO: GPS data processed {"connection_id":175525,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:14:07] local.INFO: Acknowledgment sent {"connection_id":175525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:14:08] local.INFO: TCP Data received {"connection_id":175525,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0776225a0012bfc2ac00b050ee00243013127..."} 
[2026-09-06 21:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776225a0012bfc2ac00b050ee00243013127..."} 
[2026-09-06 21:14:08] local.INFO: Processing buffer {"connection_id":175525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776225a0012bfc2ac00b050ee00243013127..."} 
[2026-09-06 21:14:08] local.INFO: Packet analysis {"connection_id":175525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:14:08] local.INFO: Extracted packet for processing {"connection_id":175525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:14:08] local.INFO: GPS Element Parsed {"raw_longitude":737946304,"raw_latitude":184880864,"longitude_deg":73.7946304,"latitude_deg":18.4880864,"altitude":579,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2bfc2ac0","hex_latitude":"0b050ee0","is_valid_coordinates":true} 
[2026-09-06 21:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909579520001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3530617736134656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:14:08] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-261138362316222462,"note":"Value kept but may cause issues"} 
[2026-09-06 21:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788709316000,"timestamp_ms":1788709316000,"timestamp_seconds":1788709316,"priority":1,"record_length":96,"hex_timestamp":"000001a0776225a0"} 
[2026-09-06 21:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 21:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909579520001,"66":27300,"186":206,"4":8704,"24":0,"16":3530617736134656,"43":-261138362316222462},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,4,24,16,43]} 
[2026-09-06 21:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909579520001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:14:08] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-06 21:14:08] local.INFO: Unknown IO ID detected {"io_id":4,"value":8704,"description":"Unknown IO ID 4"} 
[2026-09-06 21:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3530617736134656,"km_value":3530617736134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:14:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":-261138362316222462,"description":"Unknown IO ID 43"} 
[2026-09-06 21:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909579520001,"power":27300,"unknown_186":206,"unknown_4":8704,"ignition":0,"odometer":null,"unknown_43":-261138362316222462}} 
[2026-09-06 21:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":175525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776052,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:14:09] local.INFO: GPS data processed {"connection_id":175525,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:14:09] local.INFO: Acknowledgment sent {"connection_id":175525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:14:24] local.INFO: TCP Data received {"connection_id":175524,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:14:24] local.INFO: Processing buffer {"connection_id":175524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:14:24] local.INFO: Packet analysis {"connection_id":175524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:14:24] local.INFO: Extracted packet for processing {"connection_id":175524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:14:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909519104001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788709360000,"timestamp_ms":1788709360000,"timestamp_seconds":1788709360,"priority":1,"record_length":96,"hex_timestamp":"000001a07762d180"} 
[2026-09-06 21:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:14: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-09-06 21:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909519104001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909519104001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:14:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:14:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909519104001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":175524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:14:24] local.INFO: GPS data processed {"connection_id":175524,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:14:24] local.INFO: Acknowledgment sent {"connection_id":175524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:14:47] local.INFO: TCP Data received {"connection_id":172805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:14:47] local.INFO: Processing buffer {"connection_id":172805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:14:47] local.INFO: IMEI packet received {"connection_id":172805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":172805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:14:51] local.INFO: TCP Data received {"connection_id":172805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:14:51] local.INFO: Processing buffer {"connection_id":172805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:14:51] local.INFO: IMEI packet received {"connection_id":172805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":172805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:14:53] local.INFO: TCP Data received {"connection_id":172805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:14:53] local.INFO: Processing buffer {"connection_id":172805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:14:53] local.INFO: Packet analysis {"connection_id":172805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:14:53] local.INFO: Extracted packet for processing {"connection_id":172805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:14:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909519104001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788709360000,"timestamp_ms":1788709360000,"timestamp_seconds":1788709360,"priority":1,"record_length":96,"hex_timestamp":"000001a07762d180"} 
[2026-09-06 21:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:14: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-09-06 21:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909519104001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909519104001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:14:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909519104001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":172805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:14:53] local.INFO: GPS data processed {"connection_id":172805,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:14:53] local.INFO: Acknowledgment sent {"connection_id":172805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:15:23] local.INFO: TCP Data received {"connection_id":173036,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:15:23] local.INFO: Processing buffer {"connection_id":173036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:15:23] local.INFO: IMEI packet received {"connection_id":173036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":173036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:15:24] local.INFO: TCP Data received {"connection_id":172805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:15:24] local.INFO: Processing buffer {"connection_id":172805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:15:24] local.INFO: Packet analysis {"connection_id":172805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:15:24] local.INFO: Extracted packet for processing {"connection_id":172805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909519104001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788709360000,"timestamp_ms":1788709360000,"timestamp_seconds":1788709360,"priority":1,"record_length":96,"hex_timestamp":"000001a07762d180"} 
[2026-09-06 21:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:15: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-09-06 21:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909519104001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909519104001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:15:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909519104001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":172805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:15:24] local.INFO: GPS data processed {"connection_id":172805,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:15:24] local.INFO: Acknowledgment sent {"connection_id":172805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:15:32] local.INFO: TCP Data received {"connection_id":173036,"ip":"117.224.99.25","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-06 21:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173036,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-06 21:15:32] local.INFO: Processing buffer {"connection_id":173036,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-06 21:15:32] local.INFO: IMEI packet received {"connection_id":173036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":173036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:15:47] local.INFO: TCP Data received {"connection_id":173037,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:15:47] local.INFO: Processing buffer {"connection_id":173037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:15:47] local.INFO: IMEI packet received {"connection_id":173037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":173037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:15:52] local.INFO: TCP Data received {"connection_id":173037,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:15:52] local.INFO: Processing buffer {"connection_id":173037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:15:52] local.INFO: IMEI packet received {"connection_id":173037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":173037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:15:53] local.INFO: TCP Data received {"connection_id":173037,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:15:53] local.INFO: Processing buffer {"connection_id":173037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:15:53] local.INFO: Packet analysis {"connection_id":173037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:15:53] local.INFO: Extracted packet for processing {"connection_id":173037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:15:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 21:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909519104001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 21:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788709360000,"timestamp_ms":1788709360000,"timestamp_seconds":1788709360,"priority":1,"record_length":96,"hex_timestamp":"000001a07762d180"} 
[2026-09-06 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-09-06 21:15: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-09-06 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 21:15: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-09-06 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-09-06 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-09-06 21:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:15: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-09-06 21:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909519104001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909519104001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:15:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:15:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909519104001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":173037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:15:53] local.INFO: GPS data processed {"connection_id":173037,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:15:53] local.INFO: Acknowledgment sent {"connection_id":173037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:15:54] local.INFO: TCP Data received {"connection_id":174193,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:15:54] local.INFO: Processing buffer {"connection_id":174193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:15:54] local.INFO: IMEI packet received {"connection_id":174193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":174193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:16:24] local.INFO: TCP Data received {"connection_id":173037,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:16:24] local.INFO: Processing buffer {"connection_id":173037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:16:24] local.INFO: Packet analysis {"connection_id":173037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:16:24] local.INFO: Extracted packet for processing {"connection_id":173037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:16:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909519104001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788709360000,"timestamp_ms":1788709360000,"timestamp_seconds":1788709360,"priority":1,"record_length":96,"hex_timestamp":"000001a07762d180"} 
[2026-09-06 21:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 21:16: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-09-06 21: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-09-06 21:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:16: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-09-06 21:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909519104001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909519104001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:16:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:16:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909519104001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":173037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:16:24] local.INFO: GPS data processed {"connection_id":173037,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:16:24] local.INFO: Acknowledgment sent {"connection_id":173037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:16:46] local.INFO: TCP Data received {"connection_id":174194,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:16:47] local.INFO: Processing buffer {"connection_id":174194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:16:47] local.INFO: IMEI packet received {"connection_id":174194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":174194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:16:51] local.INFO: TCP Data received {"connection_id":174194,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:16:51] local.INFO: Processing buffer {"connection_id":174194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:16:51] local.INFO: IMEI packet received {"connection_id":174194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":174194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:16:52] local.INFO: TCP Data received {"connection_id":174194,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:16:52] local.INFO: Processing buffer {"connection_id":174194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:16:52] local.INFO: Packet analysis {"connection_id":174194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:16:52] local.INFO: Extracted packet for processing {"connection_id":174194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909519104001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788709360000,"timestamp_ms":1788709360000,"timestamp_seconds":1788709360,"priority":1,"record_length":96,"hex_timestamp":"000001a07762d180"} 
[2026-09-06 21:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:16: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-09-06 21:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909519104001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909519104001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:16:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909519104001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":174194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:16:52] local.INFO: GPS data processed {"connection_id":174194,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:16:52] local.INFO: Acknowledgment sent {"connection_id":174194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:17:23] local.INFO: TCP Data received {"connection_id":174194,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:17:23] local.INFO: Processing buffer {"connection_id":174194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:17:23] local.INFO: Packet analysis {"connection_id":174194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:17:23] local.INFO: Extracted packet for processing {"connection_id":174194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:17:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909519104001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788709360000,"timestamp_ms":1788709360000,"timestamp_seconds":1788709360,"priority":1,"record_length":96,"hex_timestamp":"000001a07762d180"} 
[2026-09-06 21:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 21:17:23] 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-09-06 21: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-09-06 21:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:17: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-09-06 21:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909519104001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909519104001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:17:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:17:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909519104001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":174194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:17:23] local.INFO: GPS data processed {"connection_id":174194,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:17:23] local.INFO: Acknowledgment sent {"connection_id":174194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:17:47] local.INFO: TCP Data received {"connection_id":173038,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:17:47] local.INFO: Processing buffer {"connection_id":173038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:17:47] local.INFO: IMEI packet received {"connection_id":173038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":173038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:17:52] local.INFO: TCP Data received {"connection_id":173038,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:17:52] local.INFO: Processing buffer {"connection_id":173038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:17:52] local.INFO: IMEI packet received {"connection_id":173038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":173038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:17:53] local.INFO: TCP Data received {"connection_id":173038,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:17:53] local.INFO: Processing buffer {"connection_id":173038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07762d180012d34cc0006aa43600000005323..."} 
[2026-09-06 21:17:53] local.INFO: Packet analysis {"connection_id":173038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:17:53] local.INFO: Extracted packet for processing {"connection_id":173038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07762"} 
[2026-09-06 21:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909519104001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788709360000,"timestamp_ms":1788709360000,"timestamp_seconds":1788709360,"priority":1,"record_length":96,"hex_timestamp":"000001a07762d180"} 
[2026-09-06 21:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909519104001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909519104001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:17:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909519104001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":173038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:17:53] local.INFO: GPS data processed {"connection_id":173038,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:17:53] local.INFO: Acknowledgment sent {"connection_id":173038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:18:24] local.INFO: TCP Data received {"connection_id":173038,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:18:24] local.INFO: Processing buffer {"connection_id":173038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:18:24] local.INFO: Packet analysis {"connection_id":173038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:18:24] local.INFO: Extracted packet for processing {"connection_id":173038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:18:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909596160001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788709661000,"timestamp_ms":1788709661000,"timestamp_seconds":1788709661,"priority":1,"record_length":96,"hex_timestamp":"000001a077676948"} 
[2026-09-06 21:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:18: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-09-06 21: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-09-06 21:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:18: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-09-06 21:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909596160001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909596160001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:18:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:18:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909596160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":173038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:18:24] local.INFO: GPS data processed {"connection_id":173038,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:18:24] local.INFO: Acknowledgment sent {"connection_id":173038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:18:51] local.INFO: TCP Data received {"connection_id":174196,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:18:51] local.INFO: Processing buffer {"connection_id":174196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:18:51] local.INFO: IMEI packet received {"connection_id":174196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":174196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:18:57] local.INFO: TCP Data received {"connection_id":174196,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:18:57] local.INFO: Processing buffer {"connection_id":174196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:18:57] local.INFO: IMEI packet received {"connection_id":174196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":174196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:18:58] local.INFO: TCP Data received {"connection_id":174196,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:18:59] local.INFO: Processing buffer {"connection_id":174196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:18:59] local.INFO: Packet analysis {"connection_id":174196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:18:59] local.INFO: Extracted packet for processing {"connection_id":174196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:18:59] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909596160001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:18: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-09-06 21:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788709661000,"timestamp_ms":1788709661000,"timestamp_seconds":1788709661,"priority":1,"record_length":96,"hex_timestamp":"000001a077676948"} 
[2026-09-06 21:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 21:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:18:59] 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-09-06 21:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909596160001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909596160001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:18:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:18:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909596160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":174196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:18:59] local.INFO: GPS data processed {"connection_id":174196,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:18:59] local.INFO: Acknowledgment sent {"connection_id":174196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:19:30] local.INFO: TCP Data received {"connection_id":174196,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:19:30] local.INFO: Processing buffer {"connection_id":174196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:19:30] local.INFO: Packet analysis {"connection_id":174196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:19:30] local.INFO: Extracted packet for processing {"connection_id":174196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:19:30] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909596160001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:19: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-09-06 21:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788709661000,"timestamp_ms":1788709661000,"timestamp_seconds":1788709661,"priority":1,"record_length":96,"hex_timestamp":"000001a077676948"} 
[2026-09-06 21:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 21:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909596160001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909596160001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:19:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:19:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909596160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":174196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:19:30] local.INFO: GPS data processed {"connection_id":174196,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:19:30] local.INFO: Acknowledgment sent {"connection_id":174196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:19:47] local.INFO: TCP Data received {"connection_id":174197,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:19:47] local.INFO: Processing buffer {"connection_id":174197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:19:47] local.INFO: IMEI packet received {"connection_id":174197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":174197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:19:52] local.INFO: TCP Data received {"connection_id":174197,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:19:52] local.INFO: Processing buffer {"connection_id":174197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:19:52] local.INFO: IMEI packet received {"connection_id":174197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":174197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:19:53] local.INFO: TCP Data received {"connection_id":174197,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:19:53] local.INFO: Processing buffer {"connection_id":174197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:19:53] local.INFO: Packet analysis {"connection_id":174197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:19:53] local.INFO: Extracted packet for processing {"connection_id":174197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:19:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909596160001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788709661000,"timestamp_ms":1788709661000,"timestamp_seconds":1788709661,"priority":1,"record_length":96,"hex_timestamp":"000001a077676948"} 
[2026-09-06 21:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:19: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:19: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-09-06 21: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-09-06 21:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:19: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-09-06 21:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909596160001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909596160001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:19:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:19:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909596160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":174197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:19:53] local.INFO: GPS data processed {"connection_id":174197,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:19:53] local.INFO: Acknowledgment sent {"connection_id":174197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:20:24] local.INFO: TCP Data received {"connection_id":174197,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:20:24] local.INFO: Processing buffer {"connection_id":174197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:20:24] local.INFO: Packet analysis {"connection_id":174197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:20:24] local.INFO: Extracted packet for processing {"connection_id":174197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:20:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909596160001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788709661000,"timestamp_ms":1788709661000,"timestamp_seconds":1788709661,"priority":1,"record_length":96,"hex_timestamp":"000001a077676948"} 
[2026-09-06 21:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:20: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:20: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-09-06 21: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-09-06 21:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:20: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-09-06 21:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909596160001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909596160001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:20:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:20:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909596160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":174197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:20:24] local.INFO: GPS data processed {"connection_id":174197,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:20:24] local.INFO: Acknowledgment sent {"connection_id":174197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:20:46] local.INFO: TCP Data received {"connection_id":175526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:20:46] local.INFO: Processing buffer {"connection_id":175526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:20:46] local.INFO: IMEI packet received {"connection_id":175526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":175526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:20:51] local.INFO: TCP Data received {"connection_id":175526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:20:51] local.INFO: Processing buffer {"connection_id":175526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:20:51] local.INFO: IMEI packet received {"connection_id":175526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":175526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:20:52] local.INFO: TCP Data received {"connection_id":175526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:20:52] local.INFO: Processing buffer {"connection_id":175526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:20:52] local.INFO: Packet analysis {"connection_id":175526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:20:52] local.INFO: Extracted packet for processing {"connection_id":175526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909596160001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788709661000,"timestamp_ms":1788709661000,"timestamp_seconds":1788709661,"priority":1,"record_length":96,"hex_timestamp":"000001a077676948"} 
[2026-09-06 21:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:20: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-09-06 21: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-09-06 21:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:20: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-09-06 21:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909596160001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909596160001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:20:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909596160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":175526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:20:52] local.INFO: GPS data processed {"connection_id":175526,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:20:52] local.INFO: Acknowledgment sent {"connection_id":175526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:20:56] local.INFO: TCP Data received {"connection_id":173040,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:20:56] local.INFO: Processing buffer {"connection_id":173040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:20:56] local.INFO: IMEI packet received {"connection_id":173040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":173040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:20:58] local.INFO: TCP Data received {"connection_id":173040,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a077690758012bf91b800b084b90026f012527..."} 
[2026-09-06 21:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077690758012bf91b800b084b90026f012527..."} 
[2026-09-06 21:20:58] local.INFO: Processing buffer {"connection_id":173040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077690758012bf91b800b084b90026f012527..."} 
[2026-09-06 21:20:58] local.INFO: Packet analysis {"connection_id":173040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07769"} 
[2026-09-06 21:20:58] local.INFO: Extracted packet for processing {"connection_id":173040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07769"} 
[2026-09-06 21:20:58] local.INFO: GPS Element Parsed {"raw_longitude":737745792,"raw_latitude":185093008,"longitude_deg":73.7745792,"latitude_deg":18.5093008,"altitude":623,"angle":293,"satellites":39,"speed":52,"hex_longitude":"2bf91b80","hex_latitude":"0b084b90","is_valid_coordinates":true} 
[2026-09-06 21:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3538430281646080,"note":"Value kept but may cause issues"} 
[2026-09-06 21:20:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,220,4,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-06 21:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788709767000,"timestamp_ms":1788709767000,"timestamp_seconds":1788709767,"priority":1,"record_length":96,"hex_timestamp":"000001a077690758"} 
[2026-09-06 21:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-06 21:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27463,"220":206,"4":9216,"24":52,"16":3538430281646080},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,4,24,16]} 
[2026-09-06 21:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-06 21:20:58] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-06 21:20:58] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3538430281646080,"km_value":3538430281646.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:20:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27463,"unknown_220":206,"unknown_4":9216,"ignition":52,"odometer":null}} 
[2026-09-06 21:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":173040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776067,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:20:58] local.INFO: GPS data processed {"connection_id":173040,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:20:58] local.INFO: Acknowledgment sent {"connection_id":173040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:21:23] local.INFO: TCP Data received {"connection_id":175526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:21:23] local.INFO: Processing buffer {"connection_id":175526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:21:23] local.INFO: Packet analysis {"connection_id":175526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:21:23] local.INFO: Extracted packet for processing {"connection_id":175526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:21:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909596160001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788709661000,"timestamp_ms":1788709661000,"timestamp_seconds":1788709661,"priority":1,"record_length":96,"hex_timestamp":"000001a077676948"} 
[2026-09-06 21:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:21: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-09-06 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21: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-09-06 21:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:21: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-09-06 21:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909596160001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909596160001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:21:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:21:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909596160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":175526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:21:23] local.INFO: GPS data processed {"connection_id":175526,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:21:23] local.INFO: Acknowledgment sent {"connection_id":175526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:21:29] local.INFO: TCP Data received {"connection_id":173040,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0776949c0012bf8cf800b087ba00265013524..."} 
[2026-09-06 21:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776949c0012bf8cf800b087ba00265013524..."} 
[2026-09-06 21:21:29] local.INFO: Processing buffer {"connection_id":173040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776949c0012bf8cf800b087ba00265013524..."} 
[2026-09-06 21:21:29] local.INFO: Packet analysis {"connection_id":173040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07769"} 
[2026-09-06 21:21:29] local.INFO: Extracted packet for processing {"connection_id":173040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07769"} 
[2026-09-06 21:21:29] local.INFO: GPS Element Parsed {"raw_longitude":737726336,"raw_latitude":185105312,"longitude_deg":73.7726336,"latitude_deg":18.5105312,"altitude":613,"angle":309,"satellites":36,"speed":51,"hex_longitude":"2bf8cf80","hex_latitude":"0b087ba0","is_valid_coordinates":true} 
[2026-09-06 21:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909700352001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3538430281646080,"note":"Value kept but may cause issues"} 
[2026-09-06 21:21:29] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-496662549022142462,"note":"Value kept but may cause issues"} 
[2026-09-06 21:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788709784000,"timestamp_ms":1788709784000,"timestamp_seconds":1788709784,"priority":1,"record_length":96,"hex_timestamp":"000001a0776949c0"} 
[2026-09-06 21:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-06 21:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:21:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909700352001,"66":27463,"220":206,"4":9216,"24":51,"16":3538430281646080,"43":-496662549022142462},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,4,24,16,43]} 
[2026-09-06 21:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909700352001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:21:29] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-06 21:21:29] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3538430281646080,"km_value":3538430281646.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:21:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":-496662549022142462,"description":"Unknown IO ID 43"} 
[2026-09-06 21:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909700352001,"power":27463,"unknown_220":206,"unknown_4":9216,"ignition":51,"odometer":null,"unknown_43":-496662549022142462}} 
[2026-09-06 21:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":173040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776069,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:21:29] local.INFO: GPS data processed {"connection_id":173040,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:21:29] local.INFO: Acknowledgment sent {"connection_id":173040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:21:47] local.INFO: TCP Data received {"connection_id":175527,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:21:47] local.INFO: Processing buffer {"connection_id":175527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:21:47] local.INFO: IMEI packet received {"connection_id":175527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":175527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:21:47] local.INFO: TCP Data received {"connection_id":174198,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:21:47] local.INFO: Processing buffer {"connection_id":174198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:21:47] local.INFO: IMEI packet received {"connection_id":174198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":174198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:21:48] local.INFO: TCP Data received {"connection_id":174198,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:21:48] local.INFO: Processing buffer {"connection_id":174198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:21:48] local.INFO: IMEI packet received {"connection_id":174198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":174198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:21:52] local.INFO: TCP Data received {"connection_id":175527,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:21:52] local.INFO: Processing buffer {"connection_id":175527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:21:52] local.INFO: IMEI packet received {"connection_id":175527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":175527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:21:53] local.INFO: TCP Data received {"connection_id":175527,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:21:53] local.INFO: Processing buffer {"connection_id":175527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:21:53] local.INFO: Packet analysis {"connection_id":175527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:21:53] local.INFO: Extracted packet for processing {"connection_id":175527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909596160001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788709661000,"timestamp_ms":1788709661000,"timestamp_seconds":1788709661,"priority":1,"record_length":96,"hex_timestamp":"000001a077676948"} 
[2026-09-06 21:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:21: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:21: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-09-06 21: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-09-06 21:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:21: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-09-06 21:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909596160001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909596160001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:21:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909596160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":175527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:21:53] local.INFO: GPS data processed {"connection_id":175527,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:21:53] local.INFO: Acknowledgment sent {"connection_id":175527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:21:54] local.INFO: TCP Data received {"connection_id":174198,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:21:54] local.INFO: Processing buffer {"connection_id":174198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:21:54] local.INFO: IMEI packet received {"connection_id":174198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":174198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:21:55] local.INFO: TCP Data received {"connection_id":174198,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a077699bc8012bf88d400b08b2c0025e013c23..."} 
[2026-09-06 21:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077699bc8012bf88d400b08b2c0025e013c23..."} 
[2026-09-06 21:21:55] local.INFO: Processing buffer {"connection_id":174198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077699bc8012bf88d400b08b2c0025e013c23..."} 
[2026-09-06 21:21:55] local.INFO: Packet analysis {"connection_id":174198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07769"} 
[2026-09-06 21:21:55] local.INFO: Extracted packet for processing {"connection_id":174198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07769"} 
[2026-09-06 21:21:55] local.INFO: GPS Element Parsed {"raw_longitude":737709376,"raw_latitude":185119424,"longitude_deg":73.7709376,"latitude_deg":18.5119424,"altitude":606,"angle":316,"satellites":35,"speed":0,"hex_longitude":"2bf88d40","hex_latitude":"0b08b2c0","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909704704001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3538430281646080,"note":"Value kept but may cause issues"} 
[2026-09-06 21:21:55] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-518054647249002494,"note":"Value kept but may cause issues"} 
[2026-09-06 21:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788709805000,"timestamp_ms":1788709805000,"timestamp_seconds":1788709805,"priority":1,"record_length":96,"hex_timestamp":"000001a077699bc8"} 
[2026-09-06 21:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-06 21:21: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-09-06 21: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-09-06 21:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909704704001,"66":27626,"220":206,"4":9216,"24":0,"16":3538430281646080,"43":-518054647249002494},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,4,24,16,43]} 
[2026-09-06 21:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909704704001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:21:55] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-06 21:21:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3538430281646080,"km_value":3538430281646.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:21:55] local.INFO: Unknown IO ID detected {"io_id":43,"value":-518054647249002494,"description":"Unknown IO ID 43"} 
[2026-09-06 21:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909704704001,"power":27626,"unknown_220":206,"unknown_4":9216,"ignition":0,"odometer":null,"unknown_43":-518054647249002494}} 
[2026-09-06 21:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":174198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776071,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:21:55] local.INFO: GPS data processed {"connection_id":174198,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:21:55] local.INFO: Acknowledgment sent {"connection_id":174198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:22:23] local.INFO: TCP Data received {"connection_id":175527,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:22:23] local.INFO: Processing buffer {"connection_id":175527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:22:23] local.INFO: Packet analysis {"connection_id":175527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:22:23] local.INFO: Extracted packet for processing {"connection_id":175527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:22:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909596160001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788709661000,"timestamp_ms":1788709661000,"timestamp_seconds":1788709661,"priority":1,"record_length":96,"hex_timestamp":"000001a077676948"} 
[2026-09-06 21:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21: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-09-06 21:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:22: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-09-06 21:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909596160001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909596160001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:22:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:22:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909596160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":175527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:22:23] local.INFO: GPS data processed {"connection_id":175527,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:22:23] local.INFO: Acknowledgment sent {"connection_id":175527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:22:27] local.INFO: TCP Data received {"connection_id":174198,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07769ce90012bf85f000b08f6300264014b26..."} 
[2026-09-06 21:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07769ce90012bf85f000b08f6300264014b26..."} 
[2026-09-06 21:22:27] local.INFO: Processing buffer {"connection_id":174198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07769ce90012bf85f000b08f6300264014b26..."} 
[2026-09-06 21:22:27] local.INFO: Packet analysis {"connection_id":174198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07769"} 
[2026-09-06 21:22:27] local.INFO: Extracted packet for processing {"connection_id":174198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07769"} 
[2026-09-06 21:22:27] local.INFO: GPS Element Parsed {"raw_longitude":737697536,"raw_latitude":185136688,"longitude_deg":73.7697536,"latitude_deg":18.5136688,"altitude":612,"angle":331,"satellites":38,"speed":45,"hex_longitude":"2bf85f00","hex_latitude":"0b08f630","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909710080001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3538430281646080,"note":"Value kept but may cause issues"} 
[2026-09-06 21:22:27] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-536702364452470782,"note":"Value kept but may cause issues"} 
[2026-09-06 21:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788709818000,"timestamp_ms":1788709818000,"timestamp_seconds":1788709818,"priority":1,"record_length":96,"hex_timestamp":"000001a07769ce90"} 
[2026-09-06 21:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-06 21:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21: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-09-06 21:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909710080001,"66":27626,"220":206,"4":9216,"24":45,"16":3538430281646080,"43":-536702364452470782},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,4,24,16,43]} 
[2026-09-06 21:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909710080001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:22:27] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-06 21:22:27] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3538430281646080,"km_value":3538430281646.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:22:27] local.INFO: Unknown IO ID detected {"io_id":43,"value":-536702364452470782,"description":"Unknown IO ID 43"} 
[2026-09-06 21:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909710080001,"power":27626,"unknown_220":206,"unknown_4":9216,"ignition":45,"odometer":null,"unknown_43":-536702364452470782}} 
[2026-09-06 21:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":174198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776073,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:22:27] local.INFO: GPS data processed {"connection_id":174198,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:22:27] local.INFO: Acknowledgment sent {"connection_id":174198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:22:47] local.INFO: TCP Data received {"connection_id":174199,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:22:47] local.INFO: Processing buffer {"connection_id":174199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:22:47] local.INFO: IMEI packet received {"connection_id":174199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":174199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:22:49] local.INFO: TCP Data received {"connection_id":175528,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:22:49] local.INFO: Processing buffer {"connection_id":175528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:22:49] local.INFO: IMEI packet received {"connection_id":175528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":175528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:22:50] local.INFO: TCP Data received {"connection_id":175528,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:22:50] local.INFO: Processing buffer {"connection_id":175528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:22:50] local.INFO: IMEI packet received {"connection_id":175528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":175528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:22:52] local.INFO: TCP Data received {"connection_id":174199,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:22:52] local.INFO: Processing buffer {"connection_id":174199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:22:52] local.INFO: IMEI packet received {"connection_id":174199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":174199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:22:53] local.INFO: TCP Data received {"connection_id":174199,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:22:53] local.INFO: Processing buffer {"connection_id":174199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077676948012d34cc0006aa43600000005325..."} 
[2026-09-06 21:22:53] local.INFO: Packet analysis {"connection_id":174199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:22:53] local.INFO: Extracted packet for processing {"connection_id":174199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07767"} 
[2026-09-06 21:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909596160001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788709661000,"timestamp_ms":1788709661000,"timestamp_seconds":1788709661,"priority":1,"record_length":96,"hex_timestamp":"000001a077676948"} 
[2026-09-06 21:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:22: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:22: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-09-06 21: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-09-06 21:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:22: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-09-06 21:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909596160001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909596160001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:22:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909596160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":174199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:22:53] local.INFO: GPS data processed {"connection_id":174199,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:22:53] local.INFO: Acknowledgment sent {"connection_id":174199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:22:54] local.INFO: TCP Data received {"connection_id":175528,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:22:54] local.INFO: Processing buffer {"connection_id":175528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:22:54] local.INFO: IMEI packet received {"connection_id":175528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":175528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:22:56] local.INFO: TCP Data received {"connection_id":175528,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0776a18c8012bf84b400b092550026d01592c..."} 
[2026-09-06 21:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776a18c8012bf84b400b092550026d01592c..."} 
[2026-09-06 21:22:56] local.INFO: Processing buffer {"connection_id":175528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776a18c8012bf84b400b092550026d01592c..."} 
[2026-09-06 21:22:56] local.INFO: Packet analysis {"connection_id":175528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776a"} 
[2026-09-06 21:22:56] local.INFO: Extracted packet for processing {"connection_id":175528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776a"} 
[2026-09-06 21:22:56] local.INFO: GPS Element Parsed {"raw_longitude":737692480,"raw_latitude":185148752,"longitude_deg":73.769248,"latitude_deg":18.5148752,"altitude":621,"angle":345,"satellites":44,"speed":13,"hex_longitude":"2bf84b40","hex_latitude":"0b092550","is_valid_coordinates":true} 
[2026-09-06 21:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909713408001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3538430281646080,"note":"Value kept but may cause issues"} 
[2026-09-06 21:22:56] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-549720582120919038,"note":"Value kept but may cause issues"} 
[2026-09-06 21:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788709837000,"timestamp_ms":1788709837000,"timestamp_seconds":1788709837,"priority":1,"record_length":96,"hex_timestamp":"000001a0776a18c8"} 
[2026-09-06 21:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-06 21:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909713408001,"66":27626,"219":206,"4":9216,"24":13,"16":3538430281646080,"43":-549720582120919038},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,4,24,16,43]} 
[2026-09-06 21:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909713408001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:22:56] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-06 21:22:56] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3538430281646080,"km_value":3538430281646.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:22:56] local.INFO: Unknown IO ID detected {"io_id":43,"value":-549720582120919038,"description":"Unknown IO ID 43"} 
[2026-09-06 21:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909713408001,"power":27626,"unknown_219":206,"unknown_4":9216,"ignition":13,"odometer":null,"unknown_43":-549720582120919038}} 
[2026-09-06 21:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":175528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776075,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:22:56] local.INFO: GPS data processed {"connection_id":175528,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:22:56] local.INFO: Acknowledgment sent {"connection_id":175528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:23:24] local.INFO: TCP Data received {"connection_id":174199,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:23:24] local.INFO: Processing buffer {"connection_id":174199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:23:24] local.INFO: Packet analysis {"connection_id":174199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:23:24] local.INFO: Extracted packet for processing {"connection_id":174199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:23:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909673216001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788709962000,"timestamp_ms":1788709962000,"timestamp_seconds":1788709962,"priority":1,"record_length":96,"hex_timestamp":"000001a0776c0110"} 
[2026-09-06 21:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:23: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-09-06 21:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 21: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-09-06 21:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:23: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-09-06 21:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909673216001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909673216001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:23:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:23:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909673216001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":174199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:23:24] local.INFO: GPS data processed {"connection_id":174199,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:23:24] local.INFO: Acknowledgment sent {"connection_id":174199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:23:35] local.INFO: TCP Data received {"connection_id":175528,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0776bce48012bf89ec00b0a92f0025c00232a..."} 
[2026-09-06 21:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776bce48012bf89ec00b0a92f0025c00232a..."} 
[2026-09-06 21:23:35] local.INFO: Processing buffer {"connection_id":175528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776bce48012bf89ec00b0a92f0025c00232a..."} 
[2026-09-06 21:23:35] local.INFO: Packet analysis {"connection_id":175528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776b"} 
[2026-09-06 21:23:35] local.INFO: Extracted packet for processing {"connection_id":175528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776b"} 
[2026-09-06 21:23:35] local.INFO: GPS Element Parsed {"raw_longitude":737713856,"raw_latitude":185242352,"longitude_deg":73.7713856,"latitude_deg":18.5242352,"altitude":604,"angle":35,"satellites":42,"speed":49,"hex_longitude":"2bf89ec0","hex_latitude":"0b0a92f0","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909744896001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3543283594690560,"note":"Value kept but may cause issues"} 
[2026-09-06 21:23:35] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-538039370562301950,"note":"Value kept but may cause issues"} 
[2026-09-06 21:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788709949000,"timestamp_ms":1788709949000,"timestamp_seconds":1788709949,"priority":1,"record_length":96,"hex_timestamp":"000001a0776bce48"} 
[2026-09-06 21:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-06 21:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21: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-09-06 21:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909744896001,"66":27604,"245":206,"4":9216,"24":49,"16":3543283594690560,"43":-538039370562301950},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,4,24,16,43]} 
[2026-09-06 21:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909744896001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:23:35] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3543283594690560,"km_value":3543283594690.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:23:35] local.INFO: Unknown IO ID detected {"io_id":43,"value":-538039370562301950,"description":"Unknown IO ID 43"} 
[2026-09-06 21:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909744896001,"power":27604,"geofence_id":206,"unknown_4":9216,"ignition":49,"odometer":null,"unknown_43":-538039370562301950}} 
[2026-09-06 21:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":175528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776077,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:23:35] local.INFO: GPS data processed {"connection_id":175528,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:23:35] local.INFO: Acknowledgment sent {"connection_id":175528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:23:47] local.INFO: TCP Data received {"connection_id":172808,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:23:47] local.INFO: Processing buffer {"connection_id":172808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:23:47] local.INFO: IMEI packet received {"connection_id":172808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":172808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:23:48] local.INFO: TCP Data received {"connection_id":172809,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:23:49] local.INFO: Processing buffer {"connection_id":172809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:23:49] local.INFO: IMEI packet received {"connection_id":172809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":172809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:23:51] local.INFO: TCP Data received {"connection_id":172809,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:23:51] local.INFO: Processing buffer {"connection_id":172809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:23:51] local.INFO: IMEI packet received {"connection_id":172809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":172809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:23:52] local.INFO: TCP Data received {"connection_id":172808,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:23:52] local.INFO: Processing buffer {"connection_id":172808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:23:52] local.INFO: IMEI packet received {"connection_id":172808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":172808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:23:53] local.INFO: TCP Data received {"connection_id":172808,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:23:53] local.INFO: Processing buffer {"connection_id":172808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:23:53] local.INFO: Packet analysis {"connection_id":172808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:23:53] local.INFO: Extracted packet for processing {"connection_id":172808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:23:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909673216001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788709962000,"timestamp_ms":1788709962000,"timestamp_seconds":1788709962,"priority":1,"record_length":96,"hex_timestamp":"000001a0776c0110"} 
[2026-09-06 21:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:23: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-09-06 21: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 21:23: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-09-06 21: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-09-06 21:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:23: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-09-06 21:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909673216001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909673216001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:23:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:23:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909673216001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":172808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:23:53] local.INFO: GPS data processed {"connection_id":172808,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:23:53] local.INFO: Acknowledgment sent {"connection_id":172808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:23:54] local.INFO: TCP Data received {"connection_id":172809,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:23:54] local.INFO: Processing buffer {"connection_id":172809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:23:54] local.INFO: IMEI packet received {"connection_id":172809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":172809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:23:55] local.INFO: TCP Data received {"connection_id":172809,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0776bed88012bf8b6000b0ab0d0025b00262a..."} 
[2026-09-06 21:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776bed88012bf8b6000b0ab0d0025b00262a..."} 
[2026-09-06 21:23:55] local.INFO: Processing buffer {"connection_id":172809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776bed88012bf8b6000b0ab0d0025b00262a..."} 
[2026-09-06 21:23:55] local.INFO: Packet analysis {"connection_id":172809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776b"} 
[2026-09-06 21:23:55] local.INFO: Extracted packet for processing {"connection_id":172809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776b"} 
[2026-09-06 21:23:55] local.INFO: GPS Element Parsed {"raw_longitude":737719808,"raw_latitude":185250000,"longitude_deg":73.7719808,"latitude_deg":18.525,"altitude":603,"angle":38,"satellites":42,"speed":46,"hex_longitude":"2bf8b600","hex_latitude":"0b0ab0d0","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909746944001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3543747451158528,"note":"Value kept but may cause issues"} 
[2026-09-06 21:23:55] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-531776552328564734,"note":"Value kept but may cause issues"} 
[2026-09-06 21:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788709957000,"timestamp_ms":1788709957000,"timestamp_seconds":1788709957,"priority":1,"record_length":96,"hex_timestamp":"000001a0776bed88"} 
[2026-09-06 21:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 21:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21: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-09-06 21:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909746944001,"66":27604,"65":206,"4":9216,"24":46,"16":3543747451158528,"43":-531776552328564734},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,4,24,16,43]} 
[2026-09-06 21:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909746944001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:23:55] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-06 21:23:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3543747451158528,"km_value":3543747451158.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:23:55] local.INFO: Unknown IO ID detected {"io_id":43,"value":-531776552328564734,"description":"Unknown IO ID 43"} 
[2026-09-06 21:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909746944001,"power":27604,"unknown_65":206,"unknown_4":9216,"ignition":46,"odometer":null,"unknown_43":-531776552328564734}} 
[2026-09-06 21:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":172809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776079,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:23:55] local.INFO: GPS data processed {"connection_id":172809,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:23:55] local.INFO: Acknowledgment sent {"connection_id":172809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:24:24] local.INFO: TCP Data received {"connection_id":172808,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:24:24] local.INFO: Processing buffer {"connection_id":172808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:24:24] local.INFO: Packet analysis {"connection_id":172808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:24:24] local.INFO: Extracted packet for processing {"connection_id":172808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909673216001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788709962000,"timestamp_ms":1788709962000,"timestamp_seconds":1788709962,"priority":1,"record_length":96,"hex_timestamp":"000001a0776c0110"} 
[2026-09-06 21:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:24: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-09-06 21:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909673216001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909673216001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:24:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909673216001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":172808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:24:24] local.INFO: GPS data processed {"connection_id":172808,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:24:24] local.INFO: Acknowledgment sent {"connection_id":172808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:24:27] local.INFO: TCP Data received {"connection_id":172809,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0776c0cc8012bf8d0400b0acbf0025b00302a..."} 
[2026-09-06 21:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776c0cc8012bf8d0400b0acbf0025b00302a..."} 
[2026-09-06 21:24:27] local.INFO: Processing buffer {"connection_id":172809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776c0cc8012bf8d0400b0acbf0025b00302a..."} 
[2026-09-06 21:24:27] local.INFO: Packet analysis {"connection_id":172809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:24:27] local.INFO: Extracted packet for processing {"connection_id":172809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:24:27] local.INFO: GPS Element Parsed {"raw_longitude":737726528,"raw_latitude":185256944,"longitude_deg":73.7726528,"latitude_deg":18.5256944,"altitude":603,"angle":48,"satellites":42,"speed":49,"hex_longitude":"2bf8d040","hex_latitude":"0b0acbf0","is_valid_coordinates":true} 
[2026-09-06 21:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909748992001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3544202717691904,"note":"Value kept but may cause issues"} 
[2026-09-06 21:24:27] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-525232259118084094,"note":"Value kept but may cause issues"} 
[2026-09-06 21:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788709965000,"timestamp_ms":1788709965000,"timestamp_seconds":1788709965,"priority":1,"record_length":96,"hex_timestamp":"000001a0776c0cc8"} 
[2026-09-06 21:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 21:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909748992001,"66":27615,"65":206,"4":9216,"24":49,"16":3544202717691904,"43":-525232259118084094},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,4,24,16,43]} 
[2026-09-06 21:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909748992001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:24:27] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-06 21:24:27] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3544202717691904,"km_value":3544202717691.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:24:27] local.INFO: Unknown IO ID detected {"io_id":43,"value":-525232259118084094,"description":"Unknown IO ID 43"} 
[2026-09-06 21:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909748992001,"power":27615,"unknown_65":206,"unknown_4":9216,"ignition":49,"odometer":null,"unknown_43":-525232259118084094}} 
[2026-09-06 21:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":172809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776081,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:24:27] local.INFO: GPS data processed {"connection_id":172809,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:24:27] local.INFO: Acknowledgment sent {"connection_id":172809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:24:51] local.INFO: TCP Data received {"connection_id":175529,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:24:51] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:24:51] local.INFO: IMEI packet received {"connection_id":175529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":175529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:24:52] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:24:52] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:24:52] local.INFO: IMEI packet received {"connection_id":174200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":174200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:24:53] local.INFO: TCP Data received {"connection_id":175529,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:24:53] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:24:53] local.INFO: IMEI packet received {"connection_id":175529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":175529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:24:57] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:24:57] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:24:57] local.INFO: IMEI packet received {"connection_id":174200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":174200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:24:58] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:24:58] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:24:58] local.INFO: Packet analysis {"connection_id":174200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:24:58] local.INFO: Extracted packet for processing {"connection_id":174200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:24:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909673216001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788709962000,"timestamp_ms":1788709962000,"timestamp_seconds":1788709962,"priority":1,"record_length":96,"hex_timestamp":"000001a0776c0110"} 
[2026-09-06 21:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:24: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-09-06 21: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 21:24: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-09-06 21: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-09-06 21:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909673216001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909673216001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:24:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:24:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909673216001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":174200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:24:58] local.INFO: GPS data processed {"connection_id":174200,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:24:58] local.INFO: Acknowledgment sent {"connection_id":174200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:24:59] local.INFO: TCP Data received {"connection_id":175529,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:24:59] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:24:59] local.INFO: IMEI packet received {"connection_id":175529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":175529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:25:00] local.INFO: TCP Data received {"connection_id":175529,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0776ce788012bf9bcc00b0b6640024e001729..."} 
[2026-09-06 21:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776ce788012bf9bcc00b0b6640024e001729..."} 
[2026-09-06 21:25:00] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776ce788012bf9bcc00b0b6640024e001729..."} 
[2026-09-06 21:25:00] local.INFO: Packet analysis {"connection_id":175529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:25:00] local.INFO: Extracted packet for processing {"connection_id":175529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:25:00] local.INFO: GPS Element Parsed {"raw_longitude":737787072,"raw_latitude":185296448,"longitude_deg":73.7787072,"latitude_deg":18.5296448,"altitude":590,"angle":23,"satellites":41,"speed":40,"hex_longitude":"2bf9bcc0","hex_latitude":"0b0b6640","is_valid_coordinates":true} 
[2026-09-06 21:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909763584001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3547677346234368,"note":"Value kept but may cause issues"} 
[2026-09-06 21:25:00] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-455778308604674046,"note":"Value kept but may cause issues"} 
[2026-09-06 21:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788710021000,"timestamp_ms":1788710021000,"timestamp_seconds":1788710021,"priority":1,"record_length":96,"hex_timestamp":"000001a0776ce788"} 
[2026-09-06 21:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-06 21:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909763584001,"66":27604,"113":206,"4":9216,"24":40,"16":3547677346234368,"43":-455778308604674046},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,4,24,16,43]} 
[2026-09-06 21:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909763584001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:25:00] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-06 21:25:00] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3547677346234368,"km_value":3547677346234.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:25:00] local.INFO: Unknown IO ID detected {"io_id":43,"value":-455778308604674046,"description":"Unknown IO ID 43"} 
[2026-09-06 21:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909763584001,"power":27604,"unknown_113":206,"unknown_4":9216,"ignition":40,"odometer":null,"unknown_43":-455778308604674046}} 
[2026-09-06 21:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":175529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776083,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:25:00] local.INFO: GPS data processed {"connection_id":175529,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:25:00] local.INFO: Acknowledgment sent {"connection_id":175529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:25:02] local.INFO: TCP Data received {"connection_id":174200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:25:02] local.INFO: Processing buffer {"connection_id":174200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:25:02] local.INFO: Packet analysis {"connection_id":174200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:25:02] local.INFO: Extracted packet for processing {"connection_id":174200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:25:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909673216001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788709962000,"timestamp_ms":1788709962000,"timestamp_seconds":1788709962,"priority":1,"record_length":96,"hex_timestamp":"000001a0776c0110"} 
[2026-09-06 21:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:25: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-09-06 21: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 21:25: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-09-06 21: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-09-06 21:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909673216001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909673216001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:25:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:25:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909673216001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":174200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:25:02] local.INFO: GPS data processed {"connection_id":174200,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:25:02] local.INFO: Acknowledgment sent {"connection_id":174200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:25:32] local.INFO: TCP Data received {"connection_id":175529,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0776d0ab0012bf9cb400b0b86c0024e001629..."} 
[2026-09-06 21:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776d0ab0012bf9cb400b0b86c0024e001629..."} 
[2026-09-06 21:25:32] local.INFO: Processing buffer {"connection_id":175529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776d0ab0012bf9cb400b0b86c0024e001629..."} 
[2026-09-06 21:25:32] local.INFO: Packet analysis {"connection_id":175529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776d"} 
[2026-09-06 21:25:32] local.INFO: Extracted packet for processing {"connection_id":175529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776d"} 
[2026-09-06 21:25:32] local.INFO: GPS Element Parsed {"raw_longitude":737790784,"raw_latitude":185304768,"longitude_deg":73.7790784,"latitude_deg":18.5304768,"altitude":590,"angle":22,"satellites":41,"speed":40,"hex_longitude":"2bf9cb40","hex_latitude":"0b0b86c0","is_valid_coordinates":true} 
[2026-09-06 21:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909765376001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3548115432898560,"note":"Value kept but may cause issues"} 
[2026-09-06 21:25:32] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-451274708975468542,"note":"Value kept but may cause issues"} 
[2026-09-06 21:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788710030000,"timestamp_ms":1788710030000,"timestamp_seconds":1788710030,"priority":1,"record_length":96,"hex_timestamp":"000001a0776d0ab0"} 
[2026-09-06 21:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:25: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-09-06 21:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 21:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":175529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":175529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":175529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909765376001,"66":27571,"113":206,"4":9216,"24":40,"16":3548115432898560,"43":-451274708975468542},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,4,24,16,43]} 
[2026-09-06 21:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909765376001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:25:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-06 21:25:32] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3548115432898560,"km_value":3548115432898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:25:32] local.INFO: Unknown IO ID detected {"io_id":43,"value":-451274708975468542,"description":"Unknown IO ID 43"} 
[2026-09-06 21:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909765376001,"power":27571,"unknown_113":206,"unknown_4":9216,"ignition":40,"odometer":null,"unknown_43":-451274708975468542}} 
[2026-09-06 21:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":175529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776085,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:25:32] local.INFO: GPS data processed {"connection_id":175529,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:25:32] local.INFO: Acknowledgment sent {"connection_id":175529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:25:47] local.INFO: TCP Data received {"connection_id":172810,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:25:47] local.INFO: Processing buffer {"connection_id":172810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:25:47] local.INFO: IMEI packet received {"connection_id":172810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":172810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:25:48] local.INFO: TCP Data received {"connection_id":172811,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:25:48] local.INFO: Processing buffer {"connection_id":172811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:25:48] local.INFO: IMEI packet received {"connection_id":172811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":172811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:25:49] local.INFO: TCP Data received {"connection_id":172811,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:25:49] local.INFO: Processing buffer {"connection_id":172811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:25:49] local.INFO: IMEI packet received {"connection_id":172811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":172811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:25:52] local.INFO: TCP Data received {"connection_id":172810,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:25:52] local.INFO: Processing buffer {"connection_id":172810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:25:52] local.INFO: IMEI packet received {"connection_id":172810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":172810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:25:53] local.INFO: TCP Data received {"connection_id":172810,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:25:53] local.INFO: Processing buffer {"connection_id":172810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:25:53] local.INFO: Packet analysis {"connection_id":172810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:25:53] local.INFO: Extracted packet for processing {"connection_id":172810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:25:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909673216001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788709962000,"timestamp_ms":1788709962000,"timestamp_seconds":1788709962,"priority":1,"record_length":96,"hex_timestamp":"000001a0776c0110"} 
[2026-09-06 21:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:25: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-09-06 21: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 21:25: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-09-06 21: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-09-06 21:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909673216001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909673216001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:25:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:25:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909673216001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":172810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:25:53] local.INFO: GPS data processed {"connection_id":172810,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:25:53] local.INFO: Acknowledgment sent {"connection_id":172810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:25:54] local.INFO: TCP Data received {"connection_id":172811,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:25:54] local.INFO: Processing buffer {"connection_id":172811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:25:54] local.INFO: IMEI packet received {"connection_id":172811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":172811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:25:55] local.INFO: TCP Data received {"connection_id":172811,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0776d35a8012bf9d9400b0ba7f0024e00142b..."} 
[2026-09-06 21:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776d35a8012bf9d9400b0ba7f0024e00142b..."} 
[2026-09-06 21:25:55] local.INFO: Processing buffer {"connection_id":172811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776d35a8012bf9d9400b0ba7f0024e00142b..."} 
[2026-09-06 21:25:55] local.INFO: Packet analysis {"connection_id":172811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776d"} 
[2026-09-06 21:25:55] local.INFO: Extracted packet for processing {"connection_id":172811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776d"} 
[2026-09-06 21:25:55] local.INFO: GPS Element Parsed {"raw_longitude":737794368,"raw_latitude":185313264,"longitude_deg":73.7794368,"latitude_deg":18.5313264,"altitude":590,"angle":20,"satellites":43,"speed":27,"hex_longitude":"2bf9d940","hex_latitude":"0b0ba7f0","is_valid_coordinates":true} 
[2026-09-06 21:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909767680001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3548562109497344,"note":"Value kept but may cause issues"} 
[2026-09-06 21:25:55] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-447193321811034110,"note":"Value kept but may cause issues"} 
[2026-09-06 21:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788710041000,"timestamp_ms":1788710041000,"timestamp_seconds":1788710041,"priority":1,"record_length":96,"hex_timestamp":"000001a0776d35a8"} 
[2026-09-06 21:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-06 21:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909767680001,"66":27789,"113":206,"4":9216,"24":27,"16":3548562109497344,"43":-447193321811034110},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,4,24,16,43]} 
[2026-09-06 21:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909767680001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:25:55] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-06 21:25:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3548562109497344,"km_value":3548562109497.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:25:55] local.INFO: Unknown IO ID detected {"io_id":43,"value":-447193321811034110,"description":"Unknown IO ID 43"} 
[2026-09-06 21:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909767680001,"power":27789,"unknown_113":206,"unknown_4":9216,"ignition":27,"odometer":null,"unknown_43":-447193321811034110}} 
[2026-09-06 21:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":172811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776087,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:25:55] local.INFO: GPS data processed {"connection_id":172811,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:25:55] local.INFO: Acknowledgment sent {"connection_id":172811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:25:58] local.INFO: TCP Data received {"connection_id":172810,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:25:58] local.INFO: Processing buffer {"connection_id":172810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:25:58] local.INFO: Packet analysis {"connection_id":172810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:25:58] local.INFO: Extracted packet for processing {"connection_id":172810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:25:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909673216001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788709962000,"timestamp_ms":1788709962000,"timestamp_seconds":1788709962,"priority":1,"record_length":96,"hex_timestamp":"000001a0776c0110"} 
[2026-09-06 21:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:25: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-09-06 21:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 21:25: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-09-06 21:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:25: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-09-06 21:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909673216001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909673216001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:25:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:25:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909673216001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":172810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:25:58] local.INFO: GPS data processed {"connection_id":172810,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:25:58] local.INFO: Acknowledgment sent {"connection_id":172810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:26:27] local.INFO: TCP Data received {"connection_id":172811,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0776ea8c0012bfa0c800b0ce6d0025f014a28..."} 
[2026-09-06 21:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776ea8c0012bfa0c800b0ce6d0025f014a28..."} 
[2026-09-06 21:26:27] local.INFO: Processing buffer {"connection_id":172811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776ea8c0012bfa0c800b0ce6d0025f014a28..."} 
[2026-09-06 21:26:27] local.INFO: Packet analysis {"connection_id":172811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776e"} 
[2026-09-06 21:26:27] local.INFO: Extracted packet for processing {"connection_id":172811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776e"} 
[2026-09-06 21:26:27] local.INFO: GPS Element Parsed {"raw_longitude":737807488,"raw_latitude":185394896,"longitude_deg":73.7807488,"latitude_deg":18.5394896,"altitude":607,"angle":330,"satellites":40,"speed":44,"hex_longitude":"2bfa0c80","hex_latitude":"0b0ce6d0","is_valid_coordinates":true} 
[2026-09-06 21:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909793280001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3552668098232320,"note":"Value kept but may cause issues"} 
[2026-09-06 21:26:27] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-425730854815326206,"note":"Value kept but may cause issues"} 
[2026-09-06 21:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788710136000,"timestamp_ms":1788710136000,"timestamp_seconds":1788710136,"priority":1,"record_length":96,"hex_timestamp":"000001a0776ea8c0"} 
[2026-09-06 21:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-06 21:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909793280001,"66":27441,"111":206,"4":9216,"24":44,"16":3552668098232320,"43":-425730854815326206},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,4,24,16,43]} 
[2026-09-06 21:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909793280001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:26:27] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-06 21:26:27] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3552668098232320,"km_value":3552668098232.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:26:27] local.INFO: Unknown IO ID detected {"io_id":43,"value":-425730854815326206,"description":"Unknown IO ID 43"} 
[2026-09-06 21:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909793280001,"power":27441,"unknown_111":206,"unknown_4":9216,"ignition":44,"odometer":null,"unknown_43":-425730854815326206}} 
[2026-09-06 21:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":172811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776089,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:26:27] local.INFO: GPS data processed {"connection_id":172811,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:26:27] local.INFO: Acknowledgment sent {"connection_id":172811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:26:29] local.INFO: TCP Data received {"connection_id":172810,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:26:29] local.INFO: Processing buffer {"connection_id":172810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:26:29] local.INFO: Packet analysis {"connection_id":172810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:26:29] local.INFO: Extracted packet for processing {"connection_id":172810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:26:29] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909673216001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:26: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-09-06 21:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788709962000,"timestamp_ms":1788709962000,"timestamp_seconds":1788709962,"priority":1,"record_length":96,"hex_timestamp":"000001a0776c0110"} 
[2026-09-06 21:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:26: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-09-06 21:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 21:26: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-09-06 21:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909673216001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909673216001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:26:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:26:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909673216001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":172810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:26:29] local.INFO: GPS data processed {"connection_id":172810,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:26:29] local.INFO: Acknowledgment sent {"connection_id":172810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:26:47] local.INFO: TCP Data received {"connection_id":172812,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:26:47] local.INFO: Processing buffer {"connection_id":172812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:26:47] local.INFO: IMEI packet received {"connection_id":172812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":172812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:26:48] local.INFO: TCP Data received {"connection_id":174201,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:26:48] local.INFO: Processing buffer {"connection_id":174201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:26:48] local.INFO: IMEI packet received {"connection_id":174201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":174201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:26:51] local.INFO: TCP Data received {"connection_id":172812,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:26:51] local.INFO: Processing buffer {"connection_id":172812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:26:51] local.INFO: IMEI packet received {"connection_id":172812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":172812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:26:53] local.INFO: TCP Data received {"connection_id":172812,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:26:53] local.INFO: Processing buffer {"connection_id":172812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:26:53] local.INFO: Packet analysis {"connection_id":172812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:26:53] local.INFO: Extracted packet for processing {"connection_id":172812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909673216001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788709962000,"timestamp_ms":1788709962000,"timestamp_seconds":1788709962,"priority":1,"record_length":96,"hex_timestamp":"000001a0776c0110"} 
[2026-09-06 21:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:26: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-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909673216001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909673216001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:26:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909673216001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":172812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:26:53] local.INFO: GPS data processed {"connection_id":172812,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:26:53] local.INFO: Acknowledgment sent {"connection_id":172812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:26:53] local.INFO: TCP Data received {"connection_id":174201,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:26:53] local.INFO: Processing buffer {"connection_id":174201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:26:53] local.INFO: IMEI packet received {"connection_id":174201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":174201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:26:55] local.INFO: TCP Data received {"connection_id":174201,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0776ec030012bf9fc000b0cfc00025f013f2a..."} 
[2026-09-06 21:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776ec030012bf9fc000b0cfc00025f013f2a..."} 
[2026-09-06 21:26:55] local.INFO: Processing buffer {"connection_id":174201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776ec030012bf9fc000b0cfc00025f013f2a..."} 
[2026-09-06 21:26:55] local.INFO: Packet analysis {"connection_id":174201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776e"} 
[2026-09-06 21:26:55] local.INFO: Extracted packet for processing {"connection_id":174201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776e"} 
[2026-09-06 21:26:55] local.INFO: GPS Element Parsed {"raw_longitude":737803264,"raw_latitude":185400320,"longitude_deg":73.7803264,"latitude_deg":18.540032,"altitude":607,"angle":319,"satellites":42,"speed":44,"hex_longitude":"2bf9fc00","hex_latitude":"0b0cfc00","is_valid_coordinates":true} 
[2026-09-06 21:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909794816001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3552990220779520,"note":"Value kept but may cause issues"} 
[2026-09-06 21:26:55] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-428827079557591038,"note":"Value kept but may cause issues"} 
[2026-09-06 21:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788710142000,"timestamp_ms":1788710142000,"timestamp_seconds":1788710142,"priority":1,"record_length":96,"hex_timestamp":"000001a0776ec030"} 
[2026-09-06 21:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-06 21:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909794816001,"66":27626,"111":206,"4":9216,"24":44,"16":3552990220779520,"43":-428827079557591038},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,4,24,16,43]} 
[2026-09-06 21:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909794816001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:26:55] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-06 21:26:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3552990220779520,"km_value":3552990220779.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:26:55] local.INFO: Unknown IO ID detected {"io_id":43,"value":-428827079557591038,"description":"Unknown IO ID 43"} 
[2026-09-06 21:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909794816001,"power":27626,"unknown_111":206,"unknown_4":9216,"ignition":44,"odometer":null,"unknown_43":-428827079557591038}} 
[2026-09-06 21:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":174201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776092,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:26:55] local.INFO: GPS data processed {"connection_id":174201,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:26:55] local.INFO: Acknowledgment sent {"connection_id":174201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:27:24] local.INFO: TCP Data received {"connection_id":172812,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:27:24] local.INFO: Processing buffer {"connection_id":172812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:27:24] local.INFO: Packet analysis {"connection_id":172812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:27:24] local.INFO: Extracted packet for processing {"connection_id":172812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:27:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909673216001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788709962000,"timestamp_ms":1788709962000,"timestamp_seconds":1788709962,"priority":1,"record_length":96,"hex_timestamp":"000001a0776c0110"} 
[2026-09-06 21:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909673216001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909673216001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:27:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:27:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909673216001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":172812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:27:24] local.INFO: GPS data processed {"connection_id":172812,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:27:24] local.INFO: Acknowledgment sent {"connection_id":172812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:27:26] local.INFO: TCP Data received {"connection_id":174201,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0776ed7a0012bf9e7400b0d0e10025f013429..."} 
[2026-09-06 21:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776ed7a0012bf9e7400b0d0e10025f013429..."} 
[2026-09-06 21:27:26] local.INFO: Processing buffer {"connection_id":174201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776ed7a0012bf9e7400b0d0e10025f013429..."} 
[2026-09-06 21:27:26] local.INFO: Packet analysis {"connection_id":174201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776e"} 
[2026-09-06 21:27:26] local.INFO: Extracted packet for processing {"connection_id":174201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776e"} 
[2026-09-06 21:27:26] local.INFO: GPS Element Parsed {"raw_longitude":737797952,"raw_latitude":185404944,"longitude_deg":73.7797952,"latitude_deg":18.5404944,"altitude":607,"angle":308,"satellites":41,"speed":45,"hex_longitude":"2bf9e740","hex_latitude":"0b0d0e10","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909796352001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3553325228228608,"note":"Value kept but may cause issues"} 
[2026-09-06 21:27:26] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-433471416671928318,"note":"Value kept but may cause issues"} 
[2026-09-06 21:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788710148000,"timestamp_ms":1788710148000,"timestamp_seconds":1788710148,"priority":1,"record_length":96,"hex_timestamp":"000001a0776ed7a0"} 
[2026-09-06 21:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-06 21:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21: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-09-06 21:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909796352001,"66":27767,"111":206,"4":9216,"24":45,"16":3553325228228608,"43":-433471416671928318},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,4,24,16,43]} 
[2026-09-06 21:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909796352001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:27:26] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-06 21:27:26] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3553325228228608,"km_value":3553325228228.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:27:26] local.INFO: Unknown IO ID detected {"io_id":43,"value":-433471416671928318,"description":"Unknown IO ID 43"} 
[2026-09-06 21:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909796352001,"power":27767,"unknown_111":206,"unknown_4":9216,"ignition":45,"odometer":null,"unknown_43":-433471416671928318}} 
[2026-09-06 21:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":174201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776094,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:27:26] local.INFO: GPS data processed {"connection_id":174201,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:27:26] local.INFO: Acknowledgment sent {"connection_id":174201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:27:47] local.INFO: TCP Data received {"connection_id":175530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:27:47] local.INFO: Processing buffer {"connection_id":175530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:27:47] local.INFO: IMEI packet received {"connection_id":175530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":175530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:27:48] local.INFO: TCP Data received {"connection_id":174202,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:27:48] local.INFO: Processing buffer {"connection_id":174202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:27:48] local.INFO: IMEI packet received {"connection_id":174202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":174202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:27:52] local.INFO: TCP Data received {"connection_id":175530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:27:52] local.INFO: Processing buffer {"connection_id":175530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:27:52] local.INFO: IMEI packet received {"connection_id":175530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":175530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:27:53] local.INFO: TCP Data received {"connection_id":175530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:27:53] local.INFO: Processing buffer {"connection_id":175530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776c0110012d34cc0006aa43600000005323..."} 
[2026-09-06 21:27:53] local.INFO: Packet analysis {"connection_id":175530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:27:53] local.INFO: Extracted packet for processing {"connection_id":175530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776c"} 
[2026-09-06 21:27:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909673216001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788709962000,"timestamp_ms":1788709962000,"timestamp_seconds":1788709962,"priority":1,"record_length":96,"hex_timestamp":"000001a0776c0110"} 
[2026-09-06 21:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:27: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-09-06 21: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 21:27: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-09-06 21: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-09-06 21:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:27: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-09-06 21:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909673216001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909673216001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:27:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:27:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909673216001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":175530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:27:53] local.INFO: GPS data processed {"connection_id":175530,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:27:53] local.INFO: Acknowledgment sent {"connection_id":175530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:27:54] local.INFO: TCP Data received {"connection_id":174202,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:27:54] local.INFO: Processing buffer {"connection_id":174202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:27:54] local.INFO: IMEI packet received {"connection_id":174202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":174202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:27:55] local.INFO: TCP Data received {"connection_id":174202,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0776efac8012bf9c9400b0d22f0025f013129..."} 
[2026-09-06 21:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0776efac8012bf9c9400b0d22f0025f013129..."} 
[2026-09-06 21:27:55] local.INFO: Processing buffer {"connection_id":174202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0776efac8012bf9c9400b0d22f0025f013129..."} 
[2026-09-06 21:27:55] local.INFO: Packet analysis {"connection_id":174202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0776e"} 
[2026-09-06 21:27:55] local.INFO: Extracted packet for processing {"connection_id":174202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0776e"} 
[2026-09-06 21:27:55] local.INFO: GPS Element Parsed {"raw_longitude":737790272,"raw_latitude":185410288,"longitude_deg":73.7790272,"latitude_deg":18.5410288,"altitude":607,"angle":305,"satellites":41,"speed":38,"hex_longitude":"2bf9c940","hex_latitude":"0b0d22f0","is_valid_coordinates":true} 
[2026-09-06 21:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909797888001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3553763314892800,"note":"Value kept but may cause issues"} 
[2026-09-06 21:27:55] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-439312022437490686,"note":"Value kept but may cause issues"} 
[2026-09-06 21:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788710157000,"timestamp_ms":1788710157000,"timestamp_seconds":1788710157,"priority":1,"record_length":96,"hex_timestamp":"000001a0776efac8"} 
[2026-09-06 21:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-06 21:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909797888001,"66":27626,"111":206,"4":9216,"24":38,"16":3553763314892800,"43":-439312022437490686},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,4,24,16,43]} 
[2026-09-06 21:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909797888001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:27:55] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-06 21:27:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3553763314892800,"km_value":3553763314892.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:27:55] local.INFO: Unknown IO ID detected {"io_id":43,"value":-439312022437490686,"description":"Unknown IO ID 43"} 
[2026-09-06 21:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909797888001,"power":27626,"unknown_111":206,"unknown_4":9216,"ignition":38,"odometer":null,"unknown_43":-439312022437490686}} 
[2026-09-06 21:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":174202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776096,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:27:56] local.INFO: GPS data processed {"connection_id":174202,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:27:56] local.INFO: Acknowledgment sent {"connection_id":174202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:28:24] local.INFO: TCP Data received {"connection_id":175530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:28:24] local.INFO: Processing buffer {"connection_id":175530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:28:24] local.INFO: Packet analysis {"connection_id":175530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:28:24] local.INFO: Extracted packet for processing {"connection_id":175530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:28:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909750272001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788710263000,"timestamp_ms":1788710263000,"timestamp_seconds":1788710263,"priority":1,"record_length":96,"hex_timestamp":"000001a0777098d8"} 
[2026-09-06 21:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:28: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-09-06 21: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 21:28: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-09-06 21: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-09-06 21:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:28: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-09-06 21:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909750272001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909750272001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:28:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:28:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909750272001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":175530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:28:24] local.INFO: GPS data processed {"connection_id":175530,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:28:24] local.INFO: Acknowledgment sent {"connection_id":175530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:28:27] local.INFO: TCP Data received {"connection_id":174202,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a077706610012bf8ca800b0e8b900253015523..."} 
[2026-09-06 21:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077706610012bf8ca800b0e8b900253015523..."} 
[2026-09-06 21:28:27] local.INFO: Processing buffer {"connection_id":174202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077706610012bf8ca800b0e8b900253015523..."} 
[2026-09-06 21:28:27] local.INFO: Packet analysis {"connection_id":174202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:28:27] local.INFO: Extracted packet for processing {"connection_id":174202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:28:27] local.INFO: GPS Element Parsed {"raw_longitude":737725056,"raw_latitude":185502608,"longitude_deg":73.7725056,"latitude_deg":18.5502608,"altitude":595,"angle":341,"satellites":35,"speed":60,"hex_longitude":"2bf8ca80","hex_latitude":"0b0e8b90","is_valid_coordinates":true} 
[2026-09-06 21:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909822208001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3559325297541120,"note":"Value kept but may cause issues"} 
[2026-09-06 21:28:27] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-515591741103587326,"note":"Value kept but may cause issues"} 
[2026-09-06 21:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788710250000,"timestamp_ms":1788710250000,"timestamp_seconds":1788710250,"priority":1,"record_length":96,"hex_timestamp":"000001a077706610"} 
[2026-09-06 21:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-06 21:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909822208001,"66":27463,"227":206,"4":9216,"24":60,"16":3559325297541120,"43":-515591741103587326},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,4,24,16,43]} 
[2026-09-06 21:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909822208001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:28:27] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-06 21:28:27] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3559325297541120,"km_value":3559325297541.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:28:27] local.INFO: Unknown IO ID detected {"io_id":43,"value":-515591741103587326,"description":"Unknown IO ID 43"} 
[2026-09-06 21:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909822208001,"power":27463,"unknown_227":206,"unknown_4":9216,"ignition":60,"odometer":null,"unknown_43":-515591741103587326}} 
[2026-09-06 21:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":174202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776098,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:28:27] local.INFO: GPS data processed {"connection_id":174202,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:28:27] local.INFO: Acknowledgment sent {"connection_id":174202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:28:47] local.INFO: TCP Data received {"connection_id":175531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:28:47] local.INFO: Processing buffer {"connection_id":175531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:28:47] local.INFO: IMEI packet received {"connection_id":175531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":175531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:28:48] local.INFO: TCP Data received {"connection_id":173041,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:28:48] local.INFO: Processing buffer {"connection_id":173041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:28:48] local.INFO: IMEI packet received {"connection_id":173041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":173041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:28:51] local.INFO: TCP Data received {"connection_id":173041,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:28:51] local.INFO: Processing buffer {"connection_id":173041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:28:51] local.INFO: IMEI packet received {"connection_id":173041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":173041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:28:52] local.INFO: TCP Data received {"connection_id":175531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:28:52] local.INFO: Processing buffer {"connection_id":175531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:28:52] local.INFO: IMEI packet received {"connection_id":175531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":175531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:28:53] local.INFO: TCP Data received {"connection_id":175531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:28:53] local.INFO: Processing buffer {"connection_id":175531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:28:53] local.INFO: Packet analysis {"connection_id":175531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:28:53] local.INFO: Extracted packet for processing {"connection_id":175531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909750272001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788710263000,"timestamp_ms":1788710263000,"timestamp_seconds":1788710263,"priority":1,"record_length":96,"hex_timestamp":"000001a0777098d8"} 
[2026-09-06 21:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:28: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-09-06 21: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 21:28: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-09-06 21: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-09-06 21:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909750272001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909750272001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:28:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909750272001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":175531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:28:53] local.INFO: GPS data processed {"connection_id":175531,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:28:53] local.INFO: Acknowledgment sent {"connection_id":175531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:28:54] local.INFO: TCP Data received {"connection_id":173041,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:28:54] local.INFO: Processing buffer {"connection_id":173041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:28:54] local.INFO: IMEI packet received {"connection_id":173041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":173041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:28:55] local.INFO: TCP Data received {"connection_id":173041,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a077708168012bf8bdc00b0eb1900252015527..."} 
[2026-09-06 21:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077708168012bf8bdc00b0eb1900252015527..."} 
[2026-09-06 21:28:55] local.INFO: Processing buffer {"connection_id":173041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077708168012bf8bdc00b0eb1900252015527..."} 
[2026-09-06 21:28:55] local.INFO: Packet analysis {"connection_id":173041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:28:55] local.INFO: Extracted packet for processing {"connection_id":173041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:28:55] local.INFO: GPS Element Parsed {"raw_longitude":737721792,"raw_latitude":185512336,"longitude_deg":73.7721792,"latitude_deg":18.5512336,"altitude":594,"angle":341,"satellites":39,"speed":55,"hex_longitude":"2bf8bdc0","hex_latitude":"0b0eb190","is_valid_coordinates":true} 
[2026-09-06 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-09-06 21:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909824000001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3559819218780160,"note":"Value kept but may cause issues"} 
[2026-09-06 21:28:55] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-519462022030847998,"note":"Value kept but may cause issues"} 
[2026-09-06 21:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788710257000,"timestamp_ms":1788710257000,"timestamp_seconds":1788710257,"priority":1,"record_length":96,"hex_timestamp":"000001a077708168"} 
[2026-09-06 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-09-06 21:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-06 21:28: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-09-06 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-09-06 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-09-06 21:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909824000001,"66":27604,"227":206,"4":9216,"24":55,"16":3559819218780160,"43":-519462022030847998},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,4,24,16,43]} 
[2026-09-06 21:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909824000001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:28:55] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-06 21:28:55] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3559819218780160,"km_value":3559819218780.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:28:55] local.INFO: Unknown IO ID detected {"io_id":43,"value":-519462022030847998,"description":"Unknown IO ID 43"} 
[2026-09-06 21:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909824000001,"power":27604,"unknown_227":206,"unknown_4":9216,"ignition":55,"odometer":null,"unknown_43":-519462022030847998}} 
[2026-09-06 21:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":173041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776100,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:28:55] local.INFO: GPS data processed {"connection_id":173041,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:28:55] local.INFO: Acknowledgment sent {"connection_id":173041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:29:24] local.INFO: TCP Data received {"connection_id":175531,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:29:24] local.INFO: Processing buffer {"connection_id":175531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:29:24] local.INFO: Packet analysis {"connection_id":175531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:29:24] local.INFO: Extracted packet for processing {"connection_id":175531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:29:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909750272001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788710263000,"timestamp_ms":1788710263000,"timestamp_seconds":1788710263,"priority":1,"record_length":96,"hex_timestamp":"000001a0777098d8"} 
[2026-09-06 21:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:29: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-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:29: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-09-06 21:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909750272001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909750272001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:29:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:29:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909750272001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":175531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:29:24] local.INFO: GPS data processed {"connection_id":175531,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:29:24] local.INFO: Acknowledgment sent {"connection_id":175531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:29:43] local.INFO: TCP Data received {"connection_id":173041,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a077709cc0012bf8b2000b0ed3100251015527..."} 
[2026-09-06 21:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077709cc0012bf8b2000b0ed3100251015527..."} 
[2026-09-06 21:29:43] local.INFO: Processing buffer {"connection_id":173041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077709cc0012bf8b2000b0ed3100251015527..."} 
[2026-09-06 21:29:43] local.INFO: Packet analysis {"connection_id":173041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:29:43] local.INFO: Extracted packet for processing {"connection_id":173041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:29:43] local.INFO: GPS Element Parsed {"raw_longitude":737718784,"raw_latitude":185520912,"longitude_deg":73.7718784,"latitude_deg":18.5520912,"altitude":593,"angle":341,"satellites":39,"speed":48,"hex_longitude":"2bf8b200","hex_latitude":"0b0ed310","is_valid_coordinates":true} 
[2026-09-06 21:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909825792001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3560257305444352,"note":"Value kept but may cause issues"} 
[2026-09-06 21:29:43] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-523050827981418494,"note":"Value kept but may cause issues"} 
[2026-09-06 21:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788710264000,"timestamp_ms":1788710264000,"timestamp_seconds":1788710264,"priority":1,"record_length":96,"hex_timestamp":"000001a077709cc0"} 
[2026-09-06 21:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:29: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-09-06 21:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-06 21:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909825792001,"66":27517,"227":206,"4":9216,"24":48,"16":3560257305444352,"43":-523050827981418494},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,4,24,16,43]} 
[2026-09-06 21:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909825792001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:29:43] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-06 21:29:43] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3560257305444352,"km_value":3560257305444.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:29:43] local.INFO: Unknown IO ID detected {"io_id":43,"value":-523050827981418494,"description":"Unknown IO ID 43"} 
[2026-09-06 21:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909825792001,"power":27517,"unknown_227":206,"unknown_4":9216,"ignition":48,"odometer":null,"unknown_43":-523050827981418494}} 
[2026-09-06 21:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":173041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776102,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:29:43] local.INFO: GPS data processed {"connection_id":173041,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:29:43] local.INFO: Acknowledgment sent {"connection_id":173041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:29:46] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:29:46] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:29:46] local.INFO: IMEI packet received {"connection_id":175532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":175532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:29:52] local.INFO: TCP Data received {"connection_id":174203,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:29:52] local.INFO: Processing buffer {"connection_id":174203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:29:52] local.INFO: IMEI packet received {"connection_id":174203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":174203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:29:52] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:29:52] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:29:52] local.INFO: IMEI packet received {"connection_id":175532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":175532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:29:53] local.INFO: TCP Data received {"connection_id":174203,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:29:53] local.INFO: Processing buffer {"connection_id":174203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:29:53] local.INFO: IMEI packet received {"connection_id":174203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":174203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:29:54] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:29:54] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:29:54] local.INFO: Packet analysis {"connection_id":175532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:29:54] local.INFO: Extracted packet for processing {"connection_id":175532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:29:54] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 21:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909750272001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 21:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788710263000,"timestamp_ms":1788710263000,"timestamp_seconds":1788710263,"priority":1,"record_length":96,"hex_timestamp":"000001a0777098d8"} 
[2026-09-06 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-09-06 21:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 21:29: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-09-06 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-09-06 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-09-06 21:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:29: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-09-06 21:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909750272001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909750272001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:29:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:29:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909750272001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":175532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:29:54] local.INFO: GPS data processed {"connection_id":175532,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:29:54] local.INFO: Acknowledgment sent {"connection_id":175532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:29:59] local.INFO: TCP Data received {"connection_id":174203,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:29:59] local.INFO: Processing buffer {"connection_id":174203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:29:59] local.INFO: IMEI packet received {"connection_id":174203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":174203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:30:00] local.INFO: TCP Data received {"connection_id":174203,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07770bc00012bf8a5400b0ef7b0024e015621..."} 
[2026-09-06 21:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07770bc00012bf8a5400b0ef7b0024e015621..."} 
[2026-09-06 21:30:00] local.INFO: Processing buffer {"connection_id":174203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07770bc00012bf8a5400b0ef7b0024e015621..."} 
[2026-09-06 21:30:00] local.INFO: Packet analysis {"connection_id":174203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:30:00] local.INFO: Extracted packet for processing {"connection_id":174203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:30:00] local.INFO: GPS Element Parsed {"raw_longitude":737715520,"raw_latitude":185530288,"longitude_deg":73.771552,"latitude_deg":18.5530288,"altitude":590,"angle":342,"satellites":33,"speed":51,"hex_longitude":"2bf8a540","hex_latitude":"0b0ef7b0","is_valid_coordinates":true} 
[2026-09-06 21:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909827584001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3560738341781504,"note":"Value kept but may cause issues"} 
[2026-09-06 21:30:00] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-526358158955573246,"note":"Value kept but may cause issues"} 
[2026-09-06 21:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788710272000,"timestamp_ms":1788710272000,"timestamp_seconds":1788710272,"priority":1,"record_length":96,"hex_timestamp":"000001a07770bc00"} 
[2026-09-06 21:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-06 21:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909827584001,"66":27550,"227":206,"4":9216,"24":51,"16":3560738341781504,"43":-526358158955573246},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,4,24,16,43]} 
[2026-09-06 21:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909827584001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:30:00] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-06 21:30:00] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3560738341781504,"km_value":3560738341781.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:30:00] local.INFO: Unknown IO ID detected {"io_id":43,"value":-526358158955573246,"description":"Unknown IO ID 43"} 
[2026-09-06 21:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909827584001,"power":27550,"unknown_227":206,"unknown_4":9216,"ignition":51,"odometer":null,"unknown_43":-526358158955573246}} 
[2026-09-06 21:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":174203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776104,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:30:01] local.INFO: GPS data processed {"connection_id":174203,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:30:01] local.INFO: Acknowledgment sent {"connection_id":174203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:30:02] local.INFO: TCP Data received {"connection_id":174203,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07770d758012bf899400b0f1a50024b015521..."} 
[2026-09-06 21:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07770d758012bf899400b0f1a50024b015521..."} 
[2026-09-06 21:30:02] local.INFO: Processing buffer {"connection_id":174203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07770d758012bf899400b0f1a50024b015521..."} 
[2026-09-06 21:30:02] local.INFO: Packet analysis {"connection_id":174203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:30:02] local.INFO: Extracted packet for processing {"connection_id":174203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:30:02] local.INFO: GPS Element Parsed {"raw_longitude":737712448,"raw_latitude":185539152,"longitude_deg":73.7712448,"latitude_deg":18.5539152,"altitude":587,"angle":341,"satellites":33,"speed":54,"hex_longitude":"2bf89940","hex_latitude":"0b0f1a50","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909829632001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3561189313347584,"note":"Value kept but may cause issues"} 
[2026-09-06 21:30:02] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-529946964906233854,"note":"Value kept but may cause issues"} 
[2026-09-06 21:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788710279000,"timestamp_ms":1788710279000,"timestamp_seconds":1788710279,"priority":1,"record_length":96,"hex_timestamp":"000001a07770d758"} 
[2026-09-06 21:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21: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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-06 21:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21: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-09-06 21:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909829632001,"66":27484,"227":206,"4":9216,"24":54,"16":3561189313347584,"43":-529946964906233854},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,4,24,16,43]} 
[2026-09-06 21:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909829632001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:30:02] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-06 21:30:02] local.INFO: Unknown IO ID detected {"io_id":4,"value":9216,"description":"Unknown IO ID 4"} 
[2026-09-06 21:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3561189313347584,"km_value":3561189313347.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:30:02] local.INFO: Unknown IO ID detected {"io_id":43,"value":-529946964906233854,"description":"Unknown IO ID 43"} 
[2026-09-06 21:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909829632001,"power":27484,"unknown_227":206,"unknown_4":9216,"ignition":54,"odometer":null,"unknown_43":-529946964906233854}} 
[2026-09-06 21:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":174203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776105,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:30:02] local.INFO: GPS data processed {"connection_id":174203,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:30:02] local.INFO: Acknowledgment sent {"connection_id":174203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:30:29] local.INFO: TCP Data received {"connection_id":175532,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:30:29] local.INFO: Processing buffer {"connection_id":175532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:30:29] local.INFO: Packet analysis {"connection_id":175532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:30:29] local.INFO: Extracted packet for processing {"connection_id":175532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:30:29] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909750272001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:30: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-09-06 21:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788710263000,"timestamp_ms":1788710263000,"timestamp_seconds":1788710263,"priority":1,"record_length":96,"hex_timestamp":"000001a0777098d8"} 
[2026-09-06 21:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:30: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-09-06 21:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 21:30: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-09-06 21:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909750272001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909750272001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:30:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:30:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909750272001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":175532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:30:29] local.INFO: GPS data processed {"connection_id":175532,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:30:29] local.INFO: Acknowledgment sent {"connection_id":175532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:30:33] local.INFO: TCP Data received {"connection_id":174203,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a077725a10012bf7f4800b10e6a00241015428..."} 
[2026-09-06 21:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077725a10012bf7f4800b10e6a00241015428..."} 
[2026-09-06 21:30:33] local.INFO: Processing buffer {"connection_id":174203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077725a10012bf7f4800b10e6a00241015428..."} 
[2026-09-06 21:30:33] local.INFO: Packet analysis {"connection_id":174203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07772"} 
[2026-09-06 21:30:33] local.INFO: Extracted packet for processing {"connection_id":174203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07772"} 
[2026-09-06 21:30:33] local.INFO: GPS Element Parsed {"raw_longitude":737670272,"raw_latitude":185656992,"longitude_deg":73.7670272,"latitude_deg":18.5656992,"altitude":577,"angle":340,"satellites":40,"speed":49,"hex_longitude":"2bf7f480","hex_latitude":"0b10e6a0","is_valid_coordinates":true} 
[2026-09-06 21:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909854720001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3567223742398464,"note":"Value kept but may cause issues"} 
[2026-09-06 21:30:33] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-575827386079981566,"note":"Value kept but may cause issues"} 
[2026-09-06 21:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788710378000,"timestamp_ms":1788710378000,"timestamp_seconds":1788710378,"priority":1,"record_length":96,"hex_timestamp":"000001a077725a10"} 
[2026-09-06 21:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:30: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-09-06 21:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-06 21:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909854720001,"66":27745,"249":206,"4":8960,"24":49,"16":3567223742398464,"43":-575827386079981566},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,4,24,16,43]} 
[2026-09-06 21:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909854720001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:30:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-06 21:30:33] local.INFO: Unknown IO ID detected {"io_id":4,"value":8960,"description":"Unknown IO ID 4"} 
[2026-09-06 21:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3567223742398464,"km_value":3567223742398.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:30:33] local.INFO: Unknown IO ID detected {"io_id":43,"value":-575827386079981566,"description":"Unknown IO ID 43"} 
[2026-09-06 21:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909854720001,"power":27745,"unknown_249":206,"unknown_4":8960,"ignition":49,"odometer":null,"unknown_43":-575827386079981566}} 
[2026-09-06 21:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":174203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776107,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:30:33] local.INFO: GPS data processed {"connection_id":174203,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:30:33] local.INFO: Acknowledgment sent {"connection_id":174203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:30:47] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:30:47] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:30:47] local.INFO: IMEI packet received {"connection_id":172813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":172813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:30:48] local.INFO: TCP Data received {"connection_id":173042,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:30:48] local.INFO: Processing buffer {"connection_id":173042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:30:48] local.INFO: IMEI packet received {"connection_id":173042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":173042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:30:51] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:30:52] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:30:52] local.INFO: IMEI packet received {"connection_id":172813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":172813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:30:52] local.INFO: TCP Data received {"connection_id":173042,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:30:52] local.INFO: Processing buffer {"connection_id":173042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:30:52] local.INFO: IMEI packet received {"connection_id":173042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":173042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:30:52] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:30:52] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:30:52] local.INFO: Packet analysis {"connection_id":172813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:30:52] local.INFO: Extracted packet for processing {"connection_id":172813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909750272001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788710263000,"timestamp_ms":1788710263000,"timestamp_seconds":1788710263,"priority":1,"record_length":96,"hex_timestamp":"000001a0777098d8"} 
[2026-09-06 21:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 21:30: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-09-06 21: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-09-06 21:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:30: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-09-06 21:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909750272001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909750272001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:30:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909750272001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":172813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:30:52] local.INFO: GPS data processed {"connection_id":172813,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:30:52] local.INFO: Acknowledgment sent {"connection_id":172813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:30:54] local.INFO: TCP Data received {"connection_id":173042,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a077727568012bf7e8400b1108000242015427..."} 
[2026-09-06 21:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077727568012bf7e8400b1108000242015427..."} 
[2026-09-06 21:30:54] local.INFO: Processing buffer {"connection_id":173042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077727568012bf7e8400b1108000242015427..."} 
[2026-09-06 21:30:54] local.INFO: Packet analysis {"connection_id":173042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07772"} 
[2026-09-06 21:30:54] local.INFO: Extracted packet for processing {"connection_id":173042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07772"} 
[2026-09-06 21:30:54] local.INFO: GPS Element Parsed {"raw_longitude":737667136,"raw_latitude":185665536,"longitude_deg":73.7667136,"latitude_deg":18.5665536,"altitude":578,"angle":340,"satellites":39,"speed":52,"hex_longitude":"2bf7e840","hex_latitude":"0b110800","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909856768001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3567661829062656,"note":"Value kept but may cause issues"} 
[2026-09-06 21:30:54] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-579697667007406078,"note":"Value kept but may cause issues"} 
[2026-09-06 21:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788710385000,"timestamp_ms":1788710385000,"timestamp_seconds":1788710385,"priority":1,"record_length":96,"hex_timestamp":"000001a077727568"} 
[2026-09-06 21:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-06 21:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21: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-09-06 21:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909856768001,"66":27713,"249":206,"4":8960,"24":52,"16":3567661829062656,"43":-579697667007406078},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,4,24,16,43]} 
[2026-09-06 21:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909856768001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:30:54] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-06 21:30:54] local.INFO: Unknown IO ID detected {"io_id":4,"value":8960,"description":"Unknown IO ID 4"} 
[2026-09-06 21:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3567661829062656,"km_value":3567661829062.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:30:54] local.INFO: Unknown IO ID detected {"io_id":43,"value":-579697667007406078,"description":"Unknown IO ID 43"} 
[2026-09-06 21:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909856768001,"power":27713,"unknown_249":206,"unknown_4":8960,"ignition":52,"odometer":null,"unknown_43":-579697667007406078}} 
[2026-09-06 21:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":173042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:30:54] local.INFO: GPS data processed {"connection_id":173042,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:30:54] local.INFO: Acknowledgment sent {"connection_id":173042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:31:24] local.INFO: TCP Data received {"connection_id":172813,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:31:24] local.INFO: Processing buffer {"connection_id":172813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:31:24] local.INFO: Packet analysis {"connection_id":172813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:31:24] local.INFO: Extracted packet for processing {"connection_id":172813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:31:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909750272001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788710263000,"timestamp_ms":1788710263000,"timestamp_seconds":1788710263,"priority":1,"record_length":96,"hex_timestamp":"000001a0777098d8"} 
[2026-09-06 21:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 21:31: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-09-06 21: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-09-06 21:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:31: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-09-06 21:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909750272001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909750272001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:31:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909750272001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":172813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:31:24] local.INFO: GPS data processed {"connection_id":172813,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:31:24] local.INFO: Acknowledgment sent {"connection_id":172813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:31:28] local.INFO: TCP Data received {"connection_id":173042,"ip":"117.224.99.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0777290c0012bf7dbc00b1129500242015423..."} 
[2026-09-06 21:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777290c0012bf7dbc00b1129500242015423..."} 
[2026-09-06 21:31:28] local.INFO: Processing buffer {"connection_id":173042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777290c0012bf7dbc00b1129500242015423..."} 
[2026-09-06 21:31:28] local.INFO: Packet analysis {"connection_id":173042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07772"} 
[2026-09-06 21:31:28] local.INFO: Extracted packet for processing {"connection_id":173042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07772"} 
[2026-09-06 21:31:28] local.INFO: GPS Element Parsed {"raw_longitude":737663936,"raw_latitude":185674064,"longitude_deg":73.7663936,"latitude_deg":18.5674064,"altitude":578,"angle":340,"satellites":35,"speed":50,"hex_longitude":"2bf7dbc0","hex_latitude":"0b112950","is_valid_coordinates":true} 
[2026-09-06 21:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909858560001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3568099915726848,"note":"Value kept but may cause issues"} 
[2026-09-06 21:31:28] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-583145735469924350,"note":"Value kept but may cause issues"} 
[2026-09-06 21:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,4,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 21:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788710392000,"timestamp_ms":1788710392000,"timestamp_seconds":1788710392,"priority":1,"record_length":96,"hex_timestamp":"000001a0777290c0"} 
[2026-09-06 21:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 21:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-06 21:31:28] 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-09-06 21:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 21:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.99.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 21:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 21:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909858560001,"66":27550,"249":206,"4":8960,"24":50,"16":3568099915726848,"43":-583145735469924350},"client_ip":"117.224.99.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,4,24,16,43]} 
[2026-09-06 21:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 21:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 21:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909858560001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:31:28] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-06 21:31:28] local.INFO: Unknown IO ID detected {"io_id":4,"value":8960,"description":"Unknown IO ID 4"} 
[2026-09-06 21:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3568099915726848,"km_value":3568099915726.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:31:28] local.INFO: Unknown IO ID detected {"io_id":43,"value":-583145735469924350,"description":"Unknown IO ID 43"} 
[2026-09-06 21:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909858560001,"power":27550,"unknown_249":206,"unknown_4":8960,"ignition":50,"odometer":null,"unknown_43":-583145735469924350}} 
[2026-09-06 21:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":173042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776111,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:31:29] local.INFO: GPS data processed {"connection_id":173042,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:31:29] local.INFO: Acknowledgment sent {"connection_id":173042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:31:52] local.INFO: TCP Data received {"connection_id":172814,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:31:52] local.INFO: Processing buffer {"connection_id":172814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:31:52] local.INFO: IMEI packet received {"connection_id":172814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":172814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:31:56] local.INFO: TCP Data received {"connection_id":175533,"ip":"117.224.99.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:31:56] local.INFO: Processing buffer {"connection_id":175533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:31:56] local.INFO: IMEI packet received {"connection_id":175533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":175533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:31:57] local.INFO: TCP Data received {"connection_id":172814,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:31:57] local.INFO: Processing buffer {"connection_id":172814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:31:57] local.INFO: IMEI packet received {"connection_id":172814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":172814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:31:58] local.INFO: TCP Data received {"connection_id":172814,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:31:58] local.INFO: Processing buffer {"connection_id":172814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:31:58] local.INFO: Packet analysis {"connection_id":172814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:31:58] local.INFO: Extracted packet for processing {"connection_id":172814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:31:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909750272001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788710263000,"timestamp_ms":1788710263000,"timestamp_seconds":1788710263,"priority":1,"record_length":96,"hex_timestamp":"000001a0777098d8"} 
[2026-09-06 21:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:31: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-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:31: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-09-06 21:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909750272001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909750272001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:31:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:31:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909750272001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":172814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:31:58] local.INFO: GPS data processed {"connection_id":172814,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:31:58] local.INFO: Acknowledgment sent {"connection_id":172814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:32:03] local.INFO: TCP Data received {"connection_id":172814,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:32:03] local.INFO: Processing buffer {"connection_id":172814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:32:03] local.INFO: Packet analysis {"connection_id":172814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:32:03] local.INFO: Extracted packet for processing {"connection_id":172814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909750272001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:32: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-09-06 21:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788710263000,"timestamp_ms":1788710263000,"timestamp_seconds":1788710263,"priority":1,"record_length":96,"hex_timestamp":"000001a0777098d8"} 
[2026-09-06 21:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 21:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 21:32: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-09-06 21:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909750272001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909750272001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:32:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:32:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909750272001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":172814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:32:03] local.INFO: GPS data processed {"connection_id":172814,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:32:03] local.INFO: Acknowledgment sent {"connection_id":172814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:32:25] local.INFO: TCP Data received {"connection_id":175533,"ip":"117.224.99.25","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-06 21:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175533,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-06 21:32:25] local.INFO: Processing buffer {"connection_id":175533,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-06 21:32:25] local.INFO: IMEI packet received {"connection_id":175533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 21:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":175533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:32:47] local.INFO: TCP Data received {"connection_id":175534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:32:47] local.INFO: Processing buffer {"connection_id":175534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:32:47] local.INFO: IMEI packet received {"connection_id":175534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":175534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:32:51] local.INFO: TCP Data received {"connection_id":175534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:32:52] local.INFO: Processing buffer {"connection_id":175534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:32:52] local.INFO: IMEI packet received {"connection_id":175534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":175534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:32:53] local.INFO: TCP Data received {"connection_id":175534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:32:53] local.INFO: Processing buffer {"connection_id":175534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777098d8012d34cc0006aa43600000005322..."} 
[2026-09-06 21:32:53] local.INFO: Packet analysis {"connection_id":175534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:32:53] local.INFO: Extracted packet for processing {"connection_id":175534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07770"} 
[2026-09-06 21:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909750272001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788710263000,"timestamp_ms":1788710263000,"timestamp_seconds":1788710263,"priority":1,"record_length":96,"hex_timestamp":"000001a0777098d8"} 
[2026-09-06 21:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 21:32: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-09-06 21: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-09-06 21:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909750272001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909750272001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:32:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909750272001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":175534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:32:53] local.INFO: GPS data processed {"connection_id":175534,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:32:53] local.INFO: Acknowledgment sent {"connection_id":175534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:33:24] local.INFO: TCP Data received {"connection_id":175534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:33:24] local.INFO: Processing buffer {"connection_id":175534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:33:24] local.INFO: Packet analysis {"connection_id":175534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:33:24] local.INFO: Extracted packet for processing {"connection_id":175534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:33:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909827328001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788710564000,"timestamp_ms":1788710564000,"timestamp_seconds":1788710564,"priority":1,"record_length":96,"hex_timestamp":"000001a0777530a0"} 
[2026-09-06 21:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 21:33: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-09-06 21: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-09-06 21:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909827328001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909827328001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:33:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:33:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909827328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":175534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:33:24] local.INFO: GPS data processed {"connection_id":175534,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:33:24] local.INFO: Acknowledgment sent {"connection_id":175534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:33:47] local.INFO: TCP Data received {"connection_id":173043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:33:47] local.INFO: Processing buffer {"connection_id":173043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:33:47] local.INFO: IMEI packet received {"connection_id":173043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":173043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:33:52] local.INFO: TCP Data received {"connection_id":173043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:33:52] local.INFO: Processing buffer {"connection_id":173043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:33:52] local.INFO: IMEI packet received {"connection_id":173043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":173043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:33:56] local.INFO: TCP Data received {"connection_id":173043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:33:56] local.INFO: Processing buffer {"connection_id":173043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:33:56] local.INFO: Packet analysis {"connection_id":173043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:33:56] local.INFO: Extracted packet for processing {"connection_id":173043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:33:56] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909827328001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:33: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-09-06 21:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788710564000,"timestamp_ms":1788710564000,"timestamp_seconds":1788710564,"priority":1,"record_length":96,"hex_timestamp":"000001a0777530a0"} 
[2026-09-06 21:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:33: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-09-06 21:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 21:33:56] 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-09-06 21:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:33: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-09-06 21:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909827328001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909827328001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:33:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:33:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909827328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":173043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:33:56] local.INFO: GPS data processed {"connection_id":173043,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:33:56] local.INFO: Acknowledgment sent {"connection_id":173043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:34:28] local.INFO: TCP Data received {"connection_id":173043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:34:28] local.INFO: Processing buffer {"connection_id":173043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:34:28] local.INFO: Packet analysis {"connection_id":173043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:34:28] local.INFO: Extracted packet for processing {"connection_id":173043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:34:28] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909827328001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788710564000,"timestamp_ms":1788710564000,"timestamp_seconds":1788710564,"priority":1,"record_length":96,"hex_timestamp":"000001a0777530a0"} 
[2026-09-06 21:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:34: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-09-06 21: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 21:34:28] 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-09-06 21: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-09-06 21:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909827328001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909827328001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:34:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:34:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909827328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":173043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:34:28] local.INFO: GPS data processed {"connection_id":173043,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:34:28] local.INFO: Acknowledgment sent {"connection_id":173043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:34:47] local.INFO: TCP Data received {"connection_id":175535,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:34:47] local.INFO: Processing buffer {"connection_id":175535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:34:47] local.INFO: IMEI packet received {"connection_id":175535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":175535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:34:51] local.INFO: TCP Data received {"connection_id":175535,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:34:51] local.INFO: Processing buffer {"connection_id":175535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:34:51] local.INFO: IMEI packet received {"connection_id":175535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":175535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:34:53] local.INFO: TCP Data received {"connection_id":175535,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:34:53] local.INFO: Processing buffer {"connection_id":175535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:34:53] local.INFO: Packet analysis {"connection_id":175535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:34:53] local.INFO: Extracted packet for processing {"connection_id":175535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909827328001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788710564000,"timestamp_ms":1788710564000,"timestamp_seconds":1788710564,"priority":1,"record_length":96,"hex_timestamp":"000001a0777530a0"} 
[2026-09-06 21:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 21:34: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-09-06 21: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-09-06 21:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:34: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-09-06 21:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909827328001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909827328001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909827328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":175535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:34:53] local.INFO: GPS data processed {"connection_id":175535,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:34:53] local.INFO: Acknowledgment sent {"connection_id":175535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:35:24] local.INFO: TCP Data received {"connection_id":175535,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:35:24] local.INFO: Processing buffer {"connection_id":175535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:35:24] local.INFO: Packet analysis {"connection_id":175535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:35:24] local.INFO: Extracted packet for processing {"connection_id":175535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909827328001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788710564000,"timestamp_ms":1788710564000,"timestamp_seconds":1788710564,"priority":1,"record_length":96,"hex_timestamp":"000001a0777530a0"} 
[2026-09-06 21:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 21:35: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-09-06 21: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-09-06 21:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:35: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-09-06 21:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909827328001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909827328001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:35:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909827328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":175535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:35:24] local.INFO: GPS data processed {"connection_id":175535,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:35:24] local.INFO: Acknowledgment sent {"connection_id":175535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:35:46] local.INFO: TCP Data received {"connection_id":172815,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:35:46] local.INFO: Processing buffer {"connection_id":172815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:35:46] local.INFO: IMEI packet received {"connection_id":172815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":172815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:35:52] local.INFO: TCP Data received {"connection_id":172815,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:35:52] local.INFO: Processing buffer {"connection_id":172815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:35:52] local.INFO: IMEI packet received {"connection_id":172815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":172815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:35:53] local.INFO: TCP Data received {"connection_id":172815,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:35:53] local.INFO: Processing buffer {"connection_id":172815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:35:53] local.INFO: Packet analysis {"connection_id":172815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:35:53] local.INFO: Extracted packet for processing {"connection_id":172815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909827328001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788710564000,"timestamp_ms":1788710564000,"timestamp_seconds":1788710564,"priority":1,"record_length":96,"hex_timestamp":"000001a0777530a0"} 
[2026-09-06 21:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:35: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-09-06 21: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 21:35: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-09-06 21: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-09-06 21:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909827328001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909827328001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:35:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909827328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":172815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:35:53] local.INFO: GPS data processed {"connection_id":172815,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:35:53] local.INFO: Acknowledgment sent {"connection_id":172815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:36:24] local.INFO: TCP Data received {"connection_id":172815,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:36:24] local.INFO: Processing buffer {"connection_id":172815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:36:24] local.INFO: Packet analysis {"connection_id":172815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:36:24] local.INFO: Extracted packet for processing {"connection_id":172815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909827328001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788710564000,"timestamp_ms":1788710564000,"timestamp_seconds":1788710564,"priority":1,"record_length":96,"hex_timestamp":"000001a0777530a0"} 
[2026-09-06 21:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 21:36: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-09-06 21: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-09-06 21:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909827328001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909827328001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:36:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909827328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":172815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:36:24] local.INFO: GPS data processed {"connection_id":172815,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:36:24] local.INFO: Acknowledgment sent {"connection_id":172815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:36:46] local.INFO: TCP Data received {"connection_id":175536,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:36:46] local.INFO: Processing buffer {"connection_id":175536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:36:46] local.INFO: IMEI packet received {"connection_id":175536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":175536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:36:51] local.INFO: TCP Data received {"connection_id":175536,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:36:51] local.INFO: Processing buffer {"connection_id":175536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:36:51] local.INFO: IMEI packet received {"connection_id":175536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":175536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:36:52] local.INFO: TCP Data received {"connection_id":175536,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:36:52] local.INFO: Processing buffer {"connection_id":175536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:36:52] local.INFO: Packet analysis {"connection_id":175536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:36:52] local.INFO: Extracted packet for processing {"connection_id":175536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 21:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909827328001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 21:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788710564000,"timestamp_ms":1788710564000,"timestamp_seconds":1788710564,"priority":1,"record_length":96,"hex_timestamp":"000001a0777530a0"} 
[2026-09-06 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-09-06 21: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-09-06 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 21:36:52] 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-09-06 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-09-06 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-09-06 21:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:36: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-09-06 21:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909827328001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909827328001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909827328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":175536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:36:52] local.INFO: GPS data processed {"connection_id":175536,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:36:52] local.INFO: Acknowledgment sent {"connection_id":175536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:37:24] local.INFO: TCP Data received {"connection_id":175536,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:37:24] local.INFO: Processing buffer {"connection_id":175536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:37:24] local.INFO: Packet analysis {"connection_id":175536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:37:24] local.INFO: Extracted packet for processing {"connection_id":175536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:37:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909827328001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788710564000,"timestamp_ms":1788710564000,"timestamp_seconds":1788710564,"priority":1,"record_length":96,"hex_timestamp":"000001a0777530a0"} 
[2026-09-06 21:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 21:37: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-09-06 21: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-09-06 21:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:37: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-09-06 21:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909827328001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909827328001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:37:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:37:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909827328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":175536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:37:24] local.INFO: GPS data processed {"connection_id":175536,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:37:24] local.INFO: Acknowledgment sent {"connection_id":175536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:37:47] local.INFO: TCP Data received {"connection_id":173044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:37:47] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:37:47] local.INFO: IMEI packet received {"connection_id":173044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":173044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:37:51] local.INFO: TCP Data received {"connection_id":173044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:37:51] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:37:51] local.INFO: IMEI packet received {"connection_id":173044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":173044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:37:52] local.INFO: TCP Data received {"connection_id":173044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:37:52] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777530a0012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:37:52] local.INFO: Packet analysis {"connection_id":173044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:37:52] local.INFO: Extracted packet for processing {"connection_id":173044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07775"} 
[2026-09-06 21:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 21:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909827328001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 21:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788710564000,"timestamp_ms":1788710564000,"timestamp_seconds":1788710564,"priority":1,"record_length":96,"hex_timestamp":"000001a0777530a0"} 
[2026-09-06 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-09-06 21:37: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-09-06 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 21:37:52] 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-09-06 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-09-06 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-09-06 21:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:37: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-09-06 21:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909827328001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909827328001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:37:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909827328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":173044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:37:53] local.INFO: GPS data processed {"connection_id":173044,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:37:53] local.INFO: Acknowledgment sent {"connection_id":173044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:38:25] local.INFO: TCP Data received {"connection_id":173044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:38:25] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:38:25] local.INFO: Packet analysis {"connection_id":173044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:38:25] local.INFO: Extracted packet for processing {"connection_id":173044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:38:25] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909904384001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788710865000,"timestamp_ms":1788710865000,"timestamp_seconds":1788710865,"priority":1,"record_length":96,"hex_timestamp":"000001a07779c868"} 
[2026-09-06 21:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:38: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-09-06 21: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-09-06 21:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909904384001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909904384001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:38:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:38:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909904384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":173044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:38:25] local.INFO: GPS data processed {"connection_id":173044,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:38:25] local.INFO: Acknowledgment sent {"connection_id":173044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:38:44] local.INFO: TCP Data received {"connection_id":175537,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:38:44] local.INFO: Processing buffer {"connection_id":175537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:38:44] local.INFO: IMEI packet received {"connection_id":175537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":175537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:38:53] local.INFO: TCP Data received {"connection_id":172816,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:38:53] local.INFO: Processing buffer {"connection_id":172816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:38:53] local.INFO: IMEI packet received {"connection_id":172816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":172816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:38:59] local.INFO: TCP Data received {"connection_id":172816,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:38:59] local.INFO: Processing buffer {"connection_id":172816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:38:59] local.INFO: IMEI packet received {"connection_id":172816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":172816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:39:01] local.INFO: TCP Data received {"connection_id":172816,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:39:01] local.INFO: Processing buffer {"connection_id":172816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:39:01] local.INFO: Packet analysis {"connection_id":172816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:39:01] local.INFO: Extracted packet for processing {"connection_id":172816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:39:01] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909904384001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:39: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-09-06 21:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788710865000,"timestamp_ms":1788710865000,"timestamp_seconds":1788710865,"priority":1,"record_length":96,"hex_timestamp":"000001a07779c868"} 
[2026-09-06 21:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:39: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-09-06 21:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":172816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":172816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":172816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:39: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-09-06 21:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909904384001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909904384001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:39:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:39:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909904384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":172816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:39:01] local.INFO: GPS data processed {"connection_id":172816,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:39:01] local.INFO: Acknowledgment sent {"connection_id":172816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:39:32] local.INFO: TCP Data received {"connection_id":172816,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:39:32] local.INFO: Processing buffer {"connection_id":172816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:39:32] local.INFO: Packet analysis {"connection_id":172816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:39:32] local.INFO: Extracted packet for processing {"connection_id":172816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:39:32] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909904384001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:39: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-09-06 21:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788710865000,"timestamp_ms":1788710865000,"timestamp_seconds":1788710865,"priority":1,"record_length":96,"hex_timestamp":"000001a07779c868"} 
[2026-09-06 21:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 21:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":172816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":172816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":172816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909904384001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909904384001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:39:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:39:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909904384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":172816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:39:32] local.INFO: GPS data processed {"connection_id":172816,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:39:32] local.INFO: Acknowledgment sent {"connection_id":172816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:39:51] local.INFO: TCP Data received {"connection_id":175538,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:39:51] local.INFO: Processing buffer {"connection_id":175538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:39:51] local.INFO: IMEI packet received {"connection_id":175538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":175538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:39:56] local.INFO: TCP Data received {"connection_id":175538,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:39:56] local.INFO: Processing buffer {"connection_id":175538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:39:56] local.INFO: IMEI packet received {"connection_id":175538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":175538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:39:58] local.INFO: TCP Data received {"connection_id":175538,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:39:58] local.INFO: Processing buffer {"connection_id":175538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:39:58] local.INFO: Packet analysis {"connection_id":175538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:39:58] local.INFO: Extracted packet for processing {"connection_id":175538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:39:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909904384001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:39: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-09-06 21:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788710865000,"timestamp_ms":1788710865000,"timestamp_seconds":1788710865,"priority":1,"record_length":96,"hex_timestamp":"000001a07779c868"} 
[2026-09-06 21:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:39: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-09-06 21:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:39: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-09-06 21:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:39: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-09-06 21:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909904384001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909904384001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:39:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:39:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909904384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":175538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:39:58] local.INFO: GPS data processed {"connection_id":175538,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:39:58] local.INFO: Acknowledgment sent {"connection_id":175538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:40:02] local.INFO: TCP Data received {"connection_id":175538,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:40:02] local.INFO: Processing buffer {"connection_id":175538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:40:02] local.INFO: Packet analysis {"connection_id":175538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:40:02] local.INFO: Extracted packet for processing {"connection_id":175538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:40:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909904384001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:40: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-09-06 21:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788710865000,"timestamp_ms":1788710865000,"timestamp_seconds":1788710865,"priority":1,"record_length":96,"hex_timestamp":"000001a07779c868"} 
[2026-09-06 21:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:40: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-09-06 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:40: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-09-06 21: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-09-06 21:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:40: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-09-06 21:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909904384001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909904384001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:40:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:40:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909904384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":175538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:40:02] local.INFO: GPS data processed {"connection_id":175538,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:40:02] local.INFO: Acknowledgment sent {"connection_id":175538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:40:46] local.INFO: TCP Data received {"connection_id":174206,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:40:46] local.INFO: Processing buffer {"connection_id":174206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:40:46] local.INFO: IMEI packet received {"connection_id":174206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":174206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:40:51] local.INFO: TCP Data received {"connection_id":174206,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:40:51] local.INFO: Processing buffer {"connection_id":174206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:40:51] local.INFO: IMEI packet received {"connection_id":174206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":174206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:40:53] local.INFO: TCP Data received {"connection_id":174206,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:40:53] local.INFO: Processing buffer {"connection_id":174206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:40:53] local.INFO: Packet analysis {"connection_id":174206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:40:53] local.INFO: Extracted packet for processing {"connection_id":174206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909904384001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788710865000,"timestamp_ms":1788710865000,"timestamp_seconds":1788710865,"priority":1,"record_length":96,"hex_timestamp":"000001a07779c868"} 
[2026-09-06 21:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:40: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-09-06 21: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-09-06 21:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:40: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-09-06 21:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909904384001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909904384001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:40:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:40:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909904384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":174206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:40:53] local.INFO: GPS data processed {"connection_id":174206,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:40:53] local.INFO: Acknowledgment sent {"connection_id":174206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:41:24] local.INFO: TCP Data received {"connection_id":174206,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:41:24] local.INFO: Processing buffer {"connection_id":174206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:41:24] local.INFO: Packet analysis {"connection_id":174206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:41:24] local.INFO: Extracted packet for processing {"connection_id":174206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:41:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909904384001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788710865000,"timestamp_ms":1788710865000,"timestamp_seconds":1788710865,"priority":1,"record_length":96,"hex_timestamp":"000001a07779c868"} 
[2026-09-06 21:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:41: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-09-06 21: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-09-06 21:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909904384001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909904384001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:41:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:41:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909904384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":174206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:41:24] local.INFO: GPS data processed {"connection_id":174206,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:41:24] local.INFO: Acknowledgment sent {"connection_id":174206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:41:46] local.INFO: TCP Data received {"connection_id":172818,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:41:46] local.INFO: Processing buffer {"connection_id":172818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:41:46] local.INFO: IMEI packet received {"connection_id":172818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":172818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:41:51] local.INFO: TCP Data received {"connection_id":172818,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:41:51] local.INFO: Processing buffer {"connection_id":172818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:41:51] local.INFO: IMEI packet received {"connection_id":172818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":172818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:41:52] local.INFO: TCP Data received {"connection_id":172818,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:41:52] local.INFO: Processing buffer {"connection_id":172818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:41:52] local.INFO: Packet analysis {"connection_id":172818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:41:52] local.INFO: Extracted packet for processing {"connection_id":172818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:41:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909904384001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788710865000,"timestamp_ms":1788710865000,"timestamp_seconds":1788710865,"priority":1,"record_length":96,"hex_timestamp":"000001a07779c868"} 
[2026-09-06 21:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:41: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-09-06 21: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-09-06 21:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:41: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-09-06 21:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909904384001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909904384001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:41:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:41:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909904384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":172818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:41:52] local.INFO: GPS data processed {"connection_id":172818,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:41:52] local.INFO: Acknowledgment sent {"connection_id":172818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:42:23] local.INFO: TCP Data received {"connection_id":172818,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:42:23] local.INFO: Processing buffer {"connection_id":172818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:42:23] local.INFO: Packet analysis {"connection_id":172818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:42:23] local.INFO: Extracted packet for processing {"connection_id":172818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:42:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909904384001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788710865000,"timestamp_ms":1788710865000,"timestamp_seconds":1788710865,"priority":1,"record_length":96,"hex_timestamp":"000001a07779c868"} 
[2026-09-06 21:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21: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-09-06 21:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909904384001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909904384001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:42:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:42:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909904384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":172818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:42:23] local.INFO: GPS data processed {"connection_id":172818,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:42:23] local.INFO: Acknowledgment sent {"connection_id":172818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:42:46] local.INFO: TCP Data received {"connection_id":174207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:42:46] local.INFO: Processing buffer {"connection_id":174207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:42:46] local.INFO: IMEI packet received {"connection_id":174207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":174207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:42:51] local.INFO: TCP Data received {"connection_id":174207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:42:51] local.INFO: Processing buffer {"connection_id":174207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:42:51] local.INFO: IMEI packet received {"connection_id":174207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":174207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:42:53] local.INFO: TCP Data received {"connection_id":174207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:42:53] local.INFO: Processing buffer {"connection_id":174207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:42:53] local.INFO: Packet analysis {"connection_id":174207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:42:53] local.INFO: Extracted packet for processing {"connection_id":174207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:42:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909904384001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788710865000,"timestamp_ms":1788710865000,"timestamp_seconds":1788710865,"priority":1,"record_length":96,"hex_timestamp":"000001a07779c868"} 
[2026-09-06 21:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:42: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:42: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-09-06 21: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-09-06 21:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:42: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-09-06 21:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909904384001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909904384001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:42:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:42:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909904384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":174207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:42:53] local.INFO: GPS data processed {"connection_id":174207,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:42:53] local.INFO: Acknowledgment sent {"connection_id":174207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:43:24] local.INFO: TCP Data received {"connection_id":174207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:43:24] local.INFO: Processing buffer {"connection_id":174207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07779c868012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:43:24] local.INFO: Packet analysis {"connection_id":174207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:43:24] local.INFO: Extracted packet for processing {"connection_id":174207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07779"} 
[2026-09-06 21:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909904384001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788710865000,"timestamp_ms":1788710865000,"timestamp_seconds":1788710865,"priority":1,"record_length":96,"hex_timestamp":"000001a07779c868"} 
[2026-09-06 21:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:43: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-09-06 21: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-09-06 21:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:43: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-09-06 21:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909904384001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909904384001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:43:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:43:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909904384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":174207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:43:24] local.INFO: GPS data processed {"connection_id":174207,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:43:24] local.INFO: Acknowledgment sent {"connection_id":174207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:43:47] local.INFO: TCP Data received {"connection_id":173045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:43:47] local.INFO: Processing buffer {"connection_id":173045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:43:47] local.INFO: IMEI packet received {"connection_id":173045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":173045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:43:51] local.INFO: TCP Data received {"connection_id":173045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:43:51] local.INFO: Processing buffer {"connection_id":173045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:43:51] local.INFO: IMEI packet received {"connection_id":173045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":173045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:43:52] local.INFO: TCP Data received {"connection_id":173045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:43:52] local.INFO: Processing buffer {"connection_id":173045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:43:52] local.INFO: Packet analysis {"connection_id":173045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:43:52] local.INFO: Extracted packet for processing {"connection_id":173045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:43:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":33,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909981440001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788711166000,"timestamp_ms":1788711166000,"timestamp_seconds":1788711166,"priority":1,"record_length":96,"hex_timestamp":"000001a0777e6030"} 
[2026-09-06 21:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:43: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-09-06 21: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-09-06 21:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909981440001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909981440001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:43:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:43:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909981440001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":173045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:43:52] local.INFO: GPS data processed {"connection_id":173045,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:43:52] local.INFO: Acknowledgment sent {"connection_id":173045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:44:09] local.INFO: TCP Data received {"connection_id":172820,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:44:09] local.INFO: Processing buffer {"connection_id":172820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:44:09] local.INFO: IMEI packet received {"connection_id":172820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":172820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:44:24] local.INFO: TCP Data received {"connection_id":173045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:44:24] local.INFO: Processing buffer {"connection_id":173045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:44:24] local.INFO: Packet analysis {"connection_id":173045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:44:24] local.INFO: Extracted packet for processing {"connection_id":173045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:44:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":33,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909981440001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788711166000,"timestamp_ms":1788711166000,"timestamp_seconds":1788711166,"priority":1,"record_length":96,"hex_timestamp":"000001a0777e6030"} 
[2026-09-06 21:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:44: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-09-06 21:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909981440001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909981440001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:44:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:44:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909981440001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":173045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:44:24] local.INFO: GPS data processed {"connection_id":173045,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:44:24] local.INFO: Acknowledgment sent {"connection_id":173045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:44:47] local.INFO: TCP Data received {"connection_id":175541,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:44:47] local.INFO: Processing buffer {"connection_id":175541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:44:47] local.INFO: IMEI packet received {"connection_id":175541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":175541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:44:51] local.INFO: TCP Data received {"connection_id":175541,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:44:51] local.INFO: Processing buffer {"connection_id":175541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:44:51] local.INFO: IMEI packet received {"connection_id":175541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":175541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:44:52] local.INFO: TCP Data received {"connection_id":175541,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:44:52] local.INFO: Processing buffer {"connection_id":175541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:44:52] local.INFO: Packet analysis {"connection_id":175541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:44:52] local.INFO: Extracted packet for processing {"connection_id":175541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":33,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909981440001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788711166000,"timestamp_ms":1788711166000,"timestamp_seconds":1788711166,"priority":1,"record_length":96,"hex_timestamp":"000001a0777e6030"} 
[2026-09-06 21:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:44: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-09-06 21: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-09-06 21:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:44: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-09-06 21:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909981440001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909981440001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:44:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909981440001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":175541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:44:52] local.INFO: GPS data processed {"connection_id":175541,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:44:52] local.INFO: Acknowledgment sent {"connection_id":175541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:45:24] local.INFO: TCP Data received {"connection_id":175541,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:45:24] local.INFO: Processing buffer {"connection_id":175541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:45:24] local.INFO: Packet analysis {"connection_id":175541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:45:24] local.INFO: Extracted packet for processing {"connection_id":175541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:45:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":33,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909981440001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788711166000,"timestamp_ms":1788711166000,"timestamp_seconds":1788711166,"priority":1,"record_length":96,"hex_timestamp":"000001a0777e6030"} 
[2026-09-06 21:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21: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-09-06 21:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:45: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-09-06 21:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909981440001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909981440001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:45:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:45:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909981440001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":175541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:45:24] local.INFO: GPS data processed {"connection_id":175541,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:45:24] local.INFO: Acknowledgment sent {"connection_id":175541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:45:46] local.INFO: TCP Data received {"connection_id":174209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:45:46] local.INFO: Processing buffer {"connection_id":174209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:45:46] local.INFO: IMEI packet received {"connection_id":174209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":174209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:45:52] local.INFO: TCP Data received {"connection_id":174209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:45:52] local.INFO: Processing buffer {"connection_id":174209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:45:52] local.INFO: IMEI packet received {"connection_id":174209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":174209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:45:53] local.INFO: TCP Data received {"connection_id":174209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:45:53] local.INFO: Processing buffer {"connection_id":174209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:45:53] local.INFO: Packet analysis {"connection_id":174209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:45:53] local.INFO: Extracted packet for processing {"connection_id":174209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":33,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909981440001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788711166000,"timestamp_ms":1788711166000,"timestamp_seconds":1788711166,"priority":1,"record_length":96,"hex_timestamp":"000001a0777e6030"} 
[2026-09-06 21:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:45: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-09-06 21: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-09-06 21:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909981440001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909981440001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:45:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:45:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909981440001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":174209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:45:53] local.INFO: GPS data processed {"connection_id":174209,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:45:53] local.INFO: Acknowledgment sent {"connection_id":174209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:46:24] local.INFO: TCP Data received {"connection_id":174209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:46:24] local.INFO: Processing buffer {"connection_id":174209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:46:24] local.INFO: Packet analysis {"connection_id":174209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:46:24] local.INFO: Extracted packet for processing {"connection_id":174209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:46:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":33,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909981440001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788711166000,"timestamp_ms":1788711166000,"timestamp_seconds":1788711166,"priority":1,"record_length":96,"hex_timestamp":"000001a0777e6030"} 
[2026-09-06 21:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:46: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-09-06 21: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-09-06 21:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909981440001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909981440001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:46:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:46:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909981440001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":174209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:46:24] local.INFO: GPS data processed {"connection_id":174209,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:46:24] local.INFO: Acknowledgment sent {"connection_id":174209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:46:47] local.INFO: TCP Data received {"connection_id":174210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:46:47] local.INFO: Processing buffer {"connection_id":174210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:46:47] local.INFO: IMEI packet received {"connection_id":174210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":174210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:46:51] local.INFO: TCP Data received {"connection_id":174210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:46:51] local.INFO: Processing buffer {"connection_id":174210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:46:51] local.INFO: IMEI packet received {"connection_id":174210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":174210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:46:52] local.INFO: TCP Data received {"connection_id":174210,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:46:52] local.INFO: Processing buffer {"connection_id":174210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:46:52] local.INFO: Packet analysis {"connection_id":174210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:46:52] local.INFO: Extracted packet for processing {"connection_id":174210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":33,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909981440001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788711166000,"timestamp_ms":1788711166000,"timestamp_seconds":1788711166,"priority":1,"record_length":96,"hex_timestamp":"000001a0777e6030"} 
[2026-09-06 21:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:46: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-09-06 21: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-09-06 21:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:46: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-09-06 21:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909981440001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909981440001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:46:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909981440001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":174210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:46:53] local.INFO: GPS data processed {"connection_id":174210,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:46:53] local.INFO: Acknowledgment sent {"connection_id":174210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:47:23] local.INFO: TCP Data received {"connection_id":174210,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:47:23] local.INFO: Processing buffer {"connection_id":174210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:47:23] local.INFO: Packet analysis {"connection_id":174210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:47:23] local.INFO: Extracted packet for processing {"connection_id":174210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:47:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":33,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 21:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909981440001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 21:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788711166000,"timestamp_ms":1788711166000,"timestamp_seconds":1788711166,"priority":1,"record_length":96,"hex_timestamp":"000001a0777e6030"} 
[2026-09-06 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-09-06 21: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-09-06 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 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-09-06 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-09-06 21:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909981440001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909981440001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:47:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:47:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909981440001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":174210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:47:23] local.INFO: GPS data processed {"connection_id":174210,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:47:23] local.INFO: Acknowledgment sent {"connection_id":174210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:47:52] local.INFO: TCP Data received {"connection_id":172821,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:47:52] local.INFO: Processing buffer {"connection_id":172821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:47:52] local.INFO: IMEI packet received {"connection_id":172821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":172821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:47:57] local.INFO: TCP Data received {"connection_id":172821,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:47:57] local.INFO: Processing buffer {"connection_id":172821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:47:57] local.INFO: IMEI packet received {"connection_id":172821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":172821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:47:58] local.INFO: TCP Data received {"connection_id":172821,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:47:58] local.INFO: Processing buffer {"connection_id":172821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:47:58] local.INFO: Packet analysis {"connection_id":172821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:47:58] local.INFO: Extracted packet for processing {"connection_id":172821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:47:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":33,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909981440001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788711166000,"timestamp_ms":1788711166000,"timestamp_seconds":1788711166,"priority":1,"record_length":96,"hex_timestamp":"000001a0777e6030"} 
[2026-09-06 21:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:47: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:47: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-09-06 21: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-09-06 21:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:47: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-09-06 21:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909981440001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909981440001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:47:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:47:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909981440001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":172821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:47:58] local.INFO: GPS data processed {"connection_id":172821,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:47:58] local.INFO: Acknowledgment sent {"connection_id":172821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:48:02] local.INFO: TCP Data received {"connection_id":172821,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:48:02] local.INFO: Processing buffer {"connection_id":172821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0777e6030012d34cc0006aa43600000005321..."} 
[2026-09-06 21:48:02] local.INFO: Packet analysis {"connection_id":172821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:48:02] local.INFO: Extracted packet for processing {"connection_id":172821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0777e"} 
[2026-09-06 21:48:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":33,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457909981440001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788711166000,"timestamp_ms":1788711166000,"timestamp_seconds":1788711166,"priority":1,"record_length":96,"hex_timestamp":"000001a0777e6030"} 
[2026-09-06 21:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:48: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-09-06 21: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 21:48: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-09-06 21: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-09-06 21:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:48: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-09-06 21:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457909981440001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457909981440001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:48:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:48:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457909981440001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":172821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:48:02] local.INFO: GPS data processed {"connection_id":172821,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:48:02] local.INFO: Acknowledgment sent {"connection_id":172821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:48:46] local.INFO: TCP Data received {"connection_id":173048,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:48:46] local.INFO: Processing buffer {"connection_id":173048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:48:46] local.INFO: IMEI packet received {"connection_id":173048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":173048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:48:51] local.INFO: TCP Data received {"connection_id":173048,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:48:51] local.INFO: Processing buffer {"connection_id":173048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:48:51] local.INFO: IMEI packet received {"connection_id":173048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":173048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:48:53] local.INFO: TCP Data received {"connection_id":173048,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:48:53] local.INFO: Processing buffer {"connection_id":173048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:48:53] local.INFO: Packet analysis {"connection_id":173048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:48:53] local.INFO: Extracted packet for processing {"connection_id":173048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910058496001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788711467000,"timestamp_ms":1788711467000,"timestamp_seconds":1788711467,"priority":1,"record_length":96,"hex_timestamp":"000001a07782f7f8"} 
[2026-09-06 21:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 21:48:53] 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-09-06 21: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-09-06 21:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:48: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-09-06 21:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910058496001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910058496001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:48:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910058496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":173048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:48:53] local.INFO: GPS data processed {"connection_id":173048,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:48:53] local.INFO: Acknowledgment sent {"connection_id":173048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:49:24] local.INFO: TCP Data received {"connection_id":173048,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:49:24] local.INFO: Processing buffer {"connection_id":173048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:49:24] local.INFO: Packet analysis {"connection_id":173048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:49:24] local.INFO: Extracted packet for processing {"connection_id":173048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 21:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910058496001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 21:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788711467000,"timestamp_ms":1788711467000,"timestamp_seconds":1788711467,"priority":1,"record_length":96,"hex_timestamp":"000001a07782f7f8"} 
[2026-09-06 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-09-06 21: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-09-06 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-06 21:49: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-09-06 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-09-06 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-09-06 21:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 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-09-06 21:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910058496001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910058496001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:49:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910058496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":173048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:49:24] local.INFO: GPS data processed {"connection_id":173048,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:49:24] local.INFO: Acknowledgment sent {"connection_id":173048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:49:47] local.INFO: TCP Data received {"connection_id":174211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:49:47] local.INFO: Processing buffer {"connection_id":174211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:49:47] local.INFO: IMEI packet received {"connection_id":174211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":174211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:49:49] local.INFO: TCP Data received {"connection_id":174212,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:49:49] local.INFO: Processing buffer {"connection_id":174212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:49:49] local.INFO: IMEI packet received {"connection_id":174212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":174212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:49:52] local.INFO: TCP Data received {"connection_id":174211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:49:52] local.INFO: Processing buffer {"connection_id":174211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:49:52] local.INFO: IMEI packet received {"connection_id":174211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":174211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:49:53] local.INFO: TCP Data received {"connection_id":174211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:49:53] local.INFO: Processing buffer {"connection_id":174211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:49:53] local.INFO: Packet analysis {"connection_id":174211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:49:53] local.INFO: Extracted packet for processing {"connection_id":174211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910058496001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788711467000,"timestamp_ms":1788711467000,"timestamp_seconds":1788711467,"priority":1,"record_length":96,"hex_timestamp":"000001a07782f7f8"} 
[2026-09-06 21:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 21:49:53] 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-09-06 21: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-09-06 21:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:49: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-09-06 21:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910058496001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910058496001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:49:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910058496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":174211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:49:53] local.INFO: GPS data processed {"connection_id":174211,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:49:53] local.INFO: Acknowledgment sent {"connection_id":174211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:50:24] local.INFO: TCP Data received {"connection_id":174211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:50:24] local.INFO: Processing buffer {"connection_id":174211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:50:24] local.INFO: Packet analysis {"connection_id":174211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:50:24] local.INFO: Extracted packet for processing {"connection_id":174211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:50:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910058496001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788711467000,"timestamp_ms":1788711467000,"timestamp_seconds":1788711467,"priority":1,"record_length":96,"hex_timestamp":"000001a07782f7f8"} 
[2026-09-06 21:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 21:50: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-09-06 21: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-09-06 21:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:50: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-09-06 21:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910058496001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910058496001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:50:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910058496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":174211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:50:24] local.INFO: GPS data processed {"connection_id":174211,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:50:24] local.INFO: Acknowledgment sent {"connection_id":174211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:50:47] local.INFO: TCP Data received {"connection_id":174213,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:50:47] local.INFO: Processing buffer {"connection_id":174213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:50:47] local.INFO: IMEI packet received {"connection_id":174213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":174213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:50:51] local.INFO: TCP Data received {"connection_id":174213,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:50:51] local.INFO: Processing buffer {"connection_id":174213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:50:51] local.INFO: IMEI packet received {"connection_id":174213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":174213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:50:52] local.INFO: TCP Data received {"connection_id":174213,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:50:52] local.INFO: Processing buffer {"connection_id":174213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:50:52] local.INFO: Packet analysis {"connection_id":174213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:50:52] local.INFO: Extracted packet for processing {"connection_id":174213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910058496001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788711467000,"timestamp_ms":1788711467000,"timestamp_seconds":1788711467,"priority":1,"record_length":96,"hex_timestamp":"000001a07782f7f8"} 
[2026-09-06 21:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 21:50:52] 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-09-06 21: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-09-06 21:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:50: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-09-06 21:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910058496001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910058496001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:50:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910058496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":174213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:50:52] local.INFO: GPS data processed {"connection_id":174213,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:50:52] local.INFO: Acknowledgment sent {"connection_id":174213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:51:23] local.INFO: TCP Data received {"connection_id":174213,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:51:23] local.INFO: Processing buffer {"connection_id":174213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:51:23] local.INFO: Packet analysis {"connection_id":174213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:51:23] local.INFO: Extracted packet for processing {"connection_id":174213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:51:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 21:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910058496001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 21:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788711467000,"timestamp_ms":1788711467000,"timestamp_seconds":1788711467,"priority":1,"record_length":96,"hex_timestamp":"000001a07782f7f8"} 
[2026-09-06 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-09-06 21:51: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-09-06 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-06 21:51:23] 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-09-06 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-09-06 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-09-06 21:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:51: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-09-06 21:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910058496001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910058496001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:51:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:51:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910058496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":174213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:51:23] local.INFO: GPS data processed {"connection_id":174213,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:51:23] local.INFO: Acknowledgment sent {"connection_id":174213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:51:46] local.INFO: TCP Data received {"connection_id":172824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:51:46] local.INFO: Processing buffer {"connection_id":172824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:51:46] local.INFO: IMEI packet received {"connection_id":172824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":172824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:51:52] local.INFO: TCP Data received {"connection_id":172824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:51:52] local.INFO: Processing buffer {"connection_id":172824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:51:52] local.INFO: IMEI packet received {"connection_id":172824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":172824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:51:53] local.INFO: TCP Data received {"connection_id":172824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:51:53] local.INFO: Processing buffer {"connection_id":172824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:51:53] local.INFO: Packet analysis {"connection_id":172824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:51:53] local.INFO: Extracted packet for processing {"connection_id":172824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910058496001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788711467000,"timestamp_ms":1788711467000,"timestamp_seconds":1788711467,"priority":1,"record_length":96,"hex_timestamp":"000001a07782f7f8"} 
[2026-09-06 21:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:51: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-09-06 21: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 21:51:53] 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-09-06 21: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-09-06 21:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:51: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-09-06 21:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910058496001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910058496001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:51:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:51:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910058496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":172824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:51:53] local.INFO: GPS data processed {"connection_id":172824,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:51:53] local.INFO: Acknowledgment sent {"connection_id":172824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:52:24] local.INFO: TCP Data received {"connection_id":172824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:52:24] local.INFO: Processing buffer {"connection_id":172824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:52:24] local.INFO: Packet analysis {"connection_id":172824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:52:24] local.INFO: Extracted packet for processing {"connection_id":172824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:52:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910058496001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788711467000,"timestamp_ms":1788711467000,"timestamp_seconds":1788711467,"priority":1,"record_length":96,"hex_timestamp":"000001a07782f7f8"} 
[2026-09-06 21:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:52: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-09-06 21: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 21:52: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-09-06 21: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-09-06 21:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910058496001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910058496001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:52:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:52:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910058496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":172824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:52:24] local.INFO: GPS data processed {"connection_id":172824,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:52:24] local.INFO: Acknowledgment sent {"connection_id":172824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:52:46] local.INFO: TCP Data received {"connection_id":172825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:52:46] local.INFO: Processing buffer {"connection_id":172825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:52:46] local.INFO: IMEI packet received {"connection_id":172825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":172825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:52:51] local.INFO: TCP Data received {"connection_id":172825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:52:51] local.INFO: Processing buffer {"connection_id":172825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:52:51] local.INFO: IMEI packet received {"connection_id":172825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":172825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:52:53] local.INFO: TCP Data received {"connection_id":172825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:52:53] local.INFO: Processing buffer {"connection_id":172825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:52:53] local.INFO: Packet analysis {"connection_id":172825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:52:53] local.INFO: Extracted packet for processing {"connection_id":172825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:52:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910058496001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788711467000,"timestamp_ms":1788711467000,"timestamp_seconds":1788711467,"priority":1,"record_length":96,"hex_timestamp":"000001a07782f7f8"} 
[2026-09-06 21:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 21:52:53] 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-09-06 21: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-09-06 21:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:52: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-09-06 21:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910058496001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910058496001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:52:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910058496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":172825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:52:53] local.INFO: GPS data processed {"connection_id":172825,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:52:53] local.INFO: Acknowledgment sent {"connection_id":172825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:53:24] local.INFO: TCP Data received {"connection_id":172825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:53:24] local.INFO: Processing buffer {"connection_id":172825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07782f7f8012d34cc0006aa4360000000531d..."} 
[2026-09-06 21:53:24] local.INFO: Packet analysis {"connection_id":172825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:53:24] local.INFO: Extracted packet for processing {"connection_id":172825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07782"} 
[2026-09-06 21:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 21:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910058496001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 21:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788711467000,"timestamp_ms":1788711467000,"timestamp_seconds":1788711467,"priority":1,"record_length":96,"hex_timestamp":"000001a07782f7f8"} 
[2026-09-06 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-09-06 21: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-09-06 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-06 21:53: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-09-06 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-09-06 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-09-06 21:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:53: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-09-06 21:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910058496001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910058496001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:53:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910058496001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":172825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:53:24] local.INFO: GPS data processed {"connection_id":172825,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:53:24] local.INFO: Acknowledgment sent {"connection_id":172825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:53:52] local.INFO: TCP Data received {"connection_id":175545,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:53:52] local.INFO: Processing buffer {"connection_id":175545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:53:52] local.INFO: IMEI packet received {"connection_id":175545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":175545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:53:57] local.INFO: TCP Data received {"connection_id":175545,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:53:57] local.INFO: Processing buffer {"connection_id":175545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:53:57] local.INFO: IMEI packet received {"connection_id":175545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":175545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:53:58] local.INFO: TCP Data received {"connection_id":175545,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:53:58] local.INFO: Processing buffer {"connection_id":175545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:53:58] local.INFO: Packet analysis {"connection_id":175545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:53:58] local.INFO: Extracted packet for processing {"connection_id":175545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:53:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910135552001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:53: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-09-06 21:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788711768000,"timestamp_ms":1788711768000,"timestamp_seconds":1788711768,"priority":1,"record_length":96,"hex_timestamp":"000001a077878fc0"} 
[2026-09-06 21:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:53: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-09-06 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 21:53: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-09-06 21: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-09-06 21:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:53: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-09-06 21:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910135552001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910135552001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:53:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:53:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910135552001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":175545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:53:58] local.INFO: GPS data processed {"connection_id":175545,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:53:58] local.INFO: Acknowledgment sent {"connection_id":175545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:54:02] local.INFO: TCP Data received {"connection_id":175545,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:54:02] local.INFO: Processing buffer {"connection_id":175545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:54:02] local.INFO: Packet analysis {"connection_id":175545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:54:02] local.INFO: Extracted packet for processing {"connection_id":175545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:54:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910135552001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788711768000,"timestamp_ms":1788711768000,"timestamp_seconds":1788711768,"priority":1,"record_length":96,"hex_timestamp":"000001a077878fc0"} 
[2026-09-06 21:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":4,"data_length":795,"current_offset":136} 
[2026-09-06 21:54: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-09-06 21: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-09-06 21:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910135552001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910135552001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:54:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:54:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910135552001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":175545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:54:02] local.INFO: GPS data processed {"connection_id":175545,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:54:02] local.INFO: Acknowledgment sent {"connection_id":175545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:54:46] local.INFO: TCP Data received {"connection_id":175546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:54:46] local.INFO: Processing buffer {"connection_id":175546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:54:46] local.INFO: IMEI packet received {"connection_id":175546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":175546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:54:51] local.INFO: TCP Data received {"connection_id":175546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:54:51] local.INFO: Processing buffer {"connection_id":175546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:54:51] local.INFO: IMEI packet received {"connection_id":175546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":175546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:54:53] local.INFO: TCP Data received {"connection_id":175546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:54:53] local.INFO: Processing buffer {"connection_id":175546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:54:53] local.INFO: Packet analysis {"connection_id":175546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:54:53] local.INFO: Extracted packet for processing {"connection_id":175546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910135552001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788711768000,"timestamp_ms":1788711768000,"timestamp_seconds":1788711768,"priority":1,"record_length":96,"hex_timestamp":"000001a077878fc0"} 
[2026-09-06 21:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":4,"data_length":795,"current_offset":136} 
[2026-09-06 21:54: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-09-06 21: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-09-06 21:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910135552001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910135552001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:54:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910135552001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":175546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:54:53] local.INFO: GPS data processed {"connection_id":175546,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:54:53] local.INFO: Acknowledgment sent {"connection_id":175546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:55:24] local.INFO: TCP Data received {"connection_id":175546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:55:24] local.INFO: Processing buffer {"connection_id":175546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:55:24] local.INFO: Packet analysis {"connection_id":175546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:55:24] local.INFO: Extracted packet for processing {"connection_id":175546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910135552001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788711768000,"timestamp_ms":1788711768000,"timestamp_seconds":1788711768,"priority":1,"record_length":96,"hex_timestamp":"000001a077878fc0"} 
[2026-09-06 21:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21: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-09-06 21: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":4,"data_length":795,"current_offset":136} 
[2026-09-06 21:55: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-09-06 21: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-09-06 21:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21: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-09-06 21:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910135552001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910135552001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:55:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910135552001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":175546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:55:24] local.INFO: GPS data processed {"connection_id":175546,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:55:24] local.INFO: Acknowledgment sent {"connection_id":175546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:55:47] local.INFO: TCP Data received {"connection_id":172826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:55:47] local.INFO: Processing buffer {"connection_id":172826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:55:47] local.INFO: IMEI packet received {"connection_id":172826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":172826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:55:48] local.INFO: TCP Data received {"connection_id":172827,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:55:48] local.INFO: Processing buffer {"connection_id":172827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 21:55:48] local.INFO: IMEI packet received {"connection_id":172827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 21:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":172827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:55:52] local.INFO: TCP Data received {"connection_id":172826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:55:52] local.INFO: Processing buffer {"connection_id":172826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:55:52] local.INFO: IMEI packet received {"connection_id":172826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":172826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:55:53] local.INFO: TCP Data received {"connection_id":172826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:55:53] local.INFO: Processing buffer {"connection_id":172826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:55:53] local.INFO: Packet analysis {"connection_id":172826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:55:53] local.INFO: Extracted packet for processing {"connection_id":172826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:55:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910135552001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788711768000,"timestamp_ms":1788711768000,"timestamp_seconds":1788711768,"priority":1,"record_length":96,"hex_timestamp":"000001a077878fc0"} 
[2026-09-06 21:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:55: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-09-06 21: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":4,"data_length":795,"current_offset":136} 
[2026-09-06 21:55: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-09-06 21: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-09-06 21:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:55: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-09-06 21:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910135552001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910135552001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:55:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:55:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910135552001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":172826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:55:53] local.INFO: GPS data processed {"connection_id":172826,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:55:53] local.INFO: Acknowledgment sent {"connection_id":172826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:56:24] local.INFO: TCP Data received {"connection_id":172826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:56:24] local.INFO: Processing buffer {"connection_id":172826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:56:24] local.INFO: Packet analysis {"connection_id":172826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:56:24] local.INFO: Extracted packet for processing {"connection_id":172826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:56:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 21:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910135552001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 21:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788711768000,"timestamp_ms":1788711768000,"timestamp_seconds":1788711768,"priority":1,"record_length":96,"hex_timestamp":"000001a077878fc0"} 
[2026-09-06 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-09-06 21: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-09-06 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 21:56: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-09-06 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-09-06 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-09-06 21:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:56: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-09-06 21:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910135552001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910135552001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:56:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:56:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910135552001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":172826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:56:24] local.INFO: GPS data processed {"connection_id":172826,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:56:24] local.INFO: Acknowledgment sent {"connection_id":172826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:56:46] local.INFO: TCP Data received {"connection_id":174214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:56:46] local.INFO: Processing buffer {"connection_id":174214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:56:46] local.INFO: IMEI packet received {"connection_id":174214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":174214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:56:51] local.INFO: TCP Data received {"connection_id":174214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:56:51] local.INFO: Processing buffer {"connection_id":174214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:56:51] local.INFO: IMEI packet received {"connection_id":174214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":174214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:56:53] local.INFO: TCP Data received {"connection_id":174214,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:56:53] local.INFO: Processing buffer {"connection_id":174214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:56:53] local.INFO: Packet analysis {"connection_id":174214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:56:53] local.INFO: Extracted packet for processing {"connection_id":174214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910135552001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788711768000,"timestamp_ms":1788711768000,"timestamp_seconds":1788711768,"priority":1,"record_length":96,"hex_timestamp":"000001a077878fc0"} 
[2026-09-06 21:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:56: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-09-06 21: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":4,"data_length":795,"current_offset":136} 
[2026-09-06 21:56: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-09-06 21: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-09-06 21:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:56: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-09-06 21:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910135552001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910135552001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:56:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910135552001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":174214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:56:53] local.INFO: GPS data processed {"connection_id":174214,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:56:53] local.INFO: Acknowledgment sent {"connection_id":174214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:57:24] local.INFO: TCP Data received {"connection_id":174214,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:57:24] local.INFO: Processing buffer {"connection_id":174214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:57:24] local.INFO: Packet analysis {"connection_id":174214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:57:24] local.INFO: Extracted packet for processing {"connection_id":174214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:57:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910135552001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21: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-09-06 21:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788711768000,"timestamp_ms":1788711768000,"timestamp_seconds":1788711768,"priority":1,"record_length":96,"hex_timestamp":"000001a077878fc0"} 
[2026-09-06 21:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:57: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-09-06 21: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":4,"data_length":795,"current_offset":136} 
[2026-09-06 21:57: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-09-06 21: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-09-06 21:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:57: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-09-06 21:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910135552001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910135552001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:57:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:57:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910135552001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":174214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:57:24] local.INFO: GPS data processed {"connection_id":174214,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:57:24] local.INFO: Acknowledgment sent {"connection_id":174214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:57:51] local.INFO: TCP Data received {"connection_id":175548,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:57:51] local.INFO: Processing buffer {"connection_id":175548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:57:51] local.INFO: IMEI packet received {"connection_id":175548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":175548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:57:52] local.INFO: TCP Data received {"connection_id":175548,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:57:52] local.INFO: Processing buffer {"connection_id":175548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:57:52] local.INFO: IMEI packet received {"connection_id":175548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":175548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:57:55] local.INFO: TCP Data received {"connection_id":175548,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:57:55] local.INFO: Processing buffer {"connection_id":175548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:57:55] local.INFO: Packet analysis {"connection_id":175548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:57:55] local.INFO: Extracted packet for processing {"connection_id":175548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:57:55] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910135552001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:57: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-09-06 21:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788711768000,"timestamp_ms":1788711768000,"timestamp_seconds":1788711768,"priority":1,"record_length":96,"hex_timestamp":"000001a077878fc0"} 
[2026-09-06 21:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 21:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21: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-09-06 21:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910135552001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910135552001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:57:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:57:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910135552001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":175548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:57:55] local.INFO: GPS data processed {"connection_id":175548,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:57:55] local.INFO: Acknowledgment sent {"connection_id":175548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:57:59] local.INFO: TCP Data received {"connection_id":175548,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:57:59] local.INFO: Processing buffer {"connection_id":175548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077878fc0012d34cc0006aa4360000000531e..."} 
[2026-09-06 21:57:59] local.INFO: Packet analysis {"connection_id":175548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:57:59] local.INFO: Extracted packet for processing {"connection_id":175548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07787"} 
[2026-09-06 21:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910135552001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:57: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-09-06 21:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788711768000,"timestamp_ms":1788711768000,"timestamp_seconds":1788711768,"priority":1,"record_length":96,"hex_timestamp":"000001a077878fc0"} 
[2026-09-06 21:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:57: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-09-06 21:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-06 21:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 21:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910135552001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 21:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910135552001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:57:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 21:57:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910135552001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":175548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:57:59] local.INFO: GPS data processed {"connection_id":175548,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:57:59] local.INFO: Acknowledgment sent {"connection_id":175548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:58:30] local.INFO: TCP Data received {"connection_id":175548,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 21:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 21:58:30] local.INFO: Processing buffer {"connection_id":175548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 21:58:30] local.INFO: Packet analysis {"connection_id":175548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 21:58:30] local.INFO: Extracted packet for processing {"connection_id":175548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 21:58:30] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":28,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910212608001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:58:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 21:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:58: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-09-06 21:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788712069000,"timestamp_ms":1788712069000,"timestamp_seconds":1788712069,"priority":1,"record_length":96,"hex_timestamp":"000001a0778c2788"} 
[2026-09-06 21:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 21:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-06 21:58:30] 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-09-06 21: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-09-06 21:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910212608001,"66":25734,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 21:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910212608001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:58:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910212608001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":175548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:58:30] local.INFO: GPS data processed {"connection_id":175548,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:58:30] local.INFO: Acknowledgment sent {"connection_id":175548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:58:46] local.INFO: TCP Data received {"connection_id":174216,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:58:46] local.INFO: Processing buffer {"connection_id":174216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:58:46] local.INFO: IMEI packet received {"connection_id":174216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":174216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:58:52] local.INFO: TCP Data received {"connection_id":174216,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:58:52] local.INFO: Processing buffer {"connection_id":174216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:58:52] local.INFO: IMEI packet received {"connection_id":174216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":174216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:58:54] local.INFO: TCP Data received {"connection_id":174216,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 21:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 21:58:54] local.INFO: Processing buffer {"connection_id":174216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 21:58:54] local.INFO: Packet analysis {"connection_id":174216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 21:58:54] local.INFO: Extracted packet for processing {"connection_id":174216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 21:58:54] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":28,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910212608001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:58:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 21:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:58: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-09-06 21:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788712069000,"timestamp_ms":1788712069000,"timestamp_seconds":1788712069,"priority":1,"record_length":96,"hex_timestamp":"000001a0778c2788"} 
[2026-09-06 21:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 21: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-06 21:58:54] 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-09-06 21: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-09-06 21:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:58: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-09-06 21:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910212608001,"66":25734,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 21:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910212608001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:58:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910212608001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":174216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:58:54] local.INFO: GPS data processed {"connection_id":174216,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:58:54] local.INFO: Acknowledgment sent {"connection_id":174216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:59:38] local.INFO: TCP Data received {"connection_id":174216,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 21:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 21:59:38] local.INFO: Processing buffer {"connection_id":174216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 21:59:38] local.INFO: Packet analysis {"connection_id":174216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 21:59:38] local.INFO: Extracted packet for processing {"connection_id":174216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 21:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":28,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21: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-09-06 21:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910212608001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:59:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 21:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 21:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788712069000,"timestamp_ms":1788712069000,"timestamp_seconds":1788712069,"priority":1,"record_length":96,"hex_timestamp":"000001a0778c2788"} 
[2026-09-06 21:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 21: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-06 21:59:38] 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-09-06 21: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-09-06 21:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 21:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910212608001,"66":25734,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 21:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910212608001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910212608001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":174216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:59:38] local.INFO: GPS data processed {"connection_id":174216,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:59:38] local.INFO: Acknowledgment sent {"connection_id":174216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 21:59:52] local.INFO: TCP Data received {"connection_id":172829,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:59:52] local.INFO: Processing buffer {"connection_id":172829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:59:52] local.INFO: IMEI packet received {"connection_id":172829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 21:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":172829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 21:59:57] local.INFO: TCP Data received {"connection_id":172829,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:59:57] local.INFO: Processing buffer {"connection_id":172829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 21:59:57] local.INFO: IMEI packet received {"connection_id":172829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 21:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":172829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 21:59:58] local.INFO: TCP Data received {"connection_id":172829,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 21:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 21:59:58] local.INFO: Processing buffer {"connection_id":172829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 21:59:58] local.INFO: Packet analysis {"connection_id":172829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 21:59:58] local.INFO: Extracted packet for processing {"connection_id":172829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 21:59:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":28,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 21:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 21:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910212608001,"note":"Value kept but may cause issues"} 
[2026-09-06 21:59:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 21:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 21:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 21:59: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-09-06 21:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788712069000,"timestamp_ms":1788712069000,"timestamp_seconds":1788712069,"priority":1,"record_length":96,"hex_timestamp":"000001a0778c2788"} 
[2026-09-06 21:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 21:59: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-09-06 21:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-06 21:59:58] 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-09-06 21:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 21:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 21:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 21:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 21:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 21:59: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-09-06 21:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 21:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 21:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910212608001,"66":25734,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 21:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 21:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 21:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910212608001,"description":"Unknown IO ID 0"} 
[2026-09-06 21:59:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 21:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 21:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 21:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910212608001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 21:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":172829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 21:59:58] local.INFO: GPS data processed {"connection_id":172829,"processed":1,"errors":0,"total":1} 
[2026-09-06 21:59:58] local.INFO: Acknowledgment sent {"connection_id":172829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:00:21] local.INFO: TCP Data received {"connection_id":172829,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:00:21] local.INFO: Processing buffer {"connection_id":172829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:00:21] local.INFO: Packet analysis {"connection_id":172829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 22:00:21] local.INFO: Extracted packet for processing {"connection_id":172829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 22:00:21] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":28,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 22:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910212608001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:00:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 22:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 22:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788712069000,"timestamp_ms":1788712069000,"timestamp_seconds":1788712069,"priority":1,"record_length":96,"hex_timestamp":"000001a0778c2788"} 
[2026-09-06 22:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 22:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:00:21] 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-09-06 22:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 22:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":172829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":172829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":172829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 22:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910212608001,"66":25734,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 22:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910212608001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:00:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910212608001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":172829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:00:21] local.INFO: GPS data processed {"connection_id":172829,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:00:21] local.INFO: Acknowledgment sent {"connection_id":172829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:00:46] local.INFO: TCP Data received {"connection_id":174217,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:00:47] local.INFO: Processing buffer {"connection_id":174217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:00:47] local.INFO: IMEI packet received {"connection_id":174217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":174217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:00:52] local.INFO: TCP Data received {"connection_id":174217,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:00:52] local.INFO: Processing buffer {"connection_id":174217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:00:52] local.INFO: IMEI packet received {"connection_id":174217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":174217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:00:53] local.INFO: TCP Data received {"connection_id":174217,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:00:53] local.INFO: Processing buffer {"connection_id":174217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:00:53] local.INFO: Packet analysis {"connection_id":174217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 22:00:53] local.INFO: Extracted packet for processing {"connection_id":174217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 22:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":28,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910212608001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:00:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 22:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788712069000,"timestamp_ms":1788712069000,"timestamp_seconds":1788712069,"priority":1,"record_length":96,"hex_timestamp":"000001a0778c2788"} 
[2026-09-06 22:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:00: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-09-06 22: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:00:53] 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-09-06 22: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-09-06 22:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:00: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-09-06 22:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910212608001,"66":25734,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 22:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910212608001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910212608001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":174217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:00:53] local.INFO: GPS data processed {"connection_id":174217,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:00:53] local.INFO: Acknowledgment sent {"connection_id":174217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:01:16] local.INFO: TCP Data received {"connection_id":173050,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:01:16] local.INFO: Processing buffer {"connection_id":173050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:01:16] local.INFO: IMEI packet received {"connection_id":173050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 22:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":173050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:01:24] local.INFO: TCP Data received {"connection_id":174217,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:01:24] local.INFO: Processing buffer {"connection_id":174217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:01:24] local.INFO: Packet analysis {"connection_id":174217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 22:01:24] local.INFO: Extracted packet for processing {"connection_id":174217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 22:01:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":28,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910212608001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:01:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 22:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22:01: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-09-06 22:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788712069000,"timestamp_ms":1788712069000,"timestamp_seconds":1788712069,"priority":1,"record_length":96,"hex_timestamp":"000001a0778c2788"} 
[2026-09-06 22:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:01: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-09-06 22: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:01: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-09-06 22: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-09-06 22:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:01: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-09-06 22:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910212608001,"66":25734,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 22:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910212608001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:01:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910212608001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":174217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:01:24] local.INFO: GPS data processed {"connection_id":174217,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:01:24] local.INFO: Acknowledgment sent {"connection_id":174217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:01:48] local.INFO: TCP Data received {"connection_id":174218,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:01:48] local.INFO: Processing buffer {"connection_id":174218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:01:48] local.INFO: IMEI packet received {"connection_id":174218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 22:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":174218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:01:52] local.INFO: TCP Data received {"connection_id":173051,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:01:52] local.INFO: Processing buffer {"connection_id":173051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:01:52] local.INFO: IMEI packet received {"connection_id":173051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":173051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:01:57] local.INFO: TCP Data received {"connection_id":173051,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:01:57] local.INFO: Processing buffer {"connection_id":173051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:01:57] local.INFO: IMEI packet received {"connection_id":173051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":173051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:01:58] local.INFO: TCP Data received {"connection_id":173051,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:01:58] local.INFO: Processing buffer {"connection_id":173051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:01:58] local.INFO: Packet analysis {"connection_id":173051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 22:01:58] local.INFO: Extracted packet for processing {"connection_id":173051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 22:01:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":28,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 22:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910212608001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:01:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 22:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22:01: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-09-06 22:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788712069000,"timestamp_ms":1788712069000,"timestamp_seconds":1788712069,"priority":1,"record_length":96,"hex_timestamp":"000001a0778c2788"} 
[2026-09-06 22:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:01: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-09-06 22:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:01:58] 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-09-06 22:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 22:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:01: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-09-06 22:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910212608001,"66":25734,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 22:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910212608001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:01:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910212608001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":173051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:01:58] local.INFO: GPS data processed {"connection_id":173051,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:01:58] local.INFO: Acknowledgment sent {"connection_id":173051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:02:02] local.INFO: TCP Data received {"connection_id":173051,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:02:02] local.INFO: Processing buffer {"connection_id":173051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:02:02] local.INFO: Packet analysis {"connection_id":173051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 22:02:02] local.INFO: Extracted packet for processing {"connection_id":173051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 22:02:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":28,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910212608001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:02:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 22:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22:02: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-09-06 22:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788712069000,"timestamp_ms":1788712069000,"timestamp_seconds":1788712069,"priority":1,"record_length":96,"hex_timestamp":"000001a0778c2788"} 
[2026-09-06 22:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:02: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-09-06 22: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:02:02] 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-09-06 22: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-09-06 22:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 22:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910212608001,"66":25734,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 22:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910212608001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:02:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910212608001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":173051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:02:02] local.INFO: GPS data processed {"connection_id":173051,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:02:02] local.INFO: Acknowledgment sent {"connection_id":173051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:02:46] local.INFO: TCP Data received {"connection_id":173052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:02:46] local.INFO: Processing buffer {"connection_id":173052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:02:46] local.INFO: IMEI packet received {"connection_id":173052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":173052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:02:51] local.INFO: TCP Data received {"connection_id":173052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:02:51] local.INFO: Processing buffer {"connection_id":173052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:02:51] local.INFO: IMEI packet received {"connection_id":173052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":173052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:02:53] local.INFO: TCP Data received {"connection_id":173052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:02:53] local.INFO: Processing buffer {"connection_id":173052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:02:53] local.INFO: Packet analysis {"connection_id":173052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 22:02:53] local.INFO: Extracted packet for processing {"connection_id":173052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 22:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":28,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910212608001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:02:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 22:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22:02: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-09-06 22:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788712069000,"timestamp_ms":1788712069000,"timestamp_seconds":1788712069,"priority":1,"record_length":96,"hex_timestamp":"000001a0778c2788"} 
[2026-09-06 22:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:02:53] 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-09-06 22: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-09-06 22:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:02: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-09-06 22:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910212608001,"66":25734,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 22:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910212608001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910212608001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":173052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:02:53] local.INFO: GPS data processed {"connection_id":173052,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:02:53] local.INFO: Acknowledgment sent {"connection_id":173052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:03:23] local.INFO: TCP Data received {"connection_id":173052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:03:23] local.INFO: Processing buffer {"connection_id":173052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0778c2788012d34cc0006aa4360000000531c..."} 
[2026-09-06 22:03:23] local.INFO: Packet analysis {"connection_id":173052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 22:03:23] local.INFO: Extracted packet for processing {"connection_id":173052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0778c"} 
[2026-09-06 22:03:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":28,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910212608001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:03:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 22:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 22:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788712069000,"timestamp_ms":1788712069000,"timestamp_seconds":1788712069,"priority":1,"record_length":96,"hex_timestamp":"000001a0778c2788"} 
[2026-09-06 22:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:03: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-09-06 22: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:03:23] 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-09-06 22: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-09-06 22:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:03: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-09-06 22:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910212608001,"66":25734,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 22:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910212608001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:03:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910212608001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":173052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:03:23] local.INFO: GPS data processed {"connection_id":173052,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:03:23] local.INFO: Acknowledgment sent {"connection_id":173052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:03:47] local.INFO: TCP Data received {"connection_id":172830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:03:47] local.INFO: Processing buffer {"connection_id":172830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:03:47] local.INFO: IMEI packet received {"connection_id":172830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":172830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:03:52] local.INFO: TCP Data received {"connection_id":172830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:03:52] local.INFO: Processing buffer {"connection_id":172830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:03:52] local.INFO: IMEI packet received {"connection_id":172830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":172830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:03:53] local.INFO: TCP Data received {"connection_id":172830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:03:53] local.INFO: Processing buffer {"connection_id":172830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:03:53] local.INFO: Packet analysis {"connection_id":172830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:03:53] local.INFO: Extracted packet for processing {"connection_id":172830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:03:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910289664001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788712370000,"timestamp_ms":1788712370000,"timestamp_seconds":1788712370,"priority":1,"record_length":96,"hex_timestamp":"000001a07790bf50"} 
[2026-09-06 22:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:03: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:03: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-09-06 22: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-09-06 22:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:03: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-09-06 22:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910289664001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910289664001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:03:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:03:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910289664001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":172830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:03:53] local.INFO: GPS data processed {"connection_id":172830,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:03:53] local.INFO: Acknowledgment sent {"connection_id":172830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:04:25] local.INFO: TCP Data received {"connection_id":172830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:04:25] local.INFO: Processing buffer {"connection_id":172830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:04:25] local.INFO: Packet analysis {"connection_id":172830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:04:25] local.INFO: Extracted packet for processing {"connection_id":172830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:04:25] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910289664001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788712370000,"timestamp_ms":1788712370000,"timestamp_seconds":1788712370,"priority":1,"record_length":96,"hex_timestamp":"000001a07790bf50"} 
[2026-09-06 22:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:04: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 22: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-09-06 22:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:04: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-09-06 22:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910289664001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910289664001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:04:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:04:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910289664001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":172830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:04:25] local.INFO: GPS data processed {"connection_id":172830,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:04:25] local.INFO: Acknowledgment sent {"connection_id":172830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:04:46] local.INFO: TCP Data received {"connection_id":174219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:04:46] local.INFO: Processing buffer {"connection_id":174219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:04:46] local.INFO: IMEI packet received {"connection_id":174219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":174219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:04:51] local.INFO: TCP Data received {"connection_id":174219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:04:51] local.INFO: Processing buffer {"connection_id":174219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:04:51] local.INFO: IMEI packet received {"connection_id":174219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":174219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:04:52] local.INFO: TCP Data received {"connection_id":174219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:04:52] local.INFO: Processing buffer {"connection_id":174219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:04:52] local.INFO: Packet analysis {"connection_id":174219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:04:52] local.INFO: Extracted packet for processing {"connection_id":174219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910289664001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788712370000,"timestamp_ms":1788712370000,"timestamp_seconds":1788712370,"priority":1,"record_length":96,"hex_timestamp":"000001a07790bf50"} 
[2026-09-06 22:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:04:52] 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-09-06 22: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-09-06 22:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:04: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-09-06 22:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910289664001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910289664001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910289664001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":174219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:04:52] local.INFO: GPS data processed {"connection_id":174219,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:04:52] local.INFO: Acknowledgment sent {"connection_id":174219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:05:13] local.INFO: TCP Data received {"connection_id":174220,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 22:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 22:05:13] local.INFO: Processing buffer {"connection_id":174220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 22:05:13] local.INFO: IMEI packet received {"connection_id":174220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-06 22:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":174220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:05:14] local.INFO: TCP Data received {"connection_id":174220,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 22:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 22:05:14] local.INFO: Processing buffer {"connection_id":174220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-06 22:05:14] local.INFO: IMEI packet received {"connection_id":174220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-06 22:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":174220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:05:23] local.INFO: TCP Data received {"connection_id":174219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:05:23] local.INFO: Processing buffer {"connection_id":174219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:05:23] local.INFO: Packet analysis {"connection_id":174219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:05:23] local.INFO: Extracted packet for processing {"connection_id":174219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:05:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910289664001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788712370000,"timestamp_ms":1788712370000,"timestamp_seconds":1788712370,"priority":1,"record_length":96,"hex_timestamp":"000001a07790bf50"} 
[2026-09-06 22:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:05:23] 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-09-06 22: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-09-06 22:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:05: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-09-06 22:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910289664001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910289664001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:05:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:05:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910289664001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":174219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:05:23] local.INFO: GPS data processed {"connection_id":174219,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:05:23] local.INFO: Acknowledgment sent {"connection_id":174219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:05:46] local.INFO: TCP Data received {"connection_id":173053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:05:46] local.INFO: Processing buffer {"connection_id":173053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:05:46] local.INFO: IMEI packet received {"connection_id":173053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":173053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:05:52] local.INFO: TCP Data received {"connection_id":173053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:05:52] local.INFO: Processing buffer {"connection_id":173053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:05:52] local.INFO: IMEI packet received {"connection_id":173053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":173053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:05:53] local.INFO: TCP Data received {"connection_id":173053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:05:53] local.INFO: Processing buffer {"connection_id":173053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:05:53] local.INFO: Packet analysis {"connection_id":173053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:05:53] local.INFO: Extracted packet for processing {"connection_id":173053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910289664001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788712370000,"timestamp_ms":1788712370000,"timestamp_seconds":1788712370,"priority":1,"record_length":96,"hex_timestamp":"000001a07790bf50"} 
[2026-09-06 22:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:05: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:05: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-09-06 22: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-09-06 22:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:05: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-09-06 22:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910289664001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910289664001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:05:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910289664001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":173053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:05:53] local.INFO: GPS data processed {"connection_id":173053,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:05:53] local.INFO: Acknowledgment sent {"connection_id":173053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:06:23] local.INFO: TCP Data received {"connection_id":173053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:06:23] local.INFO: Processing buffer {"connection_id":173053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:06:23] local.INFO: Packet analysis {"connection_id":173053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:06:23] local.INFO: Extracted packet for processing {"connection_id":173053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:06:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910289664001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788712370000,"timestamp_ms":1788712370000,"timestamp_seconds":1788712370,"priority":1,"record_length":96,"hex_timestamp":"000001a07790bf50"} 
[2026-09-06 22:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:06:23] 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-09-06 22: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-09-06 22:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:06: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-09-06 22:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910289664001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910289664001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:06:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:06:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910289664001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":173053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:06:24] local.INFO: GPS data processed {"connection_id":173053,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:06:24] local.INFO: Acknowledgment sent {"connection_id":173053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:06:46] local.INFO: TCP Data received {"connection_id":174223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:06:46] local.INFO: Processing buffer {"connection_id":174223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:06:46] local.INFO: IMEI packet received {"connection_id":174223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":174223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:06:51] local.INFO: TCP Data received {"connection_id":174223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:06:51] local.INFO: Processing buffer {"connection_id":174223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:06:51] local.INFO: IMEI packet received {"connection_id":174223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":174223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:06:53] local.INFO: TCP Data received {"connection_id":174223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:06:53] local.INFO: Processing buffer {"connection_id":174223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:06:53] local.INFO: Packet analysis {"connection_id":174223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:06:53] local.INFO: Extracted packet for processing {"connection_id":174223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910289664001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788712370000,"timestamp_ms":1788712370000,"timestamp_seconds":1788712370,"priority":1,"record_length":96,"hex_timestamp":"000001a07790bf50"} 
[2026-09-06 22:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:06: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:06: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-09-06 22: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-09-06 22:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:06: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-09-06 22:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910289664001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910289664001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:06:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:06:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910289664001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":174223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:06:53] local.INFO: GPS data processed {"connection_id":174223,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:06:53] local.INFO: Acknowledgment sent {"connection_id":174223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:07:13] local.INFO: TCP Data received {"connection_id":174222,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:07:13] local.INFO: Processing buffer {"connection_id":174222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:07:13] local.INFO: IMEI packet received {"connection_id":174222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 22:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":174222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:07:24] local.INFO: TCP Data received {"connection_id":174223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:07:24] local.INFO: Processing buffer {"connection_id":174223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:07:24] local.INFO: Packet analysis {"connection_id":174223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:07:24] local.INFO: Extracted packet for processing {"connection_id":174223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:07:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910289664001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788712370000,"timestamp_ms":1788712370000,"timestamp_seconds":1788712370,"priority":1,"record_length":96,"hex_timestamp":"000001a07790bf50"} 
[2026-09-06 22:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:07: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:07: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-09-06 22: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-09-06 22:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:07: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-09-06 22:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910289664001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910289664001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:07:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:07:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910289664001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":174223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:07:24] local.INFO: GPS data processed {"connection_id":174223,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:07:24] local.INFO: Acknowledgment sent {"connection_id":174223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:07:46] local.INFO: TCP Data received {"connection_id":172832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:07:46] local.INFO: Processing buffer {"connection_id":172832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:07:46] local.INFO: IMEI packet received {"connection_id":172832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":172832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:07:48] local.INFO: TCP Data received {"connection_id":173054,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:07:48] local.INFO: Processing buffer {"connection_id":173054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:07:48] local.INFO: IMEI packet received {"connection_id":173054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 22:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":173054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:07:52] local.INFO: TCP Data received {"connection_id":172832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:07:52] local.INFO: Processing buffer {"connection_id":172832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:07:52] local.INFO: IMEI packet received {"connection_id":172832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":172832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:07:53] local.INFO: TCP Data received {"connection_id":172832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:07:53] local.INFO: Processing buffer {"connection_id":172832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:07:53] local.INFO: Packet analysis {"connection_id":172832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:07:53] local.INFO: Extracted packet for processing {"connection_id":172832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910289664001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788712370000,"timestamp_ms":1788712370000,"timestamp_seconds":1788712370,"priority":1,"record_length":96,"hex_timestamp":"000001a07790bf50"} 
[2026-09-06 22:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:07: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:07: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-09-06 22: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-09-06 22:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:07: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-09-06 22:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910289664001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910289664001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:07:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910289664001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":172832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:07:53] local.INFO: GPS data processed {"connection_id":172832,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:07:53] local.INFO: Acknowledgment sent {"connection_id":172832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:07:54] local.INFO: TCP Data received {"connection_id":173054,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:07:54] local.INFO: Processing buffer {"connection_id":173054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:07:54] local.INFO: IMEI packet received {"connection_id":173054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-06 22:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":173054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:07:55] local.INFO: TCP Data received {"connection_id":173054,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07793d460012be191c00b2753a0026d010027..."} 
[2026-09-06 22:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07793d460012be191c00b2753a0026d010027..."} 
[2026-09-06 22:07:55] local.INFO: Processing buffer {"connection_id":173054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07793d460012be191c00b2753a0026d010027..."} 
[2026-09-06 22:07:55] local.INFO: Packet analysis {"connection_id":173054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07793"} 
[2026-09-06 22:07:55] local.INFO: Extracted packet for processing {"connection_id":173054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07793"} 
[2026-09-06 22:07:55] local.INFO: GPS Element Parsed {"raw_longitude":736203200,"raw_latitude":187126688,"longitude_deg":73.62032,"latitude_deg":18.7126688,"altitude":621,"angle":256,"satellites":39,"speed":0,"hex_longitude":"2be191c0","hex_latitude":"0b2753a0","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910413056001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3618535716683776,"note":"Value kept but may cause issues"} 
[2026-09-06 22:07:55] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-2169257228859219966,"note":"Value kept but may cause issues"} 
[2026-09-06 22:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,237,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-06 22:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788712572000,"timestamp_ms":1788712572000,"timestamp_seconds":1788712572,"priority":1,"record_length":96,"hex_timestamp":"000001a07793d460"} 
[2026-09-06 22:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-06 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-06 22:07: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-09-06 22: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-09-06 22:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173054,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 22:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173054,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-06 22:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 22:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-06 22:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-06 22:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910413056001,"66":27550,"57":206,"237":60160,"24":0,"16":3618535716683776,"43":-2169257228859219966},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,237,24,16,43]} 
[2026-09-06 22:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-06 22:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-06 22:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910413056001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:07:55] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-06 22:07:55] local.INFO: Unknown IO ID detected {"io_id":237,"value":60160,"description":"Unknown IO ID 237"} 
[2026-09-06 22:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3618535716683776,"km_value":3618535716683.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:07:55] local.INFO: Unknown IO ID detected {"io_id":43,"value":-2169257228859219966,"description":"Unknown IO ID 43"} 
[2026-09-06 22:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910413056001,"power":27550,"unknown_57":206,"unknown_237":60160,"ignition":0,"odometer":null,"unknown_43":-2169257228859219966}} 
[2026-09-06 22:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":173054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776186,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:07:55] local.INFO: GPS data processed {"connection_id":173054,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:07:55] local.INFO: Acknowledgment sent {"connection_id":173054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:08:24] local.INFO: TCP Data received {"connection_id":172832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:08:24] local.INFO: Processing buffer {"connection_id":172832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07790bf50012d34cc0006aa43600000005320..."} 
[2026-09-06 22:08:24] local.INFO: Packet analysis {"connection_id":172832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:08:24] local.INFO: Extracted packet for processing {"connection_id":172832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07790"} 
[2026-09-06 22:08:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910289664001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788712370000,"timestamp_ms":1788712370000,"timestamp_seconds":1788712370,"priority":1,"record_length":96,"hex_timestamp":"000001a07790bf50"} 
[2026-09-06 22:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:08: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:08: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-09-06 22: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-09-06 22:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 22:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910289664001,"66":25712,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910289664001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:08:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910289664001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":172832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:08:24] local.INFO: GPS data processed {"connection_id":172832,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:08:24] local.INFO: Acknowledgment sent {"connection_id":172832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:08:44] local.INFO: TCP Data received {"connection_id":175553,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:08:44] local.INFO: Processing buffer {"connection_id":175553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:08:44] local.INFO: IMEI packet received {"connection_id":175553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 22:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":175553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:08:52] local.INFO: TCP Data received {"connection_id":172833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:08:52] local.INFO: Processing buffer {"connection_id":172833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:08:52] local.INFO: IMEI packet received {"connection_id":172833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":172833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:08:56] local.INFO: TCP Data received {"connection_id":172833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:08:56] local.INFO: Processing buffer {"connection_id":172833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:08:56] local.INFO: IMEI packet received {"connection_id":172833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":172833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:08:58] local.INFO: TCP Data received {"connection_id":172833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:08:58] local.INFO: Processing buffer {"connection_id":172833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:08:58] local.INFO: Packet analysis {"connection_id":172833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:08:58] local.INFO: Extracted packet for processing {"connection_id":172833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:08:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910366720001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788712671000,"timestamp_ms":1788712671000,"timestamp_seconds":1788712671,"priority":1,"record_length":96,"hex_timestamp":"000001a077955718"} 
[2026-09-06 22:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:08: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-09-06 22: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:08:58] 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-09-06 22: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-09-06 22:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:08: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-09-06 22:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910366720001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910366720001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:08:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:08:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910366720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":172833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:08:58] local.INFO: GPS data processed {"connection_id":172833,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:08:58] local.INFO: Acknowledgment sent {"connection_id":172833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:09:02] local.INFO: TCP Data received {"connection_id":172833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:09:02] local.INFO: Processing buffer {"connection_id":172833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:09:02] local.INFO: Packet analysis {"connection_id":172833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:09:02] local.INFO: Extracted packet for processing {"connection_id":172833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:09:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910366720001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788712671000,"timestamp_ms":1788712671000,"timestamp_seconds":1788712671,"priority":1,"record_length":96,"hex_timestamp":"000001a077955718"} 
[2026-09-06 22:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:09: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-09-06 22: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:09:02] 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-09-06 22: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-09-06 22:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:09: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-09-06 22:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910366720001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910366720001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:09:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:09:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910366720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":172833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:09:02] local.INFO: GPS data processed {"connection_id":172833,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:09:02] local.INFO: Acknowledgment sent {"connection_id":172833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:09:47] local.INFO: TCP Data received {"connection_id":174224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:09:47] local.INFO: Processing buffer {"connection_id":174224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:09:47] local.INFO: IMEI packet received {"connection_id":174224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":174224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:09:52] local.INFO: TCP Data received {"connection_id":174224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:09:52] local.INFO: Processing buffer {"connection_id":174224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:09:52] local.INFO: IMEI packet received {"connection_id":174224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":174224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:09:53] local.INFO: TCP Data received {"connection_id":174224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:09:53] local.INFO: Processing buffer {"connection_id":174224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:09:53] local.INFO: Packet analysis {"connection_id":174224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:09:53] local.INFO: Extracted packet for processing {"connection_id":174224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910366720001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788712671000,"timestamp_ms":1788712671000,"timestamp_seconds":1788712671,"priority":1,"record_length":96,"hex_timestamp":"000001a077955718"} 
[2026-09-06 22:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:09: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-09-06 22: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:09:53] 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-09-06 22: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-09-06 22:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:09: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-09-06 22:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910366720001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910366720001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:09:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910366720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":174224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:09:53] local.INFO: GPS data processed {"connection_id":174224,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:09:53] local.INFO: Acknowledgment sent {"connection_id":174224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:09:57] local.INFO: TCP Data received {"connection_id":174224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:09:57] local.INFO: Processing buffer {"connection_id":174224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:09:57] local.INFO: Packet analysis {"connection_id":174224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:09:57] local.INFO: Extracted packet for processing {"connection_id":174224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:09:57] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910366720001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788712671000,"timestamp_ms":1788712671000,"timestamp_seconds":1788712671,"priority":1,"record_length":96,"hex_timestamp":"000001a077955718"} 
[2026-09-06 22:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:09: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-09-06 22: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:09:57] 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-09-06 22: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-09-06 22:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:09: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-09-06 22:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910366720001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910366720001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:09:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:09:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910366720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":174224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:09:57] local.INFO: GPS data processed {"connection_id":174224,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:09:57] local.INFO: Acknowledgment sent {"connection_id":174224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:10:29] local.INFO: TCP Data received {"connection_id":174224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:10:29] local.INFO: Processing buffer {"connection_id":174224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:10:29] local.INFO: Packet analysis {"connection_id":174224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:10:29] local.INFO: Extracted packet for processing {"connection_id":174224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:10:29] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 22:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910366720001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22:10: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-09-06 22:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788712671000,"timestamp_ms":1788712671000,"timestamp_seconds":1788712671,"priority":1,"record_length":96,"hex_timestamp":"000001a077955718"} 
[2026-09-06 22:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:10: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-09-06 22:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:10:29] 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-09-06 22:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 22:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:10: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-09-06 22:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910366720001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910366720001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:10:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:10:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910366720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":174224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:10:29] local.INFO: GPS data processed {"connection_id":174224,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:10:29] local.INFO: Acknowledgment sent {"connection_id":174224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:10:46] local.INFO: TCP Data received {"connection_id":173056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:10:46] local.INFO: Processing buffer {"connection_id":173056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:10:46] local.INFO: IMEI packet received {"connection_id":173056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":173056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:10:51] local.INFO: TCP Data received {"connection_id":173056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:10:51] local.INFO: Processing buffer {"connection_id":173056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:10:51] local.INFO: IMEI packet received {"connection_id":173056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":173056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:10:52] local.INFO: TCP Data received {"connection_id":173056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:10:52] local.INFO: Processing buffer {"connection_id":173056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:10:52] local.INFO: Packet analysis {"connection_id":173056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:10:52] local.INFO: Extracted packet for processing {"connection_id":173056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910366720001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788712671000,"timestamp_ms":1788712671000,"timestamp_seconds":1788712671,"priority":1,"record_length":96,"hex_timestamp":"000001a077955718"} 
[2026-09-06 22:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:10:52] 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-09-06 22: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-09-06 22:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:10: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-09-06 22:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910366720001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910366720001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:10:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910366720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":173056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:10:52] local.INFO: GPS data processed {"connection_id":173056,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:10:52] local.INFO: Acknowledgment sent {"connection_id":173056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:11:24] local.INFO: TCP Data received {"connection_id":173056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:11:24] local.INFO: Processing buffer {"connection_id":173056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:11:24] local.INFO: Packet analysis {"connection_id":173056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:11:24] local.INFO: Extracted packet for processing {"connection_id":173056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910366720001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788712671000,"timestamp_ms":1788712671000,"timestamp_seconds":1788712671,"priority":1,"record_length":96,"hex_timestamp":"000001a077955718"} 
[2026-09-06 22:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:11: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-09-06 22: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-09-06 22:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:11: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-09-06 22:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910366720001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910366720001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910366720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":173056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:11:24] local.INFO: GPS data processed {"connection_id":173056,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:11:24] local.INFO: Acknowledgment sent {"connection_id":173056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:11:47] local.INFO: TCP Data received {"connection_id":174225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:11:47] local.INFO: Processing buffer {"connection_id":174225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:11:47] local.INFO: IMEI packet received {"connection_id":174225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":174225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:11:52] local.INFO: TCP Data received {"connection_id":174225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:11:52] local.INFO: Processing buffer {"connection_id":174225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:11:52] local.INFO: IMEI packet received {"connection_id":174225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":174225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:11:53] local.INFO: TCP Data received {"connection_id":174225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:11:53] local.INFO: Processing buffer {"connection_id":174225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:11:53] local.INFO: Packet analysis {"connection_id":174225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:11:53] local.INFO: Extracted packet for processing {"connection_id":174225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:11:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910366720001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788712671000,"timestamp_ms":1788712671000,"timestamp_seconds":1788712671,"priority":1,"record_length":96,"hex_timestamp":"000001a077955718"} 
[2026-09-06 22:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:11: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-09-06 22: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:11:53] 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-09-06 22: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-09-06 22:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:11: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-09-06 22:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910366720001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910366720001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:11:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:11:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910366720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":174225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:11:53] local.INFO: GPS data processed {"connection_id":174225,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:11:53] local.INFO: Acknowledgment sent {"connection_id":174225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:12:24] local.INFO: TCP Data received {"connection_id":174225,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:12:24] local.INFO: Processing buffer {"connection_id":174225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:12:24] local.INFO: Packet analysis {"connection_id":174225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:12:24] local.INFO: Extracted packet for processing {"connection_id":174225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 22:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910366720001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 22:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788712671000,"timestamp_ms":1788712671000,"timestamp_seconds":1788712671,"priority":1,"record_length":96,"hex_timestamp":"000001a077955718"} 
[2026-09-06 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-09-06 22:12: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-09-06 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:12: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-09-06 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-09-06 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-09-06 22:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:12: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-09-06 22:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910366720001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910366720001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:12:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910366720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":174225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:12:24] local.INFO: GPS data processed {"connection_id":174225,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:12:24] local.INFO: Acknowledgment sent {"connection_id":174225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:12:46] local.INFO: TCP Data received {"connection_id":173057,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:12:46] local.INFO: Processing buffer {"connection_id":173057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:12:46] local.INFO: IMEI packet received {"connection_id":173057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":173057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:12:52] local.INFO: TCP Data received {"connection_id":173057,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:12:52] local.INFO: Processing buffer {"connection_id":173057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:12:52] local.INFO: IMEI packet received {"connection_id":173057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":173057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:12:53] local.INFO: TCP Data received {"connection_id":173057,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:12:53] local.INFO: Processing buffer {"connection_id":173057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:12:53] local.INFO: Packet analysis {"connection_id":173057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:12:53] local.INFO: Extracted packet for processing {"connection_id":173057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:12:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910366720001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788712671000,"timestamp_ms":1788712671000,"timestamp_seconds":1788712671,"priority":1,"record_length":96,"hex_timestamp":"000001a077955718"} 
[2026-09-06 22:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:12: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-09-06 22: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:12:53] 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-09-06 22: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-09-06 22:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:12: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-09-06 22:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910366720001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910366720001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:12:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:12:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910366720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":173057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:12:53] local.INFO: GPS data processed {"connection_id":173057,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:12:53] local.INFO: Acknowledgment sent {"connection_id":173057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:13:24] local.INFO: TCP Data received {"connection_id":173057,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:13:24] local.INFO: Processing buffer {"connection_id":173057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077955718012d34cc0006aa43600000005320..."} 
[2026-09-06 22:13:24] local.INFO: Packet analysis {"connection_id":173057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:13:24] local.INFO: Extracted packet for processing {"connection_id":173057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07795"} 
[2026-09-06 22:13:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910366720001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788712671000,"timestamp_ms":1788712671000,"timestamp_seconds":1788712671,"priority":1,"record_length":96,"hex_timestamp":"000001a077955718"} 
[2026-09-06 22:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:13: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-09-06 22: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":112,"data_length":795,"current_offset":136} 
[2026-09-06 22:13: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-09-06 22: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-09-06 22:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:13: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-09-06 22:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910366720001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910366720001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:13:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:13:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910366720001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":173057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:13:24] local.INFO: GPS data processed {"connection_id":173057,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:13:24] local.INFO: Acknowledgment sent {"connection_id":173057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:13:46] local.INFO: TCP Data received {"connection_id":175556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:13:46] local.INFO: Processing buffer {"connection_id":175556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:13:46] local.INFO: IMEI packet received {"connection_id":175556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":175556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:13:52] local.INFO: TCP Data received {"connection_id":175556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:13:52] local.INFO: Processing buffer {"connection_id":175556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:13:52] local.INFO: IMEI packet received {"connection_id":175556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":175556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:13:53] local.INFO: TCP Data received {"connection_id":175556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:13:53] local.INFO: Processing buffer {"connection_id":175556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:13:53] local.INFO: Packet analysis {"connection_id":175556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:13:53] local.INFO: Extracted packet for processing {"connection_id":175556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910443776001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788712972000,"timestamp_ms":1788712972000,"timestamp_seconds":1788712972,"priority":1,"record_length":96,"hex_timestamp":"000001a07799eee0"} 
[2026-09-06 22:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:13: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:13: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-09-06 22: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-09-06 22:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:13: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-09-06 22:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910443776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910443776001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910443776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":175556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:13:53] local.INFO: GPS data processed {"connection_id":175556,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:13:53] local.INFO: Acknowledgment sent {"connection_id":175556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:14:01] local.INFO: TCP Data received {"connection_id":172834,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:14:01] local.INFO: Processing buffer {"connection_id":172834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:14:01] local.INFO: IMEI packet received {"connection_id":172834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 22:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":172834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:14:24] local.INFO: TCP Data received {"connection_id":175556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:14:24] local.INFO: Processing buffer {"connection_id":175556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:14:24] local.INFO: Packet analysis {"connection_id":175556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:14:24] local.INFO: Extracted packet for processing {"connection_id":175556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:14:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910443776001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788712972000,"timestamp_ms":1788712972000,"timestamp_seconds":1788712972,"priority":1,"record_length":96,"hex_timestamp":"000001a07799eee0"} 
[2026-09-06 22:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:14: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:14: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-09-06 22: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-09-06 22:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:14: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-09-06 22:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910443776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910443776001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:14:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:14:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910443776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":175556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:14:24] local.INFO: GPS data processed {"connection_id":175556,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:14:24] local.INFO: Acknowledgment sent {"connection_id":175556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:14:46] local.INFO: TCP Data received {"connection_id":172835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:14:46] local.INFO: Processing buffer {"connection_id":172835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:14:46] local.INFO: IMEI packet received {"connection_id":172835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":172835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:14:51] local.INFO: TCP Data received {"connection_id":172835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:14:51] local.INFO: Processing buffer {"connection_id":172835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:14:51] local.INFO: IMEI packet received {"connection_id":172835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":172835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:14:52] local.INFO: TCP Data received {"connection_id":172835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:14:52] local.INFO: Processing buffer {"connection_id":172835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:14:52] local.INFO: Packet analysis {"connection_id":172835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:14:52] local.INFO: Extracted packet for processing {"connection_id":172835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910443776001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788712972000,"timestamp_ms":1788712972000,"timestamp_seconds":1788712972,"priority":1,"record_length":96,"hex_timestamp":"000001a07799eee0"} 
[2026-09-06 22:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:14: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:14: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-09-06 22: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-09-06 22:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:14: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-09-06 22:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910443776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910443776001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:14:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910443776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":172835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:14:52] local.INFO: GPS data processed {"connection_id":172835,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:14:52] local.INFO: Acknowledgment sent {"connection_id":172835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:15:23] local.INFO: TCP Data received {"connection_id":172835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:15:23] local.INFO: Processing buffer {"connection_id":172835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:15:23] local.INFO: Packet analysis {"connection_id":172835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:15:23] local.INFO: Extracted packet for processing {"connection_id":172835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:15:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910443776001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788712972000,"timestamp_ms":1788712972000,"timestamp_seconds":1788712972,"priority":1,"record_length":96,"hex_timestamp":"000001a07799eee0"} 
[2026-09-06 22:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:15: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 22: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-09-06 22:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:15: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-09-06 22:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910443776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910443776001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:15:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:15:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910443776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":172835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:15:23] local.INFO: GPS data processed {"connection_id":172835,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:15:23] local.INFO: Acknowledgment sent {"connection_id":172835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:15:53] local.INFO: TCP Data received {"connection_id":174228,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:15:53] local.INFO: Processing buffer {"connection_id":174228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:15:53] local.INFO: IMEI packet received {"connection_id":174228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":174228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:15:57] local.INFO: TCP Data received {"connection_id":174228,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:15:57] local.INFO: Processing buffer {"connection_id":174228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:15:57] local.INFO: IMEI packet received {"connection_id":174228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":174228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:15:58] local.INFO: TCP Data received {"connection_id":174228,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:15:58] local.INFO: Processing buffer {"connection_id":174228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:15:58] local.INFO: Packet analysis {"connection_id":174228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:15:58] local.INFO: Extracted packet for processing {"connection_id":174228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:15:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910443776001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22:15: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-09-06 22:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788712972000,"timestamp_ms":1788712972000,"timestamp_seconds":1788712972,"priority":1,"record_length":96,"hex_timestamp":"000001a07799eee0"} 
[2026-09-06 22:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:15: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-09-06 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:15: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-09-06 22: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-09-06 22:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:15: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-09-06 22:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910443776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910443776001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:15:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:15:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910443776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":174228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:15:58] local.INFO: GPS data processed {"connection_id":174228,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:15:58] local.INFO: Acknowledgment sent {"connection_id":174228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:16:03] local.INFO: TCP Data received {"connection_id":174228,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:16:03] local.INFO: Processing buffer {"connection_id":174228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:16:03] local.INFO: Packet analysis {"connection_id":174228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:16:03] local.INFO: Extracted packet for processing {"connection_id":174228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910443776001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788712972000,"timestamp_ms":1788712972000,"timestamp_seconds":1788712972,"priority":1,"record_length":96,"hex_timestamp":"000001a07799eee0"} 
[2026-09-06 22:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 22: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-09-06 22:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 22:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910443776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910443776001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910443776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":174228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:16:03] local.INFO: GPS data processed {"connection_id":174228,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:16:03] local.INFO: Acknowledgment sent {"connection_id":174228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:16:46] local.INFO: TCP Data received {"connection_id":174229,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:16:46] local.INFO: Processing buffer {"connection_id":174229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:16:46] local.INFO: IMEI packet received {"connection_id":174229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":174229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:16:51] local.INFO: TCP Data received {"connection_id":174229,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:16:51] local.INFO: Processing buffer {"connection_id":174229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:16:51] local.INFO: IMEI packet received {"connection_id":174229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":174229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:16:53] local.INFO: TCP Data received {"connection_id":174229,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:16:53] local.INFO: Processing buffer {"connection_id":174229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:16:53] local.INFO: Packet analysis {"connection_id":174229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:16:53] local.INFO: Extracted packet for processing {"connection_id":174229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:16:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910443776001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788712972000,"timestamp_ms":1788712972000,"timestamp_seconds":1788712972,"priority":1,"record_length":96,"hex_timestamp":"000001a07799eee0"} 
[2026-09-06 22:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:16: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-09-06 22: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-09-06 22:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:16: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-09-06 22:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910443776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910443776001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:16:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:16:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910443776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":174229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:16:53] local.INFO: GPS data processed {"connection_id":174229,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:16:53] local.INFO: Acknowledgment sent {"connection_id":174229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:17:24] local.INFO: TCP Data received {"connection_id":174229,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:17:24] local.INFO: Processing buffer {"connection_id":174229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:17:24] local.INFO: Packet analysis {"connection_id":174229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:17:24] local.INFO: Extracted packet for processing {"connection_id":174229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910443776001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788712972000,"timestamp_ms":1788712972000,"timestamp_seconds":1788712972,"priority":1,"record_length":96,"hex_timestamp":"000001a07799eee0"} 
[2026-09-06 22:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:17: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-09-06 22: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-09-06 22:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:17: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-09-06 22:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910443776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910443776001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:17:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910443776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":174229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:17:24] local.INFO: GPS data processed {"connection_id":174229,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:17:24] local.INFO: Acknowledgment sent {"connection_id":174229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:17:47] local.INFO: TCP Data received {"connection_id":174230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:17:47] local.INFO: Processing buffer {"connection_id":174230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:17:47] local.INFO: IMEI packet received {"connection_id":174230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":174230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:17:52] local.INFO: TCP Data received {"connection_id":174230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:17:52] local.INFO: Processing buffer {"connection_id":174230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:17:52] local.INFO: IMEI packet received {"connection_id":174230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":174230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:17:53] local.INFO: TCP Data received {"connection_id":174230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:17:53] local.INFO: Processing buffer {"connection_id":174230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:17:53] local.INFO: Packet analysis {"connection_id":174230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:17:53] local.INFO: Extracted packet for processing {"connection_id":174230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910443776001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788712972000,"timestamp_ms":1788712972000,"timestamp_seconds":1788712972,"priority":1,"record_length":96,"hex_timestamp":"000001a07799eee0"} 
[2026-09-06 22:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:17: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:17: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-09-06 22: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-09-06 22:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910443776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910443776001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:17:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910443776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":174230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:17:53] local.INFO: GPS data processed {"connection_id":174230,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:17:53] local.INFO: Acknowledgment sent {"connection_id":174230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:18:24] local.INFO: TCP Data received {"connection_id":174230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:18:24] local.INFO: Processing buffer {"connection_id":174230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07799eee0012d34cc0006aa4360000100531d..."} 
[2026-09-06 22:18:24] local.INFO: Packet analysis {"connection_id":174230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:18:24] local.INFO: Extracted packet for processing {"connection_id":174230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07799"} 
[2026-09-06 22:18:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":29,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910443776001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788712972000,"timestamp_ms":1788712972000,"timestamp_seconds":1788712972,"priority":1,"record_length":96,"hex_timestamp":"000001a07799eee0"} 
[2026-09-06 22:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:18: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-09-06 22: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-09-06 22:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:18: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-09-06 22:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910443776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910443776001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:18:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:18:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910443776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":174230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:18:24] local.INFO: GPS data processed {"connection_id":174230,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:18:24] local.INFO: Acknowledgment sent {"connection_id":174230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:18:46] local.INFO: TCP Data received {"connection_id":172836,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:18:46] local.INFO: Processing buffer {"connection_id":172836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:18:46] local.INFO: IMEI packet received {"connection_id":172836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":172836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:18:51] local.INFO: TCP Data received {"connection_id":172836,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:18:51] local.INFO: Processing buffer {"connection_id":172836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:18:51] local.INFO: IMEI packet received {"connection_id":172836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":172836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:18:52] local.INFO: TCP Data received {"connection_id":172836,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:18:52] local.INFO: Processing buffer {"connection_id":172836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:18:52] local.INFO: Packet analysis {"connection_id":172836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:18:52] local.INFO: Extracted packet for processing {"connection_id":172836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910520832001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788713273000,"timestamp_ms":1788713273000,"timestamp_seconds":1788713273,"priority":1,"record_length":96,"hex_timestamp":"000001a0779e86a8"} 
[2026-09-06 22:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:18: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-09-06 22: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 22:18: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-09-06 22: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-09-06 22:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:18: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-09-06 22:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910520832001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910520832001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:18:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910520832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":172836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:18:52] local.INFO: GPS data processed {"connection_id":172836,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:18:52] local.INFO: Acknowledgment sent {"connection_id":172836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:19:23] local.INFO: TCP Data received {"connection_id":172836,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:19:23] local.INFO: Processing buffer {"connection_id":172836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:19:23] local.INFO: Packet analysis {"connection_id":172836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:19:23] local.INFO: Extracted packet for processing {"connection_id":172836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:19:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910520832001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788713273000,"timestamp_ms":1788713273000,"timestamp_seconds":1788713273,"priority":1,"record_length":96,"hex_timestamp":"000001a0779e86a8"} 
[2026-09-06 22:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:19: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-09-06 22: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 22:19:23] 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-09-06 22: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-09-06 22:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:19: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-09-06 22:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910520832001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910520832001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:19:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:19:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910520832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":172836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:19:23] local.INFO: GPS data processed {"connection_id":172836,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:19:23] local.INFO: Acknowledgment sent {"connection_id":172836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:19:48] local.INFO: TCP Data received {"connection_id":175558,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:19:48] local.INFO: Processing buffer {"connection_id":175558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:19:48] local.INFO: IMEI packet received {"connection_id":175558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 22:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":175558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:19:52] local.INFO: TCP Data received {"connection_id":174233,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:19:52] local.INFO: Processing buffer {"connection_id":174233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:19:52] local.INFO: IMEI packet received {"connection_id":174233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":174233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:19:57] local.INFO: TCP Data received {"connection_id":174233,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:19:57] local.INFO: Processing buffer {"connection_id":174233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:19:57] local.INFO: IMEI packet received {"connection_id":174233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":174233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:19:58] local.INFO: TCP Data received {"connection_id":174233,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:19:58] local.INFO: Processing buffer {"connection_id":174233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:19:58] local.INFO: Packet analysis {"connection_id":174233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:19:58] local.INFO: Extracted packet for processing {"connection_id":174233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:19:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910520832001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22:19: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-09-06 22:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788713273000,"timestamp_ms":1788713273000,"timestamp_seconds":1788713273,"priority":1,"record_length":96,"hex_timestamp":"000001a0779e86a8"} 
[2026-09-06 22:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:19: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-09-06 22:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 22:19: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-09-06 22: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-09-06 22:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:19: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-09-06 22:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910520832001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910520832001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:19:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:19:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910520832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":174233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:19:58] local.INFO: GPS data processed {"connection_id":174233,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:19:58] local.INFO: Acknowledgment sent {"connection_id":174233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:20:02] local.INFO: TCP Data received {"connection_id":174233,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:20:02] local.INFO: Processing buffer {"connection_id":174233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:20:02] local.INFO: Packet analysis {"connection_id":174233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:20:02] local.INFO: Extracted packet for processing {"connection_id":174233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:20:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910520832001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788713273000,"timestamp_ms":1788713273000,"timestamp_seconds":1788713273,"priority":1,"record_length":96,"hex_timestamp":"000001a0779e86a8"} 
[2026-09-06 22:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:20: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-09-06 22: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 22:20: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-09-06 22: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-09-06 22:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 22:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910520832001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910520832001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:20:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:20:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910520832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":174233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:20:02] local.INFO: GPS data processed {"connection_id":174233,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:20:02] local.INFO: Acknowledgment sent {"connection_id":174233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:20:46] local.INFO: TCP Data received {"connection_id":175559,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:20:46] local.INFO: Processing buffer {"connection_id":175559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:20:46] local.INFO: IMEI packet received {"connection_id":175559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":175559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:20:51] local.INFO: TCP Data received {"connection_id":175559,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:20:51] local.INFO: Processing buffer {"connection_id":175559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:20:51] local.INFO: IMEI packet received {"connection_id":175559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":175559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:20:52] local.INFO: TCP Data received {"connection_id":175559,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:20:52] local.INFO: Processing buffer {"connection_id":175559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:20:52] local.INFO: Packet analysis {"connection_id":175559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:20:52] local.INFO: Extracted packet for processing {"connection_id":175559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910520832001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788713273000,"timestamp_ms":1788713273000,"timestamp_seconds":1788713273,"priority":1,"record_length":96,"hex_timestamp":"000001a0779e86a8"} 
[2026-09-06 22:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 22:20: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-09-06 22: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-09-06 22:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:20: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-09-06 22:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910520832001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910520832001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:20:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910520832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":175559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:20:52] local.INFO: GPS data processed {"connection_id":175559,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:20:52] local.INFO: Acknowledgment sent {"connection_id":175559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:21:23] local.INFO: TCP Data received {"connection_id":175559,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:21:23] local.INFO: Processing buffer {"connection_id":175559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:21:23] local.INFO: Packet analysis {"connection_id":175559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:21:23] local.INFO: Extracted packet for processing {"connection_id":175559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:21:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 22:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910520832001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 22:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788713273000,"timestamp_ms":1788713273000,"timestamp_seconds":1788713273,"priority":1,"record_length":96,"hex_timestamp":"000001a0779e86a8"} 
[2026-09-06 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-09-06 22: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-09-06 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 22:21:23] 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-09-06 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-09-06 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-09-06 22:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:21: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-09-06 22:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910520832001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910520832001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:21:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:21:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910520832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":175559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:21:23] local.INFO: GPS data processed {"connection_id":175559,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:21:23] local.INFO: Acknowledgment sent {"connection_id":175559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:21:47] local.INFO: TCP Data received {"connection_id":172837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:21:47] local.INFO: Processing buffer {"connection_id":172837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:21:47] local.INFO: IMEI packet received {"connection_id":172837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":172837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:21:52] local.INFO: TCP Data received {"connection_id":172837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:21:52] local.INFO: Processing buffer {"connection_id":172837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:21:52] local.INFO: IMEI packet received {"connection_id":172837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":172837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:21:53] local.INFO: TCP Data received {"connection_id":172837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:21:53] local.INFO: Processing buffer {"connection_id":172837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:21:53] local.INFO: Packet analysis {"connection_id":172837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:21:53] local.INFO: Extracted packet for processing {"connection_id":172837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910520832001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788713273000,"timestamp_ms":1788713273000,"timestamp_seconds":1788713273,"priority":1,"record_length":96,"hex_timestamp":"000001a0779e86a8"} 
[2026-09-06 22:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:21: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-09-06 22: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 22:21: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-09-06 22: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-09-06 22:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:21: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-09-06 22:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910520832001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910520832001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:21:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910520832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":172837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:21:53] local.INFO: GPS data processed {"connection_id":172837,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:21:53] local.INFO: Acknowledgment sent {"connection_id":172837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:22:24] local.INFO: TCP Data received {"connection_id":172837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:22:24] local.INFO: Processing buffer {"connection_id":172837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:22:24] local.INFO: Packet analysis {"connection_id":172837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:22:24] local.INFO: Extracted packet for processing {"connection_id":172837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:22:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910520832001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788713273000,"timestamp_ms":1788713273000,"timestamp_seconds":1788713273,"priority":1,"record_length":96,"hex_timestamp":"000001a0779e86a8"} 
[2026-09-06 22:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 22:22: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-09-06 22: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-09-06 22:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:22: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-09-06 22:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910520832001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910520832001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:22:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:22:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910520832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":172837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:22:24] local.INFO: GPS data processed {"connection_id":172837,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:22:24] local.INFO: Acknowledgment sent {"connection_id":172837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:22:46] local.INFO: TCP Data received {"connection_id":172838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:22:46] local.INFO: Processing buffer {"connection_id":172838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:22:46] local.INFO: IMEI packet received {"connection_id":172838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":172838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:22:51] local.INFO: TCP Data received {"connection_id":172838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:22:51] local.INFO: Processing buffer {"connection_id":172838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:22:51] local.INFO: IMEI packet received {"connection_id":172838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":172838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:22:52] local.INFO: TCP Data received {"connection_id":172838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:22:52] local.INFO: Processing buffer {"connection_id":172838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:22:52] local.INFO: Packet analysis {"connection_id":172838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:22:52] local.INFO: Extracted packet for processing {"connection_id":172838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910520832001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788713273000,"timestamp_ms":1788713273000,"timestamp_seconds":1788713273,"priority":1,"record_length":96,"hex_timestamp":"000001a0779e86a8"} 
[2026-09-06 22:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 22:22: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-09-06 22: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-09-06 22:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910520832001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910520832001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:22:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910520832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":172838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:22:52] local.INFO: GPS data processed {"connection_id":172838,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:22:52] local.INFO: Acknowledgment sent {"connection_id":172838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:23:23] local.INFO: TCP Data received {"connection_id":172838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:23:23] local.INFO: Processing buffer {"connection_id":172838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0779e86a8012d34cc0006aa43600001005324..."} 
[2026-09-06 22:23:23] local.INFO: Packet analysis {"connection_id":172838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:23:23] local.INFO: Extracted packet for processing {"connection_id":172838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0779e"} 
[2026-09-06 22:23:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 22:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910520832001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 22:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788713273000,"timestamp_ms":1788713273000,"timestamp_seconds":1788713273,"priority":1,"record_length":96,"hex_timestamp":"000001a0779e86a8"} 
[2026-09-06 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-09-06 22: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-09-06 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 22:23:23] 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-09-06 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-09-06 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-09-06 22:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910520832001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910520832001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:23:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:23:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910520832001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":172838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:23:23] local.INFO: GPS data processed {"connection_id":172838,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:23:23] local.INFO: Acknowledgment sent {"connection_id":172838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:23:47] local.INFO: TCP Data received {"connection_id":175561,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:23:47] local.INFO: Processing buffer {"connection_id":175561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:23:47] local.INFO: IMEI packet received {"connection_id":175561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":175561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:23:52] local.INFO: TCP Data received {"connection_id":175561,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:23:52] local.INFO: Processing buffer {"connection_id":175561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:23:52] local.INFO: IMEI packet received {"connection_id":175561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":175561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:23:52] local.INFO: TCP Data received {"connection_id":175561,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:23:52] local.INFO: Processing buffer {"connection_id":175561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:23:52] local.INFO: Packet analysis {"connection_id":175561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:23:52] local.INFO: Extracted packet for processing {"connection_id":175561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910597888001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788713574000,"timestamp_ms":1788713574000,"timestamp_seconds":1788713574,"priority":1,"record_length":96,"hex_timestamp":"000001a077a31e70"} 
[2026-09-06 22:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:23: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-09-06 22: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-09-06 22:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:23: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-09-06 22:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910597888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910597888001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:23:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910597888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":175561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:23:52] local.INFO: GPS data processed {"connection_id":175561,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:23:52] local.INFO: Acknowledgment sent {"connection_id":175561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:24:24] local.INFO: TCP Data received {"connection_id":175561,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:24:24] local.INFO: Processing buffer {"connection_id":175561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:24:24] local.INFO: Packet analysis {"connection_id":175561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:24:24] local.INFO: Extracted packet for processing {"connection_id":175561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910597888001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788713574000,"timestamp_ms":1788713574000,"timestamp_seconds":1788713574,"priority":1,"record_length":96,"hex_timestamp":"000001a077a31e70"} 
[2026-09-06 22:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:24: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-09-06 22: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-09-06 22:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:24: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-09-06 22:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910597888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910597888001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:24:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910597888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":175561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:24:24] local.INFO: GPS data processed {"connection_id":175561,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:24:24] local.INFO: Acknowledgment sent {"connection_id":175561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:24:46] local.INFO: TCP Data received {"connection_id":173060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:24:46] local.INFO: Processing buffer {"connection_id":173060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:24:46] local.INFO: IMEI packet received {"connection_id":173060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":173060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:24:51] local.INFO: TCP Data received {"connection_id":173060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:24:51] local.INFO: Processing buffer {"connection_id":173060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:24:51] local.INFO: IMEI packet received {"connection_id":173060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":173060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:24:53] local.INFO: TCP Data received {"connection_id":173060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:24:53] local.INFO: Processing buffer {"connection_id":173060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:24:53] local.INFO: Packet analysis {"connection_id":173060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:24:53] local.INFO: Extracted packet for processing {"connection_id":173060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:24:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910597888001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788713574000,"timestamp_ms":1788713574000,"timestamp_seconds":1788713574,"priority":1,"record_length":96,"hex_timestamp":"000001a077a31e70"} 
[2026-09-06 22:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:24: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:24: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-09-06 22: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-09-06 22:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910597888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910597888001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:24:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910597888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":173060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:24:53] local.INFO: GPS data processed {"connection_id":173060,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:24:53] local.INFO: Acknowledgment sent {"connection_id":173060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:25:01] local.INFO: TCP Data received {"connection_id":175562,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:25:01] local.INFO: Processing buffer {"connection_id":175562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:25:01] local.INFO: IMEI packet received {"connection_id":175562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 22:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":175562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:25:24] local.INFO: TCP Data received {"connection_id":173060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:25:24] local.INFO: Processing buffer {"connection_id":173060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:25:24] local.INFO: Packet analysis {"connection_id":173060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:25:24] local.INFO: Extracted packet for processing {"connection_id":173060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:25:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910597888001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788713574000,"timestamp_ms":1788713574000,"timestamp_seconds":1788713574,"priority":1,"record_length":96,"hex_timestamp":"000001a077a31e70"} 
[2026-09-06 22:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:25: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-09-06 22: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-09-06 22:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910597888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910597888001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:25:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:25:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910597888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":173060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:25:24] local.INFO: GPS data processed {"connection_id":173060,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:25:24] local.INFO: Acknowledgment sent {"connection_id":173060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:25:46] local.INFO: TCP Data received {"connection_id":174236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:25:46] local.INFO: Processing buffer {"connection_id":174236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:25:46] local.INFO: IMEI packet received {"connection_id":174236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":174236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:25:52] local.INFO: TCP Data received {"connection_id":174236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:25:52] local.INFO: Processing buffer {"connection_id":174236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:25:52] local.INFO: IMEI packet received {"connection_id":174236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":174236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:25:53] local.INFO: TCP Data received {"connection_id":174236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:25:53] local.INFO: Processing buffer {"connection_id":174236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:25:53] local.INFO: Packet analysis {"connection_id":174236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:25:53] local.INFO: Extracted packet for processing {"connection_id":174236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:25:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910597888001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788713574000,"timestamp_ms":1788713574000,"timestamp_seconds":1788713574,"priority":1,"record_length":96,"hex_timestamp":"000001a077a31e70"} 
[2026-09-06 22:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:25: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:25: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-09-06 22: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-09-06 22:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 22:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910597888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910597888001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:25:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:25:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910597888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":174236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:25:53] local.INFO: GPS data processed {"connection_id":174236,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:25:53] local.INFO: Acknowledgment sent {"connection_id":174236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:26:25] local.INFO: TCP Data received {"connection_id":174236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:26:25] local.INFO: Processing buffer {"connection_id":174236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:26:25] local.INFO: Packet analysis {"connection_id":174236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:26:25] local.INFO: Extracted packet for processing {"connection_id":174236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910597888001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788713574000,"timestamp_ms":1788713574000,"timestamp_seconds":1788713574,"priority":1,"record_length":96,"hex_timestamp":"000001a077a31e70"} 
[2026-09-06 22:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:26: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-09-06 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:26: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-09-06 22: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-09-06 22:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:26: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-09-06 22:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910597888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910597888001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:26:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:26:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910597888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":174236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:26:25] local.INFO: GPS data processed {"connection_id":174236,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:26:25] local.INFO: Acknowledgment sent {"connection_id":174236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:26:46] local.INFO: TCP Data received {"connection_id":173061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:26:46] local.INFO: Processing buffer {"connection_id":173061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:26:46] local.INFO: IMEI packet received {"connection_id":173061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":173061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:26:52] local.INFO: TCP Data received {"connection_id":173061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:26:52] local.INFO: Processing buffer {"connection_id":173061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:26:52] local.INFO: IMEI packet received {"connection_id":173061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":173061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:26:53] local.INFO: TCP Data received {"connection_id":173061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:26:53] local.INFO: Processing buffer {"connection_id":173061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:26:53] local.INFO: Packet analysis {"connection_id":173061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:26:53] local.INFO: Extracted packet for processing {"connection_id":173061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 22:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910597888001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 22:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788713574000,"timestamp_ms":1788713574000,"timestamp_seconds":1788713574,"priority":1,"record_length":96,"hex_timestamp":"000001a077a31e70"} 
[2026-09-06 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-09-06 22: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-09-06 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:26: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-09-06 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-09-06 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-09-06 22:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910597888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910597888001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:26:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910597888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":173061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:26:53] local.INFO: GPS data processed {"connection_id":173061,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:26:53] local.INFO: Acknowledgment sent {"connection_id":173061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:27:24] local.INFO: TCP Data received {"connection_id":173061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:27:24] local.INFO: Processing buffer {"connection_id":173061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:27:24] local.INFO: Packet analysis {"connection_id":173061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:27:24] local.INFO: Extracted packet for processing {"connection_id":173061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:27:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910597888001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788713574000,"timestamp_ms":1788713574000,"timestamp_seconds":1788713574,"priority":1,"record_length":96,"hex_timestamp":"000001a077a31e70"} 
[2026-09-06 22:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:27: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-09-06 22: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-09-06 22:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910597888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910597888001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:27:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:27:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910597888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":173061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:27:24] local.INFO: GPS data processed {"connection_id":173061,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:27:24] local.INFO: Acknowledgment sent {"connection_id":173061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:27:52] local.INFO: TCP Data received {"connection_id":173063,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:27:52] local.INFO: Processing buffer {"connection_id":173063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:27:52] local.INFO: IMEI packet received {"connection_id":173063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":173063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:27:57] local.INFO: TCP Data received {"connection_id":173063,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:27:57] local.INFO: Processing buffer {"connection_id":173063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:27:57] local.INFO: IMEI packet received {"connection_id":173063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":173063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:27:59] local.INFO: TCP Data received {"connection_id":173063,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:27:59] local.INFO: Processing buffer {"connection_id":173063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:27:59] local.INFO: Packet analysis {"connection_id":173063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:27:59] local.INFO: Extracted packet for processing {"connection_id":173063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:27:59] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 22:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910597888001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22:27: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-09-06 22:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788713574000,"timestamp_ms":1788713574000,"timestamp_seconds":1788713574,"priority":1,"record_length":96,"hex_timestamp":"000001a077a31e70"} 
[2026-09-06 22:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:27: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-09-06 22:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:27:59] 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-09-06 22:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 22:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 22:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910597888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910597888001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:27:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:27:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910597888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":173063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:27:59] local.INFO: GPS data processed {"connection_id":173063,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:27:59] local.INFO: Acknowledgment sent {"connection_id":173063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:28:02] local.INFO: TCP Data received {"connection_id":173063,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:28:02] local.INFO: Processing buffer {"connection_id":173063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a31e70012d34cc0006aa4360000100531e..."} 
[2026-09-06 22:28:02] local.INFO: Packet analysis {"connection_id":173063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:28:02] local.INFO: Extracted packet for processing {"connection_id":173063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a3"} 
[2026-09-06 22:28:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":30,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910597888001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788713574000,"timestamp_ms":1788713574000,"timestamp_seconds":1788713574,"priority":1,"record_length":96,"hex_timestamp":"000001a077a31e70"} 
[2026-09-06 22:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:28: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:28: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-09-06 22: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-09-06 22:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:28: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-09-06 22:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910597888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910597888001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:28:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:28:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910597888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":173063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:28:02] local.INFO: GPS data processed {"connection_id":173063,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:28:02] local.INFO: Acknowledgment sent {"connection_id":173063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:28:46] local.INFO: TCP Data received {"connection_id":172839,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:28:46] local.INFO: Processing buffer {"connection_id":172839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:28:46] local.INFO: IMEI packet received {"connection_id":172839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":172839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:28:51] local.INFO: TCP Data received {"connection_id":172839,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:28:51] local.INFO: Processing buffer {"connection_id":172839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:28:51] local.INFO: IMEI packet received {"connection_id":172839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":172839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:28:52] local.INFO: TCP Data received {"connection_id":172839,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:28:52] local.INFO: Processing buffer {"connection_id":172839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:28:52] local.INFO: Packet analysis {"connection_id":172839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:28:52] local.INFO: Extracted packet for processing {"connection_id":172839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910674944001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788713875000,"timestamp_ms":1788713875000,"timestamp_seconds":1788713875,"priority":1,"record_length":96,"hex_timestamp":"000001a077a7b638"} 
[2026-09-06 22:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:28: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-09-06 22: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-09-06 22:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:28: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-09-06 22:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910674944001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910674944001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:28:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910674944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":172839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:28:52] local.INFO: GPS data processed {"connection_id":172839,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:28:52] local.INFO: Acknowledgment sent {"connection_id":172839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:29:23] local.INFO: TCP Data received {"connection_id":172839,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:29:23] local.INFO: Processing buffer {"connection_id":172839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:29:23] local.INFO: Packet analysis {"connection_id":172839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:29:23] local.INFO: Extracted packet for processing {"connection_id":172839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:29:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910674944001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788713875000,"timestamp_ms":1788713875000,"timestamp_seconds":1788713875,"priority":1,"record_length":96,"hex_timestamp":"000001a077a7b638"} 
[2026-09-06 22:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:29: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 22: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-09-06 22:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910674944001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910674944001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:29:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:29:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910674944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":172839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:29:23] local.INFO: GPS data processed {"connection_id":172839,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:29:23] local.INFO: Acknowledgment sent {"connection_id":172839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:29:46] local.INFO: TCP Data received {"connection_id":175564,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:29:46] local.INFO: Processing buffer {"connection_id":175564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:29:46] local.INFO: IMEI packet received {"connection_id":175564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":175564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:29:52] local.INFO: TCP Data received {"connection_id":175564,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:29:52] local.INFO: Processing buffer {"connection_id":175564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:29:52] local.INFO: IMEI packet received {"connection_id":175564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":175564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:29:53] local.INFO: TCP Data received {"connection_id":175564,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:29:53] local.INFO: Processing buffer {"connection_id":175564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:29:53] local.INFO: Packet analysis {"connection_id":175564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:29:53] local.INFO: Extracted packet for processing {"connection_id":175564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910674944001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788713875000,"timestamp_ms":1788713875000,"timestamp_seconds":1788713875,"priority":1,"record_length":96,"hex_timestamp":"000001a077a7b638"} 
[2026-09-06 22:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:29: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-09-06 22: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-09-06 22:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910674944001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910674944001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:29:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910674944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":175564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:29:53] local.INFO: GPS data processed {"connection_id":175564,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:29:53] local.INFO: Acknowledgment sent {"connection_id":175564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:30:25] local.INFO: TCP Data received {"connection_id":175564,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:30:25] local.INFO: Processing buffer {"connection_id":175564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:30:25] local.INFO: Packet analysis {"connection_id":175564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:30:25] local.INFO: Extracted packet for processing {"connection_id":175564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:30:25] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910674944001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788713875000,"timestamp_ms":1788713875000,"timestamp_seconds":1788713875,"priority":1,"record_length":96,"hex_timestamp":"000001a077a7b638"} 
[2026-09-06 22:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:30: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:30: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-09-06 22: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-09-06 22:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:30: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-09-06 22:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910674944001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910674944001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:30:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:30:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910674944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":175564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:30:25] local.INFO: GPS data processed {"connection_id":175564,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:30:25] local.INFO: Acknowledgment sent {"connection_id":175564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:30:46] local.INFO: TCP Data received {"connection_id":175566,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:30:46] local.INFO: Processing buffer {"connection_id":175566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:30:46] local.INFO: IMEI packet received {"connection_id":175566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":175566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:30:49] local.INFO: TCP Data received {"connection_id":174238,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:30:49] local.INFO: Processing buffer {"connection_id":174238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:30:49] local.INFO: IMEI packet received {"connection_id":174238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 22:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":174238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:30:51] local.INFO: TCP Data received {"connection_id":175566,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:30:51] local.INFO: Processing buffer {"connection_id":175566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:30:51] local.INFO: IMEI packet received {"connection_id":175566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":175566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:30:52] local.INFO: TCP Data received {"connection_id":175566,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:30:52] local.INFO: Processing buffer {"connection_id":175566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:30:52] local.INFO: Packet analysis {"connection_id":175566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:30:52] local.INFO: Extracted packet for processing {"connection_id":175566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910674944001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788713875000,"timestamp_ms":1788713875000,"timestamp_seconds":1788713875,"priority":1,"record_length":96,"hex_timestamp":"000001a077a7b638"} 
[2026-09-06 22:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:30: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-09-06 22: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-09-06 22:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:30: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-09-06 22:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910674944001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910674944001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:30:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910674944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":175566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:30:52] local.INFO: GPS data processed {"connection_id":175566,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:30:52] local.INFO: Acknowledgment sent {"connection_id":175566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:31:23] local.INFO: TCP Data received {"connection_id":175566,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:31:23] local.INFO: Processing buffer {"connection_id":175566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:31:23] local.INFO: Packet analysis {"connection_id":175566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:31:23] local.INFO: Extracted packet for processing {"connection_id":175566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:31:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910674944001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788713875000,"timestamp_ms":1788713875000,"timestamp_seconds":1788713875,"priority":1,"record_length":96,"hex_timestamp":"000001a077a7b638"} 
[2026-09-06 22:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 22: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-09-06 22:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:31: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-09-06 22:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910674944001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910674944001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:31:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:31:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910674944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":175566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:31:23] local.INFO: GPS data processed {"connection_id":175566,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:31:23] local.INFO: Acknowledgment sent {"connection_id":175566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:31:46] local.INFO: TCP Data received {"connection_id":174239,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:31:46] local.INFO: Processing buffer {"connection_id":174239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:31:46] local.INFO: IMEI packet received {"connection_id":174239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":174239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:31:52] local.INFO: TCP Data received {"connection_id":174239,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:31:52] local.INFO: Processing buffer {"connection_id":174239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:31:52] local.INFO: IMEI packet received {"connection_id":174239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":174239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:31:52] local.INFO: TCP Data received {"connection_id":174239,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:31:52] local.INFO: Processing buffer {"connection_id":174239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:31:52] local.INFO: Packet analysis {"connection_id":174239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:31:52] local.INFO: Extracted packet for processing {"connection_id":174239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 22:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910674944001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 22:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788713875000,"timestamp_ms":1788713875000,"timestamp_seconds":1788713875,"priority":1,"record_length":96,"hex_timestamp":"000001a077a7b638"} 
[2026-09-06 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-09-06 22: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-09-06 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:31: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-09-06 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-09-06 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-09-06 22:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:31: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-09-06 22:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910674944001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910674944001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:31:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910674944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":174239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:31:52] local.INFO: GPS data processed {"connection_id":174239,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:31:52] local.INFO: Acknowledgment sent {"connection_id":174239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:32:23] local.INFO: TCP Data received {"connection_id":174239,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:32:23] local.INFO: Processing buffer {"connection_id":174239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:32:23] local.INFO: Packet analysis {"connection_id":174239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:32:23] local.INFO: Extracted packet for processing {"connection_id":174239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:32:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910674944001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788713875000,"timestamp_ms":1788713875000,"timestamp_seconds":1788713875,"priority":1,"record_length":96,"hex_timestamp":"000001a077a7b638"} 
[2026-09-06 22:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 22: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-09-06 22:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:32: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-09-06 22:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910674944001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910674944001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:32:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:32:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910674944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":174239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:32:23] local.INFO: GPS data processed {"connection_id":174239,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:32:23] local.INFO: Acknowledgment sent {"connection_id":174239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:32:46] local.INFO: TCP Data received {"connection_id":173064,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:32:46] local.INFO: Processing buffer {"connection_id":173064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:32:46] local.INFO: IMEI packet received {"connection_id":173064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":173064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:32:51] local.INFO: TCP Data received {"connection_id":173064,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:32:51] local.INFO: Processing buffer {"connection_id":173064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:32:51] local.INFO: IMEI packet received {"connection_id":173064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":173064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:32:52] local.INFO: TCP Data received {"connection_id":173064,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:32:52] local.INFO: Processing buffer {"connection_id":173064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:32:52] local.INFO: Packet analysis {"connection_id":173064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:32:52] local.INFO: Extracted packet for processing {"connection_id":173064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910674944001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788713875000,"timestamp_ms":1788713875000,"timestamp_seconds":1788713875,"priority":1,"record_length":96,"hex_timestamp":"000001a077a7b638"} 
[2026-09-06 22:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:32: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-09-06 22: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-09-06 22:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:32: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-09-06 22:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910674944001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910674944001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:32:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910674944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":173064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:32:52] local.INFO: GPS data processed {"connection_id":173064,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:32:52] local.INFO: Acknowledgment sent {"connection_id":173064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:33:24] local.INFO: TCP Data received {"connection_id":173064,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:33:24] local.INFO: Processing buffer {"connection_id":173064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077a7b638012d34cc0006aa43600000005323..."} 
[2026-09-06 22:33:24] local.INFO: Packet analysis {"connection_id":173064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:33:24] local.INFO: Extracted packet for processing {"connection_id":173064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077a7"} 
[2026-09-06 22:33:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910674944001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788713875000,"timestamp_ms":1788713875000,"timestamp_seconds":1788713875,"priority":1,"record_length":96,"hex_timestamp":"000001a077a7b638"} 
[2026-09-06 22:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:33: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:33: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-09-06 22: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-09-06 22:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910674944001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910674944001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:33:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:33:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910674944001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":173064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:33:24] local.INFO: GPS data processed {"connection_id":173064,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:33:24] local.INFO: Acknowledgment sent {"connection_id":173064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:33:52] local.INFO: TCP Data received {"connection_id":175569,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:33:52] local.INFO: Processing buffer {"connection_id":175569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:33:52] local.INFO: IMEI packet received {"connection_id":175569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":175569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:33:57] local.INFO: TCP Data received {"connection_id":175569,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:33:57] local.INFO: Processing buffer {"connection_id":175569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:33:57] local.INFO: IMEI packet received {"connection_id":175569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":175569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:33:57] local.INFO: TCP Data received {"connection_id":175569,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:33:57] local.INFO: Processing buffer {"connection_id":175569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:33:57] local.INFO: Packet analysis {"connection_id":175569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:33:57] local.INFO: Extracted packet for processing {"connection_id":175569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:33:57] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910752000001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788714176000,"timestamp_ms":1788714176000,"timestamp_seconds":1788714176,"priority":1,"record_length":96,"hex_timestamp":"000001a077ac4e00"} 
[2026-09-06 22:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 22:33: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-09-06 22: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-09-06 22:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:33: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-09-06 22:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910752000001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910752000001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:33:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:33:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910752000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":175569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:33:58] local.INFO: GPS data processed {"connection_id":175569,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:33:58] local.INFO: Acknowledgment sent {"connection_id":175569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:34:02] local.INFO: TCP Data received {"connection_id":175569,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:34:02] local.INFO: Processing buffer {"connection_id":175569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:34:02] local.INFO: Packet analysis {"connection_id":175569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:34:02] local.INFO: Extracted packet for processing {"connection_id":175569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:34:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910752000001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788714176000,"timestamp_ms":1788714176000,"timestamp_seconds":1788714176,"priority":1,"record_length":96,"hex_timestamp":"000001a077ac4e00"} 
[2026-09-06 22:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:34: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-09-06 22: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-09-06 22: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-09-06 22: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-09-06 22:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:34: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-09-06 22:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910752000001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910752000001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:34:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:34:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910752000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":175569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:34:02] local.INFO: GPS data processed {"connection_id":175569,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:34:02] local.INFO: Acknowledgment sent {"connection_id":175569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:34:05] local.INFO: TCP Data received {"connection_id":174240,"ip":"194.165.16.123","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-09-06 22:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174240,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-09-06 22:34:05] local.INFO: Processing buffer {"connection_id":174240,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-09-06 22:34:05] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":174240,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-09-06 22:34:46] local.INFO: TCP Data received {"connection_id":172841,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:34:46] local.INFO: Processing buffer {"connection_id":172841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:34:46] local.INFO: IMEI packet received {"connection_id":172841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":172841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:34:52] local.INFO: TCP Data received {"connection_id":172841,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:34:52] local.INFO: Processing buffer {"connection_id":172841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:34:52] local.INFO: IMEI packet received {"connection_id":172841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":172841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:34:53] local.INFO: TCP Data received {"connection_id":172841,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:34:53] local.INFO: Processing buffer {"connection_id":172841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:34:53] local.INFO: Packet analysis {"connection_id":172841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:34:53] local.INFO: Extracted packet for processing {"connection_id":172841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910752000001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788714176000,"timestamp_ms":1788714176000,"timestamp_seconds":1788714176,"priority":1,"record_length":96,"hex_timestamp":"000001a077ac4e00"} 
[2026-09-06 22:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:34: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-09-06 22: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-09-06 22: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-09-06 22: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-09-06 22:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:34: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-09-06 22:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910752000001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910752000001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910752000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":172841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:34:53] local.INFO: GPS data processed {"connection_id":172841,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:34:53] local.INFO: Acknowledgment sent {"connection_id":172841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:35:24] local.INFO: TCP Data received {"connection_id":172841,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:35:24] local.INFO: Processing buffer {"connection_id":172841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:35:24] local.INFO: Packet analysis {"connection_id":172841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:35:24] local.INFO: Extracted packet for processing {"connection_id":172841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910752000001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788714176000,"timestamp_ms":1788714176000,"timestamp_seconds":1788714176,"priority":1,"record_length":96,"hex_timestamp":"000001a077ac4e00"} 
[2026-09-06 22:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 22:35: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-09-06 22: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-09-06 22:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:35: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-09-06 22:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910752000001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910752000001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:35:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910752000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":172841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:35:24] local.INFO: GPS data processed {"connection_id":172841,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:35:24] local.INFO: Acknowledgment sent {"connection_id":172841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:35:47] local.INFO: TCP Data received {"connection_id":174241,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:35:47] local.INFO: Processing buffer {"connection_id":174241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:35:47] local.INFO: IMEI packet received {"connection_id":174241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":174241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:35:52] local.INFO: TCP Data received {"connection_id":174241,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:35:52] local.INFO: Processing buffer {"connection_id":174241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:35:52] local.INFO: IMEI packet received {"connection_id":174241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":174241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:35:53] local.INFO: TCP Data received {"connection_id":174241,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:35:53] local.INFO: Processing buffer {"connection_id":174241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:35:53] local.INFO: Packet analysis {"connection_id":174241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:35:53] local.INFO: Extracted packet for processing {"connection_id":174241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910752000001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788714176000,"timestamp_ms":1788714176000,"timestamp_seconds":1788714176,"priority":1,"record_length":96,"hex_timestamp":"000001a077ac4e00"} 
[2026-09-06 22:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:35: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-09-06 22: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-09-06 22: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-09-06 22: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-09-06 22:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910752000001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910752000001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:35:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910752000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":174241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:35:53] local.INFO: GPS data processed {"connection_id":174241,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:35:53] local.INFO: Acknowledgment sent {"connection_id":174241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:36:08] local.INFO: TCP Data received {"connection_id":173067,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:36:08] local.INFO: Processing buffer {"connection_id":173067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:36:08] local.INFO: IMEI packet received {"connection_id":173067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 22:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":173067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:36:24] local.INFO: TCP Data received {"connection_id":174241,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:36:24] local.INFO: Processing buffer {"connection_id":174241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:36:24] local.INFO: Packet analysis {"connection_id":174241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:36:24] local.INFO: Extracted packet for processing {"connection_id":174241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910752000001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788714176000,"timestamp_ms":1788714176000,"timestamp_seconds":1788714176,"priority":1,"record_length":96,"hex_timestamp":"000001a077ac4e00"} 
[2026-09-06 22:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:36: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-09-06 22: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-09-06 22: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-09-06 22: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-09-06 22:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910752000001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910752000001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:36:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910752000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":174241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:36:24] local.INFO: GPS data processed {"connection_id":174241,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:36:24] local.INFO: Acknowledgment sent {"connection_id":174241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:36:46] local.INFO: TCP Data received {"connection_id":173068,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:36:46] local.INFO: Processing buffer {"connection_id":173068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:36:46] local.INFO: IMEI packet received {"connection_id":173068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":173068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:36:47] local.INFO: TCP Data received {"connection_id":175570,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:36:47] local.INFO: Processing buffer {"connection_id":175570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:36:47] local.INFO: IMEI packet received {"connection_id":175570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 22:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":175570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:36:51] local.INFO: TCP Data received {"connection_id":173068,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:36:51] local.INFO: Processing buffer {"connection_id":173068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:36:51] local.INFO: IMEI packet received {"connection_id":173068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":173068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:36:52] local.INFO: TCP Data received {"connection_id":173068,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:36:52] local.INFO: Processing buffer {"connection_id":173068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:36:52] local.INFO: Packet analysis {"connection_id":173068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:36:52] local.INFO: Extracted packet for processing {"connection_id":173068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910752000001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788714176000,"timestamp_ms":1788714176000,"timestamp_seconds":1788714176,"priority":1,"record_length":96,"hex_timestamp":"000001a077ac4e00"} 
[2026-09-06 22:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:36: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-09-06 22: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-09-06 22: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-09-06 22: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-09-06 22:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:36: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-09-06 22:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910752000001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910752000001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910752000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":173068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:36:52] local.INFO: GPS data processed {"connection_id":173068,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:36:52] local.INFO: Acknowledgment sent {"connection_id":173068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:37:23] local.INFO: TCP Data received {"connection_id":173068,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:37:23] local.INFO: Processing buffer {"connection_id":173068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:37:23] local.INFO: Packet analysis {"connection_id":173068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:37:23] local.INFO: Extracted packet for processing {"connection_id":173068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:37:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910752000001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788714176000,"timestamp_ms":1788714176000,"timestamp_seconds":1788714176,"priority":1,"record_length":96,"hex_timestamp":"000001a077ac4e00"} 
[2026-09-06 22:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:37: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-09-06 22: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 22:37: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-09-06 22: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-09-06 22:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:37: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-09-06 22:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910752000001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910752000001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:37:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:37:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910752000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":173068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:37:23] local.INFO: GPS data processed {"connection_id":173068,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:37:23] local.INFO: Acknowledgment sent {"connection_id":173068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:37:46] local.INFO: TCP Data received {"connection_id":172842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:37:46] local.INFO: Processing buffer {"connection_id":172842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:37:46] local.INFO: IMEI packet received {"connection_id":172842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":172842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:37:51] local.INFO: TCP Data received {"connection_id":172842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:37:51] local.INFO: Processing buffer {"connection_id":172842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:37:51] local.INFO: IMEI packet received {"connection_id":172842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":172842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:37:52] local.INFO: TCP Data received {"connection_id":172842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:37:52] local.INFO: Processing buffer {"connection_id":172842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:37:52] local.INFO: Packet analysis {"connection_id":172842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:37:52] local.INFO: Extracted packet for processing {"connection_id":172842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 22:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910752000001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 22:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788714176000,"timestamp_ms":1788714176000,"timestamp_seconds":1788714176,"priority":1,"record_length":96,"hex_timestamp":"000001a077ac4e00"} 
[2026-09-06 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-09-06 22: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-09-06 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 22: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-09-06 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-09-06 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-09-06 22:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:37: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-09-06 22:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910752000001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910752000001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:37:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910752000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":172842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:37:52] local.INFO: GPS data processed {"connection_id":172842,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:37:52] local.INFO: Acknowledgment sent {"connection_id":172842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:38:24] local.INFO: TCP Data received {"connection_id":172842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:38:24] local.INFO: Processing buffer {"connection_id":172842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ac4e00012d34cc0006aa43600000005322..."} 
[2026-09-06 22:38:24] local.INFO: Packet analysis {"connection_id":172842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:38:24] local.INFO: Extracted packet for processing {"connection_id":172842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ac"} 
[2026-09-06 22:38:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 22:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910752000001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 22:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788714176000,"timestamp_ms":1788714176000,"timestamp_seconds":1788714176,"priority":1,"record_length":96,"hex_timestamp":"000001a077ac4e00"} 
[2026-09-06 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-09-06 22:38: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-09-06 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 22: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-09-06 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-09-06 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-09-06 22:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 22:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910752000001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910752000001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:38:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:38:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910752000001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":172842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:38:24] local.INFO: GPS data processed {"connection_id":172842,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:38:24] local.INFO: Acknowledgment sent {"connection_id":172842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:38:46] local.INFO: TCP Data received {"connection_id":175572,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:38:46] local.INFO: Processing buffer {"connection_id":175572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:38:46] local.INFO: IMEI packet received {"connection_id":175572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":175572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:38:51] local.INFO: TCP Data received {"connection_id":175572,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:38:51] local.INFO: Processing buffer {"connection_id":175572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:38:51] local.INFO: IMEI packet received {"connection_id":175572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":175572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:38:52] local.INFO: TCP Data received {"connection_id":175572,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:38:52] local.INFO: Processing buffer {"connection_id":175572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:38:52] local.INFO: Packet analysis {"connection_id":175572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:38:52] local.INFO: Extracted packet for processing {"connection_id":175572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910829056001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788714477000,"timestamp_ms":1788714477000,"timestamp_seconds":1788714477,"priority":1,"record_length":96,"hex_timestamp":"000001a077b0e5c8"} 
[2026-09-06 22:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:38: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-09-06 22: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-09-06 22:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910829056001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910829056001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:38:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:38:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910829056001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":175572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:38:52] local.INFO: GPS data processed {"connection_id":175572,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:38:52] local.INFO: Acknowledgment sent {"connection_id":175572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:39:23] local.INFO: TCP Data received {"connection_id":175572,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:39:23] local.INFO: Processing buffer {"connection_id":175572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:39:23] local.INFO: Packet analysis {"connection_id":175572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:39:23] local.INFO: Extracted packet for processing {"connection_id":175572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:39:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910829056001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788714477000,"timestamp_ms":1788714477000,"timestamp_seconds":1788714477,"priority":1,"record_length":96,"hex_timestamp":"000001a077b0e5c8"} 
[2026-09-06 22:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:39: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-09-06 22:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 22: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-09-06 22:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910829056001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910829056001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:39:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:39:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910829056001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":175572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:39:23] local.INFO: GPS data processed {"connection_id":175572,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:39:23] local.INFO: Acknowledgment sent {"connection_id":175572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:39:46] local.INFO: TCP Data received {"connection_id":172843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:39:46] local.INFO: Processing buffer {"connection_id":172843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:39:46] local.INFO: IMEI packet received {"connection_id":172843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":172843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:39:51] local.INFO: TCP Data received {"connection_id":172843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:39:51] local.INFO: Processing buffer {"connection_id":172843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:39:51] local.INFO: IMEI packet received {"connection_id":172843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":172843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:39:53] local.INFO: TCP Data received {"connection_id":172843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:39:53] local.INFO: Processing buffer {"connection_id":172843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:39:53] local.INFO: Packet analysis {"connection_id":172843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:39:53] local.INFO: Extracted packet for processing {"connection_id":172843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:39:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910829056001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788714477000,"timestamp_ms":1788714477000,"timestamp_seconds":1788714477,"priority":1,"record_length":96,"hex_timestamp":"000001a077b0e5c8"} 
[2026-09-06 22:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:39: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:39: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-09-06 22: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-09-06 22:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910829056001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910829056001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:39:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:39:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910829056001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":172843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:39:53] local.INFO: GPS data processed {"connection_id":172843,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:39:53] local.INFO: Acknowledgment sent {"connection_id":172843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:39:57] local.INFO: TCP Data received {"connection_id":172843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:39:57] local.INFO: Processing buffer {"connection_id":172843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:39:57] local.INFO: Packet analysis {"connection_id":172843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:39:57] local.INFO: Extracted packet for processing {"connection_id":172843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:39:57] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 22:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910829056001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22:39: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-09-06 22:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788714477000,"timestamp_ms":1788714477000,"timestamp_seconds":1788714477,"priority":1,"record_length":96,"hex_timestamp":"000001a077b0e5c8"} 
[2026-09-06 22:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:39: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-09-06 22:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 22:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 22:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:39: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-09-06 22:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910829056001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910829056001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:39:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:39:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910829056001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":172843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:39:57] local.INFO: GPS data processed {"connection_id":172843,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:39:57] local.INFO: Acknowledgment sent {"connection_id":172843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:40:28] local.INFO: TCP Data received {"connection_id":172843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:40:28] local.INFO: Processing buffer {"connection_id":172843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:40:28] local.INFO: Packet analysis {"connection_id":172843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:40:28] local.INFO: Extracted packet for processing {"connection_id":172843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:40:28] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 22:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910829056001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22:40: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-09-06 22:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788714477000,"timestamp_ms":1788714477000,"timestamp_seconds":1788714477,"priority":1,"record_length":96,"hex_timestamp":"000001a077b0e5c8"} 
[2026-09-06 22:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 22:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 22:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 22:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 22:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910829056001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910829056001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:40:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:40:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910829056001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":172843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:40:28] local.INFO: GPS data processed {"connection_id":172843,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:40:28] local.INFO: Acknowledgment sent {"connection_id":172843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:41:17] local.INFO: TCP Data received {"connection_id":174242,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:41:17] local.INFO: Processing buffer {"connection_id":174242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:41:17] local.INFO: IMEI packet received {"connection_id":174242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":174242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:41:22] local.INFO: TCP Data received {"connection_id":174242,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:41:22] local.INFO: Processing buffer {"connection_id":174242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:41:22] local.INFO: IMEI packet received {"connection_id":174242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":174242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:41:23] local.INFO: TCP Data received {"connection_id":174242,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:41:23] local.INFO: Processing buffer {"connection_id":174242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:41:23] local.INFO: Packet analysis {"connection_id":174242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:41:23] local.INFO: Extracted packet for processing {"connection_id":174242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:41:23] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910829056001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788714477000,"timestamp_ms":1788714477000,"timestamp_seconds":1788714477,"priority":1,"record_length":96,"hex_timestamp":"000001a077b0e5c8"} 
[2026-09-06 22:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:41: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-09-06 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 22: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-09-06 22:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:41: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-09-06 22:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910829056001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910829056001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:41:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:41:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910829056001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":174242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:41:23] local.INFO: GPS data processed {"connection_id":174242,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:41:23] local.INFO: Acknowledgment sent {"connection_id":174242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:41:47] local.INFO: TCP Data received {"connection_id":172844,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:41:47] local.INFO: Processing buffer {"connection_id":172844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:41:47] local.INFO: IMEI packet received {"connection_id":172844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":172844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:41:52] local.INFO: TCP Data received {"connection_id":172844,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:41:52] local.INFO: Processing buffer {"connection_id":172844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:41:52] local.INFO: IMEI packet received {"connection_id":172844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":172844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:41:53] local.INFO: TCP Data received {"connection_id":172844,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:41:53] local.INFO: Processing buffer {"connection_id":172844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:41:53] local.INFO: Packet analysis {"connection_id":172844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:41:53] local.INFO: Extracted packet for processing {"connection_id":172844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910829056001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788714477000,"timestamp_ms":1788714477000,"timestamp_seconds":1788714477,"priority":1,"record_length":96,"hex_timestamp":"000001a077b0e5c8"} 
[2026-09-06 22:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:41: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:41: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-09-06 22: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-09-06 22:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:41: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-09-06 22:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910829056001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910829056001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:41:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910829056001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":172844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:41:53] local.INFO: GPS data processed {"connection_id":172844,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:41:53] local.INFO: Acknowledgment sent {"connection_id":172844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:42:12] local.INFO: TCP Data received {"connection_id":173070,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:42:12] local.INFO: Processing buffer {"connection_id":173070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:42:12] local.INFO: IMEI packet received {"connection_id":173070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 22:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":173070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:42:24] local.INFO: TCP Data received {"connection_id":172844,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:42:24] local.INFO: Processing buffer {"connection_id":172844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:42:24] local.INFO: Packet analysis {"connection_id":172844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:42:24] local.INFO: Extracted packet for processing {"connection_id":172844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:42:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910829056001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788714477000,"timestamp_ms":1788714477000,"timestamp_seconds":1788714477,"priority":1,"record_length":96,"hex_timestamp":"000001a077b0e5c8"} 
[2026-09-06 22:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:42: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:42: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-09-06 22: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-09-06 22:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:42: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-09-06 22:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910829056001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910829056001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:42:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:42:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910829056001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":172844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:42:24] local.INFO: GPS data processed {"connection_id":172844,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:42:24] local.INFO: Acknowledgment sent {"connection_id":172844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:42:46] local.INFO: TCP Data received {"connection_id":174243,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:42:46] local.INFO: Processing buffer {"connection_id":174243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:42:46] local.INFO: IMEI packet received {"connection_id":174243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":174243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:42:48] local.INFO: TCP Data received {"connection_id":174244,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:42:48] local.INFO: Processing buffer {"connection_id":174244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:42:48] local.INFO: IMEI packet received {"connection_id":174244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 22:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":174244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:42:52] local.INFO: TCP Data received {"connection_id":174243,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:42:52] local.INFO: Processing buffer {"connection_id":174243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:42:52] local.INFO: IMEI packet received {"connection_id":174243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":174243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:42:52] local.INFO: TCP Data received {"connection_id":174243,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:42:52] local.INFO: Processing buffer {"connection_id":174243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:42:52] local.INFO: Packet analysis {"connection_id":174243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:42:52] local.INFO: Extracted packet for processing {"connection_id":174243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910829056001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788714477000,"timestamp_ms":1788714477000,"timestamp_seconds":1788714477,"priority":1,"record_length":96,"hex_timestamp":"000001a077b0e5c8"} 
[2026-09-06 22:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:42: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-09-06 22: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-09-06 22:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:42: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-09-06 22:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910829056001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910829056001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:42:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910829056001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":174243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:42:52] local.INFO: GPS data processed {"connection_id":174243,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:42:52] local.INFO: Acknowledgment sent {"connection_id":174243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:43:24] local.INFO: TCP Data received {"connection_id":174243,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:43:24] local.INFO: Processing buffer {"connection_id":174243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b0e5c8012d34cc0006aa43600000005320..."} 
[2026-09-06 22:43:24] local.INFO: Packet analysis {"connection_id":174243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:43:24] local.INFO: Extracted packet for processing {"connection_id":174243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b0"} 
[2026-09-06 22:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910829056001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788714477000,"timestamp_ms":1788714477000,"timestamp_seconds":1788714477,"priority":1,"record_length":96,"hex_timestamp":"000001a077b0e5c8"} 
[2026-09-06 22:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:43: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-09-06 22: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 22:43: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-09-06 22: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-09-06 22:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:43: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-09-06 22:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910829056001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910829056001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:43:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:43:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910829056001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":174243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:43:24] local.INFO: GPS data processed {"connection_id":174243,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:43:24] local.INFO: Acknowledgment sent {"connection_id":174243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:43:46] local.INFO: TCP Data received {"connection_id":173071,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:43:46] local.INFO: Processing buffer {"connection_id":173071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:43:46] local.INFO: IMEI packet received {"connection_id":173071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":173071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:43:52] local.INFO: TCP Data received {"connection_id":173071,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:43:52] local.INFO: Processing buffer {"connection_id":173071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:43:52] local.INFO: IMEI packet received {"connection_id":173071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":173071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:43:53] local.INFO: TCP Data received {"connection_id":173071,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:43:53] local.INFO: Processing buffer {"connection_id":173071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:43:53] local.INFO: Packet analysis {"connection_id":173071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:43:53] local.INFO: Extracted packet for processing {"connection_id":173071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910906112001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788714778000,"timestamp_ms":1788714778000,"timestamp_seconds":1788714778,"priority":1,"record_length":96,"hex_timestamp":"000001a077b57d90"} 
[2026-09-06 22:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:43: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-09-06 22: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-09-06 22: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-09-06 22: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-09-06 22:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:43: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-09-06 22:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910906112001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910906112001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:43:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910906112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":173071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:43:53] local.INFO: GPS data processed {"connection_id":173071,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:43:53] local.INFO: Acknowledgment sent {"connection_id":173071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:44:24] local.INFO: TCP Data received {"connection_id":173071,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:44:24] local.INFO: Processing buffer {"connection_id":173071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:44:24] local.INFO: Packet analysis {"connection_id":173071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:44:24] local.INFO: Extracted packet for processing {"connection_id":173071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:44:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910906112001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788714778000,"timestamp_ms":1788714778000,"timestamp_seconds":1788714778,"priority":1,"record_length":96,"hex_timestamp":"000001a077b57d90"} 
[2026-09-06 22:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:44: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-09-06 22: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":91,"data_length":795,"current_offset":136} 
[2026-09-06 22:44: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-09-06 22: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-09-06 22:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:44: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-09-06 22:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910906112001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910906112001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:44:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:44:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910906112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":173071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:44:24] local.INFO: GPS data processed {"connection_id":173071,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:44:24] local.INFO: Acknowledgment sent {"connection_id":173071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:44:52] local.INFO: TCP Data received {"connection_id":173073,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:44:52] local.INFO: Processing buffer {"connection_id":173073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:44:52] local.INFO: IMEI packet received {"connection_id":173073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":173073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:44:57] local.INFO: TCP Data received {"connection_id":173073,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:44:57] local.INFO: Processing buffer {"connection_id":173073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:44:57] local.INFO: IMEI packet received {"connection_id":173073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":173073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:44:57] local.INFO: TCP Data received {"connection_id":173073,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:44:57] local.INFO: Processing buffer {"connection_id":173073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:44:57] local.INFO: Packet analysis {"connection_id":173073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:44:57] local.INFO: Extracted packet for processing {"connection_id":173073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:44:57] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910906112001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788714778000,"timestamp_ms":1788714778000,"timestamp_seconds":1788714778,"priority":1,"record_length":96,"hex_timestamp":"000001a077b57d90"} 
[2026-09-06 22:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:44: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-09-06 22: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-06 22:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 22: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-09-06 22:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:44: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-09-06 22:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910906112001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910906112001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:44:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:44:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910906112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":173073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:44:57] local.INFO: GPS data processed {"connection_id":173073,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:44:57] local.INFO: Acknowledgment sent {"connection_id":173073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:45:03] local.INFO: TCP Data received {"connection_id":173073,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:45:03] local.INFO: Processing buffer {"connection_id":173073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:45:03] local.INFO: Packet analysis {"connection_id":173073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:45:03] local.INFO: Extracted packet for processing {"connection_id":173073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 22:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910906112001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22:45: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-09-06 22:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788714778000,"timestamp_ms":1788714778000,"timestamp_seconds":1788714778,"priority":1,"record_length":96,"hex_timestamp":"000001a077b57d90"} 
[2026-09-06 22:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 22:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-06 22:45:03] 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-09-06 22:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 22:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:45: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-09-06 22:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910906112001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910906112001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:45:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910906112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":173073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:45:03] local.INFO: GPS data processed {"connection_id":173073,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:45:03] local.INFO: Acknowledgment sent {"connection_id":173073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:45:47] local.INFO: TCP Data received {"connection_id":172846,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:45:47] local.INFO: Processing buffer {"connection_id":172846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:45:47] local.INFO: IMEI packet received {"connection_id":172846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":172846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:45:52] local.INFO: TCP Data received {"connection_id":172846,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:45:52] local.INFO: Processing buffer {"connection_id":172846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:45:52] local.INFO: IMEI packet received {"connection_id":172846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":172846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:45:53] local.INFO: TCP Data received {"connection_id":172846,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:45:53] local.INFO: Processing buffer {"connection_id":172846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:45:53] local.INFO: Packet analysis {"connection_id":172846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:45:53] local.INFO: Extracted packet for processing {"connection_id":172846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910906112001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788714778000,"timestamp_ms":1788714778000,"timestamp_seconds":1788714778,"priority":1,"record_length":96,"hex_timestamp":"000001a077b57d90"} 
[2026-09-06 22:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:45: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-09-06 22: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":91,"data_length":795,"current_offset":136} 
[2026-09-06 22:45: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-09-06 22: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-09-06 22:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910906112001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910906112001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:45:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:45:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910906112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":172846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:45:53] local.INFO: GPS data processed {"connection_id":172846,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:45:53] local.INFO: Acknowledgment sent {"connection_id":172846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:46:24] local.INFO: TCP Data received {"connection_id":172846,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:46:24] local.INFO: Processing buffer {"connection_id":172846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:46:24] local.INFO: Packet analysis {"connection_id":172846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:46:24] local.INFO: Extracted packet for processing {"connection_id":172846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:46:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910906112001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788714778000,"timestamp_ms":1788714778000,"timestamp_seconds":1788714778,"priority":1,"record_length":96,"hex_timestamp":"000001a077b57d90"} 
[2026-09-06 22:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:46: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-09-06 22: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":91,"data_length":795,"current_offset":136} 
[2026-09-06 22:46: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-09-06 22: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-09-06 22:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:46: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-09-06 22:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910906112001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910906112001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:46:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:46:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910906112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":172846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:46:24] local.INFO: GPS data processed {"connection_id":172846,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:46:24] local.INFO: Acknowledgment sent {"connection_id":172846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:46:47] local.INFO: TCP Data received {"connection_id":175576,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:46:47] local.INFO: Processing buffer {"connection_id":175576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:46:47] local.INFO: IMEI packet received {"connection_id":175576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":175576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:46:52] local.INFO: TCP Data received {"connection_id":175576,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:46:52] local.INFO: Processing buffer {"connection_id":175576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:46:52] local.INFO: IMEI packet received {"connection_id":175576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":175576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:46:53] local.INFO: TCP Data received {"connection_id":175576,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:46:53] local.INFO: Processing buffer {"connection_id":175576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:46:53] local.INFO: Packet analysis {"connection_id":175576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:46:53] local.INFO: Extracted packet for processing {"connection_id":175576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 22:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910906112001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788714778000,"timestamp_ms":1788714778000,"timestamp_seconds":1788714778,"priority":1,"record_length":96,"hex_timestamp":"000001a077b57d90"} 
[2026-09-06 22:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-06 22:46: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-09-06 22:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 22:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:46: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-09-06 22:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910906112001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910906112001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:46:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910906112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":175576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:46:53] local.INFO: GPS data processed {"connection_id":175576,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:46:53] local.INFO: Acknowledgment sent {"connection_id":175576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:47:24] local.INFO: TCP Data received {"connection_id":175576,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:47:24] local.INFO: Processing buffer {"connection_id":175576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:47:24] local.INFO: Packet analysis {"connection_id":175576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:47:24] local.INFO: Extracted packet for processing {"connection_id":175576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910906112001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788714778000,"timestamp_ms":1788714778000,"timestamp_seconds":1788714778,"priority":1,"record_length":96,"hex_timestamp":"000001a077b57d90"} 
[2026-09-06 22:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":91,"data_length":795,"current_offset":136} 
[2026-09-06 22:47: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-09-06 22: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-09-06 22:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:47: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-09-06 22:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910906112001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910906112001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:47:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910906112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":175576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:47:24] local.INFO: GPS data processed {"connection_id":175576,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:47:24] local.INFO: Acknowledgment sent {"connection_id":175576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:47:46] local.INFO: TCP Data received {"connection_id":172848,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:47:46] local.INFO: Processing buffer {"connection_id":172848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:47:46] local.INFO: IMEI packet received {"connection_id":172848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":172848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:47:52] local.INFO: TCP Data received {"connection_id":172848,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:47:52] local.INFO: Processing buffer {"connection_id":172848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:47:52] local.INFO: IMEI packet received {"connection_id":172848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":172848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:47:52] local.INFO: TCP Data received {"connection_id":172848,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:47:52] local.INFO: Processing buffer {"connection_id":172848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:47:52] local.INFO: Packet analysis {"connection_id":172848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:47:52] local.INFO: Extracted packet for processing {"connection_id":172848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910906112001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788714778000,"timestamp_ms":1788714778000,"timestamp_seconds":1788714778,"priority":1,"record_length":96,"hex_timestamp":"000001a077b57d90"} 
[2026-09-06 22:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:47: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-09-06 22: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":91,"data_length":795,"current_offset":136} 
[2026-09-06 22:47:52] 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-09-06 22: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-09-06 22:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:47: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-09-06 22:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910906112001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910906112001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:47:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910906112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":172848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:47:52] local.INFO: GPS data processed {"connection_id":172848,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:47:52] local.INFO: Acknowledgment sent {"connection_id":172848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:48:14] local.INFO: TCP Data received {"connection_id":172849,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:48:14] local.INFO: Processing buffer {"connection_id":172849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:48:14] local.INFO: IMEI packet received {"connection_id":172849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 22:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":172849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:48:24] local.INFO: TCP Data received {"connection_id":172848,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:48:24] local.INFO: Processing buffer {"connection_id":172848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077b57d90012d34cc0006aa43600000005320..."} 
[2026-09-06 22:48:24] local.INFO: Packet analysis {"connection_id":172848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:48:24] local.INFO: Extracted packet for processing {"connection_id":172848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077b5"} 
[2026-09-06 22:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910906112001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788714778000,"timestamp_ms":1788714778000,"timestamp_seconds":1788714778,"priority":1,"record_length":96,"hex_timestamp":"000001a077b57d90"} 
[2026-09-06 22:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:48: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-09-06 22: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":91,"data_length":795,"current_offset":136} 
[2026-09-06 22:48: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-09-06 22: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-09-06 22:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:48: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-09-06 22:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910906112001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910906112001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:48:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910906112001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":172848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:48:24] local.INFO: GPS data processed {"connection_id":172848,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:48:24] local.INFO: Acknowledgment sent {"connection_id":172848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:48:46] local.INFO: TCP Data received {"connection_id":174245,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:48:46] local.INFO: Processing buffer {"connection_id":174245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:48:46] local.INFO: IMEI packet received {"connection_id":174245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":174245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:48:48] local.INFO: TCP Data received {"connection_id":173075,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:48:48] local.INFO: Processing buffer {"connection_id":173075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:48:48] local.INFO: IMEI packet received {"connection_id":173075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 22:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":173075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:48:52] local.INFO: TCP Data received {"connection_id":174245,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:48:52] local.INFO: Processing buffer {"connection_id":174245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:48:52] local.INFO: IMEI packet received {"connection_id":174245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":174245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:48:53] local.INFO: TCP Data received {"connection_id":174245,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:48:53] local.INFO: Processing buffer {"connection_id":174245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:48:53] local.INFO: Packet analysis {"connection_id":174245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:48:53] local.INFO: Extracted packet for processing {"connection_id":174245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910983168001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788715079000,"timestamp_ms":1788715079000,"timestamp_seconds":1788715079,"priority":1,"record_length":96,"hex_timestamp":"000001a077ba1558"} 
[2026-09-06 22:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:48: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:48: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-09-06 22: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-09-06 22:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:48: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-09-06 22:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910983168001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910983168001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:48:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910983168001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":174245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:48:53] local.INFO: GPS data processed {"connection_id":174245,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:48:53] local.INFO: Acknowledgment sent {"connection_id":174245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:49:25] local.INFO: TCP Data received {"connection_id":174245,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:49:25] local.INFO: Processing buffer {"connection_id":174245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:49:25] local.INFO: Packet analysis {"connection_id":174245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:49:25] local.INFO: Extracted packet for processing {"connection_id":174245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:49:25] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910983168001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788715079000,"timestamp_ms":1788715079000,"timestamp_seconds":1788715079,"priority":1,"record_length":96,"hex_timestamp":"000001a077ba1558"} 
[2026-09-06 22:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:49: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 22: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-09-06 22:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:49: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-09-06 22:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910983168001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910983168001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:49:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:49:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910983168001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":174245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:49:25] local.INFO: GPS data processed {"connection_id":174245,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:49:25] local.INFO: Acknowledgment sent {"connection_id":174245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:49:52] local.INFO: TCP Data received {"connection_id":173077,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:49:52] local.INFO: Processing buffer {"connection_id":173077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:49:52] local.INFO: IMEI packet received {"connection_id":173077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":173077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:49:57] local.INFO: TCP Data received {"connection_id":173077,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:49:57] local.INFO: Processing buffer {"connection_id":173077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:49:57] local.INFO: IMEI packet received {"connection_id":173077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":173077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:49:58] local.INFO: TCP Data received {"connection_id":173077,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:49:58] local.INFO: Processing buffer {"connection_id":173077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:49:58] local.INFO: Packet analysis {"connection_id":173077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:49:58] local.INFO: Extracted packet for processing {"connection_id":173077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:49:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910983168001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788715079000,"timestamp_ms":1788715079000,"timestamp_seconds":1788715079,"priority":1,"record_length":96,"hex_timestamp":"000001a077ba1558"} 
[2026-09-06 22:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:49: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:49: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-09-06 22: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-09-06 22:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910983168001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910983168001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:49:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:49:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910983168001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":173077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:49:58] local.INFO: GPS data processed {"connection_id":173077,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:49:58] local.INFO: Acknowledgment sent {"connection_id":173077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:50:02] local.INFO: TCP Data received {"connection_id":173077,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:50:02] local.INFO: Processing buffer {"connection_id":173077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:50:02] local.INFO: Packet analysis {"connection_id":173077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:50:02] local.INFO: Extracted packet for processing {"connection_id":173077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:50:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910983168001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788715079000,"timestamp_ms":1788715079000,"timestamp_seconds":1788715079,"priority":1,"record_length":96,"hex_timestamp":"000001a077ba1558"} 
[2026-09-06 22:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:50: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:50: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-09-06 22: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-09-06 22:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:50: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-09-06 22:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910983168001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910983168001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:50:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:50:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910983168001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":173077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:50:02] local.INFO: GPS data processed {"connection_id":173077,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:50:02] local.INFO: Acknowledgment sent {"connection_id":173077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:50:47] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:50:47] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:50:47] local.INFO: IMEI packet received {"connection_id":175577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":175577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:50:52] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:50:52] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:50:52] local.INFO: IMEI packet received {"connection_id":175577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":175577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:50:52] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:50:52] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:50:52] local.INFO: Packet analysis {"connection_id":175577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:50:52] local.INFO: Extracted packet for processing {"connection_id":175577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910983168001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788715079000,"timestamp_ms":1788715079000,"timestamp_seconds":1788715079,"priority":1,"record_length":96,"hex_timestamp":"000001a077ba1558"} 
[2026-09-06 22:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:50: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:50:52] 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-09-06 22: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-09-06 22:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:50: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-09-06 22:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910983168001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910983168001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:50:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910983168001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":175577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:50:52] local.INFO: GPS data processed {"connection_id":175577,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:50:52] local.INFO: Acknowledgment sent {"connection_id":175577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:51:24] local.INFO: TCP Data received {"connection_id":175577,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:51:24] local.INFO: Processing buffer {"connection_id":175577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:51:24] local.INFO: Packet analysis {"connection_id":175577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:51:24] local.INFO: Extracted packet for processing {"connection_id":175577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:51:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910983168001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788715079000,"timestamp_ms":1788715079000,"timestamp_seconds":1788715079,"priority":1,"record_length":96,"hex_timestamp":"000001a077ba1558"} 
[2026-09-06 22:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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-09-06 22: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-09-06 22: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-09-06 22:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:51: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-09-06 22:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910983168001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910983168001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:51:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:51:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910983168001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":175577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:51:24] local.INFO: GPS data processed {"connection_id":175577,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:51:24] local.INFO: Acknowledgment sent {"connection_id":175577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:51:46] local.INFO: TCP Data received {"connection_id":173079,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:51:46] local.INFO: Processing buffer {"connection_id":173079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:51:46] local.INFO: IMEI packet received {"connection_id":173079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":173079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:51:52] local.INFO: TCP Data received {"connection_id":173079,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:51:52] local.INFO: Processing buffer {"connection_id":173079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:51:52] local.INFO: IMEI packet received {"connection_id":173079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":173079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:51:53] local.INFO: TCP Data received {"connection_id":173079,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:51:53] local.INFO: Processing buffer {"connection_id":173079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:51:53] local.INFO: Packet analysis {"connection_id":173079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:51:53] local.INFO: Extracted packet for processing {"connection_id":173079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910983168001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788715079000,"timestamp_ms":1788715079000,"timestamp_seconds":1788715079,"priority":1,"record_length":96,"hex_timestamp":"000001a077ba1558"} 
[2026-09-06 22:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:51: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:51: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-09-06 22: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-09-06 22:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:51: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-09-06 22:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910983168001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910983168001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:51:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:51:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910983168001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":173079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:51:53] local.INFO: GPS data processed {"connection_id":173079,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:51:53] local.INFO: Acknowledgment sent {"connection_id":173079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:52:25] local.INFO: TCP Data received {"connection_id":173079,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:52:25] local.INFO: Processing buffer {"connection_id":173079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:52:25] local.INFO: Packet analysis {"connection_id":173079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:52:25] local.INFO: Extracted packet for processing {"connection_id":173079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:52:25] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910983168001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788715079000,"timestamp_ms":1788715079000,"timestamp_seconds":1788715079,"priority":1,"record_length":96,"hex_timestamp":"000001a077ba1558"} 
[2026-09-06 22:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:52: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 22: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-09-06 22:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:52: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-09-06 22:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910983168001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910983168001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:52:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:52:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910983168001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":173079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:52:25] local.INFO: GPS data processed {"connection_id":173079,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:52:25] local.INFO: Acknowledgment sent {"connection_id":173079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:52:46] local.INFO: TCP Data received {"connection_id":172850,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:52:46] local.INFO: Processing buffer {"connection_id":172850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:52:46] local.INFO: IMEI packet received {"connection_id":172850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":172850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:52:52] local.INFO: TCP Data received {"connection_id":172850,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:52:52] local.INFO: Processing buffer {"connection_id":172850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:52:52] local.INFO: IMEI packet received {"connection_id":172850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":172850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:52:53] local.INFO: TCP Data received {"connection_id":172850,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:52:53] local.INFO: Processing buffer {"connection_id":172850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:52:53] local.INFO: Packet analysis {"connection_id":172850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:52:53] local.INFO: Extracted packet for processing {"connection_id":172850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:52:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910983168001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788715079000,"timestamp_ms":1788715079000,"timestamp_seconds":1788715079,"priority":1,"record_length":96,"hex_timestamp":"000001a077ba1558"} 
[2026-09-06 22:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:52: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-09-06 22: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-09-06 22: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-09-06 22: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-09-06 22:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:52: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-09-06 22:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910983168001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910983168001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:52:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910983168001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":172850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:52:53] local.INFO: GPS data processed {"connection_id":172850,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:52:53] local.INFO: Acknowledgment sent {"connection_id":172850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:53:24] local.INFO: TCP Data received {"connection_id":172850,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:53:24] local.INFO: Processing buffer {"connection_id":172850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ba1558012d34cc0006aa43600001005320..."} 
[2026-09-06 22:53:24] local.INFO: Packet analysis {"connection_id":172850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:53:24] local.INFO: Extracted packet for processing {"connection_id":172850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077ba"} 
[2026-09-06 22:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":1,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457910983168001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788715079000,"timestamp_ms":1788715079000,"timestamp_seconds":1788715079,"priority":1,"record_length":96,"hex_timestamp":"000001a077ba1558"} 
[2026-09-06 22:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:53: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-09-06 22: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-09-06 22: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-09-06 22: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-09-06 22:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:53: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-09-06 22:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457910983168001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457910983168001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:53:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457910983168001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":172850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:53:24] local.INFO: GPS data processed {"connection_id":172850,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:53:24] local.INFO: Acknowledgment sent {"connection_id":172850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:53:46] local.INFO: TCP Data received {"connection_id":174248,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:53:46] local.INFO: Processing buffer {"connection_id":174248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:53:46] local.INFO: IMEI packet received {"connection_id":174248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":174248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:53:52] local.INFO: TCP Data received {"connection_id":174248,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:53:52] local.INFO: Processing buffer {"connection_id":174248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:53:52] local.INFO: IMEI packet received {"connection_id":174248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":174248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:53:53] local.INFO: TCP Data received {"connection_id":174248,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:53:53] local.INFO: Processing buffer {"connection_id":174248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:53:53] local.INFO: Packet analysis {"connection_id":174248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:53:53] local.INFO: Extracted packet for processing {"connection_id":174248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":3,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911060224001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788715380000,"timestamp_ms":1788715380000,"timestamp_seconds":1788715380,"priority":1,"record_length":96,"hex_timestamp":"000001a077bead20"} 
[2026-09-06 22:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:53: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-09-06 22: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-09-06 22: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-09-06 22: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-09-06 22:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:53: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-09-06 22:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911060224001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911060224001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:53:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911060224001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":174248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:53:53] local.INFO: GPS data processed {"connection_id":174248,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:53:53] local.INFO: Acknowledgment sent {"connection_id":174248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:54:21] local.INFO: TCP Data received {"connection_id":174247,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:54:21] local.INFO: Processing buffer {"connection_id":174247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:54:21] local.INFO: IMEI packet received {"connection_id":174247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 22:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":174247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:54:24] local.INFO: TCP Data received {"connection_id":174248,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:54:24] local.INFO: Processing buffer {"connection_id":174248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:54:24] local.INFO: Packet analysis {"connection_id":174248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:54:24] local.INFO: Extracted packet for processing {"connection_id":174248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:54:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":3,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911060224001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788715380000,"timestamp_ms":1788715380000,"timestamp_seconds":1788715380,"priority":1,"record_length":96,"hex_timestamp":"000001a077bead20"} 
[2026-09-06 22:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:54: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:54: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-09-06 22: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-09-06 22:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:54: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-09-06 22:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911060224001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911060224001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:54:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:54:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911060224001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":174248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:54:24] local.INFO: GPS data processed {"connection_id":174248,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:54:24] local.INFO: Acknowledgment sent {"connection_id":174248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:54:46] local.INFO: TCP Data received {"connection_id":172851,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:54:46] local.INFO: Processing buffer {"connection_id":172851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:54:46] local.INFO: IMEI packet received {"connection_id":172851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":172851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:54:52] local.INFO: TCP Data received {"connection_id":172851,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:54:52] local.INFO: Processing buffer {"connection_id":172851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:54:52] local.INFO: IMEI packet received {"connection_id":172851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":172851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:54:53] local.INFO: TCP Data received {"connection_id":172851,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:54:53] local.INFO: Processing buffer {"connection_id":172851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:54:53] local.INFO: Packet analysis {"connection_id":172851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:54:53] local.INFO: Extracted packet for processing {"connection_id":172851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":3,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911060224001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788715380000,"timestamp_ms":1788715380000,"timestamp_seconds":1788715380,"priority":1,"record_length":96,"hex_timestamp":"000001a077bead20"} 
[2026-09-06 22:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:54: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-09-06 22: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-09-06 22:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:54: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-09-06 22:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911060224001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911060224001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:54:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911060224001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":172851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:54:53] local.INFO: GPS data processed {"connection_id":172851,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:54:53] local.INFO: Acknowledgment sent {"connection_id":172851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:54:55] local.INFO: TCP Data received {"connection_id":173081,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:54:55] local.INFO: Processing buffer {"connection_id":173081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 22:54:55] local.INFO: IMEI packet received {"connection_id":173081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 22:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":173081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:55:25] local.INFO: TCP Data received {"connection_id":172851,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:55:25] local.INFO: Processing buffer {"connection_id":172851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:55:25] local.INFO: Packet analysis {"connection_id":172851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:55:25] local.INFO: Extracted packet for processing {"connection_id":172851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:55:25] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":3,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911060224001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788715380000,"timestamp_ms":1788715380000,"timestamp_seconds":1788715380,"priority":1,"record_length":96,"hex_timestamp":"000001a077bead20"} 
[2026-09-06 22:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:55: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 22: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-09-06 22:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:55: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-09-06 22:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911060224001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911060224001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:55:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:55:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911060224001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":172851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:55:25] local.INFO: GPS data processed {"connection_id":172851,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:55:25] local.INFO: Acknowledgment sent {"connection_id":172851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:55:46] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:55:46] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:55:46] local.INFO: IMEI packet received {"connection_id":173083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":173083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:55:52] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:55:52] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:55:52] local.INFO: IMEI packet received {"connection_id":173083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":173083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:55:53] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:55:53] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:55:53] local.INFO: Packet analysis {"connection_id":173083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:55:53] local.INFO: Extracted packet for processing {"connection_id":173083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:55:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":3,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911060224001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788715380000,"timestamp_ms":1788715380000,"timestamp_seconds":1788715380,"priority":1,"record_length":96,"hex_timestamp":"000001a077bead20"} 
[2026-09-06 22:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:55: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:55: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-09-06 22: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-09-06 22:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911060224001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911060224001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:55:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:55:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911060224001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":173083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:55:53] local.INFO: GPS data processed {"connection_id":173083,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:55:53] local.INFO: Acknowledgment sent {"connection_id":173083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:56:24] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:56:24] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:56:24] local.INFO: Packet analysis {"connection_id":173083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:56:24] local.INFO: Extracted packet for processing {"connection_id":173083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:56:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":3,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911060224001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788715380000,"timestamp_ms":1788715380000,"timestamp_seconds":1788715380,"priority":1,"record_length":96,"hex_timestamp":"000001a077bead20"} 
[2026-09-06 22:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:56: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-09-06 22: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-09-06 22:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911060224001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911060224001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:56:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:56:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911060224001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":173083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:56:24] local.INFO: GPS data processed {"connection_id":173083,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:56:24] local.INFO: Acknowledgment sent {"connection_id":173083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:56:52] local.INFO: TCP Data received {"connection_id":173084,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:56:52] local.INFO: Processing buffer {"connection_id":173084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:56:52] local.INFO: IMEI packet received {"connection_id":173084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":173084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:56:57] local.INFO: TCP Data received {"connection_id":173084,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:56:57] local.INFO: Processing buffer {"connection_id":173084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:56:57] local.INFO: IMEI packet received {"connection_id":173084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":173084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:56:58] local.INFO: TCP Data received {"connection_id":173084,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:56:58] local.INFO: Processing buffer {"connection_id":173084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:56:58] local.INFO: Packet analysis {"connection_id":173084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:56:58] local.INFO: Extracted packet for processing {"connection_id":173084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:56:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":3,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911060224001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788715380000,"timestamp_ms":1788715380000,"timestamp_seconds":1788715380,"priority":1,"record_length":96,"hex_timestamp":"000001a077bead20"} 
[2026-09-06 22:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:56: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:56: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-09-06 22: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-09-06 22:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:56: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-09-06 22:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911060224001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911060224001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:56:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:56:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911060224001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":173084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:56:58] local.INFO: GPS data processed {"connection_id":173084,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:56:58] local.INFO: Acknowledgment sent {"connection_id":173084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:57:02] local.INFO: TCP Data received {"connection_id":173084,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:57:02] local.INFO: Processing buffer {"connection_id":173084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:57:02] local.INFO: Packet analysis {"connection_id":173084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:57:02] local.INFO: Extracted packet for processing {"connection_id":173084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:57:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":3,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911060224001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788715380000,"timestamp_ms":1788715380000,"timestamp_seconds":1788715380,"priority":1,"record_length":96,"hex_timestamp":"000001a077bead20"} 
[2026-09-06 22:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:57: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:57: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-09-06 22: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-09-06 22:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:57: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-09-06 22:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911060224001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911060224001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:57:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:57:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911060224001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":173084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:57:02] local.INFO: GPS data processed {"connection_id":173084,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:57:02] local.INFO: Acknowledgment sent {"connection_id":173084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:57:47] local.INFO: TCP Data received {"connection_id":174249,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:57:47] local.INFO: Processing buffer {"connection_id":174249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:57:47] local.INFO: IMEI packet received {"connection_id":174249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":174249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:57:52] local.INFO: TCP Data received {"connection_id":174249,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:57:52] local.INFO: Processing buffer {"connection_id":174249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:57:52] local.INFO: IMEI packet received {"connection_id":174249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":174249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:57:52] local.INFO: TCP Data received {"connection_id":174249,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:57:52] local.INFO: Processing buffer {"connection_id":174249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:57:52] local.INFO: Packet analysis {"connection_id":174249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:57:52] local.INFO: Extracted packet for processing {"connection_id":174249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":3,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911060224001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788715380000,"timestamp_ms":1788715380000,"timestamp_seconds":1788715380,"priority":1,"record_length":96,"hex_timestamp":"000001a077bead20"} 
[2026-09-06 22:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:57:52] 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-09-06 22: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-09-06 22:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911060224001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911060224001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911060224001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":174249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:57:53] local.INFO: GPS data processed {"connection_id":174249,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:57:53] local.INFO: Acknowledgment sent {"connection_id":174249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:58:24] local.INFO: TCP Data received {"connection_id":174249,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:58:24] local.INFO: Processing buffer {"connection_id":174249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077bead20012d34cc0006aa43600003005323..."} 
[2026-09-06 22:58:24] local.INFO: Packet analysis {"connection_id":174249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:58:24] local.INFO: Extracted packet for processing {"connection_id":174249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077be"} 
[2026-09-06 22:58:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":3,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911060224001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788715380000,"timestamp_ms":1788715380000,"timestamp_seconds":1788715380,"priority":1,"record_length":96,"hex_timestamp":"000001a077bead20"} 
[2026-09-06 22:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:58: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-09-06 22: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-09-06 22:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22: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-09-06 22:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911060224001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911060224001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:58:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:58:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911060224001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":174249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:58:24] local.INFO: GPS data processed {"connection_id":174249,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:58:24] local.INFO: Acknowledgment sent {"connection_id":174249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:58:46] local.INFO: TCP Data received {"connection_id":173085,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:58:46] local.INFO: Processing buffer {"connection_id":173085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:58:46] local.INFO: IMEI packet received {"connection_id":173085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":173085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:58:52] local.INFO: TCP Data received {"connection_id":173085,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:58:52] local.INFO: Processing buffer {"connection_id":173085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:58:52] local.INFO: IMEI packet received {"connection_id":173085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":173085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:58:53] local.INFO: TCP Data received {"connection_id":173085,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 22:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 22:58:53] local.INFO: Processing buffer {"connection_id":173085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 22:58:53] local.INFO: Packet analysis {"connection_id":173085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 22:58:53] local.INFO: Extracted packet for processing {"connection_id":173085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 22:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911137280001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788715681000,"timestamp_ms":1788715681000,"timestamp_seconds":1788715681,"priority":1,"record_length":96,"hex_timestamp":"000001a077c344e8"} 
[2026-09-06 22:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:58: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:58: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-09-06 22: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-09-06 22:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:58: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-09-06 22:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911137280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911137280001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:58:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911137280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":173085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:58:53] local.INFO: GPS data processed {"connection_id":173085,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:58:53] local.INFO: Acknowledgment sent {"connection_id":173085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:59:24] local.INFO: TCP Data received {"connection_id":173085,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 22:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 22:59:24] local.INFO: Processing buffer {"connection_id":173085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 22:59:24] local.INFO: Packet analysis {"connection_id":173085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 22:59:24] local.INFO: Extracted packet for processing {"connection_id":173085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 22:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911137280001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788715681000,"timestamp_ms":1788715681000,"timestamp_seconds":1788715681,"priority":1,"record_length":96,"hex_timestamp":"000001a077c344e8"} 
[2026-09-06 22:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22:59: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:59: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-09-06 22: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-09-06 22:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:59: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-09-06 22:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911137280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911137280001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:59:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911137280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":173085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:59:24] local.INFO: GPS data processed {"connection_id":173085,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:59:24] local.INFO: Acknowledgment sent {"connection_id":173085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 22:59:46] local.INFO: TCP Data received {"connection_id":175580,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:59:46] local.INFO: Processing buffer {"connection_id":175580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:59:46] local.INFO: IMEI packet received {"connection_id":175580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 22:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":175580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 22:59:52] local.INFO: TCP Data received {"connection_id":175580,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:59:52] local.INFO: Processing buffer {"connection_id":175580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 22:59:52] local.INFO: IMEI packet received {"connection_id":175580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 22:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":175580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 22:59:52] local.INFO: TCP Data received {"connection_id":175580,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 22:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 22:59:52] local.INFO: Processing buffer {"connection_id":175580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 22:59:52] local.INFO: Packet analysis {"connection_id":175580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 22:59:52] local.INFO: Extracted packet for processing {"connection_id":175580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 22:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 22: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-09-06 22:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911137280001,"note":"Value kept but may cause issues"} 
[2026-09-06 22:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 22:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 22: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-09-06 22:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788715681000,"timestamp_ms":1788715681000,"timestamp_seconds":1788715681,"priority":1,"record_length":96,"hex_timestamp":"000001a077c344e8"} 
[2026-09-06 22:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 22: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-09-06 22: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 22:59:52] 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-09-06 22: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-09-06 22:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 22:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 22:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 22:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 22:59: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-09-06 22:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 22:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 22:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911137280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 22:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 22:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 22:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911137280001,"description":"Unknown IO ID 0"} 
[2026-09-06 22:59:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 22:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 22:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 22:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 22:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911137280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 22:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":175580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 22:59:52] local.INFO: GPS data processed {"connection_id":175580,"processed":1,"errors":0,"total":1} 
[2026-09-06 22:59:52] local.INFO: Acknowledgment sent {"connection_id":175580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:00:24] local.INFO: TCP Data received {"connection_id":175580,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:00:24] local.INFO: Processing buffer {"connection_id":175580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:00:24] local.INFO: Packet analysis {"connection_id":175580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 23:00:24] local.INFO: Extracted packet for processing {"connection_id":175580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 23:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911137280001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788715681000,"timestamp_ms":1788715681000,"timestamp_seconds":1788715681,"priority":1,"record_length":96,"hex_timestamp":"000001a077c344e8"} 
[2026-09-06 23:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:00: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-09-06 23: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 23:00: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-09-06 23: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-09-06 23:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:00: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-09-06 23:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911137280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911137280001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:00:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911137280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":175580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:00:24] local.INFO: GPS data processed {"connection_id":175580,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:00:24] local.INFO: Acknowledgment sent {"connection_id":175580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:00:46] local.INFO: TCP Data received {"connection_id":172854,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:00:46] local.INFO: Processing buffer {"connection_id":172854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:00:46] local.INFO: IMEI packet received {"connection_id":172854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":172854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:00:48] local.INFO: TCP Data received {"connection_id":174251,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:00:48] local.INFO: Processing buffer {"connection_id":174251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:00:48] local.INFO: IMEI packet received {"connection_id":174251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 23:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":174251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:00:52] local.INFO: TCP Data received {"connection_id":172854,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:00:52] local.INFO: Processing buffer {"connection_id":172854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:00:52] local.INFO: IMEI packet received {"connection_id":172854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":172854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:00:53] local.INFO: TCP Data received {"connection_id":172854,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:00:53] local.INFO: Processing buffer {"connection_id":172854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:00:53] local.INFO: Packet analysis {"connection_id":172854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 23:00:53] local.INFO: Extracted packet for processing {"connection_id":172854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 23:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911137280001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788715681000,"timestamp_ms":1788715681000,"timestamp_seconds":1788715681,"priority":1,"record_length":96,"hex_timestamp":"000001a077c344e8"} 
[2026-09-06 23:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:00: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-09-06 23: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 23:00: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-09-06 23: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-09-06 23:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:00: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-09-06 23:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911137280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911137280001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:00:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911137280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":172854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:00:53] local.INFO: GPS data processed {"connection_id":172854,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:00:53] local.INFO: Acknowledgment sent {"connection_id":172854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:01:24] local.INFO: TCP Data received {"connection_id":172854,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:01:24] local.INFO: Processing buffer {"connection_id":172854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:01:24] local.INFO: Packet analysis {"connection_id":172854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 23:01:24] local.INFO: Extracted packet for processing {"connection_id":172854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 23:01:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911137280001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788715681000,"timestamp_ms":1788715681000,"timestamp_seconds":1788715681,"priority":1,"record_length":96,"hex_timestamp":"000001a077c344e8"} 
[2026-09-06 23:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:01: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-09-06 23: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 23:01: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-09-06 23: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-09-06 23:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:01: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-09-06 23:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911137280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911137280001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:01:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:01:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911137280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":172854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:01:24] local.INFO: GPS data processed {"connection_id":172854,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:01:24] local.INFO: Acknowledgment sent {"connection_id":172854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:01:52] local.INFO: TCP Data received {"connection_id":173086,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:01:52] local.INFO: Processing buffer {"connection_id":173086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:01:52] local.INFO: IMEI packet received {"connection_id":173086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":173086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:01:57] local.INFO: TCP Data received {"connection_id":173086,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:01:57] local.INFO: Processing buffer {"connection_id":173086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:01:57] local.INFO: IMEI packet received {"connection_id":173086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":173086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:01:57] local.INFO: TCP Data received {"connection_id":173086,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:01:57] local.INFO: Processing buffer {"connection_id":173086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:01:57] local.INFO: Packet analysis {"connection_id":173086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 23:01:57] local.INFO: Extracted packet for processing {"connection_id":173086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 23:01:57] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911137280001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788715681000,"timestamp_ms":1788715681000,"timestamp_seconds":1788715681,"priority":1,"record_length":96,"hex_timestamp":"000001a077c344e8"} 
[2026-09-06 23:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:01: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-09-06 23:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 23:01:57] 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-09-06 23: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-09-06 23:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:01: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-09-06 23:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911137280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911137280001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:01:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:01:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911137280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":173086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:01:57] local.INFO: GPS data processed {"connection_id":173086,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:01:57] local.INFO: Acknowledgment sent {"connection_id":173086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:02:02] local.INFO: TCP Data received {"connection_id":173086,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:02:02] local.INFO: Processing buffer {"connection_id":173086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:02:02] local.INFO: Packet analysis {"connection_id":173086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 23:02:02] local.INFO: Extracted packet for processing {"connection_id":173086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 23:02:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911137280001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23:02: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-09-06 23:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788715681000,"timestamp_ms":1788715681000,"timestamp_seconds":1788715681,"priority":1,"record_length":96,"hex_timestamp":"000001a077c344e8"} 
[2026-09-06 23:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:02: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-09-06 23: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 23:02: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-09-06 23: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-09-06 23:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:02: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-09-06 23:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911137280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911137280001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:02:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:02:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911137280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":173086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:02:02] local.INFO: GPS data processed {"connection_id":173086,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:02:02] local.INFO: Acknowledgment sent {"connection_id":173086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:02:47] local.INFO: TCP Data received {"connection_id":172855,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:02:47] local.INFO: Processing buffer {"connection_id":172855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:02:47] local.INFO: IMEI packet received {"connection_id":172855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":172855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:02:52] local.INFO: TCP Data received {"connection_id":172855,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:02:52] local.INFO: Processing buffer {"connection_id":172855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:02:52] local.INFO: IMEI packet received {"connection_id":172855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":172855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:02:52] local.INFO: TCP Data received {"connection_id":172855,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:02:52] local.INFO: Processing buffer {"connection_id":172855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:02:52] local.INFO: Packet analysis {"connection_id":172855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 23:02:52] local.INFO: Extracted packet for processing {"connection_id":172855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 23:02:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911137280001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788715681000,"timestamp_ms":1788715681000,"timestamp_seconds":1788715681,"priority":1,"record_length":96,"hex_timestamp":"000001a077c344e8"} 
[2026-09-06 23:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:02: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-09-06 23: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 23:02:52] 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-09-06 23: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-09-06 23:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:02: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-09-06 23:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911137280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911137280001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:02:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:02:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911137280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":172855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:02:52] local.INFO: GPS data processed {"connection_id":172855,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:02:52] local.INFO: Acknowledgment sent {"connection_id":172855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:03:24] local.INFO: TCP Data received {"connection_id":172855,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:03:24] local.INFO: Processing buffer {"connection_id":172855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c344e8012d34cc0006aa43600006005323..."} 
[2026-09-06 23:03:24] local.INFO: Packet analysis {"connection_id":172855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 23:03:24] local.INFO: Extracted packet for processing {"connection_id":172855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c3"} 
[2026-09-06 23:03:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911137280001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788715681000,"timestamp_ms":1788715681000,"timestamp_seconds":1788715681,"priority":1,"record_length":96,"hex_timestamp":"000001a077c344e8"} 
[2026-09-06 23:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:03: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-09-06 23: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 23:03: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-09-06 23: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-09-06 23:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:03: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-09-06 23:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911137280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911137280001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:03:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:03:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911137280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":172855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:03:24] local.INFO: GPS data processed {"connection_id":172855,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:03:24] local.INFO: Acknowledgment sent {"connection_id":172855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:03:47] local.INFO: TCP Data received {"connection_id":173087,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:03:47] local.INFO: Processing buffer {"connection_id":173087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:03:47] local.INFO: IMEI packet received {"connection_id":173087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":173087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:03:52] local.INFO: TCP Data received {"connection_id":173087,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:03:52] local.INFO: Processing buffer {"connection_id":173087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:03:52] local.INFO: IMEI packet received {"connection_id":173087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":173087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:03:53] local.INFO: TCP Data received {"connection_id":173087,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:03:53] local.INFO: Processing buffer {"connection_id":173087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:03:53] local.INFO: Packet analysis {"connection_id":173087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:03:53] local.INFO: Extracted packet for processing {"connection_id":173087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:03:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911214336001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788715982000,"timestamp_ms":1788715982000,"timestamp_seconds":1788715982,"priority":1,"record_length":96,"hex_timestamp":"000001a077c7dcb0"} 
[2026-09-06 23:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:03: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:03: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-09-06 23: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-09-06 23:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911214336001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911214336001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:03:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:03:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911214336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":173087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:03:53] local.INFO: GPS data processed {"connection_id":173087,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:03:53] local.INFO: Acknowledgment sent {"connection_id":173087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:04:24] local.INFO: TCP Data received {"connection_id":173087,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:04:24] local.INFO: Processing buffer {"connection_id":173087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:04:24] local.INFO: Packet analysis {"connection_id":173087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:04:24] local.INFO: Extracted packet for processing {"connection_id":173087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:04:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911214336001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788715982000,"timestamp_ms":1788715982000,"timestamp_seconds":1788715982,"priority":1,"record_length":96,"hex_timestamp":"000001a077c7dcb0"} 
[2026-09-06 23:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:04: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:04: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-09-06 23: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-09-06 23:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911214336001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911214336001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:04:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:04:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911214336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":173087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:04:24] local.INFO: GPS data processed {"connection_id":173087,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:04:24] local.INFO: Acknowledgment sent {"connection_id":173087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:04:46] local.INFO: TCP Data received {"connection_id":173089,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:04:46] local.INFO: Processing buffer {"connection_id":173089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:04:46] local.INFO: IMEI packet received {"connection_id":173089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":173089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:04:52] local.INFO: TCP Data received {"connection_id":173089,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:04:52] local.INFO: Processing buffer {"connection_id":173089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:04:52] local.INFO: IMEI packet received {"connection_id":173089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":173089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:04:53] local.INFO: TCP Data received {"connection_id":173089,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:04:53] local.INFO: Processing buffer {"connection_id":173089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:04:53] local.INFO: Packet analysis {"connection_id":173089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:04:53] local.INFO: Extracted packet for processing {"connection_id":173089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911214336001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788715982000,"timestamp_ms":1788715982000,"timestamp_seconds":1788715982,"priority":1,"record_length":96,"hex_timestamp":"000001a077c7dcb0"} 
[2026-09-06 23:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:04: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:04: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-09-06 23: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-09-06 23:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:04: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-09-06 23:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911214336001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911214336001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:04:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911214336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":173089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:04:53] local.INFO: GPS data processed {"connection_id":173089,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:04:53] local.INFO: Acknowledgment sent {"connection_id":173089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:05:24] local.INFO: TCP Data received {"connection_id":173089,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:05:24] local.INFO: Processing buffer {"connection_id":173089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:05:24] local.INFO: Packet analysis {"connection_id":173089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:05:24] local.INFO: Extracted packet for processing {"connection_id":173089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:05:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911214336001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788715982000,"timestamp_ms":1788715982000,"timestamp_seconds":1788715982,"priority":1,"record_length":96,"hex_timestamp":"000001a077c7dcb0"} 
[2026-09-06 23:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:05: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:05: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-09-06 23: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-09-06 23:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:05: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-09-06 23:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911214336001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911214336001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:05:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:05:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911214336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":173089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:05:24] local.INFO: GPS data processed {"connection_id":173089,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:05:24] local.INFO: Acknowledgment sent {"connection_id":173089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:05:46] local.INFO: TCP Data received {"connection_id":175584,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:05:46] local.INFO: Processing buffer {"connection_id":175584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:05:46] local.INFO: IMEI packet received {"connection_id":175584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":175584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:05:52] local.INFO: TCP Data received {"connection_id":175584,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:05:52] local.INFO: Processing buffer {"connection_id":175584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:05:52] local.INFO: IMEI packet received {"connection_id":175584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":175584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:05:53] local.INFO: TCP Data received {"connection_id":175584,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:05:53] local.INFO: Processing buffer {"connection_id":175584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:05:53] local.INFO: Packet analysis {"connection_id":175584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:05:53] local.INFO: Extracted packet for processing {"connection_id":175584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911214336001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788715982000,"timestamp_ms":1788715982000,"timestamp_seconds":1788715982,"priority":1,"record_length":96,"hex_timestamp":"000001a077c7dcb0"} 
[2026-09-06 23:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:05: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:05: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-09-06 23: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-09-06 23:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:05: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-09-06 23:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911214336001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911214336001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:05:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911214336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":175584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:05:53] local.INFO: GPS data processed {"connection_id":175584,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:05:53] local.INFO: Acknowledgment sent {"connection_id":175584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:06:14] local.INFO: TCP Data received {"connection_id":175585,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:06:14] local.INFO: Processing buffer {"connection_id":175585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:06:14] local.INFO: IMEI packet received {"connection_id":175585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 23:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":175585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:06:24] local.INFO: TCP Data received {"connection_id":175584,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:06:24] local.INFO: Processing buffer {"connection_id":175584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:06:24] local.INFO: Packet analysis {"connection_id":175584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:06:24] local.INFO: Extracted packet for processing {"connection_id":175584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:06:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911214336001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788715982000,"timestamp_ms":1788715982000,"timestamp_seconds":1788715982,"priority":1,"record_length":96,"hex_timestamp":"000001a077c7dcb0"} 
[2026-09-06 23:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:06: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:06: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-09-06 23: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-09-06 23:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:06: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-09-06 23:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911214336001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911214336001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:06:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:06:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911214336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":175584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:06:24] local.INFO: GPS data processed {"connection_id":175584,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:06:24] local.INFO: Acknowledgment sent {"connection_id":175584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:06:52] local.INFO: TCP Data received {"connection_id":174252,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:06:52] local.INFO: Processing buffer {"connection_id":174252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:06:52] local.INFO: IMEI packet received {"connection_id":174252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":174252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:06:57] local.INFO: TCP Data received {"connection_id":174252,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:06:57] local.INFO: Processing buffer {"connection_id":174252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:06:57] local.INFO: IMEI packet received {"connection_id":174252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":174252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:06:58] local.INFO: TCP Data received {"connection_id":174252,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:06:58] local.INFO: Processing buffer {"connection_id":174252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:06:58] local.INFO: Packet analysis {"connection_id":174252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:06:58] local.INFO: Extracted packet for processing {"connection_id":174252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:06:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911214336001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788715982000,"timestamp_ms":1788715982000,"timestamp_seconds":1788715982,"priority":1,"record_length":96,"hex_timestamp":"000001a077c7dcb0"} 
[2026-09-06 23:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:06: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:06: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-09-06 23: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-09-06 23:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:06:58] 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-09-06 23:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911214336001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911214336001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:06:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:06:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911214336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":174252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:06:58] local.INFO: GPS data processed {"connection_id":174252,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:06:58] local.INFO: Acknowledgment sent {"connection_id":174252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:07:02] local.INFO: TCP Data received {"connection_id":174252,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:07:02] local.INFO: Processing buffer {"connection_id":174252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:07:02] local.INFO: Packet analysis {"connection_id":174252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:07:02] local.INFO: Extracted packet for processing {"connection_id":174252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:07:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911214336001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23:07: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-09-06 23:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788715982000,"timestamp_ms":1788715982000,"timestamp_seconds":1788715982,"priority":1,"record_length":96,"hex_timestamp":"000001a077c7dcb0"} 
[2026-09-06 23:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:07: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:07: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-09-06 23: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-09-06 23:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:07:02] 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-09-06 23:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911214336001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911214336001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:07:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:07:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911214336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":174252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:07:02] local.INFO: GPS data processed {"connection_id":174252,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:07:02] local.INFO: Acknowledgment sent {"connection_id":174252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:07:47] local.INFO: TCP Data received {"connection_id":174253,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:07:47] local.INFO: Processing buffer {"connection_id":174253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:07:47] local.INFO: IMEI packet received {"connection_id":174253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":174253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:07:52] local.INFO: TCP Data received {"connection_id":174253,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:07:52] local.INFO: Processing buffer {"connection_id":174253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:07:52] local.INFO: IMEI packet received {"connection_id":174253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":174253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:07:52] local.INFO: TCP Data received {"connection_id":174253,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:07:52] local.INFO: Processing buffer {"connection_id":174253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:07:52] local.INFO: Packet analysis {"connection_id":174253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:07:52] local.INFO: Extracted packet for processing {"connection_id":174253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 23:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911214336001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 23:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788715982000,"timestamp_ms":1788715982000,"timestamp_seconds":1788715982,"priority":1,"record_length":96,"hex_timestamp":"000001a077c7dcb0"} 
[2026-09-06 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-09-06 23: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-09-06 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:07: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-09-06 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-09-06 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-09-06 23:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:07: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-09-06 23:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911214336001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911214336001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:07:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911214336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":174253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:07:53] local.INFO: GPS data processed {"connection_id":174253,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:07:53] local.INFO: Acknowledgment sent {"connection_id":174253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:08:24] local.INFO: TCP Data received {"connection_id":174253,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:08:24] local.INFO: Processing buffer {"connection_id":174253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077c7dcb0012d34cc0006aa43600006005320..."} 
[2026-09-06 23:08:24] local.INFO: Packet analysis {"connection_id":174253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:08:24] local.INFO: Extracted packet for processing {"connection_id":174253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077c7"} 
[2026-09-06 23:08:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":6,"angle":83,"satellites":32,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 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-09-06 23:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911214336001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 23:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788715982000,"timestamp_ms":1788715982000,"timestamp_seconds":1788715982,"priority":1,"record_length":96,"hex_timestamp":"000001a077c7dcb0"} 
[2026-09-06 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-09-06 23:08: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-09-06 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:08: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-09-06 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-09-06 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-09-06 23:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911214336001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911214336001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:08:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911214336001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":174253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:08:24] local.INFO: GPS data processed {"connection_id":174253,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:08:24] local.INFO: Acknowledgment sent {"connection_id":174253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:08:47] local.INFO: TCP Data received {"connection_id":175586,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:08:47] local.INFO: Processing buffer {"connection_id":175586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:08:47] local.INFO: IMEI packet received {"connection_id":175586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":175586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:08:52] local.INFO: TCP Data received {"connection_id":175586,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:08:52] local.INFO: Processing buffer {"connection_id":175586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:08:52] local.INFO: IMEI packet received {"connection_id":175586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":175586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:08:53] local.INFO: TCP Data received {"connection_id":175586,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:08:53] local.INFO: Processing buffer {"connection_id":175586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:08:53] local.INFO: Packet analysis {"connection_id":175586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:08:53] local.INFO: Extracted packet for processing {"connection_id":175586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911291392001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788716282000,"timestamp_ms":1788716282000,"timestamp_seconds":1788716282,"priority":1,"record_length":96,"hex_timestamp":"000001a077cc7090"} 
[2026-09-06 23:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:08: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:08: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-09-06 23: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-09-06 23:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:08: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-09-06 23:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911291392001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911291392001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:08:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911291392001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":175586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:08:53] local.INFO: GPS data processed {"connection_id":175586,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:08:53] local.INFO: Acknowledgment sent {"connection_id":175586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:09:24] local.INFO: TCP Data received {"connection_id":175586,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:09:24] local.INFO: Processing buffer {"connection_id":175586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:09:24] local.INFO: Packet analysis {"connection_id":175586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:09:24] local.INFO: Extracted packet for processing {"connection_id":175586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:09:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911291392001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788716282000,"timestamp_ms":1788716282000,"timestamp_seconds":1788716282,"priority":1,"record_length":96,"hex_timestamp":"000001a077cc7090"} 
[2026-09-06 23:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:09: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:09: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-09-06 23: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-09-06 23:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:09: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-09-06 23:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911291392001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911291392001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:09:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:09:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911291392001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":175586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:09:24] local.INFO: GPS data processed {"connection_id":175586,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:09:24] local.INFO: Acknowledgment sent {"connection_id":175586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:09:46] local.INFO: TCP Data received {"connection_id":172856,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:09:46] local.INFO: Processing buffer {"connection_id":172856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:09:46] local.INFO: IMEI packet received {"connection_id":172856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":172856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:09:52] local.INFO: TCP Data received {"connection_id":172856,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:09:52] local.INFO: Processing buffer {"connection_id":172856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:09:52] local.INFO: IMEI packet received {"connection_id":172856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":172856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:09:53] local.INFO: TCP Data received {"connection_id":172856,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:09:53] local.INFO: Processing buffer {"connection_id":172856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:09:53] local.INFO: Packet analysis {"connection_id":172856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:09:53] local.INFO: Extracted packet for processing {"connection_id":172856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911291392001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788716282000,"timestamp_ms":1788716282000,"timestamp_seconds":1788716282,"priority":1,"record_length":96,"hex_timestamp":"000001a077cc7090"} 
[2026-09-06 23:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:09: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-09-06 23: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-09-06 23:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:09: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-09-06 23:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911291392001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911291392001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:09:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911291392001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":172856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:09:53] local.INFO: GPS data processed {"connection_id":172856,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:09:53] local.INFO: Acknowledgment sent {"connection_id":172856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:10:24] local.INFO: TCP Data received {"connection_id":172856,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:10:24] local.INFO: Processing buffer {"connection_id":172856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:10:24] local.INFO: Packet analysis {"connection_id":172856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:10:24] local.INFO: Extracted packet for processing {"connection_id":172856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:10:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911291392001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788716282000,"timestamp_ms":1788716282000,"timestamp_seconds":1788716282,"priority":1,"record_length":96,"hex_timestamp":"000001a077cc7090"} 
[2026-09-06 23:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:10: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-09-06 23: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-09-06 23:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:10: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-09-06 23:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911291392001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911291392001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:10:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:10:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911291392001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":172856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:10:24] local.INFO: GPS data processed {"connection_id":172856,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:10:24] local.INFO: Acknowledgment sent {"connection_id":172856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:10:52] local.INFO: TCP Data received {"connection_id":173092,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:10:52] local.INFO: Processing buffer {"connection_id":173092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:10:52] local.INFO: IMEI packet received {"connection_id":173092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":173092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:10:57] local.INFO: TCP Data received {"connection_id":173092,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:10:57] local.INFO: Processing buffer {"connection_id":173092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:10:57] local.INFO: IMEI packet received {"connection_id":173092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":173092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:10:57] local.INFO: TCP Data received {"connection_id":173092,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:10:57] local.INFO: Processing buffer {"connection_id":173092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:10:57] local.INFO: Packet analysis {"connection_id":173092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:10:57] local.INFO: Extracted packet for processing {"connection_id":173092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:10:57] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 23:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911291392001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23:10: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-09-06 23:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788716282000,"timestamp_ms":1788716282000,"timestamp_seconds":1788716282,"priority":1,"record_length":96,"hex_timestamp":"000001a077cc7090"} 
[2026-09-06 23:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:10: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-09-06 23:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 23:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 23:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:10: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-09-06 23:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911291392001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911291392001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:10:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:10:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911291392001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":173092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:10:57] local.INFO: GPS data processed {"connection_id":173092,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:10:57] local.INFO: Acknowledgment sent {"connection_id":173092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:11:02] local.INFO: TCP Data received {"connection_id":173092,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:11:02] local.INFO: Processing buffer {"connection_id":173092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:11:02] local.INFO: Packet analysis {"connection_id":173092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:11:02] local.INFO: Extracted packet for processing {"connection_id":173092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:11:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911291392001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788716282000,"timestamp_ms":1788716282000,"timestamp_seconds":1788716282,"priority":1,"record_length":96,"hex_timestamp":"000001a077cc7090"} 
[2026-09-06 23:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:11: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:11: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-09-06 23: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-09-06 23:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:11: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-09-06 23:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911291392001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911291392001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:11:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:11:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911291392001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":173092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:11:02] local.INFO: GPS data processed {"connection_id":173092,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:11:02] local.INFO: Acknowledgment sent {"connection_id":173092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:11:47] local.INFO: TCP Data received {"connection_id":174256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:11:47] local.INFO: Processing buffer {"connection_id":174256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:11:47] local.INFO: IMEI packet received {"connection_id":174256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":174256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:11:48] local.INFO: TCP Data received {"connection_id":175587,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:11:48] local.INFO: Processing buffer {"connection_id":175587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:11:48] local.INFO: IMEI packet received {"connection_id":175587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 23:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":175587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:11:52] local.INFO: TCP Data received {"connection_id":174256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:11:52] local.INFO: Processing buffer {"connection_id":174256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:11:52] local.INFO: IMEI packet received {"connection_id":174256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":174256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:11:52] local.INFO: TCP Data received {"connection_id":174256,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:11:52] local.INFO: Processing buffer {"connection_id":174256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:11:52] local.INFO: Packet analysis {"connection_id":174256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:11:52] local.INFO: Extracted packet for processing {"connection_id":174256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911291392001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788716282000,"timestamp_ms":1788716282000,"timestamp_seconds":1788716282,"priority":1,"record_length":96,"hex_timestamp":"000001a077cc7090"} 
[2026-09-06 23:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:11: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-09-06 23: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-09-06 23:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:11: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-09-06 23:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911291392001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911291392001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911291392001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":174256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:11:52] local.INFO: GPS data processed {"connection_id":174256,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:11:52] local.INFO: Acknowledgment sent {"connection_id":174256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:12:24] local.INFO: TCP Data received {"connection_id":174256,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:12:24] local.INFO: Processing buffer {"connection_id":174256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:12:24] local.INFO: Packet analysis {"connection_id":174256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:12:24] local.INFO: Extracted packet for processing {"connection_id":174256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911291392001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788716282000,"timestamp_ms":1788716282000,"timestamp_seconds":1788716282,"priority":1,"record_length":96,"hex_timestamp":"000001a077cc7090"} 
[2026-09-06 23:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:12: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-09-06 23: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-09-06 23:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:12: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-09-06 23:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911291392001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911291392001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:12:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911291392001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":174256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:12:24] local.INFO: GPS data processed {"connection_id":174256,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:12:24] local.INFO: Acknowledgment sent {"connection_id":174256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:12:46] local.INFO: TCP Data received {"connection_id":175588,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:12:47] local.INFO: Processing buffer {"connection_id":175588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:12:47] local.INFO: IMEI packet received {"connection_id":175588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":175588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:12:52] local.INFO: TCP Data received {"connection_id":175588,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:12:52] local.INFO: Processing buffer {"connection_id":175588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:12:52] local.INFO: IMEI packet received {"connection_id":175588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":175588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:12:52] local.INFO: TCP Data received {"connection_id":175588,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:12:52] local.INFO: Processing buffer {"connection_id":175588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:12:52] local.INFO: Packet analysis {"connection_id":175588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:12:52] local.INFO: Extracted packet for processing {"connection_id":175588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911291392001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788716282000,"timestamp_ms":1788716282000,"timestamp_seconds":1788716282,"priority":1,"record_length":96,"hex_timestamp":"000001a077cc7090"} 
[2026-09-06 23:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:12: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-09-06 23: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-09-06 23:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:12: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-09-06 23:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911291392001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911291392001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:12:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911291392001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":175588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:12:52] local.INFO: GPS data processed {"connection_id":175588,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:12:52] local.INFO: Acknowledgment sent {"connection_id":175588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:13:24] local.INFO: TCP Data received {"connection_id":175588,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:13:24] local.INFO: Processing buffer {"connection_id":175588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077cc7090012d34cc0006aa43600000005325..."} 
[2026-09-06 23:13:24] local.INFO: Packet analysis {"connection_id":175588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:13:24] local.INFO: Extracted packet for processing {"connection_id":175588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077cc"} 
[2026-09-06 23:13:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":37,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911291392001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788716282000,"timestamp_ms":1788716282000,"timestamp_seconds":1788716282,"priority":1,"record_length":96,"hex_timestamp":"000001a077cc7090"} 
[2026-09-06 23:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:13: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:13: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-09-06 23: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-09-06 23:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:13: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-09-06 23:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911291392001,"66":25734,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911291392001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:13:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:13:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911291392001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":175588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:13:24] local.INFO: GPS data processed {"connection_id":175588,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:13:24] local.INFO: Acknowledgment sent {"connection_id":175588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:13:47] local.INFO: TCP Data received {"connection_id":174257,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:13:47] local.INFO: Processing buffer {"connection_id":174257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:13:47] local.INFO: IMEI packet received {"connection_id":174257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":174257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:13:52] local.INFO: TCP Data received {"connection_id":174257,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:13:52] local.INFO: Processing buffer {"connection_id":174257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:13:52] local.INFO: IMEI packet received {"connection_id":174257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":174257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:13:53] local.INFO: TCP Data received {"connection_id":174257,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:13:53] local.INFO: Processing buffer {"connection_id":174257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:13:53] local.INFO: Packet analysis {"connection_id":174257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d1"} 
[2026-09-06 23:13:53] local.INFO: Extracted packet for processing {"connection_id":174257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d1"} 
[2026-09-06 23:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911368192001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788716583000,"timestamp_ms":1788716583000,"timestamp_seconds":1788716583,"priority":1,"record_length":96,"hex_timestamp":"000001a077d10858"} 
[2026-09-06 23:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:13: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-09-06 23: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 23:13: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-09-06 23: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-09-06 23:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:13: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-09-06 23:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911368192001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911368192001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911368192001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":174257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:13:53] local.INFO: GPS data processed {"connection_id":174257,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:13:53] local.INFO: Acknowledgment sent {"connection_id":174257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:14:24] local.INFO: TCP Data received {"connection_id":174257,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:14:24] local.INFO: Processing buffer {"connection_id":174257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:14:24] local.INFO: Packet analysis {"connection_id":174257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d1"} 
[2026-09-06 23:14:24] local.INFO: Extracted packet for processing {"connection_id":174257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d1"} 
[2026-09-06 23:14:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911368192001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788716583000,"timestamp_ms":1788716583000,"timestamp_seconds":1788716583,"priority":1,"record_length":96,"hex_timestamp":"000001a077d10858"} 
[2026-09-06 23:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 23: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 23:14: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-09-06 23: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-09-06 23:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911368192001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911368192001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:14:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:14:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911368192001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":174257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:14:24] local.INFO: GPS data processed {"connection_id":174257,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:14:24] local.INFO: Acknowledgment sent {"connection_id":174257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:14:46] local.INFO: TCP Data received {"connection_id":172857,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:14:46] local.INFO: Processing buffer {"connection_id":172857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:14:46] local.INFO: IMEI packet received {"connection_id":172857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":172857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:14:52] local.INFO: TCP Data received {"connection_id":172857,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:14:52] local.INFO: Processing buffer {"connection_id":172857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:14:52] local.INFO: IMEI packet received {"connection_id":172857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":172857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:14:53] local.INFO: TCP Data received {"connection_id":172857,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:14:53] local.INFO: Processing buffer {"connection_id":172857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:14:53] local.INFO: Packet analysis {"connection_id":172857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d1"} 
[2026-09-06 23:14:53] local.INFO: Extracted packet for processing {"connection_id":172857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d1"} 
[2026-09-06 23:14:53] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911368192001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788716583000,"timestamp_ms":1788716583000,"timestamp_seconds":1788716583,"priority":1,"record_length":96,"hex_timestamp":"000001a077d10858"} 
[2026-09-06 23:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:14: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-09-06 23: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 23:14: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-09-06 23: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-09-06 23:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:14: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-09-06 23:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911368192001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911368192001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:14:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911368192001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":172857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:14:53] local.INFO: GPS data processed {"connection_id":172857,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:14:53] local.INFO: Acknowledgment sent {"connection_id":172857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:15:24] local.INFO: TCP Data received {"connection_id":172857,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:15:24] local.INFO: Processing buffer {"connection_id":172857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:15:24] local.INFO: Packet analysis {"connection_id":172857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d1"} 
[2026-09-06 23:15:24] local.INFO: Extracted packet for processing {"connection_id":172857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d1"} 
[2026-09-06 23:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911368192001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788716583000,"timestamp_ms":1788716583000,"timestamp_seconds":1788716583,"priority":1,"record_length":96,"hex_timestamp":"000001a077d10858"} 
[2026-09-06 23:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:15: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-09-06 23: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 23:15: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-09-06 23: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-09-06 23:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911368192001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911368192001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:15:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911368192001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":172857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:15:24] local.INFO: GPS data processed {"connection_id":172857,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:15:24] local.INFO: Acknowledgment sent {"connection_id":172857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:15:52] local.INFO: TCP Data received {"connection_id":173097,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:15:52] local.INFO: Processing buffer {"connection_id":173097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:15:52] local.INFO: IMEI packet received {"connection_id":173097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":173097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:15:57] local.INFO: TCP Data received {"connection_id":173097,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:15:57] local.INFO: Processing buffer {"connection_id":173097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:15:57] local.INFO: IMEI packet received {"connection_id":173097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":173097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:15:58] local.INFO: TCP Data received {"connection_id":173097,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:15:58] local.INFO: Processing buffer {"connection_id":173097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:15:58] local.INFO: Packet analysis {"connection_id":173097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d1"} 
[2026-09-06 23:15:58] local.INFO: Extracted packet for processing {"connection_id":173097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d1"} 
[2026-09-06 23:15:58] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911368192001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23:15: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-09-06 23:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788716583000,"timestamp_ms":1788716583000,"timestamp_seconds":1788716583,"priority":1,"record_length":96,"hex_timestamp":"000001a077d10858"} 
[2026-09-06 23:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 23: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 23:15: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-09-06 23: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-09-06 23:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:15:58] 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-09-06 23:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911368192001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911368192001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:15:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:15:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911368192001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":173097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:15:58] local.INFO: GPS data processed {"connection_id":173097,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:15:58] local.INFO: Acknowledgment sent {"connection_id":173097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:16:02] local.INFO: TCP Data received {"connection_id":173097,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:16:02] local.INFO: Processing buffer {"connection_id":173097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:16:02] local.INFO: Packet analysis {"connection_id":173097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d1"} 
[2026-09-06 23:16:02] local.INFO: Extracted packet for processing {"connection_id":173097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d1"} 
[2026-09-06 23:16:02] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 23:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911368192001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23:16: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-09-06 23:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788716583000,"timestamp_ms":1788716583000,"timestamp_seconds":1788716583,"priority":1,"record_length":96,"hex_timestamp":"000001a077d10858"} 
[2026-09-06 23:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:16: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-09-06 23:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-06 23:16: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-09-06 23:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 23:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:16:02] 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-09-06 23:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911368192001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911368192001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:16:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:16:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911368192001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":173097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:16:02] local.INFO: GPS data processed {"connection_id":173097,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:16:02] local.INFO: Acknowledgment sent {"connection_id":173097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:16:47] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:16:47] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:16:47] local.INFO: IMEI packet received {"connection_id":175589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":175589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:16:52] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:16:52] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:16:52] local.INFO: IMEI packet received {"connection_id":175589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":175589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:16:52] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:16:52] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:16:52] local.INFO: Packet analysis {"connection_id":175589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d1"} 
[2026-09-06 23:16:52] local.INFO: Extracted packet for processing {"connection_id":175589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d1"} 
[2026-09-06 23:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911368192001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788716583000,"timestamp_ms":1788716583000,"timestamp_seconds":1788716583,"priority":1,"record_length":96,"hex_timestamp":"000001a077d10858"} 
[2026-09-06 23:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 23:16:52] 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-09-06 23: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-09-06 23:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:16: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-09-06 23:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911368192001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911368192001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:16:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911368192001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":175589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:16:52] local.INFO: GPS data processed {"connection_id":175589,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:16:52] local.INFO: Acknowledgment sent {"connection_id":175589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:17:09] local.INFO: TCP Data received {"connection_id":173098,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:17:09] local.INFO: Processing buffer {"connection_id":173098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:17:09] local.INFO: IMEI packet received {"connection_id":173098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 23:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":173098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:17:24] local.INFO: TCP Data received {"connection_id":175589,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:17:24] local.INFO: Processing buffer {"connection_id":175589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d10858012d34cc0006aa43600000005322..."} 
[2026-09-06 23:17:24] local.INFO: Packet analysis {"connection_id":175589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d1"} 
[2026-09-06 23:17:24] local.INFO: Extracted packet for processing {"connection_id":175589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d1"} 
[2026-09-06 23:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758434816,"raw_latitude":111821664,"longitude_deg":75.8434816,"latitude_deg":11.1821664,"altitude":0,"angle":83,"satellites":34,"speed":0,"hex_longitude":"2d34cc00","hex_latitude":"06aa4360","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911368192001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788716583000,"timestamp_ms":1788716583000,"timestamp_seconds":1788716583,"priority":1,"record_length":96,"hex_timestamp":"000001a077d10858"} 
[2026-09-06 23:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:17: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-09-06 23: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":134,"data_length":795,"current_offset":136} 
[2026-09-06 23:17: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-09-06 23: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-09-06 23:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:17: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-09-06 23:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911368192001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911368192001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:17:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911368192001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":175589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:17:24] local.INFO: GPS data processed {"connection_id":175589,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:17:24] local.INFO: Acknowledgment sent {"connection_id":175589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:17:45] local.INFO: TCP Data received {"connection_id":175590,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:17:45] local.INFO: Processing buffer {"connection_id":175590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:17:45] local.INFO: IMEI packet received {"connection_id":175590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":175590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:17:46] local.INFO: TCP Data received {"connection_id":175590,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:17:46] local.INFO: Processing buffer {"connection_id":175590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:17:46] local.INFO: IMEI packet received {"connection_id":175590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":175590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:17:52] local.INFO: TCP Data received {"connection_id":175590,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:17:52] local.INFO: Processing buffer {"connection_id":175590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:17:52] local.INFO: IMEI packet received {"connection_id":175590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":175590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:17:52] local.INFO: TCP Data received {"connection_id":175590,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:17:52] local.INFO: Processing buffer {"connection_id":175590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:17:52] local.INFO: Packet analysis {"connection_id":175590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:17:52] local.INFO: Extracted packet for processing {"connection_id":175590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821824,"longitude_deg":75.843488,"latitude_deg":11.1821824,"altitude":0,"angle":286,"satellites":21,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911445248001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788716864000,"timestamp_ms":1788716864000,"timestamp_seconds":1788716864,"priority":1,"record_length":96,"hex_timestamp":"000001a077d55200"} 
[2026-09-06 23:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:17: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-09-06 23: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-06 23:17:52] 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-09-06 23: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-09-06 23:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:17: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-09-06 23:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911445248001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911445248001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:17:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911445248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":175590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:17:52] local.INFO: GPS data processed {"connection_id":175590,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:17:52] local.INFO: Acknowledgment sent {"connection_id":175590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:18:24] local.INFO: TCP Data received {"connection_id":175590,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:18:24] local.INFO: Processing buffer {"connection_id":175590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:18:24] local.INFO: Packet analysis {"connection_id":175590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:18:24] local.INFO: Extracted packet for processing {"connection_id":175590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:18:24] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821824,"longitude_deg":75.843488,"latitude_deg":11.1821824,"altitude":0,"angle":286,"satellites":21,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911445248001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788716864000,"timestamp_ms":1788716864000,"timestamp_seconds":1788716864,"priority":1,"record_length":96,"hex_timestamp":"000001a077d55200"} 
[2026-09-06 23:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:18: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-09-06 23: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":91,"data_length":795,"current_offset":136} 
[2026-09-06 23:18: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-09-06 23: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-09-06 23:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:18: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-09-06 23:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911445248001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911445248001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:18:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:18:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911445248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":175590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:18:24] local.INFO: GPS data processed {"connection_id":175590,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:18:24] local.INFO: Acknowledgment sent {"connection_id":175590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:18:46] local.INFO: TCP Data received {"connection_id":174259,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:18:46] local.INFO: Processing buffer {"connection_id":174259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:18:46] local.INFO: IMEI packet received {"connection_id":174259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":174259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:18:52] local.INFO: TCP Data received {"connection_id":174259,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:18:52] local.INFO: Processing buffer {"connection_id":174259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:18:52] local.INFO: IMEI packet received {"connection_id":174259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":174259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:18:53] local.INFO: TCP Data received {"connection_id":174259,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:18:53] local.INFO: Processing buffer {"connection_id":174259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:18:53] local.INFO: Packet analysis {"connection_id":174259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:18:53] local.INFO: Extracted packet for processing {"connection_id":174259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:18:53] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821824,"longitude_deg":75.843488,"latitude_deg":11.1821824,"altitude":0,"angle":286,"satellites":21,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911445248001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788716864000,"timestamp_ms":1788716864000,"timestamp_seconds":1788716864,"priority":1,"record_length":96,"hex_timestamp":"000001a077d55200"} 
[2026-09-06 23:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:18: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-09-06 23: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":91,"data_length":795,"current_offset":136} 
[2026-09-06 23:18: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-09-06 23: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-09-06 23:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:18: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-09-06 23:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911445248001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911445248001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:18:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911445248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":174259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:18:53] local.INFO: GPS data processed {"connection_id":174259,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:18:53] local.INFO: Acknowledgment sent {"connection_id":174259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:19:24] local.INFO: TCP Data received {"connection_id":174259,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:19:24] local.INFO: Processing buffer {"connection_id":174259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:19:24] local.INFO: Packet analysis {"connection_id":174259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:19:24] local.INFO: Extracted packet for processing {"connection_id":174259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:19:24] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821824,"longitude_deg":75.843488,"latitude_deg":11.1821824,"altitude":0,"angle":286,"satellites":21,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911445248001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788716864000,"timestamp_ms":1788716864000,"timestamp_seconds":1788716864,"priority":1,"record_length":96,"hex_timestamp":"000001a077d55200"} 
[2026-09-06 23:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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":91,"data_length":795,"current_offset":136} 
[2026-09-06 23:19: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-09-06 23: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-09-06 23:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911445248001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911445248001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:19:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:19:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911445248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":174259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:19:24] local.INFO: GPS data processed {"connection_id":174259,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:19:24] local.INFO: Acknowledgment sent {"connection_id":174259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:19:46] local.INFO: TCP Data received {"connection_id":172858,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:19:46] local.INFO: Processing buffer {"connection_id":172858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:19:46] local.INFO: IMEI packet received {"connection_id":172858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":172858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:19:52] local.INFO: TCP Data received {"connection_id":172858,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:19:52] local.INFO: Processing buffer {"connection_id":172858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:19:52] local.INFO: IMEI packet received {"connection_id":172858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":172858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:19:53] local.INFO: TCP Data received {"connection_id":172858,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:19:53] local.INFO: Processing buffer {"connection_id":172858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:19:53] local.INFO: Packet analysis {"connection_id":172858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:19:53] local.INFO: Extracted packet for processing {"connection_id":172858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:19:53] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821824,"longitude_deg":75.843488,"latitude_deg":11.1821824,"altitude":0,"angle":286,"satellites":21,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911445248001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788716864000,"timestamp_ms":1788716864000,"timestamp_seconds":1788716864,"priority":1,"record_length":96,"hex_timestamp":"000001a077d55200"} 
[2026-09-06 23:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:19: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-09-06 23: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":91,"data_length":795,"current_offset":136} 
[2026-09-06 23:19: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-09-06 23: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-09-06 23:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:19: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-09-06 23:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911445248001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911445248001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:19:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:19:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911445248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":172858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:19:53] local.INFO: GPS data processed {"connection_id":172858,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:19:53] local.INFO: Acknowledgment sent {"connection_id":172858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:20:24] local.INFO: TCP Data received {"connection_id":172858,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:20:24] local.INFO: Processing buffer {"connection_id":172858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:20:24] local.INFO: Packet analysis {"connection_id":172858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:20:24] local.INFO: Extracted packet for processing {"connection_id":172858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:20:24] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821824,"longitude_deg":75.843488,"latitude_deg":11.1821824,"altitude":0,"angle":286,"satellites":21,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911445248001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788716864000,"timestamp_ms":1788716864000,"timestamp_seconds":1788716864,"priority":1,"record_length":96,"hex_timestamp":"000001a077d55200"} 
[2026-09-06 23:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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":91,"data_length":795,"current_offset":136} 
[2026-09-06 23:20: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-09-06 23: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-09-06 23:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911445248001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911445248001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:20:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:20:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911445248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":172858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:20:24] local.INFO: GPS data processed {"connection_id":172858,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:20:24] local.INFO: Acknowledgment sent {"connection_id":172858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:20:52] local.INFO: TCP Data received {"connection_id":175592,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:20:52] local.INFO: Processing buffer {"connection_id":175592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:20:52] local.INFO: IMEI packet received {"connection_id":175592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":175592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:20:57] local.INFO: TCP Data received {"connection_id":175592,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:20:57] local.INFO: Processing buffer {"connection_id":175592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:20:57] local.INFO: IMEI packet received {"connection_id":175592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":175592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:20:59] local.INFO: TCP Data received {"connection_id":175592,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:20:59] local.INFO: Processing buffer {"connection_id":175592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:20:59] local.INFO: Packet analysis {"connection_id":175592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:20:59] local.INFO: Extracted packet for processing {"connection_id":175592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:20:59] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821824,"longitude_deg":75.843488,"latitude_deg":11.1821824,"altitude":0,"angle":286,"satellites":21,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-06 23:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 23:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911445248001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23:20: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-09-06 23:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788716864000,"timestamp_ms":1788716864000,"timestamp_seconds":1788716864,"priority":1,"record_length":96,"hex_timestamp":"000001a077d55200"} 
[2026-09-06 23:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 23:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-06 23:20:59] 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-09-06 23:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 23:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:20:59] 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-09-06 23:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911445248001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911445248001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:20:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:20:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911445248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":175592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:20:59] local.INFO: GPS data processed {"connection_id":175592,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:20:59] local.INFO: Acknowledgment sent {"connection_id":175592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:21:30] local.INFO: TCP Data received {"connection_id":175592,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:21:30] local.INFO: Processing buffer {"connection_id":175592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:21:30] local.INFO: Packet analysis {"connection_id":175592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:21:30] local.INFO: Extracted packet for processing {"connection_id":175592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:21:30] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821824,"longitude_deg":75.843488,"latitude_deg":11.1821824,"altitude":0,"angle":286,"satellites":21,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-06 23:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 23:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911445248001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23:21: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-09-06 23:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788716864000,"timestamp_ms":1788716864000,"timestamp_seconds":1788716864,"priority":1,"record_length":96,"hex_timestamp":"000001a077d55200"} 
[2026-09-06 23:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 23:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-06 23:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-06 23:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 23:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:21:30] 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-09-06 23:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911445248001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911445248001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:21:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:21:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911445248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":175592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:21:30] local.INFO: GPS data processed {"connection_id":175592,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:21:30] local.INFO: Acknowledgment sent {"connection_id":175592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:21:46] local.INFO: TCP Data received {"connection_id":174262,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:21:46] local.INFO: Processing buffer {"connection_id":174262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:21:46] local.INFO: IMEI packet received {"connection_id":174262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":174262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:21:52] local.INFO: TCP Data received {"connection_id":174262,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:21:52] local.INFO: Processing buffer {"connection_id":174262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:21:52] local.INFO: IMEI packet received {"connection_id":174262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":174262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:21:53] local.INFO: TCP Data received {"connection_id":174262,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:21:53] local.INFO: Processing buffer {"connection_id":174262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:21:53] local.INFO: Packet analysis {"connection_id":174262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:21:53] local.INFO: Extracted packet for processing {"connection_id":174262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821824,"longitude_deg":75.843488,"latitude_deg":11.1821824,"altitude":0,"angle":286,"satellites":21,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911445248001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788716864000,"timestamp_ms":1788716864000,"timestamp_seconds":1788716864,"priority":1,"record_length":96,"hex_timestamp":"000001a077d55200"} 
[2026-09-06 23:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:21: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-09-06 23: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":91,"data_length":795,"current_offset":136} 
[2026-09-06 23:21: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-09-06 23: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-09-06 23:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:21: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-09-06 23:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911445248001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911445248001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:21:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911445248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":174262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:21:53] local.INFO: GPS data processed {"connection_id":174262,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:21:53] local.INFO: Acknowledgment sent {"connection_id":174262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:22:24] local.INFO: TCP Data received {"connection_id":174262,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:22:24] local.INFO: Processing buffer {"connection_id":174262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d55200012d34cc4006aa44000000011e15..."} 
[2026-09-06 23:22:24] local.INFO: Packet analysis {"connection_id":174262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:22:24] local.INFO: Extracted packet for processing {"connection_id":174262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d5"} 
[2026-09-06 23:22:24] local.INFO: GPS Element Parsed {"raw_longitude":758434880,"raw_latitude":111821824,"longitude_deg":75.843488,"latitude_deg":11.1821824,"altitude":0,"angle":286,"satellites":21,"speed":0,"hex_longitude":"2d34cc40","hex_latitude":"06aa4400","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911445248001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804415813847572480,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788716864000,"timestamp_ms":1788716864000,"timestamp_seconds":1788716864,"priority":1,"record_length":96,"hex_timestamp":"000001a077d55200"} 
[2026-09-06 23:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:22: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-09-06 23: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":91,"data_length":795,"current_offset":136} 
[2026-09-06 23:22: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-09-06 23: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-09-06 23:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:22: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-09-06 23:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911445248001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804415813847572480},"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-09-06 23:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911445248001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:22:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:22:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804415813847572480,"description":"Unknown IO ID 45"} 
[2026-09-06 23:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911445248001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804415813847572480}} 
[2026-09-06 23:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":174262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:22:24] local.INFO: GPS data processed {"connection_id":174262,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:22:24] local.INFO: Acknowledgment sent {"connection_id":174262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:22:46] local.INFO: TCP Data received {"connection_id":174263,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:22:46] local.INFO: Processing buffer {"connection_id":174263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:22:46] local.INFO: IMEI packet received {"connection_id":174263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":174263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:22:47] local.INFO: TCP Data received {"connection_id":174263,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:22:47] local.INFO: Processing buffer {"connection_id":174263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:22:47] local.INFO: IMEI packet received {"connection_id":174263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":174263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:22:47] local.INFO: TCP Data received {"connection_id":174264,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:22:47] local.INFO: Processing buffer {"connection_id":174264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:22:47] local.INFO: IMEI packet received {"connection_id":174264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 23:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":174264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:22:51] local.INFO: TCP Data received {"connection_id":174263,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:22:51] local.INFO: Processing buffer {"connection_id":174263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:22:51] local.INFO: IMEI packet received {"connection_id":174263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":174263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:22:52] local.INFO: TCP Data received {"connection_id":174263,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:22:52] local.INFO: Processing buffer {"connection_id":174263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:22:52] local.INFO: Packet analysis {"connection_id":174263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:22:52] local.INFO: Extracted packet for processing {"connection_id":174263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911517184001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591791104,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788717147000,"timestamp_ms":1788717147000,"timestamp_seconds":1788717147,"priority":1,"record_length":96,"hex_timestamp":"000001a077d9a378"} 
[2026-09-06 23:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:22: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-09-06 23:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911517184001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591791104},"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-09-06 23:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911517184001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:22:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591791104,"description":"Unknown IO ID 45"} 
[2026-09-06 23:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911517184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591791104}} 
[2026-09-06 23:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":174263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:22:52] local.INFO: GPS data processed {"connection_id":174263,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:22:52] local.INFO: Acknowledgment sent {"connection_id":174263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:23:24] local.INFO: TCP Data received {"connection_id":174263,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:23:24] local.INFO: Processing buffer {"connection_id":174263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:23:24] local.INFO: Packet analysis {"connection_id":174263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:23:24] local.INFO: Extracted packet for processing {"connection_id":174263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:23:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911517184001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591791104,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788717147000,"timestamp_ms":1788717147000,"timestamp_seconds":1788717147,"priority":1,"record_length":96,"hex_timestamp":"000001a077d9a378"} 
[2026-09-06 23:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:23: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:23: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-09-06 23:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911517184001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591791104},"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-09-06 23:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911517184001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:23:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:23:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591791104,"description":"Unknown IO ID 45"} 
[2026-09-06 23:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911517184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591791104}} 
[2026-09-06 23:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":174263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:23:24] local.INFO: GPS data processed {"connection_id":174263,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:23:24] local.INFO: Acknowledgment sent {"connection_id":174263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:23:46] local.INFO: TCP Data received {"connection_id":172860,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:23:46] local.INFO: Processing buffer {"connection_id":172860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:23:46] local.INFO: IMEI packet received {"connection_id":172860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":172860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:23:51] local.INFO: TCP Data received {"connection_id":172860,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:23:51] local.INFO: Processing buffer {"connection_id":172860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:23:51] local.INFO: IMEI packet received {"connection_id":172860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":172860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:23:52] local.INFO: TCP Data received {"connection_id":172860,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:23:52] local.INFO: Processing buffer {"connection_id":172860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:23:52] local.INFO: Packet analysis {"connection_id":172860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:23:52] local.INFO: Extracted packet for processing {"connection_id":172860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911517184001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591791104,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788717147000,"timestamp_ms":1788717147000,"timestamp_seconds":1788717147,"priority":1,"record_length":96,"hex_timestamp":"000001a077d9a378"} 
[2026-09-06 23:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:23: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-09-06 23:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911517184001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591791104},"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-09-06 23:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911517184001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:23:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591791104,"description":"Unknown IO ID 45"} 
[2026-09-06 23:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911517184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591791104}} 
[2026-09-06 23:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":172860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:23:52] local.INFO: GPS data processed {"connection_id":172860,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:23:52] local.INFO: Acknowledgment sent {"connection_id":172860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:24:23] local.INFO: TCP Data received {"connection_id":172860,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:24:23] local.INFO: Processing buffer {"connection_id":172860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:24:23] local.INFO: Packet analysis {"connection_id":172860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:24:23] local.INFO: Extracted packet for processing {"connection_id":172860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:24:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911517184001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591791104,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788717147000,"timestamp_ms":1788717147000,"timestamp_seconds":1788717147,"priority":1,"record_length":96,"hex_timestamp":"000001a077d9a378"} 
[2026-09-06 23:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 23:24: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-09-06 23: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-09-06 23:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:24: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-09-06 23:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911517184001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591791104},"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-09-06 23:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911517184001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:24:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:24:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591791104,"description":"Unknown IO ID 45"} 
[2026-09-06 23:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911517184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591791104}} 
[2026-09-06 23:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":172860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:24:23] local.INFO: GPS data processed {"connection_id":172860,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:24:23] local.INFO: Acknowledgment sent {"connection_id":172860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:24:52] local.INFO: TCP Data received {"connection_id":173100,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:24:52] local.INFO: Processing buffer {"connection_id":173100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:24:52] local.INFO: IMEI packet received {"connection_id":173100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":173100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:24:57] local.INFO: TCP Data received {"connection_id":173100,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:24:57] local.INFO: Processing buffer {"connection_id":173100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:24:57] local.INFO: IMEI packet received {"connection_id":173100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":173100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:24:57] local.INFO: TCP Data received {"connection_id":173100,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:24:57] local.INFO: Processing buffer {"connection_id":173100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:24:57] local.INFO: Packet analysis {"connection_id":173100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:24:57] local.INFO: Extracted packet for processing {"connection_id":173100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:24:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911517184001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591791104,"note":"Value kept but may cause issues"} 
[2026-09-06 23:24: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-09-06 23:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788717147000,"timestamp_ms":1788717147000,"timestamp_seconds":1788717147,"priority":1,"record_length":96,"hex_timestamp":"000001a077d9a378"} 
[2026-09-06 23:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:24: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-09-06 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 23:24: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-09-06 23: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-09-06 23:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:24: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-09-06 23:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911517184001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591791104},"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-09-06 23:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911517184001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:24:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:24:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591791104,"description":"Unknown IO ID 45"} 
[2026-09-06 23:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911517184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591791104}} 
[2026-09-06 23:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":173100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:24:57] local.INFO: GPS data processed {"connection_id":173100,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:24:57] local.INFO: Acknowledgment sent {"connection_id":173100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:25:02] local.INFO: TCP Data received {"connection_id":173100,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:25:02] local.INFO: Processing buffer {"connection_id":173100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:25:02] local.INFO: Packet analysis {"connection_id":173100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:25:02] local.INFO: Extracted packet for processing {"connection_id":173100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:25:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911517184001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591791104,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788717147000,"timestamp_ms":1788717147000,"timestamp_seconds":1788717147,"priority":1,"record_length":96,"hex_timestamp":"000001a077d9a378"} 
[2026-09-06 23:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:25: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-09-06 23: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 23:25: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-09-06 23: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-09-06 23:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:25: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-09-06 23:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911517184001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591791104},"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-09-06 23:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911517184001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:25:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:25:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591791104,"description":"Unknown IO ID 45"} 
[2026-09-06 23:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911517184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591791104}} 
[2026-09-06 23:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":173100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:25:02] local.INFO: GPS data processed {"connection_id":173100,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:25:02] local.INFO: Acknowledgment sent {"connection_id":173100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:25:46] local.INFO: TCP Data received {"connection_id":175593,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:25:46] local.INFO: Processing buffer {"connection_id":175593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:25:46] local.INFO: IMEI packet received {"connection_id":175593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":175593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:25:51] local.INFO: TCP Data received {"connection_id":175593,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:25:51] local.INFO: Processing buffer {"connection_id":175593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:25:51] local.INFO: IMEI packet received {"connection_id":175593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":175593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:25:52] local.INFO: TCP Data received {"connection_id":175593,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:25:52] local.INFO: Processing buffer {"connection_id":175593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:25:52] local.INFO: Packet analysis {"connection_id":175593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:25:52] local.INFO: Extracted packet for processing {"connection_id":175593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911517184001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591791104,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788717147000,"timestamp_ms":1788717147000,"timestamp_seconds":1788717147,"priority":1,"record_length":96,"hex_timestamp":"000001a077d9a378"} 
[2026-09-06 23:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:25: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-09-06 23:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911517184001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591791104},"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-09-06 23:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911517184001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:25:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591791104,"description":"Unknown IO ID 45"} 
[2026-09-06 23:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911517184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591791104}} 
[2026-09-06 23:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":175593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:25:52] local.INFO: GPS data processed {"connection_id":175593,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:25:52] local.INFO: Acknowledgment sent {"connection_id":175593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:26:24] local.INFO: TCP Data received {"connection_id":175593,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:26:24] local.INFO: Processing buffer {"connection_id":175593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:26:24] local.INFO: Packet analysis {"connection_id":175593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:26:24] local.INFO: Extracted packet for processing {"connection_id":175593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:26:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911517184001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591791104,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788717147000,"timestamp_ms":1788717147000,"timestamp_seconds":1788717147,"priority":1,"record_length":96,"hex_timestamp":"000001a077d9a378"} 
[2026-09-06 23:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:26: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:26: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-09-06 23:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911517184001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591791104},"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-09-06 23:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911517184001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:26:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:26:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591791104,"description":"Unknown IO ID 45"} 
[2026-09-06 23:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911517184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591791104}} 
[2026-09-06 23:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":175593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:26:24] local.INFO: GPS data processed {"connection_id":175593,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:26:24] local.INFO: Acknowledgment sent {"connection_id":175593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:26:47] local.INFO: TCP Data received {"connection_id":173101,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:26:47] local.INFO: Processing buffer {"connection_id":173101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:26:47] local.INFO: IMEI packet received {"connection_id":173101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":173101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:26:52] local.INFO: TCP Data received {"connection_id":173101,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:26:52] local.INFO: Processing buffer {"connection_id":173101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:26:52] local.INFO: IMEI packet received {"connection_id":173101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":173101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:26:53] local.INFO: TCP Data received {"connection_id":173101,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:26:53] local.INFO: Processing buffer {"connection_id":173101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:26:53] local.INFO: Packet analysis {"connection_id":173101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:26:53] local.INFO: Extracted packet for processing {"connection_id":173101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911517184001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591791104,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788717147000,"timestamp_ms":1788717147000,"timestamp_seconds":1788717147,"priority":1,"record_length":96,"hex_timestamp":"000001a077d9a378"} 
[2026-09-06 23:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:26: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:26: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-09-06 23:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911517184001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591791104},"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-09-06 23:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911517184001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:26:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591791104,"description":"Unknown IO ID 45"} 
[2026-09-06 23:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911517184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591791104}} 
[2026-09-06 23:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":173101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:26:53] local.INFO: GPS data processed {"connection_id":173101,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:26:53] local.INFO: Acknowledgment sent {"connection_id":173101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:27:24] local.INFO: TCP Data received {"connection_id":173101,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:27:24] local.INFO: Processing buffer {"connection_id":173101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077d9a378012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:27:24] local.INFO: Packet analysis {"connection_id":173101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:27:24] local.INFO: Extracted packet for processing {"connection_id":173101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077d9"} 
[2026-09-06 23:27:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911517184001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804486182591791104,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788717147000,"timestamp_ms":1788717147000,"timestamp_seconds":1788717147,"priority":1,"record_length":96,"hex_timestamp":"000001a077d9a378"} 
[2026-09-06 23:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:27: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911517184001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804486182591791104},"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-09-06 23:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911517184001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:27:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:27:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804486182591791104,"description":"Unknown IO ID 45"} 
[2026-09-06 23:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911517184001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804486182591791104}} 
[2026-09-06 23:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":173101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:27:24] local.INFO: GPS data processed {"connection_id":173101,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:27:24] local.INFO: Acknowledgment sent {"connection_id":173101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:27:46] local.INFO: TCP Data received {"connection_id":172863,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:27:46] local.INFO: Processing buffer {"connection_id":172863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:27:46] local.INFO: IMEI packet received {"connection_id":172863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":172863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:27:47] local.INFO: TCP Data received {"connection_id":172863,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:27:47] local.INFO: Processing buffer {"connection_id":172863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:27:47] local.INFO: IMEI packet received {"connection_id":172863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":172863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:27:52] local.INFO: TCP Data received {"connection_id":172863,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:27:52] local.INFO: Processing buffer {"connection_id":172863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:27:52] local.INFO: IMEI packet received {"connection_id":172863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":172863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:27:53] local.INFO: TCP Data received {"connection_id":172863,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:27:53] local.INFO: Processing buffer {"connection_id":172863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:27:53] local.INFO: Packet analysis {"connection_id":172863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:27:53] local.INFO: Extracted packet for processing {"connection_id":172863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:27:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911589632001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788717435000,"timestamp_ms":1788717435000,"timestamp_seconds":1788717435,"priority":1,"record_length":96,"hex_timestamp":"000001a077de0878"} 
[2026-09-06 23:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 23:27: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-09-06 23: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-09-06 23:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911589632001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911589632001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:27:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:27:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911589632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":172863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:27:53] local.INFO: GPS data processed {"connection_id":172863,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:27:53] local.INFO: Acknowledgment sent {"connection_id":172863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:28:08] local.INFO: TCP Data received {"connection_id":172864,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:28:08] local.INFO: Processing buffer {"connection_id":172864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:28:08] local.INFO: IMEI packet received {"connection_id":172864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 23:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":172864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:28:24] local.INFO: TCP Data received {"connection_id":172863,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:28:24] local.INFO: Processing buffer {"connection_id":172863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:28:24] local.INFO: Packet analysis {"connection_id":172863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:28:24] local.INFO: Extracted packet for processing {"connection_id":172863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:28:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911589632001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788717435000,"timestamp_ms":1788717435000,"timestamp_seconds":1788717435,"priority":1,"record_length":96,"hex_timestamp":"000001a077de0878"} 
[2026-09-06 23:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 23:28: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-09-06 23: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-09-06 23:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911589632001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911589632001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:28:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:28:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911589632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":172863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:28:24] local.INFO: GPS data processed {"connection_id":172863,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:28:24] local.INFO: Acknowledgment sent {"connection_id":172863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:28:48] local.INFO: TCP Data received {"connection_id":175594,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:28:48] local.INFO: Processing buffer {"connection_id":175594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:28:48] local.INFO: IMEI packet received {"connection_id":175594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 23:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":175594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:28:52] local.INFO: TCP Data received {"connection_id":175595,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:28:52] local.INFO: Processing buffer {"connection_id":175595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:28:52] local.INFO: IMEI packet received {"connection_id":175595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":175595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:28:56] local.INFO: TCP Data received {"connection_id":175595,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:28:57] local.INFO: Processing buffer {"connection_id":175595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:28:57] local.INFO: IMEI packet received {"connection_id":175595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":175595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:28:58] local.INFO: TCP Data received {"connection_id":175595,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:28:58] local.INFO: Processing buffer {"connection_id":175595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:28:58] local.INFO: Packet analysis {"connection_id":175595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:28:58] local.INFO: Extracted packet for processing {"connection_id":175595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:28:58] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911589632001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788717435000,"timestamp_ms":1788717435000,"timestamp_seconds":1788717435,"priority":1,"record_length":96,"hex_timestamp":"000001a077de0878"} 
[2026-09-06 23:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:28: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-09-06 23: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 23:28: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-09-06 23: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-09-06 23:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:28: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-09-06 23:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911589632001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911589632001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:28:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:28:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911589632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":175595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:28:58] local.INFO: GPS data processed {"connection_id":175595,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:28:58] local.INFO: Acknowledgment sent {"connection_id":175595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:29:02] local.INFO: TCP Data received {"connection_id":175595,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:29:02] local.INFO: Processing buffer {"connection_id":175595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:29:02] local.INFO: Packet analysis {"connection_id":175595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:29:02] local.INFO: Extracted packet for processing {"connection_id":175595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:29:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 23:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911589632001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:29: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-09-06 23:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788717435000,"timestamp_ms":1788717435000,"timestamp_seconds":1788717435,"priority":1,"record_length":96,"hex_timestamp":"000001a077de0878"} 
[2026-09-06 23:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:29: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-09-06 23:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 23:29: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-09-06 23:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 23:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:29: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-09-06 23:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911589632001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911589632001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:29:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:29:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911589632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":175595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:29:02] local.INFO: GPS data processed {"connection_id":175595,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:29:02] local.INFO: Acknowledgment sent {"connection_id":175595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:29:46] local.INFO: TCP Data received {"connection_id":174266,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:29:46] local.INFO: Processing buffer {"connection_id":174266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:29:46] local.INFO: IMEI packet received {"connection_id":174266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":174266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:29:52] local.INFO: TCP Data received {"connection_id":174266,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:29:52] local.INFO: Processing buffer {"connection_id":174266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:29:52] local.INFO: IMEI packet received {"connection_id":174266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":174266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:29:53] local.INFO: TCP Data received {"connection_id":174266,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:29:53] local.INFO: Processing buffer {"connection_id":174266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:29:53] local.INFO: Packet analysis {"connection_id":174266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:29:53] local.INFO: Extracted packet for processing {"connection_id":174266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911589632001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788717435000,"timestamp_ms":1788717435000,"timestamp_seconds":1788717435,"priority":1,"record_length":96,"hex_timestamp":"000001a077de0878"} 
[2026-09-06 23:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911589632001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911589632001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:29:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911589632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":174266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:29:53] local.INFO: GPS data processed {"connection_id":174266,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:29:53] local.INFO: Acknowledgment sent {"connection_id":174266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:30:25] local.INFO: TCP Data received {"connection_id":174266,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:30:25] local.INFO: Processing buffer {"connection_id":174266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:30:25] local.INFO: Packet analysis {"connection_id":174266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:30:25] local.INFO: Extracted packet for processing {"connection_id":174266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:30:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911589632001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788717435000,"timestamp_ms":1788717435000,"timestamp_seconds":1788717435,"priority":1,"record_length":96,"hex_timestamp":"000001a077de0878"} 
[2026-09-06 23:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:30: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:30: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-09-06 23:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911589632001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911589632001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:30:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:30:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911589632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":174266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:30:25] local.INFO: GPS data processed {"connection_id":174266,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:30:25] local.INFO: Acknowledgment sent {"connection_id":174266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:30:46] local.INFO: TCP Data received {"connection_id":175596,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:30:46] local.INFO: Processing buffer {"connection_id":175596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:30:46] local.INFO: IMEI packet received {"connection_id":175596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":175596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:30:51] local.INFO: TCP Data received {"connection_id":175596,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:30:51] local.INFO: Processing buffer {"connection_id":175596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:30:51] local.INFO: IMEI packet received {"connection_id":175596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":175596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:30:52] local.INFO: TCP Data received {"connection_id":175596,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:30:52] local.INFO: Processing buffer {"connection_id":175596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:30:52] local.INFO: Packet analysis {"connection_id":175596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:30:52] local.INFO: Extracted packet for processing {"connection_id":175596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 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-09-06 23:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911589632001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 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-09-06 23:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788717435000,"timestamp_ms":1788717435000,"timestamp_seconds":1788717435,"priority":1,"record_length":96,"hex_timestamp":"000001a077de0878"} 
[2026-09-06 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-09-06 23: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-09-06 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 23:30: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-09-06 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-09-06 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-09-06 23:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:30: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-09-06 23:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911589632001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911589632001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:30:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911589632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":175596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:30:52] local.INFO: GPS data processed {"connection_id":175596,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:30:52] local.INFO: Acknowledgment sent {"connection_id":175596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:31:25] local.INFO: TCP Data received {"connection_id":175596,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:31:25] local.INFO: Processing buffer {"connection_id":175596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:31:25] local.INFO: Packet analysis {"connection_id":175596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:31:25] local.INFO: Extracted packet for processing {"connection_id":175596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:31:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911589632001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788717435000,"timestamp_ms":1788717435000,"timestamp_seconds":1788717435,"priority":1,"record_length":96,"hex_timestamp":"000001a077de0878"} 
[2026-09-06 23:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:31: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-09-06 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 23:31: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-09-06 23: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-09-06 23:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:31: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-09-06 23:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911589632001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911589632001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:31:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:31:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911589632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":175596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:31:25] local.INFO: GPS data processed {"connection_id":175596,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:31:25] local.INFO: Acknowledgment sent {"connection_id":175596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:31:46] local.INFO: TCP Data received {"connection_id":172866,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:31:46] local.INFO: Processing buffer {"connection_id":172866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:31:46] local.INFO: IMEI packet received {"connection_id":172866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":172866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:31:54] local.INFO: TCP Data received {"connection_id":172866,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:31:54] local.INFO: Processing buffer {"connection_id":172866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:31:54] local.INFO: IMEI packet received {"connection_id":172866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":172866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:31:56] local.INFO: TCP Data received {"connection_id":172866,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:31:56] local.INFO: Processing buffer {"connection_id":172866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:31:56] local.INFO: Packet analysis {"connection_id":172866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:31:56] local.INFO: Extracted packet for processing {"connection_id":172866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:31:56] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911589632001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788717435000,"timestamp_ms":1788717435000,"timestamp_seconds":1788717435,"priority":1,"record_length":96,"hex_timestamp":"000001a077de0878"} 
[2026-09-06 23:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:31: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-09-06 23:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 23:31: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-09-06 23: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-09-06 23:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":172866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":172866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":172866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:31: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-09-06 23:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911589632001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911589632001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:31:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:31:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911589632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":172866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:31:56] local.INFO: GPS data processed {"connection_id":172866,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:31:56] local.INFO: Acknowledgment sent {"connection_id":172866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:32:28] local.INFO: TCP Data received {"connection_id":172866,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:32:28] local.INFO: Processing buffer {"connection_id":172866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077de0878012d34cbc006aa45580000011e26..."} 
[2026-09-06 23:32:28] local.INFO: Packet analysis {"connection_id":172866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:32:28] local.INFO: Extracted packet for processing {"connection_id":172866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077de"} 
[2026-09-06 23:32:28] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911589632001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:32: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-09-06 23:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788717435000,"timestamp_ms":1788717435000,"timestamp_seconds":1788717435,"priority":1,"record_length":96,"hex_timestamp":"000001a077de0878"} 
[2026-09-06 23:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 23:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 23:32: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-09-06 23: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-09-06 23:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:32: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-09-06 23:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911589632001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911589632001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:32:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-06 23:32:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911589632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":172866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:32:28] local.INFO: GPS data processed {"connection_id":172866,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:32:28] local.INFO: Acknowledgment sent {"connection_id":172866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:32:46] local.INFO: TCP Data received {"connection_id":174267,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:32:46] local.INFO: Processing buffer {"connection_id":174267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:32:46] local.INFO: IMEI packet received {"connection_id":174267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":174267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:32:48] local.INFO: TCP Data received {"connection_id":174267,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:32:48] local.INFO: Processing buffer {"connection_id":174267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:32:48] local.INFO: IMEI packet received {"connection_id":174267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":174267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:32:55] local.INFO: TCP Data received {"connection_id":174267,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:32:55] local.INFO: Processing buffer {"connection_id":174267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:32:55] local.INFO: IMEI packet received {"connection_id":174267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":174267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:32:56] local.INFO: TCP Data received {"connection_id":174267,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:32:56] local.INFO: Processing buffer {"connection_id":174267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:32:56] local.INFO: Packet analysis {"connection_id":174267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:32:56] local.INFO: Extracted packet for processing {"connection_id":174267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:32:56] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 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-09-06 23:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911663360001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:32:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 23:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788717730000,"timestamp_ms":1788717730000,"timestamp_seconds":1788717730,"priority":1,"record_length":96,"hex_timestamp":"000001a077e288d0"} 
[2026-09-06 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-09-06 23:32: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-09-06 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 23:32: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-09-06 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-09-06 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-09-06 23:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:32: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-09-06 23:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911663360001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911663360001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:32:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911663360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":174267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:32:56] local.INFO: GPS data processed {"connection_id":174267,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:32:56] local.INFO: Acknowledgment sent {"connection_id":174267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:33:28] local.INFO: TCP Data received {"connection_id":174267,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:33:28] local.INFO: Processing buffer {"connection_id":174267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:33:28] local.INFO: Packet analysis {"connection_id":174267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:33:28] local.INFO: Extracted packet for processing {"connection_id":174267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:33:28] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911663360001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:33:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:33: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-09-06 23:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788717730000,"timestamp_ms":1788717730000,"timestamp_seconds":1788717730,"priority":1,"record_length":96,"hex_timestamp":"000001a077e288d0"} 
[2026-09-06 23:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:33: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-09-06 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 23:33: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-09-06 23: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-09-06 23:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:33: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-09-06 23:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911663360001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911663360001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:33:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911663360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":174267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:33:28] local.INFO: GPS data processed {"connection_id":174267,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:33:28] local.INFO: Acknowledgment sent {"connection_id":174267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:33:46] local.INFO: TCP Data received {"connection_id":175598,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:33:46] local.INFO: Processing buffer {"connection_id":175598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:33:46] local.INFO: IMEI packet received {"connection_id":175598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":175598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:33:52] local.INFO: TCP Data received {"connection_id":175598,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:33:52] local.INFO: Processing buffer {"connection_id":175598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:33:52] local.INFO: IMEI packet received {"connection_id":175598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":175598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:33:53] local.INFO: TCP Data received {"connection_id":175598,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:33:53] local.INFO: Processing buffer {"connection_id":175598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:33:53] local.INFO: Packet analysis {"connection_id":175598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:33:53] local.INFO: Extracted packet for processing {"connection_id":175598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:33:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911663360001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:33:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:33: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-09-06 23:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788717730000,"timestamp_ms":1788717730000,"timestamp_seconds":1788717730,"priority":1,"record_length":96,"hex_timestamp":"000001a077e288d0"} 
[2026-09-06 23:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:33: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-09-06 23: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":80,"data_length":795,"current_offset":136} 
[2026-09-06 23:33: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-09-06 23: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-09-06 23:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:33: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-09-06 23:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911663360001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911663360001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:33:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911663360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":175598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:33:53] local.INFO: GPS data processed {"connection_id":175598,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:33:53] local.INFO: Acknowledgment sent {"connection_id":175598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:34:18] local.INFO: TCP Data received {"connection_id":173105,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:34:18] local.INFO: Processing buffer {"connection_id":173105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:34:18] local.INFO: IMEI packet received {"connection_id":173105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 23:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":173105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:34:25] local.INFO: TCP Data received {"connection_id":175598,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:34:25] local.INFO: Processing buffer {"connection_id":175598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:34:25] local.INFO: Packet analysis {"connection_id":175598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:34:25] local.INFO: Extracted packet for processing {"connection_id":175598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:34:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911663360001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:34:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:34: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-09-06 23:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788717730000,"timestamp_ms":1788717730000,"timestamp_seconds":1788717730,"priority":1,"record_length":96,"hex_timestamp":"000001a077e288d0"} 
[2026-09-06 23:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:34: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-09-06 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 23:34: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-09-06 23: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-09-06 23:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:34: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-09-06 23:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911663360001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911663360001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:34:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911663360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":175598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:34:25] local.INFO: GPS data processed {"connection_id":175598,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:34:25] local.INFO: Acknowledgment sent {"connection_id":175598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:34:47] local.INFO: TCP Data received {"connection_id":175599,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:34:47] local.INFO: Processing buffer {"connection_id":175599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:34:47] local.INFO: IMEI packet received {"connection_id":175599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":175599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:34:49] local.INFO: TCP Data received {"connection_id":173106,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:34:49] local.INFO: Processing buffer {"connection_id":173106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:34:49] local.INFO: IMEI packet received {"connection_id":173106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 23:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":173106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:34:51] local.INFO: TCP Data received {"connection_id":175599,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:34:51] local.INFO: Processing buffer {"connection_id":175599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:34:51] local.INFO: IMEI packet received {"connection_id":175599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":175599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:34:52] local.INFO: TCP Data received {"connection_id":175599,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:34:52] local.INFO: Processing buffer {"connection_id":175599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:34:52] local.INFO: Packet analysis {"connection_id":175599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:34:52] local.INFO: Extracted packet for processing {"connection_id":175599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911663360001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:34:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 23:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788717730000,"timestamp_ms":1788717730000,"timestamp_seconds":1788717730,"priority":1,"record_length":96,"hex_timestamp":"000001a077e288d0"} 
[2026-09-06 23:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:34: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:34: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-09-06 23:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911663360001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911663360001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911663360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":175599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:34:52] local.INFO: GPS data processed {"connection_id":175599,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:34:52] local.INFO: Acknowledgment sent {"connection_id":175599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:35:24] local.INFO: TCP Data received {"connection_id":175599,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:35:24] local.INFO: Processing buffer {"connection_id":175599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:35:24] local.INFO: Packet analysis {"connection_id":175599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:35:24] local.INFO: Extracted packet for processing {"connection_id":175599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911663360001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:35:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:35: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-09-06 23:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788717730000,"timestamp_ms":1788717730000,"timestamp_seconds":1788717730,"priority":1,"record_length":96,"hex_timestamp":"000001a077e288d0"} 
[2026-09-06 23:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:35: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911663360001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911663360001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911663360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":175599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:35:24] local.INFO: GPS data processed {"connection_id":175599,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:35:24] local.INFO: Acknowledgment sent {"connection_id":175599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:35:46] local.INFO: TCP Data received {"connection_id":175601,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:35:46] local.INFO: Processing buffer {"connection_id":175601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:35:46] local.INFO: IMEI packet received {"connection_id":175601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":175601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:35:52] local.INFO: TCP Data received {"connection_id":175601,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:35:52] local.INFO: Processing buffer {"connection_id":175601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:35:52] local.INFO: IMEI packet received {"connection_id":175601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":175601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:35:54] local.INFO: TCP Data received {"connection_id":175601,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:35:54] local.INFO: Processing buffer {"connection_id":175601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:35:54] local.INFO: Packet analysis {"connection_id":175601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:35:54] local.INFO: Extracted packet for processing {"connection_id":175601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:35:54] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911663360001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:35:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:35: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-09-06 23:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788717730000,"timestamp_ms":1788717730000,"timestamp_seconds":1788717730,"priority":1,"record_length":96,"hex_timestamp":"000001a077e288d0"} 
[2026-09-06 23:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:35: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-09-06 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 23:35: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-09-06 23: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-09-06 23:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:35: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-09-06 23:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911663360001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911663360001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:35:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911663360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":175601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:35:54] local.INFO: GPS data processed {"connection_id":175601,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:35:54] local.INFO: Acknowledgment sent {"connection_id":175601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:36:25] local.INFO: TCP Data received {"connection_id":175601,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:36:25] local.INFO: Processing buffer {"connection_id":175601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:36:25] local.INFO: Packet analysis {"connection_id":175601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:36:25] local.INFO: Extracted packet for processing {"connection_id":175601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:36:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911663360001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:36:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:36: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-09-06 23:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788717730000,"timestamp_ms":1788717730000,"timestamp_seconds":1788717730,"priority":1,"record_length":96,"hex_timestamp":"000001a077e288d0"} 
[2026-09-06 23:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:36: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-09-06 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 23:36: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-09-06 23: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-09-06 23:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:36: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-09-06 23:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911663360001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911663360001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:36:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911663360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":175601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:36:25] local.INFO: GPS data processed {"connection_id":175601,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:36:25] local.INFO: Acknowledgment sent {"connection_id":175601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:36:46] local.INFO: TCP Data received {"connection_id":175603,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:36:46] local.INFO: Processing buffer {"connection_id":175603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:36:46] local.INFO: IMEI packet received {"connection_id":175603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":175603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:36:51] local.INFO: TCP Data received {"connection_id":175603,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:36:51] local.INFO: Processing buffer {"connection_id":175603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:36:51] local.INFO: IMEI packet received {"connection_id":175603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":175603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:36:54] local.INFO: TCP Data received {"connection_id":175603,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:36:54] local.INFO: Processing buffer {"connection_id":175603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:36:54] local.INFO: Packet analysis {"connection_id":175603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:36:54] local.INFO: Extracted packet for processing {"connection_id":175603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:36:54] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911663360001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:36:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:36: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-09-06 23:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788717730000,"timestamp_ms":1788717730000,"timestamp_seconds":1788717730,"priority":1,"record_length":96,"hex_timestamp":"000001a077e288d0"} 
[2026-09-06 23:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:36: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-09-06 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 23:36: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-09-06 23: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-09-06 23:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:36: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-09-06 23:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911663360001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911663360001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:36:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911663360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":175603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:36:54] local.INFO: GPS data processed {"connection_id":175603,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:36:54] local.INFO: Acknowledgment sent {"connection_id":175603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:37:25] local.INFO: TCP Data received {"connection_id":175603,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:37:25] local.INFO: Processing buffer {"connection_id":175603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e288d0012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:37:25] local.INFO: Packet analysis {"connection_id":175603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:37:25] local.INFO: Extracted packet for processing {"connection_id":175603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e2"} 
[2026-09-06 23:37:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911663360001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:37:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:37: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-09-06 23:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788717730000,"timestamp_ms":1788717730000,"timestamp_seconds":1788717730,"priority":1,"record_length":96,"hex_timestamp":"000001a077e288d0"} 
[2026-09-06 23:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:37: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-09-06 23: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-06 23:37: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-09-06 23: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-09-06 23:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:37: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-09-06 23:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911663360001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911663360001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:37:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911663360001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":175603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:37:25] local.INFO: GPS data processed {"connection_id":175603,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:37:25] local.INFO: Acknowledgment sent {"connection_id":175603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:37:49] local.INFO: TCP Data received {"connection_id":172867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:37:49] local.INFO: Processing buffer {"connection_id":172867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:37:49] local.INFO: IMEI packet received {"connection_id":172867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":172867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:37:51] local.INFO: TCP Data received {"connection_id":172867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:37:51] local.INFO: Processing buffer {"connection_id":172867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:37:51] local.INFO: IMEI packet received {"connection_id":172867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":172867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:37:56] local.INFO: TCP Data received {"connection_id":172867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:37:56] local.INFO: Processing buffer {"connection_id":172867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:37:56] local.INFO: IMEI packet received {"connection_id":172867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":172867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:37:58] local.INFO: TCP Data received {"connection_id":172867,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:37:58] local.INFO: Processing buffer {"connection_id":172867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:37:58] local.INFO: Packet analysis {"connection_id":172867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:37:58] local.INFO: Extracted packet for processing {"connection_id":172867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:37:58] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911738880001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:37:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:37: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-09-06 23:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788718031000,"timestamp_ms":1788718031000,"timestamp_seconds":1788718031,"priority":1,"record_length":96,"hex_timestamp":"000001a077e72098"} 
[2026-09-06 23:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:37: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-09-06 23: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 23:37: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-09-06 23: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-09-06 23:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:37: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-09-06 23:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911738880001,"66":25615,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911738880001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:37:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911738880001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":172867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:37:58] local.INFO: GPS data processed {"connection_id":172867,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:37:58] local.INFO: Acknowledgment sent {"connection_id":172867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:38:02] local.INFO: TCP Data received {"connection_id":172867,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:38:02] local.INFO: Processing buffer {"connection_id":172867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:38:02] local.INFO: Packet analysis {"connection_id":172867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:38:02] local.INFO: Extracted packet for processing {"connection_id":172867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:38:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911738880001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:38:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:38: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-09-06 23:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788718031000,"timestamp_ms":1788718031000,"timestamp_seconds":1788718031,"priority":1,"record_length":96,"hex_timestamp":"000001a077e72098"} 
[2026-09-06 23:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:38: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-09-06 23: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 23:38: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-09-06 23: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-09-06 23:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:38: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-09-06 23:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911738880001,"66":25615,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911738880001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:38:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911738880001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":172867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:38:02] local.INFO: GPS data processed {"connection_id":172867,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:38:02] local.INFO: Acknowledgment sent {"connection_id":172867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:38:46] local.INFO: TCP Data received {"connection_id":172869,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:38:46] local.INFO: Processing buffer {"connection_id":172869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:38:46] local.INFO: IMEI packet received {"connection_id":172869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":172869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:38:55] local.INFO: TCP Data received {"connection_id":172869,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:38:55] local.INFO: Processing buffer {"connection_id":172869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:38:55] local.INFO: IMEI packet received {"connection_id":172869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":172869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:38:58] local.INFO: TCP Data received {"connection_id":172869,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:38:58] local.INFO: Processing buffer {"connection_id":172869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:38:58] local.INFO: Packet analysis {"connection_id":172869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:38:58] local.INFO: Extracted packet for processing {"connection_id":172869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:38:58] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911738880001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:38:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788718031000,"timestamp_ms":1788718031000,"timestamp_seconds":1788718031,"priority":1,"record_length":96,"hex_timestamp":"000001a077e72098"} 
[2026-09-06 23:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:38: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-09-06 23:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 23:38: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-09-06 23: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-09-06 23:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911738880001,"66":25615,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911738880001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:38:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911738880001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":172869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:38:58] local.INFO: GPS data processed {"connection_id":172869,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:38:58] local.INFO: Acknowledgment sent {"connection_id":172869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:39:29] local.INFO: TCP Data received {"connection_id":172869,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:39:29] local.INFO: Processing buffer {"connection_id":172869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:39:29] local.INFO: Packet analysis {"connection_id":172869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:39:29] local.INFO: Extracted packet for processing {"connection_id":172869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:39:29] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911738880001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:39:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:39: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-09-06 23:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788718031000,"timestamp_ms":1788718031000,"timestamp_seconds":1788718031,"priority":1,"record_length":96,"hex_timestamp":"000001a077e72098"} 
[2026-09-06 23:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:39: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-09-06 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 23:39: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-09-06 23: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-09-06 23:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:39: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-09-06 23:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911738880001,"66":25615,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911738880001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:39:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911738880001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":172869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:39:29] local.INFO: GPS data processed {"connection_id":172869,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:39:29] local.INFO: Acknowledgment sent {"connection_id":172869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:39:46] local.INFO: TCP Data received {"connection_id":173107,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:39:46] local.INFO: Processing buffer {"connection_id":173107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:39:46] local.INFO: IMEI packet received {"connection_id":173107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":173107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:39:52] local.INFO: TCP Data received {"connection_id":173107,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:39:52] local.INFO: Processing buffer {"connection_id":173107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:39:52] local.INFO: IMEI packet received {"connection_id":173107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":173107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:39:53] local.INFO: TCP Data received {"connection_id":173107,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:39:53] local.INFO: Processing buffer {"connection_id":173107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:39:53] local.INFO: Packet analysis {"connection_id":173107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:39:53] local.INFO: Extracted packet for processing {"connection_id":173107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:39:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911738880001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:39:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788718031000,"timestamp_ms":1788718031000,"timestamp_seconds":1788718031,"priority":1,"record_length":96,"hex_timestamp":"000001a077e72098"} 
[2026-09-06 23:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:39: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-09-06 23: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 23:39: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-09-06 23: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-09-06 23:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:39: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-09-06 23:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911738880001,"66":25615,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911738880001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:39:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911738880001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":173107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:39:53] local.INFO: GPS data processed {"connection_id":173107,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:39:53] local.INFO: Acknowledgment sent {"connection_id":173107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:40:18] local.INFO: TCP Data received {"connection_id":174269,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:40:18] local.INFO: Processing buffer {"connection_id":174269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:40:18] local.INFO: IMEI packet received {"connection_id":174269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 23:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":174269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:40:25] local.INFO: TCP Data received {"connection_id":173107,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:40:25] local.INFO: Processing buffer {"connection_id":173107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:40:25] local.INFO: Packet analysis {"connection_id":173107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:40:25] local.INFO: Extracted packet for processing {"connection_id":173107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:40:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911738880001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:40:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788718031000,"timestamp_ms":1788718031000,"timestamp_seconds":1788718031,"priority":1,"record_length":96,"hex_timestamp":"000001a077e72098"} 
[2026-09-06 23:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:40: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-09-06 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 23:40: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-09-06 23: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-09-06 23:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:40: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-09-06 23:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911738880001,"66":25615,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911738880001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:40:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911738880001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":173107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:40:25] local.INFO: GPS data processed {"connection_id":173107,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:40:25] local.INFO: Acknowledgment sent {"connection_id":173107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:40:48] local.INFO: TCP Data received {"connection_id":174270,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:40:48] local.INFO: Processing buffer {"connection_id":174270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:40:48] local.INFO: IMEI packet received {"connection_id":174270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 23:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":174270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:40:51] local.INFO: TCP Data received {"connection_id":172871,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:40:52] local.INFO: Processing buffer {"connection_id":172871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:40:52] local.INFO: IMEI packet received {"connection_id":172871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":172871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:40:56] local.INFO: TCP Data received {"connection_id":172871,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:40:56] local.INFO: Processing buffer {"connection_id":172871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:40:56] local.INFO: IMEI packet received {"connection_id":172871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":172871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:40:57] local.INFO: TCP Data received {"connection_id":172871,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:40:57] local.INFO: Processing buffer {"connection_id":172871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:40:57] local.INFO: Packet analysis {"connection_id":172871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:40:57] local.INFO: Extracted packet for processing {"connection_id":172871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:40:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 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-09-06 23:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911738880001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:40:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:40: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-09-06 23:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788718031000,"timestamp_ms":1788718031000,"timestamp_seconds":1788718031,"priority":1,"record_length":96,"hex_timestamp":"000001a077e72098"} 
[2026-09-06 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-09-06 23:40: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-09-06 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 23:40: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-09-06 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-09-06 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-09-06 23:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:40: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-09-06 23:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911738880001,"66":25615,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911738880001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:40:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911738880001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":172871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:40:57] local.INFO: GPS data processed {"connection_id":172871,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:40:57] local.INFO: Acknowledgment sent {"connection_id":172871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:41:02] local.INFO: TCP Data received {"connection_id":172871,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:41:02] local.INFO: Processing buffer {"connection_id":172871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:41:02] local.INFO: Packet analysis {"connection_id":172871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:41:02] local.INFO: Extracted packet for processing {"connection_id":172871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:41:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911738880001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:41:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:41: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-09-06 23:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788718031000,"timestamp_ms":1788718031000,"timestamp_seconds":1788718031,"priority":1,"record_length":96,"hex_timestamp":"000001a077e72098"} 
[2026-09-06 23:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:41: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:41: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-09-06 23:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911738880001,"66":25615,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911738880001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:41:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911738880001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":172871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:41:02] local.INFO: GPS data processed {"connection_id":172871,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:41:02] local.INFO: Acknowledgment sent {"connection_id":172871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:41:46] local.INFO: TCP Data received {"connection_id":172872,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:41:46] local.INFO: Processing buffer {"connection_id":172872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:41:46] local.INFO: IMEI packet received {"connection_id":172872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":172872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:41:51] local.INFO: TCP Data received {"connection_id":172872,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:41:51] local.INFO: Processing buffer {"connection_id":172872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:41:51] local.INFO: IMEI packet received {"connection_id":172872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":172872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:41:53] local.INFO: TCP Data received {"connection_id":172872,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:41:53] local.INFO: Processing buffer {"connection_id":172872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:41:53] local.INFO: Packet analysis {"connection_id":172872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:41:53] local.INFO: Extracted packet for processing {"connection_id":172872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911738880001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:41:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:41: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-09-06 23:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788718031000,"timestamp_ms":1788718031000,"timestamp_seconds":1788718031,"priority":1,"record_length":96,"hex_timestamp":"000001a077e72098"} 
[2026-09-06 23:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:41: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:41: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-09-06 23:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911738880001,"66":25615,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911738880001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911738880001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":172872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:41:53] local.INFO: GPS data processed {"connection_id":172872,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:41:53] local.INFO: Acknowledgment sent {"connection_id":172872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:42:24] local.INFO: TCP Data received {"connection_id":172872,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:42:24] local.INFO: Processing buffer {"connection_id":172872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077e72098012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:42:24] local.INFO: Packet analysis {"connection_id":172872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:42:24] local.INFO: Extracted packet for processing {"connection_id":172872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077e7"} 
[2026-09-06 23:42:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911738880001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:42:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:42: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-09-06 23:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788718031000,"timestamp_ms":1788718031000,"timestamp_seconds":1788718031,"priority":1,"record_length":96,"hex_timestamp":"000001a077e72098"} 
[2026-09-06 23:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:42: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:42: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-09-06 23:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911738880001,"66":25615,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911738880001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:42:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911738880001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":172872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:42:24] local.INFO: GPS data processed {"connection_id":172872,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:42:24] local.INFO: Acknowledgment sent {"connection_id":172872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:42:46] local.INFO: TCP Data received {"connection_id":173108,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:42:46] local.INFO: Processing buffer {"connection_id":173108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:42:46] local.INFO: IMEI packet received {"connection_id":173108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":173108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:42:50] local.INFO: TCP Data received {"connection_id":173108,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:42:51] local.INFO: Processing buffer {"connection_id":173108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:42:51] local.INFO: IMEI packet received {"connection_id":173108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":173108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:42:52] local.INFO: TCP Data received {"connection_id":173108,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:42:52] local.INFO: Processing buffer {"connection_id":173108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:42:52] local.INFO: Packet analysis {"connection_id":173108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:42:52] local.INFO: Extracted packet for processing {"connection_id":173108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911815936001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:42:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 23:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788718332000,"timestamp_ms":1788718332000,"timestamp_seconds":1788718332,"priority":1,"record_length":96,"hex_timestamp":"000001a077ebb860"} 
[2026-09-06 23:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911815936001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911815936001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911815936001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":173108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:42:52] local.INFO: GPS data processed {"connection_id":173108,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:42:52] local.INFO: Acknowledgment sent {"connection_id":173108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:43:23] local.INFO: TCP Data received {"connection_id":173108,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:43:23] local.INFO: Processing buffer {"connection_id":173108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:43:23] local.INFO: Packet analysis {"connection_id":173108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:43:23] local.INFO: Extracted packet for processing {"connection_id":173108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:43:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911815936001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:43:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 23:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788718332000,"timestamp_ms":1788718332000,"timestamp_seconds":1788718332,"priority":1,"record_length":96,"hex_timestamp":"000001a077ebb860"} 
[2026-09-06 23:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911815936001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911815936001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:43:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911815936001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":173108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:43:23] local.INFO: GPS data processed {"connection_id":173108,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:43:23] local.INFO: Acknowledgment sent {"connection_id":173108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:43:51] local.INFO: TCP Data received {"connection_id":172873,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:43:51] local.INFO: Processing buffer {"connection_id":172873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:43:51] local.INFO: IMEI packet received {"connection_id":172873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":172873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:43:57] local.INFO: TCP Data received {"connection_id":172873,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:43:57] local.INFO: Processing buffer {"connection_id":172873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:43:57] local.INFO: IMEI packet received {"connection_id":172873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":172873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:43:58] local.INFO: TCP Data received {"connection_id":172873,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:43:58] local.INFO: Processing buffer {"connection_id":172873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:43:58] local.INFO: Packet analysis {"connection_id":172873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:43:58] local.INFO: Extracted packet for processing {"connection_id":172873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:43:58] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 23:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911815936001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:43:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:43: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-09-06 23:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788718332000,"timestamp_ms":1788718332000,"timestamp_seconds":1788718332,"priority":1,"record_length":96,"hex_timestamp":"000001a077ebb860"} 
[2026-09-06 23:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:43: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-09-06 23:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 23:43: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-09-06 23:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 23:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:43:58] 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-09-06 23:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911815936001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911815936001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:43:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911815936001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":172873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:43:58] local.INFO: GPS data processed {"connection_id":172873,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:43:58] local.INFO: Acknowledgment sent {"connection_id":172873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:44:02] local.INFO: TCP Data received {"connection_id":172873,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:44:02] local.INFO: Processing buffer {"connection_id":172873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:44:02] local.INFO: Packet analysis {"connection_id":172873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:44:02] local.INFO: Extracted packet for processing {"connection_id":172873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:44:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911815936001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:44:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:44: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-09-06 23:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788718332000,"timestamp_ms":1788718332000,"timestamp_seconds":1788718332,"priority":1,"record_length":96,"hex_timestamp":"000001a077ebb860"} 
[2026-09-06 23:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:44: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-09-06 23: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 23:44: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-09-06 23: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-09-06 23:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:44:02] 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-09-06 23:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911815936001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911815936001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:44:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911815936001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":172873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:44:02] local.INFO: GPS data processed {"connection_id":172873,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:44:02] local.INFO: Acknowledgment sent {"connection_id":172873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:44:46] local.INFO: TCP Data received {"connection_id":173109,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:44:46] local.INFO: Processing buffer {"connection_id":173109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:44:46] local.INFO: IMEI packet received {"connection_id":173109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":173109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:44:51] local.INFO: TCP Data received {"connection_id":173109,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:44:51] local.INFO: Processing buffer {"connection_id":173109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:44:51] local.INFO: IMEI packet received {"connection_id":173109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":173109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:44:52] local.INFO: TCP Data received {"connection_id":173109,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:44:52] local.INFO: Processing buffer {"connection_id":173109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:44:52] local.INFO: Packet analysis {"connection_id":173109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:44:52] local.INFO: Extracted packet for processing {"connection_id":173109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911815936001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:44:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 23:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788718332000,"timestamp_ms":1788718332000,"timestamp_seconds":1788718332,"priority":1,"record_length":96,"hex_timestamp":"000001a077ebb860"} 
[2026-09-06 23:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:44: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:44: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-09-06 23:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911815936001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911815936001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911815936001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":173109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:44:52] local.INFO: GPS data processed {"connection_id":173109,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:44:52] local.INFO: Acknowledgment sent {"connection_id":173109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:45:24] local.INFO: TCP Data received {"connection_id":173109,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:45:24] local.INFO: Processing buffer {"connection_id":173109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:45:24] local.INFO: Packet analysis {"connection_id":173109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:45:24] local.INFO: Extracted packet for processing {"connection_id":173109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:45:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911815936001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:45:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788718332000,"timestamp_ms":1788718332000,"timestamp_seconds":1788718332,"priority":1,"record_length":96,"hex_timestamp":"000001a077ebb860"} 
[2026-09-06 23:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:45: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:45: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-09-06 23:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911815936001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911815936001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:45:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911815936001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":173109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:45:24] local.INFO: GPS data processed {"connection_id":173109,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:45:24] local.INFO: Acknowledgment sent {"connection_id":173109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:45:46] local.INFO: TCP Data received {"connection_id":172875,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:45:46] local.INFO: Processing buffer {"connection_id":172875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:45:46] local.INFO: IMEI packet received {"connection_id":172875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":172875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:45:51] local.INFO: TCP Data received {"connection_id":172875,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:45:51] local.INFO: Processing buffer {"connection_id":172875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:45:51] local.INFO: IMEI packet received {"connection_id":172875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":172875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:45:52] local.INFO: TCP Data received {"connection_id":172875,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:45:52] local.INFO: Processing buffer {"connection_id":172875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:45:52] local.INFO: Packet analysis {"connection_id":172875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:45:52] local.INFO: Extracted packet for processing {"connection_id":172875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911815936001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:45:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 23:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788718332000,"timestamp_ms":1788718332000,"timestamp_seconds":1788718332,"priority":1,"record_length":96,"hex_timestamp":"000001a077ebb860"} 
[2026-09-06 23:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:45: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-09-06 23:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911815936001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911815936001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911815936001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":172875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:45:52] local.INFO: GPS data processed {"connection_id":172875,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:45:52] local.INFO: Acknowledgment sent {"connection_id":172875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:46:08] local.INFO: TCP Data received {"connection_id":174274,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:46:08] local.INFO: Processing buffer {"connection_id":174274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:46:08] local.INFO: IMEI packet received {"connection_id":174274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 23:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":174274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:46:25] local.INFO: TCP Data received {"connection_id":172875,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:46:25] local.INFO: Processing buffer {"connection_id":172875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:46:25] local.INFO: Packet analysis {"connection_id":172875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:46:25] local.INFO: Extracted packet for processing {"connection_id":172875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:46:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911815936001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:46:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788718332000,"timestamp_ms":1788718332000,"timestamp_seconds":1788718332,"priority":1,"record_length":96,"hex_timestamp":"000001a077ebb860"} 
[2026-09-06 23:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:46: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-09-06 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-06 23:46: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-09-06 23: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-09-06 23:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:46: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-09-06 23:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911815936001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911815936001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:46:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911815936001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":172875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:46:25] local.INFO: GPS data processed {"connection_id":172875,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:46:25] local.INFO: Acknowledgment sent {"connection_id":172875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:46:46] local.INFO: TCP Data received {"connection_id":175606,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:46:46] local.INFO: Processing buffer {"connection_id":175606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:46:46] local.INFO: IMEI packet received {"connection_id":175606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":175606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:46:52] local.INFO: TCP Data received {"connection_id":175606,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:46:52] local.INFO: Processing buffer {"connection_id":175606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:46:52] local.INFO: IMEI packet received {"connection_id":175606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":175606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:46:53] local.INFO: TCP Data received {"connection_id":175606,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:46:53] local.INFO: Processing buffer {"connection_id":175606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:46:53] local.INFO: Packet analysis {"connection_id":175606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:46:53] local.INFO: Extracted packet for processing {"connection_id":175606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911815936001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:46:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788718332000,"timestamp_ms":1788718332000,"timestamp_seconds":1788718332,"priority":1,"record_length":96,"hex_timestamp":"000001a077ebb860"} 
[2026-09-06 23:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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":15,"data_length":795,"current_offset":136} 
[2026-09-06 23:46: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-09-06 23: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-09-06 23:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:46: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-09-06 23:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911815936001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911815936001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911815936001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":175606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:46:53] local.INFO: GPS data processed {"connection_id":175606,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:46:53] local.INFO: Acknowledgment sent {"connection_id":175606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:46:53] local.INFO: TCP Data received {"connection_id":172876,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:46:53] local.INFO: Processing buffer {"connection_id":172876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:46:53] local.INFO: IMEI packet received {"connection_id":172876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 23:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":172876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:47:24] local.INFO: TCP Data received {"connection_id":175606,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:47:24] local.INFO: Processing buffer {"connection_id":175606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077ebb860012d34cbc006aa45580000011e25..."} 
[2026-09-06 23:47:24] local.INFO: Packet analysis {"connection_id":175606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:47:24] local.INFO: Extracted packet for processing {"connection_id":175606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077eb"} 
[2026-09-06 23:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911815936001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:47:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788718332000,"timestamp_ms":1788718332000,"timestamp_seconds":1788718332,"priority":1,"record_length":96,"hex_timestamp":"000001a077ebb860"} 
[2026-09-06 23:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:47: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-09-06 23:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911815936001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911815936001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911815936001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":175606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:47:24] local.INFO: GPS data processed {"connection_id":175606,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:47:24] local.INFO: Acknowledgment sent {"connection_id":175606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:47:46] local.INFO: TCP Data received {"connection_id":173111,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:47:46] local.INFO: Processing buffer {"connection_id":173111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:47:46] local.INFO: IMEI packet received {"connection_id":173111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":173111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:47:51] local.INFO: TCP Data received {"connection_id":173111,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:47:51] local.INFO: Processing buffer {"connection_id":173111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:47:51] local.INFO: IMEI packet received {"connection_id":173111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":173111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:47:52] local.INFO: TCP Data received {"connection_id":173111,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:47:52] local.INFO: Processing buffer {"connection_id":173111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:47:52] local.INFO: Packet analysis {"connection_id":173111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:47:52] local.INFO: Extracted packet for processing {"connection_id":173111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911892992001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:47:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 23:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788718633000,"timestamp_ms":1788718633000,"timestamp_seconds":1788718633,"priority":1,"record_length":96,"hex_timestamp":"000001a077f05028"} 
[2026-09-06 23:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:47: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:47: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-09-06 23: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-09-06 23:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:47: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-09-06 23:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911892992001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911892992001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911892992001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":173111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:47:52] local.INFO: GPS data processed {"connection_id":173111,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:47:52] local.INFO: Acknowledgment sent {"connection_id":173111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:48:24] local.INFO: TCP Data received {"connection_id":173111,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:48:24] local.INFO: Processing buffer {"connection_id":173111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:48:24] local.INFO: Packet analysis {"connection_id":173111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:48:24] local.INFO: Extracted packet for processing {"connection_id":173111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911892992001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:48:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:48: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-09-06 23:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788718633000,"timestamp_ms":1788718633000,"timestamp_seconds":1788718633,"priority":1,"record_length":96,"hex_timestamp":"000001a077f05028"} 
[2026-09-06 23:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:48: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:48: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-09-06 23: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-09-06 23:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911892992001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911892992001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911892992001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":173111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:48:24] local.INFO: GPS data processed {"connection_id":173111,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:48:24] local.INFO: Acknowledgment sent {"connection_id":173111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:48:46] local.INFO: TCP Data received {"connection_id":172877,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:48:47] local.INFO: Processing buffer {"connection_id":172877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:48:47] local.INFO: IMEI packet received {"connection_id":172877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":172877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:48:51] local.INFO: TCP Data received {"connection_id":172877,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:48:51] local.INFO: Processing buffer {"connection_id":172877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:48:51] local.INFO: IMEI packet received {"connection_id":172877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":172877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:48:53] local.INFO: TCP Data received {"connection_id":172877,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:48:53] local.INFO: Processing buffer {"connection_id":172877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:48:53] local.INFO: Packet analysis {"connection_id":172877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:48:53] local.INFO: Extracted packet for processing {"connection_id":172877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911892992001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:48:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:48: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-09-06 23:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788718633000,"timestamp_ms":1788718633000,"timestamp_seconds":1788718633,"priority":1,"record_length":96,"hex_timestamp":"000001a077f05028"} 
[2026-09-06 23:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:48: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:48: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-09-06 23:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911892992001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911892992001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911892992001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":172877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:48:53] local.INFO: GPS data processed {"connection_id":172877,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:48:53] local.INFO: Acknowledgment sent {"connection_id":172877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:49:24] local.INFO: TCP Data received {"connection_id":172877,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:49:24] local.INFO: Processing buffer {"connection_id":172877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:49:24] local.INFO: Packet analysis {"connection_id":172877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:49:24] local.INFO: Extracted packet for processing {"connection_id":172877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911892992001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:49:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:49: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-09-06 23:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788718633000,"timestamp_ms":1788718633000,"timestamp_seconds":1788718633,"priority":1,"record_length":96,"hex_timestamp":"000001a077f05028"} 
[2026-09-06 23:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:49: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:49: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-09-06 23: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-09-06 23:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911892992001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911892992001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911892992001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":172877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:49:24] local.INFO: GPS data processed {"connection_id":172877,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:49:24] local.INFO: Acknowledgment sent {"connection_id":172877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:49:46] local.INFO: TCP Data received {"connection_id":174276,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:49:46] local.INFO: Processing buffer {"connection_id":174276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:49:46] local.INFO: IMEI packet received {"connection_id":174276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":174276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:49:51] local.INFO: TCP Data received {"connection_id":174276,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:49:51] local.INFO: Processing buffer {"connection_id":174276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:49:51] local.INFO: IMEI packet received {"connection_id":174276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":174276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:49:53] local.INFO: TCP Data received {"connection_id":174276,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:49:53] local.INFO: Processing buffer {"connection_id":174276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:49:53] local.INFO: Packet analysis {"connection_id":174276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:49:53] local.INFO: Extracted packet for processing {"connection_id":174276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911892992001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:49:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788718633000,"timestamp_ms":1788718633000,"timestamp_seconds":1788718633,"priority":1,"record_length":96,"hex_timestamp":"000001a077f05028"} 
[2026-09-06 23:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:49: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:49: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-09-06 23: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-09-06 23:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911892992001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911892992001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911892992001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":174276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:49:53] local.INFO: GPS data processed {"connection_id":174276,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:49:53] local.INFO: Acknowledgment sent {"connection_id":174276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:50:25] local.INFO: TCP Data received {"connection_id":174276,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:50:25] local.INFO: Processing buffer {"connection_id":174276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:50:25] local.INFO: Packet analysis {"connection_id":174276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:50:25] local.INFO: Extracted packet for processing {"connection_id":174276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:50:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911892992001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:50:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788718633000,"timestamp_ms":1788718633000,"timestamp_seconds":1788718633,"priority":1,"record_length":96,"hex_timestamp":"000001a077f05028"} 
[2026-09-06 23:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:50: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:50: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-09-06 23: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-09-06 23:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911892992001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911892992001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:50:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911892992001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":174276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:50:25] local.INFO: GPS data processed {"connection_id":174276,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:50:25] local.INFO: Acknowledgment sent {"connection_id":174276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:50:46] local.INFO: TCP Data received {"connection_id":173112,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:50:46] local.INFO: Processing buffer {"connection_id":173112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:50:46] local.INFO: IMEI packet received {"connection_id":173112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":173112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:50:51] local.INFO: TCP Data received {"connection_id":173112,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:50:51] local.INFO: Processing buffer {"connection_id":173112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:50:51] local.INFO: IMEI packet received {"connection_id":173112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":173112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:50:52] local.INFO: TCP Data received {"connection_id":173112,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:50:52] local.INFO: Processing buffer {"connection_id":173112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:50:52] local.INFO: Packet analysis {"connection_id":173112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:50:52] local.INFO: Extracted packet for processing {"connection_id":173112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911892992001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:50:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 23:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788718633000,"timestamp_ms":1788718633000,"timestamp_seconds":1788718633,"priority":1,"record_length":96,"hex_timestamp":"000001a077f05028"} 
[2026-09-06 23:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:50: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:50: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-09-06 23: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-09-06 23:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:50: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-09-06 23:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911892992001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911892992001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911892992001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":173112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:50:52] local.INFO: GPS data processed {"connection_id":173112,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:50:52] local.INFO: Acknowledgment sent {"connection_id":173112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:51:24] local.INFO: TCP Data received {"connection_id":173112,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:51:24] local.INFO: Processing buffer {"connection_id":173112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:51:24] local.INFO: Packet analysis {"connection_id":173112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:51:24] local.INFO: Extracted packet for processing {"connection_id":173112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:51:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911892992001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:51:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:51: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-09-06 23:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788718633000,"timestamp_ms":1788718633000,"timestamp_seconds":1788718633,"priority":1,"record_length":96,"hex_timestamp":"000001a077f05028"} 
[2026-09-06 23:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:51: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:51: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-09-06 23: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-09-06 23:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:51: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-09-06 23:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911892992001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911892992001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:51:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911892992001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":173112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:51:24] local.INFO: GPS data processed {"connection_id":173112,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:51:24] local.INFO: Acknowledgment sent {"connection_id":173112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:51:46] local.INFO: TCP Data received {"connection_id":173113,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:51:46] local.INFO: Processing buffer {"connection_id":173113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:51:46] local.INFO: IMEI packet received {"connection_id":173113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":173113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:51:51] local.INFO: TCP Data received {"connection_id":173113,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:51:51] local.INFO: Processing buffer {"connection_id":173113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:51:51] local.INFO: IMEI packet received {"connection_id":173113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":173113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:51:53] local.INFO: TCP Data received {"connection_id":173113,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:51:53] local.INFO: Processing buffer {"connection_id":173113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:51:53] local.INFO: Packet analysis {"connection_id":173113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:51:53] local.INFO: Extracted packet for processing {"connection_id":173113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911892992001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:51:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788718633000,"timestamp_ms":1788718633000,"timestamp_seconds":1788718633,"priority":1,"record_length":96,"hex_timestamp":"000001a077f05028"} 
[2026-09-06 23:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:51: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:51: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-09-06 23: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-09-06 23:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911892992001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911892992001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:51:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911892992001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":173113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:51:53] local.INFO: GPS data processed {"connection_id":173113,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:51:53] local.INFO: Acknowledgment sent {"connection_id":173113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:52:23] local.INFO: TCP Data received {"connection_id":174277,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:52:23] local.INFO: Processing buffer {"connection_id":174277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:52:23] local.INFO: IMEI packet received {"connection_id":174277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 23:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":174277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:52:25] local.INFO: TCP Data received {"connection_id":173113,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:52:25] local.INFO: Processing buffer {"connection_id":173113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:52:25] local.INFO: Packet analysis {"connection_id":173113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:52:25] local.INFO: Extracted packet for processing {"connection_id":173113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:52:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911892992001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:52:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788718633000,"timestamp_ms":1788718633000,"timestamp_seconds":1788718633,"priority":1,"record_length":96,"hex_timestamp":"000001a077f05028"} 
[2026-09-06 23:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:52: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:52: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-09-06 23: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-09-06 23:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23: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-09-06 23:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911892992001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911892992001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:52:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911892992001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":173113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:52:25] local.INFO: GPS data processed {"connection_id":173113,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:52:25] local.INFO: Acknowledgment sent {"connection_id":173113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:52:46] local.INFO: TCP Data received {"connection_id":175608,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:52:46] local.INFO: Processing buffer {"connection_id":175608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:52:46] local.INFO: IMEI packet received {"connection_id":175608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":175608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:52:48] local.INFO: TCP Data received {"connection_id":172879,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:52:48] local.INFO: Processing buffer {"connection_id":172879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:52:48] local.INFO: IMEI packet received {"connection_id":172879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 23:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":172879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:52:51] local.INFO: TCP Data received {"connection_id":175608,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:52:51] local.INFO: Processing buffer {"connection_id":175608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:52:51] local.INFO: IMEI packet received {"connection_id":175608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":175608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:52:52] local.INFO: TCP Data received {"connection_id":175608,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:52:52] local.INFO: Processing buffer {"connection_id":175608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f05028012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:52:52] local.INFO: Packet analysis {"connection_id":175608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:52:52] local.INFO: Extracted packet for processing {"connection_id":175608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f0"} 
[2026-09-06 23:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911892992001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:52:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 23:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788718633000,"timestamp_ms":1788718633000,"timestamp_seconds":1788718633,"priority":1,"record_length":96,"hex_timestamp":"000001a077f05028"} 
[2026-09-06 23:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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":102,"data_length":795,"current_offset":136} 
[2026-09-06 23:52: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-09-06 23: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-09-06 23:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:52: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-09-06 23:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911892992001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911892992001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911892992001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":175608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:52:52] local.INFO: GPS data processed {"connection_id":175608,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:52:52] local.INFO: Acknowledgment sent {"connection_id":175608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:53:24] local.INFO: TCP Data received {"connection_id":175608,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:53:24] local.INFO: Processing buffer {"connection_id":175608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:53:24] local.INFO: Packet analysis {"connection_id":175608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:53:24] local.INFO: Extracted packet for processing {"connection_id":175608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 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-09-06 23:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911970048001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:53:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:53: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-09-06 23:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788718934000,"timestamp_ms":1788718934000,"timestamp_seconds":1788718934,"priority":1,"record_length":96,"hex_timestamp":"000001a077f4e7f0"} 
[2026-09-06 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-09-06 23:53: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-09-06 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 23:53: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-09-06 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-09-06 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-09-06 23:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 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-09-06 23:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911970048001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911970048001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911970048001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":175608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:53:24] local.INFO: GPS data processed {"connection_id":175608,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:53:24] local.INFO: Acknowledgment sent {"connection_id":175608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:53:46] local.INFO: TCP Data received {"connection_id":174279,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:53:46] local.INFO: Processing buffer {"connection_id":174279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:53:46] local.INFO: IMEI packet received {"connection_id":174279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":174279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:53:51] local.INFO: TCP Data received {"connection_id":174279,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:53:51] local.INFO: Processing buffer {"connection_id":174279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:53:51] local.INFO: IMEI packet received {"connection_id":174279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":174279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:53:52] local.INFO: TCP Data received {"connection_id":174279,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:53:52] local.INFO: Processing buffer {"connection_id":174279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:53:52] local.INFO: Packet analysis {"connection_id":174279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:53:52] local.INFO: Extracted packet for processing {"connection_id":174279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911970048001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:53:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 23:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788718934000,"timestamp_ms":1788718934000,"timestamp_seconds":1788718934,"priority":1,"record_length":96,"hex_timestamp":"000001a077f4e7f0"} 
[2026-09-06 23:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:53: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-09-06 23: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 23:53: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-09-06 23: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-09-06 23:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:53: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-09-06 23:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911970048001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911970048001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911970048001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":174279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:53:52] local.INFO: GPS data processed {"connection_id":174279,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:53:52] local.INFO: Acknowledgment sent {"connection_id":174279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:54:23] local.INFO: TCP Data received {"connection_id":174279,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:54:23] local.INFO: Processing buffer {"connection_id":174279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:54:23] local.INFO: Packet analysis {"connection_id":174279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:54:23] local.INFO: Extracted packet for processing {"connection_id":174279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:54:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911970048001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:54:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 23:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788718934000,"timestamp_ms":1788718934000,"timestamp_seconds":1788718934,"priority":1,"record_length":96,"hex_timestamp":"000001a077f4e7f0"} 
[2026-09-06 23:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:54: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:54: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-09-06 23:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911970048001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911970048001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:54:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911970048001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":174279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:54:23] local.INFO: GPS data processed {"connection_id":174279,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:54:23] local.INFO: Acknowledgment sent {"connection_id":174279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:54:46] local.INFO: TCP Data received {"connection_id":175609,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:54:46] local.INFO: Processing buffer {"connection_id":175609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:54:46] local.INFO: IMEI packet received {"connection_id":175609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":175609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:54:51] local.INFO: TCP Data received {"connection_id":175609,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:54:51] local.INFO: Processing buffer {"connection_id":175609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:54:51] local.INFO: IMEI packet received {"connection_id":175609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":175609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:54:52] local.INFO: TCP Data received {"connection_id":175609,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:54:52] local.INFO: Processing buffer {"connection_id":175609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:54:52] local.INFO: Packet analysis {"connection_id":175609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:54:52] local.INFO: Extracted packet for processing {"connection_id":175609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:54:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911970048001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:54:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 23:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788718934000,"timestamp_ms":1788718934000,"timestamp_seconds":1788718934,"priority":1,"record_length":96,"hex_timestamp":"000001a077f4e7f0"} 
[2026-09-06 23:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:54: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:54: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-09-06 23:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911970048001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911970048001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:54:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911970048001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":175609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:54:52] local.INFO: GPS data processed {"connection_id":175609,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:54:52] local.INFO: Acknowledgment sent {"connection_id":175609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:55:24] local.INFO: TCP Data received {"connection_id":175609,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:55:24] local.INFO: Processing buffer {"connection_id":175609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:55:24] local.INFO: Packet analysis {"connection_id":175609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:55:24] local.INFO: Extracted packet for processing {"connection_id":175609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911970048001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:55:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:55: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-09-06 23:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788718934000,"timestamp_ms":1788718934000,"timestamp_seconds":1788718934,"priority":1,"record_length":96,"hex_timestamp":"000001a077f4e7f0"} 
[2026-09-06 23:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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":47,"data_length":795,"current_offset":136} 
[2026-09-06 23:55: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-09-06 23: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-09-06 23:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:55: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-09-06 23:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911970048001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911970048001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911970048001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":175609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:55:24] local.INFO: GPS data processed {"connection_id":175609,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:55:24] local.INFO: Acknowledgment sent {"connection_id":175609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:55:46] local.INFO: TCP Data received {"connection_id":174282,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:55:46] local.INFO: Processing buffer {"connection_id":174282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:55:46] local.INFO: IMEI packet received {"connection_id":174282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":174282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:55:51] local.INFO: TCP Data received {"connection_id":174282,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:55:51] local.INFO: Processing buffer {"connection_id":174282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:55:51] local.INFO: IMEI packet received {"connection_id":174282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":174282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:55:52] local.INFO: TCP Data received {"connection_id":174282,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:55:52] local.INFO: Processing buffer {"connection_id":174282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:55:52] local.INFO: Packet analysis {"connection_id":174282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:55:52] local.INFO: Extracted packet for processing {"connection_id":174282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:55:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911970048001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:55:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 23:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788718934000,"timestamp_ms":1788718934000,"timestamp_seconds":1788718934,"priority":1,"record_length":96,"hex_timestamp":"000001a077f4e7f0"} 
[2026-09-06 23:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:55: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-09-06 23:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911970048001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911970048001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:55:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911970048001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":174282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:55:52] local.INFO: GPS data processed {"connection_id":174282,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:55:52] local.INFO: Acknowledgment sent {"connection_id":174282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:56:24] local.INFO: TCP Data received {"connection_id":174282,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:56:24] local.INFO: Processing buffer {"connection_id":174282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:56:24] local.INFO: Packet analysis {"connection_id":174282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:56:24] local.INFO: Extracted packet for processing {"connection_id":174282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:56:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911970048001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:56:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:56: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-09-06 23:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788718934000,"timestamp_ms":1788718934000,"timestamp_seconds":1788718934,"priority":1,"record_length":96,"hex_timestamp":"000001a077f4e7f0"} 
[2026-09-06 23:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:56: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-09-06 23:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911970048001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911970048001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:56:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911970048001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":174282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:56:25] local.INFO: GPS data processed {"connection_id":174282,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:56:25] local.INFO: Acknowledgment sent {"connection_id":174282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:56:51] local.INFO: TCP Data received {"connection_id":174283,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:56:52] local.INFO: Processing buffer {"connection_id":174283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:56:52] local.INFO: IMEI packet received {"connection_id":174283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":174283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:56:57] local.INFO: TCP Data received {"connection_id":174283,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:56:57] local.INFO: Processing buffer {"connection_id":174283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:56:57] local.INFO: IMEI packet received {"connection_id":174283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":174283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:56:59] local.INFO: TCP Data received {"connection_id":174283,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:56:59] local.INFO: Processing buffer {"connection_id":174283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:56:59] local.INFO: Packet analysis {"connection_id":174283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:56:59] local.INFO: Extracted packet for processing {"connection_id":174283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911970048001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:56:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:56: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-09-06 23:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788718934000,"timestamp_ms":1788718934000,"timestamp_seconds":1788718934,"priority":1,"record_length":96,"hex_timestamp":"000001a077f4e7f0"} 
[2026-09-06 23:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:56: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-09-06 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 23:56: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-09-06 23: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-09-06 23:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:56: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-09-06 23:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911970048001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911970048001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:56:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911970048001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":174283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:56:59] local.INFO: GPS data processed {"connection_id":174283,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:56:59] local.INFO: Acknowledgment sent {"connection_id":174283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:57:03] local.INFO: TCP Data received {"connection_id":174283,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:57:03] local.INFO: Processing buffer {"connection_id":174283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:57:03] local.INFO: Packet analysis {"connection_id":174283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:57:03] local.INFO: Extracted packet for processing {"connection_id":174283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 23:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911970048001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:57:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:57: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-09-06 23:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788718934000,"timestamp_ms":1788718934000,"timestamp_seconds":1788718934,"priority":1,"record_length":96,"hex_timestamp":"000001a077f4e7f0"} 
[2026-09-06 23:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 23:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-06 23:57: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-09-06 23:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 23:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:57: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-09-06 23:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911970048001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911970048001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911970048001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":174283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:57:03] local.INFO: GPS data processed {"connection_id":174283,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:57:03] local.INFO: Acknowledgment sent {"connection_id":174283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:57:49] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:57:49] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:57:49] local.INFO: IMEI packet received {"connection_id":173114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":173114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:57:51] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:57:51] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:57:51] local.INFO: IMEI packet received {"connection_id":173114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":173114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:57:52] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:57:52] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f4e7f0012d34cbc006aa45580000011e24..."} 
[2026-09-06 23:57:52] local.INFO: Packet analysis {"connection_id":173114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:57:52] local.INFO: Extracted packet for processing {"connection_id":173114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f4"} 
[2026-09-06 23:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457911970048001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:57:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 23:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788718934000,"timestamp_ms":1788718934000,"timestamp_seconds":1788718934,"priority":1,"record_length":96,"hex_timestamp":"000001a077f4e7f0"} 
[2026-09-06 23:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23: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-09-06 23:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:57: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-09-06 23:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457911970048001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457911970048001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457911970048001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":173114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:57:52] local.INFO: GPS data processed {"connection_id":173114,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:57:52] local.INFO: Acknowledgment sent {"connection_id":173114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:57:55] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-06 23:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-06 23:57:55] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-06 23:57:55] local.INFO: Packet analysis {"connection_id":173114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-06 23:57:55] local.INFO: Extracted packet for processing {"connection_id":173114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-06 23:57:55] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912047104001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:57:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:57: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-09-06 23:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788719235000,"timestamp_ms":1788719235000,"timestamp_seconds":1788719235,"priority":1,"record_length":96,"hex_timestamp":"000001a077f97fb8"} 
[2026-09-06 23:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 23: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-06 23:57:55] 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-09-06 23: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-09-06 23:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 23:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912047104001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912047104001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:57:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912047104001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":173114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:57:55] local.INFO: GPS data processed {"connection_id":173114,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:57:55] local.INFO: Acknowledgment sent {"connection_id":173114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:58:19] local.INFO: TCP Data received {"connection_id":174284,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:58:19] local.INFO: Processing buffer {"connection_id":174284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:58:19] local.INFO: IMEI packet received {"connection_id":174284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 23:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":174284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:58:27] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-06 23:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-06 23:58:27] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-06 23:58:27] local.INFO: Packet analysis {"connection_id":173114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-06 23:58:27] local.INFO: Extracted packet for processing {"connection_id":173114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-06 23:58:27] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912047104001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:58:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:58: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-09-06 23:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788719235000,"timestamp_ms":1788719235000,"timestamp_seconds":1788719235,"priority":1,"record_length":96,"hex_timestamp":"000001a077f97fb8"} 
[2026-09-06 23:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-06 23: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-06 23:58:27] 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-09-06 23: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-09-06 23:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:58: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-09-06 23:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912047104001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912047104001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:58:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912047104001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":173114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:58:27] local.INFO: GPS data processed {"connection_id":173114,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:58:27] local.INFO: Acknowledgment sent {"connection_id":173114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:58:46] local.INFO: TCP Data received {"connection_id":172883,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:58:46] local.INFO: Processing buffer {"connection_id":172883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:58:46] local.INFO: IMEI packet received {"connection_id":172883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":172883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:58:48] local.INFO: TCP Data received {"connection_id":172882,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:58:48] local.INFO: Processing buffer {"connection_id":172882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-06 23:58:48] local.INFO: IMEI packet received {"connection_id":172882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-06 23:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":172882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:58:51] local.INFO: TCP Data received {"connection_id":172883,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:58:51] local.INFO: Processing buffer {"connection_id":172883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:58:51] local.INFO: IMEI packet received {"connection_id":172883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":172883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:58:52] local.INFO: TCP Data received {"connection_id":172883,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-06 23:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-06 23:58:52] local.INFO: Processing buffer {"connection_id":172883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-06 23:58:52] local.INFO: Packet analysis {"connection_id":172883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-06 23:58:52] local.INFO: Extracted packet for processing {"connection_id":172883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-06 23:58:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-06 23:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912047104001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:58:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-06 23:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788719235000,"timestamp_ms":1788719235000,"timestamp_seconds":1788719235,"priority":1,"record_length":96,"hex_timestamp":"000001a077f97fb8"} 
[2026-09-06 23:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:58: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-09-06 23:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-06 23:58:52] 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-09-06 23:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-06 23:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:58: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-09-06 23:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912047104001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 23:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912047104001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:58:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912047104001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":172883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:58:52] local.INFO: GPS data processed {"connection_id":172883,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:58:52] local.INFO: Acknowledgment sent {"connection_id":172883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:59:25] local.INFO: TCP Data received {"connection_id":172883,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-06 23:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-06 23:59:25] local.INFO: Processing buffer {"connection_id":172883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-06 23:59:25] local.INFO: Packet analysis {"connection_id":172883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-06 23:59:25] local.INFO: Extracted packet for processing {"connection_id":172883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-06 23:59:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912047104001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:59:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23:59: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-09-06 23:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788719235000,"timestamp_ms":1788719235000,"timestamp_seconds":1788719235,"priority":1,"record_length":96,"hex_timestamp":"000001a077f97fb8"} 
[2026-09-06 23:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:59: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-09-06 23:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-06 23:59: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-09-06 23: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-09-06 23:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-06 23:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912047104001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-06 23:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912047104001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:59:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912047104001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":172883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:59:25] local.INFO: GPS data processed {"connection_id":172883,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:59:25] local.INFO: Acknowledgment sent {"connection_id":172883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-06 23:59:46] local.INFO: TCP Data received {"connection_id":172884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:59:46] local.INFO: Processing buffer {"connection_id":172884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:59:46] local.INFO: IMEI packet received {"connection_id":172884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-06 23:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":172884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-06 23:59:52] local.INFO: TCP Data received {"connection_id":172884,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:59:52] local.INFO: Processing buffer {"connection_id":172884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-06 23:59:52] local.INFO: IMEI packet received {"connection_id":172884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-06 23:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":172884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-06 23:59:53] local.INFO: TCP Data received {"connection_id":172884,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-06 23:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-06 23:59:53] local.INFO: Processing buffer {"connection_id":172884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-06 23:59:53] local.INFO: Packet analysis {"connection_id":172884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-06 23:59:53] local.INFO: Extracted packet for processing {"connection_id":172884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-06 23:59:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-06 23: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-09-06 23:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912047104001,"note":"Value kept but may cause issues"} 
[2026-09-06 23:59:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-06 23:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-06 23:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-06 23: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-09-06 23:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788719235000,"timestamp_ms":1788719235000,"timestamp_seconds":1788719235,"priority":1,"record_length":96,"hex_timestamp":"000001a077f97fb8"} 
[2026-09-06 23:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-06 23:59: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-09-06 23: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":91,"data_length":795,"current_offset":136} 
[2026-09-06 23:59: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-09-06 23: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-09-06 23:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-06 23:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-06 23:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-06 23:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-06 23:59: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-09-06 23:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-06 23:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-06 23:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912047104001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-09-06 23:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-06 23:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-06 23:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912047104001,"description":"Unknown IO ID 0"} 
[2026-09-06 23:59:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-06 23:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-06 23:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-06 23:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912047104001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-06 23:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":172884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-06 23:59:53] local.INFO: GPS data processed {"connection_id":172884,"processed":1,"errors":0,"total":1} 
[2026-09-06 23:59:53] local.INFO: Acknowledgment sent {"connection_id":172884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
